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

3556 lines
3.1 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden 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 Cy=Object.defineProperty,By=Object.defineProperties;var Sy=Object.getOwnPropertyDescriptors;var Wv=Object.getOwnPropertySymbols;var M1=Object.prototype.hasOwnProperty,_1=Object.prototype.propertyIsEnumerable;var Cp=Math.pow,h1=(Tn,Xt,ce)=>Xt in Tn?Cy(Tn,Xt,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Tn[Xt]=ce,np=(Tn,Xt)=>{for(var ce in Xt||(Xt={}))M1.call(Xt,ce)&&h1(Tn,ce,Xt[ce]);if(Wv)for(var ce of Wv(Xt))_1.call(Xt,ce)&&h1(Tn,ce,Xt[ce]);return Tn},p1=(Tn,Xt)=>By(Tn,Sy(Xt));var I1=(Tn,Xt)=>{var ce={};for(var he in Tn)M1.call(Tn,he)&&Xt.indexOf(he)<0&&(ce[he]=Tn[he]);if(Tn!=null&&Wv)for(var he of Wv(Tn))Xt.indexOf(he)<0&&_1.call(Tn,he)&&(ce[he]=Tn[he]);return ce};var bc=(Tn,Xt,ce)=>h1(Tn,typeof Xt!="symbol"?Xt+"":Xt,ce);var Um=(Tn,Xt,ce)=>new Promise((he,Me)=>{var Ue=Le=>{try{Ne(ce.next(Le))}catch(ve){Me(ve)}},At=Le=>{try{Ne(ce.throw(Le))}catch(ve){Me(ve)}},Ne=Le=>Le.done?he(Le.value):Promise.resolve(Le.value).then(Ue,At);Ne((ce=ce.apply(Tn,Xt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[55330],{27812:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},89489:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},59477:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},40001:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},26227:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},49198:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},84105:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},18785:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},87169:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},73331:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},15277:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},52671:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},8657:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},56082:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},33853:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},15075:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},62772:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},43531:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},61485:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},38819:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},47472:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},95869:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},87395:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(60499),Me=ce(59301),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},At=Ue,Ne=ce(85221),Le=function(fe,ze){return Me.createElement(Ne.Z,(0,he.Z)({},fe,{ref:ze,icon:At}))},ve=Me.forwardRef(Le),Ae=ve},22054:function(){"use strict"},68305:function(){"use strict"},2375:function(Tn,Xt){"use strict";Xt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},75354:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Tn={},Xt="5.0",ce={},he=null,Me=!1,Ue=!1,At=null,Ne=!1,Le=null,ve=null,Ae=0;Ae<arguments.length;Ae++){var we=arguments[Ae];if(we!==null)switch(typeof we){case"number":Xt=we.toFixed(1);break;case"string":we.match(new RegExp("^[0-9]\\.[0-9]+$"))?Xt=we:At=we;break;case"object":typeof we.is3D!="undefined"?he=we:ce=we;break;case"boolean":Me=we,Ue=!0;break}}he===null&&(he={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ce.material_id!==void 0&&!Ue&&(Me=!0)),At!==null&&ce.id===void 0&&(ce.id=At);var fe="",ze="",Be=!1,_e=null,Oe=null,He=null,ke=!1,Te=null,Pe=null,Xe=null,Ke=null,qe=null;ce.height!==void 0&&(ce.height=Math.round(ce.height)),ce.width!==void 0&&(ce.width=Math.round(ce.width));var We=function(St){return parseFloat(St)>4?parseFloat(St):5};Tn.setHTML5Codebase=function(St,Qt){ve=St,at(St,Qt)},Tn.setJavaCodebase=Tn.setJavaCodebaseVersion=Tn.isCompiledInstalled=Tn.setPreCompiledScriptPath=Tn.setPreCompiledResourcePath=function(){},Tn.setHTML5CodebaseVersion=function(St,Qt){var cn=parseFloat(St);if(cn!==NaN&&cn<5){console.log("The GeoGebra HTML5 codebase version "+cn+" is deprecated. Using version latest instead.");return}Le=St,je(St,Qt)},Tn.getHTML5CodebaseVersion=function(){return Oe},Tn.getParameters=function(){return ce},Tn.setFontsCSSURL=function(St){Ke=St},Tn.setGiacJSURL=function(St){},Tn.setJNLPFile=function(St){fe=St},Tn.setJNLPBaseDir=function(St){},Tn.inject=function(){function St(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Qt="auto",cn=ce.id,Nn,fn=!1,Ln=0;Ln<arguments.length;Ln++){var Cn=arguments[Ln];typeof Cn=="string"?(Cn=Cn.toLowerCase(),Cn.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Qt=Cn:cn=arguments[Ln]):typeof Cn=="boolean"?fn=Cn:Cn instanceof HTMLElement&&(Nn=Cn)}Bn();function Bn(){if(!Ne){setTimeout(Bn,200);return}Qt=wt(Qt);var gn=Nn||document.getElementById(cn);if(!gn){console.log("possibly bug on ajax loading? ");return}if(Tn.removeExistingApplet(gn,!1),ce.width===void 0&&gn.clientWidth&&(ce.width=gn.clientWidth),ce.height===void 0&&gn.clientHeight&&(ce.height=gn.clientHeight),!(ce.width&&ce.height)&&Qt==="html5"&&(delete ce.width,delete ce.height),_e=Qt,Qt==="screenshot")Re(gn,ce);else{var Se=!1;ce.hasOwnProperty("playButton")&&ce.playButton||ce.hasOwnProperty("clickToLoad")&&ce.clickToLoad?Se=!0:ce.hasOwnProperty("playButtonAutoDecide")&&ce.playButtonAutoDecide&&(Se=(!Ze()||St())&&$e()),Se?(_e="screenshot",Ft(gn,ce,fn,Qt)):Lt(gn,ce,fn)}}};function Ze(){try{return window.self!==window.top}catch(St){return!0}}function $e(){return ce.hasOwnProperty("screenshotGenerator")&&ce.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Tn.getViews=function(){return he},Tn.isJavaInstalled=function(){return!1};var rt=function(St){var Qt=function(Ln){var Cn=JSON.parse(Ln),Bn=function(Fe){return Fe.type=="G"||Fe.type=="E"},gn=Cn.elements?Cn.elements.filter(Bn)[0]:Cn;if(!gn||!gn.url){cn();return}ce.fileName=gn.url,ht(gn.settings||{}),he.is3D=!0;var Se="https://www.geogebra.org/images/";Tn.setPreviewImage(Te||gn.previewUrl,Se+"GeoGebra_loading.png",Se+"applet_play.png"),St()},cn=function(){ce.onError&&ce.onError(),Yt("Error: Fetching material (id "+ce.material_id+") failed.",ce)},Nn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",fn="/materials/"+ce.material_id+"?scope=basic";dt("https://"+Nn+"/api/proxy.php?path="+encodeURIComponent(fn),Qt,cn)};function ht(St){var Qt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(cn){St[cn]=!!St[cn]}),Qt.forEach(function(cn){ce[cn]===void 0&&St[cn]!==void 0&&(ce[cn]=St[cn])}),ce.showToolBarHelp===void 0&&(ce.showToolBarHelp=ce.showToolBar)}function dt(St,Qt,cn){var Nn=new XMLHttpRequest;Nn.open("GET",St),Nn.onload=function(){Qt(Nn.responseText)},Nn.onerror=cn,Nn.send()}Tn.isHTML5Installed=function(){return!0},Tn.getLoadedAppletType=function(){return _e},Tn.setPreviewImage=function(St,Qt,cn){Te=St,Pe=Qt,Xe=cn},Tn.removeExistingApplet=function(St,Qt){var cn;typeof St=="string"&&(St=document.getElementById(St)),_e=null;var Nn=null;for(cn=0;cn<St.childNodes.length;cn++){var fn=St.childNodes[cn],Ln=fn.className;Ln==="applet_screenshot"?Qt?(fn.style.display="block",_e="screenshot"):fn.style.display="none":Ln!=="applet_scaler prerender"&&(St.removeChild(fn),Nn=Ln&&Ln.indexOf("appletParameters")!=-1?fn.id:null,cn--)}var Cn=ce.id!==void 0?ce.id:Nn,Bn=window[Cn];Bn&&typeof Bn.getBase64=="function"&&(Bn.remove(),window[Cn]=null)},Tn.refreshHitPoints=function(){if(We(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var St=Tn.getAppletObject();return St&&typeof St.recalculateEnvironments=="function"?(St.recalculateEnvironments(),!0):!1},Tn.startAnimation=function(){var St=Tn.getAppletObject();return St&&typeof St.startAnimation=="function"?(St.startAnimation(),!0):!1},Tn.stopAnimation=function(){var St=Tn.getAppletObject();return St&&typeof St.stopAnimation=="function"?(St.stopAnimation(),!0):!1},Tn.getAppletObject=function(){var St=ce.id!==void 0?ce.id:"ggbApplet";return window[St]},Tn.resize=function(){};var xt=function(St,Qt,cn){var Nn=document.createElement("param");Nn.setAttribute("name",Qt),Nn.setAttribute("value",cn),St.appendChild(Nn)},Je=function(St){return St&&St!=="false"},Lt=function(St,Qt,cn){We(Oe)<=4.2&&(cn=!0);var Nn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Oe||ggbHTML5LoadedCodebaseIsWebSimple&&!ke)&&(Nn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var fn=document.createElement("div");fn.classList.add("appletParameters","notranslate");var Ln=Qt.width,Cn=Qt.height;if(Qt.disableAutoScale=Qt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Qt.disableAutoScale,Qt.width!==void 0)if(We(Oe)<=4.4)Je(Qt.showToolBar)&&(Qt.height-=7),Je(Qt.showAlgebraInput)&&(Qt.height-=37),Qt.width<605&&Je(Qt.showToolBar)&&(Qt.width=605,Ln=605);else{var Bn=100;(Je(Qt.showToolBar)||Je(Qt.showMenuBar))&&(Qt.hasOwnProperty("customToolBar")&&(Qt.customToolbar=Qt.customToolBar),Bn=Je(Qt.showMenuBar)?245:155),Ln<Bn&&(Qt.width=Bn,Ln=Bn)}fn.style.border="none",fn.style.display="inline-block";for(var gn in Qt)Qt.hasOwnProperty(gn)&&gn!=="appletOnLoad"&&fn.setAttribute("data-param-"+gn,Qt[gn]);Ke&&fn.setAttribute("data-param-fontscssurl",Ke),Tn.resize=function(){GGBAppletUtils.responsiveResize(St,Qt)},window.addEventListener("resize",function(kt){Tn.resize()});var Se=typeof Qt.appletOnLoad=="function"?Qt.appletOnLoad:function(){};if(!cn&&Qt.width!==void 0){Qt.hasOwnProperty("showSplash")||fn.setAttribute("data-param-showSplash","false");var Fe=St.querySelector(".applet_scaler.prerender"),ie=Fe!==null;if(ie)var ae=Fe.querySelector(".ggb_preview");else{var ae=Tt(Ln,Cn,Qt.borderColor,!1);Fe=document.createElement("div"),Fe.className="applet_scaler",Fe.style.position="relative",Fe.style.display="block",Fe.style.width=Ln+"px",Fe.style.height=Cn+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Fe,"66%"),We(Oe)>=5?(Qt.appletOnLoad=function(kt){var $t=St.querySelector(".ggb_preview");$t&&$t.parentNode.removeChild($t),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Fe),window.GGBT_wsf_view&&$(window).trigger("resize"),Se(kt)},ie||Fe.appendChild(ae)):fn.appendChild(ae),Fe.appendChild(fn),ie||St.appendChild(Fe),setTimeout(function(){Tn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(fn),St.appendChild(se),Qt.appletOnLoad=function(kt){Tn.resize(),Se(kt)}}function oe(kt,$t){$t&&typeof $t.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(kt,$t.appletOnLoad):renderGGBElement(kt),Yt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$t)}function Ye(kt,$t){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:kt,params:$t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Sn){oe(Sn.article,Sn.params)}),html5AppletsToProcess=null)},We(Oe)<5&&(kt.className+=" geogebraweb")):oe(kt,$t)}if(Nn){scriptLoadStarted=!0;for(var vt=0;vt<fn.childNodes.length;vt++){var et=fn.childNodes[vt].tagName;et==="TABLE"&&(fn.removeChild(fn.childNodes[vt]),vt--)}if(ggbHTML5LoadedScript!==null){var lt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');lt!=null&&lt.parentNode.removeChild(lt)}var Pt=document.createElement("script"),Mt=function(){Ye(fn,Qt)};Pt.src=ze+He,ggbHTML5LoadedCodebaseIsWebSimple=ke,ggbHTML5LoadedCodebaseVersion=Oe,ggbHTML5LoadedScript=Pt.src,Yt("GeoGebra HTML5 codebase loaded: '"+ze+"'.",Qt),!ve&&(!Le||Le=="5.0")?(ke?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Mt()):ze.requirejs?__webpack_require__.e(49111).then(function(){var kt=[__webpack_require__(49111)];Mt.apply(null,kt)}.bind(this)).catch(__webpack_require__.oe):(Pt.onload=Mt,St.appendChild(Pt))}else Ye(fn,Qt);Qt.height=Cn,Qt.width=Ln},Re=function(St,Qt,cn){var Nn=Tt(Qt.width,Qt.height,Qt.borderColor,cn),fn=document.createElement("div");fn.style.position="relative",fn.style.display="block",fn.style.width=Qt.width+"px",fn.style.height=Qt.height+"px",fn.className="applet_screenshot applet_scaler"+(cn?" applet_screenshot_play":""),fn.appendChild(Nn);var Ln=GGBAppletUtils.getScale(Qt,St,cn);cn?(St.appendChild(bt()),window.GGBT_wsf_view||(St.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(fn,"66%"),St.appendChild(fn),Ln!==1&&!isNaN(Ln)&&(GGBAppletUtils.scaleElement(fn,Ln),fn.style.width=Qt.width+"px",fn.style.height=Qt.height+"px",fn.parentNode.style.width=Qt.width*Ln+"px",fn.parentNode.style.height=Qt.height*Ln+"px"),Tn.resize=function(){Rt(St,Nn,fn,cn)},window.addEventListener("resize",function(Cn){Tn.resize()}),Tn.resize()};function Rt(St,Qt,cn,Nn){if(St.contains(Qt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(St.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(St)}var fn=GGBAppletUtils.getScale(ce,St,Nn);cn.parentNode!==null&&(!isNaN(fn)&&fn!==1?(GGBAppletUtils.scaleElement(cn,fn),cn.parentNode.style.width=ce.width*fn+"px",cn.parentNode.style.height=ce.height*fn+"px"):(GGBAppletUtils.scaleElement(cn,1),cn.parentNode.style.width=ce.width+"px",cn.parentNode.style.height=ce.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(St),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Tn.onExitFullscreen=function(St,Qt){Qt.appendChild(St)};var Ft=function(St,Qt,cn,Nn){Re(St,Qt,!0);for(var fn=function(){var Bn=[];for(Cn=0;Cn<St.childNodes.length;Cn++)Bn.push(St.childNodes[Cn]);if(window.GGBT_wsf_view){var gn=window.GGBT_wsf_view.renderFullScreen(St,Qt.id),Se=document.getElementById("fullscreencontainer"),Fe=jQuery(St).find(".fullscreencontent");Fe.length>0?(gn.remove(),Fe.attr("id","fullscreencontent").show(),jQuery(Se).append(Fe),window.dispatchEvent(new Event("resize"))):Lt(gn,Qt,!1),window.GGBT_wsf_view.launchFullScreen(Se)}else _e=Nn,Lt(St,Qt,!1);if(!window.GGBT_wsf_view)for(Cn=0;Cn<Bn.length;Cn++)St.removeChild(Bn[Cn])},Ln=St.getElementsByClassName("ggb_preview_play"),Cn=0;Cn<Ln.length;Cn++)Ln[Cn].addEventListener("click",fn,!1),Ln[Cn].addEventListener("ontouchstart",fn,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(St),$e()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},bt=function(){var St=document.createElement("div");if(St.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Qt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',cn=document.createElement("style");cn.styleSheet?cn.styleSheet.cssText=Qt:cn.appendChild(document.createTextNode(Qt)),document.getElementsByTagName("head")[0].appendChild(cn)}return St},Tt=function(St,Qt,cn,Nn){var fn=document.createElement("div");fn.className="ggb_preview",fn.style.position="absolute",fn.style.zIndex="90",fn.style.width=St-2+"px",fn.style.height=Qt-2+"px",fn.style.top="0px",fn.style.left="0px",fn.style.overflow="hidden",fn.style.backgroundColor="white";var Ln="lightgrey";cn!==void 0&&(cn==="none"?Ln="transparent":Ln=cn),fn.style.border="1px solid "+Ln;var Cn=document.createElement("img");if(Cn.style.position="relative",Cn.style.zIndex="1000",Cn.style.top="-1px",Cn.style.left="-1px",Te!==null&&Cn.setAttribute("src",Te),Cn.style.opacity=.7,Pe!==null){var Bn,gn,Se;if(!Nn){Bn=document.createElement("img"),Bn.style.position="absolute",Bn.style.zIndex="1001",Bn.style.opacity=1,Cn.style.opacity=.3,gn=360,gn>St/4*3&&(gn=St/4*3),Se=gn/5.8,Bn.setAttribute("src",Pe),Bn.setAttribute("width",gn),Bn.setAttribute("height",Se);var Fe=(St-gn)/2,ie=(Qt-Se)/2;Bn.style.left=Fe+"px",Bn.style.top=ie+"px",fn.appendChild(Bn)}}return fn.appendChild(Cn),fn},wt=function(St){return St=St.toLowerCase(),St==="html5"||St==="screenshot"?St:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],je=function(St,Qt){if(Oe=St,Qt){at(Oe,!0);return}var cn=!Me;if(cn){var Nn=We(Oe);!isNaN(Nn)&&Nn<4.4&&(cn=!1)}var fn,Ln;window.location.protocol.substr(0,4)==="http"?fn=window.location.protocol:fn="http:";var Cn=Oe.indexOf("//");Cn>0?Ln=Oe:Cn===0?Ln=fn+Oe:Ln="https://www.geogebra.org/apps/5.2.814.0/";for(var Bn in it)if(Oe.slice(it[Bn].length*-1)===it[Bn]||Oe.slice((it[Bn].length+1)*-1)===it[Bn]+"/"){at(Ln,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&cn&&!he.is3D&&!he.AV&&!he.SV&&!he.CV&&!he.EV2&&!he.CP&&!he.PC&&!he.DA&&!he.FI&&!he.PV&&!Je(ce.showToolBar)&&!Je(ce.showMenuBar)&&!Je(ce.showAlgebraInput)&&!Je(ce.enableRightClick)&&(!ce.appName||ce.appName=="classic")?Ln+="webSimple/":Ln+="web3d/",at(Ln,!1)},at=function(St,Qt){if(St.requirejs){ze=St;return}St.slice(-1)!=="/"&&(St+="/"),ze=St,Qt===null&&(Qt=St.indexOf("http")===-1),Be=Qt,He="web.nocache.js",ke=!1;var cn=ze.split("/");cn.length>1&&(!Qt&&cn[cn.length-2]==="webSimple"?(He="webSimple.nocache.js",ke=!0):it.indexOf(cn[cn.length-2])>=0&&(He=cn[cn.length-2]+".nocache.js")),cn=St.split("/"),Oe=cn[cn.length-3],Oe.substr(0,4)==="test"?Oe=Oe.substr(4,1)+"."+Oe.substr(5,1):(Oe.substr(0,3)==="war"||Oe.substr(0,4)==="beta")&&(Oe="5.0");var Nn=parseFloat(Oe);Nn!==NaN&&Nn<5&&St.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Nn+" is deprecated. Using version latest instead."),je("5.0",Qt))},Yt=function(St,Qt){window.console&&window.console.log&&(!Qt||typeof Qt.showLogging=="undefined"||Qt.showLogging&&Qt.showLogging!=="false")&&console.log(St)};ce.material_id!==void 0?rt(Vt):Vt();function Vt(){var St=Xt;Le!==null?St=Le:parseFloat(St)<5&&(St="5.0"),je(St,!1),ve!==null&&at(ve,Be),Ne=!0}return Tn},GGBAppletUtils=function(){"use strict";function Tn(){return window.GGBT_wsf_edit!==void 0}function Xt(Ne,Le){Le!=1?(Ne.style.transformOrigin="0% 0% 0px",Ne.style.webkitTransformOrigin="0% 0% 0px",Ne.style.transform="scale("+Le+","+Le+")",Ne.style.webkitTransform="scale("+Le+","+Le+")",Ne.style.maxWidth="initial",Ne.querySelector(".ggb_preview")!==null&&(Ne.querySelector(".ggb_preview").style.maxWidth="initial"),Ne.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ne.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ne.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ne.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ne.style.transform="none",Ne.style.webkitTransform="none")}function ce(Ne,Le,ve,Ae,we,fe){var ze=null;if(fe!=null&&fe!="")for(var Be=Ne.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+fe+" ")>-1){ze=Be;break}else Be=Be.parentNode;var _e=0,Oe=0,He=0,ke=0,Te=0,Pe=0,Xe=0;if(ze)_e=ze.offsetWidth,Oe=Math.max(Ae?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(_e=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),He=_e):(_e=window.innerWidth,Oe=window.innerHeight,He=window.innerWidth),Ne){var Ke=Ne.getBoundingClientRect();Ke.left>0&&Ke.left<=_e&&(we===void 0||!we)&&(document.dir==="rtl"?(Te=_e-Ke.width-Ke.left,Pe=He<=480?10:30):(Pe=Ke.left,Te=He<=480?10:30),ke=Pe+Te)}if(Ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var qe=Ne.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ke=40,Xe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ke=0,Xe=40)}}return Ne&&((ve===void 0||!ve)&&Le>0&&Le+ke<_e?_e=Le:_e-=ke,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ve===void 0||!ve)&&(Oe-=Xe)),{width:_e,height:Oe}}function he(Ne,Le,ve,Ae,we){if(Ne.isScreenshoGenerator)return 1;var fe=Ae!==void 0&&Ae,ze=Ne.noScaleMargin!=null&&Ne.noScaleMargin,Be=function(qe){return qe&&qe!=="false"},_e=Be(Ne.autoHeight),Oe=ce(Le,Ne.width,ve,_e,fe&&window.GGBT_wsf_view||ze,we),He=parseInt(Oe.width),ke=Ne.width,Te=Ne.height;if(ke===void 0){var Pe=Le.querySelector(".appletParameters");Pe&&(ke=Pe.offsetWidth,Te=Pe.offsetHeight)}var Xe=He/ke,Ke=fe?1:Oe.height/Te;return ve!==void 0&&!ve&&(Xe=Math.min(1,Xe),Ke=Math.min(1,Ke)),Math.min(Xe,Ke)}function Me(Ne,Le,ve){var Ae=1,we,fe=!1;if(Ne.hasOwnProperty("allowUpscale")&&(fe=Ne.allowUpscale),Ne.hasOwnProperty("scale")&&(Ae=parseFloat(Ne.scale),(isNaN(Ae)||Ae===null||Ae===0)&&(Ae=1),Ae>1&&(fe=!0)),Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(Ne.hasOwnProperty("disableAutoScale")&&Ne.disableAutoScale))we=he(Ne,Le,fe,ve,Ne.scaleContainerClass);else return Ae;return fe&&(!Ne.hasOwnProperty("scale")||Ae===1)?we:Math.min(Ae,we)}function Ue(Ne){var Le=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Ae=Ne.getBoundingClientRect(),we=(Le-Ae.width)/2,fe=(ve-Ae.height)/2;fe<0&&(fe=0),Ne.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(we<40?Ne.style.left="40px":Ne.style.left=we+"px",Ne.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Ne.style.top="40px":Ne.style.top=fe+"px",Ne.style.left=we+"px")}function At(Ne,Le){var ve=Ne.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Le.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ne)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var Ae=Me(Le,Ne);Tn()&&ve.setAttribute("data-param-scale",Ae);for(var we=null,fe=0;fe<Ne.childNodes.length;fe++)if(Ne.childNodes[fe].className!==void 0&&Ne.childNodes[fe].className.match(/^applet_scaler/)){we=Ne.childNodes[fe];break}if(we!==null&&we.querySelector(".noscale")!==null)return;var ze=Le.id!==void 0?Le.id:"ggbApplet",Be=window[ze];(Be==null||!Be.recalculateEnvironments)&&we!==null&&!we.className.match(/fullscreen/)&&(we.parentNode.style.transform="",!isNaN(Ae)&&Ae!==1?(we.parentNode.style.width=Le.width*Ae+"px",we.parentNode.style.height=Le.height*Ae+"px",Xt(we,Ae)):(Xt(we,1),we.parentNode.style.width=Le.width+"px",we.parentNode.style.height=Le.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ue(Ne),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ve).parents(".content-added-content"))}}return{responsiveResize:At,isFlexibleWorksheetEditor:Tn,positionCenter:Ue,getScale:Me,scaleElement:Xt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Tn=n.location.search;return Tn.indexOf(J)!=-1||Tn.indexOf(K)!=-1}function q(Tn,Xt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Tn){var Xt=s[L].bindings;s[L].bindings=function(){for(var ce=Xt?Xt():{},he=Tn[webModule.__softPermutationId],Me=O;Me<he.length;Me++){var Ue=he[Me];ce[Ue[O]]=Ue[P]}return ce}};var t;function u(){return v(),t}function v(){if(!t){var Tn=o.createElement(Q);if(Tn.id=L,Tn.style.cssText=R+S,Tn.tabIndex=-1,o.body.appendChild(Tn),t=Tn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Xt=document.compatMode==U?V:W;t.write(Xt+X),t.close()}}}function w(Tn){function Xt(he){function Me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ue=Me();if(Ue){he();return}function At(){if(!Ue){if(!Me())return;Ue=!0,he(),o.removeEventListener&&o.removeEventListener(Z,At,!1),Ne&&clearInterval(Ne)}}o.addEventListener&&o.addEventListener(Z,At,!1);var Ne=setInterval(function(){At()},$)}function ce(he){var Me=u(),Ue=Me.body,At=Me.createElement(_);At.language=ab,At.crossOrigin=W,At.src=he,webModule.__errFn&&(At.onerror=function(){webModule.__errFn(L,new Error(bb+he))}),Ue.appendChild(At)}Xt(function(){ce(Tn)})}webModule.__startLoadingFragment=function(Tn){return C(Tn)},webModule.__installRunAsyncCode=function(Tn){var Xt=u(),ce=Xt.body,he=Xt.createElement(_);he.language=ab,he.text=Tn,ce.appendChild(he),ce.removeChild(he)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Tn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Tn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Tn){var Xt=c[Tn];return Xt==null?null:Xt},r=d,webModule.__errFn=e}function B(){function Tn(Ne){var Le=Ne.lastIndexOf(rb);Le==-1&&(Le=Ne.length);var ve=Ne.indexOf(sb);ve==-1&&(ve=Ne.length);var Ae=Ne.lastIndexOf(tb,Math.min(ve,Le));return Ae>=O?Ne.substring(O,Ae+P):W}function Xt(Ne){if(!Ne.match(/^\w+:\/\//)){var Le=o.createElement(ub);Le.src=Ne+vb,Ne=Tn(Le.src)}return Ne}function ce(){var Ne=__gwt_getMetaProperty(wb);return Ne!=null?Ne:W}function he(){for(var Ne=o.getElementsByTagName(_),Le=O;Le<Ne.length;++Le)if(Ne[Le].src.indexOf(xb)!=-1)return Tn(Ne[Le].src);return W}function Me(){var Ne=o.getElementsByTagName(yb);return Ne.length>O?Ne[Ne.length-P].href:W}function Ue(){var Ne=o.location;return Ne.href==Ne.protocol+zb+Ne.host+Ne.pathname+Ne.search+Ne.hash}var At=ce();return At==W&&(At=he()),At==W&&(At=Me()),At==W&&Ue()&&(At=Tn(o.location.href)),At=Xt(At),At}function C(Tn){return Tn.match(/^\//)||Tn.match(/^[a-zA-Z]+:\/\//)?Tn:webModule.__moduleBase+Tn}function D(){var Tn=[],Xt=O,ce=[],he=[];function Me(Ne){var Le=he[Ne](),ve=ce[Ne];if(Le in ve)return Le;var Ae=[];for(var we in ve)Ae[ve[we]]=we;throw r&&r(Ne,Ae,Le),null}if(__gwt_isKnownPropertyValue=function(Ne,Le){return Le in ce[Ne]},webModule.__getPropMap=function(){var Ne={};for(var Le in ce)ce.hasOwnProperty(Le)&&(Ne[Le]=Me(Le));return Ne},webModule.__computePropValue=Me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ue;try{Ue=Cb;var At=Ue.indexOf(Db);At!=-1&&(Xt=parseInt(Ue.substring(At+P),$),Ue=Ue.substring(O,At))}catch(Ne){}return webModule.__softPermutationId=Xt,C(Ue+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},32546:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Ax:function(){return At},Ds:function(){return Ne},KI:function(){return ve},SI:function(){return Ue},f1:function(){return Me}});var he=ce(42684);function Me(Ae){let we=!0;if(Ae.length>0){for(let fe=0;fe<Ae.length;fe++)if(Ae[fe].compile_success==0||!Ae[fe].compile_success){we=!1;break}}else we=!1;return we}function Ue(Ae,we=""){let fe=[];for(let ze=0;ze<Ae.length;ze++){let Be=Ae[ze],_e=we?`${we}/${Be.name}`:`${Be.name}`;fe.push({title:Be.name,type:Be.type,isLeaf:Be.type!=="tree",key:_e})}return fe}function At(Ae,we,fe){for(let ze=0;ze<Ae.length;ze++){let Be=Ae[ze];if(Be.key===we){Be.children=fe;break}Be.children&&At(Be.children,we,fe)}return Ae}function Ne(Ae,we,fe){let ze;return function(){let Be=this,_e=arguments,Oe=function(){ze=null,fe||Ae.apply(Be,_e)},He=fe&&!ze;clearTimeout(ze),ze=setTimeout(Oe,we),He&&Ae.apply(Be,_e)}}const Le=!0,ve=he.Z.API_SERVER},54772:function(Tn,Xt,ce){"use strict";ce.d(Xt,{ij:function(){return Xe},_s:function(){return Pe},Uf:function(){return Te},ZP:function(){return qe}});var he=ce(59301),Me={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},Ue=ce(92310),At=ce.n(Ue),Ne=ce(42441),Le=ce(6848),ve=ce(61621),Ae=ce(71418),we=ce(61648),fe=ce(42684),ze=Object.defineProperty,Be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,He=(We,Ze,$e)=>Ze in We?ze(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:$e}):We[Ze]=$e,ke=(We,Ze)=>{for(var $e in Ze||(Ze={}))_e.call(Ze,$e)&&He(We,$e,Ze[$e]);if(Be)for(var $e of Be(Ze))Oe.call(Ze,$e)&&He(We,$e,Ze[$e]);return We};const Te=(We={})=>{var Ze,$e,rt,ht;let dt=(Ze=We==null?void 0:We.emotion)==null?void 0:Ze.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),xt=($e=We==null?void 0:We.focus)==null?void 0:$e.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Je=(rt=We==null?void 0:We.action)==null?void 0:rt.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Lt=(ht=We==null?void 0:We.intention)==null?void 0:ht.map(Re=>ke({value:Re==null?void 0:Re.rate},Re));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:dt||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:xt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Je||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Lt||[]}]},Pe=({className:We,dataSource:Ze=[],col:$e=4,right:rt,bottom:ht=23,precision:dt=0,wrapWidth:xt=1200})=>{const Je=(Re="",Rt,Ft="--")=>Re?(Re==null?void 0:Re.length)>Rt?(Re==null?void 0:Re.slice(0,Rt-1))+"...":Re:Ft,Lt=Math.floor((xt-($e-1)*rt)/$e);return he.createElement("div",{className:At()(Me.list,We)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((Re,Rt)=>{const{cover_pic:Ft,created_at:bt,emotion:Tt,action:wt,intention:it,focus:je}=Re;return he.createElement("div",{key:Rt,className:Me.wrap,style:{width:Lt,marginRight:(1+Rt)%$e===0?0:rt+dt,marginBottom:ht}},he.createElement("div",{className:Me.img},he.createElement("img",{src:`${fe.Z.API_SERVER}${Ft}`}),he.createElement("div",{className:Me.tips},he.createElement("div",null,he.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),he.createElement("span",null,bt))),he.createElement("div",{className:Me.footer},he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-biaoqing"}),he.createElement("span",null,"\u8868\u60C5\uFF1A",he.createElement(Le.Z,{title:Tt},he.createElement("span",{className:"c-grey-333"},Je(Tt,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-hangwei"}),he.createElement("span",null,"\u884C\u4E3A\uFF1A",he.createElement(Le.Z,{title:wt},he.createElement("span",{className:"c-grey-333"},Je(wt,4)))))),he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-yitu"}),he.createElement("span",null,"\u610F\u56FE\uFF1A",he.createElement(Le.Z,{title:it},he.createElement("span",{className:"c-grey-333"},Je(it,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-zhuangtai"}),he.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",he.createElement(Le.Z,{title:je},he.createElement("span",{className:"c-grey-333"},Je(je,3))))))))})))},Xe=({className:We,style:Ze,title:$e,hideBar:rt=!1,children:ht,customText:dt="",noDataText:xt="",emptyData:Je=[],loading:Lt,actionAnalysis:Re})=>{var Rt,Ft;const bt=((Rt=Je==null?void 0:Je[0])==null?void 0:Rt.every(wt=>{var it;return!((it=wt==null?void 0:wt.data)!=null&&it.length)}))&&!((Ft=Je==null?void 0:Je[1])!=null&&Ft.length)||!Re,Tt=Re?xt:dt;return he.createElement(ve.Z,{loading:Lt,active:!0},bt&&he.createElement("div",{className:At()(Me.noData,We),style:Ze},!!$e&&he.createElement("div",{className:Me.title},!rt&&he.createElement("b",null),he.createElement("span",null,$e)),he.createElement("div",{className:Me.itemWrap},he.createElement(we.Z,{customText:Tt}))),!bt&&ht)};var qe=({className:We,style:Ze,data:$e=[],title:rt,hideBar:ht=!1,loading:dt=!1})=>he.createElement("div",{className:At()(Me.analysis,We),style:Ze},!!rt&&he.createElement("div",{className:Me.title},!ht&&he.createElement("b",null),he.createElement("span",null,rt)),he.createElement(Ae.Z,{spinning:dt},he.createElement("div",{className:Me.itemWrap},$e==null?void 0:$e.map((xt,Je)=>he.createElement("div",{className:Me.item,key:Je},he.createElement(Ne.Z,{option:{tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c}%"},title:{left:"center",bottom:15,text:xt==null?void 0:xt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Lt){for(let Re in xt==null?void 0:xt.data)if(Lt==(xt==null?void 0:xt.data[Re].name))return Lt+" "+(xt==null?void 0:xt.data[Re].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:xt==null?void 0:xt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:xt==null?void 0:xt.data}]},style:{height:145}}))))))},98400:function(Tn,Xt,ce){"use strict";var he=ce(86204),Me=ce.n(he),Ue=Object.defineProperty,At=(Ae,we,fe)=>we in Ae?Ue(Ae,we,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Ae[we]=fe,Ne=(Ae,we,fe)=>At(Ae,typeof we!="symbol"?we+"":we,fe),Le=(Ae,we,fe)=>new Promise((ze,Be)=>{var _e=ke=>{try{He(fe.next(ke))}catch(Te){Be(Te)}},Oe=ke=>{try{He(fe.throw(ke))}catch(Te){Be(Te)}},He=ke=>ke.done?ze(ke.value):Promise.resolve(ke.value).then(_e,Oe);He((fe=fe.apply(Ae,we)).next())});class ve extends he.EventEmitter{constructor(we,fe){super(),Ne(this,"url"),Ne(this,"body"),Ne(this,"fullContent",""),Ne(this,"controller",null),Ne(this,"buffer",""),this.url=we,this.body=fe}startStream(){return Le(this,null,function*(){this.controller=new AbortController;const{signal:we}=this.controller;try{const fe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:we});if(!fe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${fe.status}`);const ze=fe.headers.get("content-type");if(!ze)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ze.includes("application/json")){const Oe=yield fe.json();this.emit("error",Oe);return}if(!ze.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Be=fe.body.getReader(),_e=new TextDecoder("utf-8");for(;;){const{done:Oe,value:He}=yield Be.read();if(Oe)break;const ke=_e.decode(He,{stream:!0});this.buffer+=ke;const Te=this.buffer.split(`
`);this.buffer=Te.pop()||"";for(const Pe of Te)if(Pe.startsWith("data:")){const Xe=Pe.slice(5).trim();if(Xe==="[DONE]")break;try{const Ke=JSON.parse(Xe);Ke.data&&this.handleData(Ke.data)}catch(Ke){this.buffer=Pe+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ke)}}}this.emit("done",this.fullContent)}catch(fe){fe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",fe.message)}})}handleData(we){we.content&&(this.fullContent+=we.content,this.emit("data",{chunk:we,full:this.fullContent}))}cancelRequest(){var we;(we=this.controller)==null||we.abort()}}Xt.Z=ve},18997:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ze}});var he=ce(59301),Me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ue=ce(92310),At=ce.n(Ue),Ne=ce(71418),Le=ce(2859),ve=ce(58661),Ae=ce(85333),we=(Be,_e,Oe)=>new Promise((He,ke)=>{var Te=Ke=>{try{Xe(Oe.next(Ke))}catch(qe){ke(qe)}},Pe=Ke=>{try{Xe(Oe.throw(Ke))}catch(qe){ke(qe)}},Xe=Ke=>Ke.done?He(Ke.value):Promise.resolve(Ke.value).then(Te,Pe);Xe((Oe=Oe.apply(Be,_e)).next())}),ze=({data:Be,className:_e,fullWidth:Oe,style:He={},onClose:ke,onOk:Te,showFullTools:Pe,noAssociationId:Xe})=>{const Ke=(0,he.useRef)(null),qe=(0,he.useRef)(null),We=(0,he.useRef)(null),Ze=(0,he.useRef)(null),[$e,rt]=(0,he.useState)(!1),[ht,dt]=(0,he.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,he.useEffect)(()=>{We.current||(We.current=document.createElement("style"),document.head.appendChild(We.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),We.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&xt()):(document.body.removeAttribute("data-custom"),We.current&&(document.head.removeChild(We.current),We.current=null))},[Be==null?void 0:Be.visible]);const xt=()=>we(void 0,null,function*(){rt(!0),dt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ft=yield(0,Ae.ZJ)(Be==null?void 0:Be.src);Ke.current.src="",Ke.current.src=Ft,Ke.current.onload=function(){Rt()},rt(!1),dt("")}),Je=()=>{document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",ke()},Lt=Ft=>we(void 0,null,function*(){rt(!0),dt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const bt=yield(0,ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:Ft.dataUrl}});bt!=null&&bt.id&&!Xe?(yield(0,ve.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:bt==null?void 0:bt.id,settings:JSON.stringify(Ft.state)}})).status===0&&Te():bt!=null&&bt.id&&Te(bt),document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",rt(!1),dt("")}),Re=()=>{const Ft=document.querySelector('a[href="https://markerjs.com/"]');Ft&&Ft.parentNode&&(Ft.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Tt=>{const wt=document.querySelector(Tt.name);wt&&wt.setAttribute("title",Tt.title)})},Rt=()=>{qe.current=new Le.hP(Ke.current),qe.current.targetRoot=Ze.current,qe.current.addEventListener("render",Lt),qe.current.addEventListener("beforeclose",Je),Pe&&(qe.current.availableMarkerTypes=qe.current.ALL_MARKER_TYPES,qe.current.uiStyleSettings.redoButtonVisible=!0,qe.current.uiStyleSettings.notesButtonVisible=!0,qe.current.uiStyleSettings.zoomButtonVisible=!0,qe.current.uiStyleSettings.zoomOutButtonVisible=!0,qe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=qe.current.uiStyleSettings,qe.current.show(),Be!=null&&Be.snapshotData&&qe.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Re()},300)};return he.createElement(he.Fragment,null,(Be==null?void 0:Be.visible)&&he.createElement(Ne.Z,{spinning:$e,tip:ht,style:{position:"absolute"}},he.createElement("div",{ref:Ze,className:At()(Me.imageDimensions,_e,Oe?Me.fullWidth:""),style:He},he.createElement("img",{className:Me.img,ref:Ke}))))}},80802:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(95237),Ue=ce(43604),At=ce(99313),Ne=ce(3113),Le=ce(58997),ve=ce(2375),Ae=ce(48136),we=ce(59301);const fe=(0,he.forwardRef)(({callback:ze,showSaveButton:Be,value:_e=""},Oe)=>{const He=(0,he.useRef)(),ke=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Te=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],Pe=qe=>{He.current.setValue(He.current.getValue()+" "+qe.value+" ")},Xe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:we.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},ke.map((qe,We)=>we.createElement(Ue.Z,{flex:"110px",className:ve.Z.item},we.createElement("div",null,we.createElement(Le.Z,{value:`$$${qe.value}$$`}),qe.name),we.createElement("div",{className:ve.Z.children},qe.children.map((Ze,$e)=>we.createElement("div",{key:$e},we.createElement("h1",null,Ze.name),we.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>we.createElement(Ue.Z,{key:ht,onClick:()=>Pe(rt),className:ve.Z.diamond},we.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:we.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},Te.map((qe,We)=>we.createElement(Ue.Z,{flex:"110px",className:ve.Z.item},we.createElement("div",null,we.createElement(Le.Z,{value:"`$$"+qe.value+"$$`"}),qe.name),we.createElement("div",{className:ve.Z.children},qe.children.map((Ze,$e)=>we.createElement("div",{key:$e},Ze.name&&we.createElement("h1",null,Ze.name),we.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>we.createElement(Ue.Z,{key:ht,onClick:()=>Pe(rt),className:ve.Z.diamond},we.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))}],Ke=()=>{var qe=document.createElement("div");qe.innerHTML=He.current.getValue();var We=qe.innerText;return ze&&ze(We),We};return(0,he.useImperativeHandle)(Oe,()=>({getData:Ke})),we.createElement("div",{className:ve.Z.mathWrap},we.createElement(At.default,{defaultActiveKey:"1",items:Xe}),we.createElement("math-field",{locale:"zh_cn",className:ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:He,style:{width:800,marginTop:30,fontSize:18}},_e||""),Be&&we.createElement("div",{className:ve.Z.button},we.createElement(Ne.ZP,{size:"large",onClick:Ke,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Xt.Z=fe},28849:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Lt}});var he=ce(59301),Me=ce(44225),Ue=ce(43418),At=ce(78241),Ne=ce(8591),Le=ce(71418),ve=ce(17574),Ae=ce(95237),we=ce(43604),fe=ce(6848),ze=ce(92832),Be={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},_e=ce(78162),Oe=ce(31914),He=ce(61648),ke=ce(93351),Te=Object.defineProperty,Pe=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ze=(Re,Rt,Ft)=>Rt in Re?Te(Re,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Re[Rt]=Ft,$e=(Re,Rt)=>{for(var Ft in Rt||(Rt={}))qe.call(Rt,Ft)&&Ze(Re,Ft,Rt[Ft]);if(Ke)for(var Ft of Ke(Rt))We.call(Rt,Ft)&&Ze(Re,Ft,Rt[Ft]);return Re},rt=(Re,Rt)=>Pe(Re,Xe(Rt)),ht=(Re,Rt)=>{var Ft={};for(var bt in Re)qe.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&Ke)for(var bt of Ke(Re))Rt.indexOf(bt)<0&&We.call(Re,bt)&&(Ft[bt]=Re[bt]);return Ft},dt=(Re,Rt,Ft)=>new Promise((bt,Tt)=>{var wt=at=>{try{je(Ft.next(at))}catch(Yt){Tt(Yt)}},it=at=>{try{je(Ft.throw(at))}catch(Yt){Tt(Yt)}},je=at=>at.done?bt(at.value):Promise.resolve(at.value).then(wt,it);je((Ft=Ft.apply(Re,Rt)).next())});const xt=(Re=[])=>Re==null?void 0:Re.map(Rt=>rt($e({},Rt),{title:(Rt==null?void 0:Rt.value)||"",key:Rt==null?void 0:Rt.id,isLeaf:!0})),Je=Re=>{var Rt=Re,{user:Ft,children:bt,isShowComponent:Tt=!0,ModalProps:wt={},onDataSelect:it}=Rt,je=ht(Rt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[at,Yt]=Ue.default.useModal(),[Vt]=At.default.useForm(),[St,Qt]=(0,he.useState)([]),[cn,Nn]=(0,he.useState)(!1),[fn,Ln]=(0,he.useState)(!1),[,Cn,Bn,gn]=(0,_e.U)(Oe.qE,{page:1,limit:9999}),[,,Se]=(0,_e.U)(Oe.V8,{}),[,,Fe]=(0,_e.U)(Oe.B$,{}),[,,ie]=(0,_e.U)(Oe.DH,{}),[,,ae]=(0,_e.U)(Oe.bJ,{}),se=()=>{Nn(!1),Vt.resetFields(),Ln(!1)},oe=vt=>dt(void 0,null,function*(){const{node:et,dragNode:lt,event:Pt}=vt,Mt=vt.node.pos.split("-"),kt=vt.dropPosition-Number(Mt[Mt.length-1]);if(kt==0){Ne.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(kt==1&&(lt==null?void 0:lt.item_index)==(et==null?void 0:et.item_index)+1){Ne.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const $t=yield ae({id:lt==null?void 0:lt.key,position:kt==-1?1:(lt==null?void 0:lt.item_index)>(et==null?void 0:et.item_index)?(et==null?void 0:et.item_index)+1:et==null?void 0:et.item_index});($t==null?void 0:$t.status)===0&&(Ne.ZP.success("\u79FB\u52A8\u6210\u529F"),Bn({},!0))}),Ye=vt=>dt(void 0,null,function*(){let et={};fn?et=yield Fe($e({},vt)):et=yield ie($e({},vt)),(et==null?void 0:et.status)==0&&(Ne.ZP.success((et==null?void 0:et.message)||(fn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Bn({},!0),se())});return(0,he.useEffect)(()=>{wt!=null&&wt.open&&Bn({},!0)},[wt==null?void 0:wt.open]),(0,he.useEffect)(()=>{var vt;Qt(xt((vt=gn==null?void 0:gn.data)==null?void 0:vt.list))},[gn]),Tt?he.createElement(he.Fragment,null,Yt,bt,he.createElement(Ue.default,$e({},$e({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},wt)),he.createElement(Le.Z,{spinning:Cn},(St==null?void 0:St.length)>0?he.createElement(he.Fragment,null,he.createElement(ve.default.DirectoryTree,{height:500,className:Be.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:it,treeData:St,onDrop:oe,titleRender:vt=>he.createElement(he.Fragment,null,he.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},vt==null?void 0:vt.title),he.createElement("div",{className:`${Be.EditDom}`},he.createElement(Ae.Z,{wrap:!1,align:"middle",gutter:16},he.createElement(we.Z,null,he.createElement(fe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},he.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Be.currentPrimary}`}))),he.createElement(we.Z,null,he.createElement(fe.Z,{title:"\u7F16\u8F91"},he.createElement("i",{className:`iconfont icon-bianji11 font12 ${Be.currentPrimary}`,onClick:et=>{et.stopPropagation(),Vt.setFieldsValue($e({},vt)),Nn(!0)}}))),he.createElement(we.Z,null,he.createElement(fe.Z,{title:"\u5220\u9664"},he.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Be.currentDelete}`,onClick:et=>{et.stopPropagation(),at.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>dt(void 0,null,function*(){const lt=yield Se({id:vt==null?void 0:vt.key});(lt==null?void 0:lt.status)==0&&(Ne.ZP.success((lt==null?void 0:lt.message)||"\u5220\u9664\u6210\u529F"),Bn({},!0))})})}}))))))}),he.createElement(ke.op,{className:"ml20 mt20",icon:he.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Ln(!0),Nn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):he.createElement(He.Z,{styles:{margin:"30px auto"},customText:he.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",he.createElement("a",{onClick:()=>{Ln(!0),Nn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),he.createElement(Ue.default,{title:fn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:cn,okText:fn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{Vt.submit()}},he.createElement(At.default,{form:Vt,onFinish:Ye},fn&&he.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),he.createElement(At.default.Item,{hidden:!0,name:"id"}),he.createElement(At.default.Item,{className:"mt10",name:"value"},he.createElement(ze.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var Lt=(0,Me.connect)(({loading:Re,user:Rt})=>({user:Rt,loading:Re.effects}))(Je)},67824:function(Tn,Xt,ce){"use strict";ce.d(Xt,{h:function(){return qe}});var he=ce(59301),Me=ce(57809),Ue=ce(78241),At=ce(3113),Ne=ce(89780),Le=ce.n(Ne),ve=ce(22054),Ae=ce(68305),we=Object.defineProperty,fe=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,He=(We,Ze,$e)=>Ze in We?we(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:$e}):We[Ze]=$e,ke=(We,Ze)=>{for(var $e in Ze||(Ze={}))_e.call(Ze,$e)&&He(We,$e,Ze[$e]);if(Be)for(var $e of Be(Ze))Oe.call(Ze,$e)&&He(We,$e,Ze[$e]);return We},Te=(We,Ze)=>fe(We,ze(Ze));const Pe=Me.default.Option,Xe={labelCol:{span:4},wrapperCol:{span:20}},Ke={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Xt.Z=({callback:We,onCancel:Ze})=>{const[$e,rt]=(0,he.useState)("python");function ht(xt){rt(Ke[xt][1])}function dt(xt){We(xt)}return he.createElement(Ue.default,Te(ke({},Xe),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:dt,style:{width:500}}),he.createElement(Ue.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(Me.default,{getPopupContainer:xt=>xt.parentNode,onChange:ht},Object.keys(Ke).map(xt=>he.createElement(Pe,{key:xt,value:xt},Ke[xt][0])))),he.createElement(Ue.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(qe,{mode:$e})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(At.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(At.ZP,{type:"ghost",onClick:Ze},"\u53D6\u6D88")))};function qe({value:We,onChange:Ze,mode:$e,options:rt={}}){const ht=(0,he.useRef)(),[dt,xt]=(0,he.useState)();return(0,he.useEffect)(()=>{if(dt){let Je=function(Lt){const Re=Lt.getValue();Ze&&Ze(Re)};return dt.on("change",Je),()=>{dt.off("change",Je)}}},[dt,Ze]),(0,he.useEffect)(()=>{dt&&dt.setOption("mode",$e)},[dt,$e]),(0,he.useEffect)(()=>{dt&&(We!==dt.getValue()||We==="")&&setTimeout(()=>{dt.setValue(We||"")},300)},[dt,We]),(0,he.useEffect)(()=>{if(ht.current&&!dt){const Je=Le().fromTextArea(ht.current,ke({mode:$e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},rt));xt(Je)}},[ht.current,dt]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:ht}))}},74972:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ro}});var he=ce(59301),Me=ce(89780),Ue=ce.n(Me),At=ce(76374),Ne=ce(22054),Le=ce(6313),ve=ce(25717),Ae=ce(99498),we=ce(25419),fe=ce(67549),ze=ce(58997),Be=({value:Pi="",className:Ii,showTextOnly:Si,showLines:gi,style:Ea={}})=>{const Fn=(0,he.useMemo)(()=>"",[Pi]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:Fn}}))},_e=ce(59301),Oe=Object.defineProperty,He=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Ke=(Pi,Ii,Si)=>Ii in Pi?Oe(Pi,Ii,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Ii]=Si,qe=(Pi,Ii)=>{for(var Si in Ii||(Ii={}))Pe.call(Ii,Si)&&Ke(Pi,Si,Ii[Si]);if(Te)for(var Si of Te(Ii))Xe.call(Ii,Si)&&Ke(Pi,Si,Ii[Si]);return Pi},We=(Pi,Ii)=>He(Pi,ke(Ii));let Ze=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function $e({onActionCallback:Pi,title:Ii,icon:Si,actionName:gi,className:Ea="",children:Fn}){function Dt(){Pi(gi)}return _e.createElement("a",{title:Ii,className:Ea,onClick:Dt},_e.createElement("i",{className:`${Si}`}),Fn)}var rt=({watch:Pi,showNullButton:Ii,showNullProgramButton:Si,onActionCallback:gi,fullScreen:Ea,insertTemp:Fn,hidetoolBar:Dt,extraUse:Gt})=>{const Zt=[...Ze,{title:`${Pi?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Pi?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return _e.createElement("ul",{className:"markdown-toolbar-container"},!Dt&&Zt.map((jt,on)=>_e.createElement("li",{key:on},jt.actionName?_e.createElement($e,We(qe({},jt),{onActionCallback:gi})):_e.createElement("span",{className:"v-line"}))),Ii?_e.createElement("li",null,_e.createElement($e,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Si?_e.createElement(_e.Fragment,null,_e.createElement("li",null,_e.createElement($e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),_e.createElement("li",null,_e.createElement($e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Fn&&_e.createElement("li",null,_e.createElement($e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Fn}`,onActionCallback:gi},_e.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Gt&&_e.createElement("li",null,Gt),_e.createElement("li",{className:"btn-full-screen"},_e.createElement($e,{icon:`${Ea?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ea?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:gi})))},ht=ce(62488),dt=ce(78241),xt=ce(92832),Je=ce(3113),Lt=Object.defineProperty,Re=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,wt=(Pi,Ii,Si)=>Ii in Pi?Lt(Pi,Ii,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Ii]=Si,it=(Pi,Ii)=>{for(var Si in Ii||(Ii={}))bt.call(Ii,Si)&&wt(Pi,Si,Ii[Si]);if(Ft)for(var Si of Ft(Ii))Tt.call(Ii,Si)&&wt(Pi,Si,Ii[Si]);return Pi},je=(Pi,Ii)=>Re(Pi,Rt(Ii));const at={labelCol:{span:4},wrapperCol:{span:20}};var Yt=({callback:Pi,onCancel:Ii})=>{function Si(gi){Pi(gi)}return he.createElement(dt.default,je(it({},at),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Si,style:{width:500}}),he.createElement(dt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},he.createElement(xt.default,null)),he.createElement(dt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},he.createElement(xt.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Je.ZP,{type:"ghost",onClick:Ii},"\u53D6\u6D88")))},Vt=ce(67824),St=ce(22477),Qt=ce(43418),cn=ce(95237),Nn=ce(18997),fn=ce(59301),Ln=({callback:Pi,onCancel:Ii})=>{const Si=document.createElement("canvas"),gi=Si.getContext("2d");Si.width=1e3,Si.height=800,gi.fillStyle="#ffffff",gi.fillRect(0,0,Si.width,Si.height);const Ea=Si.toDataURL("image/png");return fn.createElement(Qt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},fn.createElement(cn.Z,{style:{height:"100vh"}},fn.createElement(Nn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ea,visible:!0,title:String(Date.now())},onOk:Fn=>{Pi({src:Fn.url})},onClose:Ii})))},Cn=ce(43428),Bn=ce(43604),gn=ce(8591),Se={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=ce(59301),ae=(0,he.forwardRef)(({onCancel:Pi,editImgId:Ii,callback:Si},gi)=>{let Ea=(0,he.useRef)(),Fn=(0,he.useRef)(),Dt=(0,he.useRef)(),Gt=(0,he.useRef)(!1);const Zt=(0,he.useRef)(!1);console.log("ref:",gi);const[jt,on]=(0,he.useState)(0),[Mn,ir]=(0,he.useState)("100vh");return(0,he.useEffect)(()=>{on(1);try{indexedDB.databases().then(qn=>{qn.forEach(pr=>indexedDB.deleteDatabase(pr.name))})}catch(qn){}},[]),(0,he.useImperativeHandle)(gi,()=>({setHeight:ir})),Fe.createElement("div",{ref:Zt,className:"body-overflow-initial"},Fe.createElement(Cn.Z,{width:"100vw",height:Mn,footer:null,closable:!0,placement:"bottom",open:!!jt,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Se.drawerWrap}`,onClose:()=>{window.saveDrawData(qn=>{Si({src:`/api/attachments/${qn}`,id:qn})})},title:Fe.createElement(cn.Z,{align:"middle"},Fe.createElement(Bn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(Bn.Z,{onClick:()=>{ir(Mn==="60px"?"100vh":"60px")}},Fe.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),Fe.createElement(Bn.Z,{onClick:()=>{window.saveDrawData(qn=>{if(qn===null){gn.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}gn.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Si({src:`/api/attachments/${qn}`,id:qn,disabledClose:!0})})}},Fe.createElement(Je.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},Fe.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Ii||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Fn})))}),se=ce(42684),oe=ce(5112),Ye=ce(5871);const vt=oe.ZP.Group,et={margin:"0 8px"};var lt=({callback:Pi,onCancel:Ii})=>{function Si(gi){Pi(gi)}return he.createElement(dt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Si},he.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},he.createElement("span",{style:et},"\u5355\u5143\u683C\u6570\uFF1A"),he.createElement("span",{style:et},"\u884C\u6570"),he.createElement(dt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},he.createElement(Ye.Z,null)),he.createElement("span",{style:et},"\u5217\u6570"),he.createElement(dt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},he.createElement(Ye.Z,null))),he.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},he.createElement("span",{style:et},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),he.createElement(dt.default.Item,{name:"align"},he.createElement(vt,null,he.createElement(oe.ZP,{value:"default"},he.createElement("i",{className:"fa fa-align-justify"})),he.createElement(oe.ZP,{value:"left"},he.createElement("i",{className:"fa fa-align-left"})),he.createElement(oe.ZP,{value:"center"},he.createElement("i",{className:"fa fa-align-center"})),he.createElement(oe.ZP,{value:"right"},he.createElement("i",{className:"fa fa-align-right"}))))),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Je.ZP,{type:"ghost",onClick:Ii},"\u53D6\u6D88")))},Pt=ce(78673),Mt=ce(75354),kt=ce.n(Mt),Sn=(0,he.forwardRef)(({use3d:Pi,width:Ii,height:Si,callback:gi,showSaveButton:Ea},Fn)=>{const Dt=(0,he.useRef)(),Gt=(0,he.useRef)(),[Zt,jt]=(0,he.useState)(!1),on=(0,he.useRef)({id:Dt,appName:"graphing",width:Ii||1e3,height:Si||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,he.useEffect)(()=>{Gt.current=new(kt())(on.current,!0),window.onload=function(){Gt.current.inject("applet_container")}},[]);const Mn=()=>{var ir=window.ggbApplet.getPNGBase64(1,!0,72);return gi&&gi(ir),ir};return(0,he.useEffect)(()=>{on.current.appName=Zt?"3D":"graphing",Gt.current.inject("applet_container")},[Zt]),(0,he.useEffect)(()=>{jt(Pi)},[Pi]),(0,he.useImperativeHandle)(Fn,()=>({getImgData:Mn})),he.createElement(he.Fragment,null,he.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Dt}),he.createElement(cn.Z,{align:"middle"},he.createElement(Bn.Z,{flex:1},he.createElement(Pt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Zt,onChange:ir=>jt(ir)})),he.createElement(Bn.Z,null,he.createElement(Je.ZP,{size:"large",onClick:Mn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Bt=ce(80802),nn=ce(1012);const tn="link",zt="upload-image",pt="add-flowchart",Wt="draw-image",vn="add-flowchart",xn="code-block",Wn="add-table",br="------------",Lr={default:br,left:`:${br}`,center:`:${br}:`,right:`${br}:`};var jr=ce(8204),Qr=(Pi,Ii,Si)=>new Promise((gi,Ea)=>{var Fn=Zt=>{try{Gt(Si.next(Zt))}catch(jt){Ea(jt)}},Dt=Zt=>{try{Gt(Si.throw(Zt))}catch(jt){Ea(jt)}},Gt=Zt=>Zt.done?gi(Zt.value):Promise.resolve(Zt.value).then(Fn,Dt);Gt((Si=Si.apply(Pi,Ii)).next())});function vr(){}let Ar=0;const Tr=1e4,Bi="\u2581",$i="@\u2581\u2581@",mi="@\u2581@",Mi=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,pa=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Dr(Pi){return/^\d+$/.test(Pi)?`${Pi}px`:Pi}const no=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ki={[no+"-B"]:"bold",[no+"-I"]:"italic"},Co={[tn]:"\u6DFB\u52A0\u94FE\u63A5",[xn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[zt]:"\u6DFB\u52A0\u56FE\u7247",[Wt]:"\u6DFB\u52A0\u753B\u56FE",[pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Wn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ro=({defaultValue:Pi="",onChange:Ii,width:Si="100%",height:gi=400,miniToolbar:Ea=!1,isFocus:Fn=!1,watch:Dt,insertTemp:Gt,mode:Zt="markdown",id:jt="markdown-editor-id",showResizeBar:on=!1,noStorage:Mn=!1,showNullButton:ir=!1,showNullProgramButton:qn=!1,hidetoolBar:pr=!1,fullScreen:Gr=!1,onBlur:Zr,onCMBeforeChange:$r,onFullScreen:Xn,className:Or="",disablePaste:ki=!1,disabled:vi=!1,disabledFill:Zi=!1,placeholder:xi="",values:Ca="",extraUse:si,onAddBlank:oa})=>{const[mn,mr]=(0,he.useState)(null),[dr,Wr]=(0,he.useState)(Pi),[wr,Mr]=(0,he.useState)(Dt),[Fr,ui]=(0,he.useState)(Gr),[yi,Hi]=(0,he.useState)(""),[Oa,Qa]=(0,he.useState)(0),[oo,La]=(0,he.useState)(gi),[Da,po]=(0,he.useState)(!1),Za=(0,he.useRef)((0,nn.Z)()),io=(0,he.useRef)(!1),va=(0,he.useRef)(),[ka,Xa]=(0,he.useState)(0),[Pa,ao]=(0,he.useState)(0),us=(0,he.useRef)(),Ya=(0,he.useRef)(),fi=(0,he.useRef)(),Rr=(0,he.useRef)(),Ra=(0,he.useRef)(),_a=(0,he.useRef)(),Va=()=>Qr(void 0,null,function*(){var ma;const sa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Za.current}});(ma=sa==null?void 0:sa.attachments)!=null&&ma.length&&(console.log("cm:",mn,us),sa.attachments.map(ra=>{ra.content_type.indexOf("image")>-1?mn.replaceSelection(`![,](/api/attachments/${ra.id}?type=${ra.content_type})`):ra.content_type.indexOf("video")>-1?mn.replaceSelection(`<video width="100%" controls src="${se.Z.API_SERVER}/api/attachments/${data.id}"></video>`):ra.content_type.indexOf("pdf")>-1?mn.replaceSelection(`<a href="${se.Z.API_SERVER}/api/attachments/${ra.id}?type=${ra.content_type}&disposition=inline" target="_blank">${ra.name}</a>`):mn.replaceSelection(`[${ra.name}](${se.Z.API_SERVER}/api/attachments/${ra.id}?type=${ra.content_type})`)}))});(0,he.useEffect)(()=>{const ma=window.scrollY||window.pageYOffset;Wr(Ca),mn==null||mn.setValue(Ca),window.scrollTo(0,ma)},[Ca]),(0,he.useEffect)(()=>{Xn==null||Xn(Fr)},[Fr]),(0,he.useEffect)(()=>{if(us.current){let ma=function(ra,ua){var cs;if(ki){ua.preventDefault();return}const Ps=ua.clipboardData;if(Ps){const jo=Ps.types.toString(),xs=Ps.items;if(jo==="Files"||Ps.types.indexOf("Files")>-1){if(ua.preventDefault(),Zt=="stex")return;try{let Cs=xs[1];((cs=xs[0])==null?void 0:cs.kind)==="file"&&(Cs=xs[0]);const $s=Cs.getAsFile(),ru=$s.name.split(".").pop();(0,St.I)($s,or=>{var Qn,Nr,Di;or.id?((Qn=$s==null?void 0:$s.type)==null?void 0:Qn.indexOf("image"))>-1?sa.replaceSelection(`<img width="100%" src="/api/attachments/${or.id}?type=${or.content_type})" alt="" />`):((Nr=$s==null?void 0:$s.type)==null?void 0:Nr.indexOf("video"))>-1?sa.replaceSelection(`<video width="100%" controls src="/api/attachments/${or.id}"></video>`):((Di=$s==null?void 0:$s.type)==null?void 0:Di.indexOf("pdf"))>-1?sa.replaceSelection(`<a href="/api/attachments/${or.id}?type=${$s.type}&disposition=inline" target="_blank">${$s.name}</a>`):pa.includes(ru)?sa.replaceSelection(`<a href="/api/attachments/${or.id}?type=office&disposition=inline" target="_blank">${$s.name}</a>`):sa.replaceSelection(`[${$s.name}](/api/attachments/${or.id}?type=${or.content_type})`):(or==null?void 0:or.status)===401&&(gn.ZP.warning((or==null?void 0:or.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Cs){gn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const sa=Ue().fromTextArea(us.current,{mode:Zt,lineNumbers:!Ea,lineWrapping:!0,value:Pi,autoCloseTags:!qn,autoCloseBrackets:!0});return sa.on("keyup",function(ra,ua){ua.keyCode===8&&(ra.getValue()==""?sa.setOption("placeholder",xi):sa.setOption("placeholder",null))}),sa.on("keydown",function(ra,ua){if(ua.keyCode===8){var cs=go(ra);cs&&ua.preventDefault()}}),Fn&&sa.focus(),sa.on("paste",ma),sa.on("dragleave",function(ra,ua){Ya.current.classList.remove("mouse-hover-md")}),vi&&sa.on("beforeChange",function(ra,ua){(ua.origin==="paste"||ua.origin==="+input")&&ua.cancel()}),mr(sa),()=>{sa.off("paste",ma)}}},[]);const Mo=(0,he.useCallback)(()=>{if(Ya.current)try{}catch(ma){console.log(ma,"---- to set md editor body height")}},[oo,Ya,Fr]);(0,he.useEffect)(()=>{function ma(){let sa=new At.Z(ra=>{for(let ua of ra)(ua.target.offsetHeight>0||ua.target.offsetWidth>0)&&(Mo(),mn.setSize("100%","100%"),mn.refresh())});return sa.observe(us.current.parentElement),sa}if(mn){const sa=ma();return()=>{var ra,ua;(ra=us.current)!=null&&ra.parentElement&&sa.unobserve((ua=us.current)==null?void 0:ua.parentElement)}}},[mn,Mo]),(0,he.useEffect)(()=>{if(mn){let ma=[];for(const[sa,ra]of Object.entries(Ki)){let ua={[sa]:()=>{As(ra)}};ma.push(ua),mn.addKeyMap(ua)}return va.current=setInterval(()=>{io.current&&Va()},4e3),()=>{clearInterval(va.current);for(let sa of ma)mn.removeKeyMap(sa)}}},[mn]),(0,he.useEffect)(()=>{Gr!==Fr&&ui(Gr)},[Gr]),(0,jr.Z)(()=>{if(!Mn&&Oa>0){let ma=new Date().getTime(),sa=window.sessionStorage.getItem(jt);ma>=Oa+Tr&&(!sa||sa!==dr)&&(window.sessionStorage.setItem(jt,dr),po(!0))}},Tr),(0,he.useEffect)(()=>{Mr(Dt)},[mn,Dt]),(0,he.useEffect)(()=>{mn&&Fn&&mn.focus()},[mn,Fn]),(0,he.useEffect)(()=>{if(wr&&mn){let ma=function(ra){let ua=ra.target;if(Rr.current){let cs=ua.scrollTop/ua.scrollHeight;Rr.current.scrollTop=Rr.current.scrollHeight*cs}};const sa=mn.getScrollerElement();return sa.addEventListener("scroll",ma),()=>{sa.removeEventListener("scroll",ma)}}},[mn,wr]),(0,he.useEffect)(()=>{if(mn&&$r){let ma=function(sa,ra){$r(sa,ra)};return mn.on("beforeChange",ma),()=>{mn.off("beforeChange",ma)}}},[mn,$r]),(0,he.useEffect)(()=>{if(mn&&Zr){let ma=function(){Zr(mn.getValue())};return mn.on("blur",ma),()=>{mn.off("blur",ma)}}},[mn,Zr]);function go(ma,sa){var ra=ma.getDoc(),ua=ra.getCursor(),cs=ra.getLine(ua.line),Ps=cs.charAt(ua.ch-1),jo=cs.lastIndexOf("@\u2581@",ua.ch),xs=cs.lastIndexOf("@\u2581\u2581@",ua.ch),Cs=jo>xs?jo:xs,$s=jo>xs?3:4;if($i.indexOf(Ps)===-1)return null;if(console.log("change1:",sa,ma,cs,ua,Cs,jo,xs,Ps),Cs>=0&&ua.ch-Cs<5){var ru=Cs+$s;return ra.replaceRange("",{line:ua.line,ch:Cs},{line:ua.line,ch:ru}),{line:ua.line,ch:ru}}return null}(0,he.useEffect)(()=>{if(mn){let ma=function(sa,ra){const ua=sa.getValue();Wr(ua),Qa(new Date().getTime()),sa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ii&&(qn?Ii(ua,er(ua)):Ii(ua))};return mn.on("change",ma),()=>{mn.off("change",ma)}}},[mn,Ii]),(0,he.useEffect)(()=>{if(mn)if(Pi==null)mn.setValue(""),Wr("");else{const ma=window.scrollY||window.pageYOffset;Pi!==mn.getValue()&&(mn.setValue(Pi),Wr(Pi),mn.setCursor(vi?1:mn.lineCount(),0),window.scrollTo(0,ma))}},[mn,Pi]);const As=(0,he.useCallback)(ma=>{const sa=mn.getCursor(),ra=mn.getSelection();let ua=ra.split(`
`);switch(ma){case"bold":return mn.replaceSelection("**"+ra+"**"),ra===""&&mn.setCursor(sa.line,sa.ch+2),mn.focus();case"italic":return mn.replaceSelection("*"+ra+"*"),ra===""&&mn.setCursor(sa.line,sa.ch+1),mn.focus();case"code":return mn.replaceSelection("`"+ra+"`"),ra===""&&mn.setCursor(sa.line,sa.ch+1),mn.focus();case"inline-latex":return Hi("inline-latex"),mn.focus();case"latex":return mn.replaceSelection("```latex\n"+ra+"\n```"),mn.setCursor(sa.line+1,ra.length+1),mn.focus();case"line-break":return mn.replaceSelection(`<br/>
`),mn.focus();case"list-ul":return ra===""?mn.replaceSelection("- "+ra):mn.replaceSelection(ua.map(cs=>cs===""?"":`- ${cs}`).join(`
`)),mn.focus();case"list-ol":return ra===""?mn.replaceSelection("1. "+ra):mn.replaceSelection(ua.map((cs,Ps)=>cs===""?"":`${Ps+1}. ${cs}`).join(`
`)),mn.focus();case"add-null-ch":oa==null||oa();return;case"add-signal":return ra===""&&mn.setCursor(sa.line,sa.ch),mn.replaceSelection(mi),mn.focus();case"add-multiple":return ra===""&&mn.setCursor(sa.line,sa.ch),mn.replaceSelection($i),mn.focus();case"inster-template-1":return ra===""&&mn.setCursor(sa.line,sa.ch),mn.replaceSelection(Mi),mn.focus();case"eraser":return mn.setValue(""),mn.focus();case"trigger-watch":return Mr(!wr),mn.focus();case"trigger-full-screen":return ui(!Fr),mn.focus();case tn:Hi(tn);return;case xn:Hi(xn);return;case zt:Hi(zt);return;case Wt:Hi(Wt);return;case"maths-latex":Hi("maths-latex");return;case pt:Ra.current="",sessionStorage.removeItem("file_id"),Hi(pt);return;case Wn:Hi(Wn);return;default:throw new Error}},[mn,wr,Fr]),_o=(0,he.useCallback)((ma,sa)=>{var ra,ua,cs,Ps,jo,xs;Hi("");const{src:Cs,alt:$s,id:ru}=ma||{};switch(yi){case tn:const{title:Io,link:lr}=ma;return mn.replaceSelection(`[${Io}](${lr})`),mn.focus();case xn:const{language:Jn,content:Un}=ma;return mn.replaceSelection(["```"+Jn,Un,"```"].join(`
`)),mn.focus();case"maths-latex":for(var or=atob(ma),Qn=new Uint8Array(or.length),Nr=0;Nr<or.length;Nr++)Qn[Nr]=or.charCodeAt(Nr);var Di=new Blob([Qn],{type:"image/png"});(0,St.I)(Di,Ji=>{Ji.id?mn.replaceSelection(`![,](/api/attachments/${Ji.id}?type=${Ji.content_type})`):(Ji==null?void 0:Ji.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":mn.replaceSelection("`$$"+ma+"$$`");break;case vn:if(!ru)return;mn.focus(),mn.getValue().indexOf(Cs)===-1?mn.replaceSelection(`<center><img id="${ru}" width="80%" src="${Cs}" class="draw-flowchart" alt="${$s||""}" /></center>`):document.getElementById(ru).src=se.Z.API_SERVER+Cs+"?t="+Date.now();try{setTimeout(()=>{Zr(mn.getValue())},100)}catch(Ji){}break;case zt:case Wt:const cr=sa,Ur=(cs=(ua=(ra=cr==null?void 0:cr.name)==null?void 0:ra.split("."))==null?void 0:ua.pop)==null?void 0:cs.call(ua);return((Ps=cr==null?void 0:cr.type)==null?void 0:Ps.indexOf("image"))>-1||!(cr!=null&&cr.type)?cr!=null&&cr.align||cr!=null&&cr.width?mn.replaceSelection(`<p style="text-align:${cr.align||"initial"}"><img width="${cr.width?cr.width+"%":"initial"}" src="${Cs}" alt="${$s||""}" /></p>`):mn.replaceSelection(`<img width="100%" src="${Cs}" alt="${$s||""}" />`):((jo=cr==null?void 0:cr.type)==null?void 0:jo.indexOf("video"))>-1?mn.replaceSelection(`<video width="100%" controls src="${Cs}"></video>`):((xs=cr==null?void 0:cr.type)==null?void 0:xs.indexOf("pdf"))>-1?mn.replaceSelection(`<a href="${Cs}?type=${cr.type}&disposition=inline" target="_blank">${cr.name}</a>`):pa.includes(Ur)?mn.replaceSelection(`<a href="${Cs}?type=office&disposition=inline" target="_blank">${cr.name}</a>`):mn.replaceSelection(`[${cr.name}](${Cs})`),mn.focus();case Wn:const{row:bi,col:xr,align:Hr}=ma;let ji=`
`;for(let Ji=0;Ji<bi;Ji++){let ca=[],Xr=[];for(let Ni=0;Ni<xr;Ni++)Ji===1&&Xr.push(Lr[Hr]),ca.push(" ");Ji===1&&(ji+=`| ${Xr.join(" | ")} |
`),ji+=`| ${ca.join(xr===1?"":" | ")} |
`}return mn.replaceSelection(ji+`
`),mn.focus();default:throw new Error}},[mn,yi]),Js=(0,he.useMemo)(()=>{switch(yi){case tn:return he.createElement(Yt,{callback:_o,onCancel:Sa});case xn:return he.createElement(Vt.Z,{callback:_o,onCancel:Sa});case zt:return he.createElement(St.Z,{callback:_o,onCancel:Sa});case pt:return he.createElement(ae,{editImgId:Ra.current,callback:_o,onCancel:Sa});case Wn:return he.createElement(lt,{callback:_o,onCancel:Sa});case"maths-latex":return he.createElement(Sn,{showSaveButton:!0,callback:_o});case"inline-latex":return he.createElement(Bt.Z,{showSaveButton:!0,callback:_o});default:return null}},[yi]);function Sa(){Hi("")}(0,he.useEffect)(()=>{if(fi.current){let ma=function(jo){cs=!0,Ps=jo.pageY},sa=function(){cs=!1},ra=function(jo){if(cs){let xs=jo.pageY-Ps;xs<0&&(xs=0),xs>300&&(xs=300);let Cs=gi+xs+"px";La(Cs)}},ua=fi.current,cs=!1,Ps=0;return ua.addEventListener("mousedown",ma),document.addEventListener("mousemove",ra),document.addEventListener("mouseup",sa),()=>{ua.removeEventListener("mousedown",ma),document.removeEventListener("mousemove",ra),document.removeEventListener("mouseup",sa)}}},[mn,fi]),(0,he.useEffect)(()=>{La(gi)},[gi]);const xa=Dr(Si),Bo=Dr(oo),So={width:xa,height:Bo},Ms=(0,he.useMemo)(()=>{if(Oa){let ma=new Date(Oa),sa=ma.getHours(),ra=ma.getMinutes(),ua=ma.getSeconds();return sa=sa<10?"0"+sa:sa,ra=ra<10?"0"+ra:ra,ua=ua<10?"0"+ua:ua,`${sa}:${ra}:${ua}`}return 0},[Oa]),er=ma=>{const sa=[];if(qn){let ra=-1;ma=ma.replace(/(@▁▁@|@▁@)/g,function(ua,cs,Ps){sa.push({multiLine:ua!==mi})})}return sa};function Qs(){window.sessionStorage.removeItem(jt),po(!1),Qa(0)}function fs(){po(!1),Qa(0),mn.setValue(window.sessionStorage.getItem(jt))}(0,he.useEffect)(()=>{Co[yi]&&yi!==Wt&&yi!==pt&&setTimeout(()=>{const ma=document.getElementsByClassName("markdown-popup-form")[0],sa=window.innerWidth/2-ma.offsetWidth/2,ra=window.innerHeight/2-ma.offsetHeight/2;Xa(sa),ao(ra)},0)},[yi]);const Zs=ma=>{ma.preventDefault();const sa=ma.clientX-ka,ra=ma.clientY-Pa;document.body.onmousemove=ua=>{let cs=ua.clientX-sa,Ps=ua.clientY-ra;const jo=document.getElementsByClassName("markdown-popup-form")[0],xs=window.innerWidth-jo.offsetWidth,Cs=window.innerHeight-jo.offsetHeight;cs=Math.max(0,Math.min(cs,xs)),Ps=Math.max(0,Math.min(Ps,Cs)),qs(ua.clientX,ua.clientY,sa,ra)&&(Xa(cs),ao(Ps))},document.body.onmouseup=function(){document.body.onmousemove=null}},qs=(ma,sa,ra,ua)=>{const cs=document.body.clientHeight,Ps=document.body.clientWidth;return ma<20&&ra>ma||ma>Ps-20&&ra<ma||sa<20&&ua>sa||sa>cs-20&&ua<sa?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return he.createElement(he.Fragment,null,he.createElement("div",{className:"markdown-editor-wrapper",ref:Ya},he.createElement("div",{className:`markdown-editor-container ${Or} ${wr?"on-preview":""} ${Ea?"mini":""} ${Fr?"full-screen":""}`,style:So},he.createElement(rt,{insertTemp:Gt,watch:wr,fullScreen:Fr,showNullButton:ir,showNullProgramButton:qn,onActionCallback:As,hidetoolBar:pr,extraUse:si}),he.createElement("div",{className:"markdown-editor-body"},he.createElement("div",{className:"codemirror-container"},he.createElement("textarea",{ref:us,placeholder:xi})),wr?he.createElement("div",{ref:Rr,className:"preview-container"},Zt==="stex"&&he.createElement(Be,{value:dr}),Zt!=="stex"&&he.createElement(ze.Z,{edit:!0,disabledFill:Zi,showProgramFill:qn,value:dr,openEditor:ma=>{var sa;Ra.current=ma,(sa=_a.current)==null||sa.setHeight("100vh"),setTimeout(()=>{Hi("add-flowchart")},150)}})):null))),on?he.createElement("a",{ref:fi,className:"editor-resize"}):null,yi===Wt&&he.createElement(Ln,{callback:_o,onCancel:Sa}),yi===pt&&he.createElement(ae,{ref:_a,editImgId:Ra.current,callback:_o,onCancel:Sa}),he.createElement(ht.Z,null,Co[yi]&&yi!==Wt&&yi!==pt?he.createElement(Qt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ka,top:Pa},title:he.createElement("div",{style:{cursor:"move"},onMouseDown:Zs},Co[yi]),open:!0,onCancel:Sa,footer:null,destroyOnClose:!0,width:yi===pt?"1200px":null,height:yi===pt?"80vh":null,className:"markdown-popup-form"},Js):null))}},22477:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return $e},I:function(){return ht}});var he=ce(78241),Me=ce(8591),Ue=ce(92832),At=ce(81327),Ne=ce(5871),Le=ce(5112),ve=ce(3113),Ae=ce(32546),we=ce(59301),fe=ce(36466),ze=ce(59301),Be=Object.defineProperty,_e=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Pe=(dt,xt,Je)=>xt in dt?Be(dt,xt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):dt[xt]=Je,Xe=(dt,xt)=>{for(var Je in xt||(xt={}))ke.call(xt,Je)&&Pe(dt,Je,xt[Je]);if(He)for(var Je of He(xt))Te.call(xt,Je)&&Pe(dt,Je,xt[Je]);return dt},Ke=(dt,xt)=>_e(dt,Oe(xt));const{useForm:qe}=he.default,We={width:280,marginRight:10},Ze={labelCol:{span:5},wrapperCol:{span:19}};var $e=({callback:dt,onCancel:xt})=>{const[Je]=qe();let Lt=(0,we.useRef)();function Re(bt){Lt.current.width=Je.getFieldValue("width"),Lt.current.align=Je.getFieldValue("align"),dt(bt,Lt.current)}function Rt(bt,Tt){if(bt.status===-1){Me.ZP.error(bt.message);return}Je.setFieldsValue({src:`/api/attachments/${bt.id}`,type:Tt.type})}function Ft(bt){let Tt=bt.target.files[0];Lt.current=Tt,ht(Tt,Rt)}return ze.createElement(he.default,Ke(Xe({form:Je},Ze),{className:"upload-image-panel",onFinish:Re,style:{width:470,overflow:"hidden"}}),ze.createElement(he.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(he.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(Ue.default,{style:We})),ze.createElement(rt,{onFileChange:Ft}))),ze.createElement(he.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(Ue.default,{style:{width:264}})),ze.createElement(he.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(At.Z,null,ze.createElement(he.default.Item,{name:"width",style:{margin:0}},ze.createElement(Ne.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(he.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Le.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ze.createElement("aside",null,ze.createElement(he.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(ve.ZP,{type:"default",onClick:xt},"\u53D6\u6D88"))))};function rt({onFileChange:dt}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:dt}))}function ht(dt,xt){if(!dt)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,fe.bg)())throw Me.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Je=new FormData;Je.append("editormd-image-file",dt),Je.append("file_param_name","editormd-image-file"),Je.append("byxhr","true");var Lt=new window.XMLHttpRequest;Lt.withCredentials=!0,Lt.addEventListener("load",function(Re){xt(JSON.parse(Re.target.responseText),dt)},!1),Lt.addEventListener("error",function(Re){console.error(Re)},!1),Lt.open("POST",`${Ae.KI}/api/attachments.json`),Lt.send(Je)}},62488:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ue}});var he=ce(59301),Me=ce(4676);class Ue extends he.Component{constructor(Ne){super(Ne);const Le=window.document;this.node=Le.createElement("div"),Le.body.appendChild(this.node)}render(){const{children:Ne}=this.props;return(0,Me.createPortal)(Ne,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},88276:function(Tn,Xt,ce){"use strict";ce.d(Xt,{i:function(){return Ze},Z:function(){return rt}});var he={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",wrapisCurrent:"wrapisCurrent___qIfQT"},Me=ce(71418),Ue=ce(6848),At=ce(93948),Ne=ce(92310),Le=ce.n(Ne),ve=ce(85333),Ae=ce(61648),we=ce(36466),fe=ce(79005),ze=ce(20345),Be=ce(47027),_e=ce(31081),Oe=ce(75309),He=ce(71979),ke=ce(47558),Te=ce(42922),Pe=ce(66832),Xe=ce(96593),Ke=ce(19664),qe=ce(91833),We=ce(59301);const Ze=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:fe,swimg:ze},{name:"101\u8BA1\u5212",ptimg:Be,swimg:_e},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Oe,swimg:He},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ke,swimg:Te},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Pe,swimg:Xe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ke,swimg:qe}];var rt=({className:ht,dataSource:dt=[],col:xt=4,right:Je,bottom:Lt=23,precision:Re=0,wrapWidth:Rt=1200,trackEventItems:Ft,loading:bt,onRemove:Tt=()=>{},isCurrent:wt=!0,showAlias:it=!1,showProgress:je=!1})=>{const at=Math.floor((Rt-(xt-1)*Je)/xt),Yt=[{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"}].map(Vt=>(window.ENV==="build"&&(Vt.ptimg=`/react/build${Vt.ptimg}`,Vt.swimg=`/react/build${Vt.swimg}`),Vt));return We.createElement(Me.Z,{spinning:bt},We.createElement("div",{className:Le()(he.list,ht)},!!(dt!=null&&dt.length)&&(dt==null?void 0:dt.map((Vt,St)=>{var Qt,cn,Nn,fn,Ln,Cn;const{name:Bn,id:gn,identifier:Se,featured:Fe,school_name:ie,image_url:ae,excellent:se,is_plan:oe}=Vt;return We.createElement("div",{key:gn,className:wt&&je?he.wrapisCurrent:he.wrap,style:{width:at,marginRight:(1+St)%xt===0?0:Je+Re,marginBottom:Lt}},We.createElement("a",{className:he.li,onClick:Ye=>{Ye.preventDefault(),Ye.stopPropagation(),Ft&&(0,ve.L9)([Ft]),(0,ve.xg)(`/paths/${Se}`)}},We.createElement("div",{className:he.img},We.createElement("img",{className:he.cover,src:`${ae}`}),wt&&(0,we.bg)()&&(Vt==null?void 0:Vt.studying)&&We.createElement("div",{className:`${he.movebq} user-path-items`,onClick:Ye=>{Ye.stopPropagation(),Tt(Vt)}},We.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),We.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Qt=Vt==null?void 0:Vt.subject_tags)==null?void 0:Qt.map((Ye,vt)=>{var et,lt;if(vt===0){const Mt=(et=Yt.find(kt=>kt.name==Ye))==null?void 0:et.swimg;return We.createElement("img",{className:he.sign,src:Mt,style:{left:"-4px"}})}const Pt=(lt=Yt.find(Mt=>Mt.name==Ye))==null?void 0:lt.ptimg;return We.createElement("img",{className:he.sign,src:Pt,style:{left:`${48+52*(vt-1)+2*vt}px`}})}),We.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Vt==null?void 0:Vt.excellent)&&We.createElement("div",{className:he.bq},"\u5F00\u653E\u8BFE\u7A0B"))),We.createElement("div",{className:he.name},We.createElement(Ue.Z,{title:it&&(Vt!=null&&Vt.excellent_alias_name)?We.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Bn}`,We.createElement("br",null),We.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Vt==null?void 0:Vt.excellent_alias_name}`)):Bn},We.createElement("span",{className:he.e},it&&(Vt==null?void 0:Vt.excellent_alias_name)||Bn))),wt&&je&&((cn=Vt==null?void 0:Vt.progress)==null?void 0:cn.all_score)!=0&&We.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},We.createElement(At.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Nn=Vt==null?void 0:Vt.progress)==null?void 0:Nn.my_score)/((fn=Vt==null?void 0:Vt.progress)==null?void 0:fn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ln=Vt==null?void 0:Vt.progress)==null?void 0:Ln.my_score,"/",(Cn=Vt==null?void 0:Vt.progress)==null?void 0:Cn.all_score),(!wt||!je)&&We.createElement("div",{className:he.tags},We.createElement("div",null,We.createElement(Ue.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),We.createElement("span",null,Vt.stages_count))),We.createElement(Ue.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),We.createElement("span",null,Vt.members_count)))))))})),!dt.length&&We.createElement(Ae.Z,null)))}},92090:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Le}});var he=ce(59301),Me={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"},Ue=ce(92310),At=ce.n(Ue),Le=({dataSource:ve=[],value:Ae,onChange:we,className:fe,style:ze={}})=>he.createElement("div",{style:ze,className:At()(Me.tabs,fe)},ve.map(Be=>he.createElement("span",{onClick:()=>we(Be.id),className:Ae===Be.id?Me.active:"",key:Be.id},Be.name)))},93351:function(Tn,Xt,ce){"use strict";ce.d(Xt,{jL:function(){return Ne},w9:function(){return no},vv:function(){return Ea},dN:function(){return Pi},QD:function(){return va},cQ:function(){return oe.Z},vg:function(){return mi},Oz:function(){return Qr},op:function(){return oo},O5:function(){return So},_b:function(){return Ya},t7:function(){return xt},tT:function(){return Re},Gi:function(){return Zr},YG:function(){return Zt},Ed:function(){return pr},kT:function(){return Mn},qp:function(){return Te},Um:function(){return Ze},K3:function(){return Ke},vr:function(){return Pa},qE:function(){return po},Je:function(){return bt},wb:function(){return fn},rC:function(){return se},lB:function(){return Bn},cq:function(){return Zi},kO:function(){return oa},tp:function(){return $e.Z},Si:function(){return Qs},k8:function(){return Io},Du:function(){return cs}});var he=ce(59301),Me={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"},Ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiez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3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ne=({dataSource:lr=[],img:Jn,imgWidth:Un=346,title:cr,sunTitle:Ur,bannerExtraContent:bi})=>he.createElement("div",{className:Me.banner},he.createElement("div",{className:Me.content},he.createElement("aside",null,he.createElement("p",null,he.createElement("b",null,cr),he.createElement("span",null,Ur)),lr.length>0&&he.createElement("div",{className:Me.btns},lr.map((xr,Hr)=>he.createElement("div",{key:Hr,onClick:xr.click},xr.name,xr.sign?he.createElement("img",{src:Ue,width:39}):null))),bi),Jn&&he.createElement("img",{style:{marginTop:33,marginRight:38},src:Jn,width:Un}))),Le={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"},ve=ce(92310),Ae=ce.n(ve),we=ce(78267),fe=Object.defineProperty,ze=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Oe=(lr,Jn,Un)=>Jn in lr?fe(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,He=(lr,Jn)=>{for(var Un in Jn||(Jn={}))Be.call(Jn,Un)&&Oe(lr,Un,Jn[Un]);if(ze)for(var Un of ze(Jn))_e.call(Jn,Un)&&Oe(lr,Un,Jn[Un]);return lr},Te=({dataSource:lr=[],value:Jn,onChange:Un,onTitleChange:cr,className:Ur,title:bi,titleWidth:xr=41,style:Hr={},fontColor:ji="#6A7283",showCount:Ji,classNameActive:ca,styleItem:Xr={}})=>{const[Ni,ia]=(0,he.useState)(0),[Ma,Oi]=(0,he.useState)(!1),da=(0,he.useRef)(null),Lo=(0,he.useRef)(null);return(0,he.useEffect)(()=>{var co;lr.length!==0&&(((co=da==null?void 0:da.current)==null?void 0:co.clientHeight)>97?ia(1):ia(0)),lr.length===0&&ia(0),Oi(!1)},[lr]),he.createElement("div",{className:Ae()(Le.row,Ur),style:Hr},he.createElement("div",{onClick:(0,we.throttle)(()=>cr==null?void 0:cr(),2e3),style:{width:xr,marginTop:Ma?12:4},className:`${Le.title} ${cr?"current":""}`},bi),he.createElement("div",{className:Ma?`${Le.tagsWrap} ${Le.tagsBorderWrap}`:Le.tagsWrap},he.createElement("div",{className:Le.bar,ref:Lo,style:Ni>0?{height:Ni===1?97:"auto",overflow:Ni===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},he.createElement("div",{className:Le.tag,ref:da},lr==null?void 0:lr.map(co=>he.createElement("span",{onClick:()=>Un(co.id),key:co.id,style:He(He({color:ji},Xr),(co==null?void 0:co.style)||{}),className:Jn===co.id?Ae()(ca||Le.active,co.classNameActive):""},he.createElement("span",{title:co.name,className:Le.name},co.name),!!Ji&&he.createElement("span",{className:Le.num},co.count))))),!!Ni&&he.createElement(he.Fragment,null,Ni===1?he.createElement("div",{onClick:()=>{var co;ia(2),((co=da==null?void 0:da.current)==null?void 0:co.clientHeight)>245?Oi(!0):Oi(!1)},className:Le.action},"\u5C55\u5F00",he.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):he.createElement("div",{onClick:()=>{Lo.current.scrollTop=0,ia(1),Oi(!1)},className:Le.action},"\u6536\u8D77",he.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Pe={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},Ke=({dataSource:lr=[],value:Jn,onChange:Un,onTitleChange:cr,className:Ur,title:bi,titleWidth:xr=41,style:Hr={},fontColor:ji="#6A7283",showCount:Ji,expand:ca=!0})=>{const[Xr,Ni]=(0,he.useState)(0),[ia,Ma]=(0,he.useState)(!1),Oi=(0,he.useRef)(null),da=(0,he.useRef)(null),[Lo,co]=(0,he.useState)(ca);return he.createElement("div",{className:Ae()(Pe.row,Ur),style:Hr},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,we.throttle)(()=>cr==null?void 0:cr(),2e3),style:{width:xr,marginTop:ia?12:4},className:`${Pe.title} ${cr?"current":""}`},bi),he.createElement("i",{className:`iconfont ${Lo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Lo?8:10},onClick:()=>co(!Lo)})),Lo&&he.createElement("div",{className:ia?`${Pe.tagsWrap} ${Pe.tagsBorderWrap}`:Pe.tagsWrap},he.createElement("div",{className:Pe.fenge}),he.createElement("div",{className:Pe.bar,ref:da},he.createElement("div",{className:Pe.tag,ref:Oi},lr==null?void 0:lr.map(To=>he.createElement("span",{onClick:()=>Un(To.id),key:To.id,style:{color:ji},className:Jn===To.id?Pe.active:""},he.createElement("span",{title:To.name,className:Pe.name},To.name),!!Ji&&he.createElement("span",{className:Pe.num},To.count)))))))},qe={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},Ze=({dataSource:lr=[],value:Jn,onChange:Un,onTitleChange:cr,className:Ur,title:bi,titleWidth:xr=41,style:Hr={},fontColor:ji="#fff",showCount:Ji,expand:ca=!0})=>{const[Xr,Ni]=(0,he.useState)(0),[ia,Ma]=(0,he.useState)(!1),Oi=(0,he.useRef)(null),da=(0,he.useRef)(null),[Lo,co]=(0,he.useState)(ca);return he.createElement("div",{className:Ae()(qe.row,Ur),style:Hr},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,we.throttle)(()=>cr==null?void 0:cr(),2e3),style:{width:xr},className:`${qe.title} ${cr?"current":""}`},bi),he.createElement("i",{className:`iconfont ${Lo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Lo?"#00DDC7":"#037F74",fontSize:Lo?10:12},onClick:()=>co(!Lo)})),Lo&&he.createElement("div",{className:ia?`${qe.tagsWrap} ${qe.tagsBorderWrap}`:qe.tagsWrap},he.createElement("div",{className:qe.bar,ref:da},he.createElement("div",{className:qe.tag,ref:Oi},lr==null?void 0:lr.map(To=>he.createElement("span",{onClick:()=>Un(To.id),key:To.id,style:{color:ji},className:Jn===To.id?qe.active:""},he.createElement("span",{title:To.name,className:qe.name},To.name),!!Ji&&he.createElement("span",{className:qe.num},To.count)))))))},$e=ce(92090),rt={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"},ht=ce(92832),xt=({dataSource:lr=[],value:Jn="",onChange:Un,onInputChange:cr=()=>{},className:Ur,style:bi={},placeholder:xr,allowClear:Hr=!1})=>{var ji;const[Ji,ca]=(0,he.useState)(""),[Xr,Ni]=(0,he.useState)("");(0,he.useEffect)(()=>{var Oi;let da=Jn;(Oi=JSON.stringify(Jn))!=null&&Oi.includes("{")&&(ca(Jn.id),da=Jn.value||"");try{Ni(decodeURIComponent(da||""))}catch(Lo){Ni(decodeURIComponent(da||""))}},[Jn]);const ia=()=>{Un(encodeURIComponent(Xr),Ji||null)},Ma=Oi=>{Oi!==Ji&&(ca(Oi),Un(encodeURIComponent(Xr),Oi))};return he.createElement("div",{className:Ae()(rt.input,Ur),style:bi},!!lr.length&&he.createElement("div",{className:rt.dropdown},he.createElement("div",{className:rt.text},(ji=lr.find(Oi=>Oi.id===Ji))==null?void 0:ji.name,he.createElement("i",{className:"iconfont icon-zhankai4"}),he.createElement("b",{className:rt.b1}),he.createElement("b",{className:rt.b2})),he.createElement("div",{className:rt.menu},lr.map((Oi,da)=>he.createElement("div",{key:da,onClick:()=>Ma(Oi.id)},Oi.name)))),he.createElement(ht.default,{onPressEnter:ia,value:Xr,onChange:Oi=>{Ni(Oi.target.value),cr(encodeURIComponent(Oi.target.value),Ji||null)},bordered:!1,placeholder:xr}),he.createElement("i",{onClick:ia,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Je={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Re=({dataSource:lr=[],value:Jn="",onChange:Un,onInputChange:cr=()=>{},className:Ur,style:bi={},placeholder:xr,allowClear:Hr=!1})=>{var ji;const[Ji,ca]=(0,he.useState)(""),[Xr,Ni]=(0,he.useState)("");(0,he.useEffect)(()=>{var Oi;let da=Jn;(Oi=JSON.stringify(Jn))!=null&&Oi.includes("{")&&(ca(Jn.id),da=Jn.value||"");try{Ni(decodeURIComponent(da||""))}catch(Lo){Ni(decodeURIComponent(da||""))}},[Jn]);const ia=()=>{Un(encodeURIComponent(Xr),Ji||null)},Ma=Oi=>{Oi!==Ji&&(ca(Oi),Un(encodeURIComponent(Xr),Oi))};return he.createElement("div",{className:Ae()(Je.input,Ur),style:bi},!!lr.length&&he.createElement("div",{className:Je.dropdown},he.createElement("div",{className:Je.text},(ji=lr.find(Oi=>Oi.id===Ji))==null?void 0:ji.name,he.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),he.createElement("div",{className:Je.menu},lr.map((Oi,da)=>he.createElement("div",{key:da,onClick:()=>Ma(Oi.id)},Oi.name)))),he.createElement(ht.default,{onPressEnter:ia,value:Xr,onChange:Oi=>{Ni(Oi.target.value),cr(encodeURIComponent(Oi.target.value),Ji||null)},bordered:!1,placeholder:xr}),he.createElement("i",{onClick:ia,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Rt={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"},bt=({value:lr,onChange:Jn,className:Un,total:cr,pageSize:Ur,style:bi={}})=>{const xr=lr<2,Hr=lr>=Math.ceil(cr/Ur);return cr<=Ur?he.createElement(he.Fragment,null):he.createElement("div",{className:Ae()(Rt.quickPager,Un),style:bi},he.createElement("div",{onClick:()=>{xr||Jn(lr-1,"prev")},className:xr?Rt.disabled:""},"\u4E0A\u4E00\u9875"),he.createElement("div",{onClick:()=>{Hr||Jn(lr+1,"next")},className:Hr?Rt.disabled:""},"\u4E0B\u4E00\u9875"))},Tt={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"},wt=ce(71418),it=ce(6848),je=ce(13570),at=ce(42684),Yt=ce(85333),Vt=ce(96908),St=ce(57177),Qt=ce(81378),cn=ce(61648),fn=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji})=>{const Ji=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:ji},he.createElement("div",{className:Ae()(Tt.list,lr)},!!Jn.length&&Jn.map((ca,Xr)=>{const{name:Ni,id:ia,identifier:Ma,power:Oi,cover_image_id:da,pic:Lo}=ca;return he.createElement("div",{className:Tt.wrap,key:ia,style:{width:Ji,marginRight:(1+Xr)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/shixuns/${Ma}/challenges`,className:Tt.li,onClick:co=>{co.preventDefault(),Hr&&(0,Yt.L9)([Hr]),Oi&&(0,Yt.xg)(`/shixuns/${Ma}/challenges`)}},he.createElement("div",{className:Tt.img},he.createElement("img",{className:Tt.cover,src:`${Lo}`}),ca.is_jupyter&&he.createElement("img",{className:Tt.sign,src:Vt}),ca.is_jupyter_lab&&he.createElement("img",{className:Tt.sign,src:St}),ca.is_unity_3d&&he.createElement("img",{className:Tt.sign,src:Qt})),he.createElement("div",{className:Tt.name},he.createElement(it.Z,{title:Ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Tt.e},Ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:Tt.tags},he.createElement(it.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,ca.challenges_count))),!!ca.myshixuns_count&&he.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,ca.myshixuns_count))),he.createElement(it.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,ca.level))),he.createElement("div",{className:Tt.rate},he.createElement(je.Z,{allowHalf:!0,disabled:!0,defaultValue:ca.score_info}),he.createElement("span",null,"\xA0",ca.score_info?`${ca.score_info}\u5206`:"5\u5206")))),!Oi&&he.createElement("div",{className:Tt.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&he.createElement(cn.Z,null)))},Ln={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Bn=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,wrapClassName:Hr,trackEventItems:ji,loading:Ji})=>{const ca=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:Ji},he.createElement("div",{className:Ae()(Ln.list,lr)},!!Jn.length&&Jn.map((Xr,Ni)=>{const{name:ia,id:Ma,identifier:Oi,power:da,cover_image_id:Lo,pic:co}=Xr;return he.createElement("div",{className:Ae()(Ln.wrap,Hr),key:Ma,style:{width:ca,marginRight:(1+Ni)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/shixuns/${Oi}/challenges`,className:Ln.li,onClick:To=>{To.preventDefault(),ji&&(0,Yt.L9)([ji]),da&&(0,Yt.xg)(`/shixuns/${Oi}/challenges`)}},he.createElement("img",{src:ce(47621),className:Ln.titleBg}),he.createElement("div",{className:Ln.name},he.createElement(it.Z,{title:ia||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Ln.e},ia||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Ln.img},he.createElement("img",{className:Ln.cover,src:Lo?`${at.Z.API_SERVER}/api/attachments/${Lo}`:`${at.Z.IMG_SERVER+co}`}),Xr.is_jupyter&&he.createElement("div",{className:Ln.bq},"Jupyter"),Xr.is_jupyter_lab&&he.createElement("div",{className:Ln.bq},"JupyterLab"),Xr.is_unity_3d&&he.createElement("div",{className:Ln.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),he.createElement("div",{className:"mt20 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Ln.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:Ln.value},Xr.myshixuns_count)),he.createElement("div",null,he.createElement("span",{className:Ln.text},"\u56F0\u96BE\u7B49\u7EA7"),he.createElement("span",{className:Ln.value},Xr.level))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Ln.text},"\u5173\u5361\u6570"),he.createElement("span",{className:Ln.value},Xr.challenges_count)),he.createElement("div",{className:Ln.rate},he.createElement(je.Z,{allowHalf:!0,disabled:!0,defaultValue:Xr.score_info}),he.createElement("span",{className:Ln.value,style:{color:"#FF9C00"}},"\xA0",Xr.score_info?`${Xr.score_info}\u5206`:"5\u5206"))))),!da&&he.createElement("div",{className:Ln.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&he.createElement(cn.Z,null)))},gn={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6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FL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+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=",se=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji,wrapClassName:Ji,imgClassName:ca})=>{const Xr=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:ji},he.createElement("div",{className:Ae()(gn.list,lr)},!!Jn.length&&Jn.map((Ni,ia)=>{const{name:Ma,id:Oi,identifier:da,power:Lo,cover_image_id:co,pic:To}=Ni;return he.createElement("div",{className:Ae()(gn.wrap,Ji),key:Oi,style:{width:Xr,marginRight:(1+ia)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/shixuns/${da}/challenges`,className:gn.li,onClick:hs=>{hs.preventDefault(),Hr&&(0,Yt.L9)([Hr]),Lo&&(0,Yt.xg)(`/shixuns/${da}/challenges`)}},he.createElement("div",{className:Ae()(gn.img,ca)},he.createElement("img",{className:gn.cover,src:co?`${at.Z.API_SERVER}/api/attachments/${co}`:`${at.Z.IMG_SERVER+To}`}),Ni.is_jupyter&&he.createElement("img",{className:gn.sign,src:Se}),Ni.is_jupyter_lab&&he.createElement("img",{className:gn.sign,src:Fe}),Ni.is_unity_3d&&he.createElement("img",{className:gn.sign,src:ie})),he.createElement("div",{className:gn.name},he.createElement(it.Z,{title:Ma||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:gn.e},Ma||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:gn.tags},he.createElement(it.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,Ni.challenges_count))),!!Ni.myshixuns_count&&he.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,Ni.myshixuns_count))),he.createElement(it.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,Ni.level))),he.createElement("div",{className:gn.rate},he.createElement(je.Z,{allowHalf:!0,disabled:!0,defaultValue:Ni.score_info}),he.createElement("span",null,"\xA0",Ni.score_info?`${Ni.score_info}\u5206`:"5\u5206")))),!Lo&&he.createElement("div",{className:gn.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jn.length&&he.createElement(cn.Z,null)))},oe=ce(88276),Ye={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},vt=ce(79005),et=ce(20345),lt=ce(47027),Pt=ce(31081),Mt=ce(75309),kt=ce(71979),$t=ce(47558),Sn=ce(42922),Bt=ce(66832),nn=ce(96593),tn=ce(19664),zt=ce(91833),pt=Object.defineProperty,Wt=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Wn=(lr,Jn,Un)=>Jn in lr?pt(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,br=(lr,Jn)=>{for(var Un in Jn||(Jn={}))vn.call(Jn,Un)&&Wn(lr,Un,Jn[Un]);if(Wt)for(var Un of Wt(Jn))xn.call(Jn,Un)&&Wn(lr,Un,Jn[Un]);return lr};const Lr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:vt,swimg:et},{name:"101\u8BA1\u5212",ptimg:lt,swimg:Pt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Mt,swimg:kt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Bt,swimg:nn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:tn,swimg:zt}];var Qr=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji,wrapClassName:Ji,imgClassName:ca,isArrow:Xr=!1,imgStyle:Ni={}})=>{const ia=Math.floor((xr-(Un-1)*cr)/Un),[Ma,Oi]=(0,he.useState)(),[da,Lo]=(0,he.useState)(),co=hs=>Oi(hs),To=()=>Oi(-1);return he.createElement(wt.Z,{spinning:ji},he.createElement("div",{className:Ae()(Ye.list,lr)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((hs,Bu)=>{var gu;const{name:Su,id:Cr,identifier:yr,featured:Eu,school_name:mo,image_url:Qo,excellent:Nl,is_plan:el}=hs;return he.createElement("div",{key:Cr,className:Ae()(Ye.wrap,Ji),style:{width:ia,marginRight:(1+Bu)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{target:"_blank",href:`/paths/${yr}`,className:Ye.li,onClick:_l=>{_l.preventDefault(),Hr&&(0,Yt.L9)([Hr]),(0,Yt.xg)(`/paths/${yr}`)}},he.createElement("img",{src:ce(39057),className:Ye.titleBg}),he.createElement("div",{className:Ye.name},he.createElement(it.Z,{title:Su},he.createElement("span",{className:Ye.e,style:{color:Xr&&Ma===Bu?"#145DFF":"#000000"},onMouseEnter:()=>{co(Bu)},onMouseLeave:To},Su))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Ae()(Ye.img,ca)},he.createElement("img",{className:Ye.cover,style:br({},Ni),src:`${at.Z.IMG_SERVER+Qo}`}),(gu=hs==null?void 0:hs.subject_tags)==null?void 0:gu.map((_l,al)=>{var vu,Bs;if(al===0){const kc=(vu=Lr.find(qa=>qa.name==_l))==null?void 0:vu.swimg;return he.createElement("img",{className:Ye.sign,src:kc,style:{left:"-4px"}})}const fl=(Bs=Lr.find(kc=>kc.name==_l))==null?void 0:Bs.ptimg;return he.createElement("img",{className:Ye.sign,src:fl,style:{left:`${48+52*(al-1)+2*al}px`}})}),he.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(hs==null?void 0:hs.excellent)&&he.createElement("div",{className:Ye.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Ye.text},"\u7AE0\u8282\u6570"),he.createElement("span",{className:Ye.value},hs.stages_count)),he.createElement("div",null,he.createElement("span",{className:Ye.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:Ye.value},hs.members_count))))))})),!Jn.length&&he.createElement(cn.Z,null)))},vr={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Ar=ce(36466),Tr=ce(59301);const Bi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:vt,swimg:et},{name:"101\u8BA1\u5212",ptimg:lt,swimg:Pt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Mt,swimg:kt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Bt,swimg:nn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:tn,swimg:zt}];var mi=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji,onRemove:Ji=()=>{},isCurrent:ca=!0,showAlias:Xr=!1,wrapClassName:Ni,imgClassName:ia})=>{const Ma=Math.floor((xr-(Un-1)*cr)/Un),Oi=[{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"}].map(da=>(window.ENV==="build"&&(da.ptimg=`/react/build${da.ptimg}`,da.swimg=`/react/build${da.swimg}`),da));return Tr.createElement(wt.Z,{spinning:ji},Tr.createElement("div",{className:Ae()(vr.list,lr)},!!(Jn!=null&&Jn.length)&&(Jn==null?void 0:Jn.map((da,Lo)=>{var co;const{name:To,id:hs,identifier:Bu,featured:gu,school_name:Su,image_url:Cr,excellent:yr,is_plan:Eu}=da;return Tr.createElement("div",{key:hs,className:Ae()(vr.wrap,Ni),style:{width:Ma,marginRight:(1+Lo)%Un===0?0:cr+bi,marginBottom:Ur}},Tr.createElement("a",{className:vr.li,onClick:mo=>{mo.preventDefault(),mo.stopPropagation(),Hr&&(0,Yt.L9)([Hr]),(0,Yt.xg)(`/paths/${Bu}`)}},Tr.createElement("div",{className:Ae()(vr.img,ia)},Tr.createElement("img",{className:vr.cover,src:`${at.Z.IMG_SERVER+Cr}`}),ca&&(0,Ar.bg)()&&(da==null?void 0:da.studying)&&Tr.createElement("div",{className:`${vr.movebq} user-path-items`,onClick:mo=>{mo.stopPropagation(),Ji(da)}},Tr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Tr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(co=da==null?void 0:da.subject_tags)==null?void 0:co.map((mo,Qo)=>{var Nl,el;if(Qo===0){const al=(Nl=Oi.find(vu=>vu.name==mo))==null?void 0:Nl.swimg;return Tr.createElement("img",{className:vr.sign,src:al,style:{left:"-4px"}})}const _l=(el=Oi.find(al=>al.name==mo))==null?void 0:el.ptimg;return Tr.createElement("img",{className:vr.sign,src:_l,style:{left:`${48+52*(Qo-1)+2*Qo}px`}})}),Tr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(da==null?void 0:da.excellent)&&Tr.createElement("div",{className:vr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Tr.createElement("div",{className:vr.name},Tr.createElement(it.Z,{title:Xr&&(da!=null&&da.excellent_alias_name)?Tr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${To}`,Tr.createElement("br",null),Tr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${da==null?void 0:da.excellent_alias_name}`)):To},Tr.createElement("span",{className:vr.e},Xr&&(da==null?void 0:da.excellent_alias_name)||To))),Tr.createElement("div",{className:vr.tags},Tr.createElement("div",null,Tr.createElement(it.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Tr.createElement("span",null,Tr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Tr.createElement("span",null,da.stages_count))),Tr.createElement(it.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Tr.createElement("span",null,Tr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Tr.createElement("span",null,da.members_count)))))))})),!Jn.length&&Tr.createElement(cn.Z,null)))},Mi={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"},pa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW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wJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Dr=ce(59301),no=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,trackEventItems:Hr,loading:ji})=>{const Ji=Math.floor((xr-(Un-1)*cr)/Un);return Dr.createElement(wt.Z,{spinning:ji},Dr.createElement("div",{className:Ae()(Mi.list,lr)},!!Jn.length&&Jn.map((ca,Xr)=>{const{subject_identifier:Ni,id:ia,identifier:Ma,power:Oi}=ca,da=ca.is_public!=0&&ca.is_public;return Dr.createElement("div",{className:Mi.wrap,key:ia,style:{width:Ji,marginRight:(1+Xr)%Un===0?0:cr+bi,marginBottom:Ur}},Dr.createElement("a",{className:Mi.li,onClick:Lo=>{Lo.preventDefault(),Hr&&(0,Yt.L9)([Hr]),(0,Yt.xg)(ca.first_category_url)}},Dr.createElement("div",{className:Mi.top},Dr.createElement(it.Z,{title:ca.name},Dr.createElement("div",{className:Mi.name},ca.name)),Dr.createElement("img",{className:Mi.img,src:at.Z.IMG_SERVER+"/images/"+ca.avatar_url}),Dr.createElement("div",{className:Mi.text,title:ca.creator},ca.creator),Ni&&Dr.createElement("div",{className:Mi.btns},Dr.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Dr.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),da&&Dr.createElement("div",{className:Mi.sign},"\u516C\u5F00")),Dr.createElement("div",{className:Mi.bottom},ca.visits>0&&Dr.createElement(it.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Dr.createElement("span",null,Dr.createElement("i",{className:"iconfont icon-liulanyan"}),Dr.createElement("span",null,ca.visits))),ca.course_members_count>0&&Dr.createElement(it.Z,{title:"\u6210\u5458",placement:"bottom"},Dr.createElement("span",null,Dr.createElement("i",{className:"iconfont icon-chengyuan"}),ca.course_members_count)),ca.tasks_count>0&&Dr.createElement(it.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Dr.createElement("span",null,Dr.createElement("i",{className:"iconfont icon-zuoye"}),ca.tasks_count)),ca.is_end?Dr.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Dr.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ca.is_accessible&&Dr.createElement("div",{className:Mi.lockWrap},Dr.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Dr.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&Dr.createElement(cn.Z,null)))},Ki={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Co="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JB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MA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Pi=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,wrapClassName:Hr,trackEventItems:ji,loading:Ji})=>{const ca=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:Ji},he.createElement("div",{className:Ae()(Ki.list,lr)},!!Jn.length&&Jn.map((Xr,Ni)=>{const{subject_identifier:ia,id:Ma,identifier:Oi,power:da}=Xr,Lo=Xr.is_public!=0&&Xr.is_public;return he.createElement("div",{className:Ae()(`${Ki.wrap} ${Xr.is_accessible?"":Ki.warpStyle}`,Hr),key:Ma,style:{width:ca,marginRight:(1+Ni)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{className:Ki.li,onClick:co=>{co.preventDefault(),ji&&(0,Yt.L9)([ji]),(0,Yt.xg)(Xr.first_category_url)}},he.createElement("div",{className:Ki.creator},he.createElement("img",{className:Ki.img,src:at.Z.IMG_SERVER+"/images/"+Xr.avatar_url}),he.createElement("div",{className:Ki.text,title:Xr.creator},Xr.creator)),he.createElement("div",{className:Ki.top},he.createElement(it.Z,{title:Xr.name},he.createElement("div",{className:Ki.name},Xr.name)),Lo&&he.createElement("div",{className:Ki.sign},"\u516C\u5F00")),he.createElement("div",{className:Ki.middle},he.createElement("div",{className:Ki.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:Ki.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:Ki.value},(Xr==null?void 0:Xr.visits)||0)),he.createElement("div",null,he.createElement("span",{className:Ki.text},"\u6210\u5458"),he.createElement("span",{className:Ki.value},(Xr==null?void 0:Xr.course_members_count)||0))),he.createElement("div",{className:Ki.row},he.createElement("div",null,he.createElement("span",{className:Ki.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:Ki.value},(Xr==null?void 0:Xr.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:Ki.text},"\u72B6\u6001"),Xr.is_end?he.createElement("span",{className:Ki.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:Ki.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ia&&he.createElement("div",{className:Ki.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Xr.is_accessible&&he.createElement("div",{className:Ki.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&he.createElement(cn.Z,null)))},Ii={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Si="data:image/png;base64,iVBOR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NgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ea=({className:lr,dataSource:Jn=[],col:Un=4,right:cr,bottom:Ur=23,precision:bi=0,wrapWidth:xr=1200,wrapClassName:Hr,trackEventItems:ji,loading:Ji})=>{const ca=Math.floor((xr-(Un-1)*cr)/Un);return he.createElement(wt.Z,{spinning:Ji},he.createElement("div",{className:Ae()(Ii.list,lr)},!!Jn.length&&Jn.map((Xr,Ni)=>{const{subject_identifier:ia,id:Ma,identifier:Oi,power:da}=Xr,Lo=Xr.is_public!=0&&Xr.is_public;return he.createElement("div",{className:Ae()(`${Ii.wrap} ${Xr.is_accessible?"":Ii.warpStyle}`,Hr),key:Ma,style:{width:ca,marginRight:(1+Ni)%Un===0?0:cr+bi,marginBottom:Ur}},he.createElement("a",{className:Ii.li,onClick:co=>{co.preventDefault(),ji&&(0,Yt.L9)([ji]),(0,Yt.xg)(Xr.first_category_url)}},he.createElement("div",{className:Ii.creator},he.createElement("img",{className:Ii.img,src:at.Z.IMG_SERVER+"/images/"+Xr.avatar_url}),he.createElement("div",{className:Ii.text,title:Xr.creator},Xr.creator)),he.createElement("div",{className:Ii.top},he.createElement(it.Z,{title:Xr.name},he.createElement("div",{className:Ii.name},Xr.name)),Lo&&he.createElement("div",{className:Ii.sign})),he.createElement("div",{className:Ii.middle},he.createElement("div",{className:Ii.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:Ii.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:Ii.value},(Xr==null?void 0:Xr.visits)||0)),he.createElement("div",null,he.createElement("span",{className:Ii.text},"\u6210\u5458"),he.createElement("span",{className:Ii.value},(Xr==null?void 0:Xr.course_members_count)||0))),he.createElement("div",{className:Ii.row},he.createElement("div",null,he.createElement("span",{className:Ii.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:Ii.value},(Xr==null?void 0:Xr.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:Ii.text},"\u72B6\u6001"),Xr.is_end?he.createElement("span",{className:Ii.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:Ii.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ia&&he.createElement("div",{className:Ii.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Xr.is_accessible&&he.createElement("div",{className:Ii.lockWrap},he.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jn.length&&he.createElement(cn.Z,null)))},Fn={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Dt=ce(44225),Zt=({dataSource:lr=[],value:Jn,onChange:Un,className:cr,style:Ur={},tabBarExtraContent:bi})=>he.createElement("div",{className:Ae()(Fn.tabs,cr),style:Ur},he.createElement("div",{className:Fn.tabsWrap},lr.map((xr,Hr)=>he.createElement("aside",{className:Fn.tab,onClick:()=>{Un(xr.id),xr.link&&Dt.history.push(xr.link)},key:Hr},he.createElement("div",{className:Jn===xr.id?Fn.active:""},xr.name),(xr==null?void 0:xr.resetCount)==null&&(xr==null?void 0:xr.total)!==void 0&&he.createElement("span",null,"\uFF08",xr==null?void 0:xr.total,"\uFF09"),(xr==null?void 0:xr.resetCount)!==void 0&&(xr==null?void 0:xr.total)!==void 0&&he.createElement(it.Z,{title:(xr==null?void 0:xr.tip)!=null?xr==null?void 0:xr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},xr==null?void 0:xr.resetCount),"/",he.createElement("span",null,xr==null?void 0:xr.total),"\uFF09"))))),he.createElement("div",{className:Fn.tabBar},bi)),jt={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Mn=({dataSource:lr=[],value:Jn,onChange:Un,className:cr,style:Ur={},tabBarExtraContent:bi})=>he.createElement("div",{className:Ae()(jt.tabs,cr),style:Ur},he.createElement("div",{className:jt.tabsWrap},lr.map((xr,Hr)=>he.createElement("aside",{className:jt.tab,onClick:()=>{Un(xr.id),xr.link&&Dt.history.push(xr.link)},key:Hr},he.createElement("div",{className:Jn===xr.id?jt.active:""},xr.name),(xr==null?void 0:xr.resetCount)==null&&(xr==null?void 0:xr.total)!==void 0&&he.createElement("span",null,"\uFF08",xr==null?void 0:xr.total,"\uFF09"),(xr==null?void 0:xr.resetCount)!==void 0&&(xr==null?void 0:xr.total)!==void 0&&he.createElement(it.Z,{title:(xr==null?void 0:xr.tip)!=null?xr==null?void 0:xr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},xr==null?void 0:xr.resetCount),"/",he.createElement("span",null,xr==null?void 0:xr.total),"\uFF09"))))),he.createElement("div",{className:jt.tabBar},bi)),ir={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},pr=({dataSource:lr=[],value:Jn,onChange:Un,className:cr,style:Ur={},tabBarExtraContent:bi})=>he.createElement("div",{className:Ae()(ir.tabs,cr),style:Ur},he.createElement("div",{className:ir.tabsWrap},lr.map((xr,Hr)=>he.createElement("aside",{className:`${ir.tab} ${Jn===xr.id?ir.active:""}`,onClick:()=>{Un(xr.id),xr.link&&Dt.history.push(xr.link)},key:Hr},he.createElement("div",null,xr.name),(xr==null?void 0:xr.resetCount)==null&&(xr==null?void 0:xr.total)!==void 0&&he.createElement("span",null,"\uFF08",xr==null?void 0:xr.total,"\uFF09"),(xr==null?void 0:xr.resetCount)!==void 0&&(xr==null?void 0:xr.total)!==void 0&&he.createElement(it.Z,{title:(xr==null?void 0:xr.tip)!=null?xr==null?void 0:xr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},xr==null?void 0:xr.resetCount),"/",he.createElement("span",null,xr==null?void 0:xr.total),"\uFF09"))))),he.createElement("div",{className:ir.tabBar},bi)),Zr=({className:lr,style:Jn={},children:Un})=>he.createElement("div",{className:Ae()(lr),style:Jn},Un),$r={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"},Xn=ce(38854),Or=ce(20834);const ki=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Zi=({sortValue:lr,dropValue:Jn,className:Un,onSort:cr,onDrop:Ur,dataSource:bi=ki})=>{var xr;return he.createElement("div",{className:Ae()($r.orderWrap,Un)},he.createElement(Xn.Z,{dropdownRender:()=>he.createElement(Or.default,null,bi.map((Hr,ji)=>he.createElement(Or.default.Item,{key:ji,onClick:()=>Ur(Hr.id)},Hr.name)))},he.createElement("span",{className:$r.orderTextWrap},(xr=bi.find(Hr=>Jn===Hr.id))==null?void 0:xr.name)),he.createElement("span",{className:$r.orderIconWrap},he.createElement("span",{className:$r.orderAsc},he.createElement("i",{className:lr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${$r.cursorPointer} ${$r.active}`:`iconfont icon-sanjiaoxing-up font12 ${$r.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")})),he.createElement("span",{className:$r.orderDesc},he.createElement("i",{className:lr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${$r.cursorPointer} ${$r.active}`:`iconfont icon-sanjiaoxing-down font12 ${$r.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")}))))},xi={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Ca=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var oa=({sortValue:lr,dropValue:Jn,className:Un,onSort:cr,onDrop:Ur,dataSource:bi=Ca})=>{var xr;return he.createElement("div",{className:Ae()(xi.orderWrap,Un)},he.createElement(Xn.Z,{dropdownRender:()=>he.createElement(Or.default,null,bi.map((Hr,ji)=>he.createElement(Or.default.Item,{key:ji,onClick:()=>Ur(Hr.id)},Hr.name)))},he.createElement("span",{className:xi.orderTextWrap},(xr=bi.find(Hr=>Jn===Hr.id))==null?void 0:xr.name)),he.createElement("span",{className:xi.orderIconWrap},he.createElement("span",{className:xi.orderAsc},he.createElement("i",{className:lr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${xi.cursorPointer} ${xi.active}`:`iconfont icon-sanjiaoxing-up font12 ${xi.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")})),he.createElement("span",{className:xi.orderDesc},he.createElement("i",{className:lr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${xi.cursorPointer} ${xi.active}`:`iconfont icon-sanjiaoxing-down font12 ${xi.cursorPointer}`,onClick:()=>cr(lr==="asc"?"desc":"asc")}))))},mn={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",ThemeOne:"ThemeOne___iCQio"},mr=ce(3113),dr=ce(66911),Wr=Object.defineProperty,wr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,Fr=Object.prototype.propertyIsEnumerable,ui=(lr,Jn,Un)=>Jn in lr?Wr(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,yi=(lr,Jn)=>{for(var Un in Jn||(Jn={}))Mr.call(Jn,Un)&&ui(lr,Un,Jn[Un]);if(wr)for(var Un of wr(Jn))Fr.call(Jn,Un)&&ui(lr,Un,Jn[Un]);return lr},Hi=(lr,Jn)=>{var Un={};for(var cr in lr)Mr.call(lr,cr)&&Jn.indexOf(cr)<0&&(Un[cr]=lr[cr]);if(lr!=null&&wr)for(var cr of wr(lr))Jn.indexOf(cr)<0&&Fr.call(lr,cr)&&(Un[cr]=lr[cr]);return Un},Oa=(lr,Jn,Un)=>new Promise((cr,Ur)=>{var bi=ji=>{try{Hr(Un.next(ji))}catch(Ji){Ur(Ji)}},xr=ji=>{try{Hr(Un.throw(ji))}catch(Ji){Ur(Ji)}},Hr=ji=>ji.done?cr(ji.value):Promise.resolve(ji.value).then(bi,xr);Hr((Un=Un.apply(lr,Jn)).next())}),oo=lr=>{var Jn=lr,{className:Un,style:cr,children:Ur,loading:bi=!1,openLoading:xr,onClick:Hr=()=>{},size:ji="middle",shape:Ji="round",theme:ca}=Jn,Xr=Hi(Jn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Ni,ia]=(0,he.useState)(!1),Ma=(0,he.useMemo)(()=>{switch(ca){case dr.Fy.THEMEONE:return mn.ThemeOne;case dr.Fy.DEFAULT:default:return mn.btn}},[ca]);return he.createElement(mr.ZP,yi({onClick:(0,we.throttle)(Oi=>Oa(void 0,null,function*(){xr&&ia(!0);try{yield Hr(Oi)}catch(da){console.log("error",da)}xr&&ia(!1)}),2e3,{leading:!0,trailing:!1}),className:Ae()(Ma,mn[`${ji}-${Ji}`],Un),style:cr,size:ji,shape:Ji,loading:Ni||bi},Xr),Ur)},La={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"},po=({className:lr,style:Jn,children:Un=null,onClick:cr,title:Ur})=>he.createElement("div",{className:Ae()(La.head,lr),style:Jn},he.createElement("span",{className:"primary-hover",onClick:cr},he.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),he.createElement("b",{title:Ur},Ur),he.createElement("div",{className:La.node},Un)),Za={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"},va=({confirmShow:lr=!0,confirmTitle:Jn,confirmClick:Un,cancelShow:cr=!0,cancelTitle:Ur,cancelClick:bi,className:xr,style:Hr,confirmLoading:ji=!1})=>he.createElement("div",{className:Ae()(Za.btns,xr),style:Hr},lr&&he.createElement(mr.ZP,{loading:ji,onClick:Un,type:"primary",className:Za.confirm},Jn),cr&&he.createElement(mr.ZP,{onClick:bi,className:Za.cancel},Ur)),ka={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"},Pa=({className:lr,style:Jn={},LeftContent:Un,children:cr,RightContent:Ur})=>he.createElement("div",{className:Ae()(ka.fixedBottom,lr),style:Jn},he.createElement("div",{className:ka.wrap},he.createElement("div",{className:ka.left},Un),he.createElement("div",{className:ka.center},cr),he.createElement("div",{className:ka.right},Ur))),ao={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"},Ya=({className:lr,style:Jn={},dataSource:Un=[]})=>he.createElement("div",{className:Ae()(ao.crumbs,lr),style:Jn},Un.map((cr,Ur)=>Ur<Un.length-1?he.createElement(he.Fragment,{key:Ur},cr.path||cr.onClick?he.createElement("span",{className:ao.hover,onClick:cr!=null&&cr.onClick?cr.onClick:()=>Dt.history.push(cr.path)},cr.name):he.createElement("span",null,cr.name),he.createElement("span",null,"\xA0",">","\xA0")):he.createElement("span",{key:Ur,style:{color:"#5F6368"}},cr.name))),fi=ce(31797),Rr=Object.defineProperty,Ra=Object.defineProperties,_a=Object.getOwnPropertyDescriptors,Va=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,go=Object.prototype.propertyIsEnumerable,As=(lr,Jn,Un)=>Jn in lr?Rr(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,_o=(lr,Jn)=>{for(var Un in Jn||(Jn={}))Mo.call(Jn,Un)&&As(lr,Un,Jn[Un]);if(Va)for(var Un of Va(Jn))go.call(Jn,Un)&&As(lr,Un,Jn[Un]);return lr},Js=(lr,Jn)=>Ra(lr,_a(Jn)),Sa=(lr,Jn)=>{var Un={};for(var cr in lr)Mo.call(lr,cr)&&Jn.indexOf(cr)<0&&(Un[cr]=lr[cr]);if(lr!=null&&Va)for(var cr of Va(lr))Jn.indexOf(cr)<0&&go.call(lr,cr)&&(Un[cr]=lr[cr]);return Un};const{Countdown:xa}=fi.default;var So=lr=>{var Jn=lr,{onChange:Un}=Jn,cr=Sa(Jn,["onChange"]);const[Ur,bi]=(0,he.useState)(null);(0,he.useEffect)(()=>{typeof Ur=="number"&&Ur>=0&&Un(Ur)},[Ur]);const xr=Hr=>{const ji=Math.floor(Hr/1e3);bi(ji)};return he.createElement(xa,Js(_o({},cr),{onChange:xr}))},Ms={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Qs=({DataProps:lr,className:Jn,style:Un={}})=>{var cr;return he.createElement("div",{className:Ae()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Ms.ClassRoomItem,Jn),style:Un,onClick:()=>{(0,Yt.xg)(lr==null?void 0:lr.first_category_url)}},he.createElement("div",{className:"flex flex-col item-center"},he.createElement("img",{src:`${(cr=at.Z)==null?void 0:cr.IMG_SERVER}/images/${lr==null?void 0:lr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(lr==null?void 0:lr.subject_identifier)&&he.createElement("div",{className:"mt-40px"},he.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),he.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},he.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(lr!=null&&lr.is_public)&&he.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),he.createElement("span",{className:Ae()("text-16px font-medium",Ms.TitleDom)},lr==null?void 0:lr.name)),he.createElement("div",{className:"c-grey-333 font-medium"},lr==null?void 0:lr.creator),he.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",lr==null?void 0:lr.course_members_count),he.createElement("div",{className:"c-grey-333 flex item-center justify-between"},he.createElement("div",null,"\u4F5C\u4E1A\uFF1A",lr==null?void 0:lr.tasks_count),lr!=null&&lr.is_end?he.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):he.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},fs=Object.defineProperty,Zs=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable,sa=(lr,Jn,Un)=>Jn in lr?fs(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,ra=(lr,Jn)=>{for(var Un in Jn||(Jn={}))qs.call(Jn,Un)&&sa(lr,Un,Jn[Un]);if(Zs)for(var Un of Zs(Jn))ma.call(Jn,Un)&&sa(lr,Un,Jn[Un]);return lr},cs=({DataProps:lr=[],selectValue:Jn,onChange:Un,className:cr,style:Ur={},extra:bi,classNameItem:xr,styleItem:Hr={},barHidden:ji})=>{const[Ji,ca]=(0,he.useState)();return(0,he.useEffect)(()=>{ca(Array.isArray(Jn)?Jn:[Jn])},[Jn]),he.createElement("div",{className:Ae()("flex px-20px py-10px gap-40px",cr),style:ra({borderBottom:"1px solid #D3F0FF"},Ur)},lr==null?void 0:lr.map(Xr=>he.createElement("div",{key:Xr==null?void 0:Xr.id,className:Ae()("flex item-center justify-center current c-grey-333 text-16 relative",xr,Xr==null?void 0:Xr.className),style:ra(ra({color:Ji!=null&&Ji.includes(Xr==null?void 0:Xr.id)?"#1890FF":"",minWidth:88},Hr),(Xr==null?void 0:Xr.style)||{}),onClick:Ni=>{Un==null||Un({domEvent:Ni,item:Xr}),Xr!=null&&Xr.link&&Dt.history.push(Xr==null?void 0:Xr.link)}},Xr==null?void 0:Xr.name,!ji&&(Ji==null?void 0:Ji.includes(Xr==null?void 0:Xr.id))&&he.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),he.createElement("div",{className:"ml-auto"},bi))},Ps=Object.defineProperty,jo=Object.defineProperties,xs=Object.getOwnPropertyDescriptors,Cs=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,or=(lr,Jn,Un)=>Jn in lr?Ps(lr,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):lr[Jn]=Un,Qn=(lr,Jn)=>{for(var Un in Jn||(Jn={}))$s.call(Jn,Un)&&or(lr,Un,Jn[Un]);if(Cs)for(var Un of Cs(Jn))ru.call(Jn,Un)&&or(lr,Un,Jn[Un]);return lr},Nr=(lr,Jn)=>jo(lr,xs(Jn)),Io=({value:lr,onChange:Jn,onInputChange:Un,className:cr,style:Ur={},InputProps:bi})=>{const[xr,Hr]=(0,he.useState)(lr);return he.createElement("div",{className:Ae()("flex item-center rounded-full px-10px py-2px",cr),style:Qn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Ur)},he.createElement(ht.default,Nr(Qn({bordered:!1},bi),{onChange:ji=>{Hr(ji.target.value),Un==null||Un(encodeURIComponent(ji.target.value))},onPressEnter:ji=>{Jn==null||Jn({domEvent:ji,item:{value:xr}})}})),he.createElement("img",{className:"h-22px current",src:ce(25365),height:22,onClick:ji=>{Jn==null||Jn({domEvent:ji,item:{value:xr}})}}))}},8204:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});var he=ce(59301);function Me(Ue,At){const Ne=(0,he.useRef)();(0,he.useEffect)(()=>{Ne.current=Ue}),(0,he.useEffect)(()=>{function Le(){Ne.current()}if(At!==null){let ve=setInterval(Le,At);return()=>clearInterval(ve)}},[At])}},78912:function(Tn,Xt,ce){"use strict";var he=ce(43418),Me=ce(8591),Ue=ce(58661),At=ce(44225),Ne=ce(36466),Le=ce(59301),ve=(we,fe,ze)=>new Promise((Be,_e)=>{var Oe=Te=>{try{ke(ze.next(Te))}catch(Pe){_e(Pe)}},He=Te=>{try{ke(ze.throw(Te))}catch(Pe){_e(Pe)}},ke=Te=>Te.done?Be(Te.value):Promise.resolve(Te.value).then(Oe,He);ke((ze=ze.apply(we,fe)).next())});const Ae=({shixunHomeworks:we,classroomList:fe,dispatch:ze})=>{const Be=(0,At.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:we.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Oe,He,ke;if((0,Ne.Rm)()&&!((_e=fe.AssistantObject.practice)!=null&&_e.can_redo)){Me.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Te=yield(0,Ue.ZP)(`/api/myshixuns/${we.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:we.actionTabs.homework_common_id}});if(Te.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),ze({type:"shixunHomeworks/setActionTabs",payload:{}});const Pe=(He=(Oe=Te==null?void 0:Te.new_works)==null?void 0:Oe.find(Xe=>`${Xe.homework_common_id}`===Be.categoryId))==null?void 0:He.id;if((0,Ne.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;At.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Pe}/comment`)}}),onCancel:()=>{ze({type:"shixunHomeworks/setActionTabs",payload:{}})}},Le.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Le.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Xt.Z=(0,At.connect)(({shixunHomeworks:we,classroomList:fe})=>({shixunHomeworks:we,classroomList:fe}))(Ae)},24221:function(Tn,Xt,ce){"use strict";ce.r(Xt),ce.d(Xt,{default:function(){return ru}});var he=ce(66911),Me=ce(59301),Ue=ce(44225),At=ce(66649),Ne=ce.n(At),Le=ce(86129),ve=ce.n(Le),Ae=ce(58661),we=ce(43418),fe=ce(8591),ze=ce(61621),Be=ce(66104),_e=ce(3113),Oe=ce(6848),He=ce(92832),ke=ce(28103),Te=ce(95237),Pe=ce(43604),Xe=ce(1710),Ke=ce(57809),qe=ce(58421),We=ce(95869),Ze=ce(87169),$e=ce(26227),rt=ce(42684),ht=ce(36466),dt=ce(85333),xt=ce(42441),Je={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},Lt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Re=({shixunHomeworks:or,data:Qn,globalSetting:Nr,loading:Di,dispatch:Io})=>{var lr;const{shixunWorkReport:Jn}=or;let Un=((lr=Qn==null?void 0:Qn.efficiency_list)==null?void 0:lr.length)-parseInt(Qn==null?void 0:Qn.myself_eff[0]);const cr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(bi){return bi.name===Jn.username?"\u59D3\u540D\uFF1A"+Jn.username+"<br/>\u5B66\u53F7\uFF1A "+Jn.user_id+"<br/>\u6548\u7387\uFF1A"+(Qn==null?void 0:Qn.myself_eff[1]):bi.name+":"+bi.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Qn==null?void 0:Qn.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Jn.username,xAxis:Un,yAxis:Qn==null?void 0:Qn.myself_eff[1],value:Qn==null?void 0:Qn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Ur=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(bi){var xr=bi.value;if(bi.name===Jn.username)return"\u59D3\u540D\uFF1A"+Jn.username+"<br/>\u5B66\u53F7\uFF1A "+Jn.user_id+"<br/>\u5F97\u5206\uFF1A"+(Qn==null?void 0:Qn.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Lt,data:Qn==null?void 0:Qn.consume_list,symbolSize:function(bi){return Math.round(bi[2])},markPoint:{data:[{name:Jn.username,xAxis:Qn==null?void 0:Qn.myself_object[0],yAxis:Qn==null?void 0:Qn.myself_object[1],value:Qn==null?void 0:Qn.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:cr()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:Je.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[0]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Me.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Me.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:Ur()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:Je.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_object[1]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Me.createElement("br",null)))))))};var Rt=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects}))(Re),Ft=ce(84897),bt=ce(5871),Tt=({defaultValue:or,onBlur:Qn,max:Nr,className:Di="game-score"})=>{const[Io,lr]=(0,Me.useState)(or);(0,Me.useEffect)(()=>{lr(or)},[or]);function Jn(cr){lr(cr)}function Un(){Io!==or&&Qn(Io>Nr?Nr:Io)}return Me.createElement(bt.Z,{max:Nr,min:0,className:Di,value:Io,onChange:Jn,onBlur:Un})},wt=ce(74972),it={md:"md___GIQyK"},je=ce(59301),at=Object.defineProperty,Yt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,Nn=(or,Qn,Nr)=>Qn in or?at(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,fn=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Qt.call(Qn,Nr)&&Nn(or,Nr,Qn[Nr]);if(St)for(var Nr of St(Qn))cn.call(Qn,Nr)&&Nn(or,Nr,Qn[Nr]);return or},Ln=(or,Qn)=>Yt(or,Vt(Qn));const Cn=Ke.default.Option,Bn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var gn=(or=>(or[or.SET_PATH=0]="SET_PATH",or[or.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",or))(gn||{});function Se(or,Qn){switch(Qn.type){case 0:return Ln(fn({},or),{selectedPath:Qn.payload});case 1:return Ln(fn({},or),{passedContent:Qn.payload});default:throw new Error}}var Fe=({path:or,game_id:Qn,onPathChange:Nr,autoHeight:Di,diff_code_count:Io,data:lr,game_codes_cn:Jn})=>{var Un,cr,Ur,bi;const xr=or.split("\uFF1B").filter(ia=>!!ia),[Hr,ji]=(0,Me.useReducer)(Se,{selectedPath:xr[0],passedContent:{language:"python",content:""}}),{selectedPath:Ji,passedContent:ca}=Hr;function Xr(ia){ji({type:0,payload:ia})}const Ni={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return je.createElement(je.Fragment,null,je.createElement("h2",null," ",je.createElement("span",null,Jn,je.createElement(Oe.Z,{title:je.createElement("div",null,je.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),je.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),je.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),je.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},je.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Io&&je.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Io),je.createElement("span",null,je.createElement(Ke.default,{style:{width:200},value:Ji,onChange:Xr}," ",xr.map(ia=>je.createElement(Cn,{key:ia,value:ia},ia))," "))," "),(Ji==null?void 0:Ji.split(".")[1])==="md"&&je.createElement(wt.Z,{height:300,autoHeight:Di,defaultValue:((cr=(Un=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Un[0])==null?void 0:cr.content)||"",className:it.md}),(Ji==null?void 0:Ji.split(".")[1])!=="md"&&je.createElement(Ft.ZP,{height:300,language:ca.language,value:((bi=(Ur=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Ur[0])==null?void 0:bi.content)||"",autoHeight:Di,theme:"default",isCopy:!0,options:Bn}))},ie=ce(30450),ae=ce(96249),se=ce.n(ae),oe=Object.defineProperty,Ye=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,lt=(or,Qn,Nr)=>Qn in or?oe(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Pt=(or,Qn)=>{for(var Nr in Qn||(Qn={}))vt.call(Qn,Nr)&&lt(or,Nr,Qn[Nr]);if(Ye)for(var Nr of Ye(Qn))et.call(Qn,Nr)&&lt(or,Nr,Qn[Nr]);return or},Mt=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const kt=({shixunHomeworks:or,autoHeight:Qn,classroomList:Nr,dispatch:Di})=>{var Io,lr,Jn,Un,cr,Ur,bi;const{shixunWorkReport:xr}=or,{stage_list:Hr,work_id:ji}=xr,[Ji,ca]=(0,Me.useState)(!1),[Xr,Ni]=(0,Me.useState)(!0),[ia,Ma]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),Oi=(0,Me.useRef)(null),[da,Lo]=(0,Me.useState)(!1),co=(mo,Qo)=>{var Nl;const{clientWidth:el,clientHeight:_l}=window.document.documentElement,al=(Nl=Oi.current)==null?void 0:Nl.getBoundingClientRect();al&&Ma({left:-al.left+Qo.x,right:el-(al.right-Qo.x),top:-al.top+Qo.y,bottom:_l-(al.bottom-Qo.y)})},To=(0,Ue.useParams)(),hs=(0,ht.GJ)(),Bu={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(To)},[]);const gu=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(mo,Qo,Nl)=>Me.createElement("div",null,mo,Qo.is_work_end_evaluate&&Me.createElement(dt.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:mo=>Ne()(mo).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(mo,Qo)=>Me.createElement("span",{className:"c-blue current",onClick:()=>Mt(void 0,null,function*(){var Nl,el;const _l=yield(0,ie.Lk)(Qo.game_identifier,{path:(el=(Nl=Qo.path)==null?void 0:Nl.replace(/\/g,";"))==null?void 0:el.split(";")[0],query_index:Qo.query_index,homework_common_id:To.categoryId});(_l==null?void 0:_l.status)===0&&(Lo(_l),ca(!0))})},Qo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Su=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(mo,Qo)=>{var Nl;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((Nl=Qo==null?void 0:Qo.user)==null?void 0:Nl.image_url)}),mo)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:mo=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",mo,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:mo=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",mo,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:mo=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",mo?Ne()(mo).format("YYYY-MM-DD HH:mm"):"--")}];function Cr(mo,Qo){return Mt(this,null,function*(){const{challenge_id:Nl}=Hr[mo],el=yield Di({type:"shixunHomeworks/changeScore",payload:{categoryId:To.homeworkId,type:"report",score:Qo,challenge_id:Nl}});yield Di({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},To)}),el.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function yr(mo,Qo){return(0,Ae.U2)(`student_works/${ji}/rep_passed_content.json`,{path:Qo,game_id:mo})}const Eu=xr.shixun_detail;return Me.createElement(Me.Fragment,null,Eu==null?void 0:Eu.map(function(mo,Qo){var Nl,el;return Me.createElement("div",{key:Qo},Me.createElement("aside",{className:"pl30 pr30",key:Qo},Me.createElement("div",{className:`${Je.shixunTitle} mt10`},Me.createElement("div",null,Me.createElement("span",{className:"fa fa-code "}),Me.createElement("strong",{className:"c-black"},"\u7B2C",Qo+1,"\u5173 ",Me.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${To.coursesId}/${To.categoryId}/${mo.game_identifier}`},mo.subject))),hs?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(Tt,{className:"game-score",max:Hr[Qo].game_score_full,defaultValue:Hr[Qo].game_score,onBlur:_l=>{var al;if((0,ht.Rm)()&&!((al=Nr.AssistantObject.practice)!=null&&al.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Cr(Qo,_l)}})):null),Me.createElement("div",{className:"font16 mt10"},mo.st===0&&(mo.path?typeof(mo==null?void 0:mo.game_codes_cn)=="string"?Me.createElement("aside",{className:Je.shixunWrp},Me.createElement(Fe,{game_codes_cn:mo==null?void 0:mo.game_codes_cn,autoHeight:Qn,path:mo.path,game_id:mo.id,data:mo.game_codes,diff_code_count:mo.diff_code_count,onPathChange:yr})):Me.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),mo.st===1&&(mo.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Me.createElement("aside",{className:"mt10 font16"},(Nl=mo.outputs)!=null&&Nl.length?Me.createElement(Xe.default,{columns:gu,pagination:{hideOnSinglePage:!0},dataSource:mo.outputs.map(_l=>Pt(Pt({},mo),_l))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10 font16"},((el=mo==null?void 0:mo.adjust_review_score_list)==null?void 0:el.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Xe.default,{columns:Su,pagination:{hideOnSinglePage:!0},dataSource:mo.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(we.default,{open:Ji,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Lo({}),ca(!1)},onCancel:()=>{Lo({}),ca(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Xr&&Ni(!1)},onMouseOut:()=>{Ni(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:mo=>Me.createElement(se(),{disabled:Xr,bounds:ia,nodeRef:Oi,onStart:(Qo,Nl)=>co(Qo,Nl)},Me.createElement("div",{ref:Oi},mo))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((Io=da==null?void 0:da.data)==null?void 0:Io.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Me.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Me.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Me.createElement("div",{style:{color:((lr=da==null?void 0:da.data)==null?void 0:lr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Jn=da==null?void 0:da.data)==null?void 0:Jn.output_detail)),Me.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ne()((Un=da==null?void 0:da.data)==null?void 0:Un.created_at).format("YYYY-MM-DD HH:mm:ss"))),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(cr=da==null?void 0:da.data)==null?void 0:cr.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ur=da==null?void 0:da.data)==null?void 0:Ur.ts_mem,"mb")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((bi=da==null?void 0:da.data)==null?void 0:bi.test_set_passed_rate)*100,"%")))),Me.createElement(Ft.ZP,{height:500,autoHeight:Qn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((da==null?void 0:da.content)||""))),options:Bu})))};var $t=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr,classroomList:Di})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects,classroomList:Di}))(kt),Sn=ce(78241),Bt={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},nn=ce(28849),tn=ce(59301),zt=Object.defineProperty,pt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,xn=(or,Qn,Nr)=>Qn in or?zt(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Wn=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Wt.call(Qn,Nr)&&xn(or,Nr,Qn[Nr]);if(pt)for(var Nr of pt(Qn))vn.call(Qn,Nr)&&xn(or,Nr,Qn[Nr]);return or},br=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const Lr=({shixunHomeworks:or,dispatch:Qn,classroomList:Nr})=>{const{shixunWorkReport:Di}=or,Io=(0,Ue.useParams)(),[lr,Jn]=(0,Me.useState)(!1),[Un]=Sn.default.useForm(),[cr,Ur]=we.default.useModal(),[bi,xr]=(0,Me.useState)(!1),[Hr,ji]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var Xr,Ni,ia,Ma;or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Un.setFieldsValue({comment:(Ni=(Xr=or.actionTabs.selectArrs)==null?void 0:Xr.data)==null?void 0:Ni.work_comment,hidden_comment:(Ma=(ia=or.actionTabs.selectArrs)==null?void 0:ia.data)==null?void 0:Ma.work_comment_hidden})},[or.actionTabs.key]);const Ji=()=>br(void 0,null,function*(){const Xr=Un.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${Io.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Xr.hidden_comment,comment:Xr.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Un.resetFields(),Qn({type:"shixunHomeworks/setActionTabs",payload:{}}),Qn({type:"shixunHomeworks/getShixunWorkReport",payload:Wn({},Io)}))}),ca=[{title:"\u5173\u5361",dataIndex:"name",render:(Xr,Ni,ia)=>ia+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Xr,Ni,ia)=>tn.createElement("div",null,Xr,Ni.complete_status===4&&tn.createElement(dt.vA,{status:Ni.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Xr=>Xr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Xr,Ni)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Ni.game_score_full)!==parseFloat(Xr)?"#E30000":"#53C41B"}},Xr),"/",Ni.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Xr,Ni)=>(0,ht.GJ)()?tn.createElement(Tt,{max:Ni.game_score_full,defaultValue:parseFloat(Xr),onBlur:ia=>br(void 0,null,function*(){var Ma,Oi;if((0,ht.Rm)()&&!((Ma=Nr.AssistantObject.practice)!=null&&Ma.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const da=yield Qn({type:"shixunHomeworks/changeScore",payload:{categoryId:Io.homeworkId,type:"report",score:ia,challenge_id:Ni.challenge_id}});(Oi=or==null?void 0:or.actionTabs)==null||Oi.fn(),yield Qn({type:"shixunHomeworks/getShixunWorkReport",payload:Wn({},Io)}),da.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Xr}];return tn.createElement(tn.Fragment,null,Ur,tn.createElement(we.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>br(void 0,null,function*(){var Xr;if((0,ht.Rm)()&&!((Xr=Nr.AssistantObject.practice)!=null&&Xr.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ni=Un.getFieldsValue();JSON.stringify(Ni)==="{}"||Ni.hidden_comment===""&&Ni.comment===""?Jn(!0):Ji()}),onCancel:()=>{Qn({type:"shixunHomeworks/setActionTabs",payload:{}})}},tn.createElement(Te.Z,{justify:"space-between",className:Bt.info},tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u59D3\u540D"),tn.createElement("span",{className:Bt.blackContent},Di==null?void 0:Di.username)),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u5B66\u53F7"),tn.createElement("span",{className:Bt.blackContent},(Di==null?void 0:Di.student_id)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u73ED\u7EA7"),tn.createElement("span",{className:Bt.blackContent},(Di==null?void 0:Di.group_name)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u5173\u5361\u5F97\u5206"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.challenge_score)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u6548\u7387\u5206"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.eff_score)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u8865\u4EA4\u6263\u5206"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.late_penalty)||"--")),tn.createElement(Pe.Z,null,tn.createElement("span",{className:`${Bt.label} ${Bt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),tn.createElement("span",{className:Bt.orangeContent},(Di==null?void 0:Di.work_score)||"--"))),tn.createElement(Sn.default,{form:Un,onChange:()=>{lr&&Jn(!1)}},tn.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Pe.Z,null,tn.createElement("div",{className:`${Bt.inputLabel} ${Bt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Pe.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:bi,onCancel:()=>{xr(!1)}},onDataSelect:(Xr,Ni)=>br(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({comment:Ma==null?void 0:Ma.value}),xr(!1)};if(Un.getFieldValue("comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{xr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"comment"},tn.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),tn.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Pe.Z,null,tn.createElement("div",{className:`${Bt.inputLabel} ${Bt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Pe.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Hr,onCancel:()=>{ji(!1)}},onDataSelect:(Xr,Ni)=>br(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({hidden_comment:Ma==null?void 0:Ma.value}),ji(!1)};if(Un.getFieldValue("hidden_comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{ji(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"hidden_comment"},tn.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),lr&&tn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),tn.createElement("div",{className:Bt.tableTitle},"\u5173\u5361\u6210\u7EE9"),tn.createElement(Xe.default,{className:Bt.scoreTable,dataSource:Di.stage_list,rowKey:"challenge_id",pagination:!1,columns:ca,scroll:{x:"max-content"}})))};var jr=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn})=>({shixunHomeworks:or,classroomList:Qn}))(Lr),Qr=ce(48429),vr=ce(58997),Ar=ce(70973),Tr=ce(44164),Bi=ce.n(Tr),$i={wrap:"wrap___rFTBy",line:"line___kZzhh"},mi=ce(54772),pa=({detailData:or})=>{var Qn;return Me.createElement("div",{className:$i.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(or),(or==null?void 0:or.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Me.createElement(mi.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,mi.Uf)(or)}),!!((Qn=or==null?void 0:or.photos)!=null&&Qn.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:$i.line}),Me.createElement(mi._s,{dataSource:or==null?void 0:or.photos,right:21,col:4,wrapWidth:1140}))))},Dr=ce(94537),_n=ce(59301),no=Object.defineProperty,Ki=Object.defineProperties,Co=Object.getOwnPropertyDescriptors,ro=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Si=(or,Qn,Nr)=>Qn in or?no(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,gi=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Pi.call(Qn,Nr)&&Si(or,Nr,Qn[Nr]);if(ro)for(var Nr of ro(Qn))Ii.call(Qn,Nr)&&Si(or,Nr,Qn[Nr]);return or},Ea=(or,Qn)=>Ki(or,Co(Qn)),Fn=(or,Qn)=>{var Nr={};for(var Di in or)Pi.call(or,Di)&&Qn.indexOf(Di)<0&&(Nr[Di]=or[Di]);if(or!=null&&ro)for(var Di of ro(or))Qn.indexOf(Di)<0&&Ii.call(or,Di)&&(Nr[Di]=or[Di]);return Nr},Dt=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const Gt=or=>{var Qn=or,{shixunHomeworks:Nr,classroomList:Di,globalSetting:Io,loading:lr,user:Jn,dispatch:Un}=Qn,cr=Fn(Qn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ur,bi,xr;const[Hr,ji]=(0,Me.useState)(gi({},(0,Ue.useParams)())),Ji=(0,Ue.useParams)(),[ca,Xr]=(0,Me.useState)({page:1,page_size:10}),Ni=(0,Ue.useLocation)(),[]=(0,Me.useState)([]),[ia,Ma]=(0,Me.useState)(),Oi=(0,Me.useRef)(),[da,Lo]=(0,Me.useState)(!1),[co,To]=(0,Me.useState)(!0),[hs,Bu]=(0,Me.useState)(!1),[gu,Su]=(0,Me.useState)(!1),{shixunWorkReport:Cr}=Nr,[yr,Eu]=(0,Me.useState)(),[mo,Qo]=(0,Me.useState)([]),[Nl,el]=(0,Me.useState)(),[_l,al]=(0,Me.useState)("all"),vu=(0,ht.GJ)(),[Bs,fl]=(0,Me.useState)(new(ve())),[kc,qa]=(0,Me.useState)(0),[Ho,Do]=(0,Me.useState)(!1),[zo,ys]=(0,Me.useState)(!1),[bs,Ds]=(0,Me.useState)(!1),[ol,Vs]=(0,Me.useState)(""),[Ol,ac]=(0,Me.useState)(!1),[ad,Fu]=(0,Me.useState)(!0),[oc,sc]=(0,Me.useState)(0),wc=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Kl=(0,Me.useRef)(),$d=()=>Dt(void 0,null,function*(){(Jn.userInfo.is_teacher||Jn.userInfo.admin)&&(ac(!0),Fu(!1))});(0,Me.useEffect)(()=>{var Aa;(0,ht.Rm)()&&Di.AssistantObject.practice&&!((Aa=Di.AssistantObject.practice)!=null&&Aa.can_view)&&Ue.history.replace("/403")},[(Ur=Di.AssistantObject.practice)==null?void 0:Ur.can_view]),(0,Me.useEffect)(()=>{$d(),console.log("\u6253\u5370\u7684------",Cr),Kl.current=Cr==null?void 0:Cr.next_student_work_id,Vs(Cr.repeat_minus_score)},[Cr,Jn]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Cr.work_score),sc(Cr.work_score)},[Cr.work_score,ol]),(0,Me.useEffect)(()=>(Un({type:"globalSetting/footerToggle",payload:!1}),()=>{Un({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var Aa;if(Cr){let $o=[];(Aa=Cr==null?void 0:Cr.target_test_sets)==null||Aa.map((_i,rs)=>{var Eo;(Eo=_i==null?void 0:_i.targets)==null||Eo.map((tu,lc)=>{var Kc;tu.name=_i==null?void 0:_i.name,tu.total_target_score=_i==null?void 0:_i.total_target_score,tu.actual_target_score=_i==null?void 0:_i.actual_target_score,tu.rowSpan=lc===0?(Kc=_i==null?void 0:_i.targets)==null?void 0:Kc.length:0,tu.order=rs+1,$o.push(tu)})}),Eu($o),(0,ht.Rm)()&&Un({type:"classroomList/getAssistantPermissions",payload:{course_id:Hr.coursesId}})}},[Cr]),(0,Me.useEffect)(()=>{Nr.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Cr==null?void 0:Cr.students_count)>0&&!co&&setTimeout(()=>{Id("all")},800)},[Cr==null?void 0:Cr.homework_common_id,co]),(0,Me.useEffect)(()=>{ji(gi({},Ji))},[Ni.pathname]);const Hd=()=>{document.body.scrollIntoView()},wd=Aa=>{ca.page=Aa,Xr(gi({},ca)),eA(ca,_l)},eA=(Aa,$o)=>Dt(void 0,null,function*(){Bu(!0);const _i=yield(0,Ae.ZP)(`/api/student_works/${Hr==null?void 0:Hr.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Ea(gi({},Aa),{challenge_id:$o=="all"?null:$o})});(_i==null?void 0:_i.status)===0&&(Qo(_i==null?void 0:_i.list),el(_i==null?void 0:_i.count)),Bu(!1)});function Mc(){return Dt(this,null,function*(){wc.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const bA=()=>{document.querySelectorAll("canvas").forEach(Aa=>{(!Aa.clientWidth||!Aa.clientHeight)&&Aa.remove()})},$u=Aa=>Dt(void 0,null,function*(){const $o=yield(0,Ar.t1)({homeworkId:Aa||Hr.homeworkId});Ma($o==null?void 0:$o.data)}),Id=Aa=>Dt(void 0,null,function*(){var $o,_i,rs,Eo;let tu=0,lc;lc=we.default.info({width:460,title:_n.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",_n.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:_n.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",_n.createElement("span",{className:"c-blue"},tu+1),"/",Aa!=="all"?1:Cr==null?void 0:Cr.students_count,_n.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Je.modal,onOk:()=>{}});const Kc={margin:[0,0],filename:`${Cr!=null&&Cr.student_id&&(Cr==null?void 0:Cr.student_id)!="--"?Cr==null?void 0:Cr.student_id:""}${Cr.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Pc=Bs.folder(Cr==null?void 0:Cr.shixun_name);function wA(xd){return Dt(this,null,function*(){yield $u(xd||Kl.current);const Il=yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi({homeworkId:xd||Kl.current},wc.current||{})});Kl.current=Il==null?void 0:Il.next_student_work_id,Hd(),tu++,setTimeout(()=>Dt(this,null,function*(){var Ld,Cl,Du,Uu;bA();const hl=Pc.folder(`${Il==null?void 0:Il.group_name}`).folder(`${Il!=null&&Il.student_id&&(Il==null?void 0:Il.student_id)!="--"?Il.student_id+"+":""}${Il==null?void 0:Il.username}`),fc=document.querySelector("#export-all").children;let uc=Bi()();for(let _c=0;_c<fc.length;_c++)yield uc.set(Kc).from(fc[_c]).toContainer().toCanvas().toPdf().get("pdf").then(ec=>Dt(this,null,function*(){_c<fc.length-1&&(yield ec.addPage())}));if(hl.file(`${Il!=null&&Il.student_id&&(Il==null?void 0:Il.student_id)!="--"?Il.student_id+"+":""}${Il==null?void 0:Il.username}.pdf`,uc.output("blob")),((Ld=Il==null?void 0:Il.shixun_detail)==null?void 0:Ld.length)>0&&((Du=(Cl=Il==null?void 0:Il.shixun_detail)==null?void 0:Cl.filter(_c=>{var ec;return((ec=_c==null?void 0:_c.game_codes)==null?void 0:ec.length)>0}))==null?void 0:Du.length)>0){const _c=hl.folder("\u4EE3\u7801\u6587\u4EF6");(Uu=Il==null?void 0:Il.shixun_detail)==null||Uu.map((ec,Wc)=>{var Vu,jd;if(((Vu=ec==null?void 0:ec.game_codes)==null?void 0:Vu.length)>0){const Sh=_c.folder(`\u7B2C${Wc+1}\u5173-${ec.subject}-${ec.id}`);(jd=ec==null?void 0:ec.game_codes)==null||jd.map(od=>{Sh.file(`${od.filename}.txt`,od==null?void 0:od.content)})}})}lc.update({content:_n.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",_n.createElement("span",{className:"c-blue"},tu),"/",Il==null?void 0:Il.students_count,_n.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),tu==(Il==null?void 0:Il.students_count)?(lc.destroy(),yl()):wA()}),2200)})}if(Aa!=="all"||(Cr==null?void 0:Cr.students_count)<2){bA(),Hd();const xd=Oi.current.children;let Il=Bi()();const Cl=Pc.folder(`${Cr==null?void 0:Cr.group_name}`).folder(`${Cr!=null&&Cr.student_id&&(Cr==null?void 0:Cr.student_id)!="--"?(Cr==null?void 0:Cr.student_id)+"+":""}${Cr==null?void 0:Cr.username}`);for(let Du=0;Du<xd.length;Du++)yield Il.set(Kc).from(xd[Du]).toContainer().toCanvas().toPdf().get("pdf").then(Uu=>Dt(void 0,null,function*(){Du<xd.length-1&&(yield Uu.addPage())}));if(Lo(!1),Cl.file(`${Cr!=null&&Cr.student_id&&(Cr==null?void 0:Cr.student_id)!="--"?(Cr==null?void 0:Cr.student_id)+"+":""}${Cr.username}.pdf`,Il.output("blob"),{base64:!1}),(($o=Cr==null?void 0:Cr.shixun_detail)==null?void 0:$o.length)>0&&((rs=(_i=Cr==null?void 0:Cr.shixun_detail)==null?void 0:_i.filter(Du=>{var Uu;return((Uu=Du==null?void 0:Du.game_codes)==null?void 0:Uu.length)>0}))==null?void 0:rs.length)>0){const Du=Cl.folder("\u4EE3\u7801\u6587\u4EF6");(Eo=Cr==null?void 0:Cr.shixun_detail)==null||Eo.map((Uu,Jl)=>{var hl,fc;if(((hl=Uu==null?void 0:Uu.game_codes)==null?void 0:hl.length)>0){const uc=Du.folder(`\u7B2C${Jl+1}\u5173-${Uu.subject}-${Uu.id}`);(fc=Uu==null?void 0:Uu.game_codes)==null||fc.map(_c=>{uc.file(`${_c.filename}.txt`,_c==null?void 0:_c.content)})}})}lc.destroy(),yl();return}else wA(Cr==null?void 0:Cr.first_student_work_id)}),yl=()=>{Bs.generateAsync({type:"blob"}).then(function(Aa){console.log(Cr,"shixunWorkReport");const $o=document.createElement("a");$o.href=window.URL.createObjectURL(Aa),$o.download=(Cr==null?void 0:Cr.shixun_name)+".zip",document.body.appendChild($o);const _i=document.createEvent("MouseEvents");_i.initEvent("click",!1,!1),$o.dispatchEvent(_i),document.body.removeChild($o),fl(new(ve()))}),Su(!1)};(0,Me.useEffect)(()=>{bl()},[Hr.homeworkId]);const bl=()=>Dt(void 0,null,function*(){yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}),$u(),(0,ht.GJ)()&&Mc(),To(!1)}),Hl=[{title:"\u5173\u5361",dataIndex:"name",render:(Aa,$o,_i)=>_i+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Aa,$o,_i)=>_n.createElement("div",null,Aa,$o.complete_status===4&&_n.createElement(dt.vA,{status:$o.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Aa,$o,_i)=>Aa||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Aa=>Aa?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Aa,$o)=>_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.myself_experience)!==parseFloat(Aa)?"red":"green"}},$o.myself_experience),"/",Aa)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Aa,$o)=>_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.game_score_full)!==parseFloat(Aa)?"red":"green"}},Aa),"/",$o.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Aa,$o)=>vu?_n.createElement(Tt,{max:$o.game_score_full,defaultValue:parseFloat(Aa),onBlur:_i=>Dt(void 0,null,function*(){var rs;if((0,ht.Rm)()&&!((rs=Di.AssistantObject.practice)!=null&&rs.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Eo=yield Un({type:"shixunHomeworks/changeScore",payload:{categoryId:Hr.homeworkId,type:"report",score:_i,challenge_id:$o.challenge_id}});eA({page:1,page_size:10},"all"),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}),Eo.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Aa}];let zc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Aa,$o,_i)=>({children:Aa,props:{rowSpan:$o.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Aa,$o,_i)=>({children:Aa,props:{rowSpan:$o.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Aa,$o,_i)=>_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.actual_test_score)!==parseFloat(Aa)?"red":"green"}},$o.actual_test_score),"/",Aa)},{title:"\u6307\u6807\u603B\u5206",render:(Aa,$o,_i)=>({children:_n.createElement("div",null,_n.createElement("span",{style:{color:parseFloat($o.actual_target_score)!==parseFloat(Aa)?"red":"green"}},$o.actual_target_score),"/",Aa),props:{rowSpan:$o.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Ac=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Aa=>_n.createElement("span",null,Aa?Ne()(Aa).format("YYYY-MM-DD HH:mm"):"--")}],hd=Aa=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Aa==="next"?Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${Cr==null?void 0:Cr.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${Cr==null?void 0:Cr.pre_student_work_id}/comment`)},200)},Tc=Aa=>{Vs(""),Aa.target.value&&(console.log("\u8FDB\u6765",Cr),Aa.target.value=Aa.target.value>Cr.repeat_setting_score?Cr.repeat_setting_score:Aa.target.value,Vs(Aa.target.value))},Ru=()=>Dt(void 0,null,function*(){const Aa=yield(0,Ae.ZP)(`/api/student_works/${Cr==null?void 0:Cr.work_id}/update_repeat_score`,{method:"put",body:{score:ol}});yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}),Aa.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return _n.createElement("section",{style:{minHeight:"100vh",background:`url(${ce(26528)}) center / cover no-repeat`}},_n.createElement("div",{className:"edu-container pb-60px"},_n.createElement(ze.Z,{loading:lr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Cr.course_id&&_n.createElement("section",{className:"animated fadeIn pt-10px"},Cr.category&&_n.createElement(Be.Z,{separator:">",items:[{title:_n.createElement(Ue.Link,{to:`/classrooms/${Cr.course_id}/shixun_homework`}," ",Cr.course_name)},{title:_n.createElement(Ue.Link,{to:`/classrooms/${Cr.course_id}/shixun_homework/${Cr.category.main?"":Cr.category.category_id}`}," ",Cr.category.category_name)},{title:_n.createElement(Ue.Link,{to:`/classrooms/${Cr.course_id}/shixun_homework/${Cr.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Cr.username}]}),_n.createElement("div",{className:"mt20 flex item-center gap-10px"},_n.createElement("strong",{className:"font20"}," ",Cr==null?void 0:Cr.homework_name," "),_n.createElement(dt.VV,{temporary:!0,status:Cr.homework_status}),_n.createElement("div",{className:"ml-auto flex item-center gap-10px"},Cr.view_tpi&&_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Aa,$o;(0,dt.xg)(`/tasks/${Cr==null?void 0:Cr.course_id}/${Cr==null?void 0:Cr.homework_common_id}/${($o=(Aa=Cr==null?void 0:Cr.shixun_detail)==null?void 0:Aa[0])==null?void 0:$o.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,ht.GJ)()&&Cr.homework_end===!1&&!!Cr.myshixun_id&&_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>Dt(void 0,null,function*(){yield Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Cr.myshixun_identifier},homework_common_id:Ji.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Aa;if((0,ht.Rm)()&&!((Aa=Di.AssistantObject.practice)!=null&&Aa.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Id("")},loading:da},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(Cr==null?void 0:Cr.students_count)>1&&_n.createElement(_e.ZP,{icon:_n.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Aa;if((0,ht.Rm)()&&!((Aa=Di.AssistantObject.practice)!=null&&Aa.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}we.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:_n.createElement(Oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:_n.createElement(Oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Id("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Dr.jj)({categoryId:Hr.categoryId,coursesId:Hr.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),_n.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},_n.createElement("div",{id:"export-all",ref:Oi},_n.createElement("div",{id:"export-all-1"},_n.createElement("div",{className:"flex item-center"},_n.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,ht.GJ)()&&_n.createElement(_e.ZP,{className:`ml-auto rounded-4px ${Je.NewButtonStyle}`,type:"primary",icon:_n.createElement(We.Z,{rev:void 0}),onClick:()=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Cr.user_id,data:gi({},Cr)},fn:()=>eA({page:1,page_size:10},"all")}})}}," ",Cr.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),_n.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},_n.createElement("div",{className:"flex flex-col justify-center item-center"},_n.createElement("div",{className:"flex flex-col item-center"},_n.createElement("img",{className:"h-56px w-56px rounded-full",src:`${rt.Z.IMG_SERVER}/images/${Cr.image_url}`,alt:Cr.username}),_n.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},_n.createElement(dt.vA,{status:Cr.compelete_status}))),_n.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Cr.username),_n.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",_n.createElement("span",{className:"ml10 c-grey-333"},Cr.student_id||"--")),_n.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",_n.createElement("span",{className:"ml10 c-grey-333"},Cr.group_name||"--"))),_n.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},_n.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-red"},Cr.complete_count||"--"),"/",_n.createElement("span",{className:"c-red"},Cr.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-red"},Cr.current_complete_count||"--"),"/",_n.createElement("span",{className:"c-red"},Cr.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Cr&&Cr.efficiency===null?"--":Cr&&Cr.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Cr&&Cr.max_efficiency===null?"--":Cr&&Cr.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-orange"},Cr.challenge_score),"/",_n.createElement("span",{className:"c-light-black"},Cr.challenge_score_full)),hidden:!(Cr!=null&&Cr.eff_score_full)},{title:"\u6548\u7387\u5206",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-orange"},Cr.eff_score),"/",_n.createElement("span",{className:"c-light-black"},Cr.eff_score_full)),hidden:!(Cr!=null&&Cr.eff_score_full)}].map((Aa,$o)=>!(Aa!=null&&Aa.hidden)&&_n.createElement("div",{key:$o,className:"flex flex-col item-center gap-10px"},_n.createElement("div",{className:"text-16px"},Aa==null?void 0:Aa.children),_n.createElement("div",{style:{color:"#8E8E8E"}},Aa==null?void 0:Aa.title)))),_n.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Cr&&Cr.passed_time===null||Cr&&Cr.passed_time==="--"?"--":Ne()(Cr&&Cr.passed_time).format("YYYY-MM-DD HH:mm")},{title:_n.createElement(_n.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",_n.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Aa=>{Do(!0)}})),children:Cr==null?void 0:Cr.human_training_time_rules},{title:_n.createElement(_n.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",_n.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Aa=>{ys(!0)}})),children:Cr==null?void 0:Cr.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Cr.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Cr&&Cr.passed_time===null||Cr&&Cr.passed_time==="--"?"--":Ne()(Cr&&Cr.passed_time).format("YYYY-MM-DD HH:mm")},{title:_n.createElement(_n.Fragment,null," \u67E5\u91CD\u6263\u5206",Cr!=null&&Cr.review_rate?_n.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Cr!=null&&Cr.review_id&&Ol&&(localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push(`/classrooms/:coursesId/shixun_homework/${Hr.categoryId}/review_detail/${Cr==null?void 0:Cr.review_id}`))}}," ",Cr.review_rate.toFixed(1),"% "):_n.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:_n.createElement(_n.Fragment,null,(Cr==null?void 0:Cr.repeat_minus_score)!==0?"- -":_n.createElement(_n.Fragment,null,Ol?_n.createElement(_n.Fragment,null,_n.createElement(He.default,{style:{width:"45px",height:"22px"},value:ol,onChange:Aa=>{Tc(Aa)},onBlur:Ru,disabled:ad})," / ",Cr==null?void 0:Cr.repeat_setting_score):_n.createElement(_n.Fragment,null," ",Cr==null?void 0:Cr.repeat_minus_score," / ",Cr==null?void 0:Cr.repeat_setting_score," "))),hidden:!(Cr!=null&&Cr.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Cr.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:_n.createElement(_n.Fragment,null,_n.createElement("span",{className:"c-orange"},oc),"/",_n.createElement("span",{className:"c-light-black"},Cr.all_work_score))}].map((Aa,$o)=>!(Aa!=null&&Aa.hidden)&&_n.createElement("div",{key:$o,className:"flex flex-col item-center gap-10px"},_n.createElement("div",{className:"text-16px"},Aa==null?void 0:Aa.children),_n.createElement("div",{style:{color:"#8E8E8E"}},Aa==null?void 0:Aa.title))))),_n.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${ce(55541)}) center / cover no-repeat`}},Cr.overall_appraisal)),_n.createElement(ke.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Cr.work_comment_hidden||Cr.work_comment)&&_n.createElement("div",null,_n.createElement(Te.Z,{align:"middle"},_n.createElement(Pe.Z,{flex:1},_n.createElement("h1",{className:Je.title},"\u70B9\u8BC4\u5185\u5BB9")),_n.createElement(Pe.Z,{className:"pr30"},(0,ht.GJ)()&&_n.createElement(_e.ZP,{onClick:()=>Dt(void 0,null,function*(){we.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:_n.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Dt(this,null,function*(){(yield(0,Ar.gZ)({comment_id:Cr.comment_id,homeworkId:Hr.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Un({type:"shixunHomeworks/getShixunWorkReport",payload:gi(gi({},Hr),wc.current||{})}))})}})})},_n.createElement($e.Z,null),"\u5220\u9664"))),_n.createElement(ke.Z,{style:{margin:0}}),Cr.work_comment&&_n.createElement("aside",{className:"pl30 pr30 mt20"},_n.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),_n.createElement("br",null),_n.createElement(vr.Z,{value:Cr.work_comment})),Cr.work_comment_hidden&&_n.createElement("aside",{className:"pl30 pr30 mt20"},_n.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),_n.createElement("br",null),_n.createElement(vr.Z,{value:Cr.work_comment_hidden}))),(Cr==null?void 0:Cr.action_analysis)&&_n.createElement(pa,{detailData:Cr}),_n.createElement("div",{className:Je.score},_n.createElement("h1",{className:Je.title},"\u9636\u6BB5\u6210\u7EE9"),(Cr==null?void 0:Cr.adjust_review_score_count)>0&&(0,ht.GJ)()&&_n.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{Ds(!0),eA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Cr==null?void 0:Cr.adjust_review_score_count,"\u6B21\uFF09")),_n.createElement(Xe.default,{className:Je.TableStyle,dataSource:Cr.stage_list,rowKey:Aa=>Aa==null?void 0:Aa.challenge_id,pagination:!1,columns:Hl}),((bi=Cr==null?void 0:Cr.target_test_sets)==null?void 0:bi.length)>0&&_n.createElement("div",null,_n.createElement("h1",{className:Je.title},"\u6307\u6807\u6210\u7EE9"),_n.createElement(Xe.default,{className:Je.TableStyle,dataSource:yr,rowKey:Aa=>Aa==null?void 0:Aa.challenge_id,pagination:!1,bordered:!0,columns:zc})),(Cr==null?void 0:Cr.work_description)&&_n.createElement(_n.Fragment,null,_n.createElement("h1",{className:Je.title},"\u4E2A\u4EBA\u603B\u7ED3"),_n.createElement(vr.Z,{value:Cr==null?void 0:Cr.work_description})),_n.createElement("h1",{className:Je.title},"\u56FE\u5F62\u7EDF\u8BA1"),_n.createElement(Rt,{data:ia}),_n.createElement("h1",{className:Je.title},"\u5B9E\u8BAD\u8BE6\u60C5")),_n.createElement($t,{autoHeight:gu}))))),(0,ht.GJ)()&&_n.createElement("aside",{className:`sticky ${Je.footerBar}`},_n.createElement("aside",{className:"edu-container flex item-center"},_n.createElement(Ue.Link,{className:Je.exitComment,to:`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),_n.createElement("div",{className:"ml-auto flex item-center gap-20px"},_n.createElement(_e.ZP,{disabled:!(Cr!=null&&Cr.pre_student_work_id),onClick:()=>hd()},"\u4E0A\u4E00\u4E2A"),_n.createElement(_e.ZP,{disabled:!(Cr!=null&&Cr.next_student_work_id),onClick:()=>hd("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&_n.createElement(_e.ZP,{className:Je.NewButtonStyle,type:"primary",onClick:()=>Dt(void 0,null,function*(){Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Cr.user_id,data:gi({},Cr)},fn:()=>eA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),_n.createElement(jr,null),_n.createElement(Qr.Z,null),_n.createElement(we.default,{open:Ho,width:860,centered:!0,onCancel:()=>{Do(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},_n.createElement("div",{style:{color:"#333333",fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),_n.createElement("br",null),_n.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),_n.createElement("br",null),_n.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),_n.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),_n.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),_n.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),_n.createElement("br",null),_n.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),_n.createElement("br",null),_n.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),_n.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),_n.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),_n.createElement("br",null),_n.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),_n.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),_n.createElement("br",null),_n.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),_n.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},_n.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),_n.createElement("br",null),_n.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),_n.createElement(we.default,{open:zo,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ys(!1)},width:600},_n.createElement("div",{style:{fontWeight:400,color:"#333333"}},_n.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",_n.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),_n.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",_n.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),_n.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",_n.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),_n.createElement(we.default,{open:bs,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{al("all"),Ds(!1)},destroyOnClose:!0,width:900},_n.createElement("div",{style:{fontWeight:400,color:"#333333"}},_n.createElement("div",null,_n.createElement("span",null,"\u5173\u5361\uFF1A"),_n.createElement(Ke.default,{style:{width:300},value:_l,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Aa=>Dt(void 0,null,function*(){al(Aa),eA({page:1,page_size:10},Aa)})},_n.createElement(Ke.default.Option,{value:"all"}," \u5168\u90E8 "),(xr=Cr==null?void 0:Cr.stage_list)==null?void 0:xr.map((Aa,$o)=>_n.createElement(Ke.default.Option,{key:$o,value:Aa==null?void 0:Aa.challenge_id},"\u7B2C",(0,dt.EM)($o+1),"\u5173")))),_n.createElement("div",{className:"mt20"},_n.createElement(Xe.default,{dataSource:mo,rowKey:Aa=>Aa==null?void 0:Aa.id,pagination:!1,columns:Ac,loading:hs})),_n.createElement("div",{className:Je.footer},_n.createElement("div",null,_n.createElement("span",{style:{color:"#656F87"}},"\u5171",_n.createElement("span",{className:"c-light-primary"},Nl),"\u6761\u6570\u636E")),_n.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(ca==null?void 0:ca.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Nl,onChange:wd})))))};var Zt=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn,loading:Nr,globalSetting:Di,user:Io})=>({shixunHomeworks:or,classroomList:Qn,globalSetting:Di,loading:Nr.effects,user:Io}))(Gt),jt=ce(27812),on={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy"},Mn={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const ir=({shixunHomeworks:or,data:Qn,globalSetting:Nr,loading:Di,dispatch:Io})=>{var lr;const{shixunWorkReport:Jn}=or;let Un=((lr=Qn==null?void 0:Qn.efficiency_list)==null?void 0:lr.length)-parseInt(Qn==null?void 0:Qn.myself_eff[0]);const cr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(bi){return bi.name===Jn.username?"\u59D3\u540D\uFF1A"+Jn.username+"<br/>\u5B66\u53F7\uFF1A "+Jn.user_id+"<br/>\u6548\u7387\uFF1A"+(Qn==null?void 0:Qn.myself_eff[1]):bi.name+":"+bi.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Qn==null?void 0:Qn.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Jn.username,xAxis:Un,yAxis:Qn==null?void 0:Qn.myself_eff[1],value:Qn==null?void 0:Qn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Ur=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(bi){var xr=bi.value;if(bi.name===Jn.username)return"\u59D3\u540D\uFF1A"+Jn.username+"<br/>\u5B66\u53F7\uFF1A "+Jn.user_id+"<br/>\u5F97\u5206\uFF1A"+(Qn==null?void 0:Qn.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Mn,data:Qn==null?void 0:Qn.consume_list,symbolSize:function(bi){return Math.round(bi[2])},markPoint:{data:[{name:Jn.username,xAxis:Qn==null?void 0:Qn.myself_object[0],yAxis:Qn==null?void 0:Qn.myself_object[1],value:Qn==null?void 0:Qn.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:cr()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:on.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_eff[0]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Me.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Me.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Te.Z,null,Me.createElement(Pe.Z,{flex:"800px"},Me.createElement(xt.Z,{style:{width:750,height:580},option:Ur()})),Me.createElement(Pe.Z,{flex:"1"},Me.createElement("aside",{className:on.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},Jn.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},Jn.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},Qn==null?void 0:Qn.myself_object[1]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Me.createElement("br",null)))))))};var qn=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects}))(ir),pr=({defaultValue:or,onBlur:Qn,max:Nr,className:Di="game-score"})=>{const[Io,lr]=(0,Me.useState)(or);(0,Me.useEffect)(()=>{lr(or)},[or]);function Jn(cr){lr(cr)}function Un(){Io!==or&&Qn(Io>Nr?Nr:Io)}return Me.createElement(bt.Z,{max:Nr,min:0,className:Di,value:Io,onChange:Jn,onBlur:Un})},Gr={md:"md___TEmcT"},Zr=ce(59301),$r=Object.defineProperty,Xn=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,ki=Object.getOwnPropertySymbols,vi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,xi=(or,Qn,Nr)=>Qn in or?$r(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Ca=(or,Qn)=>{for(var Nr in Qn||(Qn={}))vi.call(Qn,Nr)&&xi(or,Nr,Qn[Nr]);if(ki)for(var Nr of ki(Qn))Zi.call(Qn,Nr)&&xi(or,Nr,Qn[Nr]);return or},si=(or,Qn)=>Xn(or,Or(Qn));const oa=Ke.default.Option,mn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var mr=(or=>(or[or.SET_PATH=0]="SET_PATH",or[or.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",or))(mr||{});function dr(or,Qn){switch(Qn.type){case 0:return si(Ca({},or),{selectedPath:Qn.payload});case 1:return si(Ca({},or),{passedContent:Qn.payload});default:throw new Error}}var Wr=({path:or,game_id:Qn,onPathChange:Nr,autoHeight:Di,diff_code_count:Io,data:lr,game_codes_cn:Jn})=>{var Un,cr,Ur,bi;const xr=or.split("\uFF1B").filter(ia=>!!ia),[Hr,ji]=(0,Me.useReducer)(dr,{selectedPath:xr[0],passedContent:{language:"python",content:""}}),{selectedPath:Ji,passedContent:ca}=Hr;function Xr(ia){ji({type:0,payload:ia})}const Ni={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Zr.createElement(Zr.Fragment,null,Zr.createElement("h2",null," ",Zr.createElement("span",null,Jn,Zr.createElement(Oe.Z,{title:Zr.createElement("div",null,Zr.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Zr.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Zr.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Zr.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Zr.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Io&&Zr.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Io),Zr.createElement("span",null,Zr.createElement(Ke.default,{style:{width:200},value:Ji,onChange:Xr}," ",xr.map(ia=>Zr.createElement(oa,{key:ia,value:ia},ia))," "))," "),(Ji==null?void 0:Ji.split(".")[1])==="md"&&Zr.createElement(wt.Z,{height:300,autoHeight:Di,defaultValue:((cr=(Un=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Un[0])==null?void 0:cr.content)||"",className:Gr.md}),(Ji==null?void 0:Ji.split(".")[1])!=="md"&&Zr.createElement(Ft.ZP,{height:300,language:ca.language,value:((bi=(Ur=lr==null?void 0:lr.filter(ia=>ia.path===Ji))==null?void 0:Ur[0])==null?void 0:bi.content)||"",autoHeight:Di,theme:"default",isCopy:!0,options:mn}))},wr=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,yi=(or,Qn,Nr)=>Qn in or?wr(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Hi=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Fr.call(Qn,Nr)&&yi(or,Nr,Qn[Nr]);if(Mr)for(var Nr of Mr(Qn))ui.call(Qn,Nr)&&yi(or,Nr,Qn[Nr]);return or};const Oa=or=>React.createElement("svg",Hi({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},or),React.createElement("path",{d:"M512 327.68c245.76 0 445.44 153.6 445.44 348.16C957.44 870.4 757.76 1024 512 1024c-245.76-5.12-445.44-153.6-445.44-348.16 0-194.56 199.68-348.16 445.44-348.16z",fill:"#DBDCFF"}),React.createElement("path",{d:"M645.12 947.2c117.76-10.24 158.72-143.36 163.84-266.24 0-128-128-174.08-291.84-174.08-163.84 0-291.84 46.08-291.84 174.08 0 112.64 35.84 240.64 143.36 261.12 30.72 5.12 261.12 10.24 276.48 5.12z",fill:"#111ACC"}),React.createElement("path",{d:"M404.48 686.08c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c-5.12-10.24 10.24-25.6 25.6-25.6zm220.16 0c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c0-10.24 10.24-25.6 25.6-25.6z",fill:"#FFF"}),React.createElement("path",{d:"M916.48 527.36c56.32 0 107.52 71.68 107.52 153.6 0 87.04-61.44 153.6-117.76 153.6 0 0 51.2-76.8 51.2-158.72s-40.96-148.48-40.96-148.48zm-808.96 5.12-5.12 5.12c-10.24 20.48-35.84 76.8-35.84 138.24 0 76.8 35.84 138.24 51.2 158.72C61.44 834.56 0 768 0 680.96c0-81.92 51.2-148.48 107.52-148.48z",fill:"#8187FF"}),React.createElement("path",{d:"M512 0c20.48 0 30.72 15.36 30.72 30.72v220.16c0 20.48-15.36 30.72-30.72 30.72s-30.72-10.24-30.72-30.72V30.72C481.28 15.36 496.64 0 512 0z",fill:"#701CDC"}),React.createElement("path",{d:"M384 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-35.84-15.36-35.84-30.72V76.8c0-20.48 15.36-30.72 35.84-30.72z",fill:"#371CDC"}),React.createElement("path",{d:"M645.12 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72V76.8c0-20.48 15.36-30.72 30.72-30.72z",fill:"#AB2FF0"}),React.createElement("path",{d:"M250.88 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-35.84-10.24-35.84-30.72v-40.96c0-20.48 15.36-35.84 35.84-35.84z",fill:"#6D57F2"}),React.createElement("path",{d:"M778.24 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72v-40.96c0-20.48 15.36-35.84 30.72-35.84z",fill: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LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzAuNzItMzAuNzJ6IiBmaWxsPSIjQUIyRkYwIi8+PHBhdGggZD0iTTI1MC44OCA4Ny4wNGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjQ2LjA4YzAgMjAuNDgtMTUuMzYgMzAuNzItMzAuNzIgMzAuNzJzLTM1Ljg0LTEwLjI0LTM1Ljg0LTMwLjcydi00MC45NmMwLTIwLjQ4IDE1LjM2LTM1Ljg0IDM1Ljg0LTM1Ljg0eiIgZmlsbD0iIzZENTdGMiIvPjxwYXRoIGQ9Ik03NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",oo=ce(98400),La=Object.defineProperty,Da=Object.defineProperties,po=Object.getOwnPropertyDescriptors,Za=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,ka=(or,Qn,Nr)=>Qn in or?La(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,Xa=(or,Qn)=>{for(var Nr in Qn||(Qn={}))io.call(Qn,Nr)&&ka(or,Nr,Qn[Nr]);if(Za)for(var Nr of Za(Qn))va.call(Qn,Nr)&&ka(or,Nr,Qn[Nr]);return or},Pa=(or,Qn)=>Da(or,po(Qn)),ao=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const us=({shixunHomeworks:or,autoHeight:Qn,classroomList:Nr,dispatch:Di})=>{var Io,lr,Jn,Un,cr,Ur,bi,xr;const{shixunWorkReport:Hr}=or,{stage_list:ji,work_id:Ji,ai_code_evaluation_promote:ca}=Hr,[Xr,Ni]=(0,Me.useState)(!1),[ia,Ma]=(0,Me.useState)(!0),[Oi,da]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),Lo=(0,Me.useRef)(null),[co,To]=(0,Me.useState)(!1),[hs,Bu]=(0,Me.useState)(""),gu=(0,Me.useRef)(null),Su=(qa,Ho)=>{var Do;const{clientWidth:zo,clientHeight:ys}=window.document.documentElement,bs=(Do=Lo.current)==null?void 0:Do.getBoundingClientRect();bs&&da({left:-bs.left+Ho.x,right:zo-(bs.right-Ho.x),top:-bs.top+Ho.y,bottom:ys-(bs.bottom-Ho.y)})},Cr=(0,Ue.useParams)(),yr=(0,ht.GJ)(),Eu={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(Cr)},[]);const mo=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(qa,Ho,Do)=>Me.createElement("div",null,qa,Ho.is_work_end_evaluate&&Me.createElement(dt.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:qa=>Ne()(qa).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(qa,Ho)=>Me.createElement("span",{className:"c-blue current",onClick:()=>ao(void 0,null,function*(){var Do,zo;const ys=yield(0,ie.Lk)(Ho.game_identifier,{path:(zo=(Do=Ho.path)==null?void 0:Do.replace(/\/g,";"))==null?void 0:zo.split(";")[0],query_index:Ho.query_index,homework_common_id:Cr.categoryId});(ys==null?void 0:ys.status)===0&&(To(ys),Ni(!0))})},Ho.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Qo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(qa,Ho)=>{var Do;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((Do=Ho==null?void 0:Ho.user)==null?void 0:Do.image_url)}),qa)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:qa=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",qa,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:qa=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",qa,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:qa=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",qa?Ne()(qa).format("YYYY-MM-DD HH:mm"):"--")}];function Nl(qa,Ho){return ao(this,null,function*(){const{challenge_id:Do}=ji[qa],zo=yield Di({type:"shixunHomeworks/changeScore",payload:{categoryId:Cr.homeworkId,type:"report",score:Ho,challenge_id:Do}});yield Di({type:"shixunHomeworks/getShixunWorkReport",payload:Xa({},Cr)}),zo.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function el(qa,Ho){return(0,Ae.U2)(`student_works/${Ji}/rep_passed_content.json`,{path:Ho,game_id:qa})}const[_l,al]=(0,Me.useState)((Io=Hr==null?void 0:Hr.shixun_detail)==null?void 0:Io.map(qa=>Pa(Xa({},qa),{commentEdit:!1}))),vu=qa=>qa.replace(/\\\(([\s\S]*?)\\\)/g,"<mathx data-text='$1'>$$$$$1$$$$</mathx>").replace(/\\\[([\s\S]*?)\\\]/g,"<mathx data-text='$1'>$$$$$1$$$$</mathx>").replace(/`(\$\$.*?\$\$)`/g,"<mathx data-text='$1'>$$$$$1$$$$</mathx>").replace(/_{2,}/g,"`$&`"),[Bs,fl]=(0,Me.useState)(!1),kc=(qa,Ho)=>ao(void 0,null,function*(){var Do,zo;fl(!0),gu.current=new oo.Z(rt.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-max",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:ca,shixun_id:Hr==null?void 0:Hr.myshixun_identifier,game_id:qa==null?void 0:qa.id,source:"shixun",is_chat:!1,type:9,description:qa==null?void 0:qa.challenge_description,query:(zo=(Do=qa==null?void 0:qa.game_codes)==null?void 0:Do[0])==null?void 0:zo.content,homework_common_id:Cr.categoryId}),yield new Promise((ys,bs)=>{gu.current.on("data",Ds=>{const ol=[..._l];ol[Ho].comment=vu(Ds==null?void 0:Ds.full),al(ol)}),gu.current.on("done",()=>ao(void 0,null,function*(){var Ds;fl(!1);const ol=[..._l],Vs=yield(0,Ae.ZP)(`/api/student_works/${Cr==null?void 0:Cr.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:qa==null?void 0:qa.challenge_id,comment:ol[Ho].comment}});if((Vs==null?void 0:Vs.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Ol=[..._l];Ol[Ho].comment_updated_at=(Ds=Vs==null?void 0:Vs.data)==null?void 0:Ds.comment_updated_at,al(Ol)}})),gu.current.startStream()})});return Me.createElement(Me.Fragment,null,_l==null?void 0:_l.map(function(qa,Ho){var Do,zo;return Me.createElement("div",{key:Ho},Me.createElement("aside",{className:"pl30 pr30",key:Ho},Me.createElement("div",{className:`${on.shixunTitle} mt10`},Me.createElement("div",null,Me.createElement("span",{className:"fa fa-code "}),Me.createElement("strong",{className:"c-black"},"\u7B2C",Ho+1,"\u5173 ",Me.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${Cr.coursesId}/${Cr.categoryId}/${qa.game_identifier}`},qa.subject))),yr?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(pr,{className:"game-score",max:ji[Ho].game_score_full,defaultValue:ji[Ho].game_score,onBlur:ys=>{var bs;if((0,ht.Rm)()&&!((bs=Nr.AssistantObject.practice)!=null&&bs.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nl(Ho,ys)}})):null),Me.createElement("div",{className:"font16 mt10"},qa.st===0&&(qa.path?typeof(qa==null?void 0:qa.game_codes_cn)=="string"?Me.createElement("aside",{className:on.shixunWrp},Me.createElement(Wr,{game_codes_cn:qa==null?void 0:qa.game_codes_cn,autoHeight:Qn,path:qa.path,game_id:qa.id,data:qa.game_codes,diff_code_count:qa.diff_code_count,onPathChange:el})):Me.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),qa.st===1&&(qa.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Me.createElement("aside",{className:"mt10 font16"},(Do=qa.outputs)!=null&&Do.length?Me.createElement(Xe.default,{columns:mo,pagination:{hideOnSinglePage:!0},dataSource:qa.outputs.map(ys=>Xa(Xa({},qa),ys))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10"},Me.createElement("div",null,Me.createElement("div",{style:{display:"flex",alignItems:"center"}},Me.createElement("strong",{className:"c-black font14"},"\u4EE3\u7801\u8BC4\u4EF7"),!(qa!=null&&qa.commentEdit)&&!(0,ht.dE)()&&(qa!=null&&qa.comment?Me.createElement(Me.Fragment,null,Me.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",qa!=null&&qa.comment_updated_at?Ne()(qa==null?void 0:qa.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),Me.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>ao(this,null,function*(){Bs?fe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):we.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u662F\u5426\u91CD\u65B0\u751F\u6210\u8BC4\u8BBA\uFF1F",okText:"\u786E\u8BA4",icon:null,cancelText:"\u53D6\u6D88",onOk:()=>ao(this,null,function*(){kc(qa,Ho)})})})},Me.createElement("i",{className:"iconfont icon-zhongxinshengcheng1 mr8 font14"}),"\u91CD\u65B0\u751F\u6210")):Me.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"auto",cursor:"pointer"},onClick:()=>ao(this,null,function*(){Bs?fe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):kc(qa,Ho)})},Me.createElement("img",{src:Qa,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(qa!=null&&qa.commentEdit)&&!(0,ht.dE)()&&Me.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const ys=[..._l];ys[Ho].commentEdit=!0,al(ys),Bu(qa==null?void 0:qa.comment)}},Me.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(qa==null?void 0:qa.commentEdit)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:on.pj_close,onClick:()=>{const ys=[..._l];ys[Ho].commentEdit=!1,al(ys)}},"\u53D6\u6D88"),Me.createElement("div",{className:on.pj_save,onClick:()=>ao(this,null,function*(){var ys;const bs=yield(0,Ae.ZP)(`/api/student_works/${Cr==null?void 0:Cr.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:qa==null?void 0:qa.challenge_id,comment:hs}});if((bs==null?void 0:bs.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Ds=[..._l];Ds[Ho].commentEdit=!1,Ds[Ho].comment=hs,Ds[Ho].comment_updated_at=(ys=bs==null?void 0:bs.data)==null?void 0:ys.comment_updated_at,al(Ds)}})},"\u4FDD\u5B58"))),!(qa!=null&&qa.commentEdit)&&Me.createElement("div",{className:on.pingjia},qa!=null&&qa.comment?Me.createElement(vr.Z,{value:qa==null?void 0:qa.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(qa==null?void 0:qa.commentEdit)&&Me.createElement(He.default.TextArea,{defaultValue:hs,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:ys=>Bu(ys.target.value)}))),Me.createElement("aside",{className:"mt10 font16"},((zo=qa==null?void 0:qa.adjust_review_score_list)==null?void 0:zo.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Xe.default,{columns:Qo,pagination:{hideOnSinglePage:!0},dataSource:qa.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(we.default,{open:Xr,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{To({}),Ni(!1)},onCancel:()=>{To({}),Ni(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ia&&Ma(!1)},onMouseOut:()=>{Ma(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:qa=>Me.createElement(se(),{disabled:ia,bounds:Oi,nodeRef:Lo,onStart:(Ho,Do)=>Su(Ho,Do)},Me.createElement("div",{ref:Lo},qa))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((lr=co==null?void 0:co.data)==null?void 0:lr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Me.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Me.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Me.createElement("div",{style:{color:((Jn=co==null?void 0:co.data)==null?void 0:Jn.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Un=co==null?void 0:co.data)==null?void 0:Un.output_detail)),Me.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ne()((cr=co==null?void 0:co.data)==null?void 0:cr.created_at).format("YYYY-MM-DD HH:mm:ss"))),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ur=co==null?void 0:co.data)==null?void 0:Ur.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(bi=co==null?void 0:co.data)==null?void 0:bi.ts_mem,"mb")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((xr=co==null?void 0:co.data)==null?void 0:xr.test_set_passed_rate)*100,"%")))),Me.createElement(Ft.ZP,{height:500,autoHeight:Qn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((co==null?void 0:co.content)||""))),options:Eu})))};var Ya=(0,Ue.connect)(({shixunHomeworks:or,loading:Qn,globalSetting:Nr,classroomList:Di})=>({shixunHomeworks:or,globalSetting:Nr,loading:Qn.effects,classroomList:Di}))(us),fi={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Rr=ce(59301),Ra=Object.defineProperty,_a=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable,go=(or,Qn,Nr)=>Qn in or?Ra(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,As=(or,Qn)=>{for(var Nr in Qn||(Qn={}))Va.call(Qn,Nr)&&go(or,Nr,Qn[Nr]);if(_a)for(var Nr of _a(Qn))Mo.call(Qn,Nr)&&go(or,Nr,Qn[Nr]);return or},_o=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const Js=({shixunHomeworks:or,dispatch:Qn,classroomList:Nr})=>{const{shixunWorkReport:Di}=or,Io=(0,Ue.useParams)(),[lr,Jn]=(0,Me.useState)(!1),[Un]=Sn.default.useForm(),[cr,Ur]=we.default.useModal(),[bi,xr]=(0,Me.useState)(!1),[Hr,ji]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var Xr,Ni,ia,Ma;or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Un.setFieldsValue({comment:(Ni=(Xr=or.actionTabs.selectArrs)==null?void 0:Xr.data)==null?void 0:Ni.work_comment,hidden_comment:(Ma=(ia=or.actionTabs.selectArrs)==null?void 0:ia.data)==null?void 0:Ma.work_comment_hidden})},[or.actionTabs.key]);const Ji=()=>_o(void 0,null,function*(){const Xr=Un.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${Io.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Xr.hidden_comment,comment:Xr.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Un.resetFields(),Qn({type:"shixunHomeworks/setActionTabs",payload:{}}),Qn({type:"shixunHomeworks/getShixunWorkReport",payload:As({},Io)}))}),ca=[{title:"\u5173\u5361",dataIndex:"name",render:(Xr,Ni,ia)=>ia+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Xr,Ni,ia)=>Rr.createElement("div",null,Xr,Ni.complete_status===4&&Rr.createElement(dt.vA,{status:Ni.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Xr=>Xr?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Xr,Ni)=>Rr.createElement("div",null,Rr.createElement("span",{style:{color:parseFloat(Ni.game_score_full)!==parseFloat(Xr)?"#E30000":"#53C41B"}},Xr),"/",Ni.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Xr,Ni)=>(0,ht.GJ)()?Rr.createElement(pr,{max:Ni.game_score_full,defaultValue:parseFloat(Xr),onBlur:ia=>_o(void 0,null,function*(){var Ma,Oi;if((0,ht.Rm)()&&!((Ma=Nr.AssistantObject.practice)!=null&&Ma.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const da=yield Qn({type:"shixunHomeworks/changeScore",payload:{categoryId:Io.homeworkId,type:"report",score:ia,challenge_id:Ni.challenge_id}});(Oi=or==null?void 0:or.actionTabs)==null||Oi.fn(),yield Qn({type:"shixunHomeworks/getShixunWorkReport",payload:As({},Io)}),da.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Xr}];return Rr.createElement(Rr.Fragment,null,Ur,Rr.createElement(we.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:or.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>_o(void 0,null,function*(){var Xr;if((0,ht.Rm)()&&!((Xr=Nr.AssistantObject.practice)!=null&&Xr.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ni=Un.getFieldsValue();JSON.stringify(Ni)==="{}"||Ni.hidden_comment===""&&Ni.comment===""?Jn(!0):Ji()}),onCancel:()=>{Qn({type:"shixunHomeworks/setActionTabs",payload:{}})}},Rr.createElement(Te.Z,{justify:"space-between",className:fi.info},Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u59D3\u540D"),Rr.createElement("span",{className:fi.blackContent},Di==null?void 0:Di.username)),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u5B66\u53F7"),Rr.createElement("span",{className:fi.blackContent},(Di==null?void 0:Di.student_id)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u73ED\u7EA7"),Rr.createElement("span",{className:fi.blackContent},(Di==null?void 0:Di.group_name)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u5173\u5361\u5F97\u5206"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.challenge_score)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u6548\u7387\u5206"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.eff_score)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u8865\u4EA4\u6263\u5206"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.late_penalty)||"--")),Rr.createElement(Pe.Z,null,Rr.createElement("span",{className:`${fi.label} ${fi.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Rr.createElement("span",{className:fi.orangeContent},(Di==null?void 0:Di.work_score)||"--"))),Rr.createElement(Sn.default,{form:Un,onChange:()=>{lr&&Jn(!1)}},Rr.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},Rr.createElement(Pe.Z,null,Rr.createElement("div",{className:`${fi.inputLabel} ${fi.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Rr.createElement(Pe.Z,null,Rr.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:bi,onCancel:()=>{xr(!1)}},onDataSelect:(Xr,Ni)=>_o(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({comment:Ma==null?void 0:Ma.value}),xr(!1)};if(Un.getFieldValue("comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},Rr.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:Rr.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{xr(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Rr.createElement(Sn.default.Item,{name:"comment"},Rr.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Rr.createElement(Te.Z,{wrap:!1,align:"middle",justify:"space-between"},Rr.createElement(Pe.Z,null,Rr.createElement("div",{className:`${fi.inputLabel} ${fi.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Rr.createElement(Pe.Z,null,Rr.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Hr,onCancel:()=>{ji(!1)}},onDataSelect:(Xr,Ni)=>_o(void 0,[Xr,Ni],function*(ia,{node:Ma}){const Oi=()=>{Un.setFieldsValue({hidden_comment:Ma==null?void 0:Ma.value}),ji(!1)};if(Un.getFieldValue("hidden_comment")){cr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Oi});return}Oi()})},Rr.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:Rr.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Xr=>{ji(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Rr.createElement(Sn.default.Item,{name:"hidden_comment"},Rr.createElement(He.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),lr&&Rr.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Rr.createElement("div",{className:fi.tableTitle},"\u5173\u5361\u6210\u7EE9"),Rr.createElement(Xe.default,{className:fi.scoreTable,dataSource:Di.stage_list,rowKey:"challenge_id",pagination:!1,columns:ca,scroll:{x:"max-content"}})))};var Sa=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn})=>({shixunHomeworks:or,classroomList:Qn}))(Js),xa=ce(78912),Bo={wrap:"wrap___LZOi9",line:"line___oju0L"},Ms=({detailData:or})=>{var Qn;return Me.createElement("div",{className:Bo.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(or),(or==null?void 0:or.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Me.createElement(mi.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,mi.Uf)(or)}),!!((Qn=or==null?void 0:or.photos)!=null&&Qn.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:Bo.line}),Me.createElement(mi._s,{dataSource:or==null?void 0:or.photos,right:21,col:4,wrapWidth:1140}))))},er=ce(59301),Qs=Object.defineProperty,fs=Object.defineProperties,Zs=Object.getOwnPropertyDescriptors,qs=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,sa=Object.prototype.propertyIsEnumerable,ra=(or,Qn,Nr)=>Qn in or?Qs(or,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):or[Qn]=Nr,ua=(or,Qn)=>{for(var Nr in Qn||(Qn={}))ma.call(Qn,Nr)&&ra(or,Nr,Qn[Nr]);if(qs)for(var Nr of qs(Qn))sa.call(Qn,Nr)&&ra(or,Nr,Qn[Nr]);return or},cs=(or,Qn)=>fs(or,Zs(Qn)),Ps=(or,Qn)=>{var Nr={};for(var Di in or)ma.call(or,Di)&&Qn.indexOf(Di)<0&&(Nr[Di]=or[Di]);if(or!=null&&qs)for(var Di of qs(or))Qn.indexOf(Di)<0&&sa.call(or,Di)&&(Nr[Di]=or[Di]);return Nr},jo=(or,Qn,Nr)=>new Promise((Di,Io)=>{var lr=cr=>{try{Un(Nr.next(cr))}catch(Ur){Io(Ur)}},Jn=cr=>{try{Un(Nr.throw(cr))}catch(Ur){Io(Ur)}},Un=cr=>cr.done?Di(cr.value):Promise.resolve(cr.value).then(lr,Jn);Un((Nr=Nr.apply(or,Qn)).next())});const xs=or=>{var Qn=or,{shixunHomeworks:Nr,classroomList:Di,globalSetting:Io,loading:lr,user:Jn,dispatch:Un}=Qn,cr=Ps(Qn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ur,bi,xr;const[Hr,ji]=(0,Me.useState)(ua({},(0,Ue.useParams)())),Ji=(0,Ue.useParams)(),[ca,Xr]=(0,Me.useState)({page:1,page_size:10}),Ni=(0,Ue.useLocation)(),[]=(0,Me.useState)([]),[ia,Ma]=(0,Me.useState)(),Oi=(0,Me.useRef)(),da=(0,Me.useRef)(),[Lo,co]=(0,Me.useState)(!1),[To,hs]=(0,Me.useState)(!0),[Bu,gu]=(0,Me.useState)(!1),[Su,Cr]=(0,Me.useState)(!1),{shixunWorkReport:yr}=Nr,[Eu,mo]=(0,Me.useState)(),[Qo,Nl]=(0,Me.useState)([]),[el,_l]=(0,Me.useState)(),[al,vu]=(0,Me.useState)("all"),Bs=(0,ht.GJ)(),[fl,kc]=(0,Me.useState)(new(ve())),[qa,Ho]=(0,Me.useState)(0),[Do,zo]=(0,Me.useState)(!1),[ys,bs]=(0,Me.useState)(!1),[Ds,ol]=(0,Me.useState)(!1),[Vs,Ol]=(0,Me.useState)(""),[ac,ad]=(0,Me.useState)(!1),[Fu,oc]=(0,Me.useState)(!0),[sc,wc]=(0,Me.useState)(0),Kl=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),$d=(0,Me.useRef)(),Hd=()=>jo(void 0,null,function*(){(Jn.userInfo.is_teacher||Jn.userInfo.admin)&&(ad(!0),oc(!1))});(0,Me.useEffect)(()=>{var _i;(0,ht.Rm)()&&Di.AssistantObject.practice&&!((_i=Di.AssistantObject.practice)!=null&&_i.can_view)&&Ue.history.replace("/403")},[(Ur=Di.AssistantObject.practice)==null?void 0:Ur.can_view]),(0,Me.useEffect)(()=>{Hd(),console.log("\u6253\u5370\u7684------",yr),$d.current=yr==null?void 0:yr.next_student_work_id,Ol(yr.repeat_minus_score)},[yr,Jn]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",yr.work_score),wc(yr.work_score)},[yr.work_score,Vs]),(0,Me.useEffect)(()=>(Un({type:"globalSetting/footerToggle",payload:!1}),()=>{Un({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var _i;if(yr){let rs=[];(_i=yr==null?void 0:yr.target_test_sets)==null||_i.map((Eo,tu)=>{var lc;(lc=Eo==null?void 0:Eo.targets)==null||lc.map((Kc,Pc)=>{var wA;Kc.name=Eo==null?void 0:Eo.name,Kc.total_target_score=Eo==null?void 0:Eo.total_target_score,Kc.actual_target_score=Eo==null?void 0:Eo.actual_target_score,Kc.rowSpan=Pc===0?(wA=Eo==null?void 0:Eo.targets)==null?void 0:wA.length:0,Kc.order=tu+1,rs.push(Kc)})}),mo(rs),(0,ht.Rm)()&&Un({type:"classroomList/getAssistantPermissions",payload:{course_id:Hr.coursesId}})}},[yr]),(0,Me.useEffect)(()=>{Nr.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(yr==null?void 0:yr.students_count)>0&&!To&&setTimeout(()=>{bl("all")},800)},[yr==null?void 0:yr.homework_common_id,To]),(0,Me.useEffect)(()=>{ji(ua({},Ji))},[Ni.pathname]);const wd=()=>{document.body.scrollIntoView()},eA=_i=>{ca.page=_i,Xr(ua({},ca)),Mc(ca,al)},Mc=(_i,rs)=>jo(void 0,null,function*(){gu(!0);const Eo=yield(0,Ae.ZP)(`/api/student_works/${Hr==null?void 0:Hr.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:cs(ua({},_i),{challenge_id:rs=="all"?null:rs})});(Eo==null?void 0:Eo.status)===0&&(Nl(Eo==null?void 0:Eo.list),_l(Eo==null?void 0:Eo.count)),gu(!1)});function bA(){return jo(this,null,function*(){Kl.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const $u=()=>{document.querySelectorAll("canvas").forEach(_i=>{(!_i.clientWidth||!_i.clientHeight)&&_i.remove()})},Id=()=>{Oi.current.offsetHeight>62e3?Cr(!1):Cr(!0)},yl=_i=>jo(void 0,null,function*(){const rs=yield(0,Ar.t1)({homeworkId:_i||Hr.homeworkId});Ma(rs==null?void 0:rs.data)}),bl=_i=>jo(void 0,null,function*(){var rs,Eo,tu,lc;let Kc=0,Pc;Pc=we.default.info({width:460,title:er.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",er.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:er.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",er.createElement("span",{className:"c-blue"},Kc+1),"/",_i!=="all"?1:yr==null?void 0:yr.students_count,er.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:on.modal,onOk:()=>{}});const wA={margin:[0,0],filename:`${yr!=null&&yr.student_id&&(yr==null?void 0:yr.student_id)!="--"?yr==null?void 0:yr.student_id:""}${yr.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},xd=fl.folder(yr==null?void 0:yr.shixun_name);function Il(Ld){return jo(this,null,function*(){yield yl(Ld||$d.current);const Cl=yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua({homeworkId:Ld||$d.current},Kl.current||{})});$d.current=Cl==null?void 0:Cl.next_student_work_id,wd(),Kc++,setTimeout(()=>jo(this,null,function*(){var Du,Uu,Jl,hl;$u();const uc=xd.folder(`${Cl==null?void 0:Cl.group_name}`).folder(`${Cl!=null&&Cl.student_id&&(Cl==null?void 0:Cl.student_id)!="--"?Cl.student_id+"+":""}${Cl==null?void 0:Cl.username}`),_c=document.querySelector("#export-all").children;let ec=Bi()();for(let Wc=0;Wc<_c.length;Wc++)yield ec.set(wA).from(_c[Wc]).toContainer().toCanvas().toPdf().get("pdf").then(Vu=>jo(this,null,function*(){Wc<_c.length-1&&(yield Vu.addPage())}));if(uc.file(`${Cl!=null&&Cl.student_id&&(Cl==null?void 0:Cl.student_id)!="--"?Cl.student_id+"+":""}${Cl==null?void 0:Cl.username}.pdf`,ec.output("blob")),((Du=Cl==null?void 0:Cl.shixun_detail)==null?void 0:Du.length)>0&&((Jl=(Uu=Cl==null?void 0:Cl.shixun_detail)==null?void 0:Uu.filter(Wc=>{var Vu;return((Vu=Wc==null?void 0:Wc.game_codes)==null?void 0:Vu.length)>0}))==null?void 0:Jl.length)>0){const Wc=uc.folder("\u4EE3\u7801\u6587\u4EF6");(hl=Cl==null?void 0:Cl.shixun_detail)==null||hl.map((Vu,jd)=>{var Sh,od;if(((Sh=Vu==null?void 0:Vu.game_codes)==null?void 0:Sh.length)>0){const Dd=Wc.folder(`\u7B2C${jd+1}\u5173-${Vu.subject}-${Vu.id}`);(od=Vu==null?void 0:Vu.game_codes)==null||od.map(xc=>{Dd.file(`${xc.filename}.txt`,xc==null?void 0:xc.content)})}})}Pc.update({content:er.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",er.createElement("span",{className:"c-blue"},Kc),"/",Cl==null?void 0:Cl.students_count,er.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Kc==(Cl==null?void 0:Cl.students_count)?(Pc.destroy(),Hl()):Il()}),2200)})}if(_i!=="all"||(yr==null?void 0:yr.students_count)<2){$u(),wd();const Ld=da.current.children;let Cl=Bi()();const Uu=xd.folder(`${yr==null?void 0:yr.group_name}`).folder(`${yr!=null&&yr.student_id&&(yr==null?void 0:yr.student_id)!="--"?(yr==null?void 0:yr.student_id)+"+":""}${yr==null?void 0:yr.username}`);for(let Jl=0;Jl<Ld.length;Jl++)yield Cl.set(wA).from(Ld[Jl]).toContainer().toCanvas().toPdf().get("pdf").then(hl=>jo(void 0,null,function*(){Jl<Ld.length-1&&(yield hl.addPage())}));if(co(!1),Uu.file(`${yr!=null&&yr.student_id&&(yr==null?void 0:yr.student_id)!="--"?(yr==null?void 0:yr.student_id)+"+":""}${yr.username}.pdf`,Cl.output("blob"),{base64:!1}),((rs=yr==null?void 0:yr.shixun_detail)==null?void 0:rs.length)>0&&((tu=(Eo=yr==null?void 0:yr.shixun_detail)==null?void 0:Eo.filter(Jl=>{var hl;return((hl=Jl==null?void 0:Jl.game_codes)==null?void 0:hl.length)>0}))==null?void 0:tu.length)>0){const Jl=Uu.folder("\u4EE3\u7801\u6587\u4EF6");(lc=yr==null?void 0:yr.shixun_detail)==null||lc.map((hl,fc)=>{var uc,_c;if(((uc=hl==null?void 0:hl.game_codes)==null?void 0:uc.length)>0){const ec=Jl.folder(`\u7B2C${fc+1}\u5173-${hl.subject}-${hl.id}`);(_c=hl==null?void 0:hl.game_codes)==null||_c.map(Wc=>{ec.file(`${Wc.filename}.txt`,Wc==null?void 0:Wc.content)})}})}Pc.destroy(),Hl();return}else Il(yr==null?void 0:yr.first_student_work_id)}),Hl=()=>{fl.generateAsync({type:"blob"}).then(function(_i){console.log(yr,"shixunWorkReport");const rs=document.createElement("a");rs.href=window.URL.createObjectURL(_i),rs.download=(yr==null?void 0:yr.shixun_name)+".zip",document.body.appendChild(rs);const Eo=document.createEvent("MouseEvents");Eo.initEvent("click",!1,!1),rs.dispatchEvent(Eo),document.body.removeChild(rs),kc(new(ve()))}),Cr(!1)};(0,Me.useEffect)(()=>{zc()},[Hr.homeworkId]);const zc=()=>jo(void 0,null,function*(){hs(!0),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}),yl(),(0,ht.GJ)()&&bA(),hs(!1)}),Ac=[{title:"\u5173\u5361",dataIndex:"name",render:(_i,rs,Eo)=>Eo+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(_i,rs,Eo)=>er.createElement("div",null,_i,rs.complete_status===4&&er.createElement(dt.vA,{status:rs.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(_i,rs,Eo)=>_i||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:_i=>_i?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(_i,rs)=>er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.myself_experience)!==parseFloat(_i)?"red":"green"}},rs.myself_experience),"/",_i)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(_i,rs)=>er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.game_score_full)!==parseFloat(_i)?"red":"green"}},_i),"/",rs.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(_i,rs)=>Bs?er.createElement(pr,{max:rs.game_score_full,defaultValue:parseFloat(_i),onBlur:Eo=>jo(void 0,null,function*(){var tu;if((0,ht.Rm)()&&!((tu=Di.AssistantObject.practice)!=null&&tu.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const lc=yield Un({type:"shixunHomeworks/changeScore",payload:{categoryId:Hr.homeworkId,type:"report",score:Eo,challenge_id:rs.challenge_id}});Mc({page:1,page_size:10},"all"),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}),lc.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):_i}];let hd=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(_i,rs,Eo)=>({children:_i,props:{rowSpan:rs.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(_i,rs,Eo)=>({children:_i,props:{rowSpan:rs.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(_i,rs,Eo)=>er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.actual_test_score)!==parseFloat(_i)?"red":"green"}},rs.actual_test_score),"/",_i)},{title:"\u6307\u6807\u603B\u5206",render:(_i,rs,Eo)=>({children:er.createElement("div",null,er.createElement("span",{style:{color:parseFloat(rs.actual_target_score)!==parseFloat(_i)?"red":"green"}},rs.actual_target_score),"/",_i),props:{rowSpan:rs.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Tc=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:_i=>er.createElement("span",null,_i?Ne()(_i).format("YYYY-MM-DD HH:mm"):"--")}],Ru=_i=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{_i==="next"?Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${yr==null?void 0:yr.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/${yr==null?void 0:yr.pre_student_work_id}/comment`)},200)},Aa=_i=>{Ol(""),_i.target.value&&(console.log("\u8FDB\u6765",yr),_i.target.value=_i.target.value>yr.repeat_setting_score?yr.repeat_setting_score:_i.target.value,Ol(_i.target.value))},$o=()=>jo(void 0,null,function*(){const _i=yield(0,Ae.ZP)(`/api/student_works/${yr==null?void 0:yr.work_id}/update_repeat_score`,{method:"put",body:{score:Vs}});yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}),_i.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return er.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},er.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},er.createElement(ze.Z,{loading:lr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},er.createElement("div",{className:"edu-container"},yr.course_id&&er.createElement("section",{className:"animated fadeIn"},er.createElement("aside",{className:""},yr.category&&er.createElement(Be.Z,{separator:">"},er.createElement(Be.Z.Item,null,er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework`},yr.course_name)),er.createElement(Be.Z.Item,null,er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework/${yr.category.main?"":yr.category.category_id}`},yr.category.category_name)),er.createElement(Be.Z.Item,null,er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework/${yr.homework_common_id}/detail${(0,ht.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),er.createElement(Be.Z.Item,null,yr.username))),er.createElement("aside",{className:[on.title1,"mt20"].join(" ")},er.createElement(Te.Z,{align:"middle"},er.createElement(Pe.Z,{flex:1},er.createElement(Ue.Link,{to:`/classrooms/${yr.course_id}/shixun_homework/${yr.homework_common_id}/detail`},er.createElement(jt.Z,{className:"font16 c-black"})),er.createElement("strong",{className:"font20 ml5"},yr==null?void 0:yr.homework_name),er.createElement(dt.VV,{temporary:!0,status:yr.homework_status})),er.createElement(Pe.Z,{className:on.title1_right},yr.view_tpi&&!(yr!=null&&yr.need_reservation)&&er.createElement(_e.ZP,{onClick:()=>{var _i,rs;(0,dt.xg)(`/tasks/${yr==null?void 0:yr.course_id}/${yr==null?void 0:yr.homework_common_id}/${(rs=(_i=yr==null?void 0:yr.shixun_detail)==null?void 0:_i[0])==null?void 0:rs.game_identifier}`)}},er.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,ht.GJ)()&&yr.homework_end===!1&&!!yr.myshixun_id&&er.createElement(_e.ZP,{className:"ml10",onClick:()=>jo(void 0,null,function*(){yield Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:yr.myshixun_identifier},homework_common_id:Ji.categoryId}})})},er.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),er.createElement(_e.ZP,{className:"ml10",onClick:()=>{var _i;if((0,ht.Rm)()&&!((_i=Di.AssistantObject.practice)!=null&&_i.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bl("")},loading:Lo},er.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(yr==null?void 0:yr.students_count)>1&&er.createElement(_e.ZP,{className:"ml10",onClick:()=>{var _i;if((0,ht.Rm)()&&!((_i=Di.AssistantObject.practice)!=null&&_i.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}we.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:er.createElement(Oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:er.createElement(Oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{bl("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Dr.jj)({categoryId:Hr.categoryId,coursesId:Hr.coursesId},"shixun_report")}}})}},er.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),er.createElement("aside",{className:"mt30 relative"})),er.createElement("aside",{className:"edu-container bg-white",ref:Oi},er.createElement("div",{id:"export-all",ref:da},er.createElement("div",{id:"export-all-1"},er.createElement("div",{className:on.title},er.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),er.createElement("div",null,(0,ht.GJ)()&&er.createElement(_e.ZP,{className:"mr20",type:"primary",onClick:()=>{Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:yr.user_id,data:ua({},yr)},fn:()=>Mc({page:1,page_size:10},"all")}})}},er.createElement(We.Z,null),yr.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),er.createElement(ke.Z,{style:{marginTop:0}}),er.createElement(Te.Z,{className:"pl30 pr30"},er.createElement(Pe.Z,null,er.createElement("img",{className:on.userPic,src:`${rt.Z.IMG_SERVER}/images/${yr.image_url}`,alt:yr.username})),er.createElement(Pe.Z,null,er.createElement("span",{className:"font16 ml40"},yr.username),er.createElement(dt.vA,{status:yr.compelete_status}),er.createElement("ul",{className:on.userInfo},er.createElement("li",null,"\u5B66\u53F7\uFF1A",yr.student_id||"--"),er.createElement("li",null,"\u5206\u73ED\uFF1A",yr.group_name||"--"),er.createElement("br",null),er.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",er.createElement("span",{className:"c-red"},yr.complete_count),"/",er.createElement("span",{className:"c-red"},yr.challenges_count)),er.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",er.createElement("span",{className:"c-red"},yr.current_complete_count||"-"),"/",er.createElement("span",{className:"c-red"},yr.challenges_count)),er.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",yr&&yr.efficiency===null?"--":yr&&yr.efficiency),er.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",yr&&yr.max_efficiency===null?"--":yr&&yr.max_efficiency))),er.createElement("ul",{className:[on.listItem,"mt10"].join(" ")},er.createElement("li",null,er.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),er.createElement("div",{className:"c-light-black mt20"},yr&&yr.passed_time===null||yr&&yr.passed_time==="--"?"--":Ne()(yr&&yr.passed_time).format("YYYY-MM-DD HH:mm"))),er.createElement("li",null,er.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",er.createElement("i",{onClick:_i=>{_i.stopPropagation(),_i.preventDefault(),zo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),er.createElement("div",{className:"c-light-black mt20"},yr==null?void 0:yr.human_training_time_rules)),er.createElement("li",null,er.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",er.createElement("i",{onClick:_i=>{_i.stopPropagation(),_i.preventDefault(),bs(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),er.createElement("div",{className:"c-light-black mt20"},yr.time_consuming)),er.createElement("li",null,er.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),er.createElement("div",{className:"mt20"},yr.evaluate_count)),(yr==null?void 0:yr.eff_score_full)&&er.createElement(er.Fragment,null,er.createElement("li",null,er.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},yr.challenge_score),"/",er.createElement("span",{className:"c-light-black"},yr.challenge_score_full))),er.createElement("li",null,er.createElement("strong",null,"\u6548\u7387\u5206"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},yr.eff_score),"/",er.createElement("span",{className:"c-light-black"},yr.eff_score_full)))),(yr==null?void 0:yr.have_repeat)&&(yr==null?void 0:yr.repeat_minus_score)!==0&&er.createElement("li",{style:{position:"relative"}},er.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},er.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),er.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},yr!=null&&yr.review_rate?er.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(yr!=null&&yr.review_id&&ac)localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Hr.categoryId}/review_detail/${yr==null?void 0:yr.review_id}`});else return}},yr.review_rate.toFixed(1),"%"):er.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),ac?er.createElement("div",{className:"mt20"},er.createElement(He.default,{style:{width:"45px",height:"22px"},value:Vs,onChange:_i=>{Aa(_i)},onBlur:$o,disabled:Fu})," / ",yr==null?void 0:yr.repeat_setting_score):er.createElement("div",{className:"mt20"},yr==null?void 0:yr.repeat_minus_score," / ",yr==null?void 0:yr.repeat_setting_score)),console.log("sssssssssssssssssssssss",yr==null?void 0:yr.have_repeat,yr==null?void 0:yr.repeat_minus_score),(yr==null?void 0:yr.have_repeat)&&(yr==null?void 0:yr.repeat_minus_score)===0&&er.createElement("li",null,er.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),er.createElement("div",{className:"mt20"}," - -")),!(yr!=null&&yr.have_repeat)&&er.createElement("li",null,er.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),er.createElement("div",{className:"mt20"}," - -")),er.createElement("li",null,er.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),er.createElement("div",{className:"mt20"},er.createElement("span",null,yr.late_penalty||"- -"))),er.createElement("li",null,er.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},sc),"/",er.createElement("span",{className:"c-light-black"},yr.all_work_score))),er.createElement("li",null,er.createElement("strong",null,"\u603B\u8BC4"),er.createElement("div",{className:"mt20"},er.createElement("span",{className:"c-orange"},yr.overall_appraisal))))),er.createElement(ke.Z,{style:{margin:0}}),(yr.work_comment_hidden||yr.work_comment)&&er.createElement("div",null,er.createElement(Te.Z,{align:"middle"},er.createElement(Pe.Z,{flex:1},er.createElement("h1",{className:on.title},"\u70B9\u8BC4\u5185\u5BB9")),er.createElement(Pe.Z,{className:"pr30"},(0,ht.GJ)()&&er.createElement(_e.ZP,{onClick:()=>jo(void 0,null,function*(){we.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:er.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return jo(this,null,function*(){(yield(0,Ar.gZ)({comment_id:yr.comment_id,homeworkId:Hr.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Un({type:"shixunHomeworks/getShixunWorkReport",payload:ua(ua({},Hr),Kl.current||{})}))})}})})},er.createElement($e.Z,null),"\u5220\u9664"))),er.createElement(ke.Z,{style:{margin:0}}),yr.work_comment&&er.createElement("aside",{className:"pl30 pr30 mt20"},er.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),er.createElement("br",null),er.createElement(vr.Z,{value:yr.work_comment})),yr.work_comment_hidden&&er.createElement("aside",{className:"pl30 pr30 mt20"},er.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),er.createElement("br",null),er.createElement(vr.Z,{value:yr.work_comment_hidden}))),(yr==null?void 0:yr.action_analysis)&&er.createElement(Ms,{detailData:yr}),er.createElement("div",{className:on.score},er.createElement("h1",{className:on.title},"\u9636\u6BB5\u6210\u7EE9"),(yr==null?void 0:yr.adjust_review_score_count)>0&&(0,ht.GJ)()&&er.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ol(!0),Mc({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",yr==null?void 0:yr.adjust_review_score_count,"\u6B21\uFF09")),er.createElement("aside",{className:"pl30 pr30"},er.createElement(Xe.default,{dataSource:yr.stage_list,rowKey:_i=>_i==null?void 0:_i.challenge_id,pagination:!1,columns:Ac})),((bi=yr==null?void 0:yr.target_test_sets)==null?void 0:bi.length)>0&&er.createElement("div",null,er.createElement("h1",{className:on.title},"\u6307\u6807\u6210\u7EE9"),er.createElement("aside",{className:"pl30 pr30"},er.createElement(Xe.default,{dataSource:Eu,rowKey:_i=>_i==null?void 0:_i.challenge_id,pagination:!1,bordered:!0,columns:hd}))),(yr==null?void 0:yr.work_description)&&er.createElement(er.Fragment,null,er.createElement("h1",{className:on.title},"\u4E2A\u4EBA\u603B\u7ED3"),er.createElement("aside",{className:"pl30 pr30"},er.createElement(vr.Z,{value:yr==null?void 0:yr.work_description}))),er.createElement("h1",{className:on.title},"\u56FE\u5F62\u7EDF\u8BA1"),er.createElement(qn,{data:ia}),er.createElement("h1",{className:on.title},"\u5B9E\u8BAD\u8BE6\u60C5")),er.createElement(Ya,{autoHeight:Su}))),(0,ht.GJ)()&&er.createElement("aside",{className:`${on.footerBar} ${Lo?on.footerBarStatic:""}`},er.createElement("aside",{className:"edu-container"},er.createElement(Te.Z,{align:"middle"},er.createElement(Pe.Z,{flex:"1"},er.createElement(Ue.Link,{className:on.exitComment,to:`/classrooms/${Hr.coursesId}/shixun_homework/${Hr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),er.createElement(Pe.Z,{flex:"1",className:"tr"},er.createElement(_e.ZP,{type:"default",disabled:!(yr!=null&&yr.pre_student_work_id),onClick:()=>Ru()},"\u4E0A\u4E00\u4E2A"),er.createElement(_e.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(yr!=null&&yr.next_student_work_id),onClick:()=>Ru("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&er.createElement(_e.ZP,{type:"primary",onClick:()=>jo(void 0,null,function*(){Un({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:yr.user_id,data:ua({},yr)},fn:()=>Mc({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),er.createElement(Sa,null),er.createElement(xa.Z,null),er.createElement(we.default,{open:Do,width:860,centered:!0,onCancel:()=>{zo(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},er.createElement("div",{style:{color:"#333333",fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),er.createElement("br",null),er.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),er.createElement("br",null),er.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),er.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),er.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),er.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),er.createElement("br",null),er.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),er.createElement("br",null),er.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),er.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),er.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),er.createElement("br",null),er.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),er.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),er.createElement("br",null),er.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),er.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},er.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),er.createElement("br",null),er.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),er.createElement(we.default,{open:ys,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{bs(!1)},width:600},er.createElement("div",{style:{fontWeight:400,color:"#333333"}},er.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",er.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),er.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",er.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),er.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",er.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),er.createElement(we.default,{open:Ds,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{vu("all"),ol(!1)},destroyOnClose:!0,width:900},er.createElement("div",{style:{fontWeight:400,color:"#333333"}},er.createElement("div",null,er.createElement("span",null,"\u5173\u5361\uFF1A"),er.createElement(Ke.default,{style:{width:300},value:al,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:_i=>jo(void 0,null,function*(){vu(_i),Mc({page:1,page_size:10},_i)})},er.createElement(Ke.default.Option,{value:"all"}," \u5168\u90E8 "),(xr=yr==null?void 0:yr.stage_list)==null?void 0:xr.map((_i,rs)=>er.createElement(Ke.default.Option,{key:rs,value:_i==null?void 0:_i.challenge_id},"\u7B2C",(0,dt.EM)(rs+1),"\u5173")))),er.createElement("div",{className:"mt20"},er.createElement(Xe.default,{dataSource:Qo,rowKey:_i=>_i==null?void 0:_i.id,pagination:!1,columns:Tc,loading:Bu})),er.createElement("div",{className:on.footer},er.createElement("div",null,er.createElement("span",{style:{color:"#656F87"}},"\u5171",er.createElement("span",{className:"c-light-primary"},el),"\u6761\u6570\u636E")),er.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(ca==null?void 0:ca.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:el,onChange:eA})))))};var Cs=(0,Ue.connect)(({shixunHomeworks:or,classroomList:Qn,loading:Nr,globalSetting:Di,user:Io})=>({shixunHomeworks:or,classroomList:Qn,globalSetting:Di,loading:Nr.effects,user:Io}))(xs);const $s=({globalSetting:or})=>{var Qn;switch(Number((Qn=or==null?void 0:or.setting)==null?void 0:Qn.theme)){case he.Fy.THEMEONE:return Me.createElement(Zt,null);case he.Fy.DEFAULT:default:return Me.createElement(Cs,null)}};var ru=(0,Ue.connect)(({globalSetting:or})=>({globalSetting:or}))($s)},48429:function(Tn,Xt,ce){"use strict";var he=ce(43418),Me=ce(8591),Ue=ce(58661),At=ce(44225),Ne=ce(36466),Le=ce(59301),ve=(we,fe,ze)=>new Promise((Be,_e)=>{var Oe=Te=>{try{ke(ze.next(Te))}catch(Pe){_e(Pe)}},He=Te=>{try{ke(ze.throw(Te))}catch(Pe){_e(Pe)}},ke=Te=>Te.done?Be(Te.value):Promise.resolve(Te.value).then(Oe,He);ke((ze=ze.apply(we,fe)).next())});const Ae=({shixunHomeworks:we,classroomList:fe,dispatch:ze})=>{const Be=(0,At.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:we.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Oe,He,ke;if((0,Ne.Rm)()&&!((_e=fe.AssistantObject.practice)!=null&&_e.can_redo)){Me.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Te=yield(0,Ue.ZP)(`/api/myshixuns/${we.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:we.actionTabs.homework_common_id}});if(Te.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),ze({type:"shixunHomeworks/setActionTabs",payload:{}});const Pe=(He=(Oe=Te==null?void 0:Te.new_works)==null?void 0:Oe.find(Xe=>`${Xe.homework_common_id}`===Be.categoryId))==null?void 0:He.id;if((0,Ne.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;At.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Pe}/comment`)}}),onCancel:()=>{ze({type:"shixunHomeworks/setActionTabs",payload:{}})}},Le.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Le.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Xt.Z=(0,At.connect)(({shixunHomeworks:we,classroomList:fe})=>({shixunHomeworks:we,classroomList:fe}))(Ae)},94537:function(Tn,Xt,ce){"use strict";ce.d(Xt,{AD:function(){return Rt},BA:function(){return Fe},D9:function(){return je},Hp:function(){return Ze},IM:function(){return Yt},Iy:function(){return $e},KM:function(){return Se},KU:function(){return cn},MJ:function(){return rt},Ne:function(){return at},ON:function(){return fn},Uj:function(){return Bn},VY:function(){return Qt},YO:function(){return Cn},YX:function(){return Ln},Zn:function(){return He},_g:function(){return Ke},_k:function(){return wt},c6:function(){return Lt},cr:function(){return ke},eV:function(){return Re},fi:function(){return Te},gh:function(){return xt},hS:function(){return Vt},iA:function(){return Pe},j6:function(){return qe},je:function(){return Tt},jj:function(){return We},kS:function(){return Nn},o6:function(){return Je},pO:function(){return gn},rQ:function(){return Ft},sA:function(){return dt},xm:function(){return it},xo:function(){return St},y8:function(){return bt},yd:function(){return Xe}});var he=ce(30450),Me=ce(44225),Ue=ce(85333),At=ce(8591),Ne=ce(42684),Le=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,fe=(ie,ae,se)=>ae in ie?Le(ie,ae,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ae]=se,ze=(ie,ae)=>{for(var se in ae||(ae={}))Ae.call(ae,se)&&fe(ie,se,ae[se]);if(ve)for(var se of ve(ae))we.call(ae,se)&&fe(ie,se,ae[se]);return ie},Be=(ie,ae,se)=>new Promise((oe,Ye)=>{var vt=Pt=>{try{lt(se.next(Pt))}catch(Mt){Ye(Mt)}},et=Pt=>{try{lt(se.throw(Pt))}catch(Mt){Ye(Mt)}},lt=Pt=>Pt.done?oe(Pt.value):Promise.resolve(Pt.value).then(vt,et);lt((se=se.apply(ie,ae)).next())});const _e=()=>{(0,Me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Oe=()=>{(0,Me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},He=ie=>Be(void 0,null,function*(){_e(),(yield(0,he.YR)(ze({},ie))).status===0&&(yield(0,Ue.QH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_couser_info.json`,query:ie}))),Oe()}),ke=ie=>Be(void 0,null,function*(){const ae=yield(0,he.yS)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_member_act_score`);else{if(ae.status===-2)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_member_act_score`))}}),Te=ie=>Be(void 0,null,function*(){const ae=yield(0,he.W0)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_score`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_score`))}}),Pe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Nl)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`))}}),Xe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.IU)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/export_star_user`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/export_star_user`))}}),Ke=ie=>Be(void 0,null,function*(){const ae=yield(0,he.td)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ae.status===-2)return ae;if(ae.status===-3)(0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else if(ae.status===-4)return ae}}),qe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.QX)(ze({},ie));if(ae.status===0)At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_homework`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_homework`))}}),We=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.o_)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),Ze=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.ZL)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),$e=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.aP)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),rt=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.vV)(ze({},ie));se.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),ht=ie=>Be(void 0,null,function*(){_e(),(yield exportCourseWorkListAppendix(ze({},ie))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ie.categoryId}/works_list.zip`,query:ie}))),Oe()}),dt=ie=>Be(void 0,null,function*(){_e(),yield(0,Ue.QH)("",Ne.Z.API_SERVER+`/api/polls/${ie.categoryId}/commit_result.xlsx`),Oe()}),xt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/attendances/export_xlsx_data.xlsx`,query:ie}))}),Je=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/video_study_statics.xlsx`,query:ie}))}),Lt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_video_study.xlsx`,query:ie}))}),Re=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_course_students_info.xlsx`,query:ie}))}),Rt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ie}))}),Ft=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ie}))}),bt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ie}))}),Tt=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Uy)(ze({},ie));ae.status===0?(At.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/exercise_score,export_exercise_users`)):ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/exercise_score,export_exercise_users`))}),wt=ie=>Be(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/export_records/${ie.id}.xlsx`,query:ie}))}),it=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ie}))}),je=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie==null?void 0:ie.coursesId}/${ie.menuKey}_statistic.xlsx?${ie.checkedList.map(ae=>`course_group_id[]=${ae}`).join("&")}`,query:ie}))}),at=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_training_objectives.xlsx`,query:ie}))}),Yt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)(ie==null?void 0:ie.name,(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ie}))}),Vt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_courses.xlsx`,query:ie}))}),St=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_graduation_requirements.xlsx`,query:ie}))}),Qt=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ie}))}),cn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/exercises/${ie.categoryId}/rank_list.xlsx`,query:ie}))}),Nn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ie}))}),fn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/examination_banks/${ie.id}.json`,query:ie}))}),Ln=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/exercises/${ie.categoryId}.json`,query:ie}))}),Cn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/polls/${ie==null?void 0:ie.id}/commit_result.json`,query:ie}))}),Bn=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ie}))}),gn=(ie,ae)=>Be(void 0,null,function*(){yield(0,Ue.FH)(ae||"",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/exercises/${ie==null?void 0:ie.exercise_id}/consult_exercise.json`,query:ie}))}),Se=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/competitions/${ie==null?void 0:ie.identifier}/competition_commit_records/member_works.xlsx`,query:ie}))}),Fe=ie=>Be(void 0,null,function*(){yield(0,Ue.FH)("",(0,Ue.NY)({url:Ne.Z.API_SERVER+`/api/courses/${ie==null?void 0:ie.coursesId}/group_homeworks/import_group_template.xlsx`,query:ie}))})},78162:function(Tn,Xt,ce){"use strict";ce.d(Xt,{U:function(){return we}});var he=ce(59301),Me=Object.defineProperty,Ue=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Le=(fe,ze,Be)=>ze in fe?Me(fe,ze,{enumerable:!0,configurable:!0,writable:!0,value:Be}):fe[ze]=Be,ve=(fe,ze)=>{for(var Be in ze||(ze={}))At.call(ze,Be)&&Le(fe,Be,ze[Be]);if(Ue)for(var Be of Ue(ze))Ne.call(ze,Be)&&Le(fe,Be,ze[Be]);return fe},Ae=(fe,ze,Be)=>new Promise((_e,Oe)=>{var He=Pe=>{try{Te(Be.next(Pe))}catch(Xe){Oe(Xe)}},ke=Pe=>{try{Te(Be.throw(Pe))}catch(Xe){Oe(Xe)}},Te=Pe=>Pe.done?_e(Pe.value):Promise.resolve(Pe.value).then(He,ke);Te((Be=Be.apply(fe,ze)).next())});function we(fe,ze){const[Be,_e]=(0,he.useState)(ze),[Oe,He]=(0,he.useState)(!1),[ke,Te]=(0,he.useState)();return[Be,Oe,(Xe,Ke=!1)=>Ae(this,null,function*(){const qe=Ke?ze:ve(ve({},Be),Xe);He(!0),_e(qe);const We=yield fe(qe);return He(!1),Te(We),We}),ke,Te]}},50371:function(Tn,Xt){"use strict";function ce(){const he=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Me=1;Me<arguments.length;Me++){const Ue=Me<0||arguments.length<=Me?void 0:arguments[Me];Ue&&Object.keys(Ue).forEach(At=>{const Ne=Ue[At];Ne!==void 0&&(he[At]=Ne)})}return he}Xt.Z=ce},13845:function(Tn,Xt,ce){"use strict";ce.d(Xt,{F:function(){return he},Z:function(){return Me}});function he(Ue){return Ue!=null&&Ue===Ue.window}function Me(Ue,At){var Ne,Le;if(typeof window=="undefined")return 0;const ve=At?"scrollTop":"scrollLeft";let Ae=0;return he(Ue)?Ae=Ue[At?"pageYOffset":"pageXOffset"]:Ue instanceof Document?Ae=Ue.documentElement[ve]:(Ue instanceof HTMLElement||Ue)&&(Ae=Ue[ve]),Ue&&!he(Ue)&&typeof Ae!="number"&&(Ae=(Le=((Ne=Ue.ownerDocument)!==null&&Ne!==void 0?Ne:Ue).documentElement)===null||Le===void 0?void 0:Le[ve]),Ae}},56762:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});var he=ce(59301);function Me(){const[,Ue]=he.useReducer(At=>At+1,0);return Ue}},68031:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return At}});var he=ce(16089);function Me(Ne,Le,ve,Ae){const we=ve-Le;return Ne/=Ae/2,Ne<1?we/2*Ne*Ne*Ne+Le:we/2*((Ne-=2)*Ne*Ne+2)+Le}var Ue=ce(13845);function At(Ne){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:Ae,duration:we=450}=Le,fe=ve(),ze=(0,Ue.Z)(fe,!0),Be=Date.now(),_e=()=>{const He=Date.now()-Be,ke=Me(He>we?we:He,ze,Ne,we);(0,Ue.F)(fe)?fe.scrollTo(window.pageXOffset,ke):fe instanceof Document||fe.constructor.name==="HTMLDocument"?fe.documentElement.scrollTop=ke:fe.scrollTop=ke,He<we?(0,he.Z)(_e):typeof Ae=="function"&&Ae()};(0,he.Z)(_e)}},19080:function(Tn,Xt,ce){"use strict";ce.d(Xt,{F:function(){return Ne},Z:function(){return At}});var he=ce(92310),Me=ce.n(he);const Ue=null;function At(Le,ve,Ae){return Me()({[`${Le}-status-success`]:ve==="success",[`${Le}-status-warning`]:ve==="warning",[`${Le}-status-error`]:ve==="error",[`${Le}-status-validating`]:ve==="validating",[`${Le}-has-feedback`]:Ae})}const Ne=(Le,ve)=>ve||Le},66104:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Rt}});var he=ce(92310),Me=ce.n(he),Ue=ce(11592),At=ce(26112),Ne=ce(59301),Le=ce(92343),ve=ce(36355),Ae=ce(84105),we=ce(91857);const fe=Ft=>{let{children:bt}=Ft;const{getPrefixCls:Tt}=Ne.useContext(ve.E_),wt=Tt("breadcrumb");return Ne.createElement("li",{className:`${wt}-separator`,"aria-hidden":"true"},bt===""?bt:bt||"/")};fe.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=fe,Be=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Ft,wt[it])&&(Tt[wt[it]]=Ft[wt[it]]);return Tt};function _e(Ft,bt){if(Ft.title===void 0||Ft.title===null)return null;const Tt=Object.keys(bt).join("|");return typeof Ft.title=="object"?Ft.title:String(Ft.title).replace(new RegExp(`:(${Tt})`,"g"),(wt,it)=>bt[it]||wt)}function Oe(Ft,bt,Tt,wt){if(Tt==null)return null;const{className:it,onClick:je}=bt,at=Be(bt,["className","onClick"]),Yt=Object.assign(Object.assign({},(0,At.Z)(at,{data:!0,aria:!0})),{onClick:je});return wt!==void 0?Ne.createElement("a",Object.assign({},Yt,{className:Me()(`${Ft}-link`,it),href:wt}),Tt):Ne.createElement("span",Object.assign({},Yt,{className:Me()(`${Ft}-link`,it)}),Tt)}function He(Ft,bt){return(wt,it,je,at,Yt)=>{if(bt)return bt(wt,it,je,at);const Vt=_e(wt,it);return Oe(Ft,wt,Vt,Yt)}}var ke=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Ft,wt[it])&&(Tt[wt[it]]=Ft[wt[it]]);return Tt};const Te=Ft=>{const{prefixCls:bt,separator:Tt="/",children:wt,menu:it,overlay:je,dropdownProps:at,href:Yt}=Ft,St=(Qt=>{if(it||je){const cn=Object.assign({},at);if(it){const Nn=it||{},{items:fn}=Nn,Ln=ke(Nn,["items"]);cn.menu=Object.assign(Object.assign({},Ln),{items:fn==null?void 0:fn.map((Cn,Bn)=>{var{key:gn,title:Se,label:Fe,path:ie}=Cn,ae=ke(Cn,["key","title","label","path"]);let se=Fe!=null?Fe:Se;return ie&&(se=Ne.createElement("a",{href:`${Yt}${ie}`},se)),Object.assign(Object.assign({},ae),{key:gn!=null?gn:Bn,label:se})})})}else je&&(cn.overlay=je);return Ne.createElement(we.Z,Object.assign({placement:"bottom"},cn),Ne.createElement("span",{className:`${bt}-overlay-link`},Qt,Ne.createElement(Ae.Z,null)))}return Qt})(wt);return St!=null?Ne.createElement(Ne.Fragment,null,Ne.createElement("li",null,St),Tt&&Ne.createElement(ze,null,Tt)):null},Pe=Ft=>{const{prefixCls:bt,children:Tt,href:wt}=Ft,it=ke(Ft,["prefixCls","children","href"]),{getPrefixCls:je}=Ne.useContext(ve.E_),at=je("breadcrumb",bt);return Ne.createElement(Te,Object.assign({},it,{prefixCls:at}),Oe(at,it,Tt,wt))};Pe.__ANT_BREADCRUMB_ITEM=!0;var Xe=Pe,Ke=ce(17313),qe=ce(83116),We=ce(37613);const Ze=Ft=>{const{componentCls:bt,iconCls:Tt}=Ft;return{[bt]:Object.assign(Object.assign({},(0,Ke.Wf)(Ft)),{color:Ft.itemColor,fontSize:Ft.fontSize,[Tt]:{fontSize:Ft.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ft.linkColor,transition:`color ${Ft.motionDurationMid}`,padding:`0 ${Ft.paddingXXS}px`,borderRadius:Ft.borderRadiusSM,height:Ft.lineHeight*Ft.fontSize,display:"inline-block",marginInline:-Ft.marginXXS,"&:hover":{color:Ft.linkHoverColor,backgroundColor:Ft.colorBgTextHover}},(0,Ke.Qy)(Ft)),"li:last-child":{color:Ft.lastItemColor},[`${bt}-separator`]:{marginInline:Ft.separatorMargin,color:Ft.separatorColor},[`${bt}-link`]:{[`
> ${Tt} + span,
> ${Tt} + a
`]:{marginInlineStart:Ft.marginXXS}},[`${bt}-overlay-link`]:{borderRadius:Ft.borderRadiusSM,height:Ft.lineHeight*Ft.fontSize,display:"inline-block",padding:`0 ${Ft.paddingXXS}px`,marginInline:-Ft.marginXXS,[`> ${Tt}`]:{marginInlineStart:Ft.marginXXS,fontSize:Ft.fontSizeIcon},"&:hover":{color:Ft.linkHoverColor,backgroundColor:Ft.colorBgTextHover,a:{color:Ft.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ft.componentCls}-rtl`]:{direction:"rtl"}})}};var $e=(0,qe.Z)("Breadcrumb",Ft=>{const bt=(0,We.TS)(Ft,{});return[Ze(bt)]},Ft=>({itemColor:Ft.colorTextDescription,lastItemColor:Ft.colorText,iconFontSize:Ft.fontSize,linkColor:Ft.colorTextDescription,linkHoverColor:Ft.colorText,separatorColor:Ft.colorTextDescription,separatorMargin:Ft.marginXS})),rt=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Ft,wt[it])&&(Tt[wt[it]]=Ft[wt[it]]);return Tt};function ht(Ft){const{breadcrumbName:bt,children:Tt}=Ft,wt=rt(Ft,["breadcrumbName","children"]),it=Object.assign({title:bt},wt);return Tt&&(it.menu={items:Tt.map(je=>{var{breadcrumbName:at}=je,Yt=rt(je,["breadcrumbName"]);return Object.assign(Object.assign({},Yt),{title:at})})}),it}function dt(Ft,bt){return(0,Ne.useMemo)(()=>Ft||(bt?bt.map(ht):null),[Ft,bt])}var xt=function(Ft,bt){var Tt={};for(var wt in Ft)Object.prototype.hasOwnProperty.call(Ft,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Ft[wt]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Ft);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Ft,wt[it])&&(Tt[wt[it]]=Ft[wt[it]]);return Tt};const Je=(Ft,bt)=>{if(bt===void 0)return bt;let Tt=(bt||"").replace(/^\//,"");return Object.keys(Ft).forEach(wt=>{Tt=Tt.replace(`:${wt}`,Ft[wt])}),Tt},Lt=Ft=>{const{prefixCls:bt,separator:Tt="/",style:wt,className:it,rootClassName:je,routes:at,items:Yt,children:Vt,itemRender:St,params:Qt={}}=Ft,cn=xt(Ft,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Nn,direction:fn,breadcrumb:Ln}=Ne.useContext(ve.E_);let Cn;const Bn=Nn("breadcrumb",bt),[gn,Se]=$e(Bn),Fe=dt(Yt,at),ie=He(Bn,St);if(Fe&&Fe.length>0){const oe=[],Ye=Yt||at;Cn=Fe.map((vt,et)=>{const{path:lt,key:Pt,type:Mt,menu:kt,overlay:$t,onClick:Sn,className:Bt,separator:nn,dropdownProps:tn}=vt,zt=Je(Qt,lt);zt!==void 0&&oe.push(zt);const pt=Pt!=null?Pt:et;if(Mt==="separator")return Ne.createElement(ze,{key:pt},nn);const Wt={},vn=et===Fe.length-1;kt?Wt.menu=kt:$t&&(Wt.overlay=$t);let{href:xn}=vt;return oe.length&&zt!==void 0&&(xn=`#/${oe.join("/")}`),Ne.createElement(Te,Object.assign({key:pt},Wt,(0,At.Z)(vt,{data:!0,aria:!0}),{className:Bt,dropdownProps:tn,href:xn,separator:vn?"":Tt,onClick:Sn,prefixCls:Bn}),ie(vt,Qt,Ye,oe,xn))})}else if(Vt){const oe=(0,Ue.Z)(Vt).length;Cn=(0,Ue.Z)(Vt).map((Ye,vt)=>{if(!Ye)return Ye;const et=vt===oe-1;return(0,Le.Tm)(Ye,{separator:et?"":Tt,key:vt})})}const ae=Me()(Bn,Ln==null?void 0:Ln.className,{[`${Bn}-rtl`]:fn==="rtl"},it,je,Se),se=Object.assign(Object.assign({},Ln==null?void 0:Ln.style),wt);return gn(Ne.createElement("nav",Object.assign({className:ae,style:se},cn),Ne.createElement("ol",null,Cn)))};Lt.Item=Xe,Lt.Separator=ze;var Re=Lt,Rt=Re},24905:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return $e}});var he=ce(92310),Me=ce.n(he),Ue=ce(5630),At=ce(59301),Ne=ce(36355),Le=ce(1684),ve=ce(32441),we=At.createContext(null),fe=ce(98447),ze=ce(14088),Be=ce(4572),_e=function(rt,ht){var dt={};for(var xt in rt)Object.prototype.hasOwnProperty.call(rt,xt)&&ht.indexOf(xt)<0&&(dt[xt]=rt[xt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,xt=Object.getOwnPropertySymbols(rt);Je<xt.length;Je++)ht.indexOf(xt[Je])<0&&Object.prototype.propertyIsEnumerable.call(rt,xt[Je])&&(dt[xt[Je]]=rt[xt[Je]]);return dt};const Oe=(rt,ht)=>{var dt;const{prefixCls:xt,className:Je,rootClassName:Lt,children:Re,indeterminate:Rt=!1,style:Ft,onMouseEnter:bt,onMouseLeave:Tt,skipGroup:wt=!1,disabled:it}=rt,je=_e(rt,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Yt,checkbox:Vt}=At.useContext(Ne.E_),St=At.useContext(we),{isFormItemInput:Qt}=At.useContext(ve.aM),cn=At.useContext(Le.Z),Nn=(dt=(St==null?void 0:St.disabled)||it)!==null&&dt!==void 0?dt:cn,fn=At.useRef(je.value);At.useEffect(()=>{St==null||St.registerValue(je.value)},[]),At.useEffect(()=>{if(!wt)return je.value!==fn.current&&(St==null||St.cancelValue(fn.current),St==null||St.registerValue(je.value),fn.current=je.value),()=>St==null?void 0:St.cancelValue(je.value)},[je.value]);const Ln=at("checkbox",xt),[Cn,Bn]=(0,fe.ZP)(Ln),gn=Object.assign({},je);St&&!wt&&(gn.onChange=function(){je.onChange&&je.onChange.apply(je,arguments),St.toggleOption&&St.toggleOption({label:Re,value:je.value})},gn.name=St.name,gn.checked=St.value.includes(je.value));const Se=Me()(`${Ln}-wrapper`,{[`${Ln}-rtl`]:Yt==="rtl",[`${Ln}-wrapper-checked`]:gn.checked,[`${Ln}-wrapper-disabled`]:Nn,[`${Ln}-wrapper-in-form-item`]:Qt},Vt==null?void 0:Vt.className,Je,Lt,Bn),Fe=Me()({[`${Ln}-indeterminate`]:Rt},Be.A,Bn),ie=Rt?"mixed":void 0;return Cn(At.createElement(ze.Z,{component:"Checkbox",disabled:Nn},At.createElement("label",{className:Se,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),Ft),onMouseEnter:bt,onMouseLeave:Tt},At.createElement(Ue.Z,Object.assign({"aria-checked":ie},gn,{prefixCls:Ln,className:Fe,disabled:Nn,ref:ht})),Re!==void 0&&At.createElement("span",null,Re))))};var ke=At.forwardRef(Oe),Te=ce(77654),Pe=ce(2738),Xe=function(rt,ht){var dt={};for(var xt in rt)Object.prototype.hasOwnProperty.call(rt,xt)&&ht.indexOf(xt)<0&&(dt[xt]=rt[xt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,xt=Object.getOwnPropertySymbols(rt);Je<xt.length;Je++)ht.indexOf(xt[Je])<0&&Object.prototype.propertyIsEnumerable.call(rt,xt[Je])&&(dt[xt[Je]]=rt[xt[Je]]);return dt};const Ke=(rt,ht)=>{const{defaultValue:dt,children:xt,options:Je=[],prefixCls:Lt,className:Re,rootClassName:Rt,style:Ft,onChange:bt}=rt,Tt=Xe(rt,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:wt,direction:it}=At.useContext(Ne.E_),[je,at]=At.useState(Tt.value||dt||[]),[Yt,Vt]=At.useState([]);At.useEffect(()=>{"value"in Tt&&at(Tt.value||[])},[Tt.value]);const St=At.useMemo(()=>Je.map(ae=>typeof ae=="string"||typeof ae=="number"?{label:ae,value:ae}:ae),[Je]),Qt=ae=>{Vt(se=>se.filter(oe=>oe!==ae))},cn=ae=>{Vt(se=>[].concat((0,Te.Z)(se),[ae]))},Nn=ae=>{const se=je.indexOf(ae.value),oe=(0,Te.Z)(je);se===-1?oe.push(ae.value):oe.splice(se,1),"value"in Tt||at(oe),bt==null||bt(oe.filter(Ye=>Yt.includes(Ye)).sort((Ye,vt)=>{const et=St.findIndex(Pt=>Pt.value===Ye),lt=St.findIndex(Pt=>Pt.value===vt);return et-lt}))},fn=wt("checkbox",Lt),Ln=`${fn}-group`,[Cn,Bn]=(0,fe.ZP)(fn),gn=(0,Pe.Z)(Tt,["value","disabled"]),Se=Je.length?St.map(ae=>At.createElement(ke,{prefixCls:fn,key:ae.value.toString(),disabled:"disabled"in ae?ae.disabled:Tt.disabled,value:ae.value,checked:je.includes(ae.value),onChange:ae.onChange,className:`${Ln}-item`,style:ae.style,title:ae.title},ae.label)):xt,Fe={toggleOption:Nn,value:je,disabled:Tt.disabled,name:Tt.name,registerValue:cn,cancelValue:Qt},ie=Me()(Ln,{[`${Ln}-rtl`]:it==="rtl"},Re,Rt,Bn);return Cn(At.createElement("div",Object.assign({className:ie,style:Ft},gn,{ref:ht}),At.createElement(we.Provider,{value:Fe},Se)))},qe=At.forwardRef(Ke);var We=At.memo(qe);const Ze=ke;Ze.Group=We,Ze.__ANT_CHECKBOX=!0;var $e=Ze},98447:function(Tn,Xt,ce){"use strict";ce.d(Xt,{C2:function(){return Ne}});var he=ce(17313),Me=ce(37613),Ue=ce(83116);const At=Le=>{const{checkboxCls:ve}=Le,Ae=`${ve}-wrapper`;return[{[`${ve}-group`]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{display:"inline-flex",flexWrap:"wrap",columnGap:Le.marginXS,[`> ${Le.antCls}-row`]:{flex:1}}),[Ae]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ae}`]:{marginInlineStart:0},[`&${Ae}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ve]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Le.borderRadiusSM,alignSelf:"center",[`${ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ve}-inner`]:Object.assign({},(0,he.oN)(Le))},[`${ve}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Le.checkboxSize,height:Le.checkboxSize,direction:"ltr",backgroundColor:Le.colorBgContainer,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadiusSM,borderCollapse:"separate",transition:`all ${Le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Le.checkboxSize/14*5,height:Le.checkboxSize/14*8,border:`${Le.lineWidthBold}px solid ${Le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Le.motionDurationFast} ${Le.motionEaseInBack}, opacity ${Le.motionDurationFast}`}},"& + span":{paddingInlineStart:Le.paddingXS,paddingInlineEnd:Le.paddingXS}})},{[`
${Ae}:not(${Ae}-disabled),
${ve}:not(${ve}-disabled)
`]:{[`&:hover ${ve}-inner`]:{borderColor:Le.colorPrimary}},[`${Ae}:not(${Ae}-disabled)`]:{[`&:hover ${ve}-checked:not(${ve}-disabled) ${ve}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ve}-checked:not(${ve}-disabled):after`]:{borderColor:Le.colorPrimaryHover}}},{[`${ve}-checked`]:{[`${ve}-inner`]:{backgroundColor:Le.colorPrimary,borderColor:Le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Le.motionDurationMid} ${Le.motionEaseOutBack} ${Le.motionDurationFast}`}}},[`
${Ae}-checked:not(${Ae}-disabled),
${ve}-checked:not(${ve}-disabled)
`]:{[`&:hover ${ve}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"}}},{[ve]:{"&-indeterminate":{[`${ve}-inner`]:{backgroundColor:Le.colorBgContainer,borderColor:Le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Le.fontSizeLG/2,height:Le.fontSizeLG/2,backgroundColor:Le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ae}-disabled`]:{cursor:"not-allowed"},[`${ve}-disabled`]:{[`&, ${ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ve}-inner`]:{background:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,"&:after":{borderColor:Le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Le.colorTextDisabled},[`&${ve}-indeterminate ${ve}-inner::after`]:{background:Le.colorTextDisabled}}}]};function Ne(Le,ve){const Ae=(0,Me.TS)(ve,{checkboxCls:`.${Le}`,checkboxSize:ve.controlInteractiveSize});return[At(Ae)]}Xt.ZP=(0,Ue.Z)("Checkbox",(Le,ve)=>{let{prefixCls:Ae}=ve;return[Ne(Ae,Le)]})},93891:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(36355),Ue=ce(64165);const At=Ne=>{const{componentName:Le}=Ne,{getPrefixCls:ve}=(0,he.useContext)(Me.E_),Ae=ve("empty");switch(Le){case"Table":case"List":return he.createElement(Ue.Z,{image:Ue.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return he.createElement(Ue.Z,{image:Ue.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ae}-small`});default:return he.createElement(Ue.Z,null)}};Xt.Z=At},28103:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Be}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(17313),Le=ce(83116),ve=ce(37613);const Ae=_e=>{const{componentCls:Oe,sizePaddingEdgeHorizontal:He,colorSplit:ke,lineWidth:Te,textPaddingInline:Pe,orientationMargin:Xe,verticalMarginInline:Ke}=_e;return{[Oe]:Object.assign(Object.assign({},(0,Ne.Wf)(_e)),{borderBlockStart:`${Te}px solid ${ke}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Ke,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Te}px solid ${ke}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${_e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${_e.dividerHorizontalWithTextGutterMargin}px 0`,color:_e.colorTextHeading,fontWeight:500,fontSize:_e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ke}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Te}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Oe}-with-text-left`]:{"&::before":{width:`${Xe*100}%`},"&::after":{width:`${100-Xe*100}%`}},[`&-horizontal${Oe}-with-text-right`]:{"&::before":{width:`${100-Xe*100}%`},"&::after":{width:`${Xe*100}%`}},[`${Oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Pe},"&-dashed":{background:"none",borderColor:ke,borderStyle:"dashed",borderWidth:`${Te}px 0 0`},[`&-horizontal${Oe}-with-text${Oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Oe}-dashed`]:{borderInlineStartWidth:Te,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Oe}-with-text`]:{color:_e.colorText,fontWeight:"normal",fontSize:_e.fontSize},[`&-horizontal${Oe}-with-text-left${Oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Oe}-inner-text`]:{paddingInlineStart:He}},[`&-horizontal${Oe}-with-text-right${Oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Oe}-inner-text`]:{paddingInlineEnd:He}}})}};var we=(0,Le.Z)("Divider",_e=>{const Oe=(0,ve.TS)(_e,{dividerHorizontalWithTextGutterMargin:_e.margin,dividerHorizontalGutterMargin:_e.marginLG,sizePaddingEdgeHorizontal:0});return[Ae(Oe)]},_e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_e.marginXS})),fe=function(_e,Oe){var He={};for(var ke in _e)Object.prototype.hasOwnProperty.call(_e,ke)&&Oe.indexOf(ke)<0&&(He[ke]=_e[ke]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ke=Object.getOwnPropertySymbols(_e);Te<ke.length;Te++)Oe.indexOf(ke[Te])<0&&Object.prototype.propertyIsEnumerable.call(_e,ke[Te])&&(He[ke[Te]]=_e[ke[Te]]);return He},Be=_e=>{const{getPrefixCls:Oe,direction:He,divider:ke}=Ue.useContext(At.E_),{prefixCls:Te,type:Pe="horizontal",orientation:Xe="center",orientationMargin:Ke,className:qe,rootClassName:We,children:Ze,dashed:$e,plain:rt,style:ht}=_e,dt=fe(_e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xt=Oe("divider",Te),[Je,Lt]=we(xt),Re=Xe.length>0?`-${Xe}`:Xe,Rt=!!Ze,Ft=Xe==="left"&&Ke!=null,bt=Xe==="right"&&Ke!=null,Tt=Me()(xt,ke==null?void 0:ke.className,Lt,`${xt}-${Pe}`,{[`${xt}-with-text`]:Rt,[`${xt}-with-text${Re}`]:Rt,[`${xt}-dashed`]:!!$e,[`${xt}-plain`]:!!rt,[`${xt}-rtl`]:He==="rtl",[`${xt}-no-default-orientation-margin-left`]:Ft,[`${xt}-no-default-orientation-margin-right`]:bt},qe,We),wt=Ue.useMemo(()=>typeof Ke=="number"?Ke:/^\d+$/.test(Ke)?Number(Ke):Ke,[Ke]),it=Object.assign(Object.assign({},Ft&&{marginLeft:wt}),bt&&{marginRight:wt});return Je(Ue.createElement("div",Object.assign({className:Tt,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),ht)},dt,{role:"separator"}),Ze&&Pe!=="vertical"&&Ue.createElement("span",{className:`${xt}-inner-text`,style:it},Ze)))}},43428:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Cn}});var he=ce(92310),Me=ce.n(he),Ue=ce(85899),At=ce(72190),Ne=ce(43403),Le=ce(34280),ve=ce(59301),Ae=ve.createContext(null),we=ve.createContext({}),fe=Ae,ze=ce(18642),Be=ce(60499),_e=ce(77900),Oe=ce(10228),He=ce(26112),ke=ce(70425),Te=function(gn){var Se=gn.prefixCls,Fe=gn.className,ie=gn.style,ae=gn.children,se=gn.containerRef,oe=gn.id,Ye=gn.onMouseEnter,vt=gn.onMouseOver,et=gn.onMouseLeave,lt=gn.onClick,Pt=gn.onKeyDown,Mt=gn.onKeyUp,kt={onMouseEnter:Ye,onMouseOver:vt,onMouseLeave:et,onClick:lt,onKeyDown:Pt,onKeyUp:Mt},$t=ve.useContext(we),Sn=$t.panel,Bt=(0,ke.useComposeRef)(Sn,se);return ve.createElement(ve.Fragment,null,ve.createElement("div",(0,Be.Z)({id:oe,className:Me()("".concat(Se,"-content"),Fe),style:(0,Ue.Z)({},ie),"aria-modal":"true",role:"dialog",ref:Bt},kt),ae))},Pe=Te,Xe=ce(48736);function Ke(Bn){return typeof Bn=="string"&&String(Number(Bn))===Bn?((0,Xe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Bn)):Bn}function qe(Bn){warning(!("wrapperClassName"in Bn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Bn.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var We={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Ze(Bn,gn){var Se,Fe,ie,ae,se=Bn.prefixCls,oe=Bn.open,Ye=Bn.placement,vt=Bn.inline,et=Bn.push,lt=Bn.forceRender,Pt=Bn.autoFocus,Mt=Bn.keyboard,kt=Bn.rootClassName,$t=Bn.rootStyle,Sn=Bn.zIndex,Bt=Bn.className,nn=Bn.id,tn=Bn.style,zt=Bn.motion,pt=Bn.width,Wt=Bn.height,vn=Bn.children,xn=Bn.contentWrapperStyle,Wn=Bn.mask,br=Bn.maskClosable,Lr=Bn.maskMotion,jr=Bn.maskClassName,Qr=Bn.maskStyle,vr=Bn.afterOpenChange,Ar=Bn.onClose,Tr=Bn.onMouseEnter,Bi=Bn.onMouseOver,$i=Bn.onMouseLeave,mi=Bn.onClick,Mi=Bn.onKeyDown,pa=Bn.onKeyUp,Dr=ve.useRef(),_n=ve.useRef(),no=ve.useRef();ve.useImperativeHandle(gn,function(){return Dr.current});var Ki=function(qn){var pr=qn.keyCode,Gr=qn.shiftKey;switch(pr){case Oe.Z.TAB:{if(pr===Oe.Z.TAB){if(!Gr&&document.activeElement===no.current){var Zr;(Zr=_n.current)===null||Zr===void 0||Zr.focus({preventScroll:!0})}else if(Gr&&document.activeElement===_n.current){var $r;($r=no.current)===null||$r===void 0||$r.focus({preventScroll:!0})}}break}case Oe.Z.ESC:{Ar&&Mt&&(qn.stopPropagation(),Ar(qn));break}}};ve.useEffect(function(){if(oe&&Pt){var ir;(ir=Dr.current)===null||ir===void 0||ir.focus({preventScroll:!0})}},[oe]);var Co=ve.useState(!1),ro=(0,At.Z)(Co,2),Pi=ro[0],Ii=ro[1],Si=ve.useContext(fe),gi;et===!1?gi={distance:0}:et===!0?gi={}:gi=et||{};var Ea=(Se=(Fe=(ie=gi)===null||ie===void 0?void 0:ie.distance)!==null&&Fe!==void 0?Fe:Si==null?void 0:Si.pushDistance)!==null&&Se!==void 0?Se:180,Fn=ve.useMemo(function(){return{pushDistance:Ea,push:function(){Ii(!0)},pull:function(){Ii(!1)}}},[Ea]);ve.useEffect(function(){if(oe){var ir;Si==null||(ir=Si.push)===null||ir===void 0||ir.call(Si)}else{var qn;Si==null||(qn=Si.pull)===null||qn===void 0||qn.call(Si)}},[oe]),ve.useEffect(function(){return function(){var ir;Si==null||(ir=Si.pull)===null||ir===void 0||ir.call(Si)}},[]);var Dt=Wn&&ve.createElement(_e.default,(0,Be.Z)({key:"mask"},Lr,{visible:oe}),function(ir,qn){var pr=ir.className,Gr=ir.style;return ve.createElement("div",{className:Me()("".concat(se,"-mask"),pr,jr),style:(0,Ue.Z)((0,Ue.Z)({},Gr),Qr),onClick:br&&oe?Ar:void 0,ref:qn})}),Gt=typeof zt=="function"?zt(Ye):zt,Zt={};if(Pi&&Ea)switch(Ye){case"top":Zt.transform="translateY(".concat(Ea,"px)");break;case"bottom":Zt.transform="translateY(".concat(-Ea,"px)");break;case"left":Zt.transform="translateX(".concat(Ea,"px)");break;default:Zt.transform="translateX(".concat(-Ea,"px)");break}Ye==="left"||Ye==="right"?Zt.width=Ke(pt):Zt.height=Ke(Wt);var jt={onMouseEnter:Tr,onMouseOver:Bi,onMouseLeave:$i,onClick:mi,onKeyDown:Mi,onKeyUp:pa},on=ve.createElement(_e.default,(0,Be.Z)({key:"panel"},Gt,{visible:oe,forceRender:lt,onVisibleChanged:function(qn){vr==null||vr(qn)},removeOnLeave:!1,leavedClassName:"".concat(se,"-content-wrapper-hidden")}),function(ir,qn){var pr=ir.className,Gr=ir.style;return ve.createElement("div",(0,Be.Z)({className:Me()("".concat(se,"-content-wrapper"),pr),style:(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},Zt),Gr),xn)},(0,He.Z)(Bn,{data:!0})),ve.createElement(Pe,(0,Be.Z)({id:nn,containerRef:qn,prefixCls:se,className:Bt,style:tn},jt),vn))}),Mn=(0,Ue.Z)({},$t);return Sn&&(Mn.zIndex=Sn),ve.createElement(fe.Provider,{value:Fn},ve.createElement("div",{className:Me()(se,"".concat(se,"-").concat(Ye),kt,(ae={},(0,ze.Z)(ae,"".concat(se,"-open"),oe),(0,ze.Z)(ae,"".concat(se,"-inline"),vt),ae)),style:Mn,tabIndex:-1,ref:Dr,onKeyDown:Ki},Dt,ve.createElement("div",{tabIndex:0,ref:_n,style:We,"aria-hidden":"true","data-sentinel":"start"}),on,ve.createElement("div",{tabIndex:0,ref:no,style:We,"aria-hidden":"true","data-sentinel":"end"})))}var $e=ve.forwardRef(Ze),rt=$e,ht=function(gn){var Se=gn.open,Fe=Se===void 0?!1:Se,ie=gn.prefixCls,ae=ie===void 0?"rc-drawer":ie,se=gn.placement,oe=se===void 0?"right":se,Ye=gn.autoFocus,vt=Ye===void 0?!0:Ye,et=gn.keyboard,lt=et===void 0?!0:et,Pt=gn.width,Mt=Pt===void 0?378:Pt,kt=gn.mask,$t=kt===void 0?!0:kt,Sn=gn.maskClosable,Bt=Sn===void 0?!0:Sn,nn=gn.getContainer,tn=gn.forceRender,zt=gn.afterOpenChange,pt=gn.destroyOnClose,Wt=gn.onMouseEnter,vn=gn.onMouseOver,xn=gn.onMouseLeave,Wn=gn.onClick,br=gn.onKeyDown,Lr=gn.onKeyUp,jr=gn.panelRef,Qr=ve.useState(!1),vr=(0,At.Z)(Qr,2),Ar=vr[0],Tr=vr[1],Bi=ve.useState(!1),$i=(0,At.Z)(Bi,2),mi=$i[0],Mi=$i[1];(0,Le.Z)(function(){Mi(!0)},[]);var pa=mi?Fe:!1,Dr=ve.useRef(),_n=ve.useRef();(0,Le.Z)(function(){pa&&(_n.current=document.activeElement)},[pa]);var no=function(Ii){var Si;if(Tr(Ii),zt==null||zt(Ii),!Ii&&_n.current&&!((Si=Dr.current)!==null&&Si!==void 0&&Si.contains(_n.current))){var gi;(gi=_n.current)===null||gi===void 0||gi.focus({preventScroll:!0})}},Ki=ve.useMemo(function(){return{panel:jr}},[jr]);if(!tn&&!Ar&&!pa&&pt)return null;var Co={onMouseEnter:Wt,onMouseOver:vn,onMouseLeave:xn,onClick:Wn,onKeyDown:br,onKeyUp:Lr},ro=(0,Ue.Z)((0,Ue.Z)({},gn),{},{open:pa,prefixCls:ae,placement:oe,autoFocus:vt,keyboard:lt,width:Mt,mask:$t,maskClosable:Bt,inline:nn===!1,afterOpenChange:no,ref:Dr},Co);return ve.createElement(we.Provider,{value:Ki},ve.createElement(Ne.Z,{open:pa||tn||Ar,autoDestroy:!1,getContainer:nn,autoLock:$t&&(pa||Ar)},ve.createElement(rt,ro)))},dt=ht,xt=dt,Je=ce(62892),Lt=ce(36355),Re=ce(32441),Rt=ce(47729),bt=Bn=>{const{prefixCls:gn,title:Se,footer:Fe,extra:ie,closeIcon:ae,closable:se,onClose:oe,headerStyle:Ye,drawerStyle:vt,bodyStyle:et,footerStyle:lt,children:Pt}=Bn,Mt=ve.useCallback(nn=>ve.createElement("button",{type:"button",onClick:oe,"aria-label":"Close",className:`${gn}-close`},nn),[oe]),[kt,$t]=(0,Rt.Z)(se,ae,Mt,void 0,!0),Sn=ve.useMemo(()=>!Se&&!kt?null:ve.createElement("div",{style:Ye,className:Me()(`${gn}-header`,{[`${gn}-header-close-only`]:kt&&!Se&&!ie})},ve.createElement("div",{className:`${gn}-header-title`},$t,Se&&ve.createElement("div",{className:`${gn}-title`},Se)),ie&&ve.createElement("div",{className:`${gn}-extra`},ie)),[kt,$t,ie,Ye,gn,Se]),Bt=ve.useMemo(()=>{if(!Fe)return null;const nn=`${gn}-footer`;return ve.createElement("div",{className:nn,style:lt},Fe)},[Fe,lt,gn]);return ve.createElement("div",{className:`${gn}-wrapper-body`,style:vt},Sn,ve.createElement("div",{className:`${gn}-body`,style:et},Pt),Bt)},Tt=ce(33234),wt=ce(83116),it=ce(37613),at=Bn=>{const{componentCls:gn,motionDurationSlow:Se}=Bn,Fe={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Se}`}}};return{[gn]:{[`${gn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Se}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${gn}-panel-motion`]:{"&-left":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Yt=Bn=>{const{componentCls:gn,zIndexPopup:Se,colorBgMask:Fe,colorBgElevated:ie,motionDurationSlow:ae,motionDurationMid:se,padding:oe,paddingLG:Ye,fontSizeLG:vt,lineHeightLG:et,lineWidth:lt,lineType:Pt,colorSplit:Mt,marginSM:kt,colorIcon:$t,colorIconHover:Sn,colorText:Bt,fontWeightStrong:nn,footerPaddingBlock:tn,footerPaddingInline:zt}=Bn,pt=`${gn}-content-wrapper`;return{[gn]:{position:"fixed",inset:0,zIndex:Se,pointerEvents:"none","&-pure":{position:"relative",background:ie,[`&${gn}-left`]:{boxShadow:Bn.boxShadowDrawerLeft},[`&${gn}-right`]:{boxShadow:Bn.boxShadowDrawerRight},[`&${gn}-top`]:{boxShadow:Bn.boxShadowDrawerUp},[`&${gn}-bottom`]:{boxShadow:Bn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${gn}-mask`]:{position:"absolute",inset:0,zIndex:Se,background:Fe,pointerEvents:"auto"},[pt]:{position:"absolute",zIndex:Se,maxWidth:"100vw",transition:`all ${ae}`,"&-hidden":{display:"none"}},[`&-left > ${pt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Bn.boxShadowDrawerLeft},[`&-right > ${pt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Bn.boxShadowDrawerRight},[`&-top > ${pt}`]:{top:0,insetInline:0,boxShadow:Bn.boxShadowDrawerUp},[`&-bottom > ${pt}`]:{bottom:0,insetInline:0,boxShadow:Bn.boxShadowDrawerDown},[`${gn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ie,pointerEvents:"auto"},[`${gn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${gn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${oe}px ${Ye}px`,fontSize:vt,lineHeight:et,borderBottom:`${lt}px ${Pt} ${Mt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${gn}-extra`]:{flex:"none"},[`${gn}-close`]:{display:"inline-block",marginInlineEnd:kt,color:$t,fontWeight:nn,fontSize:vt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${se}`,textRendering:"auto","&:focus, &:hover":{color:Sn,textDecoration:"none"}},[`${gn}-title`]:{flex:1,margin:0,color:Bt,fontWeight:Bn.fontWeightStrong,fontSize:vt,lineHeight:et},[`${gn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ye,overflow:"auto"},[`${gn}-footer`]:{flexShrink:0,padding:`${tn}px ${zt}px`,borderTop:`${lt}px ${Pt} ${Mt}`},"&-rtl":{direction:"rtl"}}}};var Vt=(0,wt.Z)("Drawer",Bn=>{const gn=(0,it.TS)(Bn,{});return[Yt(gn),at(gn)]},Bn=>({zIndexPopup:Bn.zIndexPopupBase,footerPaddingBlock:Bn.paddingXS,footerPaddingInline:Bn.padding})),St=ce(11575),Qt=function(Bn,gn){var Se={};for(var Fe in Bn)Object.prototype.hasOwnProperty.call(Bn,Fe)&&gn.indexOf(Fe)<0&&(Se[Fe]=Bn[Fe]);if(Bn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Fe=Object.getOwnPropertySymbols(Bn);ie<Fe.length;ie++)gn.indexOf(Fe[ie])<0&&Object.prototype.propertyIsEnumerable.call(Bn,Fe[ie])&&(Se[Fe[ie]]=Bn[Fe[ie]]);return Se};const cn=null,Nn={distance:180},fn=Bn=>{var gn;const{rootClassName:Se,width:Fe,height:ie,size:ae="default",mask:se=!0,push:oe=Nn,open:Ye,afterOpenChange:vt,onClose:et,prefixCls:lt,getContainer:Pt,style:Mt,className:kt,visible:$t,afterVisibleChange:Sn}=Bn,Bt=Qt(Bn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:nn,getPrefixCls:tn,direction:zt,drawer:pt}=ve.useContext(Lt.E_),Wt=tn("drawer",lt),[vn,xn]=Vt(Wt),Wn=Pt===void 0&&nn?()=>nn(document.body):Pt,br=Me()({"no-mask":!se,[`${Wt}-rtl`]:zt==="rtl"},Se,xn),Lr=ve.useMemo(()=>Fe!=null?Fe:ae==="large"?736:378,[Fe,ae]),jr=ve.useMemo(()=>ie!=null?ie:ae==="large"?736:378,[ie,ae]),Qr={motionName:(0,Je.m)(Wt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},vr=Tr=>({motionName:(0,Je.m)(Wt,`panel-motion-${Tr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ar=(0,St.H)();return vn(ve.createElement(Tt.BR,null,ve.createElement(Re.Ux,{status:!0,override:!0},ve.createElement(xt,Object.assign({prefixCls:Wt,onClose:et,maskMotion:Qr,motion:vr},Bt,{open:Ye!=null?Ye:$t,mask:se,push:oe,width:Lr,height:jr,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),Mt),className:Me()(pt==null?void 0:pt.className,kt),rootClassName:br,getContainer:Wn,afterOpenChange:vt!=null?vt:Sn,panelRef:Ar}),ve.createElement(bt,Object.assign({prefixCls:Wt},Bt,{onClose:et}))))))},Ln=Bn=>{const{prefixCls:gn,style:Se,className:Fe,placement:ie="right"}=Bn,ae=Qt(Bn,["prefixCls","style","className","placement"]),{getPrefixCls:se}=ve.useContext(Lt.E_),oe=se("drawer",gn),[Ye,vt]=Vt(oe),et=Me()(oe,`${oe}-pure`,`${oe}-${ie}`,vt,Fe);return Ye(ve.createElement("div",{className:et,style:Se},ve.createElement(bt,Object.assign({prefixCls:oe},ae))))};fn._InternalPanelDoNotUseOrYouWillBeFired=Ln;var Cn=fn},91857:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(38819),Ue=ce(92310),At=ce.n(Ue),Ne=ce(31561),Le=ce(70425),ve=ce(18929),Ae=ce(2738),we=ce(79676),fe=ce(53487),ze=ce(92343),Be=ce(36355),_e=ce(20834),Oe=ce(40875),He=ce(70305),ke=ce(47211);const Te=null,Pe=We=>{const{menu:Ze,arrow:$e,prefixCls:rt,children:ht,trigger:dt,disabled:xt,dropdownRender:Je,getPopupContainer:Lt,overlayClassName:Re,rootClassName:Rt,open:Ft,onOpenChange:bt,visible:Tt,onVisibleChange:wt,mouseEnterDelay:it=.15,mouseLeaveDelay:je=.1,autoAdjustOverflow:at=!0,placement:Yt="",overlay:Vt,transitionName:St}=We,{getPopupContainer:Qt,getPrefixCls:cn,direction:Nn}=he.useContext(Be.E_),fn=he.useMemo(()=>{const kt=cn();return St!==void 0?St:Yt.includes("top")?`${kt}-slide-down`:`${kt}-slide-up`},[cn,Yt,St]),Ln=he.useMemo(()=>Yt?Yt.includes("Center")?Yt.slice(0,Yt.indexOf("Center")):Yt:Nn==="rtl"?"bottomRight":"bottomLeft",[Yt,Nn]),Cn=cn("dropdown",rt),[Bn,gn]=(0,ke.Z)(Cn),[,Se]=(0,He.Z)(),Fe=he.Children.only(ht),ie=(0,ze.Tm)(Fe,{className:At()(`${Cn}-trigger`,{[`${Cn}-rtl`]:Nn==="rtl"},Fe.props.className),disabled:xt}),ae=xt?[]:dt;let se;ae&&ae.includes("contextMenu")&&(se=!0);const[oe,Ye]=(0,ve.Z)(!1,{value:Ft!=null?Ft:Tt}),vt=(0,Le.useEvent)(kt=>{bt==null||bt(kt),wt==null||wt(kt),Ye(kt)}),et=At()(Re,Rt,gn,{[`${Cn}-rtl`]:Nn==="rtl"}),lt=(0,we.Z)({arrowPointAtCenter:typeof $e=="object"&&$e.pointAtCenter,autoAdjustOverflow:at,offset:Se.marginXXS,arrowWidth:$e?Se.sizePopupArrow:0,borderRadius:Se.borderRadius}),Pt=he.useCallback(()=>{Ye(!1)},[]),Mt=()=>{let kt;return Ze!=null&&Ze.items?kt=he.createElement(_e.default,Object.assign({},Ze)):typeof Vt=="function"?kt=Vt():kt=Vt,Je&&(kt=Je(kt)),kt=he.Children.only(typeof kt=="string"?he.createElement("span",null,kt):kt),he.createElement(Oe.J,{prefixCls:`${Cn}-menu`,expandIcon:he.createElement("span",{className:`${Cn}-menu-submenu-arrow`},he.createElement(Me.Z,{className:`${Cn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:$t=>{let{mode:Sn}=$t}},kt)};return Bn(he.createElement(Ne.Z,Object.assign({alignPoint:se},(0,Ae.Z)(We,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:je,visible:oe,builtinPlacements:lt,arrow:!!$e,overlayClassName:et,prefixCls:Cn,getPopupContainer:Lt||Qt,transitionName:fn,trigger:ae,overlay:Mt,placement:Ln,onVisibleChange:vt}),ie))};function Xe(We){return Object.assign(Object.assign({},We),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ke=(0,fe.Z)(Pe,"dropdown",We=>We,Xe),qe=We=>he.createElement(Ke,Object.assign({},We),he.createElement("span",null));Pe._InternalPanelDoNotUseOrYouWillBeFired=qe,Xt.Z=Pe},38854:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return He}});var he=ce(91857),Me=ce(92310),Ue=ce.n(Me),At=ce(59301),Ne=ce(18785),Le=ce(3113),ve=ce(36355),Ae=ce(81327),we=ce(33234),fe=ce(47211),ze=function(ke,Te){var Pe={};for(var Xe in ke)Object.prototype.hasOwnProperty.call(ke,Xe)&&Te.indexOf(Xe)<0&&(Pe[Xe]=ke[Xe]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,Xe=Object.getOwnPropertySymbols(ke);Ke<Xe.length;Ke++)Te.indexOf(Xe[Ke])<0&&Object.prototype.propertyIsEnumerable.call(ke,Xe[Ke])&&(Pe[Xe[Ke]]=ke[Xe[Ke]]);return Pe};const Be=ke=>{const{getPopupContainer:Te,getPrefixCls:Pe,direction:Xe}=At.useContext(ve.E_),{prefixCls:Ke,type:qe="default",danger:We,disabled:Ze,loading:$e,onClick:rt,htmlType:ht,children:dt,className:xt,menu:Je,arrow:Lt,autoFocus:Re,overlay:Rt,trigger:Ft,align:bt,open:Tt,onOpenChange:wt,placement:it,getPopupContainer:je,href:at,icon:Yt=At.createElement(Ne.Z,null),title:Vt,buttonsRender:St=Mt=>Mt,mouseEnterDelay:Qt,mouseLeaveDelay:cn,overlayClassName:Nn,overlayStyle:fn,destroyPopupOnHide:Ln,dropdownRender:Cn}=ke,Bn=ze(ke,["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"]),gn=Pe("dropdown",Ke),Se=`${gn}-button`,[Fe,ie]=(0,fe.Z)(gn),ae={menu:Je,arrow:Lt,autoFocus:Re,align:bt,disabled:Ze,trigger:Ze?[]:Ft,onOpenChange:wt,getPopupContainer:je||Te,mouseEnterDelay:Qt,mouseLeaveDelay:cn,overlayClassName:Nn,overlayStyle:fn,destroyPopupOnHide:Ln,dropdownRender:Cn},{compactSize:se,compactItemClassnames:oe}=(0,we.ri)(gn,Xe),Ye=Ue()(Se,oe,xt,ie);"overlay"in ke&&(ae.overlay=Rt),"open"in ke&&(ae.open=Tt),"placement"in ke?ae.placement=it:ae.placement=Xe==="rtl"?"bottomLeft":"bottomRight";const vt=At.createElement(Le.ZP,{type:qe,danger:We,disabled:Ze,loading:$e,onClick:rt,htmlType:ht,href:at,title:Vt},dt),et=At.createElement(Le.ZP,{type:qe,danger:We,icon:Yt}),[lt,Pt]=St([vt,et]);return Fe(At.createElement(Ae.Z.Compact,Object.assign({className:Ye,size:se,block:!0},Bn),lt,At.createElement(he.Z,Object.assign({},ae),Pt)))};Be.__ANT_BUTTON=!0;var _e=Be;const Oe=he.Z;Oe.Button=_e;var He=Oe},47211:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ze}});var he=ce(17313),Me=ce(13826),Ue=ce(92899),At=ce(29878),Ne=ce(19447),Le=ce(83116),ve=ce(37613),we=Be=>{const{componentCls:_e,menuCls:Oe,colorError:He,colorTextLightSolid:ke}=Be,Te=`${Oe}-item`;return{[`${_e}, ${_e}-menu-submenu`]:{[`${Oe} ${Te}`]:{[`&${Te}-danger:not(${Te}-disabled)`]:{color:He,"&:hover":{color:ke,backgroundColor:He}}}}}};const fe=Be=>{const{componentCls:_e,menuCls:Oe,zIndexPopup:He,dropdownArrowDistance:ke,sizePopupArrow:Te,antCls:Pe,iconCls:Xe,motionDurationMid:Ke,dropdownPaddingVertical:qe,fontSize:We,dropdownEdgeChildPadding:Ze,colorTextDisabled:$e,fontSizeIcon:rt,controlPaddingHorizontal:ht,colorBgElevated:dt}=Be;return[{[_e]:Object.assign(Object.assign({},(0,he.Wf)(Be)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:He,display:"block","&::before":{position:"absolute",insetBlock:-ke+Te/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Pe}-btn`]:{[`& > ${Xe}-down, & > ${Pe}-btn-icon > ${Xe}-down`]:{fontSize:rt}},[`${_e}-wrap`]:{position:"relative",[`${Pe}-btn > ${Xe}-down`]:{fontSize:rt},[`${Xe}-down::before`]:{transition:`transform ${Ke}`}},[`${_e}-wrap-open`]:{[`${Xe}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Pe}-slide-down-enter${Pe}-slide-down-enter-active${_e}-placement-bottomLeft,
&${Pe}-slide-down-appear${Pe}-slide-down-appear-active${_e}-placement-bottomLeft,
&${Pe}-slide-down-enter${Pe}-slide-down-enter-active${_e}-placement-bottom,
&${Pe}-slide-down-appear${Pe}-slide-down-appear-active${_e}-placement-bottom,
&${Pe}-slide-down-enter${Pe}-slide-down-enter-active${_e}-placement-bottomRight,
&${Pe}-slide-down-appear${Pe}-slide-down-appear-active${_e}-placement-bottomRight`]:{animationName:Me.fJ},[`&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${_e}-placement-topLeft,
&${Pe}-slide-up-appear${Pe}-slide-up-appear-active${_e}-placement-topLeft,
&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${_e}-placement-top,
&${Pe}-slide-up-appear${Pe}-slide-up-appear-active${_e}-placement-top,
&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${_e}-placement-topRight,
&${Pe}-slide-up-appear${Pe}-slide-up-appear-active${_e}-placement-topRight`]:{animationName:Me.Qt},[`&${Pe}-slide-down-leave${Pe}-slide-down-leave-active${_e}-placement-bottomLeft,
&${Pe}-slide-down-leave${Pe}-slide-down-leave-active${_e}-placement-bottom,
&${Pe}-slide-down-leave${Pe}-slide-down-leave-active${_e}-placement-bottomRight`]:{animationName:Me.Uw},[`&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${_e}-placement-topLeft,
&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${_e}-placement-top,
&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${_e}-placement-topRight`]:{animationName:Me.ly}})},(0,Ne.ZP)(Be,{colorBg:dt,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${_e} ${Oe}`]:{position:"relative",margin:0},[`${Oe}-submenu-popup`]:{position:"absolute",zIndex:He,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${_e}, ${_e}-menu-submenu`]:{[Oe]:Object.assign(Object.assign({padding:Ze,listStyleType:"none",backgroundColor:dt,backgroundClip:"padding-box",borderRadius:Be.borderRadiusLG,outline:"none",boxShadow:Be.boxShadowSecondary},(0,he.Qy)(Be)),{[`${Oe}-item-group-title`]:{padding:`${qe}px ${ht}px`,color:Be.colorTextDescription,transition:`all ${Ke}`},[`${Oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Oe}-item-icon`]:{minWidth:We,marginInlineEnd:Be.marginXS,fontSize:Be.fontSizeSM},[`${Oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Ke}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Oe}-item, ${Oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${qe}px ${ht}px`,color:Be.colorText,fontWeight:"normal",fontSize:We,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${Ke}`,borderRadius:Be.borderRadiusSM,"&:hover, &-active":{backgroundColor:Be.controlItemBgHover}},(0,he.Qy)(Be)),{"&-selected":{color:Be.colorPrimary,backgroundColor:Be.controlItemBgActive,"&:hover, &-active":{backgroundColor:Be.controlItemBgActiveHover}},"&-disabled":{color:$e,cursor:"not-allowed","&:hover":{color:$e,backgroundColor:dt,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Be.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Be.colorSplit},[`${_e}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Be.paddingXS,[`${_e}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Be.colorTextDescription,fontSize:rt,fontStyle:"normal"}}}),[`${Oe}-item-group-list`]:{margin:`0 ${Be.marginXS}px`,padding:0,listStyle:"none"},[`${Oe}-submenu-title`]:{paddingInlineEnd:ht+Be.fontSizeSM},[`${Oe}-submenu-vertical`]:{position:"relative"},[`${Oe}-submenu${Oe}-submenu-disabled ${_e}-menu-submenu-title`]:{[`&, ${_e}-menu-submenu-arrow-icon`]:{color:$e,backgroundColor:dt,cursor:"not-allowed"}},[`${Oe}-submenu-selected ${_e}-menu-submenu-title`]:{color:Be.colorPrimary}})}},[(0,Me.oN)(Be,"slide-up"),(0,Me.oN)(Be,"slide-down"),(0,Ue.Fm)(Be,"move-up"),(0,Ue.Fm)(Be,"move-down"),(0,At._y)(Be,"zoom-big")]]};var ze=(0,Le.Z)("Dropdown",(Be,_e)=>{let{rootPrefixCls:Oe}=_e;const{marginXXS:He,sizePopupArrow:ke,controlHeight:Te,fontSize:Pe,lineHeight:Xe,paddingXXS:Ke,componentCls:qe,borderRadiusLG:We}=Be,Ze=(Te-Pe*Xe)/2,{dropdownArrowOffset:$e}=(0,Ne.fS)({contentRadius:We}),rt=(0,ve.TS)(Be,{menuCls:`${qe}-menu`,rootPrefixCls:Oe,dropdownArrowDistance:ke/2+He,dropdownArrowOffset:$e,dropdownPaddingVertical:Ze,dropdownEdgeChildPadding:Ke});return[fe(rt),we(rt)]},Be=>({zIndexPopup:Be.zIndexPopupBase+50}))},64165:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ke}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(9763),Le=ce(64993),ve=ce(70305),we=()=>{const[,qe]=(0,ve.Z)(),Ze=new Le.C(qe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Ue.createElement("svg",{style:Ze,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Ue.createElement("g",{fill:"none",fillRule:"evenodd"},Ue.createElement("g",{transform:"translate(24 31.67)"},Ue.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Ue.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"}),Ue.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)"}),Ue.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"}),Ue.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"})),Ue.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"}),Ue.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Ue.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Ue.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ze=()=>{const[,qe]=(0,ve.Z)(),{colorFill:We,colorFillTertiary:Ze,colorFillQuaternary:$e,colorBgContainer:rt}=qe,{borderColor:ht,shadowColor:dt,contentColor:xt}=(0,Ue.useMemo)(()=>({borderColor:new Le.C(We).onBackground(rt).toHexShortString(),shadowColor:new Le.C(Ze).onBackground(rt).toHexShortString(),contentColor:new Le.C($e).onBackground(rt).toHexShortString()}),[We,Ze,$e,rt]);return Ue.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Ue.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Ue.createElement("ellipse",{fill:dt,cx:"32",cy:"33",rx:"32",ry:"7"}),Ue.createElement("g",{fillRule:"nonzero",stroke:ht},Ue.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"}),Ue.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:xt}))))},Be=ce(83116),_e=ce(37613);const Oe=qe=>{const{componentCls:We,margin:Ze,marginXS:$e,marginXL:rt,fontSize:ht,lineHeight:dt}=qe;return{[We]:{marginInline:$e,fontSize:ht,lineHeight:dt,textAlign:"center",[`${We}-image`]:{height:qe.emptyImgHeight,marginBottom:$e,opacity:qe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${We}-description`]:{color:qe.colorText},[`${We}-footer`]:{marginTop:Ze},"&-normal":{marginBlock:rt,color:qe.colorTextDisabled,[`${We}-description`]:{color:qe.colorTextDisabled},[`${We}-image`]:{height:qe.emptyImgHeightMD}},"&-small":{marginBlock:$e,color:qe.colorTextDisabled,[`${We}-image`]:{height:qe.emptyImgHeightSM}}}}};var He=(0,Be.Z)("Empty",qe=>{const{componentCls:We,controlHeightLG:Ze}=qe,$e=(0,_e.TS)(qe,{emptyImgCls:`${We}-img`,emptyImgHeight:Ze*2.5,emptyImgHeightMD:Ze,emptyImgHeightSM:Ze*.875});return[Oe($e)]}),ke=function(qe,We){var Ze={};for(var $e in qe)Object.prototype.hasOwnProperty.call(qe,$e)&&We.indexOf($e)<0&&(Ze[$e]=qe[$e]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,$e=Object.getOwnPropertySymbols(qe);rt<$e.length;rt++)We.indexOf($e[rt])<0&&Object.prototype.propertyIsEnumerable.call(qe,$e[rt])&&(Ze[$e[rt]]=qe[$e[rt]]);return Ze};const Te=Ue.createElement(we,null),Pe=Ue.createElement(ze,null),Xe=qe=>{var{className:We,rootClassName:Ze,prefixCls:$e,image:rt=Te,description:ht,children:dt,imageStyle:xt,style:Je}=qe,Lt=ke(qe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Re,direction:Rt,empty:Ft}=Ue.useContext(At.E_),bt=Re("empty",$e),[Tt,wt]=He(bt),[it]=(0,Ne.Z)("Empty"),je=typeof ht!="undefined"?ht:it==null?void 0:it.description,at=typeof je=="string"?je:"empty";let Yt=null;return typeof rt=="string"?Yt=Ue.createElement("img",{alt:at,src:rt}):Yt=rt,Tt(Ue.createElement("div",Object.assign({className:Me()(wt,bt,Ft==null?void 0:Ft.className,{[`${bt}-normal`]:rt===Pe,[`${bt}-rtl`]:Rt==="rtl"},We,Ze),style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),Je)},Lt),Ue.createElement("div",{className:`${bt}-image`,style:xt},Yt),je&&Ue.createElement("div",{className:`${bt}-description`},je),dt&&Ue.createElement("div",{className:`${bt}-footer`},dt)))};Xe.PRESENTED_IMAGE_DEFAULT=Te,Xe.PRESENTED_IMAGE_SIMPLE=Pe;var Ke=Xe},78241:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Ea}});var he=ce(77654),Me=ce(92310),Ue=ce.n(Me),At=ce(77900),Ne=ce(59301),Le=ce(62892),ve=ce(32441);function Ae(Fn){const[Dt,Gt]=Ne.useState(Fn);return Ne.useEffect(()=>{const Zt=setTimeout(()=>{Gt(Fn)},Fn.length?0:10);return()=>{clearTimeout(Zt)}},[Fn]),Dt}var we=ce(17313),fe=ce(29878),ze=ce(8378),Be=ce(37613),_e=ce(83116),He=Fn=>{const{componentCls:Dt}=Fn,Gt=`${Dt}-show-help`,Zt=`${Dt}-show-help-item`;return{[Gt]:{transition:`opacity ${Fn.motionDurationSlow} ${Fn.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Zt]:{overflow:"hidden",transition:`height ${Fn.motionDurationSlow} ${Fn.motionEaseInOut},
opacity ${Fn.motionDurationSlow} ${Fn.motionEaseInOut},
transform ${Fn.motionDurationSlow} ${Fn.motionEaseInOut} !important`,[`&${Zt}-appear, &${Zt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Zt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ke=Fn=>({legend:{display:"block",width:"100%",marginBottom:Fn.marginLG,padding:0,color:Fn.colorTextDescription,fontSize:Fn.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Fn.lineWidth}px ${Fn.lineType} ${Fn.colorBorder}`},label:{fontSize:Fn.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 ${Fn.controlOutlineWidth}px ${Fn.controlOutline}`},output:{display:"block",paddingTop:15,color:Fn.colorText,fontSize:Fn.fontSize,lineHeight:Fn.lineHeight}}),Te=(Fn,Dt)=>{const{formItemCls:Gt}=Fn;return{[Gt]:{[`${Gt}-label > label`]:{height:Dt},[`${Gt}-control-input`]:{minHeight:Dt}}}},Pe=Fn=>{const{componentCls:Dt}=Fn;return{[Fn.componentCls]:Object.assign(Object.assign(Object.assign({},(0,we.Wf)(Fn)),ke(Fn)),{[`${Dt}-text`]:{display:"inline-block",paddingInlineEnd:Fn.paddingSM},"&-small":Object.assign({},Te(Fn,Fn.controlHeightSM)),"&-large":Object.assign({},Te(Fn,Fn.controlHeightLG))})}},Xe=Fn=>{const{formItemCls:Dt,iconCls:Gt,componentCls:Zt,rootPrefixCls:jt,labelRequiredMarkColor:on,labelColor:Mn,labelFontSize:ir,labelHeight:qn,labelColonMarginInlineStart:pr,labelColonMarginInlineEnd:Gr,itemMarginBottom:Zr}=Fn;return{[Dt]:Object.assign(Object.assign({},(0,we.Wf)(Fn)),{marginBottom:Zr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${jt}-row`]:{display:"none"},"&-has-warning":{[`${Dt}-split`]:{color:Fn.colorError}},"&-has-error":{[`${Dt}-split`]:{color:Fn.colorWarning}},[`${Dt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Fn.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:qn,color:Mn,fontSize:ir,[`> ${Gt}`]:{fontSize:Fn.fontSize,verticalAlign:"top"},[`&${Dt}-required:not(${Dt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Fn.marginXXS,color:on,fontSize:Fn.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Zt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-optional`]:{display:"inline-block",marginInlineStart:Fn.marginXXS,color:Fn.colorTextDescription,[`${Zt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-tooltip`]:{color:Fn.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Fn.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:pr,marginInlineEnd:Gr},[`&${Dt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Dt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${jt}-col-'"]):not([class*="' ${jt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Fn.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Dt]:{"&-explain, &-extra":{clear:"both",color:Fn.colorTextDescription,fontSize:Fn.fontSize,lineHeight:Fn.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Fn.controlHeightSM,transition:`color ${Fn.motionDurationMid} ${Fn.motionEaseOut}`},"&-explain":{"&-error":{color:Fn.colorError},"&-warning":{color:Fn.colorWarning}}},[`&-with-help ${Dt}-explain`]:{height:"auto",opacity:1},[`${Dt}-feedback-icon`]:{fontSize:Fn.fontSize,textAlign:"center",visibility:"visible",animationName:fe.kr,animationDuration:Fn.motionDurationMid,animationTimingFunction:Fn.motionEaseOutBack,pointerEvents:"none","&-success":{color:Fn.colorSuccess},"&-error":{color:Fn.colorError},"&-warning":{color:Fn.colorWarning},"&-validating":{color:Fn.colorPrimary}}})}},Ke=Fn=>{const{componentCls:Dt,formItemCls:Gt}=Fn;return{[`${Dt}-horizontal`]:{[`${Gt}-label`]:{flexGrow:0},[`${Gt}-control`]:{flex:"1 1 0",minWidth:0},[`${Gt}-label[class$='-24'], ${Gt}-label[class*='-24 ']`]:{[`& + ${Gt}-control`]:{minWidth:"unset"}}}}},qe=Fn=>{const{componentCls:Dt,formItemCls:Gt}=Fn;return{[`${Dt}-inline`]:{display:"flex",flexWrap:"wrap",[Gt]:{flex:"none",marginInlineEnd:Fn.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Gt}-label,
> ${Gt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Gt}-label`]:{flex:"none"},[`${Dt}-text`]:{display:"inline-block"},[`${Gt}-has-feedback`]:{display:"inline-block"}}}}},We=Fn=>({padding:Fn.verticalLabelPadding,margin:Fn.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Ze=Fn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Zt}=Fn;return{[`${Gt} ${Gt}-label`]:We(Fn),[Dt]:{[Gt]:{flexWrap:"wrap",[`${Gt}-label, ${Gt}-control`]:{[`&:not([class*=" ${Zt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},$e=Fn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Zt}=Fn;return{[`${Dt}-vertical`]:{[Gt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Dt}-item-control`]:{width:"100%"}}},[`${Dt}-vertical ${Gt}-label,
.${Zt}-col-24${Gt}-label,
.${Zt}-col-xl-24${Gt}-label`]:We(Fn),[`@media (max-width: ${Fn.screenXSMax}px)`]:[Ze(Fn),{[Dt]:{[`.${Zt}-col-xs-24${Gt}-label`]:We(Fn)}}],[`@media (max-width: ${Fn.screenSMMax}px)`]:{[Dt]:{[`.${Zt}-col-sm-24${Gt}-label`]:We(Fn)}},[`@media (max-width: ${Fn.screenMDMax}px)`]:{[Dt]:{[`.${Zt}-col-md-24${Gt}-label`]:We(Fn)}},[`@media (max-width: ${Fn.screenLGMax}px)`]:{[Dt]:{[`.${Zt}-col-lg-24${Gt}-label`]:We(Fn)}}}},rt=(Fn,Dt)=>(0,Be.TS)(Fn,{formItemCls:`${Fn.componentCls}-item`,rootPrefixCls:Dt});var ht=(0,_e.Z)("Form",(Fn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Zt=rt(Fn,Gt);return[Pe(Zt),Xe(Zt),He(Zt),Ke(Zt),qe(Zt),$e(Zt),(0,ze.Z)(Zt),fe.kr]},Fn=>({labelRequiredMarkColor:Fn.colorError,labelColor:Fn.colorTextHeading,labelFontSize:Fn.fontSize,labelHeight:Fn.controlHeight,labelColonMarginInlineStart:Fn.marginXXS/2,labelColonMarginInlineEnd:Fn.marginXS,itemMarginBottom:Fn.marginLG,verticalLabelPadding:`0 0 ${Fn.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const dt=[];function xt(Fn,Dt,Gt){let Zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Fn=="string"?Fn:`${Dt}-${Zt}`,error:Fn,errorStatus:Gt}}var Lt=Fn=>{let{help:Dt,helpStatus:Gt,errors:Zt=dt,warnings:jt=dt,className:on,fieldId:Mn,onVisibleChanged:ir}=Fn;const{prefixCls:qn}=Ne.useContext(ve.Rk),pr=`${qn}-item-explain`,[,Gr]=ht(qn),Zr=(0,Ne.useMemo)(()=>(0,Le.Z)(qn),[qn]),$r=Ae(Zt),Xn=Ae(jt),Or=Ne.useMemo(()=>Dt!=null?[xt(Dt,"help",Gt)]:[].concat((0,he.Z)($r.map((vi,Zi)=>xt(vi,"error","error",Zi))),(0,he.Z)(Xn.map((vi,Zi)=>xt(vi,"warning","warning",Zi)))),[Dt,Gt,$r,Xn]),ki={};return Mn&&(ki.id=`${Mn}_help`),Ne.createElement(At.default,{motionDeadline:Zr.motionDeadline,motionName:`${qn}-show-help`,visible:!!Or.length,onVisibleChanged:ir},vi=>{const{className:Zi,style:xi}=vi;return Ne.createElement("div",Object.assign({},ki,{className:Ue()(pr,Zi,on,Gr),style:xi,role:"alert"}),Ne.createElement(At.CSSMotionList,Object.assign({keys:Or},(0,Le.Z)(qn),{motionName:`${qn}-show-help-item`,component:!1}),Ca=>{const{key:si,error:oa,errorStatus:mn,className:mr,style:dr}=Ca;return Ne.createElement("div",{key:si,className:Ue()(mr,{[`${pr}-${mn}`]:mn}),style:dr},oa)}))})},Re=ce(95013),Rt=ce(36355),Ft=ce(1684),bt=ce(52946),Tt=ce(19716),wt=ce(16722);const it=["parentNode"],je="form_item";function at(Fn){return Fn===void 0||Fn===!1?[]:Array.isArray(Fn)?Fn:[Fn]}function Yt(Fn,Dt){if(!Fn.length)return;const Gt=Fn.join("_");return Dt?`${Dt}_${Gt}`:it.includes(Gt)?`${je}_${Gt}`:Gt}function Vt(Fn,Dt,Gt,Zt,jt,on){let Mn=Zt;return on!==void 0?Mn=on:Gt.validating?Mn="validating":Fn.length?Mn="error":Dt.length?Mn="warning":(Gt.touched||jt&&Gt.validated)&&(Mn="success"),Mn}function St(Fn){return at(Fn).join("_")}function Qt(Fn){const[Dt]=(0,Re.useForm)(),Gt=Ne.useRef({}),Zt=Ne.useMemo(()=>Fn!=null?Fn:Object.assign(Object.assign({},Dt),{__INTERNAL__:{itemRef:jt=>on=>{const Mn=St(jt);on?Gt.current[Mn]=on:delete Gt.current[Mn]}},scrollToField:function(jt){let on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Mn=at(jt),ir=Yt(Mn,Zt.__INTERNAL__.name),qn=ir?document.getElementById(ir):null;qn&&(0,wt.Z)(qn,Object.assign({scrollMode:"if-needed",block:"nearest"},on))},getFieldInstance:jt=>{const on=St(jt);return Gt.current[on]}}),[Fn,Dt]);return[Zt]}var cn=ce(28726),Nn=function(Fn,Dt){var Gt={};for(var Zt in Fn)Object.prototype.hasOwnProperty.call(Fn,Zt)&&Dt.indexOf(Zt)<0&&(Gt[Zt]=Fn[Zt]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Zt=Object.getOwnPropertySymbols(Fn);jt<Zt.length;jt++)Dt.indexOf(Zt[jt])<0&&Object.prototype.propertyIsEnumerable.call(Fn,Zt[jt])&&(Gt[Zt[jt]]=Fn[Zt[jt]]);return Gt};const fn=(Fn,Dt)=>{const Gt=Ne.useContext(Ft.Z),{getPrefixCls:Zt,direction:jt,form:on}=Ne.useContext(Rt.E_),{prefixCls:Mn,className:ir,rootClassName:qn,size:pr,disabled:Gr=Gt,form:Zr,colon:$r,labelAlign:Xn,labelWrap:Or,labelCol:ki,wrapperCol:vi,hideRequiredMark:Zi,layout:xi="horizontal",scrollToFirstError:Ca,requiredMark:si,onFinishFailed:oa,name:mn,style:mr,feedbackIcons:dr}=Fn,Wr=Nn(Fn,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),wr=(0,Tt.Z)(pr),Mr=Ne.useContext(cn.Z),Fr=(0,Ne.useMemo)(()=>si!==void 0?si:on&&on.requiredMark!==void 0?on.requiredMark:!Zi,[Zi,si,on]),ui=$r!=null?$r:on==null?void 0:on.colon,yi=Zt("form",Mn),[Hi,Oa]=ht(yi),Qa=Ue()(yi,`${yi}-${xi}`,{[`${yi}-hide-required-mark`]:Fr===!1,[`${yi}-rtl`]:jt==="rtl",[`${yi}-${wr}`]:wr},Oa,on==null?void 0:on.className,ir,qn),[oo]=Qt(Zr),{__INTERNAL__:La}=oo;La.name=mn;const Da=(0,Ne.useMemo)(()=>({name:mn,labelAlign:Xn,labelCol:ki,labelWrap:Or,wrapperCol:vi,vertical:xi==="vertical",colon:ui,requiredMark:Fr,itemRef:La.itemRef,form:oo,feedbackIcons:dr}),[mn,Xn,ki,vi,xi,ui,Fr,oo,dr]);Ne.useImperativeHandle(Dt,()=>oo);const po=(io,va)=>{if(io){let ka={block:"nearest"};typeof io=="object"&&(ka=io),oo.scrollToField(va,ka)}},Za=io=>{if(oa==null||oa(io),io.errorFields.length){const va=io.errorFields[0].name;if(Ca!==void 0){po(Ca,va);return}on&&on.scrollToFirstError!==void 0&&po(on.scrollToFirstError,va)}};return Hi(Ne.createElement(Ft.n,{disabled:Gr},Ne.createElement(bt.q,{size:wr},Ne.createElement(ve.RV,Object.assign({},{validateMessages:Mr}),Ne.createElement(ve.q3.Provider,{value:Da},Ne.createElement(Re.default,Object.assign({id:mn},Wr,{name:mn,onFinishFailed:Za,form:oo,style:Object.assign(Object.assign({},on==null?void 0:on.style),mr),className:Qa})))))))};var Cn=Ne.forwardRef(fn),Bn=ce(41799),gn=ce(8654),Se=ce(92343),Fe=ce(11592);function ie(Fn){if(typeof Fn=="function")return Fn;const Dt=(0,Fe.Z)(Fn);return Dt.length<=1?Dt[0]:Dt}const ae=()=>{const{status:Fn,errors:Dt=[],warnings:Gt=[]}=(0,Ne.useContext)(ve.aM);return{status:Fn,errors:Dt,warnings:Gt}};ae.Context=ve.aM;var se=ae,oe=ce(16089);function Ye(Fn){const[Dt,Gt]=Ne.useState(Fn),Zt=(0,Ne.useRef)(null),jt=(0,Ne.useRef)([]),on=(0,Ne.useRef)(!1);Ne.useEffect(()=>(on.current=!1,()=>{on.current=!0,oe.Z.cancel(Zt.current),Zt.current=null}),[]);function Mn(ir){on.current||(Zt.current===null&&(jt.current=[],Zt.current=(0,oe.Z)(()=>{Zt.current=null,Gt(qn=>{let pr=qn;return jt.current.forEach(Gr=>{pr=Gr(pr)}),pr})})),jt.current.push(ir))}return[Dt,Mn]}function vt(){const{itemRef:Fn}=Ne.useContext(ve.q3),Dt=Ne.useRef({});function Gt(Zt,jt){const on=jt&&typeof jt=="object"&&jt.ref,Mn=Zt.join("_");return(Dt.current.name!==Mn||Dt.current.originRef!==on)&&(Dt.current.name=Mn,Dt.current.originRef=on,Dt.current.ref=(0,gn.sQ)(Fn(Zt),on)),Dt.current.ref}return Gt}var et=ce(29194),lt=ce(34280),Pt=ce(2738),Mt=ce(27382),kt=ce(37028);const $t=Fn=>{const{formItemCls:Dt}=Fn;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Dt}-control`]:{display:"flex"}}}};var Sn=(0,_e.b)(["Form","item-item"],(Fn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Zt=rt(Fn,Gt);return[$t(Zt)]}),nn=Fn=>{const{prefixCls:Dt,status:Gt,wrapperCol:Zt,children:jt,errors:on,warnings:Mn,_internalItemRender:ir,extra:qn,help:pr,fieldId:Gr,marginBottom:Zr,onErrorVisibleChanged:$r}=Fn,Xn=`${Dt}-item`,Or=Ne.useContext(ve.q3),ki=Zt||Or.wrapperCol||{},vi=Ue()(`${Xn}-control`,ki.className),Zi=Ne.useMemo(()=>Object.assign({},Or),[Or]);delete Zi.labelCol,delete Zi.wrapperCol;const xi=Ne.createElement("div",{className:`${Xn}-control-input`},Ne.createElement("div",{className:`${Xn}-control-input-content`},jt)),Ca=Ne.useMemo(()=>({prefixCls:Dt,status:Gt}),[Dt,Gt]),si=Zr!==null||on.length||Mn.length?Ne.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Ne.createElement(ve.Rk.Provider,{value:Ca},Ne.createElement(Lt,{fieldId:Gr,errors:on,warnings:Mn,help:pr,helpStatus:Gt,className:`${Xn}-explain-connected`,onVisibleChanged:$r})),!!Zr&&Ne.createElement("div",{style:{width:0,height:Zr}})):null,oa={};Gr&&(oa.id=`${Gr}_extra`);const mn=qn?Ne.createElement("div",Object.assign({},oa,{className:`${Xn}-extra`}),qn):null,mr=ir&&ir.mark==="pro_table_render"&&ir.render?ir.render(Fn,{input:xi,errorList:si,extra:mn}):Ne.createElement(Ne.Fragment,null,xi,si,mn);return Ne.createElement(ve.q3.Provider,{value:Zi},Ne.createElement(kt.Z,Object.assign({},ki,{className:vi}),mr),Ne.createElement(Sn,{prefixCls:Dt}))},tn=ce(61485),zt=ce(31724),pt=ce(9763),Wt=ce(6848),vn=function(Fn,Dt){var Gt={};for(var Zt in Fn)Object.prototype.hasOwnProperty.call(Fn,Zt)&&Dt.indexOf(Zt)<0&&(Gt[Zt]=Fn[Zt]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Zt=Object.getOwnPropertySymbols(Fn);jt<Zt.length;jt++)Dt.indexOf(Zt[jt])<0&&Object.prototype.propertyIsEnumerable.call(Fn,Zt[jt])&&(Gt[Zt[jt]]=Fn[Zt[jt]]);return Gt};function xn(Fn){return Fn?typeof Fn=="object"&&!Ne.isValidElement(Fn)?Fn:{title:Fn}:null}var br=Fn=>{let{prefixCls:Dt,label:Gt,htmlFor:Zt,labelCol:jt,labelAlign:on,colon:Mn,required:ir,requiredMark:qn,tooltip:pr}=Fn;var Gr;const[Zr]=(0,pt.Z)("Form"),{vertical:$r,labelAlign:Xn,labelCol:Or,labelWrap:ki,colon:vi}=Ne.useContext(ve.q3);if(!Gt)return null;const Zi=jt||Or||{},xi=on||Xn,Ca=`${Dt}-item-label`,si=Ue()(Ca,xi==="left"&&`${Ca}-left`,Zi.className,{[`${Ca}-wrap`]:!!ki});let oa=Gt;const mn=Mn===!0||vi!==!1&&Mn!==!1;mn&&!$r&&typeof Gt=="string"&&Gt.trim()!==""&&(oa=Gt.replace(/[:|]\s*$/,""));const dr=xn(pr);if(dr){const{icon:Fr=Ne.createElement(tn.Z,null)}=dr,ui=vn(dr,["icon"]),yi=Ne.createElement(Wt.Z,Object.assign({},ui),Ne.cloneElement(Fr,{className:`${Dt}-item-tooltip`,title:""}));oa=Ne.createElement(Ne.Fragment,null,oa,yi)}const Wr=qn==="optional",wr=typeof qn=="function";wr?oa=qn(oa,{required:!!ir}):Wr&&!ir&&(oa=Ne.createElement(Ne.Fragment,null,oa,Ne.createElement("span",{className:`${Dt}-item-optional`,title:""},(Zr==null?void 0:Zr.optional)||((Gr=zt.Z.Form)===null||Gr===void 0?void 0:Gr.optional))));const Mr=Ue()({[`${Dt}-item-required`]:ir,[`${Dt}-item-required-mark-optional`]:Wr||wr,[`${Dt}-item-no-colon`]:!mn});return Ne.createElement(kt.Z,Object.assign({},Zi,{className:si}),Ne.createElement("label",{htmlFor:Zt,className:Mr,title:typeof Gt=="string"?Gt:""},oa))},Lr=ce(29679),jr=ce(19248),Qr=ce(96512),vr=ce(58617);const Ar={success:Lr.Z,warning:Qr.Z,error:jr.Z,validating:vr.Z};function Tr(Fn){let{children:Dt,errors:Gt,warnings:Zt,hasFeedback:jt,validateStatus:on,prefixCls:Mn,meta:ir,noStyle:qn}=Fn;const pr=`${Mn}-item`,{feedbackIcons:Gr}=Ne.useContext(ve.q3),Zr=Vt(Gt,Zt,ir,null,!!jt,on),{isFormItemInput:$r,status:Xn}=Ne.useContext(ve.aM),Or=Ne.useMemo(()=>{var ki;let vi;if(jt){const Ca=jt!==!0&&jt.icons||Gr,si=Zr&&((ki=Ca==null?void 0:Ca({status:Zr,errors:Gt,warnings:Zt}))===null||ki===void 0?void 0:ki[Zr]),oa=Zr&&Ar[Zr];vi=si!==!1&&oa?Ne.createElement("span",{className:Ue()(`${pr}-feedback-icon`,`${pr}-feedback-icon-${Zr}`)},si||Ne.createElement(oa,null)):null}let Zi=!0,xi=Zr||"";return qn&&(Zi=$r,xi=(Zr!=null?Zr:Xn)||""),{status:xi,errors:Gt,warnings:Zt,hasFeedback:!!jt,feedbackIcon:vi,isFormItemInput:Zi}},[Zr,jt,qn,$r,Xn]);return Ne.createElement(ve.aM.Provider,{value:Or},Dt)}var Bi=function(Fn,Dt){var Gt={};for(var Zt in Fn)Object.prototype.hasOwnProperty.call(Fn,Zt)&&Dt.indexOf(Zt)<0&&(Gt[Zt]=Fn[Zt]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Zt=Object.getOwnPropertySymbols(Fn);jt<Zt.length;jt++)Dt.indexOf(Zt[jt])<0&&Object.prototype.propertyIsEnumerable.call(Fn,Zt[jt])&&(Gt[Zt[jt]]=Fn[Zt[jt]]);return Gt};function $i(Fn){const{prefixCls:Dt,className:Gt,rootClassName:Zt,style:jt,help:on,errors:Mn,warnings:ir,validateStatus:qn,meta:pr,hasFeedback:Gr,hidden:Zr,children:$r,fieldId:Xn,required:Or,isRequired:ki,onSubItemMetaChange:vi}=Fn,Zi=Bi(Fn,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),xi=`${Dt}-item`,{requiredMark:Ca}=Ne.useContext(ve.q3),si=Ne.useRef(null),oa=Ae(Mn),mn=Ae(ir),mr=on!=null,dr=!!(mr||Mn.length||ir.length),Wr=!!si.current&&(0,et.Z)(si.current),[wr,Mr]=Ne.useState(null);(0,lt.Z)(()=>{if(dr&&si.current){const Oa=getComputedStyle(si.current);Mr(parseInt(Oa.marginBottom,10))}},[dr,Wr]);const Fr=Oa=>{Oa||Mr(null)},yi=function(){let Oa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Qa=Oa?oa:pr.errors,oo=Oa?mn:pr.warnings;return Vt(Qa,oo,pr,"",!!Gr,qn)}(),Hi=Ue()(xi,Gt,Zt,{[`${xi}-with-help`]:mr||oa.length||mn.length,[`${xi}-has-feedback`]:yi&&Gr,[`${xi}-has-success`]:yi==="success",[`${xi}-has-warning`]:yi==="warning",[`${xi}-has-error`]:yi==="error",[`${xi}-is-validating`]:yi==="validating",[`${xi}-hidden`]:Zr});return Ne.createElement("div",{className:Hi,style:jt,ref:si},Ne.createElement(Mt.Z,Object.assign({className:`${xi}-row`},(0,Pt.Z)(Zi,["_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"])),Ne.createElement(br,Object.assign({htmlFor:Xn},Fn,{requiredMark:Ca,required:Or!=null?Or:ki,prefixCls:Dt})),Ne.createElement(nn,Object.assign({},Fn,pr,{errors:oa,warnings:mn,prefixCls:Dt,status:yi,help:on,marginBottom:wr,onErrorVisibleChanged:Fr}),Ne.createElement(ve.qI.Provider,{value:vi},Ne.createElement(Tr,{prefixCls:Dt,meta:pr,errors:pr.errors,warnings:pr.warnings,hasFeedback:Gr,validateStatus:yi},$r)))),!!wr&&Ne.createElement("div",{className:`${xi}-margin-offset`,style:{marginBottom:-wr}}))}const mi="__SPLIT__",Mi=null,pa=Ne.memo(Fn=>{let{children:Dt}=Fn;return Dt},(Fn,Dt)=>Fn.value===Dt.value&&Fn.update===Dt.update&&Fn.childProps.length===Dt.childProps.length&&Fn.childProps.every((Gt,Zt)=>Gt===Dt.childProps[Zt]));function Dr(Fn){return Fn!=null}function _n(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function no(Fn){const{name:Dt,noStyle:Gt,className:Zt,dependencies:jt,prefixCls:on,shouldUpdate:Mn,rules:ir,children:qn,required:pr,label:Gr,messageVariables:Zr,trigger:$r="onChange",validateTrigger:Xn,hidden:Or,help:ki}=Fn,{getPrefixCls:vi}=Ne.useContext(Rt.E_),{name:Zi}=Ne.useContext(ve.q3),xi=ie(qn),Ca=typeof xi=="function",si=Ne.useContext(ve.qI),{validateTrigger:oa}=Ne.useContext(Re.FieldContext),mn=Xn!==void 0?Xn:oa,mr=Dr(Dt),dr=vi("form",on),[Wr,wr]=ht(dr),Mr=Ne.useContext(Re.ListContext),Fr=Ne.useRef(),[ui,yi]=Ye({}),[Hi,Oa]=(0,Bn.Z)(()=>_n()),Qa=va=>{const ka=Mr==null?void 0:Mr.getKey(va.name);if(Oa(va.destroy?_n():va,!0),Gt&&ki!==!1&&si){let Xa=va.name;if(va.destroy)Xa=Fr.current||Xa;else if(ka!==void 0){const[Pa,ao]=ka;Xa=[Pa].concat((0,he.Z)(ao)),Fr.current=Xa}si(va,Xa)}},oo=(va,ka)=>{yi(Xa=>{const Pa=Object.assign({},Xa),us=[].concat((0,he.Z)(va.name.slice(0,-1)),(0,he.Z)(ka)).join(mi);return va.destroy?delete Pa[us]:Pa[us]=va,Pa})},[La,Da]=Ne.useMemo(()=>{const va=(0,he.Z)(Hi.errors),ka=(0,he.Z)(Hi.warnings);return Object.values(ui).forEach(Xa=>{va.push.apply(va,(0,he.Z)(Xa.errors||[])),ka.push.apply(ka,(0,he.Z)(Xa.warnings||[]))}),[va,ka]},[ui,Hi.errors,Hi.warnings]),po=vt();function Za(va,ka,Xa){return Gt&&!Or?Ne.createElement(Tr,{prefixCls:dr,hasFeedback:Fn.hasFeedback,validateStatus:Fn.validateStatus,meta:Hi,errors:La,warnings:Da,noStyle:!0},va):Ne.createElement($i,Object.assign({key:"row"},Fn,{className:Ue()(Zt,wr),prefixCls:dr,fieldId:ka,isRequired:Xa,errors:La,warnings:Da,meta:Hi,onSubItemMetaChange:oo}),va)}if(!mr&&!Ca&&!jt)return Wr(Za(xi));let io={};return typeof Gr=="string"?io.label=Gr:Dt&&(io.label=String(Dt)),Zr&&(io=Object.assign(Object.assign({},io),Zr)),Wr(Ne.createElement(Re.Field,Object.assign({},Fn,{messageVariables:io,trigger:$r,validateTrigger:mn,onMetaChange:Qa}),(va,ka,Xa)=>{const Pa=at(Dt).length&&ka?ka.name:[],ao=Yt(Pa,Zi),us=pr!==void 0?pr:!!(ir&&ir.some(Rr=>{if(Rr&&typeof Rr=="object"&&Rr.required&&!Rr.warningOnly)return!0;if(typeof Rr=="function"){const Ra=Rr(Xa);return Ra&&Ra.required&&!Ra.warningOnly}return!1})),Ya=Object.assign({},va);let fi=null;if(Array.isArray(xi)&&mr)fi=xi;else if(!(Ca&&(!(Mn||jt)||mr))){if(!(jt&&!Ca&&!mr))if((0,Se.l$)(xi)){const Rr=Object.assign(Object.assign({},xi.props),Ya);if(Rr.id||(Rr.id=ao),ki||La.length>0||Da.length>0||Fn.extra){const Va=[];(ki||La.length>0)&&Va.push(`${ao}_help`),Fn.extra&&Va.push(`${ao}_extra`),Rr["aria-describedby"]=Va.join(" ")}La.length>0&&(Rr["aria-invalid"]="true"),us&&(Rr["aria-required"]="true"),(0,gn.Yr)(xi)&&(Rr.ref=po(Pa,xi)),new Set([].concat((0,he.Z)(at($r)),(0,he.Z)(at(mn)))).forEach(Va=>{Rr[Va]=function(){for(var Mo,go,As,_o,Js,Sa=arguments.length,xa=new Array(Sa),Bo=0;Bo<Sa;Bo++)xa[Bo]=arguments[Bo];(As=Ya[Va])===null||As===void 0||(Mo=As).call.apply(Mo,[Ya].concat(xa)),(Js=(_o=xi.props)[Va])===null||Js===void 0||(go=Js).call.apply(go,[_o].concat(xa))}});const _a=[Rr["aria-required"],Rr["aria-invalid"],Rr["aria-describedby"]];fi=Ne.createElement(pa,{value:Ya[Fn.valuePropName||"value"],update:xi,childProps:_a},(0,Se.Tm)(xi,Rr))}else Ca&&(Mn||jt)&&!mr?fi=xi(Xa):fi=xi}return Za(fi,ao,us)}))}const Ki=no;Ki.useStatus=se;var Co=Ki,ro=function(Fn,Dt){var Gt={};for(var Zt in Fn)Object.prototype.hasOwnProperty.call(Fn,Zt)&&Dt.indexOf(Zt)<0&&(Gt[Zt]=Fn[Zt]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Zt=Object.getOwnPropertySymbols(Fn);jt<Zt.length;jt++)Dt.indexOf(Zt[jt])<0&&Object.prototype.propertyIsEnumerable.call(Fn,Zt[jt])&&(Gt[Zt[jt]]=Fn[Zt[jt]]);return Gt},Ii=Fn=>{var{prefixCls:Dt,children:Gt}=Fn,Zt=ro(Fn,["prefixCls","children"]);const{getPrefixCls:jt}=Ne.useContext(Rt.E_),on=jt("form",Dt),Mn=Ne.useMemo(()=>({prefixCls:on,status:"error"}),[on]);return Ne.createElement(Re.List,Object.assign({},Zt),(ir,qn,pr)=>Ne.createElement(ve.Rk.Provider,{value:Mn},Gt(ir.map(Gr=>Object.assign(Object.assign({},Gr),{fieldKey:Gr.key})),qn,{errors:pr.errors,warnings:pr.warnings})))};function Si(){const{form:Fn}=(0,Ne.useContext)(ve.q3);return Fn}const gi=Cn;gi.Item=Co,gi.List=Ii,gi.ErrorList=Lt,gi.useForm=Qt,gi.useFormInstance=Si,gi.useWatch=Re.useWatch,gi.Provider=ve.RV,gi.create=()=>{};var Ea=gi},8628:function(Tn,Xt,ce){"use strict";var he=ce(59301),Me=ce(34280),Ue=ce(56762),At=ce(69507);function Ne(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,he.useRef)({}),Ae=(0,Ue.Z)(),we=(0,At.ZP)();return(0,Me.Z)(()=>{const fe=we.subscribe(ze=>{ve.current=ze,Le&&Ae()});return()=>we.unsubscribe(fe)},[]),ve.current}Xt.Z=Ne},5871:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return tn}});var he=ce(84105),Me=ce(87395),Ue=ce(92310),At=ce.n(Ue),Ne=ce(60499),Le=ce(18642),ve=ce(43749),Ae=ce(72190),we=ce(42244),fe=ce(38705),ze=ce(17212);function Be(){return typeof BigInt=="function"}function _e(zt){return!zt&&zt!==0&&!Number.isNaN(zt)||!String(zt).trim()}function Oe(zt){var pt=zt.trim(),Wt=pt.startsWith("-");Wt&&(pt=pt.slice(1)),pt=pt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),pt.startsWith(".")&&(pt="0".concat(pt));var vn=pt||"0",xn=vn.split("."),Wn=xn[0]||"0",br=xn[1]||"0";Wn==="0"&&br==="0"&&(Wt=!1);var Lr=Wt?"-":"";return{negative:Wt,negativeStr:Lr,trimStr:vn,integerStr:Wn,decimalStr:br,fullStr:"".concat(Lr).concat(vn)}}function He(zt){var pt=String(zt);return!Number.isNaN(Number(pt))&&pt.includes("e")}function ke(zt){var pt=String(zt);if(He(zt)){var Wt=Number(pt.slice(pt.indexOf("e-")+2)),vn=pt.match(/\.(\d+)/);return vn!=null&&vn[1]&&(Wt+=vn[1].length),Wt}return pt.includes(".")&&Pe(pt)?pt.length-pt.indexOf(".")-1:0}function Te(zt){var pt=String(zt);if(He(zt)){if(zt>Number.MAX_SAFE_INTEGER)return String(Be()?BigInt(zt).toString():Number.MAX_SAFE_INTEGER);if(zt<Number.MIN_SAFE_INTEGER)return String(Be()?BigInt(zt).toString():Number.MIN_SAFE_INTEGER);pt=zt.toFixed(ke(pt))}return Oe(pt).fullStr}function Pe(zt){return typeof zt=="number"?!Number.isNaN(zt):zt?/^\s*-?\d+(\.\d+)?\s*$/.test(zt)||/^\s*-?\d+\.\s*$/.test(zt)||/^\s*-?\.\d+\s*$/.test(zt):!1}var Xe=function(){function zt(pt){if((0,fe.Z)(this,zt),(0,Le.Z)(this,"origin",""),(0,Le.Z)(this,"negative",void 0),(0,Le.Z)(this,"integer",void 0),(0,Le.Z)(this,"decimal",void 0),(0,Le.Z)(this,"decimalLen",void 0),(0,Le.Z)(this,"empty",void 0),(0,Le.Z)(this,"nan",void 0),_e(pt)){this.empty=!0;return}if(this.origin=String(pt),pt==="-"||Number.isNaN(pt)){this.nan=!0;return}var Wt=pt;if(He(Wt)&&(Wt=Number(Wt)),Wt=typeof Wt=="string"?Wt:Te(Wt),Pe(Wt)){var vn=Oe(Wt);this.negative=vn.negative;var xn=vn.trimStr.split(".");this.integer=BigInt(xn[0]);var Wn=xn[1]||"0";this.decimal=BigInt(Wn),this.decimalLen=Wn.length}else this.nan=!0}return(0,ze.Z)(zt,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Wt){var vn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Wt,"0"));return BigInt(vn)}},{key:"negate",value:function(){var Wt=new zt(this.toString());return Wt.negative=!Wt.negative,Wt}},{key:"cal",value:function(Wt,vn,xn){var Wn=Math.max(this.getDecimalStr().length,Wt.getDecimalStr().length),br=this.alignDecimal(Wn),Lr=Wt.alignDecimal(Wn),jr=vn(br,Lr).toString(),Qr=xn(Wn),vr=Oe(jr),Ar=vr.negativeStr,Tr=vr.trimStr,Bi="".concat(Ar).concat(Tr.padStart(Qr+1,"0"));return new zt("".concat(Bi.slice(0,-Qr),".").concat(Bi.slice(-Qr)))}},{key:"add",value:function(Wt){if(this.isInvalidate())return new zt(Wt);var vn=new zt(Wt);return vn.isInvalidate()?this:this.cal(vn,function(xn,Wn){return xn+Wn},function(xn){return xn})}},{key:"multi",value:function(Wt){var vn=new zt(Wt);return this.isInvalidate()||vn.isInvalidate()?new zt(NaN):this.cal(vn,function(xn,Wn){return xn*Wn},function(xn){return xn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Wt){return this.toString()===(Wt==null?void 0:Wt.toString())}},{key:"lessEquals",value:function(Wt){return this.add(Wt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Wt?this.isInvalidate()?"":Oe("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),zt}(),Ke=function(){function zt(pt){if((0,fe.Z)(this,zt),(0,Le.Z)(this,"origin",""),(0,Le.Z)(this,"number",void 0),(0,Le.Z)(this,"empty",void 0),_e(pt)){this.empty=!0;return}this.origin=String(pt),this.number=Number(pt)}return(0,ze.Z)(zt,[{key:"negate",value:function(){return new zt(-this.toNumber())}},{key:"add",value:function(Wt){if(this.isInvalidate())return new zt(Wt);var vn=Number(Wt);if(Number.isNaN(vn))return this;var xn=this.number+vn;if(xn>Number.MAX_SAFE_INTEGER)return new zt(Number.MAX_SAFE_INTEGER);if(xn<Number.MIN_SAFE_INTEGER)return new zt(Number.MIN_SAFE_INTEGER);var Wn=Math.max(ke(this.number),ke(vn));return new zt(xn.toFixed(Wn))}},{key:"multi",value:function(Wt){var vn=Number(Wt);if(this.isInvalidate()||Number.isNaN(vn))return new zt(NaN);var xn=this.number*vn;if(xn>Number.MAX_SAFE_INTEGER)return new zt(Number.MAX_SAFE_INTEGER);if(xn<Number.MIN_SAFE_INTEGER)return new zt(Number.MIN_SAFE_INTEGER);var Wn=Math.max(ke(this.number),ke(vn));return new zt(xn.toFixed(Wn))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Wt){return this.toNumber()===(Wt==null?void 0:Wt.toNumber())}},{key:"lessEquals",value:function(Wt){return this.add(Wt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Wt?this.isInvalidate()?"":Te(this.number):this.origin}}]),zt}();function qe(zt){return Be()?new Xe(zt):new Ke(zt)}function We(zt,pt,Wt){var vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(zt==="")return"";var xn=Oe(zt),Wn=xn.negativeStr,br=xn.integerStr,Lr=xn.decimalStr,jr="".concat(pt).concat(Lr),Qr="".concat(Wn).concat(br);if(Wt>=0){var vr=Number(Lr[Wt]);if(vr>=5&&!vn){var Ar=qe(zt).add("".concat(Wn,"0.").concat("0".repeat(Wt)).concat(10-vr));return We(Ar.toString(),pt,Wt,vn)}return Wt===0?Qr:"".concat(Qr).concat(pt).concat(Lr.padEnd(Wt,"0").slice(0,Wt))}return jr===".0"?Qr:"".concat(Qr).concat(jr)}var Ze=qe,$e=ce(93681),rt=ce(34280),ht=ce(8654),dt=ce(59301),xt=ce(48736);function Je(zt,pt){var Wt=(0,dt.useRef)(null);function vn(){try{var Wn=zt.selectionStart,br=zt.selectionEnd,Lr=zt.value,jr=Lr.substring(0,Wn),Qr=Lr.substring(br);Wt.current={start:Wn,end:br,value:Lr,beforeTxt:jr,afterTxt:Qr}}catch(vr){}}function xn(){if(zt&&Wt.current&&pt)try{var Wn=zt.value,br=Wt.current,Lr=br.beforeTxt,jr=br.afterTxt,Qr=br.start,vr=Wn.length;if(Wn.endsWith(jr))vr=Wn.length-Wt.current.afterTxt.length;else if(Wn.startsWith(Lr))vr=Lr.length;else{var Ar=Lr[Qr-1],Tr=Wn.indexOf(Ar,Qr-1);Tr!==-1&&(vr=Tr+1)}zt.setSelectionRange(vr,vr)}catch(Bi){(0,xt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Bi.message))}}return[vn,xn]}var Lt=ce(49658),Re=function(){var pt=(0,dt.useState)(!1),Wt=(0,Ae.Z)(pt,2),vn=Wt[0],xn=Wt[1];return(0,rt.Z)(function(){xn((0,Lt.Z)())},[]),vn},Rt=Re,Ft=ce(16089),bt=200,Tt=600;function wt(zt){var pt=zt.prefixCls,Wt=zt.upNode,vn=zt.downNode,xn=zt.upDisabled,Wn=zt.downDisabled,br=zt.onStep,Lr=dt.useRef(),jr=dt.useRef([]),Qr=dt.useRef();Qr.current=br;var vr=function(){clearTimeout(Lr.current)},Ar=function(_n,no){_n.preventDefault(),vr(),Qr.current(no);function Ki(){Qr.current(no),Lr.current=setTimeout(Ki,bt)}Lr.current=setTimeout(Ki,Tt)};dt.useEffect(function(){return function(){vr(),jr.current.forEach(function(Dr){return Ft.Z.cancel(Dr)})}},[]);var Tr=Rt();if(Tr)return null;var Bi="".concat(pt,"-handler"),$i=At()(Bi,"".concat(Bi,"-up"),(0,Le.Z)({},"".concat(Bi,"-up-disabled"),xn)),mi=At()(Bi,"".concat(Bi,"-down"),(0,Le.Z)({},"".concat(Bi,"-down-disabled"),Wn)),Mi=function(){return jr.current.push((0,Ft.Z)(vr))},pa={unselectable:"on",role:"button",onMouseUp:Mi,onMouseLeave:Mi};return dt.createElement("div",{className:"".concat(Bi,"-wrap")},dt.createElement("span",(0,Ne.Z)({},pa,{onMouseDown:function(_n){Ar(_n,!0)},"aria-label":"Increase Value","aria-disabled":xn,className:$i}),Wt||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-up-inner")})),dt.createElement("span",(0,Ne.Z)({},pa,{onMouseDown:function(_n){Ar(_n,!1)},"aria-label":"Decrease Value","aria-disabled":Wn,className:mi}),vn||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-down-inner")})))}function it(zt){var pt=typeof zt=="number"?Te(zt):Oe(zt).fullStr,Wt=pt.includes(".");return Wt?Oe(pt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:zt+"0"}var je=ce(5643),at=function(){var zt=(0,dt.useRef)(0),pt=function(){Ft.Z.cancel(zt.current)};return(0,dt.useEffect)(function(){return pt},[]),function(Wt){pt(),zt.current=(0,Ft.Z)(function(){Wt()})}},Yt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Vt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],St=function(pt,Wt){return pt||Wt.isEmpty()?Wt.toString():Wt.toNumber()},Qt=function(pt){var Wt=Ze(pt);return Wt.isInvalidate()?null:Wt},cn=dt.forwardRef(function(zt,pt){var Wt,vn=zt.prefixCls,xn=vn===void 0?"rc-input-number":vn,Wn=zt.className,br=zt.style,Lr=zt.min,jr=zt.max,Qr=zt.step,vr=Qr===void 0?1:Qr,Ar=zt.defaultValue,Tr=zt.value,Bi=zt.disabled,$i=zt.readOnly,mi=zt.upHandler,Mi=zt.downHandler,pa=zt.keyboard,Dr=zt.controls,_n=Dr===void 0?!0:Dr,no=zt.classNames,Ki=zt.stringMode,Co=zt.parser,ro=zt.formatter,Pi=zt.precision,Ii=zt.decimalSeparator,Si=zt.onChange,gi=zt.onInput,Ea=zt.onPressEnter,Fn=zt.onStep,Dt=(0,we.Z)(zt,Yt),Gt="".concat(xn,"-input"),Zt=dt.useRef(null),jt=dt.useState(!1),on=(0,Ae.Z)(jt,2),Mn=on[0],ir=on[1],qn=dt.useRef(!1),pr=dt.useRef(!1),Gr=dt.useRef(!1),Zr=dt.useState(function(){return Ze(Tr!=null?Tr:Ar)}),$r=(0,Ae.Z)(Zr,2),Xn=$r[0],Or=$r[1];function ki(fi){Tr===void 0&&Or(fi)}var vi=dt.useCallback(function(fi,Rr){if(!Rr)return Pi>=0?Pi:Math.max(ke(fi),ke(vr))},[Pi,vr]),Zi=dt.useCallback(function(fi){var Rr=String(fi);if(Co)return Co(Rr);var Ra=Rr;return Ii&&(Ra=Ra.replace(Ii,".")),Ra.replace(/[^\w.-]+/g,"")},[Co,Ii]),xi=dt.useRef(""),Ca=dt.useCallback(function(fi,Rr){if(ro)return ro(fi,{userTyping:Rr,input:String(xi.current)});var Ra=typeof fi=="number"?Te(fi):fi;if(!Rr){var _a=vi(Ra,Rr);if(Pe(Ra)&&(Ii||_a>=0)){var Va=Ii||".";Ra=We(Ra,Va,_a)}}return Ra},[ro,vi,Ii]),si=dt.useState(function(){var fi=Ar!=null?Ar:Tr;return Xn.isInvalidate()&&["string","number"].includes((0,ve.Z)(fi))?Number.isNaN(fi)?"":fi:Ca(Xn.toString(),!1)}),oa=(0,Ae.Z)(si,2),mn=oa[0],mr=oa[1];xi.current=mn;function dr(fi,Rr){mr(Ca(fi.isInvalidate()?fi.toString(!1):fi.toString(!Rr),Rr))}var Wr=dt.useMemo(function(){return Qt(jr)},[jr,Pi]),wr=dt.useMemo(function(){return Qt(Lr)},[Lr,Pi]),Mr=dt.useMemo(function(){return!Wr||!Xn||Xn.isInvalidate()?!1:Wr.lessEquals(Xn)},[Wr,Xn]),Fr=dt.useMemo(function(){return!wr||!Xn||Xn.isInvalidate()?!1:Xn.lessEquals(wr)},[wr,Xn]),ui=Je(Zt.current,Mn),yi=(0,Ae.Z)(ui,2),Hi=yi[0],Oa=yi[1],Qa=function(Rr){return Wr&&!Rr.lessEquals(Wr)?Wr:wr&&!wr.lessEquals(Rr)?wr:null},oo=function(Rr){return!Qa(Rr)},La=function(Rr,Ra){var _a=Rr,Va=oo(_a)||_a.isEmpty();if(!_a.isEmpty()&&!Ra&&(_a=Qa(_a)||_a,Va=!0),!$i&&!Bi&&Va){var Mo=_a.toString(),go=vi(Mo,Ra);return go>=0&&(_a=Ze(We(Mo,".",go)),oo(_a)||(_a=Ze(We(Mo,".",go,!0)))),_a.equals(Xn)||(ki(_a),Si==null||Si(_a.isEmpty()?null:St(Ki,_a)),Tr===void 0&&dr(_a,Ra)),_a}return Xn},Da=at(),po=function fi(Rr){if(Hi(),xi.current=Rr,mr(Rr),!pr.current){var Ra=Zi(Rr),_a=Ze(Ra);_a.isNaN()||La(_a,!0)}gi==null||gi(Rr),Da(function(){var Va=Rr;Co||(Va=Rr.replace(/。/g,".")),Va!==Rr&&fi(Va)})},Za=function(){pr.current=!0},io=function(){pr.current=!1,po(Zt.current.value)},va=function(Rr){po(Rr.target.value)},ka=function(Rr){var Ra;if(!(Rr&&Mr||!Rr&&Fr)){qn.current=!1;var _a=Ze(Gr.current?it(vr):vr);Rr||(_a=_a.negate());var Va=(Xn||Ze(0)).add(_a.toString()),Mo=La(Va,!1);Fn==null||Fn(St(Ki,Mo),{offset:Gr.current?it(vr):vr,type:Rr?"up":"down"}),(Ra=Zt.current)===null||Ra===void 0||Ra.focus()}},Xa=function(Rr){var Ra=Ze(Zi(mn)),_a=Ra;Ra.isNaN()?_a=La(Xn,Rr):_a=La(Ra,Rr),Tr!==void 0?dr(Xn,!1):_a.isNaN()||dr(_a,!1)},Pa=function(){qn.current=!0},ao=function(Rr){var Ra=Rr.key,_a=Rr.shiftKey;qn.current=!0,Gr.current=_a,Ra==="Enter"&&(pr.current||(qn.current=!1),Xa(!1),Ea==null||Ea(Rr)),pa!==!1&&!pr.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ra)&&(ka(Ra==="Up"||Ra==="ArrowUp"),Rr.preventDefault())},us=function(){qn.current=!1,Gr.current=!1},Ya=function(){Xa(!1),ir(!1),qn.current=!1};return(0,rt.o)(function(){Xn.isInvalidate()||dr(Xn,!1)},[Pi]),(0,rt.o)(function(){var fi=Ze(Tr);Or(fi);var Rr=Ze(Zi(mn));(!fi.equals(Rr)||!qn.current||ro)&&dr(fi,qn.current)},[Tr]),(0,rt.o)(function(){ro&&Oa()},[mn]),dt.createElement("div",{className:At()(xn,no==null?void 0:no.input,Wn,(Wt={},(0,Le.Z)(Wt,"".concat(xn,"-focused"),Mn),(0,Le.Z)(Wt,"".concat(xn,"-disabled"),Bi),(0,Le.Z)(Wt,"".concat(xn,"-readonly"),$i),(0,Le.Z)(Wt,"".concat(xn,"-not-a-number"),Xn.isNaN()),(0,Le.Z)(Wt,"".concat(xn,"-out-of-range"),!Xn.isInvalidate()&&!oo(Xn)),Wt)),style:br,onFocus:function(){ir(!0)},onBlur:Ya,onKeyDown:ao,onKeyUp:us,onCompositionStart:Za,onCompositionEnd:io,onBeforeInput:Pa},_n&&dt.createElement(wt,{prefixCls:xn,upNode:mi,downNode:Mi,upDisabled:Mr,downDisabled:Fr,onStep:ka}),dt.createElement("div",{className:"".concat(Gt,"-wrap")},dt.createElement("input",(0,Ne.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Lr,"aria-valuemax":jr,"aria-valuenow":Xn.isInvalidate()?null:Xn.toString(),step:vr},Dt,{ref:(0,ht.sQ)(Zt,pt),className:Gt,value:mn,onChange:va,disabled:Bi,readOnly:$i}))))}),Nn=dt.forwardRef(function(zt,pt){var Wt=zt.disabled,vn=zt.style,xn=zt.prefixCls,Wn=zt.value,br=zt.prefix,Lr=zt.suffix,jr=zt.addonBefore,Qr=zt.addonAfter,vr=zt.classes,Ar=zt.className,Tr=zt.classNames,Bi=(0,we.Z)(zt,Vt),$i=dt.useRef(null),mi=function(pa){$i.current&&(0,je.nH)($i.current,pa)};return dt.createElement($e.BaseInput,{inputElement:dt.createElement(cn,(0,Ne.Z)({prefixCls:xn,disabled:Wt,classNames:Tr,ref:(0,ht.sQ)($i,pt)},Bi)),className:Ar,triggerFocus:mi,prefixCls:xn,value:Wn,disabled:Wt,style:vn,prefix:br,suffix:Lr,addonAfter:Qr,addonBefore:jr,classes:vr,classNames:Tr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Nn.displayName="InputNumber";var fn=Nn,Ln=fn,Cn=ce(19080),Bn=ce(36355),gn=ce(92736),Se=ce(1684),Fe=ce(19716),ie=ce(32441),ae=ce(33234),se=ce(9937),oe=ce(17313),Ye=ce(74207),vt=ce(83116),et=ce(37613);const lt=(zt,pt)=>{let{componentCls:Wt,borderRadiusSM:vn,borderRadiusLG:xn}=zt;const Wn=pt==="lg"?xn:vn;return{[`&-${pt}`]:{[`${Wt}-handler-wrap`]:{borderStartEndRadius:Wn,borderEndEndRadius:Wn},[`${Wt}-handler-up`]:{borderStartEndRadius:Wn},[`${Wt}-handler-down`]:{borderEndEndRadius:Wn}}}},Pt=zt=>{const{componentCls:pt,lineWidth:Wt,lineType:vn,colorBorder:xn,borderRadius:Wn,fontSizeLG:br,controlHeightLG:Lr,controlHeightSM:jr,colorError:Qr,paddingInlineSM:vr,colorTextDescription:Ar,motionDurationMid:Tr,handleHoverColor:Bi,paddingInline:$i,paddingBlock:mi,handleBg:Mi,handleActiveBg:pa,colorTextDisabled:Dr,borderRadiusSM:_n,borderRadiusLG:no,controlWidth:Ki,handleVisible:Co,handleBorderColor:ro}=zt;return[{[pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(zt)),(0,se.ik)(zt)),(0,se.bi)(zt,pt)),{display:"inline-block",width:Ki,margin:0,padding:0,border:`${Wt}px ${vn} ${xn}`,borderRadius:Wn,"&-rtl":{direction:"rtl",[`${pt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:br,borderRadius:no,[`input${pt}-input`]:{height:Lr-2*Wt}},"&-sm":{padding:0,borderRadius:_n,[`input${pt}-input`]:{height:jr-2*Wt,padding:`0 ${vr}px`}},"&:hover":Object.assign({},(0,se.pU)(zt)),"&-focused":Object.assign({},(0,se.M1)(zt)),"&-out-of-range":{[`${pt}-input-wrap`]:{input:{color:Qr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(zt)),(0,se.s7)(zt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${pt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${pt}-group-addon`]:{borderRadius:no,fontSize:zt.fontSizeLG}},"&-sm":{[`${pt}-group-addon`]:{borderRadius:_n}},[`${pt}-wrapper-disabled > ${pt}-group-addon`]:Object.assign({},(0,se.Xy)(zt))}}),[`&-disabled ${pt}-input`]:{cursor:"not-allowed"},[pt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(zt)),{width:"100%",padding:`${mi}px ${$i}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Wn,outline:0,transition:`all ${Tr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,se.nz)(zt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[pt]:Object.assign(Object.assign(Object.assign({[`&:hover ${pt}-handler-wrap, &-focused ${pt}-handler-wrap`]:{opacity:1},[`${pt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:zt.handleWidth,height:"100%",background:Mi,borderStartStartRadius:0,borderStartEndRadius:Wn,borderEndEndRadius:Wn,borderEndStartRadius:0,opacity:Co===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Tr} linear ${Tr}`,[`${pt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${pt}-handler-up-inner,
${pt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:zt.handleFontSize}}},[`${pt}-handler`]:{height:"50%",overflow:"hidden",color:Ar,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Wt}px ${vn} ${ro}`,transition:`all ${Tr} linear`,"&:active":{background:pa},"&:hover":{height:"60%",[`
${pt}-handler-up-inner,
${pt}-handler-down-inner
`]:{color:Bi}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,oe.Ro)()),{color:Ar,transition:`all ${Tr} linear`,userSelect:"none"})},[`${pt}-handler-up`]:{borderStartEndRadius:Wn},[`${pt}-handler-down`]:{borderBlockStart:`${Wt}px ${vn} ${ro}`,borderEndEndRadius:Wn}},lt(zt,"lg")),lt(zt,"sm")),{"&-disabled, &-readonly":{[`${pt}-handler-wrap`]:{display:"none"},[`${pt}-input`]:{color:"inherit"}},[`
${pt}-handler-up-disabled,
${pt}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${pt}-handler-up-disabled:hover &-handler-up-inner,
${pt}-handler-down-disabled:hover &-handler-down-inner
`]:{color:Dr}})},{[`${pt}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${pt}-handler-down`]:{borderBlockStartWidth:0}}}]},Mt=zt=>{const{componentCls:pt,paddingBlock:Wt,paddingInline:vn,inputAffixPadding:xn,controlWidth:Wn,borderRadiusLG:br,borderRadiusSM:Lr}=zt;return{[`${pt}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,se.ik)(zt)),(0,se.bi)(zt,`${pt}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Wn,padding:0,paddingInlineStart:vn,"&-lg":{borderRadius:br},"&-sm":{borderRadius:Lr},[`&:not(${pt}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,se.pU)(zt)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${pt}-disabled`]:{background:"transparent"},[`> div${pt}`]:{width:"100%",border:"none",outline:"none",[`&${pt}-focused`]:{boxShadow:"none !important"}},[`input${pt}-input`]:{padding:`${Wt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${pt}-handler-wrap`]:{zIndex:2},[pt]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:xn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:vn,marginInlineStart:xn}}})}};var kt=(0,vt.Z)("InputNumber",zt=>{const pt=(0,et.TS)(zt,(0,se.e5)(zt));return[Pt(pt),Mt(pt),(0,Ye.c)(pt)]},zt=>Object.assign(Object.assign({},(0,se.TM)(zt)),{controlWidth:90,handleWidth:zt.controlHeightSM-zt.lineWidth*2,handleFontSize:zt.fontSize/2,handleVisible:"auto",handleActiveBg:zt.colorFillAlter,handleBg:zt.colorBgContainer,handleHoverColor:zt.colorPrimary,handleBorderColor:zt.colorBorder})),$t=function(zt,pt){var Wt={};for(var vn in zt)Object.prototype.hasOwnProperty.call(zt,vn)&&pt.indexOf(vn)<0&&(Wt[vn]=zt[vn]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,vn=Object.getOwnPropertySymbols(zt);xn<vn.length;xn++)pt.indexOf(vn[xn])<0&&Object.prototype.propertyIsEnumerable.call(zt,vn[xn])&&(Wt[vn[xn]]=zt[vn[xn]]);return Wt};const Sn=dt.forwardRef((zt,pt)=>{const{getPrefixCls:Wt,direction:vn}=dt.useContext(Bn.E_),xn=dt.useRef(null);dt.useImperativeHandle(pt,()=>xn.current);const{className:Wn,rootClassName:br,size:Lr,disabled:jr,prefixCls:Qr,addonBefore:vr,addonAfter:Ar,prefix:Tr,bordered:Bi=!0,readOnly:$i,status:mi,controls:Mi}=zt,pa=$t(zt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Dr=Wt("input-number",Qr),[_n,no]=kt(Dr),{compactSize:Ki,compactItemClassnames:Co}=(0,ae.ri)(Dr,vn);let ro=dt.createElement(Me.Z,{className:`${Dr}-handler-up-inner`}),Pi=dt.createElement(he.Z,{className:`${Dr}-handler-down-inner`});const Ii=typeof Mi=="boolean"?Mi:void 0;typeof Mi=="object"&&(ro=typeof Mi.upIcon=="undefined"?ro:dt.createElement("span",{className:`${Dr}-handler-up-inner`},Mi.upIcon),Pi=typeof Mi.downIcon=="undefined"?Pi:dt.createElement("span",{className:`${Dr}-handler-down-inner`},Mi.downIcon));const{hasFeedback:Si,status:gi,isFormItemInput:Ea,feedbackIcon:Fn}=dt.useContext(ie.aM),Dt=(0,Cn.F)(gi,mi),Gt=(0,Fe.Z)(qn=>{var pr;return(pr=Lr!=null?Lr:Ki)!==null&&pr!==void 0?pr:qn}),Zt=dt.useContext(Se.Z),jt=jr!=null?jr:Zt,on=At()({[`${Dr}-lg`]:Gt==="large",[`${Dr}-sm`]:Gt==="small",[`${Dr}-rtl`]:vn==="rtl",[`${Dr}-borderless`]:!Bi,[`${Dr}-in-form-item`]:Ea},(0,Cn.Z)(Dr,Dt),Co,no),Mn=`${Dr}-group`,ir=dt.createElement(Ln,Object.assign({ref:xn,disabled:jt,className:At()(Wn,br),upHandler:ro,downHandler:Pi,prefixCls:Dr,readOnly:$i,controls:Ii,prefix:Tr,suffix:Si&&Fn,addonAfter:Ar&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},Ar)),addonBefore:vr&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},vr)),classNames:{input:on},classes:{affixWrapper:At()((0,Cn.Z)(`${Dr}-affix-wrapper`,Dt,Si),{[`${Dr}-affix-wrapper-sm`]:Gt==="small",[`${Dr}-affix-wrapper-lg`]:Gt==="large",[`${Dr}-affix-wrapper-rtl`]:vn==="rtl",[`${Dr}-affix-wrapper-borderless`]:!Bi},no),wrapper:At()({[`${Mn}-rtl`]:vn==="rtl",[`${Dr}-wrapper-disabled`]:jt},no),group:At()({[`${Dr}-group-wrapper-sm`]:Gt==="small",[`${Dr}-group-wrapper-lg`]:Gt==="large",[`${Dr}-group-wrapper-rtl`]:vn==="rtl"},(0,Cn.Z)(`${Dr}-group-wrapper`,Dt,Si),no)}},pa));return _n(ir)}),Bt=Sn,nn=zt=>dt.createElement(gn.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},dt.createElement(Sn,Object.assign({},zt)));Bt._InternalPanelDoNotUseOrYouWillBeFired=nn;var tn=Bt},9432:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Xe},n:function(){return Te}});var he=ce(19248),Me=ce(92310),Ue=ce.n(Me),At=ce(93681),Ne=ce(8654),Le=ce(59301),ve=ce(19080),Ae=ce(36355),we=ce(1684),fe=ce(19716),ze=ce(32441),Be=ce(33234),_e=ce(59412),Oe=ce(9937);function He(Ke){return!!(Ke.prefix||Ke.suffix||Ke.allowClear)}var ke=function(Ke,qe){var We={};for(var Ze in Ke)Object.prototype.hasOwnProperty.call(Ke,Ze)&&qe.indexOf(Ze)<0&&(We[Ze]=Ke[Ze]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ze=Object.getOwnPropertySymbols(Ke);$e<Ze.length;$e++)qe.indexOf(Ze[$e])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Ze[$e])&&(We[Ze[$e]]=Ke[Ze[$e]]);return We};function Te(Ke,qe){if(!Ke)return;Ke.focus(qe);const{cursor:We}=qe||{};if(We){const Ze=Ke.value.length;switch(We){case"start":Ke.setSelectionRange(0,0);break;case"end":Ke.setSelectionRange(Ze,Ze);break;default:Ke.setSelectionRange(0,Ze);break}}}var Xe=(0,Le.forwardRef)((Ke,qe)=>{var We;const{prefixCls:Ze,bordered:$e=!0,status:rt,size:ht,disabled:dt,onBlur:xt,onFocus:Je,suffix:Lt,allowClear:Re,addonAfter:Rt,addonBefore:Ft,className:bt,style:Tt,styles:wt,rootClassName:it,onChange:je,classNames:at}=Ke,Yt=ke(Ke,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Vt,direction:St,input:Qt}=Le.useContext(Ae.E_),cn=Vt("input",Ze),Nn=(0,Le.useRef)(null),[fn,Ln]=(0,Oe.ZP)(cn),{compactSize:Cn,compactItemClassnames:Bn}=(0,Be.ri)(cn,St),gn=(0,fe.Z)(Sn=>{var Bt;return(Bt=ht!=null?ht:Cn)!==null&&Bt!==void 0?Bt:Sn}),Se=Le.useContext(we.Z),Fe=dt!=null?dt:Se,{status:ie,hasFeedback:ae,feedbackIcon:se}=(0,Le.useContext)(ze.aM),oe=(0,ve.F)(ie,rt),Ye=He(Ke)||!!ae,vt=(0,Le.useRef)(Ye);(0,Le.useEffect)(()=>{var Sn;Ye&&vt.current,vt.current=Ye},[Ye]);const et=(0,_e.Z)(Nn,!0),lt=Sn=>{et(),xt==null||xt(Sn)},Pt=Sn=>{et(),Je==null||Je(Sn)},Mt=Sn=>{et(),je==null||je(Sn)},kt=(ae||Lt)&&Le.createElement(Le.Fragment,null,Lt,ae&&se);let $t;return typeof Re=="object"&&(Re!=null&&Re.clearIcon)?$t=Re:Re&&($t={clearIcon:Le.createElement(he.Z,null)}),fn(Le.createElement(At.default,Object.assign({ref:(0,Ne.sQ)(qe,Nn),prefixCls:cn,autoComplete:Qt==null?void 0:Qt.autoComplete},Yt,{disabled:Fe,onBlur:lt,onFocus:Pt,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Tt),styles:Object.assign(Object.assign({},Qt==null?void 0:Qt.styles),wt),suffix:kt,allowClear:$t,className:Ue()(bt,it,Bn,Qt==null?void 0:Qt.className),onChange:Mt,addonAfter:Rt&&Le.createElement(Be.BR,null,Le.createElement(ze.Ux,{override:!0,status:!0},Rt)),addonBefore:Ft&&Le.createElement(Be.BR,null,Le.createElement(ze.Ux,{override:!0,status:!0},Ft)),classNames:Object.assign(Object.assign(Object.assign({},at),Qt==null?void 0:Qt.classNames),{input:Ue()({[`${cn}-sm`]:gn==="small",[`${cn}-lg`]:gn==="large",[`${cn}-rtl`]:St==="rtl",[`${cn}-borderless`]:!$e},!Ye&&(0,ve.Z)(cn,oe),at==null?void 0:at.input,(We=Qt==null?void 0:Qt.classNames)===null||We===void 0?void 0:We.input,Ln)}),classes:{affixWrapper:Ue()({[`${cn}-affix-wrapper-sm`]:gn==="small",[`${cn}-affix-wrapper-lg`]:gn==="large",[`${cn}-affix-wrapper-rtl`]:St==="rtl",[`${cn}-affix-wrapper-borderless`]:!$e},(0,ve.Z)(`${cn}-affix-wrapper`,oe,ae),Ln),wrapper:Ue()({[`${cn}-group-rtl`]:St==="rtl"},Ln),group:Ue()({[`${cn}-group-wrapper-sm`]:gn==="small",[`${cn}-group-wrapper-lg`]:gn==="large",[`${cn}-group-wrapper-rtl`]:St==="rtl",[`${cn}-group-wrapper-disabled`]:Fe},(0,ve.Z)(`${cn}-group-wrapper`,oe,ae),Ln)}})))})},1643:function(Tn,Xt,ce){"use strict";var he=ce(19248),Me=ce(92310),Ue=ce.n(Me),At=ce(9296),Ne=ce(59301),Le=ce(19080),ve=ce(36355),Ae=ce(1684),we=ce(19716),fe=ce(32441),ze=ce(9432),Be=ce(9937),_e=function(He,ke){var Te={};for(var Pe in He)Object.prototype.hasOwnProperty.call(He,Pe)&&ke.indexOf(Pe)<0&&(Te[Pe]=He[Pe]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Pe=Object.getOwnPropertySymbols(He);Xe<Pe.length;Xe++)ke.indexOf(Pe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(He,Pe[Xe])&&(Te[Pe[Xe]]=He[Pe[Xe]]);return Te};const Oe=(0,Ne.forwardRef)((He,ke)=>{const{prefixCls:Te,bordered:Pe=!0,size:Xe,disabled:Ke,status:qe,allowClear:We,showCount:Ze,classNames:$e,rootClassName:rt,className:ht}=He,dt=_e(He,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:xt,direction:Je}=Ne.useContext(ve.E_),Lt=(0,we.Z)(Xe),Re=Ne.useContext(Ae.Z),Rt=Ke!=null?Ke:Re,{status:Ft,hasFeedback:bt,feedbackIcon:Tt}=Ne.useContext(fe.aM),wt=(0,Le.F)(Ft,qe),it=Ne.useRef(null);Ne.useImperativeHandle(ke,()=>{var St;return{resizableTextArea:(St=it.current)===null||St===void 0?void 0:St.resizableTextArea,focus:Qt=>{var cn,Nn;(0,ze.n)((Nn=(cn=it.current)===null||cn===void 0?void 0:cn.resizableTextArea)===null||Nn===void 0?void 0:Nn.textArea,Qt)},blur:()=>{var Qt;return(Qt=it.current)===null||Qt===void 0?void 0:Qt.blur()}}});const je=xt("input",Te);let at;typeof We=="object"&&(We!=null&&We.clearIcon)?at=We:We&&(at={clearIcon:Ne.createElement(he.Z,null)});const[Yt,Vt]=(0,Be.ZP)(je);return Yt(Ne.createElement(At.default,Object.assign({},dt,{disabled:Rt,allowClear:at,className:Ue()(ht,rt),classes:{affixWrapper:Ue()(`${je}-textarea-affix-wrapper`,{[`${je}-affix-wrapper-rtl`]:Je==="rtl",[`${je}-affix-wrapper-borderless`]:!Pe,[`${je}-affix-wrapper-sm`]:Lt==="small",[`${je}-affix-wrapper-lg`]:Lt==="large",[`${je}-textarea-show-count`]:Ze},(0,Le.Z)(`${je}-affix-wrapper`,wt),Vt)},classNames:Object.assign(Object.assign({},$e),{textarea:Ue()({[`${je}-borderless`]:!Pe,[`${je}-sm`]:Lt==="small",[`${je}-lg`]:Lt==="large"},(0,Le.Z)(je,wt),Vt,$e==null?void 0:$e.textarea)}),prefixCls:je,suffix:bt&&Ne.createElement("span",{className:`${je}-textarea-suffix`},Tt),showCount:Ze,ref:it})))});Xt.Z=Oe},59412:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});var he=ce(59301);function Me(Ue,At){const Ne=(0,he.useRef)([]),Le=()=>{Ne.current.push(setTimeout(()=>{var ve,Ae,we,fe;!((ve=Ue.current)===null||ve===void 0)&&ve.input&&((Ae=Ue.current)===null||Ae===void 0?void 0:Ae.input.getAttribute("type"))==="password"&&(!((we=Ue.current)===null||we===void 0)&&we.input.hasAttribute("value"))&&((fe=Ue.current)===null||fe===void 0||fe.input.removeAttribute("value"))}))};return(0,he.useEffect)(()=>(At&&Le(),()=>Ne.current.forEach(ve=>{ve&&clearTimeout(ve)})),[]),Le}},92832:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Lt}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(32441),Le=ce(9937),Ae=Re=>{const{getPrefixCls:Rt,direction:Ft}=(0,Ue.useContext)(At.E_),{prefixCls:bt,className:Tt}=Re,wt=Rt("input-group",bt),it=Rt("input"),[je,at]=(0,Le.ZP)(it),Yt=Me()(wt,{[`${wt}-lg`]:Re.size==="large",[`${wt}-sm`]:Re.size==="small",[`${wt}-compact`]:Re.compact,[`${wt}-rtl`]:Ft==="rtl"},at,Tt),Vt=(0,Ue.useContext)(Ne.aM),St=(0,Ue.useMemo)(()=>Object.assign(Object.assign({},Vt),{isFormItemInput:!1}),[Vt]);return je(Ue.createElement("span",{className:Yt,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},Ue.createElement(Ne.aM.Provider,{value:St},Re.children)))},we=ce(9432),fe=ce(73331),ze=ce(15277),Be=ce(2738),_e=ce(8654),Oe=ce(59412),He=function(Re,Rt){var Ft={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt<bt.length;Tt++)Rt.indexOf(bt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Re,bt[Tt])&&(Ft[bt[Tt]]=Re[bt[Tt]]);return Ft};const ke=Re=>Re?Ue.createElement(ze.Z,null):Ue.createElement(fe.Z,null),Te={click:"onClick",hover:"onMouseOver"};var Xe=Ue.forwardRef((Re,Rt)=>{const{visibilityToggle:Ft=!0}=Re,bt=typeof Ft=="object"&&Ft.visible!==void 0,[Tt,wt]=(0,Ue.useState)(()=>bt?Ft.visible:!1),it=(0,Ue.useRef)(null);Ue.useEffect(()=>{bt&&wt(Ft.visible)},[bt,Ft]);const je=(0,Oe.Z)(it),at=()=>{const{disabled:Fe}=Re;Fe||(Tt&&je(),wt(ie=>{var ae;const se=!ie;return typeof Ft=="object"&&((ae=Ft.onVisibleChange)===null||ae===void 0||ae.call(Ft,se)),se}))},Yt=Fe=>{const{action:ie="click",iconRender:ae=ke}=Re,se=Te[ie]||"",oe=ae(Tt),Ye={[se]:at,className:`${Fe}-icon`,key:"passwordIcon",onMouseDown:vt=>{vt.preventDefault()},onMouseUp:vt=>{vt.preventDefault()}};return Ue.cloneElement(Ue.isValidElement(oe)?oe:Ue.createElement("span",null,oe),Ye)},{className:Vt,prefixCls:St,inputPrefixCls:Qt,size:cn}=Re,Nn=He(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:fn}=Ue.useContext(At.E_),Ln=fn("input",Qt),Cn=fn("input-password",St),Bn=Ft&&Yt(Cn),gn=Me()(Cn,Vt,{[`${Cn}-${cn}`]:!!cn}),Se=Object.assign(Object.assign({},(0,Be.Z)(Nn,["suffix","iconRender","visibilityToggle"])),{type:Tt?"text":"password",className:gn,prefixCls:Ln,suffix:Bn});return cn&&(Se.size=cn),Ue.createElement(we.Z,Object.assign({ref:(0,_e.sQ)(Rt,it)},Se))}),Ke=ce(47472),qe=ce(92343),We=ce(3113),Ze=ce(19716),$e=ce(33234),rt=function(Re,Rt){var Ft={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt<bt.length;Tt++)Rt.indexOf(bt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Re,bt[Tt])&&(Ft[bt[Tt]]=Re[bt[Tt]]);return Ft},dt=Ue.forwardRef((Re,Rt)=>{const{prefixCls:Ft,inputPrefixCls:bt,className:Tt,size:wt,suffix:it,enterButton:je=!1,addonAfter:at,loading:Yt,disabled:Vt,onSearch:St,onChange:Qt,onCompositionStart:cn,onCompositionEnd:Nn}=Re,fn=rt(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ln,direction:Cn}=Ue.useContext(At.E_),Bn=Ue.useRef(!1),gn=Ln("input-search",Ft),Se=Ln("input",bt),{compactSize:Fe}=(0,$e.ri)(gn,Cn),ie=(0,Ze.Z)(nn=>{var tn;return(tn=wt!=null?wt:Fe)!==null&&tn!==void 0?tn:nn}),ae=Ue.useRef(null),se=nn=>{nn&&nn.target&&nn.type==="click"&&St&&St(nn.target.value,nn,{source:"clear"}),Qt&&Qt(nn)},oe=nn=>{var tn;document.activeElement===((tn=ae.current)===null||tn===void 0?void 0:tn.input)&&nn.preventDefault()},Ye=nn=>{var tn,zt;St&&St((zt=(tn=ae.current)===null||tn===void 0?void 0:tn.input)===null||zt===void 0?void 0:zt.value,nn,{source:"input"})},vt=nn=>{Bn.current||Yt||Ye(nn)},et=typeof je=="boolean"?Ue.createElement(Ke.Z,null):null,lt=`${gn}-button`;let Pt;const Mt=je||{},kt=Mt.type&&Mt.type.__ANT_BUTTON===!0;kt||Mt.type==="button"?Pt=(0,qe.Tm)(Mt,Object.assign({onMouseDown:oe,onClick:nn=>{var tn,zt;(zt=(tn=Mt==null?void 0:Mt.props)===null||tn===void 0?void 0:tn.onClick)===null||zt===void 0||zt.call(tn,nn),Ye(nn)},key:"enterButton"},kt?{className:lt,size:ie}:{})):Pt=Ue.createElement(We.ZP,{className:lt,type:je?"primary":void 0,size:ie,disabled:Vt,key:"enterButton",onMouseDown:oe,onClick:Ye,loading:Yt,icon:et},je),at&&(Pt=[Pt,(0,qe.Tm)(at,{key:"addonAfter"})]);const $t=Me()(gn,{[`${gn}-rtl`]:Cn==="rtl",[`${gn}-${ie}`]:!!ie,[`${gn}-with-button`]:!!je},Tt),Sn=nn=>{Bn.current=!0,cn==null||cn(nn)},Bt=nn=>{Bn.current=!1,Nn==null||Nn(nn)};return Ue.createElement(we.Z,Object.assign({ref:(0,_e.sQ)(ae,Rt),onPressEnter:vt},fn,{size:ie,onCompositionStart:Sn,onCompositionEnd:Bt,prefixCls:Se,addonAfter:Pt,suffix:it,onChange:se,className:$t,disabled:Vt}))}),xt=ce(1643);const Je=we.Z;Je.Group=Ae,Je.Search=dt,Je.TextArea=xt.Z,Je.Password=Xe;var Lt=Je},9937:function(Tn,Xt,ce){"use strict";ce.d(Xt,{M1:function(){return ve},TM:function(){return qe},Xy:function(){return Ae},bi:function(){return ze},e5:function(){return Ke},ik:function(){return Be},nz:function(){return Ne},pU:function(){return Le},s7:function(){return _e},x0:function(){return fe}});var he=ce(17313),Me=ce(74207),Ue=ce(37613),At=ce(83116);const Ne=We=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:We,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Le=We=>({borderColor:We.hoverBorderColor}),ve=We=>({borderColor:We.activeBorderColor,boxShadow:We.activeShadow,outline:0}),Ae=We=>({color:We.colorTextDisabled,backgroundColor:We.colorBgContainerDisabled,borderColor:We.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Le((0,Ue.TS)(We,{hoverBorderColor:We.colorBorder})))}),we=We=>{const{paddingBlockLG:Ze,fontSizeLG:$e,lineHeightLG:rt,borderRadiusLG:ht,paddingInlineLG:dt}=We;return{padding:`${Ze}px ${dt}px`,fontSize:$e,lineHeight:rt,borderRadius:ht}},fe=We=>({padding:`${We.paddingBlockSM}px ${We.paddingInlineSM}px`,borderRadius:We.borderRadiusSM}),ze=(We,Ze)=>{const{componentCls:$e,colorError:rt,colorWarning:ht,errorActiveShadow:dt,warningActiveShadow:xt,colorErrorBorderHover:Je,colorWarningBorderHover:Lt}=We;return{[`&-status-error:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:rt,"&:hover":{borderColor:Je},"&:focus, &-focused":Object.assign({},ve((0,Ue.TS)(We,{activeBorderColor:rt,activeShadow:dt}))),[`${$e}-prefix, ${$e}-suffix`]:{color:rt}},[`&-status-warning:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:ht,"&:hover":{borderColor:Lt},"&:focus, &-focused":Object.assign({},ve((0,Ue.TS)(We,{activeBorderColor:ht,activeShadow:xt}))),[`${$e}-prefix, ${$e}-suffix`]:{color:ht}}}},Be=We=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${We.paddingBlock}px ${We.paddingInline}px`,color:We.colorText,fontSize:We.fontSize,lineHeight:We.lineHeight,backgroundColor:We.colorBgContainer,backgroundImage:"none",borderWidth:We.lineWidth,borderStyle:We.lineType,borderColor:We.colorBorder,borderRadius:We.borderRadius,transition:`all ${We.motionDurationMid}`},Ne(We.colorTextPlaceholder)),{"&:hover":Object.assign({},Le(We)),"&:focus, &-focused":Object.assign({},ve(We)),"&-disabled, &[disabled]":Object.assign({},Ae(We)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:We.controlHeight,lineHeight:We.lineHeight,verticalAlign:"bottom",transition:`all ${We.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},we(We)),"&-sm":Object.assign({},fe(We)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),_e=We=>{const{componentCls:Ze,antCls:$e}=We;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:We.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${Ze}, &-lg > ${Ze}-group-addon`]:Object.assign({},we(We)),[`&-sm ${Ze}, &-sm > ${Ze}-group-addon`]:Object.assign({},fe(We)),[`&-lg ${$e}-select-single ${$e}-select-selector`]:{height:We.controlHeightLG},[`&-sm ${$e}-select-single ${$e}-select-selector`]:{height:We.controlHeightSM},[`> ${Ze}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${Ze}-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 ${We.paddingInline}px`,color:We.colorText,fontWeight:"normal",fontSize:We.fontSize,textAlign:"center",backgroundColor:We.colorFillAlter,border:`${We.lineWidth}px ${We.lineType} ${We.colorBorder}`,borderRadius:We.borderRadius,transition:`all ${We.motionDurationSlow}`,lineHeight:1,[`${$e}-select`]:{margin:`-${We.paddingBlock+1}px -${We.paddingInline}px`,[`&${$e}-select-single:not(${$e}-select-customize-input)`]:{[`${$e}-select-selector`]:{backgroundColor:"inherit",border:`${We.lineWidth}px ${We.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${$e}-select-selector`]:{color:We.colorPrimary}}},[`${$e}-cascader-picker`]:{margin:`-9px -${We.paddingInline}px`,backgroundColor:"transparent",[`${$e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${Ze}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${Ze}-search-with-button &`]:{zIndex:0}}},[`> ${Ze}:first-child, ${Ze}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ze}-affix-wrapper`]:{[`&:not(:first-child) ${Ze}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${Ze}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ze}:last-child, ${Ze}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${Ze}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ze}-search &`]:{borderStartStartRadius:We.borderRadius,borderEndStartRadius:We.borderRadius}},[`&:not(:first-child), ${Ze}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${Ze}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,he.dF)()),{[`${Ze}-group-addon, ${Ze}-group-wrap, > ${Ze}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:We.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${Ze}-affix-wrapper,
& > ${Ze}-number-affix-wrapper,
& > ${$e}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-We.lineWidth,borderInlineEndWidth:We.lineWidth},[`${Ze}`]:{float:"none"},[`& > ${$e}-select > ${$e}-select-selector,
& > ${$e}-select-auto-complete ${Ze},
& > ${$e}-cascader-picker ${Ze},
& > ${Ze}-group-wrapper ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${$e}-select-focused`]:{zIndex:1},[`& > ${$e}-select > ${$e}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${$e}-select:first-child > ${$e}-select-selector,
& > ${$e}-select-auto-complete:first-child ${Ze},
& > ${$e}-cascader-picker:first-child ${Ze}`]:{borderStartStartRadius:We.borderRadius,borderEndStartRadius:We.borderRadius},[`& > *:last-child,
& > ${$e}-select:last-child > ${$e}-select-selector,
& > ${$e}-cascader-picker:last-child ${Ze},
& > ${$e}-cascader-picker-focused:last-child ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderStartEndRadius:We.borderRadius,borderEndEndRadius:We.borderRadius},[`& > ${$e}-select-auto-complete ${Ze}`]:{verticalAlign:"top"},[`${Ze}-group-wrapper + ${Ze}-group-wrapper`]:{marginInlineStart:-We.lineWidth,[`${Ze}-affix-wrapper`]:{borderRadius:0}},[`${Ze}-group-wrapper:not(:last-child)`]:{[`&${Ze}-search > ${Ze}-group`]:{[`& > ${Ze}-group-addon > ${Ze}-search-button`]:{borderRadius:0},[`& > ${Ze}`]:{borderStartStartRadius:We.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:We.borderRadius}}}})}},Oe=We=>{const{componentCls:Ze,controlHeightSM:$e,lineWidth:rt}=We,dt=($e-rt*2-16)/2;return{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(We)),Be(We)),ze(We,Ze)),{'&[type="color"]':{height:We.controlHeight,[`&${Ze}-lg`]:{height:We.controlHeightLG},[`&${Ze}-sm`]:{height:$e,paddingTop:dt,paddingBottom:dt}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},He=We=>{const{componentCls:Ze}=We;return{[`${Ze}-clear-icon`]:{margin:0,color:We.colorTextQuaternary,fontSize:We.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${We.motionDurationSlow}`,"&:hover":{color:We.colorTextTertiary},"&:active":{color:We.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${We.inputAffixPadding}px`}}}},ke=We=>{const{componentCls:Ze,inputAffixPadding:$e,colorTextDescription:rt,motionDurationSlow:ht,colorIcon:dt,colorIconHover:xt,iconCls:Je}=We;return{[`${Ze}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Be(We)),{display:"inline-flex",[`&:not(${Ze}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Le(We)),{zIndex:1,[`${Ze}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${Ze}[disabled]`]:{background:"transparent"}},[`> input${Ze}`]:{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"'},[`${Ze}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:We.paddingXS}},"&-show-count-suffix":{color:rt},"&-show-count-has-suffix":{marginInlineEnd:We.paddingXXS},"&-prefix":{marginInlineEnd:$e},"&-suffix":{marginInlineStart:$e}}}),He(We)),{[`${Je}${Ze}-password-icon`]:{color:dt,cursor:"pointer",transition:`all ${ht}`,"&:hover":{color:xt}}}),ze(We,`${Ze}-affix-wrapper`))}},Te=We=>{const{componentCls:Ze,colorError:$e,colorWarning:rt,borderRadiusLG:ht,borderRadiusSM:dt}=We;return{[`${Ze}-group`]:Object.assign(Object.assign(Object.assign({},(0,he.Wf)(We)),_e(We)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${Ze}-group-addon`]:{borderRadius:ht,fontSize:We.fontSizeLG}},"&-sm":{[`${Ze}-group-addon`]:{borderRadius:dt}},"&-status-error":{[`${Ze}-group-addon`]:{color:$e,borderColor:$e}},"&-status-warning":{[`${Ze}-group-addon`]:{color:rt,borderColor:rt}},"&-disabled":{[`${Ze}-group-addon`]:Object.assign({},Ae(We))},[`&:not(${Ze}-compact-first-item):not(${Ze}-compact-last-item)${Ze}-compact-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderRadius:0}},[`&:not(${Ze}-compact-last-item)${Ze}-compact-first-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ze}-compact-first-item)${Ze}-compact-last-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Pe=We=>{const{componentCls:Ze,antCls:$e}=We,rt=`${Ze}-search`;return{[rt]:{[`${Ze}`]:{"&:hover, &:focus":{borderColor:We.colorPrimaryHover,[`+ ${Ze}-group-addon ${rt}-button:not(${$e}-btn-primary)`]:{borderInlineStartColor:We.colorPrimaryHover}}},[`${Ze}-affix-wrapper`]:{borderRadius:0},[`${Ze}-lg`]:{lineHeight:We.lineHeightLG-2e-4},[`> ${Ze}-group`]:{[`> ${Ze}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${rt}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:We.borderRadius,borderEndEndRadius:We.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${rt}-button:not(${$e}-btn-primary)`]:{color:We.colorTextDescription,"&:hover":{color:We.colorPrimaryHover},"&:active":{color:We.colorPrimaryActive},[`&${$e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${rt}-button`]:{height:We.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${rt}-button`]:{height:We.controlHeightLG},[`&-small ${rt}-button`]:{height:We.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${Ze}-compact-item`]:{[`&:not(${Ze}-compact-last-item)`]:{[`${Ze}-group-addon`]:{[`${Ze}-search-button`]:{marginInlineEnd:-We.lineWidth,borderRadius:0}}},[`&:not(${Ze}-compact-first-item)`]:{[`${Ze},${Ze}-affix-wrapper`]:{borderRadius:0}},[`> ${Ze}-group-addon ${Ze}-search-button,
> ${Ze},
${Ze}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${Ze}-affix-wrapper-focused`]:{zIndex:2}}}}},Xe=We=>{const{componentCls:Ze,paddingLG:$e}=We,rt=`${Ze}-textarea`;return{[rt]:{position:"relative","&-show-count":{[`> ${Ze}`]:{height:"100%"},[`${Ze}-data-count`]:{position:"absolute",bottom:-We.fontSize*We.lineHeight,insetInlineEnd:0,color:We.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${Ze}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${rt}-has-feedback`]:{[`${Ze}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${Ze}-affix-wrapper`]:{padding:0,[`> textarea${Ze}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${Ze}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Ze}-clear-icon`]:{position:"absolute",insetInlineEnd:We.paddingXS,insetBlockStart:We.paddingXS},[`${rt}-suffix`]:{position:"absolute",top:0,insetInlineEnd:We.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function Ke(We){return(0,Ue.TS)(We,{inputAffixPadding:We.paddingXXS})}const qe=We=>{const{controlHeight:Ze,fontSize:$e,lineHeight:rt,lineWidth:ht,controlHeightSM:dt,controlHeightLG:xt,fontSizeLG:Je,lineHeightLG:Lt,paddingSM:Re,controlPaddingHorizontalSM:Rt,controlPaddingHorizontal:Ft,colorFillAlter:bt,colorPrimaryHover:Tt,controlOutlineWidth:wt,controlOutline:it,colorErrorOutline:je,colorWarningOutline:at}=We;return{paddingBlock:Math.max(Math.round((Ze-$e*rt)/2*10)/10-ht,3),paddingBlockSM:Math.max(Math.round((dt-$e*rt)/2*10)/10-ht,0),paddingBlockLG:Math.ceil((xt-Je*Lt)/2*10)/10-ht,paddingInline:Re-ht,paddingInlineSM:Rt-ht,paddingInlineLG:Ft-ht,addonBg:bt,activeBorderColor:Tt,hoverBorderColor:Tt,activeShadow:`0 0 0 ${wt}px ${it}`,errorActiveShadow:`0 0 0 ${wt}px ${je}`,warningActiveShadow:`0 0 0 ${wt}px ${at}`}};Xt.ZP=(0,At.Z)("Input",We=>{const Ze=(0,Ue.TS)(We,Ke(We));return[Oe(Ze),Xe(Ze),ke(Ze),Te(Ze),Pe(Ze),(0,Me.c)(Ze)]},qe)},45818:function(Tn,Xt,ce){"use strict";ce.d(Xt,{D:function(){return Ke},Z:function(){return Ze}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(rt,ht){return Me.createElement(Ne.Z,(0,he.Z)({},rt,{ref:ht,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(33853),fe=ce(38819),ze=ce(92310),Be=ce.n(ze),_e=ce(2738),He=$e=>!isNaN(parseFloat($e))&&isFinite($e),ke=ce(36355),Te=ce(84966),Pe=function($e,rt){var ht={};for(var dt in $e)Object.prototype.hasOwnProperty.call($e,dt)&&rt.indexOf(dt)<0&&(ht[dt]=$e[dt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,dt=Object.getOwnPropertySymbols($e);xt<dt.length;xt++)rt.indexOf(dt[xt])<0&&Object.prototype.propertyIsEnumerable.call($e,dt[xt])&&(ht[dt[xt]]=$e[dt[xt]]);return ht};const Xe={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ke=Me.createContext({}),qe=(()=>{let $e=0;return function(){let rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return $e+=1,`${rt}${$e}`}})();var Ze=Me.forwardRef(($e,rt)=>{const{prefixCls:ht,className:dt,trigger:xt,children:Je,defaultCollapsed:Lt=!1,theme:Re="dark",style:Rt={},collapsible:Ft=!1,reverseArrow:bt=!1,width:Tt=200,collapsedWidth:wt=80,zeroWidthTriggerStyle:it,breakpoint:je,onCollapse:at,onBreakpoint:Yt}=$e,Vt=Pe($e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:St}=(0,Me.useContext)(Te.Gs),[Qt,cn]=(0,Me.useState)("collapsed"in $e?$e.collapsed:Lt),[Nn,fn]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{"collapsed"in $e&&cn($e.collapsed)},[$e.collapsed]);const Ln=(ie,ae)=>{"collapsed"in $e||cn(ie),at==null||at(ie,ae)},Cn=(0,Me.useRef)();Cn.current=ie=>{fn(ie.matches),Yt==null||Yt(ie.matches),Qt!==ie.matches&&Ln(ie.matches,"responsive")},(0,Me.useEffect)(()=>{function ie(se){return Cn.current(se)}let ae;if(typeof window!="undefined"){const{matchMedia:se}=window;if(se&&je&&je in Xe){ae=se(`(max-width: ${Xe[je]})`);try{ae.addEventListener("change",ie)}catch(oe){ae.addListener(ie)}ie(ae)}}return()=>{try{ae==null||ae.removeEventListener("change",ie)}catch(se){ae==null||ae.removeListener(ie)}}},[je]),(0,Me.useEffect)(()=>{const ie=qe("ant-sider-");return St.addSider(ie),()=>St.removeSider(ie)},[]);const Bn=()=>{Ln(!Qt,"clickTrigger")},{getPrefixCls:gn}=(0,Me.useContext)(ke.E_),Se=()=>{const ie=gn("layout-sider",ht),ae=(0,_e.Z)(Vt,["collapsed"]),se=Qt?wt:Tt,oe=He(se)?`${se}px`:String(se),Ye=parseFloat(String(wt||0))===0?Me.createElement("span",{onClick:Bn,className:Be()(`${ie}-zero-width-trigger`,`${ie}-zero-width-trigger-${bt?"right":"left"}`),style:it},xt||Me.createElement(Ae,null)):null,lt={expanded:bt?Me.createElement(fe.Z,null):Me.createElement(we.Z,null),collapsed:bt?Me.createElement(we.Z,null):Me.createElement(fe.Z,null)}[Qt?"collapsed":"expanded"],Pt=xt!==null?Ye||Me.createElement("div",{className:`${ie}-trigger`,onClick:Bn,style:{width:oe}},xt||lt):null,Mt=Object.assign(Object.assign({},Rt),{flex:`0 0 ${oe}`,maxWidth:oe,minWidth:oe,width:oe}),kt=Be()(ie,`${ie}-${Re}`,{[`${ie}-collapsed`]:!!Qt,[`${ie}-has-trigger`]:Ft&&xt!==null&&!Ye,[`${ie}-below`]:!!Nn,[`${ie}-zero-width`]:parseFloat(oe)===0},dt);return Me.createElement("aside",Object.assign({className:kt},ae,{style:Mt,ref:rt}),Me.createElement("div",{className:`${ie}-children`},Je),Ft||Nn&&Ye?Pt:null)},Fe=Me.useMemo(()=>({siderCollapsed:Qt}),[Qt]);return Me.createElement(Ke.Provider,{value:Fe},Se())})},84966:function(Tn,Xt,ce){"use strict";ce.d(Xt,{VY:function(){return Ke},$_:function(){return Xe},h4:function(){return Pe},Gs:function(){return _e},ZP:function(){return qe}});var he=ce(77654),Me=ce(92310),Ue=ce.n(Me),At=ce(2738),Ne=ce(59301),Le=ce(36355),ve=ce(83116),we=We=>{const{componentCls:Ze,bodyBg:$e,lightSiderBg:rt,lightTriggerBg:ht,lightTriggerColor:dt}=We;return{[`${Ze}-sider-light`]:{background:rt,[`${Ze}-sider-trigger`]:{color:dt,background:ht},[`${Ze}-sider-zero-width-trigger`]:{color:dt,background:ht,border:`1px solid ${$e}`,borderInlineStart:0}}}};const fe=We=>{const{antCls:Ze,componentCls:$e,colorText:rt,triggerColor:ht,footerBg:dt,triggerBg:xt,headerHeight:Je,headerPadding:Lt,headerColor:Re,footerPadding:Rt,triggerHeight:Ft,zeroTriggerHeight:bt,zeroTriggerWidth:Tt,motionDurationMid:wt,motionDurationSlow:it,fontSize:je,borderRadius:at,bodyBg:Yt,headerBg:Vt,siderBg:St}=We;return{[$e]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Yt,"&, *":{boxSizing:"border-box"},[`&${$e}-has-sider`]:{flexDirection:"row",[`> ${$e}, > ${$e}-content`]:{width:0}},[`${$e}-header, &${$e}-footer`]:{flex:"0 0 auto"},[`${$e}-sider`]:{position:"relative",minWidth:0,background:St,transition:`all ${wt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ze}-menu${Ze}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ft},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ft,color:ht,lineHeight:`${Ft}px`,textAlign:"center",background:xt,cursor:"pointer",transition:`all ${wt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Je,insetInlineEnd:-Tt,zIndex:1,width:Tt,height:bt,color:ht,fontSize:We.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:St,borderStartStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Tt,borderStartStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:at}}}}},we(We)),{"&-rtl":{direction:"rtl"}}),[`${$e}-header`]:{height:Je,padding:Lt,color:Re,lineHeight:`${Je}px`,background:Vt,[`${Ze}-menu`]:{lineHeight:"inherit"}},[`${$e}-footer`]:{padding:Rt,color:rt,fontSize:je,background:dt},[`${$e}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,ve.Z)("Layout",We=>[fe(We)],We=>{const{colorBgLayout:Ze,controlHeight:$e,controlHeightLG:rt,colorText:ht,controlHeightSM:dt,marginXXS:xt,colorTextLightSolid:Je,colorBgContainer:Lt}=We,Re=rt*1.25;return{colorBgHeader:"#001529",colorBgBody:Ze,colorBgTrigger:"#002140",bodyBg:Ze,headerBg:"#001529",headerHeight:$e*2,headerPadding:`0 ${Re}px`,headerColor:ht,footerPadding:`${dt}px ${Re}px`,footerBg:Ze,siderBg:"#001529",triggerHeight:rt+xt*2,triggerBg:"#002140",triggerColor:Je,zeroTriggerWidth:rt,zeroTriggerHeight:rt,lightSiderBg:Lt,lightTriggerBg:Lt,lightTriggerColor:ht}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Be=function(We,Ze){var $e={};for(var rt in We)Object.prototype.hasOwnProperty.call(We,rt)&&Ze.indexOf(rt)<0&&($e[rt]=We[rt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,rt=Object.getOwnPropertySymbols(We);ht<rt.length;ht++)Ze.indexOf(rt[ht])<0&&Object.prototype.propertyIsEnumerable.call(We,rt[ht])&&($e[rt[ht]]=We[rt[ht]]);return $e};const _e=Ne.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function Oe(We){let{suffixCls:Ze,tagName:$e,displayName:rt}=We;return ht=>Ne.forwardRef((xt,Je)=>Ne.createElement(ht,Object.assign({ref:Je,suffixCls:Ze,tagName:$e},xt)))}const He=Ne.forwardRef((We,Ze)=>{const{prefixCls:$e,suffixCls:rt,className:ht,tagName:dt}=We,xt=Be(We,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Je}=Ne.useContext(Le.E_),Lt=Je("layout",$e),[Re,Rt]=ze(Lt),Ft=rt?`${Lt}-${rt}`:Lt;return Re(Ne.createElement(dt,Object.assign({className:Ue()($e||Ft,ht,Rt),ref:Ze},xt)))}),ke=Ne.forwardRef((We,Ze)=>{const{direction:$e}=Ne.useContext(Le.E_),[rt,ht]=Ne.useState([]),{prefixCls:dt,className:xt,rootClassName:Je,children:Lt,hasSider:Re,tagName:Rt,style:Ft}=We,bt=Be(We,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Tt=(0,At.Z)(bt,["suffixCls"]),{getPrefixCls:wt,layout:it}=Ne.useContext(Le.E_),je=wt("layout",dt),[at,Yt]=ze(je),Vt=Ue()(je,{[`${je}-has-sider`]:typeof Re=="boolean"?Re:rt.length>0,[`${je}-rtl`]:$e==="rtl"},it==null?void 0:it.className,xt,Je,Yt),St=Ne.useMemo(()=>({siderHook:{addSider:Qt=>{ht(cn=>[].concat((0,he.Z)(cn),[Qt]))},removeSider:Qt=>{ht(cn=>cn.filter(Nn=>Nn!==Qt))}}}),[]);return at(Ne.createElement(_e.Provider,{value:St},Ne.createElement(Rt,Object.assign({ref:Ze,className:Vt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Ft)},Tt),Lt)))}),Te=Oe({tagName:"div",displayName:"Layout"})(ke),Pe=Oe({suffixCls:"header",tagName:"header",displayName:"Header"})(He),Xe=Oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(He),Ke=Oe({suffixCls:"content",tagName:"main",displayName:"Content"})(He);var qe=Te},40875:function(Tn,Xt,ce){"use strict";ce.d(Xt,{J:function(){return Le}});var he=ce(59301),Me=ce(33234),Ue=ce(70425),At=function(ve,Ae){var we={};for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&Ae.indexOf(fe)<0&&(we[fe]=ve[fe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,fe=Object.getOwnPropertySymbols(ve);ze<fe.length;ze++)Ae.indexOf(fe[ze])<0&&Object.prototype.propertyIsEnumerable.call(ve,fe[ze])&&(we[fe[ze]]=ve[fe[ze]]);return we};const Ne=he.createContext(null),Le=he.forwardRef((ve,Ae)=>{const{children:we}=ve,fe=At(ve,["children"]),ze=he.useContext(Ne),Be=he.useMemo(()=>Object.assign(Object.assign({},ze),fe),[ze,fe.prefixCls,fe.mode,fe.selectable]);return he.createElement(Ne.Provider,{value:Be},he.createElement(Me.BR,null,(0,Ue.supportNodeRef)(we)?he.cloneElement(we,{ref:Ae}):we))});Xt.Z=Ne},20834:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Fe}});var he=ce(15285),Me=ce(59301),Ue=ce(45818),At=ce(92310),Ne=ce.n(At),Le=ce(36355),ve=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,oe=Object.getOwnPropertySymbols(ie);Ye<oe.length;Ye++)ae.indexOf(oe[Ye])<0&&Object.prototype.propertyIsEnumerable.call(ie,oe[Ye])&&(se[oe[Ye]]=ie[oe[Ye]]);return se},we=ie=>{const{prefixCls:ae,className:se,dashed:oe}=ie,Ye=ve(ie,["prefixCls","className","dashed"]),{getPrefixCls:vt}=Me.useContext(Le.E_),et=vt("menu",ae),lt=Ne()({[`${et}-item-divider-dashed`]:!!oe},se);return Me.createElement(he.iz,Object.assign({className:lt},Ye))},fe=ce(11592),ze=ce(2738),Be=ce(6848),_e=ce(92343),He=(0,Me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Te=ie=>{var ae;const{className:se,children:oe,icon:Ye,title:vt,danger:et}=ie,{prefixCls:lt,firstLevel:Pt,direction:Mt,disableMenuItemTitleTooltip:kt,inlineCollapsed:$t}=Me.useContext(He),Sn=Wt=>{const vn=Me.createElement("span",{className:`${lt}-title-content`},oe);return(!Ye||(0,_e.l$)(oe)&&oe.type==="span")&&oe&&Wt&&Pt&&typeof oe=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},oe.charAt(0)):vn},{siderCollapsed:Bt}=Me.useContext(Ue.D);let nn=vt;typeof vt=="undefined"?nn=Pt?oe:"":vt===!1&&(nn="");const tn={title:nn};!Bt&&!$t&&(tn.title=null,tn.open=!1);const zt=(0,fe.Z)(oe).length;let pt=Me.createElement(he.ck,Object.assign({},(0,ze.Z)(ie,["title","icon","danger"]),{className:Ne()({[`${lt}-item-danger`]:et,[`${lt}-item-only-child`]:(Ye?zt+1:zt)===1},se),title:typeof vt=="string"?vt:void 0}),(0,_e.Tm)(Ye,{className:Ne()((0,_e.l$)(Ye)?(ae=Ye.props)===null||ae===void 0?void 0:ae.className:"",`${lt}-item-icon`)}),Sn($t));return kt||(pt=Me.createElement(Be.Z,Object.assign({},tn,{placement:Mt==="rtl"?"left":"right",overlayClassName:`${lt}-inline-collapsed-tooltip`}),pt)),pt},Xe=ie=>{var ae;const{popupClassName:se,icon:oe,title:Ye,theme:vt}=ie,et=Me.useContext(He),{prefixCls:lt,inlineCollapsed:Pt,theme:Mt}=et,kt=(0,he.Xl)();let $t;if(!oe)$t=Pt&&!kt.length&&Ye&&typeof Ye=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},Ye.charAt(0)):Me.createElement("span",{className:`${lt}-title-content`},Ye);else{const Bt=(0,_e.l$)(Ye)&&Ye.type==="span";$t=Me.createElement(Me.Fragment,null,(0,_e.Tm)(oe,{className:Ne()((0,_e.l$)(oe)?(ae=oe.props)===null||ae===void 0?void 0:ae.className:"",`${lt}-item-icon`)}),Bt?Ye:Me.createElement("span",{className:`${lt}-title-content`},Ye))}const Sn=Me.useMemo(()=>Object.assign(Object.assign({},et),{firstLevel:!1}),[et]);return Me.createElement(He.Provider,{value:Sn},Me.createElement(he.Wd,Object.assign({},(0,ze.Z)(ie,["icon"]),{title:$t,popupClassName:Ne()(lt,se,`${lt}-${vt||Mt}`)})))},Ke=ce(18785),qe=ce(70425),We=ce(62892),Ze=ce(40875),$e=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,oe=Object.getOwnPropertySymbols(ie);Ye<oe.length;Ye++)ae.indexOf(oe[Ye])<0&&Object.prototype.propertyIsEnumerable.call(ie,oe[Ye])&&(se[oe[Ye]]=ie[oe[Ye]]);return se};function rt(ie){return(ie||[]).map((ae,se)=>{if(ae&&typeof ae=="object"){const oe=ae,{label:Ye,children:vt,key:et,type:lt}=oe,Pt=$e(oe,["label","children","key","type"]),Mt=et!=null?et:`tmp-${se}`;return vt||lt==="group"?lt==="group"?Me.createElement(he.BW,Object.assign({key:Mt},Pt,{title:Ye}),rt(vt)):Me.createElement(Xe,Object.assign({key:Mt},Pt,{title:Ye}),rt(vt)):lt==="divider"?Me.createElement(we,Object.assign({key:Mt},Pt)):Me.createElement(Te,Object.assign({key:Mt},Pt),Ye)}return null}).filter(ae=>ae)}function ht(ie){return Me.useMemo(()=>ie&&rt(ie),[ie])}var dt=ce(64993),xt=ce(17313),Je=ce(8378),Lt=ce(13826),Re=ce(29878),Rt=ce(83116),Ft=ce(37613),Tt=ie=>{const{componentCls:ae,motionDurationSlow:se,horizontalLineHeight:oe,colorSplit:Ye,lineWidth:vt,lineType:et,itemPaddingInline:lt}=ie;return{[`${ae}-horizontal`]:{lineHeight:oe,border:0,borderBottom:`${vt}px ${et} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ae}-item, ${ae}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:lt},[`> ${ae}-item:hover,
> ${ae}-item-active,
> ${ae}-submenu ${ae}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ae}-item, ${ae}-submenu-title`]:{transition:[`border-color ${se}`,`background ${se}`].join(",")},[`${ae}-submenu-arrow`]:{display:"none"}}}},it=ie=>{let{componentCls:ae,menuArrowOffset:se}=ie;return{[`${ae}-rtl`]:{direction:"rtl"},[`${ae}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ae}-rtl${ae}-vertical,
${ae}-submenu-rtl ${ae}-vertical`]:{[`${ae}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${se})`},"&::after":{transform:`rotate(45deg) translateY(${se})`}}}}};const je=ie=>Object.assign({},(0,xt.oN)(ie));var Yt=(ie,ae)=>{const{componentCls:se,itemColor:oe,itemSelectedColor:Ye,groupTitleColor:vt,itemBg:et,subMenuItemBg:lt,itemSelectedBg:Pt,activeBarHeight:Mt,activeBarWidth:kt,activeBarBorderWidth:$t,motionDurationSlow:Sn,motionEaseInOut:Bt,motionEaseOut:nn,itemPaddingInline:tn,motionDurationMid:zt,itemHoverColor:pt,lineType:Wt,colorSplit:vn,itemDisabledColor:xn,dangerItemColor:Wn,dangerItemHoverColor:br,dangerItemSelectedColor:Lr,dangerItemActiveBg:jr,dangerItemSelectedBg:Qr,itemHoverBg:vr,itemActiveBg:Ar,menuSubMenuBg:Tr,horizontalItemSelectedColor:Bi,horizontalItemSelectedBg:$i,horizontalItemBorderRadius:mi,horizontalItemHoverBg:Mi,popupBg:pa}=ie;return{[`${se}-${ae}, ${se}-${ae} > ${se}`]:{color:oe,background:et,[`&${se}-root:focus-visible`]:Object.assign({},je(ie)),[`${se}-item-group-title`]:{color:vt},[`${se}-submenu-selected`]:{[`> ${se}-submenu-title`]:{color:Ye}},[`${se}-item-disabled, ${se}-submenu-disabled`]:{color:`${xn} !important`},[`${se}-item:not(${se}-item-selected):not(${se}-submenu-selected)`]:{[`&:hover, > ${se}-submenu-title:hover`]:{color:pt}},[`&:not(${se}-horizontal)`]:{[`${se}-item:not(${se}-item-selected)`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:Ar}},[`${se}-submenu-title`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:Ar}}},[`${se}-item-danger`]:{color:Wn,[`&${se}-item:hover`]:{[`&:not(${se}-item-selected):not(${se}-submenu-selected)`]:{color:br}},[`&${se}-item:active`]:{background:jr}},[`${se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${se}-item-selected`]:{color:Ye,[`&${se}-item-danger`]:{color:Lr},"a, a:hover":{color:"inherit"}},[`& ${se}-item-selected`]:{backgroundColor:Pt,[`&${se}-item-danger`]:{backgroundColor:Qr}},[`${se}-item, ${se}-submenu-title`]:{[`&:not(${se}-item-disabled):focus-visible`]:Object.assign({},je(ie))},[`&${se}-submenu > ${se}`]:{backgroundColor:Tr},[`&${se}-popup > ${se}`]:{backgroundColor:pa},[`&${se}-horizontal`]:Object.assign(Object.assign({},ae==="dark"?{borderBottom:0}:{}),{[`> ${se}-item, > ${se}-submenu`]:{top:$t,marginTop:-$t,marginBottom:0,borderRadius:mi,"&::after":{position:"absolute",insetInline:tn,bottom:0,borderBottom:`${Mt}px solid transparent`,transition:`border-color ${Sn} ${Bt}`,content:'""'},"&:hover, &-active, &-open":{background:Mi,"&::after":{borderBottomWidth:Mt,borderBottomColor:Bi}},"&-selected":{color:Bi,backgroundColor:$i,"&:hover":{backgroundColor:$i},"&::after":{borderBottomWidth:Mt,borderBottomColor:Bi}}}}),[`&${se}-root`]:{[`&${se}-inline, &${se}-vertical`]:{borderInlineEnd:`${$t}px ${Wt} ${vn}`}},[`&${se}-inline`]:{[`${se}-sub${se}-inline`]:{background:lt},[`${se}-item, ${se}-submenu-title`]:$t&&kt?{width:`calc(100% + ${$t}px)`}:{},[`${se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${kt}px solid ${Ye}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${zt} ${nn}`,`opacity ${zt} ${nn}`].join(","),content:'""'},[`&${se}-item-danger`]:{"&::after":{borderInlineEndColor:Lr}}},[`${se}-selected, ${se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${zt} ${Bt}`,`opacity ${zt} ${Bt}`].join(",")}}}}}};const Vt=ie=>{const{componentCls:ae,itemHeight:se,itemMarginInline:oe,padding:Ye,menuArrowSize:vt,marginXS:et,itemMarginBlock:lt}=ie,Pt=Ye+vt+et;return{[`${ae}-item`]:{position:"relative",overflow:"hidden"},[`${ae}-item, ${ae}-submenu-title`]:{height:se,lineHeight:`${se}px`,paddingInline:Ye,overflow:"hidden",textOverflow:"ellipsis",marginInline:oe,marginBlock:lt,width:`calc(100% - ${oe*2}px)`},[`> ${ae}-item,
> ${ae}-submenu > ${ae}-submenu-title`]:{height:se,lineHeight:`${se}px`},[`${ae}-item-group-list ${ae}-submenu-title,
${ae}-submenu-title`]:{paddingInlineEnd:Pt}}};var Qt=ie=>{const{componentCls:ae,iconCls:se,itemHeight:oe,colorTextLightSolid:Ye,dropdownWidth:vt,controlHeightLG:et,motionDurationMid:lt,motionEaseOut:Pt,paddingXL:Mt,itemMarginInline:kt,fontSizeLG:$t,motionDurationSlow:Sn,paddingXS:Bt,boxShadowSecondary:nn,collapsedWidth:tn,collapsedIconSize:zt}=ie,pt={height:oe,lineHeight:`${oe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ae]:{"&-inline, &-vertical":Object.assign({[`&${ae}-root`]:{boxShadow:"none"}},Vt(ie))},[`${ae}-submenu-popup`]:{[`${ae}-vertical`]:Object.assign(Object.assign({},Vt(ie)),{boxShadow:nn})}},{[`${ae}-submenu-popup ${ae}-vertical${ae}-sub`]:{minWidth:vt,maxHeight:`calc(100vh - ${et*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ae}-inline`]:{width:"100%",[`&${ae}-root`]:{[`${ae}-item, ${ae}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Sn}`,`background ${Sn}`,`padding ${lt} ${Pt}`].join(","),[`> ${ae}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ae}-sub${ae}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ae}-submenu > ${ae}-submenu-title`]:pt,[`& ${ae}-item-group-title`]:{paddingInlineStart:Mt}},[`${ae}-item`]:pt}},{[`${ae}-inline-collapsed`]:{width:tn,[`&${ae}-root`]:{[`${ae}-item, ${ae}-submenu ${ae}-submenu-title`]:{[`> ${ae}-inline-collapsed-noicon`]:{fontSize:$t,textAlign:"center"}}},[`> ${ae}-item,
> ${ae}-item-group > ${ae}-item-group-list > ${ae}-item,
> ${ae}-item-group > ${ae}-item-group-list > ${ae}-submenu > ${ae}-submenu-title,
> ${ae}-submenu > ${ae}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${$t/2}px - ${kt}px)`,textOverflow:"clip",[`
${ae}-submenu-arrow,
${ae}-submenu-expand-icon
`]:{opacity:0},[`${ae}-item-icon, ${se}`]:{margin:0,fontSize:zt,lineHeight:`${oe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ae}-item-icon, ${se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ae}-item-icon, ${se}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${ae}-item-group-title`]:Object.assign(Object.assign({},xt.vS),{paddingInline:Bt})}}]};const cn=ie=>{const{componentCls:ae,motionDurationSlow:se,motionDurationMid:oe,motionEaseInOut:Ye,motionEaseOut:vt,iconCls:et,iconSize:lt,iconMarginInlineEnd:Pt}=ie;return{[`${ae}-item, ${ae}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${se}`,`background ${se}`,`padding ${se} ${Ye}`].join(","),[`${ae}-item-icon, ${et}`]:{minWidth:lt,fontSize:lt,transition:[`font-size ${oe} ${vt}`,`margin ${se} ${Ye}`,`color ${se}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${se} ${Ye}`,`margin ${se}`,`color ${se}`].join(",")}},[`${ae}-item-icon`]:Object.assign({},(0,xt.Ro)()),[`&${ae}-item-only-child`]:{[`> ${et}, > ${ae}-item-icon`]:{marginInlineEnd:0}}},[`${ae}-item-disabled, ${ae}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ae}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Nn=ie=>{const{componentCls:ae,motionDurationSlow:se,motionEaseInOut:oe,borderRadius:Ye,menuArrowSize:vt,menuArrowOffset:et}=ie;return{[`${ae}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ie.margin,width:vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${se} ${oe}, opacity ${se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:vt*.6,height:vt*.15,backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${se} ${oe}`,`transform ${se} ${oe}`,`top ${se} ${oe}`,`color ${se} ${oe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${et})`},"&::after":{transform:`rotate(-45deg) translateY(${et})`}}}}},fn=ie=>{const{antCls:ae,componentCls:se,fontSize:oe,motionDurationSlow:Ye,motionDurationMid:vt,motionEaseInOut:et,paddingXS:lt,padding:Pt,colorSplit:Mt,lineWidth:kt,zIndexPopup:$t,borderRadiusLG:Sn,subMenuItemBorderRadius:Bt,menuArrowSize:nn,menuArrowOffset:tn,lineType:zt,menuPanelMaskInset:pt,groupTitleLineHeight:Wt,groupTitleFontSize:vn}=ie;return[{"":{[`${se}`]:Object.assign(Object.assign({},(0,xt.dF)()),{"&-hidden":{display:"none"}})},[`${se}-submenu-hidden`]:{display:"none"}},{[se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xt.Wf)(ie)),(0,xt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:oe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ye} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${se}-item`]:{flex:"none"}},[`${se}-item, ${se}-submenu, ${se}-submenu-title`]:{borderRadius:ie.itemBorderRadius},[`${se}-item-group-title`]:{padding:`${lt}px ${Pt}px`,fontSize:vn,lineHeight:Wt,transition:`all ${Ye}`},[`&-horizontal ${se}-submenu`]:{transition:[`border-color ${Ye} ${et}`,`background ${Ye} ${et}`].join(",")},[`${se}-submenu, ${se}-submenu-inline`]:{transition:[`border-color ${Ye} ${et}`,`background ${Ye} ${et}`,`padding ${vt} ${et}`].join(",")},[`${se}-submenu ${se}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${et}`,`padding ${Ye} ${et}`].join(",")},[`${se}-title-content`]:{transition:`color ${Ye}`},[`${se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Mt,borderStyle:zt,borderWidth:0,borderTopWidth:kt,marginBlock:kt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),cn(ie)),{[`${se}-item-group`]:{[`${se}-item-group-list`]:{margin:0,padding:0,[`${se}-item, ${se}-submenu-title`]:{paddingInline:`${oe*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$t,borderRadius:Sn,boxShadow:"none",transformOrigin:"0 0",[`&${se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${pt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:pt},"\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:ie.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ie.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ie.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ie.paddingXS},[`> ${se}`]:Object.assign(Object.assign(Object.assign({borderRadius:Sn},cn(ie)),Nn(ie)),{[`${se}-item, ${se}-submenu > ${se}-submenu-title`]:{borderRadius:Bt},[`${se}-submenu-title::after`]:{transition:`transform ${Ye} ${et}`}})}}),Nn(ie)),{[`&-inline-collapsed ${se}-submenu-arrow,
&-inline ${se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${tn})`},"&::after":{transform:`rotate(45deg) translateX(-${tn})`}},[`${se}-submenu-open${se}-submenu-inline > ${se}-submenu-title > ${se}-submenu-arrow`]:{transform:`translateY(-${nn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${tn})`},"&::before":{transform:`rotate(45deg) translateX(${tn})`}}})},{[`${ae}-layout-header`]:{[se]:{lineHeight:"inherit"}}}]};var Ln=(ie,ae)=>(0,Rt.Z)("Menu",oe=>{if(ae===!1)return[];const{colorBgElevated:Ye,colorPrimary:vt,colorTextLightSolid:et,controlHeightLG:lt,fontSize:Pt,darkItemColor:Mt,darkDangerItemColor:kt,darkItemBg:$t,darkSubMenuItemBg:Sn,darkItemSelectedColor:Bt,darkItemSelectedBg:nn,darkDangerItemSelectedBg:tn,darkItemHoverBg:zt,darkGroupTitleColor:pt,darkItemHoverColor:Wt,darkItemDisabledColor:vn,darkDangerItemHoverColor:xn,darkDangerItemSelectedColor:Wn,darkDangerItemActiveBg:br}=oe,Lr=Pt/7*5,jr=(0,Ft.TS)(oe,{menuArrowSize:Lr,menuHorizontalHeight:lt*1.15,menuArrowOffset:`${Lr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ye}),Qr=(0,Ft.TS)(jr,{itemColor:Mt,itemHoverColor:Wt,groupTitleColor:pt,itemSelectedColor:Bt,itemBg:$t,popupBg:$t,subMenuItemBg:Sn,itemActiveBg:"transparent",itemSelectedBg:nn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:zt,itemDisabledColor:vn,dangerItemColor:kt,dangerItemHoverColor:xn,dangerItemSelectedColor:Wn,dangerItemActiveBg:br,dangerItemSelectedBg:tn,menuSubMenuBg:Sn,horizontalItemSelectedColor:et,horizontalItemSelectedBg:vt});return[fn(jr),Tt(jr),Qt(jr),Yt(jr,"light"),Yt(Qr,"dark"),it(jr),(0,Je.Z)(jr),(0,Lt.oN)(jr,"slide-up"),(0,Lt.oN)(jr,"slide-down"),(0,Re._y)(jr,"zoom-big")]},oe=>{const{colorPrimary:Ye,colorError:vt,colorTextDisabled:et,colorErrorBg:lt,colorText:Pt,colorTextDescription:Mt,colorBgContainer:kt,colorFillAlter:$t,colorFillContent:Sn,lineWidth:Bt,lineWidthBold:nn,controlItemBgActive:tn,colorBgTextHover:zt,controlHeightLG:pt,lineHeight:Wt,colorBgElevated:vn,marginXXS:xn,padding:Wn,fontSize:br,controlHeightSM:Lr,fontSizeLG:jr,colorTextLightSolid:Qr,colorErrorHover:vr}=oe,Ar=new dt.C(Qr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:oe.zIndexPopupBase+50,radiusItem:oe.borderRadiusLG,itemBorderRadius:oe.borderRadiusLG,radiusSubMenuItem:oe.borderRadiusSM,subMenuItemBorderRadius:oe.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:Ye,horizontalItemHoverColor:Ye,colorGroupTitle:Mt,groupTitleColor:Mt,colorItemTextSelected:Ye,itemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:kt,itemBg:kt,colorItemBgHover:zt,itemHoverBg:zt,colorItemBgActive:Sn,itemActiveBg:tn,colorSubItemBg:$t,subMenuItemBg:$t,colorItemBgSelected:tn,itemSelectedBg:tn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:nn,activeBarHeight:nn,colorActiveBarBorderSize:Bt,activeBarBorderWidth:Bt,colorItemTextDisabled:et,itemDisabledColor:et,colorDangerItemText:vt,dangerItemColor:vt,colorDangerItemTextHover:vt,dangerItemHoverColor:vt,colorDangerItemTextSelected:vt,dangerItemSelectedColor:vt,colorDangerItemBgActive:lt,dangerItemActiveBg:lt,colorDangerItemBgSelected:lt,dangerItemSelectedBg:lt,itemMarginInline:oe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:pt,groupTitleLineHeight:Wt,collapsedWidth:pt*2,popupBg:vn,itemMarginBlock:xn,itemPaddingInline:Wn,horizontalLineHeight:`${pt*1.15}px`,iconSize:br,iconMarginInlineEnd:Lr-br,collapsedIconSize:jr,groupTitleFontSize:br,darkItemDisabledColor:new dt.C(Qr).setAlpha(.25).toRgbString(),darkItemColor:Ar,darkDangerItemColor:vt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Qr,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:vt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ar,darkItemHoverColor:Qr,darkDangerItemHoverColor:vr,darkDangerItemSelectedColor:Qr,darkDangerItemActiveBg:vt}},{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"]]})(ie),Cn=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,oe=Object.getOwnPropertySymbols(ie);Ye<oe.length;Ye++)ae.indexOf(oe[Ye])<0&&Object.prototype.propertyIsEnumerable.call(ie,oe[Ye])&&(se[oe[Ye]]=ie[oe[Ye]]);return se},gn=(0,Me.forwardRef)((ie,ae)=>{var se,oe;const Ye=Me.useContext(Ze.Z),vt=Ye||{},{getPrefixCls:et,getPopupContainer:lt,direction:Pt,menu:Mt}=Me.useContext(Le.E_),kt=et(),{prefixCls:$t,className:Sn,style:Bt,theme:nn="light",expandIcon:tn,_internalDisableMenuItemTitleTooltip:zt,inlineCollapsed:pt,siderCollapsed:Wt,items:vn,children:xn,rootClassName:Wn,mode:br,selectable:Lr,onClick:jr,overflowedIndicatorPopupClassName:Qr}=ie,vr=Cn(ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ar=(0,ze.Z)(vr,["collapsedWidth"]),Tr=ht(vn)||xn;(se=vt.validator)===null||se===void 0||se.call(vt,{mode:br});const Bi=(0,qe.useEvent)(function(){var Pi;jr==null||jr.apply(void 0,arguments),(Pi=vt.onClick)===null||Pi===void 0||Pi.call(vt)}),$i=vt.mode||br,mi=Lr!=null?Lr:vt.selectable,Mi=Me.useMemo(()=>Wt!==void 0?Wt:pt,[pt,Wt]),pa={horizontal:{motionName:`${kt}-slide-up`},inline:(0,We.Z)(kt),other:{motionName:`${kt}-zoom-big`}},Dr=et("menu",$t||vt.prefixCls),[_n,no]=Ln(Dr,!Ye),Ki=Ne()(`${Dr}-${nn}`,Mt==null?void 0:Mt.className,Sn);let Co;if(typeof tn=="function")Co=tn;else if(tn===null||tn===!1)Co=null;else if(vt.expandIcon===null||vt.expandIcon===!1)Co=null;else{const Pi=tn!=null?tn:vt.expandIcon;Co=(0,_e.Tm)(Pi,{className:Ne()(`${Dr}-submenu-expand-icon`,(0,_e.l$)(Pi)?(oe=Pi.props)===null||oe===void 0?void 0:oe.className:"")})}const ro=Me.useMemo(()=>({prefixCls:Dr,inlineCollapsed:Mi||!1,direction:Pt,firstLevel:!0,theme:nn,mode:$i,disableMenuItemTitleTooltip:zt}),[Dr,Mi,Pt,zt,nn]);return _n(Me.createElement(Ze.Z.Provider,{value:null},Me.createElement(He.Provider,{value:ro},Me.createElement(he.ZP,Object.assign({getPopupContainer:lt,overflowedIndicator:Me.createElement(Ke.Z,null),overflowedIndicatorPopupClassName:Ne()(Dr,`${Dr}-${nn}`,Qr),mode:$i,selectable:mi,onClick:Bi},Ar,{inlineCollapsed:Mi,style:Object.assign(Object.assign({},Mt==null?void 0:Mt.style),Bt),className:Ki,prefixCls:Dr,direction:Pt,defaultMotions:pa,expandIcon:Co,ref:ae,rootClassName:Ne()(Wn,no)}),Tr))))});const Se=(0,Me.forwardRef)((ie,ae)=>{const se=(0,Me.useRef)(null),oe=Me.useContext(Ue.D);return(0,Me.useImperativeHandle)(ae,()=>({menu:se.current,focus:Ye=>{var vt;(vt=se.current)===null||vt===void 0||vt.focus(Ye)}})),Me.createElement(gn,Object.assign({ref:se},ie,oe))});Se.Item=Te,Se.SubMenu=Xe,Se.Divider=we,Se.ItemGroup=he.BW;var Fe=Se},58421:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return vt}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(lt,Pt){return Me.createElement(Ne.Z,(0,he.Z)({},lt,{ref:Pt,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(49198),fe=ce(33853),ze=ce(38819),Be=ce(92310),_e=ce.n(Be),Oe=ce(18642),He=ce(85899),ke=ce(38705),Te=ce(17212),Pe=ce(39153),Xe=ce(55401),Ke=ce(26112),qe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},We=qe,Ze=ce(91735),$e=function(et){(0,Pe.Z)(Pt,et);var lt=(0,Xe.Z)(Pt);function Pt(){var Mt;(0,ke.Z)(this,Pt);for(var kt=arguments.length,$t=new Array(kt),Sn=0;Sn<kt;Sn++)$t[Sn]=arguments[Sn];return Mt=lt.call.apply(lt,[this].concat($t)),Mt.state={goInputText:""},Mt.getValidValue=function(){var Bt=Mt.state.goInputText;return!Bt||Number.isNaN(Bt)?void 0:Number(Bt)},Mt.buildOptionText=function(Bt){return"".concat(Bt," ").concat(Mt.props.locale.items_per_page)},Mt.changeSize=function(Bt){Mt.props.changeSize(Number(Bt))},Mt.handleChange=function(Bt){Mt.setState({goInputText:Bt.target.value})},Mt.handleBlur=function(Bt){var nn=Mt.props,tn=nn.goButton,zt=nn.quickGo,pt=nn.rootPrefixCls,Wt=Mt.state.goInputText;tn||Wt===""||(Mt.setState({goInputText:""}),!(Bt.relatedTarget&&(Bt.relatedTarget.className.indexOf("".concat(pt,"-item-link"))>=0||Bt.relatedTarget.className.indexOf("".concat(pt,"-item"))>=0))&&zt(Mt.getValidValue()))},Mt.go=function(Bt){var nn=Mt.state.goInputText;nn!==""&&(Bt.keyCode===We.ENTER||Bt.type==="click")&&(Mt.setState({goInputText:""}),Mt.props.quickGo(Mt.getValidValue()))},Mt}return(0,Te.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var kt=this.props,$t=kt.pageSize,Sn=kt.pageSizeOptions;return Sn.some(function(Bt){return Bt.toString()===$t.toString()})?Sn:Sn.concat([$t.toString()]).sort(function(Bt,nn){var tn=Number.isNaN(Number(Bt))?0:Number(Bt),zt=Number.isNaN(Number(nn))?0:Number(nn);return tn-zt})}},{key:"render",value:function(){var kt=this,$t=this.props,Sn=$t.pageSize,Bt=$t.locale,nn=$t.rootPrefixCls,tn=$t.changeSize,zt=$t.quickGo,pt=$t.goButton,Wt=$t.selectComponentClass,vn=$t.buildOptionText,xn=$t.selectPrefixCls,Wn=$t.disabled,br=this.state.goInputText,Lr="".concat(nn,"-options"),jr=Wt,Qr=null,vr=null,Ar=null;if(!tn&&!zt)return null;var Tr=this.getPageSizeOptions();if(tn&&jr){var Bi=Tr.map(function($i,mi){return Me.createElement(jr.Option,{key:mi,value:$i.toString()},(vn||kt.buildOptionText)($i))});Qr=Me.createElement(jr,{disabled:Wn,prefixCls:xn,showSearch:!1,className:"".concat(Lr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Sn||Tr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(mi){return mi.parentNode},"aria-label":Bt.page_size,defaultOpen:!1},Bi)}return zt&&(pt&&(Ar=typeof pt=="boolean"?Me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Wn,className:"".concat(Lr,"-quick-jumper-button")},Bt.jump_to_confirm):Me.createElement("span",{onClick:this.go,onKeyUp:this.go},pt)),vr=Me.createElement("div",{className:"".concat(Lr,"-quick-jumper")},Bt.jump_to,Me.createElement("input",{disabled:Wn,type:"text",value:br,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Bt.page}),Bt.page,Ar)),Me.createElement("li",{className:"".concat(Lr)},Qr,vr)}}]),Pt}(Me.Component);$e.defaultProps={pageSizeOptions:["10","20","50","100"]};var rt=$e,ht=function(lt){var Pt,Mt=lt.rootPrefixCls,kt=lt.page,$t=lt.active,Sn=lt.className,Bt=lt.showTitle,nn=lt.onClick,tn=lt.onKeyPress,zt=lt.itemRender,pt="".concat(Mt,"-item"),Wt=_e()(pt,"".concat(pt,"-").concat(kt),(Pt={},(0,Oe.Z)(Pt,"".concat(pt,"-active"),$t),(0,Oe.Z)(Pt,"".concat(pt,"-disabled"),!kt),(0,Oe.Z)(Pt,lt.className,Sn),Pt)),vn=function(){nn(kt)},xn=function(Lr){tn(Lr,nn,kt)},Wn=zt(kt,"page",Me.createElement("a",{rel:"nofollow"},kt));return Wn?Me.createElement("li",{title:Bt?kt.toString():null,className:Wt,onClick:vn,onKeyPress:xn,tabIndex:0},Wn):null},dt=ht;function xt(){}function Je(et){var lt=Number(et);return typeof lt=="number"&&!Number.isNaN(lt)&&isFinite(lt)&&Math.floor(lt)===lt}var Lt=function(lt,Pt,Mt){return Mt};function Re(et,lt,Pt){var Mt=typeof et=="undefined"?lt.pageSize:et;return Math.floor((Pt.total-1)/Mt)+1}var Rt=function(et){(0,Pe.Z)(Pt,et);var lt=(0,Xe.Z)(Pt);function Pt(Mt){var kt;(0,ke.Z)(this,Pt),kt=lt.call(this,Mt),kt.paginationNode=Me.createRef(),kt.getJumpPrevPage=function(){return Math.max(1,kt.state.current-(kt.props.showLessItems?3:5))},kt.getJumpNextPage=function(){return Math.min(Re(void 0,kt.state,kt.props),kt.state.current+(kt.props.showLessItems?3:5))},kt.getItemIcon=function(tn,zt){var pt=kt.props.prefixCls,Wt=tn||Me.createElement("button",{type:"button","aria-label":zt,className:"".concat(pt,"-item-link")});return typeof tn=="function"&&(Wt=Me.createElement(tn,(0,He.Z)({},kt.props))),Wt},kt.isValid=function(tn){var zt=kt.props.total;return Je(tn)&&tn!==kt.state.current&&Je(zt)&&zt>0},kt.shouldDisplayQuickJumper=function(){var tn=kt.props,zt=tn.showQuickJumper,pt=tn.total,Wt=kt.state.pageSize;return pt<=Wt?!1:zt},kt.handleKeyDown=function(tn){(tn.keyCode===We.ARROW_UP||tn.keyCode===We.ARROW_DOWN)&&tn.preventDefault()},kt.handleKeyUp=function(tn){var zt=kt.getValidValue(tn),pt=kt.state.currentInputValue;zt!==pt&&kt.setState({currentInputValue:zt}),tn.keyCode===We.ENTER?kt.handleChange(zt):tn.keyCode===We.ARROW_UP?kt.handleChange(zt-1):tn.keyCode===We.ARROW_DOWN&&kt.handleChange(zt+1)},kt.handleBlur=function(tn){var zt=kt.getValidValue(tn);kt.handleChange(zt)},kt.changePageSize=function(tn){var zt=kt.state.current,pt=Re(tn,kt.state,kt.props);zt=zt>pt?pt:zt,pt===0&&(zt=kt.state.current),typeof tn=="number"&&("pageSize"in kt.props||kt.setState({pageSize:tn}),"current"in kt.props||kt.setState({current:zt,currentInputValue:zt})),kt.props.onShowSizeChange(zt,tn),"onChange"in kt.props&&kt.props.onChange&&kt.props.onChange(zt,tn)},kt.handleChange=function(tn){var zt=kt.props,pt=zt.disabled,Wt=zt.onChange,vn=kt.state,xn=vn.pageSize,Wn=vn.current,br=vn.currentInputValue;if(kt.isValid(tn)&&!pt){var Lr=Re(void 0,kt.state,kt.props),jr=tn;return tn>Lr?jr=Lr:tn<1&&(jr=1),"current"in kt.props||kt.setState({current:jr}),jr!==br&&kt.setState({currentInputValue:jr}),Wt(jr,xn),jr}return Wn},kt.prev=function(){kt.hasPrev()&&kt.handleChange(kt.state.current-1)},kt.next=function(){kt.hasNext()&&kt.handleChange(kt.state.current+1)},kt.jumpPrev=function(){kt.handleChange(kt.getJumpPrevPage())},kt.jumpNext=function(){kt.handleChange(kt.getJumpNextPage())},kt.hasPrev=function(){return kt.state.current>1},kt.hasNext=function(){return kt.state.current<Re(void 0,kt.state,kt.props)},kt.runIfEnter=function(tn,zt){if(tn.key==="Enter"||tn.charCode===13){for(var pt=arguments.length,Wt=new Array(pt>2?pt-2:0),vn=2;vn<pt;vn++)Wt[vn-2]=arguments[vn];zt.apply(void 0,Wt)}},kt.runIfEnterPrev=function(tn){kt.runIfEnter(tn,kt.prev)},kt.runIfEnterNext=function(tn){kt.runIfEnter(tn,kt.next)},kt.runIfEnterJumpPrev=function(tn){kt.runIfEnter(tn,kt.jumpPrev)},kt.runIfEnterJumpNext=function(tn){kt.runIfEnter(tn,kt.jumpNext)},kt.handleGoTO=function(tn){(tn.keyCode===We.ENTER||tn.type==="click")&&kt.handleChange(kt.state.currentInputValue)},kt.renderPrev=function(tn){var zt=kt.props,pt=zt.prevIcon,Wt=zt.itemRender,vn=Wt(tn,"prev",kt.getItemIcon(pt,"prev page")),xn=!kt.hasPrev();return(0,Me.isValidElement)(vn)?(0,Me.cloneElement)(vn,{disabled:xn}):vn},kt.renderNext=function(tn){var zt=kt.props,pt=zt.nextIcon,Wt=zt.itemRender,vn=Wt(tn,"next",kt.getItemIcon(pt,"next page")),xn=!kt.hasNext();return(0,Me.isValidElement)(vn)?(0,Me.cloneElement)(vn,{disabled:xn}):vn};var $t=Mt.onChange!==xt,Sn="current"in Mt;Sn&&!$t&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Bt=Mt.defaultCurrent;"current"in Mt&&(Bt=Mt.current);var nn=Mt.defaultPageSize;return"pageSize"in Mt&&(nn=Mt.pageSize),Bt=Math.min(Bt,Re(nn,void 0,Mt)),kt.state={current:Bt,currentInputValue:Bt,pageSize:nn},kt}return(0,Te.Z)(Pt,[{key:"componentDidUpdate",value:function(kt,$t){var Sn=this.props.prefixCls;if($t.current!==this.state.current&&this.paginationNode.current){var Bt=this.paginationNode.current.querySelector(".".concat(Sn,"-item-").concat($t.current));if(Bt&&document.activeElement===Bt){var nn;Bt==null||(nn=Bt.blur)===null||nn===void 0||nn.call(Bt)}}}},{key:"getValidValue",value:function(kt){var $t=kt.target.value,Sn=Re(void 0,this.state,this.props),Bt=this.state.currentInputValue,nn;return $t===""?nn=$t:Number.isNaN(Number($t))?nn=Bt:$t>=Sn?nn=Sn:nn=Number($t),nn}},{key:"getShowSizeChanger",value:function(){var kt=this.props,$t=kt.showSizeChanger,Sn=kt.total,Bt=kt.totalBoundaryShowSizeChanger;return typeof $t!="undefined"?$t:Sn>Bt}},{key:"render",value:function(){var kt=this.props,$t=kt.prefixCls,Sn=kt.className,Bt=kt.style,nn=kt.disabled,tn=kt.hideOnSinglePage,zt=kt.total,pt=kt.locale,Wt=kt.showQuickJumper,vn=kt.showLessItems,xn=kt.showTitle,Wn=kt.showTotal,br=kt.simple,Lr=kt.itemRender,jr=kt.showPrevNextJumpers,Qr=kt.jumpPrevIcon,vr=kt.jumpNextIcon,Ar=kt.selectComponentClass,Tr=kt.selectPrefixCls,Bi=kt.pageSizeOptions,$i=this.state,mi=$i.current,Mi=$i.pageSize,pa=$i.currentInputValue;if(tn===!0&&zt<=Mi)return null;var Dr=Re(void 0,this.state,this.props),_n=[],no=null,Ki=null,Co=null,ro=null,Pi=null,Ii=Wt&&Wt.goButton,Si=vn?1:2,gi=mi-1>0?mi-1:0,Ea=mi+1<Dr?mi+1:Dr,Fn=(0,Ke.Z)(this.props,{aria:!0,data:!0}),Dt=Wn&&Me.createElement("li",{className:"".concat($t,"-total-text")},Wn(zt,[zt===0?0:(mi-1)*Mi+1,mi*Mi>zt?zt:mi*Mi]));if(br){Ii&&(typeof Ii=="boolean"?Pi=Me.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pt.jump_to_confirm):Pi=Me.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ii),Pi=Me.createElement("li",{title:xn?"".concat(pt.jump_to).concat(mi,"/").concat(Dr):null,className:"".concat($t,"-simple-pager")},Pi));var Gt=this.renderPrev(gi);return Me.createElement("ul",(0,he.Z)({className:_e()($t,"".concat($t,"-simple"),(0,Oe.Z)({},"".concat($t,"-disabled"),nn),Sn),style:Bt,ref:this.paginationNode},Fn),Dt,Gt?Me.createElement("li",{title:xn?pt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Oe.Z)({},"".concat($t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Gt):null,Me.createElement("li",{title:xn?"".concat(mi,"/").concat(Dr):null,className:"".concat($t,"-simple-pager")},Me.createElement("input",{type:"text",value:pa,disabled:nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Me.createElement("span",{className:"".concat($t,"-slash")},"/"),Dr),Me.createElement("li",{title:xn?pt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Oe.Z)({},"".concat($t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ea)),Pi)}if(Dr<=3+Si*2){var Zt={locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:xn,itemRender:Lr};Dr||_n.push(Me.createElement(dt,(0,he.Z)({},Zt,{key:"noPager",page:1,className:"".concat($t,"-item-disabled")})));for(var jt=1;jt<=Dr;jt+=1){var on=mi===jt;_n.push(Me.createElement(dt,(0,he.Z)({},Zt,{key:jt,page:jt,active:on})))}}else{var Mn=vn?pt.prev_3:pt.prev_5,ir=vn?pt.next_3:pt.next_5,qn=Lr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Qr,"prev page")),pr=Lr(this.getJumpNextPage(),"jump-next",this.getItemIcon(vr,"next page"));jr&&(no=qn?Me.createElement("li",{title:xn?Mn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:_e()("".concat($t,"-jump-prev"),(0,Oe.Z)({},"".concat($t,"-jump-prev-custom-icon"),!!Qr))},qn):null,Ki=pr?Me.createElement("li",{title:xn?ir:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:_e()("".concat($t,"-jump-next"),(0,Oe.Z)({},"".concat($t,"-jump-next-custom-icon"),!!vr))},pr):null),ro=Me.createElement(dt,{locale:pt,last:!0,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Dr,page:Dr,active:!1,showTitle:xn,itemRender:Lr}),Co=Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:xn,itemRender:Lr});var Gr=Math.max(1,mi-Si),Zr=Math.min(mi+Si,Dr);mi-1<=Si&&(Zr=1+Si*2),Dr-mi<=Si&&(Gr=Dr-Si*2);for(var $r=Gr;$r<=Zr;$r+=1){var Xn=mi===$r;_n.push(Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$r,page:$r,active:Xn,showTitle:xn,itemRender:Lr}))}mi-1>=Si*2&&mi!==3&&(_n[0]=(0,Me.cloneElement)(_n[0],{className:"".concat($t,"-item-after-jump-prev")}),_n.unshift(no)),Dr-mi>=Si*2&&mi!==Dr-2&&(_n[_n.length-1]=(0,Me.cloneElement)(_n[_n.length-1],{className:"".concat($t,"-item-before-jump-next")}),_n.push(Ki)),Gr!==1&&_n.unshift(Co),Zr!==Dr&&_n.push(ro)}var Or=!this.hasPrev()||!Dr,ki=!this.hasNext()||!Dr,vi=this.renderPrev(gi),Zi=this.renderNext(Ea);return Me.createElement("ul",(0,he.Z)({className:_e()($t,Sn,(0,Oe.Z)({},"".concat($t,"-disabled"),nn)),style:Bt,ref:this.paginationNode},Fn),Dt,vi?Me.createElement("li",{title:xn?pt.prev_page:null,onClick:this.prev,tabIndex:Or?null:0,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Oe.Z)({},"".concat($t,"-disabled"),Or)),"aria-disabled":Or},vi):null,_n,Zi?Me.createElement("li",{title:xn?pt.next_page:null,onClick:this.next,tabIndex:ki?null:0,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Oe.Z)({},"".concat($t,"-disabled"),ki)),"aria-disabled":ki},Zi):null,Me.createElement(rt,{disabled:nn,locale:pt,rootPrefixCls:$t,selectComponentClass:Ar,selectPrefixCls:Tr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:mi,pageSize:Mi,pageSizeOptions:Bi,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ii}))}}],[{key:"getDerivedStateFromProps",value:function(kt,$t){var Sn={};if("current"in kt&&(Sn.current=kt.current,kt.current!==$t.current&&(Sn.currentInputValue=Sn.current)),"pageSize"in kt&&kt.pageSize!==$t.pageSize){var Bt=$t.current,nn=Re(kt.pageSize,$t,kt);Bt=Bt>nn?nn:Bt,"current"in kt||(Sn.current=Bt,Sn.currentInputValue=Bt),Sn.pageSize=kt.pageSize}return Sn}}]),Pt}(Me.Component);Rt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:xt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:xt,locale:Ze.Z,style:{},itemRender:Lt,totalBoundaryShowSizeChanger:50};var Ft=Rt,bt=ce(22075),Tt=ce(36355),wt=ce(19716),it=ce(8628),je=ce(9763),at=ce(57809);const Yt=et=>Me.createElement(at.default,Object.assign({},et,{showSearch:!0,size:"small"})),Vt=et=>Me.createElement(at.default,Object.assign({},et,{showSearch:!0,size:"middle"}));Yt.Option=at.default.Option,Vt.Option=at.default.Option;var St=ce(9937),Qt=ce(17313),cn=ce(83116),Nn=ce(37613);const fn=et=>{const{componentCls:lt}=et;return{[`${lt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${lt}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${lt}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed"}}},[`&${lt}-disabled`]:{cursor:"not-allowed",[`${lt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:et.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:et.colorBorder,backgroundColor:et.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:et.itemActiveBgDisabled},a:{color:et.itemActiveColorDisabled}}},[`${lt}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${lt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${lt}-simple-pager`]:{color:et.colorTextDisabled},[`${lt}-jump-prev, ${lt}-jump-next`]:{[`${lt}-item-link-icon`]:{opacity:0},[`${lt}-item-ellipsis`]:{opacity:1}}},[`&${lt}-simple`]:{[`${lt}-prev, ${lt}-next`]:{[`&${lt}-disabled ${lt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ln=et=>{const{componentCls:lt}=et;return{[`&${lt}-mini ${lt}-total-text, &${lt}-mini ${lt}-simple-pager`]:{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`},[`&${lt}-mini ${lt}-item`]:{minWidth:et.itemSizeSM,height:et.itemSizeSM,margin:0,lineHeight:`${et.itemSizeSM-2}px`},[`&${lt}-mini:not(${lt}-disabled) ${lt}-item:not(${lt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive}},[`&${lt}-mini ${lt}-prev, &${lt}-mini ${lt}-next`]:{minWidth:et.itemSizeSM,height:et.itemSizeSM,margin:0,lineHeight:`${et.itemSizeSM}px`},[`&${lt}-mini:not(${lt}-disabled)`]:{[`${lt}-prev, ${lt}-next`]:{[`&:hover ${lt}-item-link`]:{backgroundColor:et.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:et.colorBgTextActive},[`&${lt}-disabled:hover ${lt}-item-link`]:{backgroundColor:"transparent"}}},[`
&${lt}-mini ${lt}-prev ${lt}-item-link,
&${lt}-mini ${lt}-next ${lt}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`}},[`&${lt}-mini ${lt}-jump-prev, &${lt}-mini ${lt}-jump-next`]:{height:et.itemSizeSM,marginInlineEnd:0,lineHeight:`${et.itemSizeSM}px`},[`&${lt}-mini ${lt}-options`]:{marginInlineStart:et.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:et.miniOptionsSizeChangerTop},"&-quick-jumper":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,St.x0)(et)),{width:et.paginationMiniQuickJumperInputWidth,height:et.controlHeightSM})}}}},Cn=et=>{const{componentCls:lt}=et;return{[`
&${lt}-simple ${lt}-prev,
&${lt}-simple ${lt}-next
`]:{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`,verticalAlign:"top",[`${lt}-item-link`]:{height:et.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive},"&::after":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`}}},[`&${lt}-simple ${lt}-simple-pager`]:{display:"inline-block",height:et.itemSizeSM,marginInlineEnd:et.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:et.marginXS,padding:`0 ${et.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:et.itemInputBg,border:`${et.lineWidth}px ${et.lineType} ${et.colorBorder}`,borderRadius:et.borderRadius,outline:"none",transition:`border-color ${et.motionDurationMid}`,color:"inherit","&:hover":{borderColor:et.colorPrimary},"&:focus":{borderColor:et.colorPrimaryHover,boxShadow:`${et.inputOutlineOffset}px 0 ${et.controlOutlineWidth}px ${et.controlOutline}`},"&[disabled]":{color:et.colorTextDisabled,backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,cursor:"not-allowed"}}}}},Bn=et=>{const{componentCls:lt}=et;return{[`${lt}-jump-prev, ${lt}-jump-next`]:{outline:0,[`${lt}-item-container`]:{position:"relative",[`${lt}-item-link-icon`]:{color:et.colorPrimary,fontSize:et.fontSizeSM,opacity:0,transition:`all ${et.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${lt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:et.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:et.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:et.paginationEllipsisTextIndent,opacity:1,transition:`all ${et.motionDurationMid}`}},"&:hover":{[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}}},[`
${lt}-prev,
${lt}-jump-prev,
${lt}-jump-next
`]:{marginInlineEnd:et.marginXS},[`
${lt}-prev,
${lt}-next,
${lt}-jump-prev,
${lt}-jump-next
`]:{display:"inline-block",minWidth:et.itemSize,height:et.itemSize,color:et.colorText,fontFamily:et.fontFamily,lineHeight:`${et.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:et.borderRadius,cursor:"pointer",transition:`all ${et.motionDurationMid}`},[`${lt}-prev, ${lt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:et.colorText,cursor:"pointer",userSelect:"none"},[`${lt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:et.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${et.lineWidth}px ${et.lineType} transparent`,borderRadius:et.borderRadius,outline:"none",transition:`all ${et.motionDurationMid}`},[`&:hover ${lt}-item-link`]:{backgroundColor:et.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:et.colorBgTextActive},[`&${lt}-disabled:hover`]:{[`${lt}-item-link`]:{backgroundColor:"transparent"}}},[`${lt}-slash`]:{marginInlineEnd:et.paginationSlashMarginInlineEnd,marginInlineStart:et.paginationSlashMarginInlineStart},[`${lt}-options`]:{display:"inline-block",marginInlineStart:et.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:et.controlHeight,marginInlineStart:et.marginXS,lineHeight:`${et.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,St.ik)(et)),{width:et.controlHeightLG*1.25,height:et.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:et.marginXS,marginInlineEnd:et.marginXS})}}}},gn=et=>{const{componentCls:lt}=et;return{[`${lt}-item`]:{display:"inline-block",minWidth:et.itemSize,height:et.itemSize,marginInlineEnd:et.marginXS,fontFamily:et.fontFamily,lineHeight:`${et.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${et.lineWidth}px ${et.lineType} transparent`,borderRadius:et.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${et.paginationItemPaddingInline}px`,color:et.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${lt}-item-active)`]:{"&:hover":{transition:`all ${et.motionDurationMid}`,backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive}},"&-active":{fontWeight:et.fontWeightStrong,backgroundColor:et.itemActiveBg,borderColor:et.colorPrimary,a:{color:et.colorPrimary},"&:hover":{borderColor:et.colorPrimaryHover},"&:hover a":{color:et.colorPrimaryHover}}}}},Se=et=>{const{componentCls:lt}=et;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qt.Wf)(et)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${lt}-total-text`]:{display:"inline-block",height:et.itemSize,marginInlineEnd:et.marginXS,lineHeight:`${et.itemSize-2}px`,verticalAlign:"middle"}}),gn(et)),Bn(et)),Cn(et)),Ln(et)),fn(et)),{[`@media only screen and (max-width: ${et.screenLG}px)`]:{[`${lt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${et.screenSM}px)`]:{[`${lt}-options`]:{display:"none"}}}),[`&${et.componentCls}-rtl`]:{direction:"rtl"}}},Fe=et=>{const{componentCls:lt}=et;return{[`${lt}${lt}-disabled:not(${lt}-mini)`]:{"&, &:hover":{[`${lt}-item-link`]:{borderColor:et.colorBorder}},"&:focus-visible":{[`${lt}-item-link`]:{borderColor:et.colorBorder}},[`${lt}-item, ${lt}-item-link`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,[`&:hover:not(${lt}-item-active)`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,a:{color:et.colorTextDisabled}},[`&${lt}-item-active`]:{backgroundColor:et.itemActiveBgDisabled}},[`${lt}-prev, ${lt}-next`]:{"&:hover button":{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,color:et.colorTextDisabled},[`${lt}-item-link`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder}}},[`${lt}:not(${lt}-mini)`]:{[`${lt}-prev, ${lt}-next`]:{"&:hover button":{borderColor:et.colorPrimaryHover,backgroundColor:et.itemBg},[`${lt}-item-link`]:{backgroundColor:et.itemLinkBg,borderColor:et.colorBorder},[`&:hover ${lt}-item-link`]:{borderColor:et.colorPrimary,backgroundColor:et.itemBg,color:et.colorPrimary},[`&${lt}-disabled`]:{[`${lt}-item-link`]:{borderColor:et.colorBorder,color:et.colorTextDisabled}}},[`${lt}-item`]:{backgroundColor:et.itemBg,border:`${et.lineWidth}px ${et.lineType} ${et.colorBorder}`,[`&:hover:not(${lt}-item-active)`]:{borderColor:et.colorPrimary,backgroundColor:et.itemBg,a:{color:et.colorPrimary}},"&-active":{borderColor:et.colorPrimary}}}}},ie=et=>{const{componentCls:lt}=et;return{[`${lt}:not(${lt}-disabled)`]:{[`${lt}-item`]:Object.assign({},(0,Qt.Qy)(et)),[`${lt}-jump-prev, ${lt}-jump-next`]:{"&:focus-visible":Object.assign({[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}},(0,Qt.oN)(et))},[`${lt}-prev, ${lt}-next`]:{[`&:focus-visible ${lt}-item-link`]:Object.assign({},(0,Qt.oN)(et))}}}};var ae=(0,cn.Z)("Pagination",et=>{const lt=(0,Nn.TS)(et,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:et.marginXXS/2,paginationMiniQuickJumperInputWidth:et.controlHeightLG*1.1,paginationItemPaddingInline:et.marginXXS*1.5,paginationEllipsisLetterSpacing:et.marginXXS/2,paginationSlashMarginInlineStart:et.marginXXS,paginationSlashMarginInlineEnd:et.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,St.e5)(et),(0,St.TM)(et));return[Se(lt),ie(lt),et.wireframe&&Fe(lt)]},et=>({itemBg:et.colorBgContainer,itemSize:et.controlHeight,itemSizeSM:et.controlHeightSM,itemActiveBg:et.colorBgContainer,itemLinkBg:et.colorBgContainer,itemActiveColorDisabled:et.colorTextDisabled,itemActiveBgDisabled:et.controlItemBgActiveDisabled,itemInputBg:et.colorBgContainer,miniOptionsSizeChangerTop:0})),se=function(et,lt){var Pt={};for(var Mt in et)Object.prototype.hasOwnProperty.call(et,Mt)&&lt.indexOf(Mt)<0&&(Pt[Mt]=et[Mt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,Mt=Object.getOwnPropertySymbols(et);kt<Mt.length;kt++)lt.indexOf(Mt[kt])<0&&Object.prototype.propertyIsEnumerable.call(et,Mt[kt])&&(Pt[Mt[kt]]=et[Mt[kt]]);return Pt},Ye=et=>{const{prefixCls:lt,selectPrefixCls:Pt,className:Mt,rootClassName:kt,style:$t,size:Sn,locale:Bt,selectComponentClass:nn,responsive:tn,showSizeChanger:zt}=et,pt=se(et,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Wt}=(0,it.Z)(tn),{getPrefixCls:vn,direction:xn,pagination:Wn={}}=Me.useContext(Tt.E_),br=vn("pagination",lt),[Lr,jr]=ae(br),Qr=zt!=null?zt:Wn.showSizeChanger,vr=Me.useMemo(()=>{const Dr=Me.createElement("span",{className:`${br}-item-ellipsis`},"\u2022\u2022\u2022"),_n=Me.createElement("button",{className:`${br}-item-link`,type:"button",tabIndex:-1},xn==="rtl"?Me.createElement(ze.Z,null):Me.createElement(fe.Z,null)),no=Me.createElement("button",{className:`${br}-item-link`,type:"button",tabIndex:-1},xn==="rtl"?Me.createElement(fe.Z,null):Me.createElement(ze.Z,null)),Ki=Me.createElement("a",{className:`${br}-item-link`},Me.createElement("div",{className:`${br}-item-container`},xn==="rtl"?Me.createElement(we.Z,{className:`${br}-item-link-icon`}):Me.createElement(Ae,{className:`${br}-item-link-icon`}),Dr)),Co=Me.createElement("a",{className:`${br}-item-link`},Me.createElement("div",{className:`${br}-item-container`},xn==="rtl"?Me.createElement(Ae,{className:`${br}-item-link-icon`}):Me.createElement(we.Z,{className:`${br}-item-link-icon`}),Dr));return{prevIcon:_n,nextIcon:no,jumpPrevIcon:Ki,jumpNextIcon:Co}},[xn,br]),[Ar]=(0,je.Z)("Pagination",bt.Z),Tr=Object.assign(Object.assign({},Ar),Bt),Bi=(0,wt.Z)(Sn),$i=Bi==="small"||!!(Wt&&!Bi&&tn),mi=vn("select",Pt),Mi=_e()({[`${br}-mini`]:$i,[`${br}-rtl`]:xn==="rtl"},Wn==null?void 0:Wn.className,Mt,kt,jr),pa=Object.assign(Object.assign({},Wn==null?void 0:Wn.style),$t);return Lr(Me.createElement(Ft,Object.assign({},vr,pt,{style:pa,prefixCls:br,selectPrefixCls:mi,className:Mi,selectComponentClass:nn||($i?Yt:Vt),locale:Tr,showSizeChanger:Qr})))},vt=Ye},93948:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return zt}});var he=ce(59301),Me=ce(29679),Ue=ce(40001),At=ce(19248),Ne=ce(99267),Le=ce(92310),ve=ce.n(Le),Ae=ce(2738),we=ce(36355),fe=ce(60499),ze=ce(85899),Be=ce(42244),_e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Oe=function(){var Wt=(0,he.useRef)([]),vn=(0,he.useRef)(null);return(0,he.useEffect)(function(){var xn=Date.now(),Wn=!1;Wt.current.forEach(function(br){if(br){Wn=!0;var Lr=br.style;Lr.transitionDuration=".3s, .3s, .3s, .06s",vn.current&&xn-vn.current<100&&(Lr.transitionDuration="0s, 0s")}}),Wn&&(vn.current=Date.now())}),Wt.current},He=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ke=function(Wt){var vn=(0,ze.Z)((0,ze.Z)({},_e),Wt),xn=vn.className,Wn=vn.percent,br=vn.prefixCls,Lr=vn.strokeColor,jr=vn.strokeLinecap,Qr=vn.strokeWidth,vr=vn.style,Ar=vn.trailColor,Tr=vn.trailWidth,Bi=vn.transition,$i=(0,Be.Z)(vn,He);delete $i.gapPosition;var mi=Array.isArray(Wn)?Wn:[Wn],Mi=Array.isArray(Lr)?Lr:[Lr],pa=Oe(),Dr=Qr/2,_n=100-Qr/2,no="M ".concat(jr==="round"?Dr:0,",").concat(Dr,`
L `).concat(jr==="round"?_n:100,",").concat(Dr),Ki="0 0 100 ".concat(Qr),Co=0;return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(br,"-line"),xn),viewBox:Ki,preserveAspectRatio:"none",style:vr},$i),he.createElement("path",{className:"".concat(br,"-line-trail"),d:no,strokeLinecap:jr,stroke:Ar,strokeWidth:Tr||Qr,fillOpacity:"0"}),mi.map(function(ro,Pi){var Ii=1;switch(jr){case"round":Ii=1-Qr/100;break;case"square":Ii=1-Qr/2/100;break;default:Ii=1;break}var Si={strokeDasharray:"".concat(ro*Ii,"px, 100px"),strokeDashoffset:"-".concat(Co,"px"),transition:Bi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},gi=Mi[Pi]||Mi[Mi.length-1];return Co+=ro,he.createElement("path",{key:Pi,className:"".concat(br,"-line-path"),d:no,strokeLinecap:jr,stroke:gi,strokeWidth:Qr,fillOpacity:"0",ref:function(Fn){pa[Pi]=Fn},style:Si})}))},Te=ke,Pe=ce(43749),Xe=ce(72190),Ke=ce(47273),qe=0,We=(0,Ke.Z)();function Ze(){var pt;return We?(pt=qe,qe+=1):pt="TEST_OR_SSR",pt}var $e=function(pt){var Wt=he.useState(),vn=(0,Xe.Z)(Wt,2),xn=vn[0],Wn=vn[1];return he.useEffect(function(){Wn("rc_progress_".concat(Ze()))},[]),pt||xn},rt=function(Wt){var vn=Wt.bg,xn=Wt.children;return he.createElement("div",{style:{width:"100%",height:"100%",background:vn}},xn)};function ht(pt,Wt){return Object.keys(pt).map(function(vn){var xn=parseFloat(vn),Wn="".concat(Math.floor(xn*Wt),"%");return"".concat(pt[vn]," ").concat(Wn)})}var dt=he.forwardRef(function(pt,Wt){var vn=pt.prefixCls,xn=pt.color,Wn=pt.gradientId,br=pt.radius,Lr=pt.style,jr=pt.ptg,Qr=pt.strokeLinecap,vr=pt.strokeWidth,Ar=pt.size,Tr=pt.gapDegree,Bi=xn&&(0,Pe.Z)(xn)==="object",$i=Bi?"#FFF":void 0,mi=Ar/2,Mi=he.createElement("circle",{className:"".concat(vn,"-circle-path"),r:br,cx:mi,cy:mi,stroke:$i,strokeLinecap:Qr,strokeWidth:vr,opacity:jr===0?0:1,style:Lr,ref:Wt});if(!Bi)return Mi;var pa="".concat(Wn,"-conic"),Dr=Tr?"".concat(180+Tr/2,"deg"):"0deg",_n=ht(xn,(360-Tr)/360),no=ht(xn,1),Ki="conic-gradient(from ".concat(Dr,", ").concat(_n.join(", "),")"),Co="linear-gradient(to ".concat(Tr?"bottom":"top",", ").concat(no.join(", "),")");return he.createElement(he.Fragment,null,he.createElement("mask",{id:pa},Mi),he.createElement("foreignObject",{x:0,y:0,width:Ar,height:Ar,mask:"url(#".concat(pa,")")},he.createElement(rt,{bg:Co},he.createElement(rt,{bg:Ki}))))}),xt=dt,Je=100,Lt=function(Wt,vn,xn,Wn,br,Lr,jr,Qr,vr,Ar){var Tr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Bi=xn/100*360*((360-Lr)/360),$i=Lr===0?0:{bottom:0,top:180,left:90,right:-90}[jr],mi=(100-Wn)/100*vn;vr==="round"&&Wn!==100&&(mi+=Ar/2,mi>=vn&&(mi=vn-.01));var Mi=Je/2;return{stroke:typeof Qr=="string"?Qr:void 0,strokeDasharray:"".concat(vn,"px ").concat(Wt),strokeDashoffset:mi+Tr,transform:"rotate(".concat(br+Bi+$i,"deg)"),transformOrigin:"".concat(Mi,"px ").concat(Mi,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Re=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Rt(pt){var Wt=pt!=null?pt:[];return Array.isArray(Wt)?Wt:[Wt]}var Ft=function(Wt){var vn=(0,ze.Z)((0,ze.Z)({},_e),Wt),xn=vn.id,Wn=vn.prefixCls,br=vn.steps,Lr=vn.strokeWidth,jr=vn.trailWidth,Qr=vn.gapDegree,vr=Qr===void 0?0:Qr,Ar=vn.gapPosition,Tr=vn.trailColor,Bi=vn.strokeLinecap,$i=vn.style,mi=vn.className,Mi=vn.strokeColor,pa=vn.percent,Dr=(0,Be.Z)(vn,Re),_n=Je/2,no=$e(xn),Ki="".concat(no,"-gradient"),Co=_n-Lr/2,ro=Math.PI*2*Co,Pi=vr>0?90+vr/2:-90,Ii=ro*((360-vr)/360),Si=(0,Pe.Z)(br)==="object"?br:{count:br,space:2},gi=Si.count,Ea=Si.space,Fn=Rt(pa),Dt=Rt(Mi),Gt=Dt.find(function(pr){return pr&&(0,Pe.Z)(pr)==="object"}),Zt=Gt&&(0,Pe.Z)(Gt)==="object",jt=Zt?"butt":Bi,on=Lt(ro,Ii,0,100,Pi,vr,Ar,Tr,jt,Lr),Mn=Oe(),ir=function(){var Gr=0;return Fn.map(function(Zr,$r){var Xn=Dt[$r]||Dt[Dt.length-1],Or=Lt(ro,Ii,Gr,Zr,Pi,vr,Ar,Xn,jt,Lr);return Gr+=Zr,he.createElement(xt,{key:$r,color:Xn,ptg:Zr,radius:Co,prefixCls:Wn,gradientId:Ki,style:Or,strokeLinecap:jt,strokeWidth:Lr,gapDegree:vr,ref:function(vi){Mn[$r]=vi},size:Je})}).reverse()},qn=function(){var Gr=Math.round(gi*(Fn[0]/100)),Zr=100/gi,$r=0;return new Array(gi).fill(null).map(function(Xn,Or){var ki=Or<=Gr-1?Dt[0]:Tr,vi=ki&&(0,Pe.Z)(ki)==="object"?"url(#".concat(Ki,")"):void 0,Zi=Lt(ro,Ii,$r,Zr,Pi,vr,Ar,ki,"butt",Lr,Ea);return $r+=(Ii-Zi.strokeDashoffset+Ea)*100/Ii,he.createElement("circle",{key:Or,className:"".concat(Wn,"-circle-path"),r:Co,cx:_n,cy:_n,stroke:vi,strokeWidth:Lr,opacity:1,style:Zi,ref:function(Ca){Mn[Or]=Ca}})})};return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(Wn,"-circle"),mi),viewBox:"0 0 ".concat(Je," ").concat(Je),style:$i,id:xn,role:"presentation"},Dr),!gi&&he.createElement("circle",{className:"".concat(Wn,"-circle-trail"),r:Co,cx:_n,cy:_n,stroke:Tr,strokeLinecap:jt,strokeWidth:jr||Lr,style:on}),gi?qn():ir())},bt=Ft,Tt={Line:Te,Circle:bt},wt=ce(6848),it=ce(30071);function je(pt){return!pt||pt<0?0:pt>100?100:pt}function at(pt){let{success:Wt,successPercent:vn}=pt,xn=vn;return Wt&&"progress"in Wt&&(xn=Wt.progress),Wt&&"percent"in Wt&&(xn=Wt.percent),xn}const Yt=pt=>{let{percent:Wt,success:vn,successPercent:xn}=pt;const Wn=je(at({success:vn,successPercent:xn}));return[Wn,je(je(Wt)-Wn)]},Vt=pt=>{let{success:Wt={},strokeColor:vn}=pt;const{strokeColor:xn}=Wt;return[xn||it.presetPrimaryColors.green,vn||null]},St=(pt,Wt,vn)=>{var xn,Wn,br,Lr;let jr=-1,Qr=-1;if(Wt==="step"){const vr=vn.steps,Ar=vn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?(jr=pt==="small"?2:14,Qr=Ar!=null?Ar:8):typeof pt=="number"?[jr,Qr]=[pt,pt]:[jr=14,Qr=8]=pt,jr*=vr}else if(Wt==="line"){const vr=vn==null?void 0:vn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?Qr=vr||(pt==="small"?6:8):typeof pt=="number"?[jr,Qr]=[pt,pt]:[jr=-1,Qr=8]=pt}else(Wt==="circle"||Wt==="dashboard")&&(typeof pt=="string"||typeof pt=="undefined"?[jr,Qr]=pt==="small"?[60,60]:[120,120]:typeof pt=="number"?[jr,Qr]=[pt,pt]:(jr=(Wn=(xn=pt[0])!==null&&xn!==void 0?xn:pt[1])!==null&&Wn!==void 0?Wn:120,Qr=(Lr=(br=pt[0])!==null&&br!==void 0?br:pt[1])!==null&&Lr!==void 0?Lr:120));return[jr,Qr]},Qt=3,cn=pt=>Qt/pt*100;var fn=pt=>{const{prefixCls:Wt,trailColor:vn=null,strokeLinecap:xn="round",gapPosition:Wn,gapDegree:br,width:Lr=120,type:jr,children:Qr,success:vr,size:Ar=Lr}=pt,[Tr,Bi]=St(Ar,"circle");let{strokeWidth:$i}=pt;$i===void 0&&($i=Math.max(cn(Tr),6));const mi={width:Tr,height:Bi,fontSize:Tr*.15+6},Mi=he.useMemo(()=>{if(br||br===0)return br;if(jr==="dashboard")return 75},[br,jr]),pa=Wn||jr==="dashboard"&&"bottom"||void 0,Dr=Object.prototype.toString.call(pt.strokeColor)==="[object Object]",_n=Vt({success:vr,strokeColor:pt.strokeColor}),no=ve()(`${Wt}-inner`,{[`${Wt}-circle-gradient`]:Dr}),Ki=he.createElement(bt,{percent:Yt(pt),strokeWidth:$i,trailWidth:$i,strokeColor:_n,strokeLinecap:xn,trailColor:vn,prefixCls:Wt,gapDegree:Mi,gapPosition:pa});return he.createElement("div",{className:no,style:mi},Tr<=20?he.createElement(wt.Z,{title:Qr},he.createElement("span",null,Ki)):he.createElement(he.Fragment,null,Ki,Qr))},Ln=function(pt,Wt){var vn={};for(var xn in pt)Object.prototype.hasOwnProperty.call(pt,xn)&&Wt.indexOf(xn)<0&&(vn[xn]=pt[xn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,xn=Object.getOwnPropertySymbols(pt);Wn<xn.length;Wn++)Wt.indexOf(xn[Wn])<0&&Object.prototype.propertyIsEnumerable.call(pt,xn[Wn])&&(vn[xn[Wn]]=pt[xn[Wn]]);return vn};const Cn=pt=>{let Wt=[];return Object.keys(pt).forEach(vn=>{const xn=parseFloat(vn.replace(/%/g,""));isNaN(xn)||Wt.push({key:xn,value:pt[vn]})}),Wt=Wt.sort((vn,xn)=>vn.key-xn.key),Wt.map(vn=>{let{key:xn,value:Wn}=vn;return`${Wn} ${xn}%`}).join(", ")},Bn=(pt,Wt)=>{const{from:vn=it.presetPrimaryColors.blue,to:xn=it.presetPrimaryColors.blue,direction:Wn=Wt==="rtl"?"to left":"to right"}=pt,br=Ln(pt,["from","to","direction"]);if(Object.keys(br).length!==0){const Lr=Cn(br);return{backgroundImage:`linear-gradient(${Wn}, ${Lr})`}}return{backgroundImage:`linear-gradient(${Wn}, ${vn}, ${xn})`}};var Se=pt=>{const{prefixCls:Wt,direction:vn,percent:xn,size:Wn,strokeWidth:br,strokeColor:Lr,strokeLinecap:jr="round",children:Qr,trailColor:vr=null,success:Ar}=pt,Tr=Lr&&typeof Lr!="string"?Bn(Lr,vn):{backgroundColor:Lr},Bi=jr==="square"||jr==="butt"?0:void 0,$i={backgroundColor:vr||void 0,borderRadius:Bi},mi=Wn!=null?Wn:[-1,br||(Wn==="small"?6:8)],[Mi,pa]=St(mi,"line",{strokeWidth:br}),Dr=Object.assign({width:`${je(xn)}%`,height:pa,borderRadius:Bi},Tr),_n=at(pt),no={width:`${je(_n)}%`,height:pa,borderRadius:Bi,backgroundColor:Ar==null?void 0:Ar.strokeColor},Ki={width:Mi<0?"100%":Mi,height:pa};return he.createElement(he.Fragment,null,he.createElement("div",{className:`${Wt}-outer`,style:Ki},he.createElement("div",{className:`${Wt}-inner`,style:$i},he.createElement("div",{className:`${Wt}-bg`,style:Dr}),_n!==void 0?he.createElement("div",{className:`${Wt}-success-bg`,style:no}):null)),Qr)},ie=pt=>{const{size:Wt,steps:vn,percent:xn=0,strokeWidth:Wn=8,strokeColor:br,trailColor:Lr=null,prefixCls:jr,children:Qr}=pt,vr=Math.round(vn*(xn/100)),Ar=Wt==="small"?2:14,Tr=Wt!=null?Wt:[Ar,Wn],[Bi,$i]=St(Tr,"step",{steps:vn,strokeWidth:Wn}),mi=Bi/vn,Mi=new Array(vn);for(let pa=0;pa<vn;pa++){const Dr=Array.isArray(br)?br[pa]:br;Mi[pa]=he.createElement("div",{key:pa,className:ve()(`${jr}-steps-item`,{[`${jr}-steps-item-active`]:pa<=vr-1}),style:{backgroundColor:pa<=vr-1?Dr:Lr,width:mi,height:$i}})}return he.createElement("div",{className:`${jr}-steps-outer`},Mi,Qr)},ae=ce(36237),se=ce(17313),oe=ce(83116),Ye=ce(37613);const vt=pt=>{const Wt=pt?"100%":"-100%";return new ae.Keyframes(`antProgress${pt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Wt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Wt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},et=pt=>{const{componentCls:Wt,iconCls:vn}=pt;return{[Wt]:Object.assign(Object.assign({},(0,se.Wf)(pt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:pt.fontSize,marginInlineEnd:pt.marginXS,marginBottom:pt.marginXS},[`${Wt}-outer`]:{display:"inline-block",width:"100%"},[`&${Wt}-show-info`]:{[`${Wt}-outer`]:{marginInlineEnd:`calc(-2em - ${pt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${pt.paddingXS}px)`}},[`${Wt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:pt.remainingColor,borderRadius:pt.lineBorderRadius},[`${Wt}-inner:not(${Wt}-circle-gradient)`]:{[`${Wt}-circle-path`]:{stroke:pt.defaultColor}},[`${Wt}-success-bg, ${Wt}-bg`]:{position:"relative",backgroundColor:pt.defaultColor,borderRadius:pt.lineBorderRadius,transition:`all ${pt.motionDurationSlow} ${pt.motionEaseInOutCirc}`},[`${Wt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:pt.colorSuccess},[`${Wt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:pt.marginXS,color:pt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[vn]:{fontSize:pt.fontSize}},[`&${Wt}-status-active`]:{[`${Wt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:pt.colorBgContainer,borderRadius:pt.lineBorderRadius,opacity:0,animationName:vt(),animationDuration:pt.progressActiveMotionDuration,animationTimingFunction:pt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Wt}-rtl${Wt}-status-active`]:{[`${Wt}-bg::before`]:{animationName:vt(!0)}},[`&${Wt}-status-exception`]:{[`${Wt}-bg`]:{backgroundColor:pt.colorError},[`${Wt}-text`]:{color:pt.colorError}},[`&${Wt}-status-exception ${Wt}-inner:not(${Wt}-circle-gradient)`]:{[`${Wt}-circle-path`]:{stroke:pt.colorError}},[`&${Wt}-status-success`]:{[`${Wt}-bg`]:{backgroundColor:pt.colorSuccess},[`${Wt}-text`]:{color:pt.colorSuccess}},[`&${Wt}-status-success ${Wt}-inner:not(${Wt}-circle-gradient)`]:{[`${Wt}-circle-path`]:{stroke:pt.colorSuccess}}})}},lt=pt=>{const{componentCls:Wt,iconCls:vn}=pt;return{[Wt]:{[`${Wt}-circle-trail`]:{stroke:pt.remainingColor},[`&${Wt}-circle ${Wt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Wt}-circle ${Wt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:pt.circleTextColor,fontSize:pt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[vn]:{fontSize:`${pt.fontSize/pt.fontSizeSM}em`}},[`${Wt}-circle&-status-exception`]:{[`${Wt}-text`]:{color:pt.colorError}},[`${Wt}-circle&-status-success`]:{[`${Wt}-text`]:{color:pt.colorSuccess}}},[`${Wt}-inline-circle`]:{lineHeight:1,[`${Wt}-inner`]:{verticalAlign:"bottom"}}}},Pt=pt=>{const{componentCls:Wt}=pt;return{[Wt]:{[`${Wt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:pt.progressStepMinWidth,marginInlineEnd:pt.progressStepMarginInlineEnd,backgroundColor:pt.remainingColor,transition:`all ${pt.motionDurationSlow}`,"&-active":{backgroundColor:pt.defaultColor}}}}}},Mt=pt=>{const{componentCls:Wt,iconCls:vn}=pt;return{[Wt]:{[`${Wt}-small&-line, ${Wt}-small&-line ${Wt}-text ${vn}`]:{fontSize:pt.fontSizeSM}}}};var kt=(0,oe.Z)("Progress",pt=>{const Wt=pt.marginXXS/2,vn=(0,Ye.TS)(pt,{progressStepMarginInlineEnd:Wt,progressStepMinWidth:Wt,progressActiveMotionDuration:"2.4s"});return[et(vn),lt(vn),Pt(vn),Mt(vn)]},pt=>({circleTextColor:pt.colorText,defaultColor:pt.colorInfo,remainingColor:pt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),$t=function(pt,Wt){var vn={};for(var xn in pt)Object.prototype.hasOwnProperty.call(pt,xn)&&Wt.indexOf(xn)<0&&(vn[xn]=pt[xn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,xn=Object.getOwnPropertySymbols(pt);Wn<xn.length;Wn++)Wt.indexOf(xn[Wn])<0&&Object.prototype.propertyIsEnumerable.call(pt,xn[Wn])&&(vn[xn[Wn]]=pt[xn[Wn]]);return vn};const Sn=null,Bt=["normal","exception","active","success"];var tn=he.forwardRef((pt,Wt)=>{const{prefixCls:vn,className:xn,rootClassName:Wn,steps:br,strokeColor:Lr,percent:jr=0,size:Qr="default",showInfo:vr=!0,type:Ar="line",status:Tr,format:Bi,style:$i}=pt,mi=$t(pt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Mi=he.useMemo(()=>{var Fn,Dt;const Gt=at(pt);return parseInt(Gt!==void 0?(Fn=Gt!=null?Gt:0)===null||Fn===void 0?void 0:Fn.toString():(Dt=jr!=null?jr:0)===null||Dt===void 0?void 0:Dt.toString(),10)},[jr,pt.success,pt.successPercent]),pa=he.useMemo(()=>!Bt.includes(Tr)&&Mi>=100?"success":Tr||"normal",[Tr,Mi]),{getPrefixCls:Dr,direction:_n,progress:no}=he.useContext(we.E_),Ki=Dr("progress",vn),[Co,ro]=kt(Ki),Pi=he.useMemo(()=>{if(!vr)return null;const Fn=at(pt);let Dt;const Gt=Bi||(jt=>`${jt}%`),Zt=Ar==="line";return Bi||pa!=="exception"&&pa!=="success"?Dt=Gt(je(jr),je(Fn)):pa==="exception"?Dt=Zt?he.createElement(At.Z,null):he.createElement(Ne.Z,null):pa==="success"&&(Dt=Zt?he.createElement(Me.Z,null):he.createElement(Ue.Z,null)),he.createElement("span",{className:`${Ki}-text`,title:typeof Dt=="string"?Dt:void 0},Dt)},[vr,jr,Mi,pa,Ar,Ki,Bi]),Ii=Array.isArray(Lr)?Lr[0]:Lr,Si=typeof Lr=="string"||Array.isArray(Lr)?Lr:void 0;let gi;Ar==="line"?gi=br?he.createElement(ie,Object.assign({},pt,{strokeColor:Si,prefixCls:Ki,steps:br}),Pi):he.createElement(Se,Object.assign({},pt,{strokeColor:Ii,prefixCls:Ki,direction:_n}),Pi):(Ar==="circle"||Ar==="dashboard")&&(gi=he.createElement(fn,Object.assign({},pt,{strokeColor:Ii,prefixCls:Ki,progressStatus:pa}),Pi));const Ea=ve()(Ki,`${Ki}-status-${pa}`,`${Ki}-${Ar==="dashboard"&&"circle"||br&&"steps"||Ar}`,{[`${Ki}-inline-circle`]:Ar==="circle"&&St(Qr,"circle")[0]<=20,[`${Ki}-show-info`]:vr,[`${Ki}-${Qr}`]:typeof Qr=="string",[`${Ki}-rtl`]:_n==="rtl"},no==null?void 0:no.className,xn,Wn,ro);return Co(he.createElement("div",Object.assign({ref:Wt,style:Object.assign(Object.assign({},no==null?void 0:no.style),$i),className:Ea,role:"progressbar","aria-valuenow":Mi},(0,Ae.Z)(mi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),gi))}),zt=tn},5112:function(Tn,Xt,ce){"use strict";ce.d(Xt,{ZP:function(){return it}});var he=ce(92310),Me=ce.n(he),Ue=ce(18929),At=ce(26112),Ne=ce(59301),Le=ce(36355),ve=ce(19716);const Ae=Ne.createContext(null),we=Ae.Provider;var fe=Ae;const ze=Ne.createContext(null),Be=ze.Provider;var _e=ce(5630),Oe=ce(8654),He=ce(1684),ke=ce(32441),Te=ce(17313),Pe=ce(83116),Xe=ce(37613);const Ke=je=>{const{componentCls:at,antCls:Yt}=je,Vt=`${at}-group`;return{[Vt]:Object.assign(Object.assign({},(0,Te.Wf)(je)),{display:"inline-block",fontSize:0,[`&${Vt}-rtl`]:{direction:"rtl"},[`${Yt}-badge ${Yt}-badge-count`]:{zIndex:1},[`> ${Yt}-badge:not(:first-child) > ${Yt}-button-wrapper`]:{borderInlineStart:"none"}})}},qe=je=>{const{componentCls:at,wrapperMarginInlineEnd:Yt,colorPrimary:Vt,radioSize:St,motionDurationSlow:Qt,motionDurationMid:cn,motionEaseInOutCirc:Nn,colorBgContainer:fn,colorBorder:Ln,lineWidth:Cn,dotSize:Bn,colorBgContainerDisabled:gn,colorTextDisabled:Se,paddingXS:Fe,dotColorDisabled:ie,lineType:ae,radioDotDisabledSize:se,wireframe:oe,colorWhite:Ye}=je,vt=`${at}-inner`;return{[`${at}-wrapper`]:Object.assign(Object.assign({},(0,Te.Wf)(je)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Yt,cursor:"pointer",[`&${at}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:je.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${at}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Cn}px ${ae} ${Vt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[at]:Object.assign(Object.assign({},(0,Te.Wf)(je)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${at}-wrapper:hover &,
&:hover ${vt}`]:{borderColor:Vt},[`${at}-input:focus-visible + ${vt}`]:Object.assign({},(0,Te.oN)(je)),[`${at}:hover::after, ${at}-wrapper:hover &::after`]:{visibility:"visible"},[`${at}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:St,height:St,marginBlockStart:St/-2,marginInlineStart:St/-2,backgroundColor:oe?Vt:Ye,borderBlockStart:0,borderInlineStart:0,borderRadius:St,transform:"scale(0)",opacity:0,transition:`all ${Qt} ${Nn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:St,height:St,backgroundColor:fn,borderColor:Ln,borderStyle:"solid",borderWidth:Cn,borderRadius:"50%",transition:`all ${cn}`},[`${at}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${at}-checked`]:{[vt]:{borderColor:Vt,backgroundColor:oe?fn:Vt,"&::after":{transform:`scale(${Bn/St})`,opacity:1,transition:`all ${Qt} ${Nn}`}}},[`${at}-disabled`]:{cursor:"not-allowed",[vt]:{backgroundColor:gn,borderColor:Ln,cursor:"not-allowed","&::after":{backgroundColor:ie}},[`${at}-input`]:{cursor:"not-allowed"},[`${at}-disabled + span`]:{color:Se,cursor:"not-allowed"},[`&${at}-checked`]:{[vt]:{"&::after":{transform:`scale(${se/St})`}}}},[`span${at} + *`]:{paddingInlineStart:Fe,paddingInlineEnd:Fe}})}},We=je=>{const{buttonColor:at,controlHeight:Yt,componentCls:Vt,lineWidth:St,lineType:Qt,colorBorder:cn,motionDurationSlow:Nn,motionDurationMid:fn,buttonPaddingInline:Ln,fontSize:Cn,buttonBg:Bn,fontSizeLG:gn,controlHeightLG:Se,controlHeightSM:Fe,paddingXS:ie,borderRadius:ae,borderRadiusSM:se,borderRadiusLG:oe,buttonCheckedBg:Ye,buttonSolidCheckedColor:vt,colorTextDisabled:et,colorBgContainerDisabled:lt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:Mt,colorPrimary:kt,colorPrimaryHover:$t,colorPrimaryActive:Sn,buttonSolidCheckedBg:Bt,buttonSolidCheckedHoverBg:nn,buttonSolidCheckedActiveBg:tn}=je;return{[`${Vt}-button-wrapper`]:{position:"relative",display:"inline-block",height:Yt,margin:0,paddingInline:Ln,paddingBlock:0,color:at,fontSize:Cn,lineHeight:`${Yt-St*2}px`,background:Bn,border:`${St}px ${Qt} ${cn}`,borderBlockStartWidth:St+.02,borderInlineStartWidth:0,borderInlineEndWidth:St,cursor:"pointer",transition:[`color ${fn}`,`background ${fn}`,`box-shadow ${fn}`].join(","),a:{color:at},[`> ${Vt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-St,insetInlineStart:-St,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:St,paddingInline:0,backgroundColor:cn,transition:`background-color ${Nn}`,content:'""'}},"&:first-child":{borderInlineStart:`${St}px ${Qt} ${cn}`,borderStartStartRadius:ae,borderEndStartRadius:ae},"&:last-child":{borderStartEndRadius:ae,borderEndEndRadius:ae},"&:first-child:last-child":{borderRadius:ae},[`${Vt}-group-large &`]:{height:Se,fontSize:gn,lineHeight:`${Se-St*2}px`,"&:first-child":{borderStartStartRadius:oe,borderEndStartRadius:oe},"&:last-child":{borderStartEndRadius:oe,borderEndEndRadius:oe}},[`${Vt}-group-small &`]:{height:Fe,paddingInline:ie-St,paddingBlock:0,lineHeight:`${Fe-St*2}px`,"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},"&:hover":{position:"relative",color:kt},"&:has(:focus-visible)":Object.assign({},(0,Te.oN)(je)),[`${Vt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Vt}-button-wrapper-disabled)`]:{zIndex:1,color:kt,background:Ye,borderColor:kt,"&::before":{backgroundColor:kt},"&:first-child":{borderColor:kt},"&:hover":{color:$t,borderColor:$t,"&::before":{backgroundColor:$t}},"&:active":{color:Sn,borderColor:Sn,"&::before":{backgroundColor:Sn}}},[`${Vt}-group-solid &-checked:not(${Vt}-button-wrapper-disabled)`]:{color:vt,background:Bt,borderColor:Bt,"&:hover":{color:vt,background:nn,borderColor:nn},"&:active":{color:vt,background:tn,borderColor:tn}},"&-disabled":{color:et,backgroundColor:lt,borderColor:cn,cursor:"not-allowed","&:first-child, &:hover":{color:et,backgroundColor:lt,borderColor:cn}},[`&-disabled${Vt}-button-wrapper-checked`]:{color:Mt,backgroundColor:Pt,borderColor:cn,boxShadow:"none"}}}},Ze=je=>je-4*2;var $e=(0,Pe.Z)("Radio",je=>{const{controlOutline:at,controlOutlineWidth:Yt,radioSize:Vt}=je,St=`0 0 0 ${Yt}px ${at}`,Qt=St,cn=Ze(Vt),Nn=(0,Xe.TS)(je,{radioDotDisabledSize:cn,radioFocusShadow:St,radioButtonFocusShadow:Qt});return[Ke(Nn),qe(Nn),We(Nn)]},je=>{const{wireframe:at,padding:Yt,marginXS:Vt,lineWidth:St,fontSizeLG:Qt,colorText:cn,colorBgContainer:Nn,colorTextDisabled:fn,controlItemBgActiveDisabled:Ln,colorTextLightSolid:Cn,colorPrimary:Bn,colorPrimaryHover:gn,colorPrimaryActive:Se}=je,Fe=4,ie=Qt,ae=at?Ze(ie):ie-(Fe+St)*2;return{radioSize:ie,dotSize:ae,dotColorDisabled:fn,buttonSolidCheckedColor:Cn,buttonSolidCheckedBg:Bn,buttonSolidCheckedHoverBg:gn,buttonSolidCheckedActiveBg:Se,buttonBg:Nn,buttonCheckedBg:Nn,buttonColor:cn,buttonCheckedBgDisabled:Ln,buttonCheckedColorDisabled:fn,buttonPaddingInline:Yt-St,wrapperMarginInlineEnd:Vt}}),rt=ce(14088),ht=ce(4572),dt=function(je,at){var Yt={};for(var Vt in je)Object.prototype.hasOwnProperty.call(je,Vt)&&at.indexOf(Vt)<0&&(Yt[Vt]=je[Vt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(je);St<Vt.length;St++)at.indexOf(Vt[St])<0&&Object.prototype.propertyIsEnumerable.call(je,Vt[St])&&(Yt[Vt[St]]=je[Vt[St]]);return Yt};const xt=(je,at)=>{var Yt,Vt;const St=Ne.useContext(fe),Qt=Ne.useContext(ze),{getPrefixCls:cn,direction:Nn,radio:fn}=Ne.useContext(Le.E_),Ln=Ne.useRef(null),Cn=(0,Oe.sQ)(at,Ln),{isFormItemInput:Bn}=Ne.useContext(ke.aM),gn=Sn=>{var Bt,nn;(Bt=je.onChange)===null||Bt===void 0||Bt.call(je,Sn),(nn=St==null?void 0:St.onChange)===null||nn===void 0||nn.call(St,Sn)},{prefixCls:Se,className:Fe,rootClassName:ie,children:ae,style:se}=je,oe=dt(je,["prefixCls","className","rootClassName","children","style"]),Ye=cn("radio",Se),vt=((St==null?void 0:St.optionType)||Qt)==="button",et=vt?`${Ye}-button`:Ye,[lt,Pt]=$e(Ye),Mt=Object.assign({},oe),kt=Ne.useContext(He.Z);St&&(Mt.name=St.name,Mt.onChange=gn,Mt.checked=je.value===St.value,Mt.disabled=(Yt=Mt.disabled)!==null&&Yt!==void 0?Yt:St.disabled),Mt.disabled=(Vt=Mt.disabled)!==null&&Vt!==void 0?Vt:kt;const $t=Me()(`${et}-wrapper`,{[`${et}-wrapper-checked`]:Mt.checked,[`${et}-wrapper-disabled`]:Mt.disabled,[`${et}-wrapper-rtl`]:Nn==="rtl",[`${et}-wrapper-in-form-item`]:Bn},fn==null?void 0:fn.className,Fe,ie,Pt);return lt(Ne.createElement(rt.Z,{component:"Radio",disabled:Mt.disabled},Ne.createElement("label",{className:$t,style:Object.assign(Object.assign({},fn==null?void 0:fn.style),se),onMouseEnter:je.onMouseEnter,onMouseLeave:je.onMouseLeave},Ne.createElement(_e.Z,Object.assign({},Mt,{className:Me()(Mt.className,!vt&&ht.A),type:"radio",prefixCls:et,ref:Cn})),ae!==void 0?Ne.createElement("span",null,ae):null)))};var Lt=Ne.forwardRef(xt);const Re=Ne.forwardRef((je,at)=>{const{getPrefixCls:Yt,direction:Vt}=Ne.useContext(Le.E_),[St,Qt]=(0,Ue.Z)(je.defaultValue,{value:je.value}),cn=Bt=>{const nn=St,tn=Bt.target.value;"value"in je||Qt(tn);const{onChange:zt}=je;zt&&tn!==nn&&zt(Bt)},{prefixCls:Nn,className:fn,rootClassName:Ln,options:Cn,buttonStyle:Bn="outline",disabled:gn,children:Se,size:Fe,style:ie,id:ae,onMouseEnter:se,onMouseLeave:oe,onFocus:Ye,onBlur:vt}=je,et=Yt("radio",Nn),lt=`${et}-group`,[Pt,Mt]=$e(et);let kt=Se;Cn&&Cn.length>0&&(kt=Cn.map(Bt=>typeof Bt=="string"||typeof Bt=="number"?Ne.createElement(Lt,{key:Bt.toString(),prefixCls:et,disabled:gn,value:Bt,checked:St===Bt},Bt):Ne.createElement(Lt,{key:`radio-group-value-options-${Bt.value}`,prefixCls:et,disabled:Bt.disabled||gn,value:Bt.value,checked:St===Bt.value,title:Bt.title,style:Bt.style},Bt.label)));const $t=(0,ve.Z)(Fe),Sn=Me()(lt,`${lt}-${Bn}`,{[`${lt}-${$t}`]:$t,[`${lt}-rtl`]:Vt==="rtl"},fn,Ln,Mt);return Pt(Ne.createElement("div",Object.assign({},(0,At.Z)(je,{aria:!0,data:!0}),{className:Sn,style:ie,onMouseEnter:se,onMouseLeave:oe,onFocus:Ye,onBlur:vt,id:ae,ref:at}),Ne.createElement(we,{value:{onChange:cn,value:St,disabled:je.disabled,name:je.name,optionType:je.optionType}},kt)))});var Rt=Ne.memo(Re),Ft=function(je,at){var Yt={};for(var Vt in je)Object.prototype.hasOwnProperty.call(je,Vt)&&at.indexOf(Vt)<0&&(Yt[Vt]=je[Vt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(je);St<Vt.length;St++)at.indexOf(Vt[St])<0&&Object.prototype.propertyIsEnumerable.call(je,Vt[St])&&(Yt[Vt[St]]=je[Vt[St]]);return Yt};const bt=(je,at)=>{const{getPrefixCls:Yt}=Ne.useContext(Le.E_),{prefixCls:Vt}=je,St=Ft(je,["prefixCls"]),Qt=Yt("radio",Vt);return Ne.createElement(Be,{value:"button"},Ne.createElement(Lt,Object.assign({prefixCls:Qt},St,{type:"radio",ref:at})))};var Tt=Ne.forwardRef(bt);const wt=Lt;wt.Button=Tt,wt.Group=Rt,wt.__ANT_RADIO=!0;var it=wt},13570:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return je}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(Yt,Vt){return Me.createElement(Ne.Z,(0,he.Z)({},Yt,{ref:Vt,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(92310),fe=ce.n(we),ze=ce(18642),Be=ce(72190),_e=ce(42244),Oe=ce(18929),He=ce(10228),ke=ce(26112);function Te(at,Yt){var Vt=at.disabled,St=at.prefixCls,Qt=at.character,cn=at.characterRender,Nn=at.index,fn=at.count,Ln=at.value,Cn=at.allowHalf,Bn=at.focused,gn=at.onHover,Se=at.onClick,Fe=function(lt){gn(lt,Nn)},ie=function(lt){Se(lt,Nn)},ae=function(lt){lt.keyCode===He.Z.ENTER&&Se(lt,Nn)},se=Nn+1,oe=new Set([St]);Ln===0&&Nn===0&&Bn?oe.add("".concat(St,"-focused")):Cn&&Ln+.5>=se&&Ln<se?(oe.add("".concat(St,"-half")),oe.add("".concat(St,"-active")),Bn&&oe.add("".concat(St,"-focused"))):(se<=Ln?oe.add("".concat(St,"-full")):oe.add("".concat(St,"-zero")),se===Ln&&Bn&&oe.add("".concat(St,"-focused")));var Ye=typeof Qt=="function"?Qt(at):Qt,vt=Me.createElement("li",{className:fe()(Array.from(oe)),ref:Yt},Me.createElement("div",{onClick:Vt?null:ie,onKeyDown:Vt?null:ae,onMouseMove:Vt?null:Fe,role:"radio","aria-checked":Ln>Nn?"true":"false","aria-posinset":Nn+1,"aria-setsize":fn,tabIndex:Vt?-1:0},Me.createElement("div",{className:"".concat(St,"-first")},Ye),Me.createElement("div",{className:"".concat(St,"-second")},Ye)));return cn&&(vt=cn(vt,at)),vt}var Pe=Me.forwardRef(Te);function Xe(){var at=Me.useRef({});function Yt(St){return at.current[St]}function Vt(St){return function(Qt){at.current[St]=Qt}}return[Yt,Vt]}function Ke(at){var Yt=at.pageXOffset,Vt="scrollLeft";if(typeof Yt!="number"){var St=at.document;Yt=St.documentElement[Vt],typeof Yt!="number"&&(Yt=St.body[Vt])}return Yt}function qe(at){var Yt,Vt,St=at.ownerDocument,Qt=St.body,cn=St&&St.documentElement,Nn=at.getBoundingClientRect();return Yt=Nn.left,Vt=Nn.top,Yt-=cn.clientLeft||Qt.clientLeft||0,Vt-=cn.clientTop||Qt.clientTop||0,{left:Yt,top:Vt}}function We(at){var Yt=qe(at),Vt=at.ownerDocument,St=Vt.defaultView||Vt.parentWindow;return Yt.left+=Ke(St),Yt.left}var Ze=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function $e(at,Yt){var Vt,St=at.prefixCls,Qt=St===void 0?"rc-rate":St,cn=at.className,Nn=at.defaultValue,fn=at.value,Ln=at.count,Cn=Ln===void 0?5:Ln,Bn=at.allowHalf,gn=Bn===void 0?!1:Bn,Se=at.allowClear,Fe=Se===void 0?!0:Se,ie=at.character,ae=ie===void 0?"\u2605":ie,se=at.characterRender,oe=at.disabled,Ye=at.direction,vt=Ye===void 0?"ltr":Ye,et=at.tabIndex,lt=et===void 0?0:et,Pt=at.autoFocus,Mt=at.onHoverChange,kt=at.onChange,$t=at.onFocus,Sn=at.onBlur,Bt=at.onKeyDown,nn=at.onMouseLeave,tn=(0,_e.Z)(at,Ze),zt=Xe(),pt=(0,Be.Z)(zt,2),Wt=pt[0],vn=pt[1],xn=Me.useRef(null),Wn=function(){if(!oe){var jt;(jt=xn.current)===null||jt===void 0||jt.focus()}};Me.useImperativeHandle(Yt,function(){return{focus:Wn,blur:function(){if(!oe){var jt;(jt=xn.current)===null||jt===void 0||jt.blur()}}}});var br=(0,Oe.Z)(Nn||0,{value:fn}),Lr=(0,Be.Z)(br,2),jr=Lr[0],Qr=Lr[1],vr=(0,Oe.Z)(null),Ar=(0,Be.Z)(vr,2),Tr=Ar[0],Bi=Ar[1],$i=function(jt,on){var Mn=vt==="rtl",ir=jt+1;if(gn){var qn=Wt(jt),pr=We(qn),Gr=qn.clientWidth;(Mn&&on-pr>Gr/2||!Mn&&on-pr<Gr/2)&&(ir-=.5)}return ir},mi=function(jt){Qr(jt),kt==null||kt(jt)},Mi=Me.useState(!1),pa=(0,Be.Z)(Mi,2),Dr=pa[0],_n=pa[1],no=function(){_n(!0),$t==null||$t()},Ki=function(){_n(!1),Sn==null||Sn()},Co=Me.useState(null),ro=(0,Be.Z)(Co,2),Pi=ro[0],Ii=ro[1],Si=function(jt,on){var Mn=$i(on,jt.pageX);Mn!==Tr&&(Ii(Mn),Bi(null)),Mt==null||Mt(Mn)},gi=function(jt){oe||(Ii(null),Bi(null),Mt==null||Mt(void 0)),jt&&(nn==null||nn(jt))},Ea=function(jt,on){var Mn=$i(on,jt.pageX),ir=!1;Fe&&(ir=Mn===jr),gi(),mi(ir?0:Mn),Bi(ir?Mn:null)},Fn=function(jt){var on=jt.keyCode,Mn=vt==="rtl",ir=jr;on===He.Z.RIGHT&&ir<Cn&&!Mn?(gn?ir+=.5:ir+=1,mi(ir),jt.preventDefault()):on===He.Z.LEFT&&ir>0&&!Mn||on===He.Z.RIGHT&&ir>0&&Mn?(gn?ir-=.5:ir-=1,mi(ir),jt.preventDefault()):on===He.Z.LEFT&&ir<Cn&&Mn&&(gn?ir+=.5:ir+=1,mi(ir),jt.preventDefault()),Bt==null||Bt(jt)};Me.useEffect(function(){Pt&&!oe&&Wn()},[]);var Dt=new Array(Cn).fill(0).map(function(Zt,jt){return Me.createElement(Pe,{ref:vn(jt),index:jt,count:Cn,disabled:oe,prefixCls:"".concat(Qt,"-star"),allowHalf:gn,value:Pi===null?jr:Pi,onClick:Ea,onHover:Si,key:Zt||jt,character:ae,characterRender:se,focused:Dr})}),Gt=fe()(Qt,cn,(Vt={},(0,ze.Z)(Vt,"".concat(Qt,"-disabled"),oe),(0,ze.Z)(Vt,"".concat(Qt,"-rtl"),vt==="rtl"),Vt));return Me.createElement("ul",(0,he.Z)({className:Gt,onMouseLeave:gi,tabIndex:oe?-1:lt,onFocus:oe?null:no,onBlur:oe?null:Ki,onKeyDown:oe?null:Fn,ref:xn,role:"radiogroup"},(0,ke.Z)(tn,{aria:!0,data:!0,attr:!0})),Dt)}var rt=Me.forwardRef($e),ht=rt,dt=ce(36355),xt=ce(6848),Je=ce(17313),Lt=ce(83116),Re=ce(37613);const Rt=at=>{const{componentCls:Yt}=at;return{[`${Yt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:at.marginXS},"> div":{transition:`all ${at.motionDurationMid}, outline 0s`,"&:hover":{transform:at.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${at.lineWidth}px dashed ${at.starColor}`,transform:at.starHoverScale}},"&-first, &-second":{color:at.starBg,transition:`all ${at.motionDurationMid}`,userSelect:"none",[at.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Yt}-star-first, &-half ${Yt}-star-second`]:{opacity:1},[`&-half ${Yt}-star-first, &-full ${Yt}-star-second`]:{color:"inherit"}}}},Ft=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),bt=at=>{const{componentCls:Yt}=at;return{[Yt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Je.Wf)(at)),{display:"inline-block",margin:0,padding:0,color:at.starColor,fontSize:at.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Yt} ${Yt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Rt(at)),{[`+ ${Yt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),Ft(at))}};var Tt=(0,Lt.Z)("Rate",at=>{const Yt=(0,Re.TS)(at,{});return[bt(Yt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),wt=function(at,Yt){var Vt={};for(var St in at)Object.prototype.hasOwnProperty.call(at,St)&&Yt.indexOf(St)<0&&(Vt[St]=at[St]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,St=Object.getOwnPropertySymbols(at);Qt<St.length;Qt++)Yt.indexOf(St[Qt])<0&&Object.prototype.propertyIsEnumerable.call(at,St[Qt])&&(Vt[St[Qt]]=at[St[Qt]]);return Vt},je=Me.forwardRef((at,Yt)=>{const{prefixCls:Vt,className:St,rootClassName:Qt,style:cn,tooltips:Nn,character:fn=Me.createElement(Ae,null)}=at,Ln=wt(at,["prefixCls","className","rootClassName","style","tooltips","character"]),Cn=(oe,Ye)=>{let{index:vt}=Ye;return Nn?Me.createElement(xt.Z,{title:Nn[vt]},oe):oe},{getPrefixCls:Bn,direction:gn,rate:Se}=Me.useContext(dt.E_),Fe=Bn("rate",Vt),[ie,ae]=Tt(Fe),se=Object.assign(Object.assign({},Se==null?void 0:Se.style),cn);return ie(Me.createElement(ht,Object.assign({ref:Yt,character:fn,characterRender:Cn},Ln,{className:fe()(St,Qt,ae,Se==null?void 0:Se.className),style:se,prefixCls:Fe,direction:gn})))})},57809:function(Tn,Xt,ce){"use strict";var he=ce(92310),Me=ce.n(he),Ue=ce(77861),At=ce(2738),Ne=ce(59301),Le=ce(53487),ve=ce(62892),Ae=ce(19080),we=ce(36355),fe=ce(1684),ze=ce(93891),Be=ce(19716),_e=ce(32441),Oe=ce(33234),He=ce(14154),ke=ce(58582),Te=ce(84443),Pe=ce(66339),Xe=function($e,rt){var ht={};for(var dt in $e)Object.prototype.hasOwnProperty.call($e,dt)&&rt.indexOf(dt)<0&&(ht[dt]=$e[dt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,dt=Object.getOwnPropertySymbols($e);xt<dt.length;xt++)rt.indexOf(dt[xt])<0&&Object.prototype.propertyIsEnumerable.call($e,dt[xt])&&(ht[dt[xt]]=$e[dt[xt]]);return ht};const Ke="SECRET_COMBOBOX_MODE_DO_NOT_USE",qe=($e,rt)=>{var ht,{prefixCls:dt,bordered:xt=!0,className:Je,rootClassName:Lt,getPopupContainer:Re,popupClassName:Rt,dropdownClassName:Ft,listHeight:bt=256,placement:Tt,listItemHeight:wt=24,size:it,disabled:je,notFoundContent:at,status:Yt,builtinPlacements:Vt,dropdownMatchSelectWidth:St,popupMatchSelectWidth:Qt,direction:cn,style:Nn,allowClear:fn}=$e,Ln=Xe($e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Cn,getPrefixCls:Bn,renderEmpty:gn,direction:Se,virtual:Fe,popupMatchSelectWidth:ie,popupOverflow:ae,select:se}=Ne.useContext(we.E_),oe=Bn("select",dt),Ye=Bn(),vt=cn!=null?cn:Se,{compactSize:et,compactItemClassnames:lt}=(0,Oe.ri)(oe,vt),[Pt,Mt]=(0,He.Z)(oe),kt=Ne.useMemo(()=>{const{mode:pa}=Ln;if(pa!=="combobox")return pa===Ke?"combobox":pa},[Ln.mode]),$t=kt==="multiple"||kt==="tags",Sn=(0,Te.Z)(Ln.suffixIcon,Ln.showArrow),Bt=(ht=Qt!=null?Qt:St)!==null&&ht!==void 0?ht:ie,{status:nn,hasFeedback:tn,isFormItemInput:zt,feedbackIcon:pt}=Ne.useContext(_e.aM),Wt=(0,Ae.F)(nn,Yt);let vn;at!==void 0?vn=at:kt==="combobox"?vn=null:vn=(gn==null?void 0:gn("Select"))||Ne.createElement(ze.Z,{componentName:"Select"});const{suffixIcon:xn,itemIcon:Wn,removeIcon:br,clearIcon:Lr}=(0,Pe.Z)(Object.assign(Object.assign({},Ln),{multiple:$t,hasFeedback:tn,feedbackIcon:pt,showSuffixIcon:Sn,prefixCls:oe,showArrow:Ln.showArrow,componentName:"Select"})),jr=fn===!0?{clearIcon:Lr}:fn,Qr=(0,At.Z)(Ln,["suffixIcon","itemIcon"]),vr=Me()(Rt||Ft,{[`${oe}-dropdown-${vt}`]:vt==="rtl"},Lt,Mt),Ar=(0,Be.Z)(pa=>{var Dr;return(Dr=it!=null?it:et)!==null&&Dr!==void 0?Dr:pa}),Tr=Ne.useContext(fe.Z),Bi=je!=null?je:Tr,$i=Me()({[`${oe}-lg`]:Ar==="large",[`${oe}-sm`]:Ar==="small",[`${oe}-rtl`]:vt==="rtl",[`${oe}-borderless`]:!xt,[`${oe}-in-form-item`]:zt},(0,Ae.Z)(oe,Wt,tn),lt,se==null?void 0:se.className,Je,Lt,Mt),mi=Ne.useMemo(()=>Tt!==void 0?Tt:vt==="rtl"?"bottomRight":"bottomLeft",[Tt,vt]),Mi=(0,ke.Z)(Vt,ae);return Pt(Ne.createElement(Ue.ZP,Object.assign({ref:rt,virtual:Fe,showSearch:se==null?void 0:se.showSearch},Qr,{style:Object.assign(Object.assign({},se==null?void 0:se.style),Nn),dropdownMatchSelectWidth:Bt,builtinPlacements:Mi,transitionName:(0,ve.m)(Ye,"slide-up",Ln.transitionName),listHeight:bt,listItemHeight:wt,mode:kt,prefixCls:oe,placement:mi,direction:vt,suffixIcon:xn,menuItemSelectedIcon:Wn,removeIcon:br,allowClear:jr,notFoundContent:vn,className:$i,getPopupContainer:Re||Cn,dropdownClassName:vr,disabled:Bi})))},We=Ne.forwardRef(qe),Ze=(0,Le.Z)(We);We.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ke,We.Option=Ue.Wx,We.OptGroup=Ue.Xo,We._InternalPanelDoNotUseOrYouWillBeFired=Ze,Xt.default=We},14154:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return We}});var he=ce(17313),Me=ce(74207),Ue=ce(37613),At=ce(83116),Ne=ce(13826),Le=ce(92899);const ve=Ze=>{const{optionHeight:$e,optionFontSize:rt,optionLineHeight:ht,optionPadding:dt}=Ze;return{position:"relative",display:"block",minHeight:$e,padding:dt,color:Ze.colorText,fontWeight:"normal",fontSize:rt,lineHeight:ht,boxSizing:"border-box"}};var we=Ze=>{const{antCls:$e,componentCls:rt}=Ze,ht=`${rt}-item`,dt=`&${$e}-slide-up-enter${$e}-slide-up-enter-active`,xt=`&${$e}-slide-up-appear${$e}-slide-up-appear-active`,Je=`&${$e}-slide-up-leave${$e}-slide-up-leave-active`,Lt=`${rt}-dropdown-placement-`;return[{[`${rt}-dropdown`]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{position:"absolute",top:-9999,zIndex:Ze.zIndexPopup,boxSizing:"border-box",padding:Ze.paddingXXS,overflow:"hidden",fontSize:Ze.fontSize,fontVariant:"initial",backgroundColor:Ze.colorBgElevated,borderRadius:Ze.borderRadiusLG,outline:"none",boxShadow:Ze.boxShadowSecondary,[`
${dt}${Lt}bottomLeft,
${xt}${Lt}bottomLeft
`]:{animationName:Ne.fJ},[`
${dt}${Lt}topLeft,
${xt}${Lt}topLeft,
${dt}${Lt}topRight,
${xt}${Lt}topRight
`]:{animationName:Ne.Qt},[`${Je}${Lt}bottomLeft`]:{animationName:Ne.Uw},[`
${Je}${Lt}topLeft,
${Je}${Lt}topRight
`]:{animationName:Ne.ly},"&-hidden":{display:"none"},[`${ht}`]:Object.assign(Object.assign({},ve(Ze)),{cursor:"pointer",transition:`background ${Ze.motionDurationSlow} ease`,borderRadius:Ze.borderRadiusSM,"&-group":{color:Ze.colorTextDescription,fontSize:Ze.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},he.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ht}-option-disabled)`]:{backgroundColor:Ze.optionActiveBg},[`&-selected:not(${ht}-option-disabled)`]:{color:Ze.optionSelectedColor,fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg,[`${ht}-option-state`]:{color:Ze.colorPrimary}},"&-disabled":{[`&${ht}-option-selected`]:{backgroundColor:Ze.colorBgContainerDisabled},color:Ze.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Ze.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,Ne.oN)(Ze,"slide-up"),(0,Ne.oN)(Ze,"slide-down"),(0,Le.Fm)(Ze,"move-up"),(0,Le.Fm)(Ze,"move-down")]};const fe=2,ze=Ze=>{let{controlHeightSM:$e,controlHeight:rt,lineWidth:ht}=Ze;const dt=(rt-$e)/2-ht,xt=Math.ceil(dt/2);return[dt,xt]};function Be(Ze,$e){const{componentCls:rt,iconCls:ht}=Ze,dt=`${rt}-selection-overflow`,xt=Ze.multipleSelectItemHeight,[Je]=ze(Ze),Lt=$e?`${rt}-${$e}`:"";return{[`${rt}-multiple${Lt}`]:{fontSize:Ze.fontSize,[dt]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${rt}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Je-fe}px ${fe*2}px`,borderRadius:Ze.borderRadius,[`${rt}-show-search&`]:{cursor:"text"},[`${rt}-disabled&`]:{background:Ze.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${fe}px 0`,lineHeight:`${xt}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${rt}-show-arrow ${rt}-selector,
&${rt}-allow-clear ${rt}-selector
`]:{paddingInlineEnd:Ze.fontSizeIcon+Ze.controlPaddingHorizontal},[`${rt}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:xt,marginTop:fe,marginBottom:fe,lineHeight:`${xt-Ze.lineWidth*2}px`,background:Ze.multipleItemBg,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.multipleItemBorderColor}`,borderRadius:Ze.borderRadiusSM,cursor:"default",transition:`font-size ${Ze.motionDurationSlow}, line-height ${Ze.motionDurationSlow}, height ${Ze.motionDurationSlow}`,userSelect:"none",marginInlineEnd:fe*2,paddingInlineStart:Ze.paddingXS,paddingInlineEnd:Ze.paddingXS/2,[`${rt}-disabled&`]:{color:Ze.multipleItemColorDisabled,borderColor:Ze.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:Ze.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,he.Ro)()),{display:"inline-flex",alignItems:"center",color:Ze.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ht}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze.colorIconHover}})},[`${dt}-item + ${dt}-item`]:{[`${rt}-selection-search`]:{marginInlineStart:0}},[`${rt}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:Ze.inputPaddingHorizontalBase-Je,"\n &-input,\n &-mirror\n ":{height:xt,fontFamily:Ze.fontFamily,lineHeight:`${xt}px`,transition:`all ${Ze.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${rt}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:Ze.inputPaddingHorizontalBase,insetInlineEnd:Ze.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${Ze.motionDurationSlow}`}}}}var Oe=Ze=>{const{componentCls:$e}=Ze,rt=(0,Ue.TS)(Ze,{controlHeight:Ze.controlHeightSM,multipleSelectItemHeight:Ze.controlHeightXS,borderRadius:Ze.borderRadiusSM,borderRadiusSM:Ze.borderRadiusXS}),ht=(0,Ue.TS)(Ze,{fontSize:Ze.fontSizeLG,controlHeight:Ze.controlHeightLG,multipleSelectItemHeight:Ze.multipleItemHeightLG,borderRadius:Ze.borderRadiusLG,borderRadiusSM:Ze.borderRadius}),[,dt]=ze(Ze);return[Be(Ze),Be(rt,"sm"),{[`${$e}-multiple${$e}-sm`]:{[`${$e}-selection-placeholder`]:{insetInline:Ze.controlPaddingHorizontalSM-Ze.lineWidth},[`${$e}-selection-search`]:{marginInlineStart:dt}}},Be(ht,"lg")]};function He(Ze,$e){const{componentCls:rt,inputPaddingHorizontalBase:ht,borderRadius:dt}=Ze,xt=Ze.controlHeight-Ze.lineWidth*2,Je=Math.ceil(Ze.fontSize*1.25),Lt=$e?`${rt}-${$e}`:"";return{[`${rt}-single${Lt}`]:{fontSize:Ze.fontSize,[`${rt}-selector`]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{display:"flex",borderRadius:dt,[`${rt}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ht,insetInlineEnd:ht,bottom:0,"&-input":{width:"100%"}},[`
${rt}-selection-item,
${rt}-selection-placeholder
`]:{padding:0,lineHeight:`${xt}px`,transition:`all ${Ze.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${xt}px`}},[`${rt}-selection-item`]:{position:"relative",userSelect:"none"},[`${rt}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${rt}-selection-item:after`,`${rt}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${rt}-show-arrow ${rt}-selection-item,
&${rt}-show-arrow ${rt}-selection-placeholder
`]:{paddingInlineEnd:Je},[`&${rt}-open ${rt}-selection-item`]:{color:Ze.colorTextPlaceholder},[`&:not(${rt}-customize-input)`]:{[`${rt}-selector`]:{width:"100%",height:Ze.controlHeight,padding:`0 ${ht}px`,[`${rt}-selection-search-input`]:{height:xt},"&:after":{lineHeight:`${xt}px`}}},[`&${rt}-customize-input`]:{[`${rt}-selector`]:{"&:after":{display:"none"},[`${rt}-selection-search`]:{position:"static",width:"100%"},[`${rt}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ht}px`,"&:after":{display:"none"}}}}}}}function ke(Ze){const{componentCls:$e}=Ze,rt=Ze.controlPaddingHorizontalSM-Ze.lineWidth;return[He(Ze),He((0,Ue.TS)(Ze,{controlHeight:Ze.controlHeightSM,borderRadius:Ze.borderRadiusSM}),"sm"),{[`${$e}-single${$e}-sm`]:{[`&:not(${$e}-customize-input)`]:{[`${$e}-selection-search`]:{insetInlineStart:rt,insetInlineEnd:rt},[`${$e}-selector`]:{padding:`0 ${rt}px`},[`&${$e}-show-arrow ${$e}-selection-search`]:{insetInlineEnd:rt+Ze.fontSize*1.5},[`
&${$e}-show-arrow ${$e}-selection-item,
&${$e}-show-arrow ${$e}-selection-placeholder
`]:{paddingInlineEnd:Ze.fontSize*1.5}}}},He((0,Ue.TS)(Ze,{controlHeight:Ze.singleItemHeightLG,fontSize:Ze.fontSizeLG,borderRadius:Ze.borderRadiusLG}),"lg")]}const Te=Ze=>{const{componentCls:$e,selectorBg:rt}=Ze;return{position:"relative",backgroundColor:rt,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorBorder}`,transition:`all ${Ze.motionDurationMid} ${Ze.motionEaseInOut}`,input:{cursor:"pointer"},[`${$e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${$e}-disabled&`]:{color:Ze.colorTextDisabled,background:Ze.colorBgContainerDisabled,cursor:"not-allowed",[`${$e}-multiple&`]:{background:Ze.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Pe=function(Ze,$e){let rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ht,borderHoverColor:dt,outlineColor:xt,antCls:Je}=$e,Lt=rt?{[`${ht}-selector`]:{borderColor:dt}}:{};return{[Ze]:{[`&:not(${ht}-disabled):not(${ht}-customize-input):not(${Je}-pagination-size-changer)`]:Object.assign(Object.assign({},Lt),{[`${ht}-focused& ${ht}-selector`]:{borderColor:dt,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${xt}`,outline:0},[`&:hover ${ht}-selector`]:{borderColor:dt}})}}},Xe=Ze=>{const{componentCls:$e}=Ze;return{[`${$e}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Ke=Ze=>{const{componentCls:$e,inputPaddingHorizontalBase:rt,iconCls:ht}=Ze;return{[$e]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${$e}-customize-input) ${$e}-selector`]:Object.assign(Object.assign({},Te(Ze)),Xe(Ze)),[`${$e}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},he.vS),[`${$e}-selection-placeholder`]:Object.assign(Object.assign({},he.vS),{flex:1,color:Ze.colorTextPlaceholder,pointerEvents:"none"}),[`${$e}-arrow`]:Object.assign(Object.assign({},(0,he.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:rt,height:Ze.fontSizeIcon,marginTop:-Ze.fontSizeIcon/2,color:Ze.colorTextQuaternary,fontSize:Ze.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ht]:{verticalAlign:"top",transition:`transform ${Ze.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$e}-suffix)`]:{pointerEvents:"auto"}},[`${$e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:rt,zIndex:1,display:"inline-block",width:Ze.fontSizeIcon,height:Ze.fontSizeIcon,marginTop:-Ze.fontSizeIcon/2,color:Ze.colorTextQuaternary,fontSize:Ze.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:Ze.clearBg,cursor:"pointer",opacity:0,transition:`color ${Ze.motionDurationMid} ease, opacity ${Ze.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Ze.colorTextTertiary}},"&:hover":{[`${$e}-clear`]:{opacity:1}}}),[`${$e}-has-feedback`]:{[`${$e}-clear`]:{insetInlineEnd:rt+Ze.fontSize+Ze.paddingXS}}}},qe=Ze=>{const{componentCls:$e}=Ze;return[{[$e]:{[`&-borderless ${$e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${$e}-in-form-item`]:{width:"100%"}}},Ke(Ze),ke(Ze),Oe(Ze),we(Ze),{[`${$e}-rtl`]:{direction:"rtl"}},Pe($e,(0,Ue.TS)(Ze,{borderHoverColor:Ze.colorPrimaryHover,outlineColor:Ze.controlOutline})),Pe(`${$e}-status-error`,(0,Ue.TS)(Ze,{borderHoverColor:Ze.colorErrorHover,outlineColor:Ze.colorErrorOutline}),!0),Pe(`${$e}-status-warning`,(0,Ue.TS)(Ze,{borderHoverColor:Ze.colorWarningHover,outlineColor:Ze.colorWarningOutline}),!0),(0,Me.c)(Ze,{borderElCls:`${$e}-selector`,focusElCls:`${$e}-focused`})]};var We=(0,At.Z)("Select",(Ze,$e)=>{let{rootPrefixCls:rt}=$e;const ht=(0,Ue.TS)(Ze,{rootPrefixCls:rt,inputPaddingHorizontalBase:Ze.paddingSM-1,multipleSelectItemHeight:Ze.multipleItemHeight});return[qe(ht)]},Ze=>{const{fontSize:$e,lineHeight:rt,controlHeight:ht,controlPaddingHorizontal:dt,zIndexPopupBase:xt,colorText:Je,fontWeightStrong:Lt,controlItemBgActive:Re,controlItemBgHover:Rt,colorBgContainer:Ft,colorFillSecondary:bt,controlHeightLG:Tt,controlHeightSM:wt,colorBgContainerDisabled:it,colorTextDisabled:je}=Ze;return{zIndexPopup:xt+50,optionSelectedColor:Je,optionSelectedFontWeight:Lt,optionSelectedBg:Re,optionActiveBg:Rt,optionPadding:`${(ht-$e*rt)/2}px ${dt}px`,optionFontSize:$e,optionLineHeight:rt,optionHeight:ht,selectorBg:Ft,clearBg:Ft,singleItemHeightLG:Tt,multipleItemBg:bt,multipleItemBorderColor:"transparent",multipleItemHeight:wt,multipleItemHeightLG:ht,multipleSelectorBgDisabled:it,multipleItemColorDisabled:je,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});const he=Ue=>{const Ne={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ue==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Ne),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ne),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ne),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ne),{points:["br","tr"],offset:[0,-4]})}};function Me(Ue,At){return Ue||he(At)}},84443:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return he}});function he(Me,Ue){return Ue!==void 0?Ue:Me!==null}},66339:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});var he=ce(40001),Me=ce(19248),Ue=ce(99267),At=ce(84105),Ne=ce(58617),Le=ce(47472),ve=ce(59301);function Ae(we){let{suffixIcon:fe,clearIcon:ze,menuItemSelectedIcon:Be,removeIcon:_e,loading:Oe,multiple:He,hasFeedback:ke,prefixCls:Te,showSuffixIcon:Pe,feedbackIcon:Xe,showArrow:Ke,componentName:qe}=we;const We=ze!=null?ze:ve.createElement(Me.Z,null),Ze=dt=>fe===null&&!ke&&!Ke?null:ve.createElement(ve.Fragment,null,Pe!==!1&&dt,ke&&Xe);let $e=null;if(fe!==void 0)$e=Ze(fe);else if(Oe)$e=Ze(ve.createElement(Ne.Z,{spin:!0}));else{const dt=`${Te}-suffix`;$e=xt=>{let{open:Je,showSearch:Lt}=xt;return Ze(Je&&Lt?ve.createElement(Le.Z,{className:dt}):ve.createElement(At.Z,{className:dt}))}}let rt=null;Be!==void 0?rt=Be:He?rt=ve.createElement(he.Z,null):rt=null;let ht=null;return _e!==void 0?ht=_e:ht=ve.createElement(Ue.Z,null),{clearIcon:We,suffixIcon:$e,itemIcon:rt,removeIcon:ht}}},61621:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return ae}});var he=ce(92310),Me=ce.n(he),Ue=ce(59301),At=ce(36355),Ne=ce(2738),ve=se=>{const{prefixCls:oe,className:Ye,style:vt,size:et,shape:lt}=se,Pt=Me()({[`${oe}-lg`]:et==="large",[`${oe}-sm`]:et==="small"}),Mt=Me()({[`${oe}-circle`]:lt==="circle",[`${oe}-square`]:lt==="square",[`${oe}-round`]:lt==="round"}),kt=Ue.useMemo(()=>typeof et=="number"?{width:et,height:et,lineHeight:`${et}px`}:{},[et]);return Ue.createElement("span",{className:Me()(oe,Pt,Mt,Ye),style:Object.assign(Object.assign({},kt),vt)})},Ae=ce(36237),we=ce(83116),fe=ce(37613);const ze=new Ae.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Be=se=>({height:se,lineHeight:`${se}px`}),_e=se=>Object.assign({width:se},Be(se)),Oe=se=>({background:se.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ze,animationDuration:se.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),He=se=>Object.assign({width:se*5,minWidth:se*5},Be(se)),ke=se=>{const{skeletonAvatarCls:oe,gradientFromColor:Ye,controlHeight:vt,controlHeightLG:et,controlHeightSM:lt}=se;return{[`${oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye},_e(vt)),[`${oe}${oe}-circle`]:{borderRadius:"50%"},[`${oe}${oe}-lg`]:Object.assign({},_e(et)),[`${oe}${oe}-sm`]:Object.assign({},_e(lt))}},Te=se=>{const{controlHeight:oe,borderRadiusSM:Ye,skeletonInputCls:vt,controlHeightLG:et,controlHeightSM:lt,gradientFromColor:Pt}=se;return{[`${vt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:Ye},He(oe)),[`${vt}-lg`]:Object.assign({},He(et)),[`${vt}-sm`]:Object.assign({},He(lt))}},Pe=se=>Object.assign({width:se},Be(se)),Xe=se=>{const{skeletonImageCls:oe,imageSizeBase:Ye,gradientFromColor:vt,borderRadiusSM:et}=se;return{[`${oe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:vt,borderRadius:et},Pe(Ye*2)),{[`${oe}-path`]:{fill:"#bfbfbf"},[`${oe}-svg`]:Object.assign(Object.assign({},Pe(Ye)),{maxWidth:Ye*4,maxHeight:Ye*4}),[`${oe}-svg${oe}-svg-circle`]:{borderRadius:"50%"}}),[`${oe}${oe}-circle`]:{borderRadius:"50%"}}},Ke=(se,oe,Ye)=>{const{skeletonButtonCls:vt}=se;return{[`${Ye}${vt}-circle`]:{width:oe,minWidth:oe,borderRadius:"50%"},[`${Ye}${vt}-round`]:{borderRadius:oe}}},qe=se=>Object.assign({width:se*2,minWidth:se*2},Be(se)),We=se=>{const{borderRadiusSM:oe,skeletonButtonCls:Ye,controlHeight:vt,controlHeightLG:et,controlHeightSM:lt,gradientFromColor:Pt}=se;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:oe,width:vt*2,minWidth:vt*2},qe(vt))},Ke(se,vt,Ye)),{[`${Ye}-lg`]:Object.assign({},qe(et))}),Ke(se,et,`${Ye}-lg`)),{[`${Ye}-sm`]:Object.assign({},qe(lt))}),Ke(se,lt,`${Ye}-sm`))},Ze=se=>{const{componentCls:oe,skeletonAvatarCls:Ye,skeletonTitleCls:vt,skeletonParagraphCls:et,skeletonButtonCls:lt,skeletonInputCls:Pt,skeletonImageCls:Mt,controlHeight:kt,controlHeightLG:$t,controlHeightSM:Sn,gradientFromColor:Bt,padding:nn,marginSM:tn,borderRadius:zt,titleHeight:pt,blockRadius:Wt,paragraphLiHeight:vn,controlHeightXS:xn,paragraphMarginTop:Wn}=se;return{[`${oe}`]:{display:"table",width:"100%",[`${oe}-header`]:{display:"table-cell",paddingInlineEnd:nn,verticalAlign:"top",[`${Ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Bt},_e(kt)),[`${Ye}-circle`]:{borderRadius:"50%"},[`${Ye}-lg`]:Object.assign({},_e($t)),[`${Ye}-sm`]:Object.assign({},_e(Sn))},[`${oe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${vt}`]:{width:"100%",height:pt,background:Bt,borderRadius:Wt,[`+ ${et}`]:{marginBlockStart:Sn}},[`${et}`]:{padding:0,"> li":{width:"100%",height:vn,listStyle:"none",background:Bt,borderRadius:Wt,"+ li":{marginBlockStart:xn}}},[`${et}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${oe}-content`]:{[`${vt}, ${et} > li`]:{borderRadius:zt}}},[`${oe}-with-avatar ${oe}-content`]:{[`${vt}`]:{marginBlockStart:tn,[`+ ${et}`]:{marginBlockStart:Wn}}},[`${oe}${oe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},We(se)),ke(se)),Te(se)),Xe(se)),[`${oe}${oe}-block`]:{width:"100%",[`${lt}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${oe}${oe}-active`]:{[`
${vt},
${et} > li,
${Ye},
${lt},
${Pt},
${Mt}
`]:Object.assign({},Oe(se))}}};var $e=(0,we.Z)("Skeleton",se=>{const{componentCls:oe}=se,Ye=(0,fe.TS)(se,{skeletonAvatarCls:`${oe}-avatar`,skeletonTitleCls:`${oe}-title`,skeletonParagraphCls:`${oe}-paragraph`,skeletonButtonCls:`${oe}-button`,skeletonInputCls:`${oe}-input`,skeletonImageCls:`${oe}-image`,imageSizeBase:se.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${se.gradientFromColor} 25%, ${se.gradientToColor} 37%, ${se.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Ze(Ye)]},se=>{const{colorFillContent:oe,colorFill:Ye}=se,vt=oe,et=Ye;return{color:vt,colorGradientEnd:et,gradientFromColor:vt,gradientToColor:et,titleHeight:se.controlHeight/2,blockRadius:se.borderRadiusSM,paragraphMarginTop:se.marginLG+se.marginXXS,paragraphLiHeight:se.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ht=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,active:et,shape:lt="circle",size:Pt="default"}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=(0,Ne.Z)(se,["prefixCls","className"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:et},Ye,vt,Sn);return $t(Ue.createElement("div",{className:nn},Ue.createElement(ve,Object.assign({prefixCls:`${kt}-avatar`,shape:lt,size:Pt},Bt))))},xt=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,active:et,block:lt=!1,size:Pt="default"}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=(0,Ne.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:et,[`${kt}-block`]:lt},Ye,vt,Sn);return $t(Ue.createElement("div",{className:nn},Ue.createElement(ve,Object.assign({prefixCls:`${kt}-button`,size:Pt},Bt))))};const Je="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 Re=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,style:et,active:lt}=se,{getPrefixCls:Pt}=Ue.useContext(At.E_),Mt=Pt("skeleton",oe),[kt,$t]=$e(Mt),Sn=Me()(Mt,`${Mt}-element`,{[`${Mt}-active`]:lt},Ye,vt,$t);return kt(Ue.createElement("div",{className:Sn},Ue.createElement("div",{className:Me()(`${Mt}-image`,Ye),style:et},Ue.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Mt}-image-svg`},Ue.createElement("path",{d:Je,className:`${Mt}-image-path`})))))},Ft=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,active:et,block:lt,size:Pt="default"}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=(0,Ne.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:et,[`${kt}-block`]:lt},Ye,vt,Sn);return $t(Ue.createElement("div",{className:nn},Ue.createElement(ve,Object.assign({prefixCls:`${kt}-input`,size:Pt},Bt))))},bt=ce(60499),Tt={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"},wt=Tt,it=ce(85221),je=function(oe,Ye){return Ue.createElement(it.Z,(0,bt.Z)({},oe,{ref:Ye,icon:wt}))},at=Ue.forwardRef(je),Yt=at,St=se=>{const{prefixCls:oe,className:Ye,rootClassName:vt,style:et,active:lt,children:Pt}=se,{getPrefixCls:Mt}=Ue.useContext(At.E_),kt=Mt("skeleton",oe),[$t,Sn]=$e(kt),Bt=Me()(kt,`${kt}-element`,{[`${kt}-active`]:lt},Sn,Ye,vt),nn=Pt!=null?Pt:Ue.createElement(Yt,null);return $t(Ue.createElement("div",{className:Bt},Ue.createElement("div",{className:Me()(`${kt}-image`,Ye),style:et},nn)))},Qt=ce(77654),Nn=se=>{const oe=Mt=>{const{width:kt,rows:$t=2}=se;if(Array.isArray(kt))return kt[Mt];if($t-1===Mt)return kt},{prefixCls:Ye,className:vt,style:et,rows:lt}=se,Pt=(0,Qt.Z)(Array(lt)).map((Mt,kt)=>Ue.createElement("li",{key:kt,style:{width:oe(kt)}}));return Ue.createElement("ul",{className:Me()(Ye,vt),style:et},Pt)},Ln=se=>{let{prefixCls:oe,className:Ye,width:vt,style:et}=se;return Ue.createElement("h3",{className:Me()(oe,Ye),style:Object.assign({width:vt},et)})};function Cn(se){return se&&typeof se=="object"?se:{}}function Bn(se,oe){return se&&!oe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function gn(se,oe){return!se&&oe?{width:"38%"}:se&&oe?{width:"50%"}:{}}function Se(se,oe){const Ye={};return(!se||!oe)&&(Ye.width="61%"),!se&&oe?Ye.rows=3:Ye.rows=2,Ye}const Fe=se=>{const{prefixCls:oe,loading:Ye,className:vt,rootClassName:et,style:lt,children:Pt,avatar:Mt=!1,title:kt=!0,paragraph:$t=!0,active:Sn,round:Bt}=se,{getPrefixCls:nn,direction:tn,skeleton:zt}=Ue.useContext(At.E_),pt=nn("skeleton",oe),[Wt,vn]=$e(pt);if(Ye||!("loading"in se)){const xn=!!Mt,Wn=!!kt,br=!!$t;let Lr;if(xn){const vr=Object.assign(Object.assign({prefixCls:`${pt}-avatar`},Bn(Wn,br)),Cn(Mt));Lr=Ue.createElement("div",{className:`${pt}-header`},Ue.createElement(ve,Object.assign({},vr)))}let jr;if(Wn||br){let vr;if(Wn){const Tr=Object.assign(Object.assign({prefixCls:`${pt}-title`},gn(xn,br)),Cn(kt));vr=Ue.createElement(Ln,Object.assign({},Tr))}let Ar;if(br){const Tr=Object.assign(Object.assign({prefixCls:`${pt}-paragraph`},Se(xn,Wn)),Cn($t));Ar=Ue.createElement(Nn,Object.assign({},Tr))}jr=Ue.createElement("div",{className:`${pt}-content`},vr,Ar)}const Qr=Me()(pt,{[`${pt}-with-avatar`]:xn,[`${pt}-active`]:Sn,[`${pt}-rtl`]:tn==="rtl",[`${pt}-round`]:Bt},zt==null?void 0:zt.className,vt,et,vn);return Wt(Ue.createElement("div",{className:Qr,style:Object.assign(Object.assign({},zt==null?void 0:zt.style),lt)},Lr,jr))}return typeof Pt!="undefined"?Pt:null};Fe.Button=xt,Fe.Avatar=ht,Fe.Input=Ft,Fe.Image=Re,Fe.Node=St;var ie=Fe,ae=ie},31797:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return $e}});var he=ce(59301),Me=ce(56762),Ue=ce(92343),At=ce(92310),Ne=ce.n(At),Le=ce(36355),ve=ce(61621),we=rt=>{const{value:ht,formatter:dt,precision:xt,decimalSeparator:Je,groupSeparator:Lt="",prefixCls:Re}=rt;let Rt;if(typeof dt=="function")Rt=dt(ht);else{const Ft=String(ht),bt=Ft.match(/^(-?)(\d*)(\.(\d+))?$/);if(!bt||Ft==="-")Rt=Ft;else{const Tt=bt[1];let wt=bt[2]||"0",it=bt[4]||"";wt=wt.replace(/\B(?=(\d{3})+(?!\d))/g,Lt),typeof xt=="number"&&(it=it.padEnd(xt,"0").slice(0,xt>0?xt:0)),it&&(it=`${Je}${it}`),Rt=[he.createElement("span",{key:"int",className:`${Re}-content-value-int`},Tt,wt),it&&he.createElement("span",{key:"decimal",className:`${Re}-content-value-decimal`},it)]}}return he.createElement("span",{className:`${Re}-content-value`},Rt)},fe=ce(17313),ze=ce(83116),Be=ce(37613);const _e=rt=>{const{componentCls:ht,marginXXS:dt,padding:xt,colorTextDescription:Je,titleFontSize:Lt,colorTextHeading:Re,contentFontSize:Rt,fontFamily:Ft}=rt;return{[`${ht}`]:Object.assign(Object.assign({},(0,fe.Wf)(rt)),{[`${ht}-title`]:{marginBottom:dt,color:Je,fontSize:Lt},[`${ht}-skeleton`]:{paddingTop:xt},[`${ht}-content`]:{color:Re,fontSize:Rt,fontFamily:Ft,[`${ht}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ht}-content-prefix, ${ht}-content-suffix`]:{display:"inline-block"},[`${ht}-content-prefix`]:{marginInlineEnd:dt},[`${ht}-content-suffix`]:{marginInlineStart:dt}}})}};var Oe=(0,ze.Z)("Statistic",rt=>{const ht=(0,Be.TS)(rt,{});return[_e(ht)]},rt=>{const{fontSizeHeading3:ht,fontSize:dt}=rt;return{titleFontSize:dt,contentFontSize:ht}}),ke=rt=>{const{prefixCls:ht,className:dt,rootClassName:xt,style:Je,valueStyle:Lt,value:Re=0,title:Rt,valueRender:Ft,prefix:bt,suffix:Tt,loading:wt=!1,onMouseEnter:it,onMouseLeave:je,decimalSeparator:at=".",groupSeparator:Yt=","}=rt,{getPrefixCls:Vt,direction:St,statistic:Qt}=he.useContext(Le.E_),cn=Vt("statistic",ht),[Nn,fn]=Oe(cn),Ln=he.createElement(we,Object.assign({decimalSeparator:at,groupSeparator:Yt,prefixCls:cn},rt,{value:Re})),Cn=Ne()(cn,{[`${cn}-rtl`]:St==="rtl"},Qt==null?void 0:Qt.className,dt,xt,fn);return Nn(he.createElement("div",{className:Cn,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Je),onMouseEnter:it,onMouseLeave:je},Rt&&he.createElement("div",{className:`${cn}-title`},Rt),he.createElement(ve.Z,{paragraph:!1,loading:wt,className:`${cn}-skeleton`},he.createElement("div",{style:Lt,className:`${cn}-content`},bt&&he.createElement("span",{className:`${cn}-content-prefix`},bt),Ft?Ft(Ln):Ln,Tt&&he.createElement("span",{className:`${cn}-content-suffix`},Tt)))))};const Te=[["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 Pe(rt,ht){let dt=rt;const xt=/\[[^\]]*]/g,Je=(ht.match(xt)||[]).map(Ft=>Ft.slice(1,-1)),Lt=ht.replace(xt,"[]"),Re=Te.reduce((Ft,bt)=>{let[Tt,wt]=bt;if(Ft.includes(Tt)){const it=Math.floor(dt/wt);return dt-=it*wt,Ft.replace(new RegExp(`${Tt}+`,"g"),je=>{const at=je.length;return it.toString().padStart(at,"0")})}return Ft},Lt);let Rt=0;return Re.replace(xt,()=>{const Ft=Je[Rt];return Rt+=1,Ft})}function Xe(rt,ht){const{format:dt=""}=ht,xt=new Date(rt).getTime(),Je=Date.now(),Lt=Math.max(xt-Je,0);return Pe(Lt,dt)}const Ke=1e3/30;function qe(rt){return new Date(rt).getTime()}const We=rt=>{const{value:ht,format:dt="HH:mm:ss",onChange:xt,onFinish:Je}=rt,Lt=(0,Me.Z)(),Re=he.useRef(null),Rt=()=>{Je==null||Je(),Re.current&&(clearInterval(Re.current),Re.current=null)},Ft=()=>{const wt=qe(ht);wt>=Date.now()&&(Re.current=setInterval(()=>{Lt(),xt==null||xt(wt-Date.now()),wt<Date.now()&&Rt()},Ke))};he.useEffect(()=>(Ft(),()=>{Re.current&&(clearInterval(Re.current),Re.current=null)}),[ht]);const bt=(wt,it)=>Xe(wt,Object.assign(Object.assign({},it),{format:dt})),Tt=wt=>(0,Ue.Tm)(wt,{title:void 0});return he.createElement(ke,Object.assign({},rt,{valueRender:Tt,formatter:bt}))};var Ze=he.memo(We);ke.Countdown=Ze;var $e=ke},8378:function(Tn,Xt){"use strict";const ce=he=>({[he.componentCls]:{[`${he.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${he.motionDurationMid} ${he.motionEaseInOut},
opacity ${he.motionDurationMid} ${he.motionEaseInOut} !important`}},[`${he.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${he.motionDurationMid} ${he.motionEaseInOut},
opacity ${he.motionDurationMid} ${he.motionEaseInOut} !important`}}});Xt.Z=ce},92899:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Fm:function(){return Be}});var he=ce(36237),Me=ce(95406);const Ue=new he.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),At=new he.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Ne=new he.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Le=new he.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ve=new he.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ae=new he.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),we=new he.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),fe=new he.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),ze={"move-up":{inKeyframes:we,outKeyframes:fe},"move-down":{inKeyframes:Ue,outKeyframes:At},"move-left":{inKeyframes:Ne,outKeyframes:Le},"move-right":{inKeyframes:ve,outKeyframes:Ae}},Be=(_e,Oe)=>{const{antCls:He}=_e,ke=`${He}-${Oe}`,{inKeyframes:Te,outKeyframes:Pe}=ze[Oe];return[(0,Me.R)(ke,Te,Pe,_e.motionDurationMid),{[`
${ke}-enter,
${ke}-appear
`]:{opacity:0,animationTimingFunction:_e.motionEaseOutCirc},[`${ke}-leave`]:{animationTimingFunction:_e.motionEaseInOutCirc}}]}},13826:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Qt:function(){return Ne},Uw:function(){return At},fJ:function(){return Ue},ly:function(){return Le},oN:function(){return Be}});var he=ce(36237),Me=ce(95406);const Ue=new he.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),At=new he.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ne=new he.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Le=new he.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ve=new he.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Ae=new he.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),we=new he.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),fe=new he.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),ze={"slide-up":{inKeyframes:Ue,outKeyframes:At},"slide-down":{inKeyframes:Ne,outKeyframes:Le},"slide-left":{inKeyframes:ve,outKeyframes:Ae},"slide-right":{inKeyframes:we,outKeyframes:fe}},Be=(_e,Oe)=>{const{antCls:He}=_e,ke=`${He}-${Oe}`,{inKeyframes:Te,outKeyframes:Pe}=ze[Oe];return[(0,Me.R)(ke,Te,Pe,_e.motionDurationMid),{[`
${ke}-enter,
${ke}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:_e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${ke}-leave`]:{animationTimingFunction:_e.motionEaseInQuint}}]}},15969:function(Tn,Xt,ce){"use strict";ce.d(Xt,{N:function(){return he}});const he=Me=>({color:Me.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Me.motionDurationSlow}`,"&:focus, &:hover":{color:Me.colorLinkHover},"&:active":{color:Me.colorLinkActive}})},78673:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Lt}});var he=ce(58617),Me=ce(92310),Ue=ce.n(Me),At=ce(60499),Ne=ce(18642),Le=ce(72190),ve=ce(42244),Ae=ce(59301),we=ce(18929),fe=ce(10228),ze=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Be=Ae.forwardRef(function(Re,Rt){var Ft,bt=Re.prefixCls,Tt=bt===void 0?"rc-switch":bt,wt=Re.className,it=Re.checked,je=Re.defaultChecked,at=Re.disabled,Yt=Re.loadingIcon,Vt=Re.checkedChildren,St=Re.unCheckedChildren,Qt=Re.onClick,cn=Re.onChange,Nn=Re.onKeyDown,fn=(0,ve.Z)(Re,ze),Ln=(0,we.Z)(!1,{value:it,defaultValue:je}),Cn=(0,Le.Z)(Ln,2),Bn=Cn[0],gn=Cn[1];function Se(se,oe){var Ye=Bn;return at||(Ye=se,gn(Ye),cn==null||cn(Ye,oe)),Ye}function Fe(se){se.which===fe.Z.LEFT?Se(!1,se):se.which===fe.Z.RIGHT&&Se(!0,se),Nn==null||Nn(se)}function ie(se){var oe=Se(!Bn,se);Qt==null||Qt(oe,se)}var ae=Ue()(Tt,wt,(Ft={},(0,Ne.Z)(Ft,"".concat(Tt,"-checked"),Bn),(0,Ne.Z)(Ft,"".concat(Tt,"-disabled"),at),Ft));return Ae.createElement("button",(0,At.Z)({},fn,{type:"button",role:"switch","aria-checked":Bn,disabled:at,className:ae,ref:Rt,onKeyDown:Fe,onClick:ie}),Yt,Ae.createElement("span",{className:"".concat(Tt,"-inner")},Ae.createElement("span",{className:"".concat(Tt,"-inner-checked")},Vt),Ae.createElement("span",{className:"".concat(Tt,"-inner-unchecked")},St)))});Be.displayName="Switch";var _e=Be,Oe=ce(14088),He=ce(36355),ke=ce(1684),Te=ce(19716),Pe=ce(64993),Xe=ce(17313),Ke=ce(83116),qe=ce(37613);const We=Re=>{const{componentCls:Rt,trackHeightSM:Ft,trackPadding:bt,trackMinWidthSM:Tt,innerMinMarginSM:wt,innerMaxMarginSM:it,handleSizeSM:je}=Re,at=`${Rt}-inner`;return{[Rt]:{[`&${Rt}-small`]:{minWidth:Tt,height:Ft,lineHeight:`${Ft}px`,[`${Rt}-inner`]:{paddingInlineStart:it,paddingInlineEnd:wt,[`${at}-checked`]:{marginInlineStart:`calc(-100% + ${je+bt*2}px - ${it*2}px)`,marginInlineEnd:`calc(100% - ${je+bt*2}px + ${it*2}px)`},[`${at}-unchecked`]:{marginTop:-Ft,marginInlineStart:0,marginInlineEnd:0}},[`${Rt}-handle`]:{width:je,height:je},[`${Rt}-loading-icon`]:{top:(je-Re.switchLoadingIconSize)/2,fontSize:Re.switchLoadingIconSize},[`&${Rt}-checked`]:{[`${Rt}-inner`]:{paddingInlineStart:wt,paddingInlineEnd:it,[`${at}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${at}-unchecked`]:{marginInlineStart:`calc(100% - ${je+bt*2}px + ${it*2}px)`,marginInlineEnd:`calc(-100% + ${je+bt*2}px - ${it*2}px)`}},[`${Rt}-handle`]:{insetInlineStart:`calc(100% - ${je+bt}px)`}},[`&:not(${Rt}-disabled):active`]:{[`&:not(${Rt}-checked) ${at}`]:{[`${at}-unchecked`]:{marginInlineStart:Re.marginXXS/2,marginInlineEnd:-Re.marginXXS/2}},[`&${Rt}-checked ${at}`]:{[`${at}-checked`]:{marginInlineStart:-Re.marginXXS/2,marginInlineEnd:Re.marginXXS/2}}}}}}},Ze=Re=>{const{componentCls:Rt,handleSize:Ft}=Re;return{[Rt]:{[`${Rt}-loading-icon${Re.iconCls}`]:{position:"relative",top:(Ft-Re.fontSize)/2,color:Re.switchLoadingIconColor,verticalAlign:"top"},[`&${Rt}-checked ${Rt}-loading-icon`]:{color:Re.switchColor}}}},$e=Re=>{const{componentCls:Rt,motion:Ft,trackPadding:bt,handleBg:Tt,handleShadow:wt,handleSize:it}=Re,je=`${Rt}-handle`;return{[Rt]:{[je]:{position:"absolute",top:bt,insetInlineStart:bt,width:it,height:it,transition:`all ${Re.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Tt,borderRadius:it/2,boxShadow:wt,transition:`all ${Re.switchDuration} ease-in-out`,content:'""'}},[`&${Rt}-checked ${je}`]:{insetInlineStart:`calc(100% - ${it+bt}px)`},[`&:not(${Rt}-disabled):active`]:Ft?{[`${je}::before`]:{insetInlineEnd:Re.switchHandleActiveInset,insetInlineStart:0},[`&${Rt}-checked ${je}::before`]:{insetInlineEnd:0,insetInlineStart:Re.switchHandleActiveInset}}:{}}}},rt=Re=>{const{componentCls:Rt,trackHeight:Ft,trackPadding:bt,innerMinMargin:Tt,innerMaxMargin:wt,handleSize:it}=Re,je=`${Rt}-inner`;return{[Rt]:{[je]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:wt,paddingInlineEnd:Tt,transition:`padding-inline-start ${Re.switchDuration} ease-in-out, padding-inline-end ${Re.switchDuration} ease-in-out`,[`${je}-checked, ${je}-unchecked`]:{display:"block",color:Re.colorTextLightSolid,fontSize:Re.fontSizeSM,transition:`margin-inline-start ${Re.switchDuration} ease-in-out, margin-inline-end ${Re.switchDuration} ease-in-out`,pointerEvents:"none"},[`${je}-checked`]:{marginInlineStart:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`,marginInlineEnd:`calc(100% - ${it+bt*2}px + ${wt*2}px)`},[`${je}-unchecked`]:{marginTop:-Ft,marginInlineStart:0,marginInlineEnd:0}},[`&${Rt}-checked ${je}`]:{paddingInlineStart:Tt,paddingInlineEnd:wt,[`${je}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${je}-unchecked`]:{marginInlineStart:`calc(100% - ${it+bt*2}px + ${wt*2}px)`,marginInlineEnd:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`}},[`&:not(${Rt}-disabled):active`]:{[`&:not(${Rt}-checked) ${je}`]:{[`${je}-unchecked`]:{marginInlineStart:bt*2,marginInlineEnd:-bt*2}},[`&${Rt}-checked ${je}`]:{[`${je}-checked`]:{marginInlineStart:-bt*2,marginInlineEnd:bt*2}}}}}},ht=Re=>{const{componentCls:Rt,trackHeight:Ft,trackMinWidth:bt}=Re;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(Re)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:bt,height:Ft,lineHeight:`${Ft}px`,verticalAlign:"middle",background:Re.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Rt}-disabled)`]:{background:Re.colorTextTertiary}}),(0,Xe.Qy)(Re)),{[`&${Rt}-checked`]:{background:Re.switchColor,[`&:hover:not(${Rt}-disabled)`]:{background:Re.colorPrimaryHover}},[`&${Rt}-loading, &${Rt}-disabled`]:{cursor:"not-allowed",opacity:Re.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Rt}-rtl`]:{direction:"rtl"}})}};var dt=(0,Ke.Z)("Switch",Re=>{const Rt=(0,qe.TS)(Re,{switchDuration:Re.motionDurationMid,switchColor:Re.colorPrimary,switchDisabledOpacity:Re.opacityLoading,switchLoadingIconSize:Re.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Re.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ht(Rt),rt(Rt),$e(Rt),Ze(Rt),We(Rt)]},Re=>{const{fontSize:Rt,lineHeight:Ft,controlHeight:bt,colorWhite:Tt}=Re,wt=Rt*Ft,it=bt/2,je=2,at=wt-je*2,Yt=it-je*2;return{trackHeight:wt,trackHeightSM:it,trackMinWidth:at*2+je*4,trackMinWidthSM:Yt*2+je*2,trackPadding:je,handleBg:Tt,handleSize:at,handleSizeSM:Yt,handleShadow:`0 2px 4px 0 ${new Pe.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:at/2,innerMaxMargin:at+je+je*2,innerMinMarginSM:Yt/2,innerMaxMarginSM:Yt+je+je*2}}),xt=function(Re,Rt){var Ft={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Rt.indexOf(bt)<0&&(Ft[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt<bt.length;Tt++)Rt.indexOf(bt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Re,bt[Tt])&&(Ft[bt[Tt]]=Re[bt[Tt]]);return Ft};const Je=Ae.forwardRef((Re,Rt)=>{const{prefixCls:Ft,size:bt,disabled:Tt,loading:wt,className:it,rootClassName:je,style:at}=Re,Yt=xt(Re,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Vt,direction:St,switch:Qt}=Ae.useContext(He.E_),cn=Ae.useContext(ke.Z),Nn=(Tt!=null?Tt:cn)||wt,fn=Vt("switch",Ft),Ln=Ae.createElement("div",{className:`${fn}-handle`},wt&&Ae.createElement(he.Z,{className:`${fn}-loading-icon`})),[Cn,Bn]=dt(fn),gn=(0,Te.Z)(bt),Se=Ue()(Qt==null?void 0:Qt.className,{[`${fn}-small`]:gn==="small",[`${fn}-loading`]:wt,[`${fn}-rtl`]:St==="rtl"},it,je,Bn),Fe=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),at);return Cn(Ae.createElement(Oe.Z,{component:"Switch"},Ae.createElement(_e,Object.assign({},Yt,{prefixCls:fn,className:Se,style:Fe,disabled:Nn,ref:Rt,loadingIcon:Ln}))))});Je.__ANT_SWITCH=!0;var Lt=Je},1710:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return ip}});var he={},Me="rc-table-internal-hook",Ue=ce(72190),At=ce(6089),Ne=ce(34280),Le=ce(13697),ve=ce(59301),Ae=ce(4676);function we(Nt){var Ut=ve.createContext(void 0),An=function(Vn){var On=Vn.value,gr=Vn.children,fr=ve.useRef(On);fr.current=On;var ur=ve.useState(function(){return{getValue:function(){return fr.current},listeners:new Set}}),Jr=(0,Ue.Z)(ur,1),hi=Jr[0];return(0,Ne.Z)(function(){(0,Ae.unstable_batchedUpdates)(function(){hi.listeners.forEach(function(ni){ni(On)})})},[On]),ve.createElement(Ut.Provider,{value:hi},gr)};return{Context:Ut,Provider:An,defaultValue:Nt}}function fe(Nt,Ut){var An=(0,At.Z)(typeof Ut=="function"?Ut:function(ni){if(Ut===void 0)return ni;if(!Array.isArray(Ut))return ni[Ut];var qi={};return Ut.forEach(function(Qi){qi[Qi]=ni[Qi]}),qi}),En=ve.useContext(Nt==null?void 0:Nt.Context),Vn=En||{},On=Vn.listeners,gr=Vn.getValue,fr=ve.useRef();fr.current=An(En?gr():Nt==null?void 0:Nt.defaultValue);var ur=ve.useState({}),Jr=(0,Ue.Z)(ur,2),hi=Jr[1];return(0,Ne.Z)(function(){if(!En)return;function ni(qi){var Qi=An(qi);(0,Le.Z)(fr.current,Qi,!0)||hi({})}return On.add(ni),function(){On.delete(ni)}},[En]),fr.current}var ze=ce(60499),Be=ce(8654);function _e(){var Nt=ve.createContext(null);function Ut(){return ve.useContext(Nt)}function An(Vn,On){var gr=(0,Be.Yr)(Vn),fr=function(Jr,hi){var ni=gr?{ref:hi}:{},qi=ve.useRef(0),Qi=ve.useRef(Jr),Vi=Ut();return Vi!==null?ve.createElement(Vn,(0,ze.Z)({},Jr,ni)):((!On||On(Qi.current,Jr))&&(qi.current+=1),Qi.current=Jr,ve.createElement(Nt.Provider,{value:qi.current},ve.createElement(Vn,(0,ze.Z)({},Jr,ni))))};return gr?ve.forwardRef(fr):fr}function En(Vn,On){var gr=(0,Be.Yr)(Vn),fr=function(Jr,hi){var ni=gr?{ref:hi}:{};return Ut(),ve.createElement(Vn,(0,ze.Z)({},Jr,ni))};return gr?ve.memo(ve.forwardRef(fr),On):ve.memo(fr,On)}return{makeImmutable:An,responseImmutable:En,useImmutableMark:Ut}}var Oe=_e(),He=Oe.makeImmutable,ke=Oe.responseImmutable,Te=Oe.useImmutableMark,Pe=_e(),Xe=Pe.makeImmutable,Ke=Pe.responseImmutable,qe=Pe.useImmutableMark,We=we(),Ze=We;function $e(Nt,Ut){var An=ve.useRef(0);An.current+=1;var En=ve.useRef(Nt),Vn=[];Object.keys(Nt||{}).map(function(gr){var fr;(Nt==null?void 0:Nt[gr])!==((fr=En.current)===null||fr===void 0?void 0:fr[gr])&&Vn.push(gr)}),En.current=Nt;var On=ve.useRef([]);return Vn.length&&(On.current=Vn),ve.useDebugValue(An.current),ve.useDebugValue(On.current.join(", ")),Ut&&console.log("".concat(Ut,":"),An.current,On.current),An.current}var rt=null,ht=ve.memo(function(){var Nt=$e();return ve.createElement("h1",null,"Render Times: ",Nt)});ht.displayName="RenderBlock";var dt=ce(43749),xt=ce(85899),Je=ce(18642),Lt=ce(92310),Re=ce.n(Lt),Rt=ce(80547),Ft=ce(97938),bt=ce(48736),Tt=ve.createContext({renderWithProps:!1}),wt=Tt,it="RC_TABLE_KEY";function je(Nt){return Nt==null?[]:Array.isArray(Nt)?Nt:[Nt]}function at(Nt){var Ut=[],An={};return Nt.forEach(function(En){for(var Vn=En||{},On=Vn.key,gr=Vn.dataIndex,fr=On||je(gr).join("-")||it;An[fr];)fr="".concat(fr,"_next");An[fr]=!0,Ut.push(fr)}),Ut}function Yt(Nt){return Nt!=null}function Vt(Nt){return Nt&&(0,dt.Z)(Nt)==="object"&&!Array.isArray(Nt)&&!ve.isValidElement(Nt)}function St(Nt,Ut,An,En,Vn,On){var gr=ve.useContext(wt),fr=qe(),ur=(0,Rt.Z)(function(){if(Yt(En))return[En];var Jr=Ut==null||Ut===""?[]:Array.isArray(Ut)?Ut:[Ut],hi=(0,Ft.Z)(Nt,Jr),ni=hi,qi=void 0;if(Vn){var Qi=Vn(hi,Nt,An);Vt(Qi)?(ni=Qi.children,qi=Qi.props,gr.renderWithProps=!0):ni=Qi}return[ni,qi]},[fr,Nt,En,Ut,Vn,An],function(Jr,hi){if(On){var ni=(0,Ue.Z)(Jr,2),qi=ni[1],Qi=(0,Ue.Z)(hi,2),Vi=Qi[1];return On(Vi,qi)}return gr.renderWithProps?!0:!(0,Le.Z)(Jr,hi,!0)});return ur}function Qt(Nt,Ut,An,En){var Vn=Nt+Ut-1;return Nt<=En&&Vn>=An}function cn(Nt,Ut){return fe(Ze,function(An){var En=Qt(Nt,Ut||1,An.hoverStartRow,An.hoverEndRow);return[En,An.onHover]})}var Nn=function(Ut){var An=Ut.ellipsis,En=Ut.rowType,Vn=Ut.children,On,gr=An===!0?{showTitle:!0}:An;return gr&&(gr.showTitle||En==="header")&&(typeof Vn=="string"||typeof Vn=="number"?On=Vn.toString():ve.isValidElement(Vn)&&typeof Vn.props.children=="string"&&(On=Vn.props.children)),On};function fn(Nt){var Ut,An,En,Vn,On,gr,fr,ur,Jr=Nt.component,hi=Nt.children,ni=Nt.ellipsis,qi=Nt.scope,Qi=Nt.prefixCls,Vi=Nt.className,ja=Nt.align,Fa=Nt.record,Ta=Nt.render,Ia=Nt.dataIndex,$a=Nt.renderIndex,Ko=Nt.shouldCellUpdate,Jo=Nt.index,Fo=Nt.rowType,ss=Nt.colSpan,_s=Nt.rowSpan,lo=Nt.fixLeft,Oo=Nt.fixRight,vo=Nt.firstFixLeft,Ba=Nt.lastFixLeft,bo=Nt.firstFixRight,is=Nt.lastFixRight,tl=Nt.appendNode,as=Nt.additionalProps,za=as===void 0?{}:as,gs=Nt.isSticky,Ns="".concat(Qi,"-cell"),jl=fe(Ze,["supportSticky","allColumnsFixedLeft"]),Ll=jl.supportSticky,ku=jl.allColumnsFixedLeft,Mu=St(Fa,Ia,$a,hi,Ta,Ko),Is=(0,Ue.Z)(Mu,2),cc=Is[0],wl=Is[1],du={},Au=typeof lo=="number"&&Ll,Ic=typeof Oo=="number"&&Ll;Au&&(du.position="sticky",du.left=lo),Ic&&(du.position="sticky",du.right=Oo);var wo=(Ut=(An=(En=wl==null?void 0:wl.colSpan)!==null&&En!==void 0?En:za.colSpan)!==null&&An!==void 0?An:ss)!==null&&Ut!==void 0?Ut:1,es=(Vn=(On=(gr=wl==null?void 0:wl.rowSpan)!==null&&gr!==void 0?gr:za.rowSpan)!==null&&On!==void 0?On:_s)!==null&&Vn!==void 0?Vn:1,ts=cn(Jo,es),Po=(0,Ue.Z)(ts,2),Tl=Po[0],Wo=Po[1],Ss=function(Ja){var Rc;Fa&&Wo(Jo,Jo+es-1),za==null||(Rc=za.onMouseEnter)===null||Rc===void 0||Rc.call(za,Ja)},sl=function(Ja){var Rc;Fa&&Wo(-1,-1),za==null||(Rc=za.onMouseLeave)===null||Rc===void 0||Rc.call(za,Ja)};if(wo===0||es===0)return null;var pl=(fr=za.title)!==null&&fr!==void 0?fr:Nn({rowType:Fo,ellipsis:ni,children:cc}),td=Re()(Ns,Vi,(ur={},(0,Je.Z)(ur,"".concat(Ns,"-fix-left"),Au&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-left-first"),vo&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-left-last"),Ba&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-left-all"),Ba&&ku&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-right"),Ic&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-right-first"),bo&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-fix-right-last"),is&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-ellipsis"),ni),(0,Je.Z)(ur,"".concat(Ns,"-with-append"),tl),(0,Je.Z)(ur,"".concat(Ns,"-fix-sticky"),(Au||Ic)&&gs&&Ll),(0,Je.Z)(ur,"".concat(Ns,"-row-hover"),!wl&&Tl),ur),za.className,wl==null?void 0:wl.className),Gu={};ja&&(Gu.textAlign=ja);var Qd=(0,xt.Z)((0,xt.Z)((0,xt.Z)((0,xt.Z)({},du),za.style),Gu),wl==null?void 0:wl.style),tc=cc;return(0,dt.Z)(tc)==="object"&&!Array.isArray(tc)&&!ve.isValidElement(tc)&&(tc=null),ni&&(Ba||bo)&&(tc=ve.createElement("span",{className:"".concat(Ns,"-content")},tc)),ve.createElement(Jr,(0,ze.Z)({},wl,za,{className:td,style:Qd,title:pl,scope:qi,onMouseEnter:Ss,onMouseLeave:sl,colSpan:wo!==1?wo:null,rowSpan:es!==1?es:null}),tl,tc)}var Ln=ve.memo(fn);function Cn(Nt,Ut,An,En,Vn,On){var gr=An[Nt]||{},fr=An[Ut]||{},ur,Jr;gr.fixed==="left"?ur=En.left[Vn==="rtl"?Ut:Nt]:fr.fixed==="right"&&(Jr=En.right[Vn==="rtl"?Nt:Ut]);var hi=!1,ni=!1,qi=!1,Qi=!1,Vi=An[Ut+1],ja=An[Nt-1],Fa=!(On!=null&&On.children);if(Vn==="rtl"){if(ur!==void 0){var Ta=ja&&ja.fixed==="left";Qi=!Ta&&Fa}else if(Jr!==void 0){var Ia=Vi&&Vi.fixed==="right";qi=!Ia&&Fa}}else if(ur!==void 0){var $a=Vi&&Vi.fixed==="left";hi=!$a&&Fa}else if(Jr!==void 0){var Ko=ja&&ja.fixed==="right";ni=!Ko&&Fa}return{fixLeft:ur,fixRight:Jr,lastFixLeft:hi,firstFixRight:ni,lastFixRight:qi,firstFixLeft:Qi,isSticky:En.isSticky}}var Bn=ve.createContext({}),gn=Bn;function Se(Nt){var Ut=Nt.className,An=Nt.index,En=Nt.children,Vn=Nt.colSpan,On=Vn===void 0?1:Vn,gr=Nt.rowSpan,fr=Nt.align,ur=fe(Ze,["prefixCls","direction"]),Jr=ur.prefixCls,hi=ur.direction,ni=ve.useContext(gn),qi=ni.scrollColumnIndex,Qi=ni.stickyOffsets,Vi=ni.flattenColumns,ja=ni.columns,Fa=An+On-1,Ta=Fa+1===qi?On+1:On,Ia=Cn(An,An+Ta-1,Vi,Qi,hi,ja==null?void 0:ja[An]);return ve.createElement(Ln,(0,ze.Z)({className:Ut,index:An,component:"td",prefixCls:Jr,record:null,dataIndex:null,align:fr,colSpan:Ta,rowSpan:gr,render:function(){return En}},Ia))}var Fe=ce(42244),ie=["children"];function ae(Nt){var Ut=Nt.children,An=(0,Fe.Z)(Nt,ie);return ve.createElement("tr",An,Ut)}function se(Nt){var Ut=Nt.children;return Ut}se.Row=ae,se.Cell=Se;var oe=se;function Ye(Nt){var Ut=Nt.children,An=Nt.stickyOffsets,En=Nt.flattenColumns,Vn=Nt.columns,On=fe(Ze,"prefixCls"),gr=En.length-1,fr=En[gr],ur=ve.useMemo(function(){return{stickyOffsets:An,flattenColumns:En,scrollColumnIndex:fr!=null&&fr.scrollbar?gr:null,columns:Vn}},[fr,En,gr,An,Vn]);return ve.createElement(gn.Provider,{value:ur},ve.createElement("tfoot",{className:"".concat(On,"-summary")},Ut))}var vt=Ke(Ye),et=oe,lt=ce(70425),Pt=ce(29301),Mt=ce(29194),kt=ce(24514),$t=ce(75152),Sn=ce(26112);function Bt(Nt,Ut,An,En,Vn,On,gr){Nt.push({record:Ut,indent:An,index:gr});var fr=On(Ut),ur=Vn==null?void 0:Vn.has(fr);if(Ut&&Array.isArray(Ut[En])&&ur)for(var Jr=0;Jr<Ut[En].length;Jr+=1)Bt(Nt,Ut[En][Jr],An+1,En,Vn,On,Jr)}function nn(Nt,Ut,An,En){var Vn=ve.useMemo(function(){if(An!=null&&An.size){for(var On=[],gr=0;gr<(Nt==null?void 0:Nt.length);gr+=1){var fr=Nt[gr];Bt(On,fr,0,Ut,An,En,gr)}return On}return Nt==null?void 0:Nt.map(function(ur,Jr){return{record:ur,indent:0,index:Jr}})},[Nt,Ut,An,En]);return Vn}function tn(Nt){var Ut=Nt.prefixCls,An=Nt.children,En=Nt.component,Vn=Nt.cellComponent,On=Nt.className,gr=Nt.expanded,fr=Nt.colSpan,ur=Nt.isEmpty,Jr=fe(Ze,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),hi=Jr.scrollbarSize,ni=Jr.fixHeader,qi=Jr.fixColumn,Qi=Jr.componentWidth,Vi=Jr.horizonScroll,ja=An;return(ur?Vi&&Qi:qi)&&(ja=ve.createElement("div",{style:{width:Qi-(ni?hi:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ut,"-expanded-row-fixed")},ja)),ve.createElement(En,{className:On,style:{display:gr?null:"none"}},ve.createElement(Ln,{component:Vn,prefixCls:Ut,colSpan:fr},ja))}var zt=tn;function pt(Nt,Ut,An,En){var Vn=fe(Ze,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),On=Vn.flattenColumns,gr=Vn.expandableType,fr=Vn.expandedKeys,ur=Vn.childrenColumnName,Jr=Vn.onTriggerExpand,hi=Vn.rowExpandable,ni=Vn.onRow,qi=Vn.expandRowByClick,Qi=Vn.rowClassName,Vi=gr==="nest",ja=gr==="row"&&(!hi||hi(Nt)),Fa=ja||Vi,Ta=fr&&fr.has(Ut),Ia=ur&&Nt&&Nt[ur],$a=(0,lt.useEvent)(Jr),Ko=ni==null?void 0:ni(Nt,An),Jo=Ko==null?void 0:Ko.onClick,Fo=function(Oo){qi&&Fa&&Jr(Nt,Oo);for(var vo=arguments.length,Ba=new Array(vo>1?vo-1:0),bo=1;bo<vo;bo++)Ba[bo-1]=arguments[bo];Jo==null||Jo.apply(void 0,[Oo].concat(Ba))},ss;typeof Qi=="string"?ss=Qi:typeof Qi=="function"&&(ss=Qi(Nt,An,En));var _s=at(On);return(0,xt.Z)((0,xt.Z)({},Vn),{},{columnsKey:_s,nestExpandable:Vi,expanded:Ta,hasNestChildren:Ia,record:Nt,onTriggerExpand:$a,rowSupportExpand:ja,expandable:Fa,rowProps:(0,xt.Z)((0,xt.Z)({},Ko),{},{className:Re()(ss,Ko==null?void 0:Ko.className),onClick:Fo})})}function Wt(Nt,Ut,An,En,Vn){var On=Nt.record,gr=Nt.prefixCls,fr=Nt.columnsKey,ur=Nt.fixedInfoList,Jr=Nt.expandIconColumnIndex,hi=Nt.nestExpandable,ni=Nt.indentSize,qi=Nt.expandIcon,Qi=Nt.expanded,Vi=Nt.hasNestChildren,ja=Nt.onTriggerExpand,Fa=fr[An],Ta=ur[An],Ia;An===(Jr||0)&&hi&&(Ia=ve.createElement(ve.Fragment,null,ve.createElement("span",{style:{paddingLeft:"".concat(ni*En,"px")},className:"".concat(gr,"-row-indent indent-level-").concat(En)}),qi({prefixCls:gr,expanded:Qi,expandable:Vi,record:On,onExpand:ja})));var $a;return Ut.onCell&&($a=Ut.onCell(On,Vn)),{key:Fa,fixedInfo:Ta,appendCellNode:Ia,additionalCellProps:$a||{}}}function vn(Nt){var Ut=Nt.className,An=Nt.style,En=Nt.record,Vn=Nt.index,On=Nt.renderIndex,gr=Nt.rowKey,fr=Nt.indent,ur=fr===void 0?0:fr,Jr=Nt.rowComponent,hi=Nt.cellComponent,ni=Nt.scopeCellComponent,qi=pt(En,gr,Vn,ur),Qi=qi.prefixCls,Vi=qi.flattenColumns,ja=qi.expandedRowClassName,Fa=qi.expandedRowRender,Ta=qi.rowProps,Ia=qi.expanded,$a=qi.rowSupportExpand,Ko=ve.useState(!1),Jo=(0,Ue.Z)(Ko,2),Fo=Jo[0],ss=Jo[1];ve.useEffect(function(){Ia&&ss(!0)},[Ia]);var _s=ve.createElement(Jr,(0,ze.Z)({},Ta,{"data-row-key":gr,className:Re()(Ut,"".concat(Qi,"-row"),"".concat(Qi,"-row-level-").concat(ur),Ta==null?void 0:Ta.className),style:(0,xt.Z)((0,xt.Z)({},An),Ta==null?void 0:Ta.style)}),Vi.map(function(Ba,bo){var is=Ba.render,tl=Ba.dataIndex,as=Ba.className,za=Wt(qi,Ba,bo,ur,Vn),gs=za.key,Ns=za.fixedInfo,jl=za.appendCellNode,Ll=za.additionalCellProps;return ve.createElement(Ln,(0,ze.Z)({className:as,ellipsis:Ba.ellipsis,align:Ba.align,scope:Ba.rowScope,component:Ba.rowScope?ni:hi,prefixCls:Qi,key:gs,record:En,index:Vn,renderIndex:On,dataIndex:tl,render:is,shouldCellUpdate:Ba.shouldCellUpdate},Ns,{appendNode:jl,additionalProps:Ll}))})),lo;if($a&&(Fo||Ia)){var Oo=Fa(En,Vn,ur+1,Ia),vo=ja&&ja(En,Vn,ur);lo=ve.createElement(zt,{expanded:Ia,className:Re()("".concat(Qi,"-expanded-row"),"".concat(Qi,"-expanded-row-level-").concat(ur+1),vo),prefixCls:Qi,component:Jr,cellComponent:hi,colSpan:Vi.length,isEmpty:!1},Oo)}return ve.createElement(ve.Fragment,null,_s,lo)}vn.displayName="BodyRow";var xn=Ke(vn);function Wn(Nt){var Ut=Nt.columnKey,An=Nt.onColumnResize,En=ve.useRef();return ve.useEffect(function(){En.current&&An(Ut,En.current.offsetWidth)},[]),ve.createElement(Pt.Z,{data:Ut},ve.createElement("td",{ref:En,style:{padding:0,border:0,height:0}},ve.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function br(Nt){var Ut=Nt.prefixCls,An=Nt.columnsKey,En=Nt.onColumnResize;return ve.createElement("tr",{"aria-hidden":"true",className:"".concat(Ut,"-measure-row"),style:{height:0,fontSize:0}},ve.createElement(Pt.Z.Collection,{onBatchResize:function(On){On.forEach(function(gr){var fr=gr.data,ur=gr.size;En(fr,ur.offsetWidth)})}},An.map(function(Vn){return ve.createElement(Wn,{key:Vn,columnKey:Vn,onColumnResize:En})})))}function Lr(Nt){var Ut=Nt.data,An=Nt.measureColumnWidth,En=fe(Ze,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Vn=En.prefixCls,On=En.getComponent,gr=En.onColumnResize,fr=En.flattenColumns,ur=En.getRowKey,Jr=En.expandedKeys,hi=En.childrenColumnName,ni=En.emptyNode,qi=nn(Ut,hi,Jr,ur),Qi=ve.useRef({renderWithProps:!1}),Vi=On(["body","wrapper"],"tbody"),ja=On(["body","row"],"tr"),Fa=On(["body","cell"],"td"),Ta=On(["body","cell"],"th"),Ia;Ut.length?Ia=qi.map(function(Ko,Jo){var Fo=Ko.record,ss=Ko.indent,_s=Ko.index,lo=ur(Fo,Jo);return ve.createElement(xn,{key:lo,rowKey:lo,record:Fo,index:Jo,renderIndex:_s,rowComponent:ja,cellComponent:Fa,scopeCellComponent:Ta,getRowKey:ur,indent:ss})}):Ia=ve.createElement(zt,{expanded:!0,className:"".concat(Vn,"-placeholder"),prefixCls:Vn,component:ja,cellComponent:Fa,colSpan:fr.length,isEmpty:!0},ni);var $a=at(fr);return ve.createElement(wt.Provider,{value:Qi.current},ve.createElement(Vi,{className:"".concat(Vn,"-tbody")},An&&ve.createElement(br,{prefixCls:Vn,columnsKey:$a,onColumnResize:gr}),Ia))}Lr.displayName="Body";var jr=Ke(Lr),Qr=["expandable"],vr="RC_TABLE_INTERNAL_COL_DEFINE";function Ar(Nt){var Ut=Nt.expandable,An=(0,Fe.Z)(Nt,Qr),En;return"expandable"in Nt?En=(0,xt.Z)((0,xt.Z)({},An),Ut):En=An,En.showExpandColumn===!1&&(En.expandIconColumnIndex=-1),En}var Tr=["columnType"];function Bi(Nt){for(var Ut=Nt.colWidths,An=Nt.columns,En=Nt.columCount,Vn=[],On=En||An.length,gr=!1,fr=On-1;fr>=0;fr-=1){var ur=Ut[fr],Jr=An&&An[fr],hi=Jr&&Jr[vr];if(ur||hi||gr){var ni=hi||{},qi=ni.columnType,Qi=(0,Fe.Z)(ni,Tr);Vn.unshift(ve.createElement("col",(0,ze.Z)({key:fr,style:{width:ur}},Qi))),gr=!0}}return ve.createElement("colgroup",null,Vn)}var $i=Bi,mi=ce(77654),Mi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function pa(Nt,Ut){return(0,ve.useMemo)(function(){for(var An=[],En=0;En<Ut;En+=1){var Vn=Nt[En];if(Vn!==void 0)An[En]=Vn;else return null}return An},[Nt.join("_"),Ut])}var Dr=ve.forwardRef(function(Nt,Ut){var An=Nt.className,En=Nt.noData,Vn=Nt.columns,On=Nt.flattenColumns,gr=Nt.colWidths,fr=Nt.columCount,ur=Nt.stickyOffsets,Jr=Nt.direction,hi=Nt.fixHeader,ni=Nt.stickyTopOffset,qi=Nt.stickyBottomOffset,Qi=Nt.stickyClassName,Vi=Nt.onScroll,ja=Nt.maxContentScroll,Fa=Nt.children,Ta=(0,Fe.Z)(Nt,Mi),Ia=fe(Ze,["prefixCls","scrollbarSize","isSticky"]),$a=Ia.prefixCls,Ko=Ia.scrollbarSize,Jo=Ia.isSticky,Fo=Jo&&!hi?0:Ko,ss=ve.useRef(null),_s=ve.useCallback(function(as){(0,Be.mH)(Ut,as),(0,Be.mH)(ss,as)},[]);ve.useEffect(function(){var as;function za(gs){var Ns=gs,jl=Ns.currentTarget,Ll=Ns.deltaX;Ll&&(Vi({currentTarget:jl,scrollLeft:jl.scrollLeft+Ll}),gs.preventDefault())}return(as=ss.current)===null||as===void 0||as.addEventListener("wheel",za),function(){var gs;(gs=ss.current)===null||gs===void 0||gs.removeEventListener("wheel",za)}},[]);var lo=ve.useMemo(function(){return On.every(function(as){return as.width})},[On]),Oo=On[On.length-1],vo={fixed:Oo?Oo.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat($a,"-cell-scrollbar")}}},Ba=(0,ve.useMemo)(function(){return Fo?[].concat((0,mi.Z)(Vn),[vo]):Vn},[Fo,Vn]),bo=(0,ve.useMemo)(function(){return Fo?[].concat((0,mi.Z)(On),[vo]):On},[Fo,On]),is=(0,ve.useMemo)(function(){var as=ur.right,za=ur.left;return(0,xt.Z)((0,xt.Z)({},ur),{},{left:Jr==="rtl"?[].concat((0,mi.Z)(za.map(function(gs){return gs+Fo})),[0]):za,right:Jr==="rtl"?as:[].concat((0,mi.Z)(as.map(function(gs){return gs+Fo})),[0]),isSticky:Jo})},[Fo,ur,Jo]),tl=pa(gr,fr);return ve.createElement("div",{style:(0,xt.Z)({overflow:"hidden"},Jo?{top:ni,bottom:qi}:{}),ref:_s,className:Re()(An,(0,Je.Z)({},Qi,!!Qi))},ve.createElement("table",{style:{tableLayout:"fixed",visibility:En||tl?null:"hidden"}},(!En||!ja||lo)&&ve.createElement($i,{colWidths:tl?[].concat((0,mi.Z)(tl),[Fo]):[],columCount:fr+1,columns:bo}),Fa((0,xt.Z)((0,xt.Z)({},Ta),{},{stickyOffsets:is,columns:Ba,flattenColumns:bo}))))});Dr.displayName="FixedHolder";var _n=ve.memo(Dr);function no(Nt){var Ut=Nt.cells,An=Nt.stickyOffsets,En=Nt.flattenColumns,Vn=Nt.rowComponent,On=Nt.cellComponent,gr=Nt.tdCellComponent,fr=Nt.onHeaderRow,ur=Nt.index,Jr=fe(Ze,["prefixCls","direction"]),hi=Jr.prefixCls,ni=Jr.direction,qi;fr&&(qi=fr(Ut.map(function(Vi){return Vi.column}),ur));var Qi=at(Ut.map(function(Vi){return Vi.column}));return ve.createElement(Vn,qi,Ut.map(function(Vi,ja){var Fa=Vi.column,Ta=Cn(Vi.colStart,Vi.colEnd,En,An,ni,Fa),Ia;return Fa&&Fa.onHeaderCell&&(Ia=Vi.column.onHeaderCell(Fa)),ve.createElement(Ln,(0,ze.Z)({},Vi,{scope:Fa.title?Vi.colSpan>1?"colgroup":"col":null,ellipsis:Fa.ellipsis,align:Fa.align,component:Fa.title?On:gr,prefixCls:hi,key:Qi[ja]},Ta,{additionalProps:Ia,rowType:"header"}))}))}no.displayName="HeaderRow";var Ki=no;function Co(Nt){var Ut=[];function An(gr,fr){var ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ut[ur]=Ut[ur]||[];var Jr=fr,hi=gr.filter(Boolean).map(function(ni){var qi={key:ni.key,className:ni.className||"",children:ni.title,column:ni,colStart:Jr},Qi=1,Vi=ni.children;return Vi&&Vi.length>0&&(Qi=An(Vi,Jr,ur+1).reduce(function(ja,Fa){return ja+Fa},0),qi.hasSubColumns=!0),"colSpan"in ni&&(Qi=ni.colSpan),"rowSpan"in ni&&(qi.rowSpan=ni.rowSpan),qi.colSpan=Qi,qi.colEnd=qi.colStart+Qi-1,Ut[ur].push(qi),Jr+=Qi,Qi});return hi}An(Nt,0);for(var En=Ut.length,Vn=function(fr){Ut[fr].forEach(function(ur){!("rowSpan"in ur)&&!ur.hasSubColumns&&(ur.rowSpan=En-fr)})},On=0;On<En;On+=1)Vn(On);return Ut}function ro(Nt){var Ut=Nt.stickyOffsets,An=Nt.columns,En=Nt.flattenColumns,Vn=Nt.onHeaderRow,On=fe(Ze,["prefixCls","getComponent"]),gr=On.prefixCls,fr=On.getComponent,ur=ve.useMemo(function(){return Co(An)},[An]),Jr=fr(["header","wrapper"],"thead"),hi=fr(["header","row"],"tr"),ni=fr(["header","cell"],"th"),qi=fr(["header","cell"],"td");return ve.createElement(Jr,{className:"".concat(gr,"-thead")},ur.map(function(Qi,Vi){var ja=ve.createElement(Ki,{key:Vi,flattenColumns:En,cells:Qi,stickyOffsets:Ut,rowComponent:hi,cellComponent:ni,tdCellComponent:qi,onHeaderRow:Vn,index:Vi});return ja}))}var Pi=Ke(ro),Ii=ce(11592);function Si(Nt){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ut=="number"?Ut:Ut.endsWith("%")?Nt*parseFloat(Ut)/100:null}function gi(Nt,Ut){return ve.useMemo(function(){if(Ut&&Ut>0){var An=0,En=0;Nt.forEach(function(Jr){var hi=Si(Ut,Jr.width);hi?An+=hi:En+=1});var Vn=Ut-An,On=En,gr=Vn/En,fr=0,ur=Nt.map(function(Jr){var hi=(0,xt.Z)({},Jr),ni=Si(Ut,hi.width);if(ni)hi.width=ni;else{var qi=Math.floor(gr);hi.width=On===1?Vn:qi,Vn-=qi,On-=1}return fr+=hi.width,hi});return[ur,fr]}return[Nt,Ut]},[Nt,Ut])}var Ea=["children"],Fn=["fixed"];function Dt(Nt){return(0,Ii.Z)(Nt).filter(function(Ut){return ve.isValidElement(Ut)}).map(function(Ut){var An=Ut.key,En=Ut.props,Vn=En.children,On=(0,Fe.Z)(En,Ea),gr=(0,xt.Z)({key:An},On);return Vn&&(gr.children=Dt(Vn)),gr})}function Gt(Nt){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Nt.filter(function(An){return An&&(0,dt.Z)(An)==="object"}).reduce(function(An,En,Vn){var On=En.fixed,gr=On===!0?"left":On,fr="".concat(Ut,"-").concat(Vn),ur=En.children;return ur&&ur.length>0?[].concat((0,mi.Z)(An),(0,mi.Z)(Gt(ur,fr).map(function(Jr){return(0,xt.Z)({fixed:gr},Jr)}))):[].concat((0,mi.Z)(An),[(0,xt.Z)((0,xt.Z)({key:fr},En),{},{fixed:gr})])},[])}function Zt(Nt){for(var Ut=!0,An=0;An<Nt.length;An+=1){var En=Nt[An];if(Ut&&En.fixed!=="left")Ut=!1;else if(!Ut&&En.fixed==="left"){warning(!1,"Index ".concat(An-1," of `columns` missing `fixed='left'` prop."));break}}for(var Vn=!0,On=Nt.length-1;On>=0;On-=1){var gr=Nt[On];if(Vn&&gr.fixed!=="right")Vn=!1;else if(!Vn&&gr.fixed==="right"){warning(!1,"Index ".concat(On+1," of `columns` missing `fixed='right'` prop."));break}}}function jt(Nt){return Nt.map(function(Ut){var An=Ut.fixed,En=(0,Fe.Z)(Ut,Fn),Vn=An;return An==="left"?Vn="right":An==="right"&&(Vn="left"),(0,xt.Z)({fixed:Vn},En)})}function on(Nt,Ut){var An=Nt.prefixCls,En=Nt.columns,Vn=Nt.children,On=Nt.expandable,gr=Nt.expandedKeys,fr=Nt.columnTitle,ur=Nt.getRowKey,Jr=Nt.onTriggerExpand,hi=Nt.expandIcon,ni=Nt.rowExpandable,qi=Nt.expandIconColumnIndex,Qi=Nt.direction,Vi=Nt.expandRowByClick,ja=Nt.columnWidth,Fa=Nt.fixed,Ta=Nt.scrollWidth,Ia=ve.useMemo(function(){return En||Dt(Vn)},[En,Vn]),$a=ve.useMemo(function(){if(On){var Oo,vo=Ia.slice();if(!vo.includes(he)){var Ba=qi||0;Ba>=0&&vo.splice(Ba,0,he)}var bo=vo.indexOf(he);vo=vo.filter(function(za,gs){return za!==he||gs===bo});var is=Ia[bo],tl;(Fa==="left"||Fa)&&!qi?tl="left":(Fa==="right"||Fa)&&qi===Ia.length?tl="right":tl=is?is.fixed:null;var as=(Oo={},(0,Je.Z)(Oo,vr,{className:"".concat(An,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Je.Z)(Oo,"title",fr),(0,Je.Z)(Oo,"fixed",tl),(0,Je.Z)(Oo,"className","".concat(An,"-row-expand-icon-cell")),(0,Je.Z)(Oo,"width",ja),(0,Je.Z)(Oo,"render",function(gs,Ns,jl){var Ll=ur(Ns,jl),ku=gr.has(Ll),Mu=ni?ni(Ns):!0,Is=hi({prefixCls:An,expanded:ku,expandable:Mu,record:Ns,onExpand:Jr});return Vi?ve.createElement("span",{onClick:function(wl){return wl.stopPropagation()}},Is):Is}),Oo);return vo.map(function(za){return za===he?as:za})}return Ia.filter(function(za){return za!==he})},[On,Ia,ur,gr,hi,Qi]),Ko=ve.useMemo(function(){var Oo=$a;return Ut&&(Oo=Ut(Oo)),Oo.length||(Oo=[{render:function(){return null}}]),Oo},[Ut,$a,Qi]),Jo=ve.useMemo(function(){return Qi==="rtl"?jt(Gt(Ko)):Gt(Ko)},[Ko,Qi,Ta]),Fo=gi(Jo,Ta),ss=(0,Ue.Z)(Fo,2),_s=ss[0],lo=ss[1];return[Ko,_s,lo]}var Mn=on;function ir(Nt){var Ut,An=Nt.prefixCls,En=Nt.record,Vn=Nt.onExpand,On=Nt.expanded,gr=Nt.expandable,fr="".concat(An,"-row-expand-icon");if(!gr)return ve.createElement("span",{className:Re()(fr,"".concat(An,"-row-spaced"))});var ur=function(hi){Vn(En,hi),hi.stopPropagation()};return ve.createElement("span",{className:Re()(fr,(Ut={},(0,Je.Z)(Ut,"".concat(An,"-row-expanded"),On),(0,Je.Z)(Ut,"".concat(An,"-row-collapsed"),!On),Ut)),onClick:ur})}function qn(Nt,Ut,An){var En=[];function Vn(On){(On||[]).forEach(function(gr,fr){En.push(Ut(gr,fr)),Vn(gr[An])})}return Vn(Nt),En}function pr(Nt,Ut,An){var En=Ar(Nt),Vn=En.expandIcon,On=En.expandedRowKeys,gr=En.defaultExpandedRowKeys,fr=En.defaultExpandAllRows,ur=En.expandedRowRender,Jr=En.onExpand,hi=En.onExpandedRowsChange,ni=En.childrenColumnName,qi=Vn||ir,Qi=ni||"children",Vi=ve.useMemo(function(){return ur?"row":Nt.expandable&&Nt.internalHooks===Me&&Nt.expandable.__PARENT_RENDER_ICON__||Ut.some(function(Jo){return Jo&&(0,dt.Z)(Jo)==="object"&&Jo[Qi]})?"nest":!1},[!!ur,Ut]),ja=ve.useState(function(){return gr||(fr?qn(Ut,An,Qi):[])}),Fa=(0,Ue.Z)(ja,2),Ta=Fa[0],Ia=Fa[1],$a=ve.useMemo(function(){return new Set(On||Ta||[])},[On,Ta]),Ko=ve.useCallback(function(Jo){var Fo=An(Jo,Ut.indexOf(Jo)),ss,_s=$a.has(Fo);_s?($a.delete(Fo),ss=(0,mi.Z)($a)):ss=[].concat((0,mi.Z)($a),[Fo]),Ia(ss),Jr&&Jr(!_s,Jo),hi&&hi(ss)},[An,$a,Ut,Jr,hi]);return[En,Vi,$a,qi,Qi,Ko]}function Gr(Nt,Ut,An,En){var Vn=Nt.map(function(On,gr){return Cn(gr,gr,Nt,Ut,An,En==null?void 0:En[gr])});return(0,Rt.Z)(function(){return Vn},[Vn],function(On,gr){return!(0,Le.Z)(On,gr)})}function Zr(Nt){var Ut=(0,ve.useRef)(Nt),An=(0,ve.useState)({}),En=(0,Ue.Z)(An,2),Vn=En[1],On=(0,ve.useRef)(null),gr=(0,ve.useRef)([]);function fr(ur){gr.current.push(ur);var Jr=Promise.resolve();On.current=Jr,Jr.then(function(){if(On.current===Jr){var hi=gr.current,ni=Ut.current;gr.current=[],hi.forEach(function(qi){Ut.current=qi(Ut.current)}),On.current=null,ni!==Ut.current&&Vn({})}})}return(0,ve.useEffect)(function(){return function(){On.current=null}},[]),[Ut.current,fr]}function $r(Nt){var Ut=(0,ve.useRef)(Nt||null),An=(0,ve.useRef)();function En(){window.clearTimeout(An.current)}function Vn(gr){Ut.current=gr,En(),An.current=window.setTimeout(function(){Ut.current=null,An.current=void 0},100)}function On(){return Ut.current}return(0,ve.useEffect)(function(){return En},[]),[Vn,On]}function Xn(){var Nt=ve.useState(-1),Ut=(0,Ue.Z)(Nt,2),An=Ut[0],En=Ut[1],Vn=ve.useState(-1),On=(0,Ue.Z)(Vn,2),gr=On[0],fr=On[1],ur=ve.useCallback(function(Jr,hi){En(Jr),fr(hi)},[]);return[An,gr,ur]}var Or=ce(47273),ki=(0,Or.Z)()?window:null;function vi(Nt,Ut){var An=(0,dt.Z)(Nt)==="object"?Nt:{},En=An.offsetHeader,Vn=En===void 0?0:En,On=An.offsetSummary,gr=On===void 0?0:On,fr=An.offsetScroll,ur=fr===void 0?0:fr,Jr=An.getContainer,hi=Jr===void 0?function(){return ki}:Jr,ni=hi()||ki;return ve.useMemo(function(){var qi=!!Nt;return{isSticky:qi,stickyClassName:qi?"".concat(Ut,"-sticky-holder"):"",offsetHeader:Vn,offsetSummary:gr,offsetScroll:ur,container:ni}},[ur,Vn,gr,Ut,ni])}function Zi(Nt,Ut,An){var En=(0,ve.useMemo)(function(){for(var Vn=[],On=[],gr=0,fr=0,ur=0;ur<Ut;ur+=1)if(An==="rtl"){On[ur]=fr,fr+=Nt[ur]||0;var Jr=Ut-ur-1;Vn[Jr]=gr,gr+=Nt[Jr]||0}else{Vn[ur]=gr,gr+=Nt[ur]||0;var hi=Ut-ur-1;On[hi]=fr,fr+=Nt[hi]||0}return{left:Vn,right:On}},[Nt,Ut,An]);return En}var xi=Zi;function Ca(Nt){var Ut=Nt.className,An=Nt.children;return ve.createElement("div",{className:Ut},An)}var si=Ca,oa=ce(8224),mn=ce(55468),mr=function(Ut,An){var En,Vn,On=Ut.scrollBodyRef,gr=Ut.onScroll,fr=Ut.offsetScroll,ur=Ut.container,Jr=fe(Ze,"prefixCls"),hi=((En=On.current)===null||En===void 0?void 0:En.scrollWidth)||0,ni=((Vn=On.current)===null||Vn===void 0?void 0:Vn.clientWidth)||0,qi=hi&&ni*(ni/hi),Qi=ve.useRef(),Vi=Zr({scrollLeft:0,isHiddenScrollBar:!1}),ja=(0,Ue.Z)(Vi,2),Fa=ja[0],Ta=ja[1],Ia=ve.useRef({delta:0,x:0}),$a=ve.useState(!1),Ko=(0,Ue.Z)($a,2),Jo=Ko[0],Fo=Ko[1],ss=function(){Fo(!1)},_s=function(bo){bo.persist(),Ia.current.delta=bo.pageX-Fa.scrollLeft,Ia.current.x=0,Fo(!0),bo.preventDefault()},lo=function(bo){var is,tl=bo||((is=window)===null||is===void 0?void 0:is.event),as=tl.buttons;if(!Jo||as===0){Jo&&Fo(!1);return}var za=Ia.current.x+bo.pageX-Ia.current.x-Ia.current.delta;za<=0&&(za=0),za+qi>=ni&&(za=ni-qi),gr({scrollLeft:za/ni*(hi+2)}),Ia.current.x=bo.pageX},Oo=function(){if(On.current){var bo=(0,mn.os)(On.current).top,is=bo+On.current.offsetHeight,tl=ur===window?document.documentElement.scrollTop+window.innerHeight:(0,mn.os)(ur).top+ur.clientHeight;is-(0,$t.Z)()<=tl||bo>=tl-fr?Ta(function(as){return(0,xt.Z)((0,xt.Z)({},as),{},{isHiddenScrollBar:!0})}):Ta(function(as){return(0,xt.Z)((0,xt.Z)({},as),{},{isHiddenScrollBar:!1})})}},vo=function(bo){Ta(function(is){return(0,xt.Z)((0,xt.Z)({},is),{},{scrollLeft:bo/hi*ni||0})})};return ve.useImperativeHandle(An,function(){return{setScrollLeft:vo}}),ve.useEffect(function(){var Ba=(0,oa.Z)(document.body,"mouseup",ss,!1),bo=(0,oa.Z)(document.body,"mousemove",lo,!1);return Oo(),function(){Ba.remove(),bo.remove()}},[qi,Jo]),ve.useEffect(function(){var Ba=(0,oa.Z)(ur,"scroll",Oo,!1),bo=(0,oa.Z)(window,"resize",Oo,!1);return function(){Ba.remove(),bo.remove()}},[ur]),ve.useEffect(function(){Fa.isHiddenScrollBar||Ta(function(Ba){var bo=On.current;return bo?(0,xt.Z)((0,xt.Z)({},Ba),{},{scrollLeft:bo.scrollLeft/bo.scrollWidth*bo.clientWidth}):Ba})},[Fa.isHiddenScrollBar]),hi<=ni||!qi||Fa.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,$t.Z)(),width:ni,bottom:fr},className:"".concat(Jr,"-sticky-scroll")},ve.createElement("div",{onMouseDown:_s,ref:Qi,className:Re()("".concat(Jr,"-sticky-scroll-bar"),(0,Je.Z)({},"".concat(Jr,"-sticky-scroll-bar-active"),Jo)),style:{width:"".concat(qi,"px"),transform:"translate3d(".concat(Fa.scrollLeft,"px, 0, 0)")}}))},dr=ve.forwardRef(mr);function Wr(Nt){return null}var wr=Wr;function Mr(Nt){return null}var Fr=Mr,ui="rc-table",yi=[],Hi={};function Oa(){return"No Data"}function Qa(Nt){var Ut,An=(0,xt.Z)({rowKey:"key",prefixCls:ui,emptyText:Oa},Nt),En=An.prefixCls,Vn=An.className,On=An.rowClassName,gr=An.style,fr=An.data,ur=An.rowKey,Jr=An.scroll,hi=An.tableLayout,ni=An.direction,qi=An.title,Qi=An.footer,Vi=An.summary,ja=An.caption,Fa=An.id,Ta=An.showHeader,Ia=An.components,$a=An.emptyText,Ko=An.onRow,Jo=An.onHeaderRow,Fo=An.internalHooks,ss=An.transformColumns,_s=An.internalRefs,lo=An.tailor,Oo=An.sticky,vo=fr||yi,Ba=!!vo.length,bo=Fo===Me,is=ve.useCallback(function(Sl,Zl){return(0,Ft.Z)(Ia,Sl)||Zl},[Ia]),tl=ve.useMemo(function(){return typeof ur=="function"?ur:function(Sl){var Zl=Sl&&Sl[ur];return Zl}},[ur]),as=is(["body"]),za=Xn(),gs=(0,Ue.Z)(za,3),Ns=gs[0],jl=gs[1],Ll=gs[2],ku=pr(An,vo,tl),Mu=(0,Ue.Z)(ku,6),Is=Mu[0],cc=Mu[1],wl=Mu[2],du=Mu[3],Au=Mu[4],Ic=Mu[5],wo=Jr==null?void 0:Jr.x,es=ve.useState(0),ts=(0,Ue.Z)(es,2),Po=ts[0],Tl=ts[1],Wo=Mn((0,xt.Z)((0,xt.Z)((0,xt.Z)({},An),Is),{},{expandable:!!Is.expandedRowRender,columnTitle:Is.columnTitle,expandedKeys:wl,getRowKey:tl,onTriggerExpand:Ic,expandIcon:du,expandIconColumnIndex:Is.expandIconColumnIndex,direction:ni,scrollWidth:bo&&lo&&typeof wo=="number"?wo:null}),bo?ss:null),Ss=(0,Ue.Z)(Wo,3),sl=Ss[0],pl=Ss[1],td=Ss[2],Gu=td!=null?td:wo,Qd=ve.useMemo(function(){return{columns:sl,flattenColumns:pl}},[sl,pl]),tc=ve.useRef(),zd=ve.useRef(),Ja=ve.useRef(),Rc=ve.useRef(),YA=ve.useRef(),xl=ve.useState(!1),la=(0,Ue.Z)(xl,2),Wl=la[0],Cc=la[1],Iu=ve.useState(!1),ps=(0,Ue.Z)(Iu,2),$l=ps[0],Uc=ps[1],Nd=Zr(new Map),Cd=(0,Ue.Z)(Nd,2),Hc=Cd[0],Yu=Cd[1],CA=at(pl),Zc=CA.map(function(Sl){return Hc.get(Sl)}),Xu=ve.useMemo(function(){return Zc},[Zc.join("_")]),jc=xi(Xu,pl.length,ni),Nu=Jr&&Yt(Jr.y),Hu=Jr&&Yt(Gu)||!!Is.fixed,ld=Hu&&pl.some(function(Sl){var Zl=Sl.fixed;return Zl}),dA=ve.useRef(),Kd=vi(Oo,En),BA=Kd.isSticky,XA=Kd.offsetHeader,Eh=Kd.offsetSummary,Bl=Kd.offsetScroll,au=Kd.stickyClassName,Lc=Kd.container,ou=ve.useMemo(function(){return Vi==null?void 0:Vi(vo)},[Vi,vo]),Bc=(Nu||BA)&&ve.isValidElement(ou)&&ou.type===oe&&ou.props.fixed,Dc,nc,SA;Nu&&(nc={overflowY:"scroll",maxHeight:Jr.y}),Hu&&(Dc={overflowX:"auto"},Nu||(nc={overflowY:"hidden"}),SA={width:Gu===!0?"auto":Gu,minWidth:"100%"});var ah=ve.useCallback(function(Sl,Zl){(0,Mt.Z)(tc.current)&&Yu(function(Bd){if(Bd.get(Sl)!==Zl){var $A=new Map(Bd);return $A.set(Sl,Zl),$A}return Bd})},[]),EA=$r(null),FA=(0,Ue.Z)(EA,2),ml=FA[0],ju=FA[1];function AA(Sl,Zl){Zl&&(typeof Zl=="function"?Zl(Sl):Zl.scrollLeft!==Sl&&(Zl.scrollLeft=Sl,Zl.scrollLeft!==Sl&&setTimeout(function(){Zl.scrollLeft=Sl},0)))}var kA=(0,At.Z)(function(Sl){var Zl=Sl.currentTarget,Bd=Sl.scrollLeft,$A=ni==="rtl",ef=typeof Bd=="number"?Bd:Zl.scrollLeft,_0=Zl||Hi;if(!ju()||ju()===_0){var Nc;ml(_0),AA(ef,zd.current),AA(ef,Ja.current),AA(ef,YA.current),AA(ef,(Nc=dA.current)===null||Nc===void 0?void 0:Nc.setScrollLeft)}var LA=Zl||zd.current;if(LA){var I0=LA.scrollWidth,Bf=LA.clientWidth;if(I0===Bf){Cc(!1),Uc(!1);return}$A?(Cc(-ef<I0-Bf),Uc(-ef>0)):(Cc(ef>0),Uc(ef<I0-Bf))}}),ud=function(){Hu&&Ja.current?kA({currentTarget:Ja.current}):(Cc(!1),Uc(!1))},e0=function(Zl){var Bd=Zl.width;Bd!==Po&&(ud(),Tl(tc.current?tc.current.offsetWidth:Bd))},pc=ve.useRef(!1);ve.useEffect(function(){pc.current&&ud()},[Hu,fr,sl.length]),ve.useEffect(function(){pc.current=!0},[]);var Fh=ve.useState(0),t0=(0,Ue.Z)(Fh,2),Df=t0[0],oh=t0[1],Nf=ve.useState(!0),wf=(0,Ue.Z)(Nf,2),Li=wf[0],sh=wf[1];ve.useEffect(function(){(!lo||!bo)&&(Ja.current instanceof Element?oh((0,$t.o)(Ja.current).width):oh((0,$t.o)(Rc.current).width)),sh((0,kt.G)("position","sticky"))},[]),ve.useEffect(function(){bo&&_s&&(_s.body.current=Ja.current)});var kh=ve.useCallback(function(Sl){return ve.createElement(ve.Fragment,null,ve.createElement(Pi,Sl),Bc==="top"&&ve.createElement(vt,Sl,ou))},[Bc,ou]),n0=ve.useCallback(function(Sl){return ve.createElement(vt,Sl,ou)},[ou]),MA=is(["table"],"table"),Of=ve.useMemo(function(){return hi||(ld?Gu==="max-content"?"auto":"fixed":Nu||BA||pl.some(function(Sl){var Zl=Sl.ellipsis;return Zl})?"fixed":"auto")},[Nu,ld,pl,hi,BA]),lh,xf={colWidths:Xu,columCount:pl.length,stickyOffsets:jc,onHeaderRow:Jo,fixHeader:Nu,scroll:Jr},Ou=ve.useMemo(function(){return Ba?null:typeof $a=="function"?$a():$a},[Ba,$a]),Cf=ve.createElement(jr,{data:vo,measureColumnWidth:Nu||Hu||BA}),Mh=ve.createElement($i,{colWidths:pl.map(function(Sl){var Zl=Sl.width;return Zl}),columns:pl}),_A=ja!=null?ve.createElement("caption",{className:"".concat(En,"-caption")},ja):void 0,uh=(0,Sn.Z)(An,{data:!0}),IA=(0,Sn.Z)(An,{aria:!0});if(Nu||BA){var JA;typeof as=="function"?(JA=as(vo,{scrollbarSize:Df,ref:Ja,onScroll:kA}),xf.colWidths=pl.map(function(Sl,Zl){var Bd=Sl.width,$A=Zl===pl.length-1?Bd-Df:Bd;return typeof $A=="number"&&!Number.isNaN($A)?$A:0})):JA=ve.createElement("div",{style:(0,xt.Z)((0,xt.Z)({},Dc),nc),onScroll:kA,ref:Ja,className:Re()("".concat(En,"-body"))},ve.createElement(MA,(0,ze.Z)({style:(0,xt.Z)((0,xt.Z)({},SA),{},{tableLayout:Of})},IA),_A,Mh,Cf,!Bc&&ou&&ve.createElement(vt,{stickyOffsets:jc,flattenColumns:pl,columns:sl},ou)));var fu=(0,xt.Z)((0,xt.Z)((0,xt.Z)({noData:!vo.length,maxContentScroll:Hu&&Gu==="max-content"},xf),Qd),{},{direction:ni,stickyClassName:au,onScroll:kA});lh=ve.createElement(ve.Fragment,null,Ta!==!1&&ve.createElement(_n,(0,ze.Z)({},fu,{stickyTopOffset:XA,className:"".concat(En,"-header"),ref:zd}),kh),JA,Bc&&Bc!=="top"&&ve.createElement(_n,(0,ze.Z)({},fu,{stickyBottomOffset:Eh,className:"".concat(En,"-summary"),ref:YA}),n0),BA&&ve.createElement(dr,{ref:dA,offsetScroll:Bl,scrollBodyRef:Ja,onScroll:kA,container:Lc}))}else lh=ve.createElement("div",{style:(0,xt.Z)((0,xt.Z)({},Dc),nc),className:Re()("".concat(En,"-content")),onScroll:kA,ref:Ja},ve.createElement(MA,(0,ze.Z)({style:(0,xt.Z)((0,xt.Z)({},SA),{},{tableLayout:Of})},IA),_A,Mh,Ta!==!1&&ve.createElement(Pi,(0,ze.Z)({},xf,Qd)),Cf,ou&&ve.createElement(vt,{stickyOffsets:jc,flattenColumns:pl,columns:sl},ou)));var nd=ve.createElement("div",(0,ze.Z)({className:Re()(En,Vn,(Ut={},(0,Je.Z)(Ut,"".concat(En,"-rtl"),ni==="rtl"),(0,Je.Z)(Ut,"".concat(En,"-ping-left"),Wl),(0,Je.Z)(Ut,"".concat(En,"-ping-right"),$l),(0,Je.Z)(Ut,"".concat(En,"-layout-fixed"),hi==="fixed"),(0,Je.Z)(Ut,"".concat(En,"-fixed-header"),Nu),(0,Je.Z)(Ut,"".concat(En,"-fixed-column"),ld),(0,Je.Z)(Ut,"".concat(En,"-scroll-horizontal"),Hu),(0,Je.Z)(Ut,"".concat(En,"-has-fix-left"),pl[0]&&pl[0].fixed),(0,Je.Z)(Ut,"".concat(En,"-has-fix-right"),pl[pl.length-1]&&pl[pl.length-1].fixed==="right"),Ut)),style:gr,id:Fa,ref:tc},uh),qi&&ve.createElement(si,{className:"".concat(En,"-title")},qi(vo)),ve.createElement("div",{ref:Rc,className:"".concat(En,"-container")},lh),Qi&&ve.createElement(si,{className:"".concat(En,"-footer")},Qi(vo)));Hu&&(nd=ve.createElement(Pt.Z,{onResize:e0},nd));var Vc=Gr(pl,jc,ni,sl),qA=ve.useMemo(function(){return{scrollX:Gu,prefixCls:En,getComponent:is,scrollbarSize:Df,direction:ni,fixedInfoList:Vc,isSticky:BA,supportSticky:Li,componentWidth:Po,fixHeader:Nu,fixColumn:ld,horizonScroll:Hu,tableLayout:Of,rowClassName:On,expandedRowClassName:Is.expandedRowClassName,expandIcon:du,expandableType:cc,expandRowByClick:Is.expandRowByClick,expandedRowRender:Is.expandedRowRender,onTriggerExpand:Ic,expandIconColumnIndex:Is.expandIconColumnIndex,indentSize:Is.indentSize,allColumnsFixedLeft:pl.every(function(Sl){return Sl.fixed==="left"}),emptyNode:Ou,columns:sl,flattenColumns:pl,onColumnResize:ah,hoverStartRow:Ns,hoverEndRow:jl,onHover:Ll,rowExpandable:Is.rowExpandable,onRow:Ko,getRowKey:tl,expandedKeys:wl,childrenColumnName:Au}},[Gu,En,is,Df,ni,Vc,BA,Li,Po,Nu,ld,Hu,Of,On,Is.expandedRowClassName,du,cc,Is.expandRowByClick,Is.expandedRowRender,Ic,Is.expandIconColumnIndex,Is.indentSize,Ou,sl,pl,ah,Ns,jl,Ll,Is.rowExpandable,Ko,tl,wl,Au]);return ve.createElement(Ze.Provider,{value:qA},nd)}function oo(Nt){return Xe(Qa,Nt)}var La=oo();La.EXPAND_COLUMN=he,La.INTERNAL_HOOKS=Me,La.Column=wr,La.ColumnGroup=Fr,La.Summary=et;var Da=La,po=ce(48911),Za=we(null),io=we(null);function va(Nt,Ut,An){var En=Ut||1;return An[Nt+En]-(An[Nt]||0)}function ka(Nt){var Ut=Nt.rowInfo,An=Nt.column,En=Nt.colIndex,Vn=Nt.indent,On=Nt.index,gr=Nt.renderIndex,fr=Nt.record,ur=Nt.style,Jr=Nt.className,hi=Nt.inverse,ni=Nt.getHeight,qi=An.render,Qi=An.dataIndex,Vi=An.className,ja=An.width,Fa=fe(io,["columnsOffset"]),Ta=Fa.columnsOffset,Ia=Wt(Ut,An,En,Vn,On),$a=Ia.key,Ko=Ia.fixedInfo,Jo=Ia.appendCellNode,Fo=Ia.additionalCellProps,ss=Fo.style,_s=Fo.colSpan,lo=_s===void 0?1:_s,Oo=Fo.rowSpan,vo=Oo===void 0?1:Oo,Ba=En-1,bo=va(Ba,lo,Ta),is=lo>1?ja-bo:0,tl=(0,xt.Z)((0,xt.Z)((0,xt.Z)({},ss),ur),{},{flex:"0 0 ".concat(bo,"px"),width:"".concat(bo,"px"),marginRight:is,pointerEvents:"auto"}),as=ve.useMemo(function(){return hi?vo<=1:lo===0||vo===0||vo>1},[vo,lo,hi]);as?tl.visibility="hidden":hi&&(tl.height=ni==null?void 0:ni(vo));var za=as?function(){return null}:qi,gs={};return(vo===0||lo===0)&&(gs.rowSpan=1,gs.colSpan=1),ve.createElement(Ln,(0,ze.Z)({className:Re()(Vi,Jr),ellipsis:An.ellipsis,align:An.align,scope:An.rowScope,component:"div",prefixCls:Ut.prefixCls,key:$a,record:fr,index:On,renderIndex:gr,dataIndex:Qi,render:za,shouldCellUpdate:An.shouldCellUpdate},Ko,{appendNode:Jo,additionalProps:(0,xt.Z)((0,xt.Z)({},Fo),{},{style:tl},gs)}))}var Xa=ka,Pa=["data","index","className","rowKey","style","extra","getHeight"],ao=ve.forwardRef(function(Nt,Ut){var An=Nt.data,En=Nt.index,Vn=Nt.className,On=Nt.rowKey,gr=Nt.style,fr=Nt.extra,ur=Nt.getHeight,Jr=(0,Fe.Z)(Nt,Pa),hi=An.record,ni=An.indent,qi=An.index,Qi=fe(Ze,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Vi=Qi.scrollX,ja=Qi.flattenColumns,Fa=Qi.prefixCls,Ta=Qi.fixColumn,Ia=Qi.componentWidth,$a=pt(hi,On,En,ni),Ko=$a.rowSupportExpand,Jo=$a.expanded,Fo=$a.rowProps,ss=$a.expandedRowRender,_s=$a.expandedRowClassName,lo;if(Ko&&Jo){var Oo=ss(hi,En,ni+1,Jo),vo=_s==null?void 0:_s(hi,En,ni),Ba={};Ta&&(Ba={style:(0,Je.Z)({},"--virtual-width","".concat(Ia,"px"))});var bo="".concat(Fa,"-expanded-row-cell");lo=ve.createElement("div",{className:Re()("".concat(Fa,"-expanded-row"),"".concat(Fa,"-expanded-row-level-").concat(ni+1),vo)},ve.createElement(Ln,{component:"div",prefixCls:Fa,className:Re()(bo,(0,Je.Z)({},"".concat(bo,"-fixed"),Ta)),additionalProps:Ba},Oo))}var is=(0,xt.Z)((0,xt.Z)({},gr),{},{width:Vi});fr&&(is.position="absolute",is.pointerEvents="none");var tl=ve.createElement("div",(0,ze.Z)({},Fo,Jr,{ref:Ko?null:Ut,className:Re()(Vn,"".concat(Fa,"-row"),Fo==null?void 0:Fo.className,(0,Je.Z)({},"".concat(Fa,"-row-extra"),fr)),style:(0,xt.Z)((0,xt.Z)({},is),Fo==null?void 0:Fo.style)}),ja.map(function(as,za){return ve.createElement(Xa,{key:za,rowInfo:$a,column:as,colIndex:za,indent:ni,index:En,renderIndex:qi,record:hi,inverse:fr,getHeight:ur})}));return Ko?ve.createElement("div",{ref:Ut},tl,lo):tl}),us=Ke(ao),Ya=us,fi=ve.forwardRef(function(Nt,Ut){var An=Nt.data,En=Nt.onScroll,Vn=fe(Ze,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),On=Vn.flattenColumns,gr=Vn.onColumnResize,fr=Vn.getRowKey,ur=Vn.expandedKeys,Jr=Vn.prefixCls,hi=Vn.childrenColumnName,ni=Vn.emptyNode,qi=Vn.scrollX,Qi=fe(Za),Vi=Qi.scrollY,ja=Qi.listItemHeight,Fa=ve.useRef(),Ta=nn(An,hi,ur,fr),Ia=ve.useMemo(function(){var lo=0;return On.map(function(Oo){var vo=Oo.width,Ba=Oo.key;return lo+=vo,[Ba,vo,lo]})},[On]),$a=ve.useMemo(function(){return Ia.map(function(lo){return lo[2]})},[Ia]);ve.useEffect(function(){Ia.forEach(function(lo){var Oo=(0,Ue.Z)(lo,2),vo=Oo[0],Ba=Oo[1];gr(vo,Ba)})},[Ia]),ve.useImperativeHandle(Ut,function(){var lo={};return Object.defineProperty(lo,"scrollLeft",{get:function(){var vo;return((vo=Fa.current)===null||vo===void 0?void 0:vo.getScrollInfo().x)||0},set:function(vo){var Ba;(Ba=Fa.current)===null||Ba===void 0||Ba.scrollTo({left:vo})}}),lo});var Ko=function(Oo,vo){var Ba,bo=(Ba=Ta[vo])===null||Ba===void 0?void 0:Ba.record,is=Oo.onCell;if(is){var tl,as=is(bo,vo);return(tl=as==null?void 0:as.rowSpan)!==null&&tl!==void 0?tl:1}return 1},Jo=function(Oo){var vo=Oo.start,Ba=Oo.end,bo=Oo.getSize,is=Oo.offsetY;if(Ba<0)return null;for(var tl=On.filter(function(wo){return Ko(wo,vo)===0}),as=vo,za=function(es){if(tl=tl.filter(function(ts){return Ko(ts,es)===0}),!tl.length)return as=es,"break"},gs=vo;gs>=0;gs-=1){var Ns=za(gs);if(Ns==="break")break}for(var jl=On.filter(function(wo){return Ko(wo,Ba)!==1}),Ll=Ba,ku=function(es){if(jl=jl.filter(function(ts){return Ko(ts,es)!==1}),!jl.length)return Ll=Math.max(es-1,Ba),"break"},Mu=Ba;Mu<Ta.length;Mu+=1){var Is=ku(Mu);if(Is==="break")break}for(var cc=[],wl=function(es){var ts=Ta[es];if(!ts)return"continue";On.some(function(Po){return Ko(Po,es)>1})&&cc.push(es)},du=as;du<=Ll;du+=1)var Au=wl(du);var Ic=cc.map(function(wo){var es=Ta[wo],ts=fr(es.record,wo),Po=function(Ss){var sl=wo+Ss-1,pl=fr(Ta[sl].record,sl),td=bo(ts,pl);return td.bottom-td.top},Tl=bo(ts);return ve.createElement(Ya,{key:wo,data:es,rowKey:ts,index:wo,style:{top:-is+Tl.top},extra:!0,getHeight:Po})});return Ic},Fo=ve.useMemo(function(){return{columnsOffset:$a}},[$a]),ss="".concat(Jr,"-tbody"),_s;return Ta.length?_s=ve.createElement(po.Z,{fullHeight:!1,ref:Fa,className:Re()(ss,"".concat(ss,"-virtual")),height:Vi,itemHeight:ja||24,data:Ta,itemKey:function(Oo){return fr(Oo.record)},scrollWidth:qi,onVirtualScroll:function(Oo){var vo=Oo.x;En({scrollLeft:vo})},extraRender:Jo},function(lo,Oo,vo){var Ba=fr(lo.record,Oo);return ve.createElement(Ya,(0,ze.Z)({data:lo,rowKey:Ba,index:Oo},vo))}):_s=ve.createElement("div",{className:Re()("".concat(Jr,"-placeholder"))},ve.createElement(Ln,{component:"div",prefixCls:Jr},ni)),ve.createElement(io.Provider,{value:Fo},_s)}),Rr=Ke(fi),Ra=Rr,_a=function(Ut,An){var En=An.ref,Vn=An.onScroll;return ve.createElement(Ra,{ref:En,data:Ut,onScroll:Vn})},Va=100;function Mo(Nt){var Ut=Nt.columns,An=Nt.scroll,En=Nt.prefixCls,Vn=En===void 0?ui:En,On=Nt.className,gr=Nt.listItemHeight,fr=An||{},ur=fr.x,Jr=fr.y;typeof ur!="number"&&(ur=((Ut||[]).length+1)*Va),typeof Jr!="number"&&(Jr=500);var hi=ve.useMemo(function(){return{scrollY:Jr,listItemHeight:gr}},[Jr,gr]);return ve.createElement(Za.Provider,{value:hi},ve.createElement(Da,(0,ze.Z)({},Nt,{className:Re()(On,"".concat(Vn,"-virtual")),scroll:(0,xt.Z)((0,xt.Z)({},An),{},{x:ur}),components:{body:_a},columns:Ut,internalHooks:Me,tailor:!0})))}function go(Nt){return Xe(Mo,Nt)}var As=go(),_o=null;function Js(Nt){return null}var Sa=Js;function xa(Nt){return null}var Bo=xa,So=ce(2738),Ms=ce(68031),er=ce(36355),Qs=ce(93891),fs=ce(19716),Zs=ce(8628),qs=ce(31724),ma=ce(58421),sa=ce(71418),ra=ce(70305);function ua(Nt){return function(An){let{prefixCls:En,onExpand:Vn,record:On,expanded:gr,expandable:fr}=An;const ur=`${En}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:Jr=>{Vn(On,Jr),Jr.stopPropagation()},className:Re()(ur,{[`${ur}-spaced`]:!fr,[`${ur}-expanded`]:fr&&gr,[`${ur}-collapsed`]:fr&&!gr}),"aria-label":gr?Nt.collapse:Nt.expand,"aria-expanded":gr})}}var cs=ua;function Ps(Nt,Ut){return"key"in Nt&&Nt.key!==void 0&&Nt.key!==null?Nt.key:Nt.dataIndex?Array.isArray(Nt.dataIndex)?Nt.dataIndex.join("."):Nt.dataIndex:Ut}function jo(Nt,Ut){return Ut?`${Ut}-${Nt}`:`${Nt}`}function xs(Nt,Ut){return typeof Nt=="function"?Nt(Ut):Nt}function Cs(Nt,Ut){const An=xs(Nt,Ut);return Object.prototype.toString.call(An)==="[object Object]"?"":An}var $s={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"},ru=$s,or=ce(85221),Qn=function(Ut,An){return ve.createElement(or.Z,(0,ze.Z)({},Ut,{ref:An,icon:ru}))},Nr=ve.forwardRef(Qn),Di=Nr,Io=ce(56762);function lr(Nt){const Ut=ve.useRef(Nt),An=(0,Io.Z)();return[()=>Ut.current,En=>{Ut.current=En,An()}]}var Jn=ce(3113),Un=ce(24905),cr=ce(38854),Ur=ce(64165),bi=ce(20834),xr=ce(40875),Hr=ce(5112),ji=ce(17574),Ji=ce(47472),ca=ce(92832);function Xr(Nt){let{value:Ut,onChange:An,filterSearch:En,tablePrefixCls:Vn,locale:On}=Nt;return En?ve.createElement("div",{className:`${Vn}-filter-dropdown-search`},ve.createElement(ca.default,{prefix:ve.createElement(Ji.Z,null),placeholder:On.filterSearchPlaceholder,onChange:An,value:Ut,htmlSize:1,className:`${Vn}-filter-dropdown-search-input`})):null}var Ni=Xr,ia=ce(10228);const Ma=Nt=>{const{keyCode:Ut}=Nt;Ut===ia.Z.ENTER&&Nt.stopPropagation()};var da=ve.forwardRef((Nt,Ut)=>ve.createElement("div",{className:Nt.className,onClick:An=>An.stopPropagation(),onKeyDown:Ma,ref:Ut},Nt.children));function Lo(Nt){let Ut=[];return(Nt||[]).forEach(An=>{let{value:En,children:Vn}=An;Ut.push(En),Vn&&(Ut=[].concat((0,mi.Z)(Ut),(0,mi.Z)(Lo(Vn))))}),Ut}function co(Nt){return Nt.some(Ut=>{let{children:An}=Ut;return An})}function To(Nt,Ut){return typeof Ut=="string"||typeof Ut=="number"?Ut==null?void 0:Ut.toString().toLowerCase().includes(Nt.trim().toLowerCase()):!1}function hs(Nt){let{filters:Ut,prefixCls:An,filteredKeys:En,filterMultiple:Vn,searchValue:On,filterSearch:gr}=Nt;return Ut.map((fr,ur)=>{const Jr=String(fr.value);if(fr.children)return{key:Jr||ur,label:fr.text,popupClassName:`${An}-dropdown-submenu`,children:hs({filters:fr.children,prefixCls:An,filteredKeys:En,filterMultiple:Vn,searchValue:On,filterSearch:gr})};const hi=Vn?Un.default:Hr.ZP,ni={key:fr.value!==void 0?Jr:ur,label:ve.createElement(ve.Fragment,null,ve.createElement(hi,{checked:En.includes(Jr)}),ve.createElement("span",null,fr.text))};return On.trim()?typeof gr=="function"?gr(On,fr)?ni:null:To(On,fr.text)?ni:null:ni})}function Bu(Nt){var Ut,An;const{tablePrefixCls:En,prefixCls:Vn,column:On,dropdownPrefixCls:gr,columnKey:fr,filterMultiple:ur,filterMode:Jr="menu",filterSearch:hi=!1,filterState:ni,triggerFilter:qi,locale:Qi,children:Vi,getPopupContainer:ja}=Nt,{filterDropdownOpen:Fa,onFilterDropdownOpenChange:Ta,filterResetToDefaultFilteredValue:Ia,defaultFilteredValue:$a,filterDropdownVisible:Ko,onFilterDropdownVisibleChange:Jo}=On,[Fo,ss]=ve.useState(!1),_s=!!(ni&&(!((Ut=ni.filteredKeys)===null||Ut===void 0)&&Ut.length||ni.forceFiltered)),lo=Wo=>{ss(Wo),Ta==null||Ta(Wo),Jo==null||Jo(Wo)},Oo=(An=Fa!=null?Fa:Ko)!==null&&An!==void 0?An:Fo,vo=ni==null?void 0:ni.filteredKeys,[Ba,bo]=lr(vo||[]),is=Wo=>{let{selectedKeys:Ss}=Wo;bo(Ss)},tl=(Wo,Ss)=>{let{node:sl,checked:pl}=Ss;is(ur?{selectedKeys:Wo}:{selectedKeys:pl&&sl.key?[sl.key]:[]})};ve.useEffect(()=>{Fo&&is({selectedKeys:vo||[]})},[vo]);const[as,za]=ve.useState([]),gs=Wo=>{za(Wo)},[Ns,jl]=ve.useState(""),Ll=Wo=>{const{value:Ss}=Wo.target;jl(Ss)};ve.useEffect(()=>{Fo||jl("")},[Fo]);const ku=Wo=>{const Ss=Wo&&Wo.length?Wo:null;if(Ss===null&&(!ni||!ni.filteredKeys)||(0,Le.Z)(Ss,ni==null?void 0:ni.filteredKeys,!0))return null;qi({column:On,key:fr,filteredKeys:Ss})},Mu=()=>{lo(!1),ku(Ba())},Is=function(){let{confirm:Wo,closeDropdown:Ss}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Wo&&ku([]),Ss&&lo(!1),jl(""),bo(Ia?($a||[]).map(sl=>String(sl)):[])},cc=function(){let{closeDropdown:Wo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Wo&&lo(!1),ku(Ba())},wl=Wo=>{Wo&&vo!==void 0&&bo(vo||[]),lo(Wo),!Wo&&!On.filterDropdown&&Mu()},du=Re()({[`${gr}-menu-without-submenu`]:!co(On.filters||[])}),Au=Wo=>{if(Wo.target.checked){const Ss=Lo(On==null?void 0:On.filters).map(sl=>String(sl));bo(Ss)}else bo([])},Ic=Wo=>{let{filters:Ss}=Wo;return(Ss||[]).map((sl,pl)=>{const td=String(sl.value),Gu={title:sl.text,key:sl.value!==void 0?td:pl};return sl.children&&(Gu.children=Ic({filters:sl.children})),Gu})},wo=Wo=>{var Ss;return Object.assign(Object.assign({},Wo),{text:Wo.title,value:Wo.key,children:((Ss=Wo.children)===null||Ss===void 0?void 0:Ss.map(sl=>wo(sl)))||[]})};let es;if(typeof On.filterDropdown=="function")es=On.filterDropdown({prefixCls:`${gr}-custom`,setSelectedKeys:Wo=>is({selectedKeys:Wo}),selectedKeys:Ba(),confirm:cc,clearFilters:Is,filters:On.filters,visible:Oo,close:()=>{lo(!1)}});else if(On.filterDropdown)es=On.filterDropdown;else{const Wo=Ba()||[],Ss=()=>(On.filters||[]).length===0?ve.createElement(Ur.Z,{image:Ur.Z.PRESENTED_IMAGE_SIMPLE,description:Qi.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Jr==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(Ni,{filterSearch:hi,value:Ns,onChange:Ll,tablePrefixCls:En,locale:Qi}),ve.createElement("div",{className:`${En}-filter-dropdown-tree`},ur?ve.createElement(Un.default,{checked:Wo.length===Lo(On.filters).length,indeterminate:Wo.length>0&&Wo.length<Lo(On.filters).length,className:`${En}-filter-dropdown-checkall`,onChange:Au},Qi.filterCheckall):null,ve.createElement(ji.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:ur,checkStrictly:!ur,className:`${gr}-menu`,onCheck:tl,checkedKeys:Wo,selectedKeys:Wo,showIcon:!1,treeData:Ic({filters:On.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ns.trim()?pl=>typeof hi=="function"?hi(Ns,wo(pl)):To(Ns,pl.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(Ni,{filterSearch:hi,value:Ns,onChange:Ll,tablePrefixCls:En,locale:Qi}),ve.createElement(bi.default,{selectable:!0,multiple:ur,prefixCls:`${gr}-menu`,className:du,onSelect:is,onDeselect:is,selectedKeys:Wo,getPopupContainer:ja,openKeys:as,onOpenChange:gs,items:hs({filters:On.filters||[],filterSearch:hi,prefixCls:Vn,filteredKeys:Ba(),filterMultiple:ur,searchValue:Ns})})),sl=()=>Ia?(0,Le.Z)(($a||[]).map(pl=>String(pl)),Wo,!0):Wo.length===0;es=ve.createElement(ve.Fragment,null,Ss(),ve.createElement("div",{className:`${Vn}-dropdown-btns`},ve.createElement(Jn.ZP,{type:"link",size:"small",disabled:sl(),onClick:()=>Is()},Qi.filterReset),ve.createElement(Jn.ZP,{type:"primary",size:"small",onClick:Mu},Qi.filterConfirm)))}On.filterDropdown&&(es=ve.createElement(xr.J,{selectable:void 0},es));const ts=()=>ve.createElement(da,{className:`${Vn}-dropdown`},es);let Po;typeof On.filterIcon=="function"?Po=On.filterIcon(_s):On.filterIcon?Po=On.filterIcon:Po=ve.createElement(Di,null);const{direction:Tl}=ve.useContext(er.E_);return ve.createElement("div",{className:`${Vn}-column`},ve.createElement("span",{className:`${En}-column-title`},Vi),ve.createElement(cr.Z,{dropdownRender:ts,trigger:["click"],open:Oo,onOpenChange:wl,getPopupContainer:ja,placement:Tl==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:Re()(`${Vn}-trigger`,{active:_s}),onClick:Wo=>{Wo.stopPropagation()}},Po)))}var gu=Bu;function Su(Nt,Ut,An){let En=[];return(Nt||[]).forEach((Vn,On)=>{var gr;const fr=jo(On,An);if(Vn.filters||"filterDropdown"in Vn||"onFilter"in Vn)if("filteredValue"in Vn){let ur=Vn.filteredValue;"filterDropdown"in Vn||(ur=(gr=ur==null?void 0:ur.map(String))!==null&&gr!==void 0?gr:ur),En.push({column:Vn,key:Ps(Vn,fr),filteredKeys:ur,forceFiltered:Vn.filtered})}else En.push({column:Vn,key:Ps(Vn,fr),filteredKeys:Ut&&Vn.defaultFilteredValue?Vn.defaultFilteredValue:void 0,forceFiltered:Vn.filtered});"children"in Vn&&(En=[].concat((0,mi.Z)(En),(0,mi.Z)(Su(Vn.children,Ut,fr))))}),En}function Cr(Nt,Ut,An,En,Vn,On,gr,fr){return An.map((ur,Jr)=>{const hi=jo(Jr,fr),{filterMultiple:ni=!0,filterMode:qi,filterSearch:Qi}=ur;let Vi=ur;if(Vi.filters||Vi.filterDropdown){const ja=Ps(Vi,hi),Fa=En.find(Ta=>{let{key:Ia}=Ta;return ja===Ia});Vi=Object.assign(Object.assign({},Vi),{title:Ta=>ve.createElement(gu,{tablePrefixCls:Nt,prefixCls:`${Nt}-filter`,dropdownPrefixCls:Ut,column:Vi,columnKey:ja,filterState:Fa,filterMultiple:ni,filterMode:qi,filterSearch:Qi,triggerFilter:On,locale:Vn,getPopupContainer:gr},xs(ur.title,Ta))})}return"children"in Vi&&(Vi=Object.assign(Object.assign({},Vi),{children:Cr(Nt,Ut,Vi.children,En,Vn,On,gr,hi)})),Vi})}function yr(Nt){const Ut={};return Nt.forEach(An=>{let{key:En,filteredKeys:Vn,column:On}=An;const{filters:gr,filterDropdown:fr}=On;if(fr)Ut[En]=Vn||null;else if(Array.isArray(Vn)){const ur=Lo(gr);Ut[En]=ur.filter(Jr=>Vn.includes(String(Jr)))}else Ut[En]=null}),Ut}function Eu(Nt,Ut){return Ut.reduce((An,En)=>{const{column:{onFilter:Vn,filters:On},filteredKeys:gr}=En;return Vn&&gr&&gr.length?An.filter(fr=>gr.some(ur=>{const Jr=Lo(On),hi=Jr.findIndex(qi=>String(qi)===String(ur)),ni=hi!==-1?Jr[hi]:ur;return Vn(ni,fr)})):An},Nt)}const mo=Nt=>Nt.flatMap(Ut=>"children"in Ut?[Ut].concat((0,mi.Z)(mo(Ut.children||[]))):[Ut]);function Qo(Nt){let{prefixCls:Ut,dropdownPrefixCls:An,mergedColumns:En,onFilterChange:Vn,getPopupContainer:On,locale:gr}=Nt;const fr=ve.useMemo(()=>mo(En||[]),[En]),[ur,Jr]=ve.useState(()=>Su(fr,!0)),hi=ve.useMemo(()=>{const Vi=Su(fr,!1);if(Vi.length===0)return Vi;let ja=!0,Fa=!0;if(Vi.forEach(Ta=>{let{filteredKeys:Ia}=Ta;Ia!==void 0?ja=!1:Fa=!1}),ja){const Ta=(fr||[]).map((Ia,$a)=>Ps(Ia,jo($a)));return ur.filter(Ia=>{let{key:$a}=Ia;return Ta.includes($a)}).map(Ia=>{const $a=fr[Ta.findIndex(Ko=>Ko===Ia.key)];return Object.assign(Object.assign({},Ia),{column:Object.assign(Object.assign({},Ia.column),$a),forceFiltered:$a.filtered})})}return Vi},[fr,ur]),ni=ve.useMemo(()=>yr(hi),[hi]),qi=Vi=>{const ja=hi.filter(Fa=>{let{key:Ta}=Fa;return Ta!==Vi.key});ja.push(Vi),Jr(ja),Vn(yr(ja),ja)};return[Vi=>Cr(Ut,An,Vi,hi,gr,qi,On),hi,ni]}var Nl=Qo;function el(Nt,Ut,An){const En=ve.useRef({});function Vn(On){if(!En.current||En.current.data!==Nt||En.current.childrenColumnName!==Ut||En.current.getRowKey!==An){let fr=function(ur){ur.forEach((Jr,hi)=>{const ni=An(Jr,hi);gr.set(ni,Jr),Jr&&typeof Jr=="object"&&Ut in Jr&&fr(Jr[Ut]||[])})};const gr=new Map;fr(Nt),En.current={data:Nt,childrenColumnName:Ut,kvMap:gr,getRowKey:An}}return En.current.kvMap.get(On)}return[Vn]}var _l=ce(50371),al=function(Nt,Ut){var An={};for(var En in Nt)Object.prototype.hasOwnProperty.call(Nt,En)&&Ut.indexOf(En)<0&&(An[En]=Nt[En]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vn=0,En=Object.getOwnPropertySymbols(Nt);Vn<En.length;Vn++)Ut.indexOf(En[Vn])<0&&Object.prototype.propertyIsEnumerable.call(Nt,En[Vn])&&(An[En[Vn]]=Nt[En[Vn]]);return An};const vu=10;function Bs(Nt,Ut){const An={current:Nt.current,pageSize:Nt.pageSize};return Object.keys(Ut&&typeof Ut=="object"?Ut:{}).forEach(Vn=>{const On=Nt[Vn];typeof On!="function"&&(An[Vn]=On)}),An}function fl(Nt,Ut,An){const En=An&&typeof An=="object"?An:{},{total:Vn=0}=En,On=al(En,["total"]),[gr,fr]=(0,ve.useState)(()=>({current:"defaultCurrent"in On?On.defaultCurrent:1,pageSize:"defaultPageSize"in On?On.defaultPageSize:vu})),ur=(0,_l.Z)(gr,On,{total:Vn>0?Vn:Nt}),Jr=Math.ceil((Vn||Nt)/ur.pageSize);ur.current>Jr&&(ur.current=Jr||1);const hi=(qi,Qi)=>{fr({current:qi!=null?qi:1,pageSize:Qi||ur.pageSize})},ni=(qi,Qi)=>{var Vi;An&&((Vi=An.onChange)===null||Vi===void 0||Vi.call(An,qi,Qi)),hi(qi,Qi),Ut(qi,Qi||(ur==null?void 0:ur.pageSize))};return An===!1?[{},()=>{}]:[Object.assign(Object.assign({},ur),{onChange:ni}),hi]}var kc=fl,qa=ce(84105),Ho=ce(35654),Do=ce(90782),zo=ce(71430),ys=ce(18929);const bs={},Ds="SELECT_ALL",ol="SELECT_INVERT",Vs="SELECT_NONE",Ol=[],ac=(Nt,Ut)=>{let An=[];return(Ut||[]).forEach(En=>{An.push(En),En&&typeof En=="object"&&Nt in En&&(An=[].concat((0,mi.Z)(An),(0,mi.Z)(ac(Nt,En[Nt]))))}),An};var Fu=(Nt,Ut)=>{const{preserveSelectedRowKeys:An,selectedRowKeys:En,defaultSelectedRowKeys:Vn,getCheckboxProps:On,onChange:gr,onSelect:fr,onSelectAll:ur,onSelectInvert:Jr,onSelectNone:hi,onSelectMultiple:ni,columnWidth:qi,type:Qi,selections:Vi,fixed:ja,renderCell:Fa,hideSelectAll:Ta,checkStrictly:Ia=!0}=Ut||{},{prefixCls:$a,data:Ko,pageData:Jo,getRecordByKey:Fo,getRowKey:ss,expandType:_s,childrenColumnName:lo,locale:Oo,getPopupContainer:vo}=Nt,[Ba,bo]=(0,ys.Z)(En||Vn||Ol,{value:En}),is=ve.useRef(new Map),tl=(0,ve.useCallback)(wo=>{if(An){const es=new Map;wo.forEach(ts=>{let Po=Fo(ts);!Po&&is.current.has(ts)&&(Po=is.current.get(ts)),es.set(ts,Po)}),is.current=es}},[Fo,An]);ve.useEffect(()=>{tl(Ba)},[Ba]);const{keyEntities:as}=(0,ve.useMemo)(()=>{if(Ia)return{keyEntities:null};let wo=Ko;if(An){const es=new Set(Ko.map((Po,Tl)=>ss(Po,Tl))),ts=Array.from(is.current).reduce((Po,Tl)=>{let[Wo,Ss]=Tl;return es.has(Wo)?Po:Po.concat(Ss)},[]);wo=[].concat((0,mi.Z)(wo),(0,mi.Z)(ts))}return(0,zo.I8)(wo,{externalGetKey:ss,childrenPropName:lo})},[Ko,ss,Ia,lo,An]),za=(0,ve.useMemo)(()=>ac(lo,Jo),[lo,Jo]),gs=(0,ve.useMemo)(()=>{const wo=new Map;return za.forEach((es,ts)=>{const Po=ss(es,ts),Tl=(On?On(es):null)||{};wo.set(Po,Tl)}),wo},[za,ss,On]),Ns=(0,ve.useCallback)(wo=>{var es;return!!(!((es=gs.get(ss(wo)))===null||es===void 0)&&es.disabled)},[gs,ss]),[jl,Ll]=(0,ve.useMemo)(()=>{if(Ia)return[Ba||[],[]];const{checkedKeys:wo,halfCheckedKeys:es}=(0,Do.S)(Ba,!0,as,Ns);return[wo||[],es]},[Ba,Ia,as,Ns]),ku=(0,ve.useMemo)(()=>{const wo=Qi==="radio"?jl.slice(0,1):jl;return new Set(wo)},[jl,Qi]),Mu=(0,ve.useMemo)(()=>Qi==="radio"?new Set:new Set(Ll),[Ll,Qi]),[Is,cc]=(0,ve.useState)(null);ve.useEffect(()=>{Ut||bo(Ol)},[!!Ut]);const wl=(0,ve.useCallback)((wo,es)=>{let ts,Po;tl(wo),An?(ts=wo,Po=wo.map(Tl=>is.current.get(Tl))):(ts=[],Po=[],wo.forEach(Tl=>{const Wo=Fo(Tl);Wo!==void 0&&(ts.push(Tl),Po.push(Wo))})),bo(ts),gr==null||gr(ts,Po,{type:es})},[bo,Fo,gr,An]),du=(0,ve.useCallback)((wo,es,ts,Po)=>{if(fr){const Tl=ts.map(Wo=>Fo(Wo));fr(Fo(wo),es,Tl,Po)}wl(ts,"single")},[fr,Fo,wl]),Au=(0,ve.useMemo)(()=>!Vi||Ta?null:(Vi===!0?[Ds,ol,Vs]:Vi).map(es=>es===Ds?{key:"all",text:Oo.selectionAll,onSelect(){wl(Ko.map((ts,Po)=>ss(ts,Po)).filter(ts=>{const Po=gs.get(ts);return!(Po!=null&&Po.disabled)||ku.has(ts)}),"all")}}:es===ol?{key:"invert",text:Oo.selectInvert,onSelect(){const ts=new Set(ku);Jo.forEach((Tl,Wo)=>{const Ss=ss(Tl,Wo),sl=gs.get(Ss);sl!=null&&sl.disabled||(ts.has(Ss)?ts.delete(Ss):ts.add(Ss))});const Po=Array.from(ts);Jr&&Jr(Po),wl(Po,"invert")}}:es===Vs?{key:"none",text:Oo.selectNone,onSelect(){hi==null||hi(),wl(Array.from(ku).filter(ts=>{const Po=gs.get(ts);return Po==null?void 0:Po.disabled}),"none")}}:es).map(es=>Object.assign(Object.assign({},es),{onSelect:function(){for(var ts,Po,Tl=arguments.length,Wo=new Array(Tl),Ss=0;Ss<Tl;Ss++)Wo[Ss]=arguments[Ss];(Po=es.onSelect)===null||Po===void 0||(ts=Po).call.apply(ts,[es].concat(Wo)),cc(null)}})),[Vi,ku,Jo,ss,Jr,wl]);return[(0,ve.useCallback)(wo=>{var es;if(!Ut)return wo.filter(xl=>xl!==bs);let ts=(0,mi.Z)(wo);const Po=new Set(ku),Tl=za.map(ss).filter(xl=>!gs.get(xl).disabled),Wo=Tl.every(xl=>Po.has(xl)),Ss=Tl.some(xl=>Po.has(xl)),sl=()=>{const xl=[];Wo?Tl.forEach(Wl=>{Po.delete(Wl),xl.push(Wl)}):Tl.forEach(Wl=>{Po.has(Wl)||(Po.add(Wl),xl.push(Wl))});const la=Array.from(Po);ur==null||ur(!Wo,la.map(Wl=>Fo(Wl)),xl.map(Wl=>Fo(Wl))),wl(la,"all"),cc(null)};let pl;if(Qi!=="radio"){let xl;if(Au){const ps={getPopupContainer:vo,items:Au.map(($l,Uc)=>{const{key:Nd,text:Cd,onSelect:Hc}=$l;return{key:Nd!=null?Nd:Uc,onClick:()=>{Hc==null||Hc(Tl)},label:Cd}})};xl=ve.createElement("div",{className:`${$a}-selection-extra`},ve.createElement(cr.Z,{menu:ps,getPopupContainer:vo},ve.createElement("span",null,ve.createElement(qa.Z,null))))}const la=za.map((ps,$l)=>{const Uc=ss(ps,$l),Nd=gs.get(Uc)||{};return Object.assign({checked:Po.has(Uc)},Nd)}).filter(ps=>{let{disabled:$l}=ps;return $l}),Wl=!!la.length&&la.length===za.length,Cc=Wl&&la.every(ps=>{let{checked:$l}=ps;return $l}),Iu=Wl&&la.some(ps=>{let{checked:$l}=ps;return $l});pl=!Ta&&ve.createElement("div",{className:`${$a}-selection`},ve.createElement(Un.default,{checked:Wl?Cc:!!za.length&&Wo,indeterminate:Wl?!Cc&&Iu:!Wo&&Ss,onChange:sl,disabled:za.length===0||Wl,"aria-label":xl?"Custom selection":"Select all",skipGroup:!0}),xl)}let td;Qi==="radio"?td=(xl,la,Wl)=>{const Cc=ss(la,Wl),Iu=Po.has(Cc);return{node:ve.createElement(Hr.ZP,Object.assign({},gs.get(Cc),{checked:Iu,onClick:ps=>ps.stopPropagation(),onChange:ps=>{Po.has(Cc)||du(Cc,!0,[Cc],ps.nativeEvent)}})),checked:Iu}}:td=(xl,la,Wl)=>{var Cc;const Iu=ss(la,Wl),ps=Po.has(Iu),$l=Mu.has(Iu),Uc=gs.get(Iu);let Nd;return _s==="nest"?Nd=$l:Nd=(Cc=Uc==null?void 0:Uc.indeterminate)!==null&&Cc!==void 0?Cc:$l,{node:ve.createElement(Un.default,Object.assign({},Uc,{indeterminate:Nd,checked:ps,skipGroup:!0,onClick:Cd=>Cd.stopPropagation(),onChange:Cd=>{let{nativeEvent:Hc}=Cd;const{shiftKey:Yu}=Hc;let CA=-1,Zc=-1;if(Yu&&Ia){const Xu=new Set([Is,Iu]);Tl.some((jc,Nu)=>{if(Xu.has(jc))if(CA===-1)CA=Nu;else return Zc=Nu,!0;return!1})}if(Zc!==-1&&CA!==Zc&&Ia){const Xu=Tl.slice(CA,Zc+1),jc=[];ps?Xu.forEach(Hu=>{Po.has(Hu)&&(jc.push(Hu),Po.delete(Hu))}):Xu.forEach(Hu=>{Po.has(Hu)||(jc.push(Hu),Po.add(Hu))});const Nu=Array.from(Po);ni==null||ni(!ps,Nu.map(Hu=>Fo(Hu)),jc.map(Hu=>Fo(Hu))),wl(Nu,"multiple")}else{const Xu=jl;if(Ia){const jc=ps?(0,Ho._5)(Xu,Iu):(0,Ho.L0)(Xu,Iu);du(Iu,!ps,jc,Hc)}else{const jc=(0,Do.S)([].concat((0,mi.Z)(Xu),[Iu]),!0,as,Ns),{checkedKeys:Nu,halfCheckedKeys:Hu}=jc;let ld=Nu;if(ps){const dA=new Set(Nu);dA.delete(Iu),ld=(0,Do.S)(Array.from(dA),{checked:!1,halfCheckedKeys:Hu},as,Ns).checkedKeys}du(Iu,!ps,ld,Hc)}}cc(ps?null:Iu)}})),checked:ps}};const Gu=(xl,la,Wl)=>{const{node:Cc,checked:Iu}=td(xl,la,Wl);return Fa?Fa(Iu,la,Wl,Cc):Cc};if(!ts.includes(bs))if(ts.findIndex(xl=>{var la;return((la=xl[vr])===null||la===void 0?void 0:la.columnType)==="EXPAND_COLUMN"})===0){const[xl,...la]=ts;ts=[xl,bs].concat((0,mi.Z)(la))}else ts=[bs].concat((0,mi.Z)(ts));const Qd=ts.indexOf(bs);ts=ts.filter((xl,la)=>xl!==bs||la===Qd);const tc=ts[Qd-1],zd=ts[Qd+1];let Ja=ja;Ja===void 0&&((zd==null?void 0:zd.fixed)!==void 0?Ja=zd.fixed:(tc==null?void 0:tc.fixed)!==void 0&&(Ja=tc.fixed)),Ja&&tc&&((es=tc[vr])===null||es===void 0?void 0:es.columnType)==="EXPAND_COLUMN"&&tc.fixed===void 0&&(tc.fixed=Ja);const Rc=Re()(`${$a}-selection-col`,{[`${$a}-selection-col-with-dropdown`]:Vi&&Qi==="checkbox"}),YA={fixed:Ja,width:qi,className:`${$a}-selection-column`,title:Ut.columnTitle||pl,render:Gu,onCell:Ut.onCell,[vr]:{className:Rc}};return ts.map(xl=>xl===bs?YA:xl)},[ss,za,Ut,jl,ku,Mu,qi,Au,_s,Is,gs,ni,du,Ns]),ku]},oc=ce(89489),sc=ce(59477),wc=ce(6848);const Kl="ascend",$d="descend";function Hd(Nt){return typeof Nt.sorter=="object"&&typeof Nt.sorter.multiple=="number"?Nt.sorter.multiple:!1}function wd(Nt){return typeof Nt=="function"?Nt:Nt&&typeof Nt=="object"&&Nt.compare?Nt.compare:!1}function eA(Nt,Ut){return Ut?Nt[Nt.indexOf(Ut)+1]:Nt[0]}function Mc(Nt,Ut,An){let En=[];function Vn(On,gr){En.push({column:On,key:Ps(On,gr),multiplePriority:Hd(On),sortOrder:On.sortOrder})}return(Nt||[]).forEach((On,gr)=>{const fr=jo(gr,An);On.children?("sortOrder"in On&&Vn(On,fr),En=[].concat((0,mi.Z)(En),(0,mi.Z)(Mc(On.children,Ut,fr)))):On.sorter&&("sortOrder"in On?Vn(On,fr):Ut&&On.defaultSortOrder&&En.push({column:On,key:Ps(On,fr),multiplePriority:Hd(On),sortOrder:On.defaultSortOrder}))}),En}function bA(Nt,Ut,An,En,Vn,On,gr,fr){return(Ut||[]).map((ur,Jr)=>{const hi=jo(Jr,fr);let ni=ur;if(ni.sorter){const qi=ni.sortDirections||Vn,Qi=ni.showSorterTooltip===void 0?gr:ni.showSorterTooltip,Vi=Ps(ni,hi),ja=An.find(_s=>{let{key:lo}=_s;return lo===Vi}),Fa=ja?ja.sortOrder:null,Ta=eA(qi,Fa);let Ia;if(ur.sortIcon)Ia=ur.sortIcon({sortOrder:Fa});else{const _s=qi.includes(Kl)&&ve.createElement(sc.Z,{className:Re()(`${Nt}-column-sorter-up`,{active:Fa===Kl})}),lo=qi.includes($d)&&ve.createElement(oc.Z,{className:Re()(`${Nt}-column-sorter-down`,{active:Fa===$d})});Ia=ve.createElement("span",{className:Re()(`${Nt}-column-sorter`,{[`${Nt}-column-sorter-full`]:!!(_s&&lo)})},ve.createElement("span",{className:`${Nt}-column-sorter-inner`,"aria-hidden":"true"},_s,lo))}const{cancelSort:$a,triggerAsc:Ko,triggerDesc:Jo}=On||{};let Fo=$a;Ta===$d?Fo=Jo:Ta===Kl&&(Fo=Ko);const ss=typeof Qi=="object"?Qi:{title:Fo};ni=Object.assign(Object.assign({},ni),{className:Re()(ni.className,{[`${Nt}-column-sort`]:Fa}),title:_s=>{const lo=ve.createElement("div",{className:`${Nt}-column-sorters`},ve.createElement("span",{className:`${Nt}-column-title`},xs(ur.title,_s)),Ia);return Qi?ve.createElement(wc.Z,Object.assign({},ss),lo):lo},onHeaderCell:_s=>{const lo=ur.onHeaderCell&&ur.onHeaderCell(_s)||{},Oo=lo.onClick,vo=lo.onKeyDown;lo.onClick=is=>{En({column:ur,key:Vi,sortOrder:Ta,multiplePriority:Hd(ur)}),Oo==null||Oo(is)},lo.onKeyDown=is=>{is.keyCode===ia.Z.ENTER&&(En({column:ur,key:Vi,sortOrder:Ta,multiplePriority:Hd(ur)}),vo==null||vo(is))};const Ba=Cs(ur.title,{}),bo=Ba==null?void 0:Ba.toString();return Fa?lo["aria-sort"]=Fa==="ascend"?"ascending":"descending":lo["aria-label"]=bo||"",lo.className=Re()(lo.className,`${Nt}-column-has-sorters`),lo.tabIndex=0,ur.ellipsis&&(lo.title=(Ba!=null?Ba:"").toString()),lo}})}return"children"in ni&&(ni=Object.assign(Object.assign({},ni),{children:bA(Nt,ni.children,An,En,Vn,On,gr,hi)})),ni})}function $u(Nt){const{column:Ut,sortOrder:An}=Nt;return{column:Ut,order:An,field:Ut.dataIndex,columnKey:Ut.key}}function Id(Nt){const Ut=Nt.filter(An=>{let{sortOrder:En}=An;return En}).map($u);return Ut.length===0&&Nt.length?Object.assign(Object.assign({},$u(Nt[Nt.length-1])),{column:void 0}):Ut.length<=1?Ut[0]||{}:Ut}function yl(Nt,Ut,An){const En=Ut.slice().sort((gr,fr)=>fr.multiplePriority-gr.multiplePriority),Vn=Nt.slice(),On=En.filter(gr=>{let{column:{sorter:fr},sortOrder:ur}=gr;return wd(fr)&&ur});return On.length?Vn.sort((gr,fr)=>{for(let ur=0;ur<On.length;ur+=1){const Jr=On[ur],{column:{sorter:hi},sortOrder:ni}=Jr,qi=wd(hi);if(qi&&ni){const Qi=qi(gr,fr,ni);if(Qi!==0)return ni===Kl?Qi:-Qi}}return 0}).map(gr=>{const fr=gr[An];return fr?Object.assign(Object.assign({},gr),{[An]:yl(fr,Ut,An)}):gr}):Vn}function bl(Nt){let{prefixCls:Ut,mergedColumns:An,onSorterChange:En,sortDirections:Vn,tableLocale:On,showSorterTooltip:gr}=Nt;const[fr,ur]=ve.useState(Mc(An,!0)),Jr=ve.useMemo(()=>{let Vi=!0;const ja=Mc(An,!1);if(!ja.length)return fr;const Fa=[];function Ta($a){Vi?Fa.push($a):Fa.push(Object.assign(Object.assign({},$a),{sortOrder:null}))}let Ia=null;return ja.forEach($a=>{Ia===null?(Ta($a),$a.sortOrder&&($a.multiplePriority===!1?Vi=!1:Ia=!0)):(Ia&&$a.multiplePriority!==!1||(Vi=!1),Ta($a))}),Fa},[An,fr]),hi=ve.useMemo(()=>{const Vi=Jr.map(ja=>{let{column:Fa,sortOrder:Ta}=ja;return{column:Fa,order:Ta}});return{sortColumns:Vi,sortColumn:Vi[0]&&Vi[0].column,sortOrder:Vi[0]&&Vi[0].order}},[Jr]);function ni(Vi){let ja;Vi.multiplePriority===!1||!Jr.length||Jr[0].multiplePriority===!1?ja=[Vi]:ja=[].concat((0,mi.Z)(Jr.filter(Fa=>{let{key:Ta}=Fa;return Ta!==Vi.key})),[Vi]),ur(ja),En(Id(ja),ja)}return[Vi=>bA(Ut,Vi,Jr,ni,Vn,On,gr),Jr,hi,()=>Id(Jr)]}function Hl(Nt,Ut){return Nt.map(An=>{const En=Object.assign({},An);return En.title=xs(An.title,Ut),"children"in En&&(En.children=Hl(En.children,Ut)),En})}function zc(Nt){return[ve.useCallback(An=>Hl(An,Nt),[Nt])]}var Ac=oo((Nt,Ut)=>{const{_renderTimes:An}=Nt,{_renderTimes:En}=Ut;return An!==En}),hd=go((Nt,Ut)=>{const{_renderTimes:An}=Nt,{_renderTimes:En}=Ut;return An!==En}),Tc=ce(64993),Ru=ce(17313),Aa=ce(83116),$o=ce(37613),rs=Nt=>{const{componentCls:Ut}=Nt,An=`${Nt.lineWidth}px ${Nt.lineType} ${Nt.tableBorderColor}`,En=(Vn,On,gr)=>({[`&${Ut}-${Vn}`]:{[`> ${Ut}-container`]:{[`> ${Ut}-content, > ${Ut}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ut}-expanded-row-fixed`]:{margin:`-${On}px -${gr+Nt.lineWidth}px`}}}}}});return{[`${Ut}-wrapper`]:{[`${Ut}${Ut}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ut}-title`]:{border:An,borderBottom:0},[`> ${Ut}-container`]:{borderInlineStart:An,borderTop:An,[`
> ${Ut}-content,
> ${Ut}-header,
> ${Ut}-body,
> ${Ut}-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:An},"> thead":{"> tr:not(:last-child) > th":{borderBottom:An},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ut}-cell-fix-right-first::after`]:{borderInlineEnd:An}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ut}-expanded-row-fixed`]:{margin:`-${Nt.tablePaddingVertical}px -${Nt.tablePaddingHorizontal+Nt.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Nt.lineWidth,bottom:0,borderInlineEnd:An,content:'""'}}}}}},[`&${Ut}-scroll-horizontal`]:{[`> ${Ut}-container > ${Ut}-body`]:{"> table > tbody":{[`
> tr${Ut}-expanded-row,
> tr${Ut}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},En("middle",Nt.tablePaddingVerticalMiddle,Nt.tablePaddingHorizontalMiddle)),En("small",Nt.tablePaddingVerticalSmall,Nt.tablePaddingHorizontalSmall)),{[`> ${Ut}-footer`]:{border:An,borderTop:0}}),[`${Ut}-cell`]:{[`${Ut}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Nt.lineWidth}px 0 ${Nt.lineWidth}px ${Nt.tableHeaderBg}`}},[`${Ut}-bordered ${Ut}-cell-scrollbar`]:{borderInlineEnd:An}}}},tu=Nt=>{const{componentCls:Ut}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-cell-ellipsis`]:Object.assign(Object.assign({},Ru.vS),{wordBreak:"keep-all",[`
&${Ut}-cell-fix-left-last,
&${Ut}-cell-fix-right-first
`]:{overflow:"visible",[`${Ut}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ut}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Kc=Nt=>{const{componentCls:Ut}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-tbody > tr${Ut}-placeholder`]:{textAlign:"center",color:Nt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Nt.colorBgContainer}}}}},Pc=ce(15969),xd=Nt=>{const{componentCls:Ut,antCls:An,controlInteractiveSize:En,motionDurationSlow:Vn,lineWidth:On,paddingXS:gr,lineType:fr,tableBorderColor:ur,tableExpandIconBg:Jr,tableExpandColumnWidth:hi,borderRadius:ni,fontSize:qi,fontSizeSM:Qi,lineHeight:Vi,tablePaddingVertical:ja,tablePaddingHorizontal:Fa,tableExpandedRowBg:Ta,paddingXXS:Ia}=Nt,$a=En/2-On,Ko=$a*2+On*3,Jo=`${On}px ${fr} ${ur}`,Fo=Ia-On;return{[`${Ut}-wrapper`]:{[`${Ut}-expand-icon-col`]:{width:hi},[`${Ut}-row-expand-icon-cell`]:{textAlign:"center",[`${Ut}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ut}-row-indent`]:{height:1,float:"left"},[`${Ut}-row-expand-icon`]:Object.assign(Object.assign({},(0,Pc.N)(Nt)),{position:"relative",float:"left",boxSizing:"border-box",width:Ko,height:Ko,padding:0,color:"inherit",lineHeight:`${Ko}px`,background:Jr,border:Jo,borderRadius:ni,transform:`scale(${En/Ko})`,transition:`all ${Vn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Vn} ease-out`,content:'""'},"&::before":{top:$a,insetInlineEnd:Fo,insetInlineStart:Fo,height:On},"&::after":{top:Fo,bottom:Fo,insetInlineStart:$a,width:On,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"}}),[`${Ut}-row-indent + ${Ut}-row-expand-icon`]:{marginTop:(qi*Vi-On*3)/2-Math.ceil((Qi*1.4-On*3)/2),marginInlineEnd:gr},[`tr${Ut}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ta}},[`${An}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ut}-expanded-row-fixed`]:{position:"relative",margin:`-${ja}px -${Fa}px`,padding:`${ja}px ${Fa}px`}}}},Ld=Nt=>{const{componentCls:Ut,antCls:An,iconCls:En,tableFilterDropdownWidth:Vn,tableFilterDropdownSearchWidth:On,paddingXXS:gr,paddingXS:fr,colorText:ur,lineWidth:Jr,lineType:hi,tableBorderColor:ni,tableHeaderIconColor:qi,fontSizeSM:Qi,tablePaddingHorizontal:Vi,borderRadius:ja,motionDurationSlow:Fa,colorTextDescription:Ta,colorPrimary:Ia,tableHeaderFilterActiveBg:$a,colorTextDisabled:Ko,tableFilterDropdownBg:Jo,tableFilterDropdownHeight:Fo,controlItemBgHover:ss,controlItemBgActive:_s,boxShadowSecondary:lo,filterDropdownMenuBg:Oo}=Nt,vo=`${An}-dropdown`,Ba=`${Ut}-filter-dropdown`,bo=`${An}-tree`,is=`${Jr}px ${hi} ${ni}`;return[{[`${Ut}-wrapper`]:{[`${Ut}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ut}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-gr,marginInline:`${gr}px ${-Vi/2}px`,padding:`0 ${gr}px`,color:qi,fontSize:Qi,borderRadius:ja,cursor:"pointer",transition:`all ${Fa}`,"&:hover":{color:Ta,background:$a},"&.active":{color:Ia}}}},{[`${An}-dropdown`]:{[Ba]:Object.assign(Object.assign({},(0,Ru.Wf)(Nt)),{minWidth:Vn,backgroundColor:Jo,borderRadius:ja,boxShadow:lo,overflow:"hidden",[`${vo}-menu`]:{maxHeight:Fo,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Oo,"&:empty::after":{display:"block",padding:`${fr}px 0`,color:Ko,fontSize:Qi,textAlign:"center",content:'"Not Found"'}},[`${Ba}-tree`]:{paddingBlock:`${fr}px 0`,paddingInline:fr,[bo]:{padding:0},[`${bo}-treenode ${bo}-node-content-wrapper:hover`]:{backgroundColor:ss},[`${bo}-treenode-checkbox-checked ${bo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:_s}}},[`${Ba}-search`]:{padding:fr,borderBottom:is,"&-input":{input:{minWidth:On},[En]:{color:Ko}}},[`${Ba}-checkall`]:{width:"100%",marginBottom:gr,marginInlineStart:gr},[`${Ba}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${fr-Jr}px ${fr}px`,overflow:"hidden",borderTop:is}})}},{[`${An}-dropdown ${Ba}, ${Ba}-submenu`]:{[`${An}-checkbox-wrapper + span`]:{paddingInlineStart:fr,color:ur},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Du=Nt=>{const{componentCls:Ut,lineWidth:An,colorSplit:En,motionDurationSlow:Vn,zIndexTableFixed:On,tableBg:gr,zIndexTableSticky:fr}=Nt,ur=En;return{[`${Ut}-wrapper`]:{[`
${Ut}-cell-fix-left,
${Ut}-cell-fix-right
`]:{position:"sticky !important",zIndex:On,background:gr},[`
${Ut}-cell-fix-left-first::after,
${Ut}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-An,width:30,transform:"translateX(100%)",transition:`box-shadow ${Vn}`,content:'""',pointerEvents:"none"},[`${Ut}-cell-fix-left-all::after`]:{display:"none"},[`
${Ut}-cell-fix-right-first::after,
${Ut}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-An,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Vn}`,content:'""',pointerEvents:"none"},[`${Ut}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:fr+1,width:30,transition:`box-shadow ${Vn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ut}-ping-left`]:{[`&:not(${Ut}-has-fix-left) ${Ut}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${ur}`}},[`
${Ut}-cell-fix-left-first::after,
${Ut}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${ur}`},[`${Ut}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ut}-ping-right`]:{[`&:not(${Ut}-has-fix-right) ${Ut}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${ur}`}},[`
${Ut}-cell-fix-right-first::after,
${Ut}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${ur}`}}}}},Jl=Nt=>{const{componentCls:Ut,antCls:An}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-pagination${An}-pagination`]:{margin:`${Nt.margin}px 0`},[`${Ut}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Nt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},fc=Nt=>{const{componentCls:Ut,tableRadius:An}=Nt;return{[`${Ut}-wrapper`]:{[Ut]:{[`${Ut}-title, ${Ut}-header`]:{borderRadius:`${An}px ${An}px 0 0`},[`${Ut}-title + ${Ut}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ut}-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:An,borderStartEndRadius:An,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:An},"> *:last-child":{borderStartEndRadius:An}}},"&-footer":{borderRadius:`0 0 ${An}px ${An}px`}}}}},_c=Nt=>{const{componentCls:Ut}=Nt;return{[`${Ut}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ut}-pagination-left`]:{justifyContent:"flex-end"},[`${Ut}-pagination-right`]:{justifyContent:"flex-start"},[`${Ut}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ut}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ut}-row-indent`]:{float:"right"}}}}},Wc=Nt=>{const{componentCls:Ut,antCls:An,iconCls:En,fontSizeIcon:Vn,padding:On,paddingXS:gr,tableHeaderIconColor:fr,tableHeaderIconColorHover:ur,tableSelectionColumnWidth:Jr}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-selection-col`]:{width:Jr,[`&${Ut}-selection-col-with-dropdown`]:{width:Jr+Vn+On/4}},[`${Ut}-bordered ${Ut}-selection-col`]:{width:Jr+gr*2,[`&${Ut}-selection-col-with-dropdown`]:{width:Jr+Vn+On/4+gr*2}},[`
table tr th${Ut}-selection-column,
table tr td${Ut}-selection-column
`]:{paddingInlineEnd:Nt.paddingXS,paddingInlineStart:Nt.paddingXS,textAlign:"center",[`${An}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ut}-selection-column${Ut}-cell-fix-left`]:{zIndex:Nt.zIndexTableFixed+1},[`table tr th${Ut}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ut}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ut}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Nt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Nt.tablePaddingHorizontal/4}px`,[En]:{color:fr,fontSize:Vn,verticalAlign:"baseline","&:hover":{color:ur}}}}}},jd=Nt=>{const{componentCls:Ut}=Nt,An=(En,Vn,On,gr)=>({[`${Ut}${Ut}-${En}`]:{fontSize:gr,[`
${Ut}-title,
${Ut}-footer,
${Ut}-cell,
${Ut}-thead > tr > th,
${Ut}-tbody > tr > th,
${Ut}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Vn}px ${On}px`},[`${Ut}-filter-trigger`]:{marginInlineEnd:`-${On/2}px`},[`${Ut}-expanded-row-fixed`]:{margin:`-${Vn}px -${On}px`},[`${Ut}-tbody`]:{[`${Ut}-wrapper:only-child ${Ut}`]:{marginBlock:`-${Vn}px`,marginInline:`${Nt.tableExpandColumnWidth-On}px -${On}px`}},[`${Ut}-selection-column`]:{paddingInlineStart:`${On/4}px`}}});return{[`${Ut}-wrapper`]:Object.assign(Object.assign({},An("middle",Nt.tablePaddingVerticalMiddle,Nt.tablePaddingHorizontalMiddle,Nt.tableFontSizeMiddle)),An("small",Nt.tablePaddingVerticalSmall,Nt.tablePaddingHorizontalSmall,Nt.tableFontSizeSmall))}},od=Nt=>{const{componentCls:Ut,marginXXS:An,fontSizeIcon:En,tableHeaderIconColor:Vn,tableHeaderIconColorHover:On}=Nt;return{[`${Ut}-wrapper`]:{[`${Ut}-thead th${Ut}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Nt.motionDurationSlow}`,"&:hover":{background:Nt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Nt.colorPrimary},[`
&${Ut}-cell-fix-left:hover,
&${Ut}-cell-fix-right:hover
`]:{background:Nt.tableFixedHeaderSortActiveBg}},[`${Ut}-thead th${Ut}-column-sort`]:{background:Nt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ut}-column-sort`]:{background:Nt.tableBodySortBg},[`${Ut}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ut}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ut}-column-sorter`]:{marginInlineStart:An,color:Vn,fontSize:0,transition:`color ${Nt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:En,"&.active":{color:Nt.colorPrimary}},[`${Ut}-column-sorter-up + ${Ut}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ut}-column-sorters:hover ${Ut}-column-sorter`]:{color:On}}}},xc=Nt=>{const{componentCls:Ut,opacityLoading:An,tableScrollThumbBg:En,tableScrollThumbBgHover:Vn,tableScrollThumbSize:On,tableScrollBg:gr,zIndexTableSticky:fr,stickyScrollBarBorderRadius:ur}=Nt,Jr=`${Nt.lineWidth}px ${Nt.lineType} ${Nt.tableBorderColor}`;return{[`${Ut}-wrapper`]:{[`${Ut}-sticky`]:{"&-holder":{position:"sticky",zIndex:fr,background:Nt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${On}px !important`,zIndex:fr,display:"flex",alignItems:"center",background:gr,borderTop:Jr,opacity:An,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:On,backgroundColor:En,borderRadius:ur,transition:`all ${Nt.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Vn}}}}}}},uA=Nt=>{const{componentCls:Ut,lineWidth:An,tableBorderColor:En}=Nt,Vn=`${An}px ${Nt.lineType} ${En}`;return{[`${Ut}-wrapper`]:{[`${Ut}-summary`]:{position:"relative",zIndex:Nt.zIndexTableFixed,background:Nt.tableBg,"> tr":{"> th, > td":{borderBottom:Vn}}},[`div${Ut}-summary`]:{boxShadow:`0 -${An}px 0 ${En}`}}}},GA=Nt=>{const{componentCls:Ut}=Nt,An=`${Nt.lineWidth}px ${Nt.lineType} ${Nt.tableBorderColor}`,En=`${Ut}-expanded-row-cell`;return{[`${Ut}-wrapper`]:{[`${Ut}-tbody-virtual`]:{[`${Ut}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ut}-cell`]:{borderBottom:An},[`${Ut}-expanded-row`]:{[`${En}${En}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Nt.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ut}-bordered`]:{[`${Ut}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:An,position:"absolute"},[`${Ut}-cell`]:{borderInlineEnd:An,[`&${Ut}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Nt.lineWidth,borderInlineStart:An}}}}}}};const sd=Nt=>{const{componentCls:Ut,fontWeightStrong:An,tablePaddingVertical:En,tablePaddingHorizontal:Vn,lineWidth:On,lineType:gr,tableBorderColor:fr,tableFontSize:ur,tableBg:Jr,tableRadius:hi,tableHeaderTextColor:ni,motionDurationMid:qi,tableHeaderBg:Qi,tableHeaderCellSplitColor:Vi,tableRowHoverBg:ja,tableSelectedRowBg:Fa,tableSelectedRowHoverBg:Ta,tableFooterTextColor:Ia,tableFooterBg:$a,paddingContentVerticalLG:Ko}=Nt,Jo=`${On}px ${gr} ${fr}`;return{[`${Ut}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ru.dF)()),{[Ut]:Object.assign(Object.assign({},(0,Ru.Wf)(Nt)),{fontSize:ur,background:Jr,borderRadius:`${hi}px ${hi}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${hi}px ${hi}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ut}-cell,
${Ut}-thead > tr > th,
${Ut}-tbody > tr > th,
${Ut}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ko}px ${Vn}px`,overflowWrap:"break-word"},[`${Ut}-title`]:{padding:`${En}px ${Vn}px`},[`${Ut}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ni,fontWeight:An,textAlign:"start",background:Qi,borderBottom:Jo,transition:`background ${qi} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ut}-selection-column):not(${Ut}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Vi,transform:"translateY(-50%)",transition:`background-color ${qi}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ut}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${qi}, border-color ${qi}`,borderBottom:Jo,[`
> ${Ut}-wrapper:only-child,
> ${Ut}-expanded-row-fixed > ${Ut}-wrapper:only-child
`]:{[Ut]:{marginBlock:`-${En}px`,marginInline:`${Nt.tableExpandColumnWidth-Vn}px -${Vn}px`,[`${Ut}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ni,fontWeight:An,textAlign:"start",background:Qi,borderBottom:Jo,transition:`background ${qi} ease`},[`
&${Ut}-row:hover > th,
&${Ut}-row:hover > td,
> th${Ut}-cell-row-hover,
> td${Ut}-cell-row-hover
`]:{background:ja},[`&${Ut}-row-selected`]:{"> th, > td":{background:Fa},"&:hover > th, &:hover > td":{background:Ta}}}},[`${Ut}-footer`]:{padding:`${En}px ${Vn}px`,color:Ia,background:$a}})}};var xA=(0,Aa.Z)("Table",Nt=>{const{colorTextHeading:Ut,colorSplit:An,colorIcon:En,colorIconHover:Vn,opacityLoading:On,colorBgContainer:gr,controlInteractiveSize:fr,headerBg:ur,headerColor:Jr,headerSortActiveBg:hi,headerSortHoverBg:ni,bodySortBg:qi,rowHoverBg:Qi,rowSelectedBg:Vi,rowSelectedHoverBg:ja,rowExpandedBg:Fa,cellPaddingBlock:Ta,cellPaddingInline:Ia,cellPaddingBlockMD:$a,cellPaddingInlineMD:Ko,cellPaddingBlockSM:Jo,cellPaddingInlineSM:Fo,borderColor:ss,footerBg:_s,footerColor:lo,headerBorderRadius:Oo,cellFontSize:vo,cellFontSizeMD:Ba,cellFontSizeSM:bo,headerSplitColor:is,fixedHeaderSortActiveBg:tl,headerFilterHoverBg:as,filterDropdownBg:za,expandIconBg:gs,selectionColumnWidth:Ns,stickyScrollBarBg:jl}=Nt,Ll=new Tc.C(En),ku=new Tc.C(Vn),Mu=2,Is=(0,$o.TS)(Nt,{tableFontSize:vo,tableBg:gr,tableRadius:Oo,tablePaddingVertical:Ta,tablePaddingHorizontal:Ia,tablePaddingVerticalMiddle:$a,tablePaddingHorizontalMiddle:Ko,tablePaddingVerticalSmall:Jo,tablePaddingHorizontalSmall:Fo,tableBorderColor:ss,tableHeaderTextColor:Jr,tableHeaderBg:ur,tableFooterTextColor:lo,tableFooterBg:_s,tableHeaderCellSplitColor:is,tableHeaderSortBg:hi,tableHeaderSortHoverBg:ni,tableHeaderIconColor:Ll.clone().setAlpha(Ll.getAlpha()*On).toRgbString(),tableHeaderIconColorHover:ku.clone().setAlpha(ku.getAlpha()*On).toRgbString(),tableBodySortBg:qi,tableFixedHeaderSortActiveBg:tl,tableHeaderFilterActiveBg:as,tableFilterDropdownBg:za,tableRowHoverBg:Qi,tableSelectedRowBg:Vi,tableSelectedRowHoverBg:ja,zIndexTableFixed:Mu,zIndexTableSticky:Mu+1,tableFontSizeMiddle:Ba,tableFontSizeSmall:bo,tableSelectionColumnWidth:Ns,tableExpandIconBg:gs,tableExpandColumnWidth:fr+2*Nt.padding,tableExpandedRowBg:Fa,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:jl,tableScrollThumbBgHover:Ut,tableScrollBg:An});return[sd(Is),Jl(Is),uA(Is),od(Is),Ld(Is),rs(Is),fc(Is),xd(Is),uA(Is),Kc(Is),Wc(Is),Du(Is),xc(Is),tu(Is),jd(Is),_c(Is),GA(Is)]},Nt=>{const{colorFillAlter:Ut,colorBgContainer:An,colorTextHeading:En,colorFillSecondary:Vn,colorFillContent:On,controlItemBgActive:gr,controlItemBgActiveHover:fr,padding:ur,paddingSM:Jr,paddingXS:hi,colorBorderSecondary:ni,borderRadiusLG:qi,fontSize:Qi,controlHeight:Vi,colorTextPlaceholder:ja}=Nt,Fa=new Tc.C(Vn).onBackground(An).toHexShortString(),Ta=new Tc.C(On).onBackground(An).toHexShortString(),Ia=new Tc.C(Ut).onBackground(An).toHexShortString();return{headerBg:Ia,headerColor:En,headerSortActiveBg:Fa,headerSortHoverBg:Ta,bodySortBg:Ia,rowHoverBg:Ia,rowSelectedBg:gr,rowSelectedHoverBg:fr,rowExpandedBg:Ut,cellPaddingBlock:ur,cellPaddingInline:ur,cellPaddingBlockMD:Jr,cellPaddingInlineMD:hi,cellPaddingBlockSM:hi,cellPaddingInlineSM:hi,borderColor:ni,headerBorderRadius:qi,footerBg:Ia,footerColor:En,cellFontSize:Qi,cellFontSizeMD:Qi,cellFontSizeSM:Qi,headerSplitColor:ni,fixedHeaderSortActiveBg:Fa,headerFilterHoverBg:On,filterDropdownMenuBg:An,filterDropdownBg:An,expandIconBg:An,selectionColumnWidth:Vi,stickyScrollBarBg:ja,stickyScrollBarBorderRadius:100}});const ih=[],bf=(Nt,Ut)=>{const{prefixCls:An,className:En,rootClassName:Vn,style:On,size:gr,bordered:fr,dropdownPrefixCls:ur,dataSource:Jr,pagination:hi,rowSelection:ni,rowKey:qi="key",rowClassName:Qi,columns:Vi,children:ja,childrenColumnName:Fa,onChange:Ta,getPopupContainer:Ia,loading:$a,expandIcon:Ko,expandable:Jo,expandedRowRender:Fo,expandIconColumnIndex:ss,indentSize:_s,scroll:lo,sortDirections:Oo,locale:vo,showSorterTooltip:Ba=!0,virtual:bo}=Nt,is=ve.useMemo(()=>Vi||Dt(ja),[Vi,ja]),tl=ve.useMemo(()=>is.some(Bl=>Bl.responsive),[is]),as=(0,Zs.Z)(tl),za=ve.useMemo(()=>{const Bl=new Set(Object.keys(as).filter(au=>as[au]));return is.filter(au=>!au.responsive||au.responsive.some(Lc=>Bl.has(Lc)))},[is,as]),gs=(0,So.Z)(Nt,["className","style","columns"]),{locale:Ns=qs.Z,direction:jl,table:Ll,renderEmpty:ku,getPrefixCls:Mu,getPopupContainer:Is}=ve.useContext(er.E_),cc=(0,fs.Z)(gr),wl=Object.assign(Object.assign({},Ns.Table),vo),du=Jr||ih,Au=Mu("table",An),Ic=Mu("dropdown",ur),wo=Object.assign({childrenColumnName:Fa,expandIconColumnIndex:ss},Jo),{childrenColumnName:es="children"}=wo,ts=ve.useMemo(()=>du.some(Bl=>Bl==null?void 0:Bl[es])?"nest":Fo||Jo&&Jo.expandedRowRender?"row":null,[du]),Po={body:ve.useRef()},Tl=ve.useMemo(()=>typeof qi=="function"?qi:Bl=>Bl==null?void 0:Bl[qi],[qi]),[Wo]=el(du,es,Tl),Ss={},sl=function(Bl,au){let Lc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ou,Bc,Dc;const nc=Object.assign(Object.assign({},Ss),Bl);Lc&&((ou=Ss.resetPagination)===null||ou===void 0||ou.call(Ss),!((Bc=nc.pagination)===null||Bc===void 0)&&Bc.current&&(nc.pagination.current=1),hi&&hi.onChange&&hi.onChange(1,(Dc=nc.pagination)===null||Dc===void 0?void 0:Dc.pageSize)),lo&&lo.scrollToFirstRowOnChange!==!1&&Po.body.current&&(0,Ms.Z)(0,{getContainer:()=>Po.body.current}),Ta==null||Ta(nc.pagination,nc.filters,nc.sorter,{currentDataSource:Eu(yl(du,nc.sorterStates,es),nc.filterStates),action:au})},pl=(Bl,au)=>{sl({sorter:Bl,sorterStates:au},"sort",!1)},[td,Gu,Qd,tc]=bl({prefixCls:Au,mergedColumns:za,onSorterChange:pl,sortDirections:Oo||["ascend","descend"],tableLocale:wl,showSorterTooltip:Ba}),zd=ve.useMemo(()=>yl(du,Gu,es),[du,Gu]);Ss.sorter=tc(),Ss.sorterStates=Gu;const Ja=(Bl,au)=>{sl({filters:Bl,filterStates:au},"filter",!0)},[Rc,YA,xl]=Nl({prefixCls:Au,locale:wl,dropdownPrefixCls:Ic,mergedColumns:za,onFilterChange:Ja,getPopupContainer:Ia||Is}),la=Eu(zd,YA);Ss.filters=xl,Ss.filterStates=YA;const Wl=ve.useMemo(()=>{const Bl={};return Object.keys(xl).forEach(au=>{xl[au]!==null&&(Bl[au]=xl[au])}),Object.assign(Object.assign({},Qd),{filters:Bl})},[Qd,xl]),[Cc]=zc(Wl),Iu=(Bl,au)=>{sl({pagination:Object.assign(Object.assign({},Ss.pagination),{current:Bl,pageSize:au})},"paginate")},[ps,$l]=kc(la.length,Iu,hi);Ss.pagination=hi===!1?{}:Bs(ps,hi),Ss.resetPagination=$l;const Uc=ve.useMemo(()=>{if(hi===!1||!ps.pageSize)return la;const{current:Bl=1,total:au,pageSize:Lc=vu}=ps;return la.length<au?la.length>Lc?la.slice((Bl-1)*Lc,Bl*Lc):la:la.slice((Bl-1)*Lc,Bl*Lc)},[!!hi,la,ps&&ps.current,ps&&ps.pageSize,ps&&ps.total]),[Nd,Cd]=Fu({prefixCls:Au,data:la,pageData:Uc,getRowKey:Tl,getRecordByKey:Wo,expandType:ts,childrenColumnName:es,locale:wl,getPopupContainer:Ia||Is},ni),Hc=(Bl,au,Lc)=>{let ou;return typeof Qi=="function"?ou=Re()(Qi(Bl,au,Lc)):ou=Re()(Qi),Re()({[`${Au}-row-selected`]:Cd.has(Tl(Bl,au))},ou)};wo.__PARENT_RENDER_ICON__=wo.expandIcon,wo.expandIcon=wo.expandIcon||Ko||cs(wl),ts==="nest"&&wo.expandIconColumnIndex===void 0?wo.expandIconColumnIndex=ni?1:0:wo.expandIconColumnIndex>0&&ni&&(wo.expandIconColumnIndex-=1),typeof wo.indentSize!="number"&&(wo.indentSize=typeof _s=="number"?_s:15);const Yu=ve.useCallback(Bl=>Cc(Nd(Rc(td(Bl)))),[td,Rc,Nd]);let CA,Zc;if(hi!==!1&&(ps!=null&&ps.total)){let Bl;ps.size?Bl=ps.size:Bl=cc==="small"||cc==="middle"?"small":void 0;const au=Bc=>ve.createElement(ma.Z,Object.assign({},ps,{className:Re()(`${Au}-pagination ${Au}-pagination-${Bc}`,ps.className),size:Bl})),Lc=jl==="rtl"?"left":"right",{position:ou}=ps;if(ou!==null&&Array.isArray(ou)){const Bc=ou.find(SA=>SA.includes("top")),Dc=ou.find(SA=>SA.includes("bottom")),nc=ou.every(SA=>`${SA}`=="none");!Bc&&!Dc&&!nc&&(Zc=au(Lc)),Bc&&(CA=au(Bc.toLowerCase().replace("top",""))),Dc&&(Zc=au(Dc.toLowerCase().replace("bottom","")))}else Zc=au(Lc)}let Xu;typeof $a=="boolean"?Xu={spinning:$a}:typeof $a=="object"&&(Xu=Object.assign({spinning:!0},$a));const[jc,Nu]=xA(Au),[,Hu]=(0,ra.Z)(),ld=Re()(`${Au}-wrapper`,Ll==null?void 0:Ll.className,{[`${Au}-wrapper-rtl`]:jl==="rtl"},En,Vn,Nu),dA=Object.assign(Object.assign({},Ll==null?void 0:Ll.style),On),Kd=vo&&vo.emptyText||(ku==null?void 0:ku("Table"))||ve.createElement(Qs.Z,{componentName:"Table"}),BA=bo?hd:Ac,XA={},Eh=ve.useMemo(()=>{const{fontSize:Bl,lineHeight:au,padding:Lc,paddingXS:ou,paddingSM:Bc}=Hu,Dc=Math.floor(Bl*au);switch(cc){case"large":return Lc*2+Dc;case"small":return ou*2+Dc;default:return Bc*2+Dc}},[Hu,cc]);return bo&&(XA.listItemHeight=Eh),jc(ve.createElement("div",{ref:Ut,className:ld,style:dA},ve.createElement(sa.Z,Object.assign({spinning:!1},Xu),CA,ve.createElement(BA,Object.assign({},XA,gs,{columns:za,direction:jl,expandable:wo,prefixCls:Au,className:Re()({[`${Au}-middle`]:cc==="middle",[`${Au}-small`]:cc==="small",[`${Au}-bordered`]:fr,[`${Au}-empty`]:du.length===0}),data:Uc,rowKey:Tl,rowClassName:Hc,emptyText:Kd,internalHooks:Me,internalRefs:Po,transformColumns:Yu})),Zc)))};var M0=ve.forwardRef(bf);const rp=(Nt,Ut)=>{const An=ve.useRef(0);return An.current+=1,ve.createElement(M0,Object.assign({},Nt,{ref:Ut,_renderTimes:An.current}))},hc=ve.forwardRef(rp);hc.SELECTION_COLUMN=bs,hc.EXPAND_COLUMN=he,hc.SELECTION_ALL=Ds,hc.SELECTION_INVERT=ol,hc.SELECTION_NONE=Vs,hc.Column=Sa,hc.ColumnGroup=Bo,hc.Summary=et;var cA=hc,ip=cA},99313:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return Fn}});var he=ce(99267),Me=ce(18785),Ue=ce(62772),At=ce(92310),Ne=ce.n(At),Le=ce(60499),ve=ce(18642),Ae=ce(85899),we=ce(72190),fe=ce(43749),ze=ce(42244),Be=ce(59301),_e=ce(49658),Oe=ce(18929),He=ce(77900),ke=(0,Be.createContext)(null),Te=Be.forwardRef(function(Dt,Gt){var Zt=Dt.prefixCls,jt=Dt.className,on=Dt.style,Mn=Dt.id,ir=Dt.active,qn=Dt.tabKey,pr=Dt.children;return Be.createElement("div",{id:Mn&&"".concat(Mn,"-panel-").concat(qn),role:"tabpanel",tabIndex:ir?0:-1,"aria-labelledby":Mn&&"".concat(Mn,"-tab-").concat(qn),"aria-hidden":!ir,style:on,className:Ne()(Zt,ir&&"".concat(Zt,"-active"),jt),ref:Gt},pr)}),Pe=Te,Xe=["key","forceRender","style","className"];function Ke(Dt){var Gt=Dt.id,Zt=Dt.activeKey,jt=Dt.animated,on=Dt.tabPosition,Mn=Dt.destroyInactiveTabPane,ir=Be.useContext(ke),qn=ir.prefixCls,pr=ir.tabs,Gr=jt.tabPane,Zr="".concat(qn,"-tabpane");return Be.createElement("div",{className:Ne()("".concat(qn,"-content-holder"))},Be.createElement("div",{className:Ne()("".concat(qn,"-content"),"".concat(qn,"-content-").concat(on),(0,ve.Z)({},"".concat(qn,"-content-animated"),Gr))},pr.map(function($r){var Xn=$r.key,Or=$r.forceRender,ki=$r.style,vi=$r.className,Zi=(0,ze.Z)($r,Xe),xi=Xn===Zt;return Be.createElement(He.default,(0,Le.Z)({key:Xn,visible:xi,forceRender:Or,removeOnLeave:!!Mn,leavedClassName:"".concat(Zr,"-hidden")},jt.tabPaneMotion),function(Ca,si){var oa=Ca.style,mn=Ca.className;return Be.createElement(Pe,(0,Le.Z)({},Zi,{prefixCls:Zr,id:Gt,tabKey:Xn,animated:Gr,active:xi,style:(0,Ae.Z)((0,Ae.Z)({},ki),oa),className:Ne()(vi,mn),ref:si}))})})))}var qe=ce(77654),We=ce(29301),Ze=ce(6089),$e=ce(8654),rt={width:0,height:0,left:0,top:0};function ht(Dt,Gt,Zt){return(0,Be.useMemo)(function(){for(var jt,on=new Map,Mn=Gt.get((jt=Dt[0])===null||jt===void 0?void 0:jt.key)||rt,ir=Mn.left+Mn.width,qn=0;qn<Dt.length;qn+=1){var pr=Dt[qn].key,Gr=Gt.get(pr);if(!Gr){var Zr;Gr=Gt.get((Zr=Dt[qn-1])===null||Zr===void 0?void 0:Zr.key)||rt}var $r=on.get(pr)||(0,Ae.Z)({},Gr);$r.right=ir-$r.left-$r.width,on.set(pr,$r)}return on},[Dt.map(function(jt){return jt.key}).join("_"),Gt,Zt])}function dt(Dt,Gt){var Zt=Be.useRef(Dt),jt=Be.useState({}),on=(0,we.Z)(jt,2),Mn=on[1];function ir(qn){var pr=typeof qn=="function"?qn(Zt.current):qn;pr!==Zt.current&&Gt(pr,Zt.current),Zt.current=pr,Mn({})}return[Zt.current,ir]}var xt=.1,Je=.01,Lt=20,Re=Math.pow(.995,Lt);function Rt(Dt,Gt){var Zt=(0,Be.useState)(),jt=(0,we.Z)(Zt,2),on=jt[0],Mn=jt[1],ir=(0,Be.useState)(0),qn=(0,we.Z)(ir,2),pr=qn[0],Gr=qn[1],Zr=(0,Be.useState)(0),$r=(0,we.Z)(Zr,2),Xn=$r[0],Or=$r[1],ki=(0,Be.useState)(),vi=(0,we.Z)(ki,2),Zi=vi[0],xi=vi[1],Ca=(0,Be.useRef)();function si(wr){var Mr=wr.touches[0],Fr=Mr.screenX,ui=Mr.screenY;Mn({x:Fr,y:ui}),window.clearInterval(Ca.current)}function oa(wr){if(on){wr.preventDefault();var Mr=wr.touches[0],Fr=Mr.screenX,ui=Mr.screenY;Mn({x:Fr,y:ui});var yi=Fr-on.x,Hi=ui-on.y;Gt(yi,Hi);var Oa=Date.now();Gr(Oa),Or(Oa-pr),xi({x:yi,y:Hi})}}function mn(){if(on&&(Mn(null),xi(null),Zi)){var wr=Zi.x/Xn,Mr=Zi.y/Xn,Fr=Math.abs(wr),ui=Math.abs(Mr);if(Math.max(Fr,ui)<xt)return;var yi=wr,Hi=Mr;Ca.current=window.setInterval(function(){if(Math.abs(yi)<Je&&Math.abs(Hi)<Je){window.clearInterval(Ca.current);return}yi*=Re,Hi*=Re,Gt(yi*Lt,Hi*Lt)},Lt)}}var mr=(0,Be.useRef)();function dr(wr){var Mr=wr.deltaX,Fr=wr.deltaY,ui=0,yi=Math.abs(Mr),Hi=Math.abs(Fr);yi===Hi?ui=mr.current==="x"?Mr:Fr:yi>Hi?(ui=Mr,mr.current="x"):(ui=Fr,mr.current="y"),Gt(-ui,-ui)&&wr.preventDefault()}var Wr=(0,Be.useRef)(null);Wr.current={onTouchStart:si,onTouchMove:oa,onTouchEnd:mn,onWheel:dr},Be.useEffect(function(){function wr(yi){Wr.current.onTouchStart(yi)}function Mr(yi){Wr.current.onTouchMove(yi)}function Fr(yi){Wr.current.onTouchEnd(yi)}function ui(yi){Wr.current.onWheel(yi)}return document.addEventListener("touchmove",Mr,{passive:!1}),document.addEventListener("touchend",Fr,{passive:!1}),Dt.current.addEventListener("touchstart",wr,{passive:!1}),Dt.current.addEventListener("wheel",ui),function(){document.removeEventListener("touchmove",Mr),document.removeEventListener("touchend",Fr)}},[])}var Ft=ce(34280);function bt(Dt){var Gt=(0,Be.useState)(0),Zt=(0,we.Z)(Gt,2),jt=Zt[0],on=Zt[1],Mn=(0,Be.useRef)(0),ir=(0,Be.useRef)();return ir.current=Dt,(0,Ft.o)(function(){var qn;(qn=ir.current)===null||qn===void 0||qn.call(ir)},[jt]),function(){Mn.current===jt&&(Mn.current+=1,on(Mn.current))}}function Tt(Dt){var Gt=(0,Be.useRef)([]),Zt=(0,Be.useState)({}),jt=(0,we.Z)(Zt,2),on=jt[1],Mn=(0,Be.useRef)(typeof Dt=="function"?Dt():Dt),ir=bt(function(){var pr=Mn.current;Gt.current.forEach(function(Gr){pr=Gr(pr)}),Gt.current=[],Mn.current=pr,on({})});function qn(pr){Gt.current.push(pr),ir()}return[Mn.current,qn]}var wt={width:0,height:0,left:0,top:0,right:0};function it(Dt,Gt,Zt,jt,on,Mn,ir){var qn=ir.tabs,pr=ir.tabPosition,Gr=ir.rtl,Zr,$r,Xn;return["top","bottom"].includes(pr)?(Zr="width",$r=Gr?"right":"left",Xn=Math.abs(Zt)):(Zr="height",$r="top",Xn=-Zt),(0,Be.useMemo)(function(){if(!qn.length)return[0,0];for(var Or=qn.length,ki=Or,vi=0;vi<Or;vi+=1){var Zi=Dt.get(qn[vi].key)||wt;if(Zi[$r]+Zi[Zr]>Xn+Gt){ki=vi-1;break}}for(var xi=0,Ca=Or-1;Ca>=0;Ca-=1){var si=Dt.get(qn[Ca].key)||wt;if(si[$r]<Xn){xi=Ca+1;break}}return xi>=ki?[0,0]:[xi,ki]},[Dt,Gt,jt,on,Mn,Xn,pr,qn.map(function(Or){return Or.key}).join("_"),Gr])}function je(Dt){var Gt;return Dt instanceof Map?(Gt={},Dt.forEach(function(Zt,jt){Gt[jt]=Zt})):Gt=Dt,JSON.stringify(Gt)}var at="TABS_DQ";function Yt(Dt){return String(Dt).replace(/"/g,at)}function Vt(Dt,Gt,Zt,jt){return!(!Zt||jt||Dt===!1||Dt===void 0&&(Gt===!1||Gt===null))}function St(Dt,Gt){var Zt=Dt.prefixCls,jt=Dt.editable,on=Dt.locale,Mn=Dt.style;return!jt||jt.showAdd===!1?null:Be.createElement("button",{ref:Gt,type:"button",className:"".concat(Zt,"-nav-add"),style:Mn,"aria-label":(on==null?void 0:on.addAriaLabel)||"Add tab",onClick:function(qn){jt.onEdit("add",{event:qn})}},jt.addIcon||"+")}var Qt=Be.forwardRef(St),cn=Be.forwardRef(function(Dt,Gt){var Zt=Dt.position,jt=Dt.prefixCls,on=Dt.extra;if(!on)return null;var Mn,ir={};return(0,fe.Z)(on)==="object"&&!Be.isValidElement(on)?ir=on:ir.right=on,Zt==="right"&&(Mn=ir.right),Zt==="left"&&(Mn=ir.left),Mn?Be.createElement("div",{className:"".concat(jt,"-extra-content"),ref:Gt},Mn):null}),Nn=cn,fn=ce(31561),Ln=ce(15285),Cn=ce(10228);function Bn(Dt,Gt){var Zt=Dt.prefixCls,jt=Dt.id,on=Dt.tabs,Mn=Dt.locale,ir=Dt.mobile,qn=Dt.moreIcon,pr=qn===void 0?"More":qn,Gr=Dt.moreTransitionName,Zr=Dt.style,$r=Dt.className,Xn=Dt.editable,Or=Dt.tabBarGutter,ki=Dt.rtl,vi=Dt.removeAriaLabel,Zi=Dt.onTabClick,xi=Dt.getPopupContainer,Ca=Dt.popupClassName,si=(0,Be.useState)(!1),oa=(0,we.Z)(si,2),mn=oa[0],mr=oa[1],dr=(0,Be.useState)(null),Wr=(0,we.Z)(dr,2),wr=Wr[0],Mr=Wr[1],Fr="".concat(jt,"-more-popup"),ui="".concat(Zt,"-dropdown"),yi=wr!==null?"".concat(Fr,"-").concat(wr):null,Hi=Mn==null?void 0:Mn.dropdownAriaLabel;function Oa(io,va){io.preventDefault(),io.stopPropagation(),Xn.onEdit("remove",{key:va,event:io})}var Qa=Be.createElement(Ln.ZP,{onClick:function(va){var ka=va.key,Xa=va.domEvent;Zi(ka,Xa),mr(!1)},prefixCls:"".concat(ui,"-menu"),id:Fr,tabIndex:-1,role:"listbox","aria-activedescendant":yi,selectedKeys:[wr],"aria-label":Hi!==void 0?Hi:"expanded dropdown"},on.map(function(io){var va=io.closable,ka=io.disabled,Xa=io.closeIcon,Pa=io.key,ao=io.label,us=Vt(va,Xa,Xn,ka);return Be.createElement(Ln.sN,{key:Pa,id:"".concat(Fr,"-").concat(Pa),role:"option","aria-controls":jt&&"".concat(jt,"-panel-").concat(Pa),disabled:ka},Be.createElement("span",null,ao),us&&Be.createElement("button",{type:"button","aria-label":vi||"remove",tabIndex:0,className:"".concat(ui,"-menu-item-remove"),onClick:function(fi){fi.stopPropagation(),Oa(fi,Pa)}},Xa||Xn.removeIcon||"\xD7"))}));function oo(io){for(var va=on.filter(function(us){return!us.disabled}),ka=va.findIndex(function(us){return us.key===wr})||0,Xa=va.length,Pa=0;Pa<Xa;Pa+=1){ka=(ka+io+Xa)%Xa;var ao=va[ka];if(!ao.disabled){Mr(ao.key);return}}}function La(io){var va=io.which;if(!mn){[Cn.Z.DOWN,Cn.Z.SPACE,Cn.Z.ENTER].includes(va)&&(mr(!0),io.preventDefault());return}switch(va){case Cn.Z.UP:oo(-1),io.preventDefault();break;case Cn.Z.DOWN:oo(1),io.preventDefault();break;case Cn.Z.ESC:mr(!1);break;case Cn.Z.SPACE:case Cn.Z.ENTER:wr!==null&&Zi(wr,io);break}}(0,Be.useEffect)(function(){var io=document.getElementById(yi);io&&io.scrollIntoView&&io.scrollIntoView(!1)},[wr]),(0,Be.useEffect)(function(){mn||Mr(null)},[mn]);var Da=(0,ve.Z)({},ki?"marginRight":"marginLeft",Or);on.length||(Da.visibility="hidden",Da.order=1);var po=Ne()((0,ve.Z)({},"".concat(ui,"-rtl"),ki)),Za=ir?null:Be.createElement(fn.Z,{prefixCls:ui,overlay:Qa,trigger:["hover"],visible:on.length?mn:!1,transitionName:Gr,onVisibleChange:mr,overlayClassName:Ne()(po,Ca),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:xi},Be.createElement("button",{type:"button",className:"".concat(Zt,"-nav-more"),style:Da,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Fr,id:"".concat(jt,"-more"),"aria-expanded":mn,onKeyDown:La},pr));return Be.createElement("div",{className:Ne()("".concat(Zt,"-nav-operations"),$r),style:Zr,ref:Gt},Za,Be.createElement(Qt,{prefixCls:Zt,locale:Mn,editable:Xn}))}var gn=Be.memo(Be.forwardRef(Bn),function(Dt,Gt){return Gt.tabMoving});function Se(Dt){var Gt,Zt=Dt.prefixCls,jt=Dt.id,on=Dt.active,Mn=Dt.tab,ir=Mn.key,qn=Mn.label,pr=Mn.disabled,Gr=Mn.closeIcon,Zr=Dt.closable,$r=Dt.renderWrapper,Xn=Dt.removeAriaLabel,Or=Dt.editable,ki=Dt.onClick,vi=Dt.onFocus,Zi=Dt.style,xi="".concat(Zt,"-tab"),Ca=Vt(Zr,Gr,Or,pr);function si(mr){pr||ki(mr)}function oa(mr){mr.preventDefault(),mr.stopPropagation(),Or.onEdit("remove",{key:ir,event:mr})}var mn=Be.createElement("div",{key:ir,"data-node-key":Yt(ir),className:Ne()(xi,(Gt={},(0,ve.Z)(Gt,"".concat(xi,"-with-remove"),Ca),(0,ve.Z)(Gt,"".concat(xi,"-active"),on),(0,ve.Z)(Gt,"".concat(xi,"-disabled"),pr),Gt)),style:Zi,onClick:si},Be.createElement("div",{role:"tab","aria-selected":on,id:jt&&"".concat(jt,"-tab-").concat(ir),className:"".concat(xi,"-btn"),"aria-controls":jt&&"".concat(jt,"-panel-").concat(ir),"aria-disabled":pr,tabIndex:pr?null:0,onClick:function(dr){dr.stopPropagation(),si(dr)},onKeyDown:function(dr){[Cn.Z.SPACE,Cn.Z.ENTER].includes(dr.which)&&(dr.preventDefault(),si(dr))},onFocus:vi},qn),Ca&&Be.createElement("button",{type:"button","aria-label":Xn||"remove",tabIndex:0,className:"".concat(xi,"-remove"),onClick:function(dr){dr.stopPropagation(),oa(dr)}},Gr||Or.removeIcon||"\xD7"));return $r?$r(mn):mn}var Fe=Se,ie=ce(16089),ae=function(Gt){var Zt=Gt.activeTabOffset,jt=Gt.horizontal,on=Gt.rtl,Mn=Gt.indicatorSize,ir=(0,Be.useState)(),qn=(0,we.Z)(ir,2),pr=qn[0],Gr=qn[1],Zr=(0,Be.useRef)(),$r=function(ki){return typeof Mn=="function"?Mn(ki):typeof Mn=="number"?Mn:ki};function Xn(){ie.Z.cancel(Zr.current)}return(0,Be.useEffect)(function(){var Or={};return Zt&&(jt?(on?(Or.right=Zt.right+Zt.width/2,Or.transform="translateX(50%)"):(Or.left=Zt.left+Zt.width/2,Or.transform="translateX(-50%)"),Or.width=$r(Zt.width)):(Or.top=Zt.top+Zt.height/2,Or.transform="translateY(-50%)",Or.height=$r(Zt.height))),Xn(),Zr.current=(0,ie.Z)(function(){Gr(Or)}),Xn},[Zt,jt,on,Mn]),{style:pr}},se=ae,oe=function(Gt){var Zt=Gt.current||{},jt=Zt.offsetWidth,on=jt===void 0?0:jt,Mn=Zt.offsetHeight,ir=Mn===void 0?0:Mn;return[on,ir]},Ye=function(Gt,Zt){return Gt[Zt?0:1]};function vt(Dt,Gt){var Zt,jt=Be.useContext(ke),on=jt.prefixCls,Mn=jt.tabs,ir=Dt.className,qn=Dt.style,pr=Dt.id,Gr=Dt.animated,Zr=Dt.activeKey,$r=Dt.rtl,Xn=Dt.extra,Or=Dt.editable,ki=Dt.locale,vi=Dt.tabPosition,Zi=Dt.tabBarGutter,xi=Dt.children,Ca=Dt.onTabClick,si=Dt.onTabScroll,oa=Dt.indicatorSize,mn=(0,Be.useRef)(),mr=(0,Be.useRef)(),dr=(0,Be.useRef)(),Wr=(0,Be.useRef)(),wr=(0,Be.useRef)(),Mr=(0,Be.useRef)(),Fr=(0,Be.useRef)(),ui=vi==="top"||vi==="bottom",yi=dt(0,function(Ma,Oi){ui&&si&&si({direction:Ma>Oi?"left":"right"})}),Hi=(0,we.Z)(yi,2),Oa=Hi[0],Qa=Hi[1],oo=dt(0,function(Ma,Oi){!ui&&si&&si({direction:Ma>Oi?"top":"bottom"})}),La=(0,we.Z)(oo,2),Da=La[0],po=La[1],Za=(0,Be.useState)([0,0]),io=(0,we.Z)(Za,2),va=io[0],ka=io[1],Xa=(0,Be.useState)([0,0]),Pa=(0,we.Z)(Xa,2),ao=Pa[0],us=Pa[1],Ya=(0,Be.useState)([0,0]),fi=(0,we.Z)(Ya,2),Rr=fi[0],Ra=fi[1],_a=(0,Be.useState)([0,0]),Va=(0,we.Z)(_a,2),Mo=Va[0],go=Va[1],As=Tt(new Map),_o=(0,we.Z)(As,2),Js=_o[0],Sa=_o[1],xa=ht(Mn,Js,ao[0]),Bo=Ye(va,ui),So=Ye(ao,ui),Ms=Ye(Rr,ui),er=Ye(Mo,ui),Qs=Bo<So+Ms,fs=Qs?Bo-er:Bo-Ms,Zs="".concat(on,"-nav-operations-hidden"),qs=0,ma=0;ui&&$r?(qs=0,ma=Math.max(0,So-fs)):(qs=Math.min(0,fs-So),ma=0);function sa(Ma){return Ma<qs?qs:Ma>ma?ma:Ma}var ra=(0,Be.useRef)(),ua=(0,Be.useState)(),cs=(0,we.Z)(ua,2),Ps=cs[0],jo=cs[1];function xs(){jo(Date.now())}function Cs(){window.clearTimeout(ra.current)}Rt(Wr,function(Ma,Oi){function da(Lo,co){Lo(function(To){var hs=sa(To+co);return hs})}return Qs?(ui?da(Qa,Ma):da(po,Oi),Cs(),xs(),!0):!1}),(0,Be.useEffect)(function(){return Cs(),Ps&&(ra.current=window.setTimeout(function(){jo(0)},100)),Cs},[Ps]);var $s=it(xa,fs,ui?Oa:Da,So,Ms,er,(0,Ae.Z)((0,Ae.Z)({},Dt),{},{tabs:Mn})),ru=(0,we.Z)($s,2),or=ru[0],Qn=ru[1],Nr=(0,Ze.Z)(function(){var Ma=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zr,Oi=xa.get(Ma)||{width:0,height:0,left:0,right:0,top:0};if(ui){var da=Oa;$r?Oi.right<Oa?da=Oi.right:Oi.right+Oi.width>Oa+fs&&(da=Oi.right+Oi.width-fs):Oi.left<-Oa?da=-Oi.left:Oi.left+Oi.width>-Oa+fs&&(da=-(Oi.left+Oi.width-fs)),po(0),Qa(sa(da))}else{var Lo=Da;Oi.top<-Da?Lo=-Oi.top:Oi.top+Oi.height>-Da+fs&&(Lo=-(Oi.top+Oi.height-fs)),Qa(0),po(sa(Lo))}}),Di={};vi==="top"||vi==="bottom"?Di[$r?"marginRight":"marginLeft"]=Zi:Di.marginTop=Zi;var Io=Mn.map(function(Ma,Oi){var da=Ma.key;return Be.createElement(Fe,{id:pr,prefixCls:on,key:da,tab:Ma,style:Oi===0?void 0:Di,closable:Ma.closable,editable:Or,active:da===Zr,renderWrapper:xi,removeAriaLabel:ki==null?void 0:ki.removeAriaLabel,onClick:function(co){Ca(da,co)},onFocus:function(){Nr(da),xs(),Wr.current&&($r||(Wr.current.scrollLeft=0),Wr.current.scrollTop=0)}})}),lr=function(){return Sa(function(){var Oi=new Map;return Mn.forEach(function(da){var Lo,co=da.key,To=(Lo=wr.current)===null||Lo===void 0?void 0:Lo.querySelector('[data-node-key="'.concat(Yt(co),'"]'));To&&Oi.set(co,{width:To.offsetWidth,height:To.offsetHeight,left:To.offsetLeft,top:To.offsetTop})}),Oi})};(0,Be.useEffect)(function(){lr()},[Mn.map(function(Ma){return Ma.key}).join("_")]);var Jn=bt(function(){var Ma=oe(mn),Oi=oe(mr),da=oe(dr);ka([Ma[0]-Oi[0]-da[0],Ma[1]-Oi[1]-da[1]]);var Lo=oe(Fr);Ra(Lo);var co=oe(Mr);go(co);var To=oe(wr);us([To[0]-Lo[0],To[1]-Lo[1]]),lr()}),Un=Mn.slice(0,or),cr=Mn.slice(Qn+1),Ur=[].concat((0,qe.Z)(Un),(0,qe.Z)(cr)),bi=xa.get(Zr),xr=se({activeTabOffset:bi,horizontal:ui,rtl:$r,indicatorSize:oa}),Hr=xr.style;(0,Be.useEffect)(function(){Nr()},[Zr,qs,ma,je(bi),je(xa),ui]),(0,Be.useEffect)(function(){Jn()},[$r]);var ji=!!Ur.length,Ji="".concat(on,"-nav-wrap"),ca,Xr,Ni,ia;return ui?$r?(Xr=Oa>0,ca=Oa!==ma):(ca=Oa<0,Xr=Oa!==qs):(Ni=Da<0,ia=Da!==qs),Be.createElement(We.Z,{onResize:Jn},Be.createElement("div",{ref:(0,$e.x1)(Gt,mn),role:"tablist",className:Ne()("".concat(on,"-nav"),ir),style:qn,onKeyDown:function(){xs()}},Be.createElement(Nn,{ref:mr,position:"left",extra:Xn,prefixCls:on}),Be.createElement(We.Z,{onResize:Jn},Be.createElement("div",{className:Ne()(Ji,(Zt={},(0,ve.Z)(Zt,"".concat(Ji,"-ping-left"),ca),(0,ve.Z)(Zt,"".concat(Ji,"-ping-right"),Xr),(0,ve.Z)(Zt,"".concat(Ji,"-ping-top"),Ni),(0,ve.Z)(Zt,"".concat(Ji,"-ping-bottom"),ia),Zt)),ref:Wr},Be.createElement(We.Z,{onResize:Jn},Be.createElement("div",{ref:wr,className:"".concat(on,"-nav-list"),style:{transform:"translate(".concat(Oa,"px, ").concat(Da,"px)"),transition:Ps?"none":void 0}},Io,Be.createElement(Qt,{ref:Fr,prefixCls:on,locale:ki,editable:Or,style:(0,Ae.Z)((0,Ae.Z)({},Io.length===0?void 0:Di),{},{visibility:ji?"hidden":null})}),Be.createElement("div",{className:Ne()("".concat(on,"-ink-bar"),(0,ve.Z)({},"".concat(on,"-ink-bar-animated"),Gr.inkBar)),style:Hr}))))),Be.createElement(gn,(0,Le.Z)({},Dt,{removeAriaLabel:ki==null?void 0:ki.removeAriaLabel,ref:Mr,prefixCls:on,tabs:Ur,className:!ji&&Zs,tabMoving:!!Ps})),Be.createElement(Nn,{ref:dr,position:"right",extra:Xn,prefixCls:on})))}var et=Be.forwardRef(vt),lt=["renderTabBar"],Pt=["label","key"];function Mt(Dt){var Gt=Dt.renderTabBar,Zt=(0,ze.Z)(Dt,lt),jt=Be.useContext(ke),on=jt.tabs;if(Gt){var Mn=(0,Ae.Z)((0,Ae.Z)({},Zt),{},{panes:on.map(function(ir){var qn=ir.label,pr=ir.key,Gr=(0,ze.Z)(ir,Pt);return Be.createElement(Pe,(0,Le.Z)({tab:qn,key:pr,tabKey:pr},Gr))})});return Gt(Mn,et)}return Be.createElement(et,Zt)}var kt=ce(48736);function $t(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Gt;return Dt===!1?Gt={inkBar:!1,tabPane:!1}:Dt===!0?Gt={inkBar:!0,tabPane:!1}:Gt=(0,Ae.Z)({inkBar:!0},(0,fe.Z)(Dt)==="object"?Dt:{}),Gt.tabPaneMotion&&Gt.tabPane===void 0&&(Gt.tabPane=!0),!Gt.tabPaneMotion&&Gt.tabPane&&(Gt.tabPane=!1),Gt}var Sn=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Bt=0;function nn(Dt,Gt){var Zt,jt=Dt.id,on=Dt.prefixCls,Mn=on===void 0?"rc-tabs":on,ir=Dt.className,qn=Dt.items,pr=Dt.direction,Gr=Dt.activeKey,Zr=Dt.defaultActiveKey,$r=Dt.editable,Xn=Dt.animated,Or=Dt.tabPosition,ki=Or===void 0?"top":Or,vi=Dt.tabBarGutter,Zi=Dt.tabBarStyle,xi=Dt.tabBarExtraContent,Ca=Dt.locale,si=Dt.moreIcon,oa=Dt.moreTransitionName,mn=Dt.destroyInactiveTabPane,mr=Dt.renderTabBar,dr=Dt.onChange,Wr=Dt.onTabClick,wr=Dt.onTabScroll,Mr=Dt.getPopupContainer,Fr=Dt.popupClassName,ui=Dt.indicatorSize,yi=(0,ze.Z)(Dt,Sn),Hi=Be.useMemo(function(){return(qn||[]).filter(function(go){return go&&(0,fe.Z)(go)==="object"&&"key"in go})},[qn]),Oa=pr==="rtl",Qa=$t(Xn),oo=(0,Be.useState)(!1),La=(0,we.Z)(oo,2),Da=La[0],po=La[1];(0,Be.useEffect)(function(){po((0,_e.Z)())},[]);var Za=(0,Oe.Z)(function(){var go;return(go=Hi[0])===null||go===void 0?void 0:go.key},{value:Gr,defaultValue:Zr}),io=(0,we.Z)(Za,2),va=io[0],ka=io[1],Xa=(0,Be.useState)(function(){return Hi.findIndex(function(go){return go.key===va})}),Pa=(0,we.Z)(Xa,2),ao=Pa[0],us=Pa[1];(0,Be.useEffect)(function(){var go=Hi.findIndex(function(_o){return _o.key===va});if(go===-1){var As;go=Math.max(0,Math.min(ao,Hi.length-1)),ka((As=Hi[go])===null||As===void 0?void 0:As.key)}us(go)},[Hi.map(function(go){return go.key}).join("_"),va,ao]);var Ya=(0,Oe.Z)(null,{value:jt}),fi=(0,we.Z)(Ya,2),Rr=fi[0],Ra=fi[1];(0,Be.useEffect)(function(){jt||(Ra("rc-tabs-".concat(Bt)),Bt+=1)},[]);function _a(go,As){Wr==null||Wr(go,As);var _o=go!==va;ka(go),_o&&(dr==null||dr(go))}var Va={id:Rr,activeKey:va,animated:Qa,tabPosition:ki,rtl:Oa,mobile:Da},Mo=(0,Ae.Z)((0,Ae.Z)({},Va),{},{editable:$r,locale:Ca,moreIcon:si,moreTransitionName:oa,tabBarGutter:vi,onTabClick:_a,onTabScroll:wr,extra:xi,style:Zi,panes:null,getPopupContainer:Mr,popupClassName:Fr,indicatorSize:ui});return Be.createElement(ke.Provider,{value:{tabs:Hi,prefixCls:Mn}},Be.createElement("div",(0,Le.Z)({ref:Gt,id:jt,className:Ne()(Mn,"".concat(Mn,"-").concat(ki),(Zt={},(0,ve.Z)(Zt,"".concat(Mn,"-mobile"),Da),(0,ve.Z)(Zt,"".concat(Mn,"-editable"),$r),(0,ve.Z)(Zt,"".concat(Mn,"-rtl"),Oa),Zt),ir)},yi),Be.createElement(Mt,(0,Le.Z)({},Mo,{renderTabBar:mr})),Be.createElement(Ke,(0,Le.Z)({destroyInactiveTabPane:mn},Va,{animated:Qa}))))}var tn=Be.forwardRef(nn),zt=tn,pt=zt,Wt=ce(36355),vn=ce(19716),Wn=()=>null,br=ce(62892);const Lr={motionAppear:!1,motionEnter:!0,motionLeave:!0};function jr(Dt){let Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Zt;return Gt===!1?Zt={inkBar:!1,tabPane:!1}:Gt===!0?Zt={inkBar:!0,tabPane:!0}:Zt=Object.assign({inkBar:!0},typeof Gt=="object"?Gt:{}),Zt.tabPane&&(Zt.tabPaneMotion=Object.assign(Object.assign({},Lr),{motionName:(0,br.m)(Dt,"switch")})),Zt}var Qr=ce(11592),vr=function(Dt,Gt){var Zt={};for(var jt in Dt)Object.prototype.hasOwnProperty.call(Dt,jt)&&Gt.indexOf(jt)<0&&(Zt[jt]=Dt[jt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,jt=Object.getOwnPropertySymbols(Dt);on<jt.length;on++)Gt.indexOf(jt[on])<0&&Object.prototype.propertyIsEnumerable.call(Dt,jt[on])&&(Zt[jt[on]]=Dt[jt[on]]);return Zt};function Ar(Dt){return Dt.filter(Gt=>Gt)}function Tr(Dt,Gt){if(Dt)return Dt;const Zt=(0,Qr.Z)(Gt).map(jt=>{if(Be.isValidElement(jt)){const{key:on,props:Mn}=jt,ir=Mn||{},{tab:qn}=ir,pr=vr(ir,["tab"]);return Object.assign(Object.assign({key:String(on)},pr),{label:qn})}return null});return Ar(Zt)}var Bi=ce(17313),$i=ce(83116),mi=ce(37613),Mi=ce(13826),Dr=Dt=>{const{componentCls:Gt,motionDurationSlow:Zt}=Dt;return[{[Gt]:{[`${Gt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Zt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Zt}`}}}}},[(0,Mi.oN)(Dt,"slide-up"),(0,Mi.oN)(Dt,"slide-down")]]};const _n=Dt=>{const{componentCls:Gt,tabsCardPadding:Zt,cardBg:jt,cardGutter:on,colorBorderSecondary:Mn,itemSelectedColor:ir}=Dt;return{[`${Gt}-card`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{margin:0,padding:Zt,background:jt,border:`${Dt.lineWidth}px ${Dt.lineType} ${Mn}`,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`},[`${Gt}-tab-active`]:{color:ir,background:Dt.colorBgContainer},[`${Gt}-ink-bar`]:{visibility:"hidden"}},[`&${Gt}-top, &${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginLeft:{_skip_check_:!0,value:`${on}px`}}}},[`&${Gt}-top`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:`${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0 0`},[`${Gt}-tab-active`]:{borderBottomColor:Dt.colorBgContainer}}},[`&${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:`0 0 ${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px`},[`${Gt}-tab-active`]:{borderTopColor:Dt.colorBgContainer}}},[`&${Gt}-left, &${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginTop:`${on}px`}}},[`&${Gt}-left`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Dt.borderRadiusLG}px 0 0 ${Dt.borderRadiusLG}px`}},[`${Gt}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Dt.colorBgContainer}}}},[`&${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0`}},[`${Gt}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Dt.colorBgContainer}}}}}}},no=Dt=>{const{componentCls:Gt,itemHoverColor:Zt,dropdownEdgeChildVerticalPadding:jt}=Dt;return{[`${Gt}-dropdown`]:Object.assign(Object.assign({},(0,Bi.Wf)(Dt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Dt.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Gt}-dropdown-menu`]:{maxHeight:Dt.tabsDropdownHeight,margin:0,padding:`${jt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Dt.colorBgContainer,backgroundClip:"padding-box",borderRadius:Dt.borderRadiusLG,outline:"none",boxShadow:Dt.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Bi.vS),{display:"flex",alignItems:"center",minWidth:Dt.tabsDropdownWidth,margin:0,padding:`${Dt.paddingXXS}px ${Dt.paddingSM}px`,color:Dt.colorText,fontWeight:"normal",fontSize:Dt.fontSize,lineHeight:Dt.lineHeight,cursor:"pointer",transition:`all ${Dt.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Dt.marginSM},color:Dt.colorTextDescription,fontSize:Dt.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Zt}},"&:hover":{background:Dt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Dt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ki=Dt=>{const{componentCls:Gt,margin:Zt,colorBorderSecondary:jt,horizontalMargin:on,verticalItemPadding:Mn,verticalItemMargin:ir}=Dt;return{[`${Gt}-top, ${Gt}-bottom`]:{flexDirection:"column",[`> ${Gt}-nav, > div > ${Gt}-nav`]:{margin:on,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Dt.lineWidth}px ${Dt.lineType} ${jt}`,content:"''"},[`${Gt}-ink-bar`]:{height:Dt.lineWidthBold,"&-animated":{transition:`width ${Dt.motionDurationSlow}, left ${Dt.motionDurationSlow},
right ${Dt.motionDurationSlow}`}},[`${Gt}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Dt.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowTabsOverflowRight},[`&${Gt}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Gt}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Gt}-top`]:{[`> ${Gt}-nav,
> div > ${Gt}-nav`]:{"&::before":{bottom:0},[`${Gt}-ink-bar`]:{bottom:0}}},[`${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{order:1,marginTop:`${Zt}px`,marginBottom:0,"&::before":{top:0},[`${Gt}-ink-bar`]:{top:0}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{order:0}},[`${Gt}-left, ${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{flexDirection:"column",minWidth:Dt.controlHeight*1.25,[`${Gt}-tab`]:{padding:Mn,textAlign:"center"},[`${Gt}-tab + ${Gt}-tab`]:{margin:ir},[`${Gt}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Dt.controlHeight},"&::before":{top:0,boxShadow:Dt.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Dt.boxShadowTabsOverflowBottom},[`&${Gt}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Gt}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Gt}-ink-bar`]:{width:Dt.lineWidthBold,"&-animated":{transition:`height ${Dt.motionDurationSlow}, top ${Dt.motionDurationSlow}`}},[`${Gt}-nav-list, ${Gt}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Gt}-left`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Dt.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`},[`> ${Gt}-content > ${Gt}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Dt.paddingLG}}}},[`${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{order:1,[`${Gt}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Dt.lineWidth},borderRight:{_skip_check_:!0,value:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`},[`> ${Gt}-content > ${Gt}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Dt.paddingLG}}}}}},Co=Dt=>{const{componentCls:Gt,cardPaddingSM:Zt,cardPaddingLG:jt,horizontalItemPaddingSM:on,horizontalItemPaddingLG:Mn}=Dt;return{[Gt]:{"&-small":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:on,fontSize:Dt.titleFontSizeSM}}},"&-large":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:Mn,fontSize:Dt.titleFontSizeLG}}}},[`${Gt}-card`]:{[`&${Gt}-small`]:{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:Zt}},[`&${Gt}-bottom`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:`0 0 ${Dt.borderRadius}px ${Dt.borderRadius}px`}},[`&${Gt}-top`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:`${Dt.borderRadius}px ${Dt.borderRadius}px 0 0`}},[`&${Gt}-right`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Dt.borderRadius}px ${Dt.borderRadius}px 0`}}},[`&${Gt}-left`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Dt.borderRadius}px 0 0 ${Dt.borderRadius}px`}}}},[`&${Gt}-large`]:{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:jt}}}}}},ro=Dt=>{const{componentCls:Gt,itemActiveColor:Zt,itemHoverColor:jt,iconCls:on,tabsHorizontalItemMargin:Mn,horizontalItemPadding:ir,itemSelectedColor:qn,itemColor:pr}=Dt,Gr=`${Gt}-tab`;return{[Gr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:ir,fontSize:Dt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:pr,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Zt}},(0,Bi.Qy)(Dt)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Dt.marginXXS},marginLeft:{_skip_check_:!0,value:Dt.marginXS},color:Dt.colorTextDescription,fontSize:Dt.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Dt.motionDurationSlow}`,"&:hover":{color:Dt.colorTextHeading}},"&:hover":{color:jt},[`&${Gr}-active ${Gr}-btn`]:{color:qn,textShadow:Dt.tabsActiveTextShadow},[`&${Gr}-disabled`]:{color:Dt.colorTextDisabled,cursor:"not-allowed"},[`&${Gr}-disabled ${Gr}-btn, &${Gr}-disabled ${Gt}-remove`]:{"&:focus, &:active":{color:Dt.colorTextDisabled}},[`& ${Gr}-remove ${on}`]:{margin:0},[on]:{marginRight:{_skip_check_:!0,value:Dt.marginSM}}},[`${Gr} + ${Gr}`]:{margin:{_skip_check_:!0,value:Mn}}}},Pi=Dt=>{const{componentCls:Gt,tabsHorizontalItemMarginRTL:Zt,iconCls:jt,cardGutter:on}=Dt;return{[`${Gt}-rtl`]:{direction:"rtl",[`${Gt}-nav`]:{[`${Gt}-tab`]:{margin:{_skip_check_:!0,value:Zt},[`${Gt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[jt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Dt.marginSM}px`}},[`${Gt}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Dt.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Dt.marginXXS}px`},[jt]:{margin:0}}}},[`&${Gt}-left`]:{[`> ${Gt}-nav`]:{order:1},[`> ${Gt}-content-holder`]:{order:0}},[`&${Gt}-right`]:{[`> ${Gt}-nav`]:{order:0},[`> ${Gt}-content-holder`]:{order:1}},[`&${Gt}-card${Gt}-top, &${Gt}-card${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginRight:{_skip_check_:!0,value:on},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Gt}-dropdown-rtl`]:{direction:"rtl"},[`${Gt}-menu-item`]:{[`${Gt}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Ii=Dt=>{const{componentCls:Gt,tabsCardPadding:Zt,cardHeight:jt,cardGutter:on,itemHoverColor:Mn,itemActiveColor:ir,colorBorderSecondary:qn}=Dt;return{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Bi.Wf)(Dt)),{display:"flex",[`> ${Gt}-nav, > div > ${Gt}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Gt}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${Dt.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Gt}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Dt.motionDurationSlow}`},[`${Gt}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Gt}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Gt}-nav-more`]:{position:"relative",padding:Zt,background:"transparent",border:0,color:Dt.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Dt.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Gt}-nav-add`]:Object.assign({minWidth:jt,marginLeft:{_skip_check_:!0,value:on},padding:`0 ${Dt.paddingXS}px`,background:"transparent",border:`${Dt.lineWidth}px ${Dt.lineType} ${qn}`,borderRadius:`${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Dt.colorText,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`,"&:hover":{color:Mn},"&:active, &:focus:not(:focus-visible)":{color:ir}},(0,Bi.Qy)(Dt))},[`${Gt}-extra-content`]:{flex:"none"},[`${Gt}-ink-bar`]:{position:"absolute",background:Dt.inkBarColor,pointerEvents:"none"}}),ro(Dt)),{[`${Gt}-content`]:{position:"relative",width:"100%"},[`${Gt}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Gt}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Gt}-centered`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-nav-wrap`]:{[`&:not([class*='${Gt}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Si=(0,$i.Z)("Tabs",Dt=>{const Gt=(0,mi.TS)(Dt,{tabsCardPadding:Dt.cardPadding||`${(Dt.cardHeight-Math.round(Dt.fontSize*Dt.lineHeight))/2-Dt.lineWidth}px ${Dt.padding}px`,dropdownEdgeChildVerticalPadding:Dt.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Dt.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Dt.horizontalItemGutter}px`});return[Co(Gt),Pi(Gt),Ki(Gt),no(Gt),_n(Gt),Ii(Gt),Dr(Gt)]},Dt=>{const Gt=Dt.controlHeightLG;return{zIndexPopup:Dt.zIndexPopupBase+50,cardBg:Dt.colorFillAlter,cardHeight:Gt,cardPadding:"",cardPaddingSM:`${Dt.paddingXXS*1.5}px ${Dt.padding}px`,cardPaddingLG:`${Dt.paddingXS}px ${Dt.padding}px ${Dt.paddingXXS*1.5}px`,titleFontSize:Dt.fontSize,titleFontSizeLG:Dt.fontSizeLG,titleFontSizeSM:Dt.fontSize,inkBarColor:Dt.colorPrimary,horizontalMargin:`0 0 ${Dt.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Dt.paddingSM}px 0`,horizontalItemPaddingSM:`${Dt.paddingXS}px 0`,horizontalItemPaddingLG:`${Dt.padding}px 0`,verticalItemPadding:`${Dt.paddingXS}px ${Dt.paddingLG}px`,verticalItemMargin:`${Dt.margin}px 0 0 0`,itemColor:Dt.colorText,itemSelectedColor:Dt.colorPrimary,itemHoverColor:Dt.colorPrimaryHover,itemActiveColor:Dt.colorPrimaryActive,cardGutter:Dt.marginXXS/2}}),gi=function(Dt,Gt){var Zt={};for(var jt in Dt)Object.prototype.hasOwnProperty.call(Dt,jt)&&Gt.indexOf(jt)<0&&(Zt[jt]=Dt[jt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,jt=Object.getOwnPropertySymbols(Dt);on<jt.length;on++)Gt.indexOf(jt[on])<0&&Object.prototype.propertyIsEnumerable.call(Dt,jt[on])&&(Zt[jt[on]]=Dt[jt[on]]);return Zt};const Ea=Dt=>{const{type:Gt,className:Zt,rootClassName:jt,size:on,onEdit:Mn,hideAdd:ir,centered:qn,addIcon:pr,popupClassName:Gr,children:Zr,items:$r,animated:Xn,style:Or,indicatorSize:ki}=Dt,vi=gi(Dt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Zi,moreIcon:xi=Be.createElement(Me.Z,null)}=vi,{direction:Ca,tabs:si,getPrefixCls:oa,getPopupContainer:mn}=Be.useContext(Wt.E_),mr=oa("tabs",Zi),[dr,Wr]=Si(mr);let wr;Gt==="editable-card"&&(wr={onEdit:(Oa,Qa)=>{let{key:oo,event:La}=Qa;Mn==null||Mn(Oa==="add"?La:oo,Oa)},removeIcon:Be.createElement(he.Z,null),addIcon:pr||Be.createElement(Ue.Z,null),showAdd:ir!==!0});const Mr=oa(),Fr=Tr($r,Zr),ui=jr(mr,Xn),yi=(0,vn.Z)(on),Hi=Object.assign(Object.assign({},si==null?void 0:si.style),Or);return dr(Be.createElement(pt,Object.assign({direction:Ca,getPopupContainer:mn,moreTransitionName:`${Mr}-slide-up`},vi,{items:Fr,className:Ne()({[`${mr}-${yi}`]:yi,[`${mr}-card`]:["card","editable-card"].includes(Gt),[`${mr}-editable-card`]:Gt==="editable-card",[`${mr}-centered`]:qn},si==null?void 0:si.className,Zt,jt,Wr),popupClassName:Ne()(Gr,Wr),style:Hi,editable:wr,moreIcon:xi,prefixCls:mr,animated:ui,indicatorSize:ki!=null?ki:si==null?void 0:si.indicatorSize})))};Ea.TabPane=Wn;var Fn=Ea},17574:function(Tn,Xt,ce){"use strict";ce.d(Xt,{default:function(){return it}});var he=ce(38028),Me=ce(77654),Ue=ce(52671),At=ce(8657),Ne=ce(60499),Le=ce(59301),ve={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"},Ae=ve,we=ce(85221),fe=function(at,Yt){return Le.createElement(we.Z,(0,Ne.Z)({},at,{ref:Yt,icon:Ae}))},ze=Le.forwardRef(fe),Be=ze,_e=ce(92310),Oe=ce.n(_e),He=ce(35654),ke=ce(71430),Te=ce(36355),Pe=ce(56082),Xe=ce(62892),Ke=ce(20648);const qe=4;function We(je){const{dropPosition:at,dropLevelOffset:Yt,prefixCls:Vt,indent:St,direction:Qt="ltr"}=je,cn=Qt==="ltr"?"left":"right",Nn=Qt==="ltr"?"right":"left",fn={[cn]:-Yt*St+qe,[Nn]:0};switch(at){case-1:fn.top=-3;break;case 1:fn.bottom=-3;break;default:fn.bottom=-3,fn[cn]=St+qe;break}return Le.createElement("div",{style:fn,className:`${Vt}-drop-indicator`})}var Ze=ce(71997),rt=Le.forwardRef((je,at)=>{const{getPrefixCls:Yt,direction:Vt,virtual:St,tree:Qt}=Le.useContext(Te.E_),{prefixCls:cn,className:Nn,showIcon:fn=!1,showLine:Ln,switcherIcon:Cn,blockNode:Bn=!1,children:gn,checkable:Se=!1,selectable:Fe=!0,draggable:ie,motion:ae,style:se}=je,oe=Yt("tree",cn),Ye=Yt(),vt=ae!=null?ae:Object.assign(Object.assign({},(0,Xe.Z)(Ye)),{motionAppear:!1}),et=Object.assign(Object.assign({},je),{checkable:Se,selectable:Fe,showIcon:fn,motion:vt,blockNode:Bn,showLine:!!Ln,dropIndicatorRender:We}),[lt,Pt]=(0,Ke.ZP)(oe),Mt=Le.useMemo(()=>{if(!ie)return!1;let $t={};switch(typeof ie){case"function":$t.nodeDraggable=ie;break;case"object":$t=Object.assign({},ie);break;default:break}return $t.icon!==!1&&($t.icon=$t.icon||Le.createElement(Pe.Z,null)),$t},[ie]),kt=$t=>Le.createElement(Ze.Z,{prefixCls:oe,switcherIcon:Cn,treeNodeProps:$t,showLine:Ln});return lt(Le.createElement(he.Z,Object.assign({itemHeight:20,ref:at,virtual:St},et,{style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),se),prefixCls:oe,className:Oe()({[`${oe}-icon-hide`]:!fn,[`${oe}-block-node`]:Bn,[`${oe}-unselectable`]:!Fe,[`${oe}-rtl`]:Vt==="rtl"},Qt==null?void 0:Qt.className,Nn,Pt),direction:Vt,checkable:Se&&Le.createElement("span",{className:`${oe}-checkbox-inner`}),selectable:Fe,switcherIcon:kt,draggable:Mt}),gn))}),ht;(function(je){je[je.None=0]="None",je[je.Start=1]="Start",je[je.End=2]="End"})(ht||(ht={}));function dt(je,at){function Yt(Vt){const{key:St,children:Qt}=Vt;at(St,Vt)!==!1&&dt(Qt||[],at)}je.forEach(Yt)}function xt(je){let{treeData:at,expandedKeys:Yt,startKey:Vt,endKey:St}=je;const Qt=[];let cn=ht.None;if(Vt&&Vt===St)return[Vt];if(!Vt||!St)return[];function Nn(fn){return fn===Vt||fn===St}return dt(at,fn=>{if(cn===ht.End)return!1;if(Nn(fn)){if(Qt.push(fn),cn===ht.None)cn=ht.Start;else if(cn===ht.Start)return cn=ht.End,!1}else cn===ht.Start&&Qt.push(fn);return Yt.includes(fn)}),Qt}function Je(je,at){const Yt=(0,Me.Z)(at),Vt=[];return dt(je,(St,Qt)=>{const cn=Yt.indexOf(St);return cn!==-1&&(Vt.push(Qt),Yt.splice(cn,1)),!!Yt.length}),Vt}var Lt=function(je,at){var Yt={};for(var Vt in je)Object.prototype.hasOwnProperty.call(je,Vt)&&at.indexOf(Vt)<0&&(Yt[Vt]=je[Vt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Vt=Object.getOwnPropertySymbols(je);St<Vt.length;St++)at.indexOf(Vt[St])<0&&Object.prototype.propertyIsEnumerable.call(je,Vt[St])&&(Yt[Vt[St]]=je[Vt[St]]);return Yt};function Re(je){const{isLeaf:at,expanded:Yt}=je;return at?Le.createElement(Ue.Z,null):Yt?Le.createElement(At.Z,null):Le.createElement(Be,null)}function Rt(je){let{treeData:at,children:Yt}=je;return at||(0,ke.zn)(Yt)}const Ft=(je,at)=>{var{defaultExpandAll:Yt,defaultExpandParent:Vt,defaultExpandedKeys:St}=je,Qt=Lt(je,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const cn=Le.useRef(),Nn=Le.useRef(),fn=()=>{const{keyEntities:Mt}=(0,ke.I8)(Rt(Qt));let kt;return Yt?kt=Object.keys(Mt):Vt?kt=(0,He.r7)(Qt.expandedKeys||St||[],Mt):kt=Qt.expandedKeys||St,kt},[Ln,Cn]=Le.useState(Qt.selectedKeys||Qt.defaultSelectedKeys||[]),[Bn,gn]=Le.useState(()=>fn());Le.useEffect(()=>{"selectedKeys"in Qt&&Cn(Qt.selectedKeys)},[Qt.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in Qt&&gn(Qt.expandedKeys)},[Qt.expandedKeys]);const Se=(Mt,kt)=>{var $t;return"expandedKeys"in Qt||gn(Mt),($t=Qt.onExpand)===null||$t===void 0?void 0:$t.call(Qt,Mt,kt)},Fe=(Mt,kt)=>{var $t;const{multiple:Sn}=Qt,{node:Bt,nativeEvent:nn}=kt,{key:tn=""}=Bt,zt=Rt(Qt),pt=Object.assign(Object.assign({},kt),{selected:!0}),Wt=(nn==null?void 0:nn.ctrlKey)||(nn==null?void 0:nn.metaKey),vn=nn==null?void 0:nn.shiftKey;let xn;Sn&&Wt?(xn=Mt,cn.current=tn,Nn.current=xn,pt.selectedNodes=Je(zt,xn)):Sn&&vn?(xn=Array.from(new Set([].concat((0,Me.Z)(Nn.current||[]),(0,Me.Z)(xt({treeData:zt,expandedKeys:Bn,startKey:tn,endKey:cn.current}))))),pt.selectedNodes=Je(zt,xn)):(xn=[tn],cn.current=tn,Nn.current=xn,pt.selectedNodes=Je(zt,xn)),($t=Qt.onSelect)===null||$t===void 0||$t.call(Qt,xn,pt),"selectedKeys"in Qt||Cn(xn)},{getPrefixCls:ie,direction:ae}=Le.useContext(Te.E_),{prefixCls:se,className:oe,showIcon:Ye=!0,expandAction:vt="click"}=Qt,et=Lt(Qt,["prefixCls","className","showIcon","expandAction"]),lt=ie("tree",se),Pt=Oe()(`${lt}-directory`,{[`${lt}-directory-rtl`]:ae==="rtl"},oe);return Le.createElement(rt,Object.assign({icon:Re,ref:at,blockNode:!0},et,{showIcon:Ye,expandAction:vt,prefixCls:lt,className:Pt,expandedKeys:Bn,selectedKeys:Ln,onSelect:Fe,onExpand:Se}))};var Tt=Le.forwardRef(Ft);const wt=rt;wt.DirectoryTree=Tt,wt.TreeNode=he.O;var it=wt},20648:function(Tn,Xt,ce){"use strict";ce.d(Xt,{TM:function(){return _e},Yk:function(){return Be}});var he=ce(36237),Me=ce(98447),Ue=ce(17313),At=ce(8378),Ne=ce(37613),Le=ce(83116);const ve=new he.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ae=(Oe,He)=>({[`.${Oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${He.motionDurationSlow}`}}}),we=(Oe,He)=>({[`.${Oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:He.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${He.lineWidthBold}px solid ${He.colorPrimary}`,borderRadius:"50%",content:'""'}}}),fe=(Oe,He)=>{const{treeCls:ke,treeNodeCls:Te,treeNodePadding:Pe,titleHeight:Xe,nodeSelectedBg:Ke,nodeHoverBg:qe}=He,We=He.paddingXS;return{[ke]:Object.assign(Object.assign({},(0,Ue.Wf)(He)),{background:He.colorBgContainer,borderRadius:He.borderRadius,transition:`background-color ${He.motionDurationSlow}`,[`&${ke}-rtl`]:{[`${ke}-switcher`]:{"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ke}-active-focused)`]:Object.assign({},(0,Ue.oN)(He)),[`${ke}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ke}-block-node`]:{[`${ke}-list-holder-inner`]:{alignItems:"stretch",[`${ke}-node-content-wrapper`]:{flex:"auto"},[`${Te}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Pe,insetInlineStart:0,border:`1px solid ${He.colorPrimary}`,opacity:0,animationName:ve,animationDuration:He.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Te}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Pe}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ke}-node-content-wrapper`]:{color:He.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ke}-node-content-wrapper`]:Object.assign({},(0,Ue.oN)(He)),[`&:not(${Te}-disabled).filter-node ${ke}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ke}-draggable-icon`]:{flexShrink:0,width:Xe,lineHeight:`${Xe}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${He.motionDurationSlow}`,[`${Te}:hover &`]:{opacity:.45}},[`&${Te}-disabled`]:{[`${ke}-draggable-icon`]:{visibility:"hidden"}}}},[`${ke}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Xe}},[`${ke}-draggable-icon`]:{visibility:"hidden"},[`${ke}-switcher`]:Object.assign(Object.assign({},Ae(Oe,He)),{position:"relative",flex:"none",alignSelf:"stretch",width:Xe,margin:0,lineHeight:`${Xe}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:He.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Xe/2,bottom:-Pe,marginInlineStart:-1,borderInlineEnd:`1px solid ${He.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Xe/2*.8,height:Xe/2,borderBottom:`1px solid ${He.colorBorder}`,content:'""'}}}),[`${ke}-checkbox`]:{top:"initial",marginInlineEnd:We},[`${ke}-node-content-wrapper, ${ke}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Xe,margin:0,padding:`0 ${He.paddingXS/2}px`,color:"inherit",lineHeight:`${Xe}px`,background:"transparent",borderRadius:He.borderRadius,cursor:"pointer",transition:`all ${He.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:qe},[`&${ke}-node-selected`]:{backgroundColor:Ke},[`${ke}-iconEle`]:{display:"inline-block",width:Xe,height:Xe,lineHeight:`${Xe}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ke}-unselectable ${ke}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ke}-node-content-wrapper`]:Object.assign({lineHeight:`${Xe}px`,userSelect:"none"},we(Oe,He)),[`${Te}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${He.colorPrimary}`}},"&-show-line":{[`${ke}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Xe/2,bottom:-Pe,borderInlineEnd:`1px solid ${He.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ke}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Te}-leaf-last`]:{[`${ke}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Xe/2}px !important`}}}}})}},ze=Oe=>{const{treeCls:He,treeNodeCls:ke,treeNodePadding:Te,directoryNodeSelectedBg:Pe,directoryNodeSelectedColor:Xe}=Oe;return{[`${He}${He}-directory`]:{[ke]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Te,insetInlineStart:0,transition:`background-color ${Oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Oe.controlItemBgHover}},"> *":{zIndex:1},[`${He}-switcher`]:{transition:`color ${Oe.motionDurationMid}`},[`${He}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${He}-node-selected`]:{color:Xe,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Pe},[`${He}-switcher`]:{color:Xe},[`${He}-node-content-wrapper`]:{color:Xe,background:"transparent"}}}}}},Be=(Oe,He)=>{const ke=`.${Oe}`,Te=`${ke}-treenode`,Pe=He.paddingXS/2,Xe=(0,Ne.TS)(He,{treeCls:ke,treeNodeCls:Te,treeNodePadding:Pe});return[fe(Oe,Xe),ze(Xe)]},_e=Oe=>{const{controlHeightSM:He}=Oe;return{titleHeight:He,nodeHoverBg:Oe.controlItemBgHover,nodeSelectedBg:Oe.controlItemBgActive}};Xt.ZP=(0,Le.Z)("Tree",(Oe,He)=>{let{prefixCls:ke}=He;return[{[Oe.componentCls]:(0,Me.C2)(`${ke}-checkbox`,Oe)},Be(ke,Oe),(0,At.Z)(Oe)]},Oe=>{const{colorTextLightSolid:He,colorPrimary:ke}=Oe;return Object.assign(Object.assign({},_e(Oe)),{directoryNodeSelectedColor:He,directoryNodeSelectedBg:ke})})},71997:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Te}});var he=ce(60499),Me=ce(59301),Ue={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"},At=Ue,Ne=ce(85221),Le=function(Xe,Ke){return Me.createElement(Ne.Z,(0,he.Z)({},Xe,{ref:Ke,icon:At}))},ve=Me.forwardRef(Le),Ae=ve,we=ce(52671),fe=ce(58617),ze=ce(15075),Be=ce(43531),_e=ce(92310),Oe=ce.n(_e),He=ce(92343),Te=Pe=>{const{prefixCls:Xe,switcherIcon:Ke,treeNodeProps:qe,showLine:We}=Pe,{isLeaf:Ze,expanded:$e,loading:rt}=qe;if(rt)return Me.createElement(fe.Z,{className:`${Xe}-switcher-loading-icon`});let ht;if(We&&typeof We=="object"&&(ht=We.showLeafIcon),Ze){if(!We)return null;if(typeof ht!="boolean"&&ht){const Je=typeof ht=="function"?ht(qe):ht,Lt=`${Xe}-switcher-line-custom-icon`;return(0,He.l$)(Je)?(0,He.Tm)(Je,{className:Oe()(Je.props.className||"",Lt)}):Je}return ht?Me.createElement(we.Z,{className:`${Xe}-switcher-line-icon`}):Me.createElement("span",{className:`${Xe}-switcher-leaf-line`})}const dt=`${Xe}-switcher-icon`,xt=typeof Ke=="function"?Ke(qe):Ke;return(0,He.l$)(xt)?(0,He.Tm)(xt,{className:Oe()(xt.props.className||"",dt)}):xt!==void 0?xt:We?$e?Me.createElement(ze.Z,{className:`${Xe}-switcher-line-icon`}):Me.createElement(Be.Z,{className:`${Xe}-switcher-line-icon`}):Me.createElement(Ae,{className:dt})}},86251:function(Tn,Xt){"use strict";Xt.byteLength=ve,Xt.toByteArray=we,Xt.fromByteArray=Be;for(var ce=[],he=[],Me=typeof Uint8Array!="undefined"?Uint8Array:Array,Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",At=0,Ne=Ue.length;At<Ne;++At)ce[At]=Ue[At],he[Ue.charCodeAt(At)]=At;he[45]=62,he[95]=63;function Le(_e){var Oe=_e.length;if(Oe%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var He=_e.indexOf("=");He===-1&&(He=Oe);var ke=He===Oe?0:4-He%4;return[He,ke]}function ve(_e){var Oe=Le(_e),He=Oe[0],ke=Oe[1];return(He+ke)*3/4-ke}function Ae(_e,Oe,He){return(Oe+He)*3/4-He}function we(_e){var Oe,He=Le(_e),ke=He[0],Te=He[1],Pe=new Me(Ae(_e,ke,Te)),Xe=0,Ke=Te>0?ke-4:ke,qe;for(qe=0;qe<Ke;qe+=4)Oe=he[_e.charCodeAt(qe)]<<18|he[_e.charCodeAt(qe+1)]<<12|he[_e.charCodeAt(qe+2)]<<6|he[_e.charCodeAt(qe+3)],Pe[Xe++]=Oe>>16&255,Pe[Xe++]=Oe>>8&255,Pe[Xe++]=Oe&255;return Te===2&&(Oe=he[_e.charCodeAt(qe)]<<2|he[_e.charCodeAt(qe+1)]>>4,Pe[Xe++]=Oe&255),Te===1&&(Oe=he[_e.charCodeAt(qe)]<<10|he[_e.charCodeAt(qe+1)]<<4|he[_e.charCodeAt(qe+2)]>>2,Pe[Xe++]=Oe>>8&255,Pe[Xe++]=Oe&255),Pe}function fe(_e){return ce[_e>>18&63]+ce[_e>>12&63]+ce[_e>>6&63]+ce[_e&63]}function ze(_e,Oe,He){for(var ke,Te=[],Pe=Oe;Pe<He;Pe+=3)ke=(_e[Pe]<<16&16711680)+(_e[Pe+1]<<8&65280)+(_e[Pe+2]&255),Te.push(fe(ke));return Te.join("")}function Be(_e){for(var Oe,He=_e.length,ke=He%3,Te=[],Pe=16383,Xe=0,Ke=He-ke;Xe<Ke;Xe+=Pe)Te.push(ze(_e,Xe,Xe+Pe>Ke?Ke:Xe+Pe));return ke===1?(Oe=_e[He-1],Te.push(ce[Oe>>2]+ce[Oe<<4&63]+"==")):ke===2&&(Oe=(_e[He-2]<<8)+_e[He-1],Te.push(ce[Oe>>10]+ce[Oe>>4&63]+ce[Oe<<2&63]+"=")),Te.join("")}},19208:function(Tn,Xt,ce){"use strict";var he;var Me=ce(86251),Ue=ce(67467),At=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Xt.lW=Ae,he=Xe,Xt.h2=50;var Ne=2147483647;he=Ne,Ae.TYPED_ARRAY_SUPPORT=Le(),!Ae.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Le(){try{var ie=new Uint8Array(1),ae={foo:function(){return 42}};return Object.setPrototypeOf(ae,Uint8Array.prototype),Object.setPrototypeOf(ie,ae),ie.foo()===42}catch(se){return!1}}Object.defineProperty(Ae.prototype,"parent",{enumerable:!0,get:function(){if(Ae.isBuffer(this))return this.buffer}}),Object.defineProperty(Ae.prototype,"offset",{enumerable:!0,get:function(){if(Ae.isBuffer(this))return this.byteOffset}});function ve(ie){if(ie>Ne)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ae=new Uint8Array(ie);return Object.setPrototypeOf(ae,Ae.prototype),ae}function Ae(ie,ae,se){if(typeof ie=="number"){if(typeof ae=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Be(ie)}return we(ie,ae,se)}Ae.poolSize=8192;function we(ie,ae,se){if(typeof ie=="string")return _e(ie,ae);if(ArrayBuffer.isView(ie))return He(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(gn(ie,ArrayBuffer)||ie&&gn(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(gn(ie,SharedArrayBuffer)||ie&&gn(ie.buffer,SharedArrayBuffer)))return ke(ie,ae,se);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var oe=ie.valueOf&&ie.valueOf();if(oe!=null&&oe!==ie)return Ae.from(oe,ae,se);var Ye=Te(ie);if(Ye)return Ye;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return Ae.from(ie[Symbol.toPrimitive]("string"),ae,se);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}Ae.from=function(ie,ae,se){return we(ie,ae,se)},Object.setPrototypeOf(Ae.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ae,Uint8Array);function fe(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function ze(ie,ae,se){return fe(ie),ie<=0?ve(ie):ae!==void 0?typeof se=="string"?ve(ie).fill(ae,se):ve(ie).fill(ae):ve(ie)}Ae.alloc=function(ie,ae,se){return ze(ie,ae,se)};function Be(ie){return fe(ie),ve(ie<0?0:Pe(ie)|0)}Ae.allocUnsafe=function(ie){return Be(ie)},Ae.allocUnsafeSlow=function(ie){return Be(ie)};function _e(ie,ae){if((typeof ae!="string"||ae==="")&&(ae="utf8"),!Ae.isEncoding(ae))throw new TypeError("Unknown encoding: "+ae);var se=Ke(ie,ae)|0,oe=ve(se),Ye=oe.write(ie,ae);return Ye!==se&&(oe=oe.slice(0,Ye)),oe}function Oe(ie){for(var ae=ie.length<0?0:Pe(ie.length)|0,se=ve(ae),oe=0;oe<ae;oe+=1)se[oe]=ie[oe]&255;return se}function He(ie){if(gn(ie,Uint8Array)){var ae=new Uint8Array(ie);return ke(ae.buffer,ae.byteOffset,ae.byteLength)}return Oe(ie)}function ke(ie,ae,se){if(ae<0||ie.byteLength<ae)throw new RangeError('"offset" is outside of buffer bounds');if(ie.byteLength<ae+(se||0))throw new RangeError('"length" is outside of buffer bounds');var oe;return ae===void 0&&se===void 0?oe=new Uint8Array(ie):se===void 0?oe=new Uint8Array(ie,ae):oe=new Uint8Array(ie,ae,se),Object.setPrototypeOf(oe,Ae.prototype),oe}function Te(ie){if(Ae.isBuffer(ie)){var ae=Pe(ie.length)|0,se=ve(ae);return se.length===0||ie.copy(se,0,0,ae),se}if(ie.length!==void 0)return typeof ie.length!="number"||Se(ie.length)?ve(0):Oe(ie);if(ie.type==="Buffer"&&Array.isArray(ie.data))return Oe(ie.data)}function Pe(ie){if(ie>=Ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ne.toString(16)+" bytes");return ie|0}function Xe(ie){return+ie!=ie&&(ie=0),Ae.alloc(+ie)}Ae.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==Ae.prototype},Ae.compare=function(ae,se){if(gn(ae,Uint8Array)&&(ae=Ae.from(ae,ae.offset,ae.byteLength)),gn(se,Uint8Array)&&(se=Ae.from(se,se.offset,se.byteLength)),!Ae.isBuffer(ae)||!Ae.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===se)return 0;for(var oe=ae.length,Ye=se.length,vt=0,et=Math.min(oe,Ye);vt<et;++vt)if(ae[vt]!==se[vt]){oe=ae[vt],Ye=se[vt];break}return oe<Ye?-1:Ye<oe?1:0},Ae.isEncoding=function(ae){switch(String(ae).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Ae.concat=function(ae,se){if(!Array.isArray(ae))throw new TypeError('"list" argument must be an Array of Buffers');if(ae.length===0)return Ae.alloc(0);var oe;if(se===void 0)for(se=0,oe=0;oe<ae.length;++oe)se+=ae[oe].length;var Ye=Ae.allocUnsafe(se),vt=0;for(oe=0;oe<ae.length;++oe){var et=ae[oe];if(gn(et,Uint8Array))vt+et.length>Ye.length?Ae.from(et).copy(Ye,vt):Uint8Array.prototype.set.call(Ye,et,vt);else if(Ae.isBuffer(et))et.copy(Ye,vt);else throw new TypeError('"list" argument must be an Array of Buffers');vt+=et.length}return Ye};function Ke(ie,ae){if(Ae.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||gn(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var se=ie.length,oe=arguments.length>2&&arguments[2]===!0;if(!oe&&se===0)return 0;for(var Ye=!1;;)switch(ae){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return Nn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return Cn(ie).length;default:if(Ye)return oe?-1:Nn(ie).length;ae=(""+ae).toLowerCase(),Ye=!0}}Ae.byteLength=Ke;function qe(ie,ae,se){var oe=!1;if((ae===void 0||ae<0)&&(ae=0),ae>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,ae>>>=0,se<=ae))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return wt(this,ae,se);case"utf8":case"utf-8":return Re(this,ae,se);case"ascii":return bt(this,ae,se);case"latin1":case"binary":return Tt(this,ae,se);case"base64":return Lt(this,ae,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,ae,se);default:if(oe)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),oe=!0}}Ae.prototype._isBuffer=!0;function We(ie,ae,se){var oe=ie[ae];ie[ae]=ie[se],ie[se]=oe}Ae.prototype.swap16=function(){var ae=this.length;if(ae%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;se<ae;se+=2)We(this,se,se+1);return this},Ae.prototype.swap32=function(){var ae=this.length;if(ae%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var se=0;se<ae;se+=4)We(this,se,se+3),We(this,se+1,se+2);return this},Ae.prototype.swap64=function(){var ae=this.length;if(ae%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var se=0;se<ae;se+=8)We(this,se,se+7),We(this,se+1,se+6),We(this,se+2,se+5),We(this,se+3,se+4);return this},Ae.prototype.toString=function(){var ae=this.length;return ae===0?"":arguments.length===0?Re(this,0,ae):qe.apply(this,arguments)},Ae.prototype.toLocaleString=Ae.prototype.toString,Ae.prototype.equals=function(ae){if(!Ae.isBuffer(ae))throw new TypeError("Argument must be a Buffer");return this===ae?!0:Ae.compare(this,ae)===0},Ae.prototype.inspect=function(){var ae="",se=Xt.h2;return ae=this.toString("hex",0,se).replace(/(.{2})/g,"$1 ").trim(),this.length>se&&(ae+=" ... "),"<Buffer "+ae+">"},At&&(Ae.prototype[At]=Ae.prototype.inspect),Ae.prototype.compare=function(ae,se,oe,Ye,vt){if(gn(ae,Uint8Array)&&(ae=Ae.from(ae,ae.offset,ae.byteLength)),!Ae.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ae);if(se===void 0&&(se=0),oe===void 0&&(oe=ae?ae.length:0),Ye===void 0&&(Ye=0),vt===void 0&&(vt=this.length),se<0||oe>ae.length||Ye<0||vt>this.length)throw new RangeError("out of range index");if(Ye>=vt&&se>=oe)return 0;if(Ye>=vt)return-1;if(se>=oe)return 1;if(se>>>=0,oe>>>=0,Ye>>>=0,vt>>>=0,this===ae)return 0;for(var et=vt-Ye,lt=oe-se,Pt=Math.min(et,lt),Mt=this.slice(Ye,vt),kt=ae.slice(se,oe),$t=0;$t<Pt;++$t)if(Mt[$t]!==kt[$t]){et=Mt[$t],lt=kt[$t];break}return et<lt?-1:lt<et?1:0};function Ze(ie,ae,se,oe,Ye){if(ie.length===0)return-1;if(typeof se=="string"?(oe=se,se=0):se>2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,Se(se)&&(se=Ye?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Ye)return-1;se=ie.length-1}else if(se<0)if(Ye)se=0;else return-1;if(typeof ae=="string"&&(ae=Ae.from(ae,oe)),Ae.isBuffer(ae))return ae.length===0?-1:$e(ie,ae,se,oe,Ye);if(typeof ae=="number")return ae=ae&255,typeof Uint8Array.prototype.indexOf=="function"?Ye?Uint8Array.prototype.indexOf.call(ie,ae,se):Uint8Array.prototype.lastIndexOf.call(ie,ae,se):$e(ie,[ae],se,oe,Ye);throw new TypeError("val must be string, number or Buffer")}function $e(ie,ae,se,oe,Ye){var vt=1,et=ie.length,lt=ae.length;if(oe!==void 0&&(oe=String(oe).toLowerCase(),oe==="ucs2"||oe==="ucs-2"||oe==="utf16le"||oe==="utf-16le")){if(ie.length<2||ae.length<2)return-1;vt=2,et/=2,lt/=2,se/=2}function Pt(Bt,nn){return vt===1?Bt[nn]:Bt.readUInt16BE(nn*vt)}var Mt;if(Ye){var kt=-1;for(Mt=se;Mt<et;Mt++)if(Pt(ie,Mt)===Pt(ae,kt===-1?0:Mt-kt)){if(kt===-1&&(kt=Mt),Mt-kt+1===lt)return kt*vt}else kt!==-1&&(Mt-=Mt-kt),kt=-1}else for(se+lt>et&&(se=et-lt),Mt=se;Mt>=0;Mt--){for(var $t=!0,Sn=0;Sn<lt;Sn++)if(Pt(ie,Mt+Sn)!==Pt(ae,Sn)){$t=!1;break}if($t)return Mt}return-1}Ae.prototype.includes=function(ae,se,oe){return this.indexOf(ae,se,oe)!==-1},Ae.prototype.indexOf=function(ae,se,oe){return Ze(this,ae,se,oe,!0)},Ae.prototype.lastIndexOf=function(ae,se,oe){return Ze(this,ae,se,oe,!1)};function rt(ie,ae,se,oe){se=Number(se)||0;var Ye=ie.length-se;oe?(oe=Number(oe),oe>Ye&&(oe=Ye)):oe=Ye;var vt=ae.length;oe>vt/2&&(oe=vt/2);for(var et=0;et<oe;++et){var lt=parseInt(ae.substr(et*2,2),16);if(Se(lt))return et;ie[se+et]=lt}return et}function ht(ie,ae,se,oe){return Bn(Nn(ae,ie.length-se),ie,se,oe)}function dt(ie,ae,se,oe){return Bn(fn(ae),ie,se,oe)}function xt(ie,ae,se,oe){return Bn(Cn(ae),ie,se,oe)}function Je(ie,ae,se,oe){return Bn(Ln(ae,ie.length-se),ie,se,oe)}Ae.prototype.write=function(ae,se,oe,Ye){if(se===void 0)Ye="utf8",oe=this.length,se=0;else if(oe===void 0&&typeof se=="string")Ye=se,oe=this.length,se=0;else if(isFinite(se))se=se>>>0,isFinite(oe)?(oe=oe>>>0,Ye===void 0&&(Ye="utf8")):(Ye=oe,oe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var vt=this.length-se;if((oe===void 0||oe>vt)&&(oe=vt),ae.length>0&&(oe<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ye||(Ye="utf8");for(var et=!1;;)switch(Ye){case"hex":return rt(this,ae,se,oe);case"utf8":case"utf-8":return ht(this,ae,se,oe);case"ascii":case"latin1":case"binary":return dt(this,ae,se,oe);case"base64":return xt(this,ae,se,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Je(this,ae,se,oe);default:if(et)throw new TypeError("Unknown encoding: "+Ye);Ye=(""+Ye).toLowerCase(),et=!0}},Ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lt(ie,ae,se){return ae===0&&se===ie.length?Me.fromByteArray(ie):Me.fromByteArray(ie.slice(ae,se))}function Re(ie,ae,se){se=Math.min(ie.length,se);for(var oe=[],Ye=ae;Ye<se;){var vt=ie[Ye],et=null,lt=vt>239?4:vt>223?3:vt>191?2:1;if(Ye+lt<=se){var Pt,Mt,kt,$t;switch(lt){case 1:vt<128&&(et=vt);break;case 2:Pt=ie[Ye+1],(Pt&192)===128&&($t=(vt&31)<<6|Pt&63,$t>127&&(et=$t));break;case 3:Pt=ie[Ye+1],Mt=ie[Ye+2],(Pt&192)===128&&(Mt&192)===128&&($t=(vt&15)<<12|(Pt&63)<<6|Mt&63,$t>2047&&($t<55296||$t>57343)&&(et=$t));break;case 4:Pt=ie[Ye+1],Mt=ie[Ye+2],kt=ie[Ye+3],(Pt&192)===128&&(Mt&192)===128&&(kt&192)===128&&($t=(vt&15)<<18|(Pt&63)<<12|(Mt&63)<<6|kt&63,$t>65535&&$t<1114112&&(et=$t))}}et===null?(et=65533,lt=1):et>65535&&(et-=65536,oe.push(et>>>10&1023|55296),et=56320|et&1023),oe.push(et),Ye+=lt}return Ft(oe)}var Rt=4096;function Ft(ie){var ae=ie.length;if(ae<=Rt)return String.fromCharCode.apply(String,ie);for(var se="",oe=0;oe<ae;)se+=String.fromCharCode.apply(String,ie.slice(oe,oe+=Rt));return se}function bt(ie,ae,se){var oe="";se=Math.min(ie.length,se);for(var Ye=ae;Ye<se;++Ye)oe+=String.fromCharCode(ie[Ye]&127);return oe}function Tt(ie,ae,se){var oe="";se=Math.min(ie.length,se);for(var Ye=ae;Ye<se;++Ye)oe+=String.fromCharCode(ie[Ye]);return oe}function wt(ie,ae,se){var oe=ie.length;(!ae||ae<0)&&(ae=0),(!se||se<0||se>oe)&&(se=oe);for(var Ye="",vt=ae;vt<se;++vt)Ye+=Fe[ie[vt]];return Ye}function it(ie,ae,se){for(var oe=ie.slice(ae,se),Ye="",vt=0;vt<oe.length-1;vt+=2)Ye+=String.fromCharCode(oe[vt]+oe[vt+1]*256);return Ye}Ae.prototype.slice=function(ae,se){var oe=this.length;ae=~~ae,se=se===void 0?oe:~~se,ae<0?(ae+=oe,ae<0&&(ae=0)):ae>oe&&(ae=oe),se<0?(se+=oe,se<0&&(se=0)):se>oe&&(se=oe),se<ae&&(se=ae);var Ye=this.subarray(ae,se);return Object.setPrototypeOf(Ye,Ae.prototype),Ye};function je(ie,ae,se){if(ie%1!==0||ie<0)throw new RangeError("offset is not uint");if(ie+ae>se)throw new RangeError("Trying to access beyond buffer length")}Ae.prototype.readUintLE=Ae.prototype.readUIntLE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=this[ae],vt=1,et=0;++et<se&&(vt*=256);)Ye+=this[ae+et]*vt;return Ye},Ae.prototype.readUintBE=Ae.prototype.readUIntBE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=this[ae+--se],vt=1;se>0&&(vt*=256);)Ye+=this[ae+--se]*vt;return Ye},Ae.prototype.readUint8=Ae.prototype.readUInt8=function(ae,se){return ae=ae>>>0,se||je(ae,1,this.length),this[ae]},Ae.prototype.readUint16LE=Ae.prototype.readUInt16LE=function(ae,se){return ae=ae>>>0,se||je(ae,2,this.length),this[ae]|this[ae+1]<<8},Ae.prototype.readUint16BE=Ae.prototype.readUInt16BE=function(ae,se){return ae=ae>>>0,se||je(ae,2,this.length),this[ae]<<8|this[ae+1]},Ae.prototype.readUint32LE=Ae.prototype.readUInt32LE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+this[ae+3]*16777216},Ae.prototype.readUint32BE=Ae.prototype.readUInt32BE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),this[ae]*16777216+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},Ae.prototype.readIntLE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=this[ae],vt=1,et=0;++et<se&&(vt*=256);)Ye+=this[ae+et]*vt;return vt*=128,Ye>=vt&&(Ye-=Math.pow(2,8*se)),Ye},Ae.prototype.readIntBE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||je(ae,se,this.length);for(var Ye=se,vt=1,et=this[ae+--Ye];Ye>0&&(vt*=256);)et+=this[ae+--Ye]*vt;return vt*=128,et>=vt&&(et-=Math.pow(2,8*se)),et},Ae.prototype.readInt8=function(ae,se){return ae=ae>>>0,se||je(ae,1,this.length),this[ae]&128?(255-this[ae]+1)*-1:this[ae]},Ae.prototype.readInt16LE=function(ae,se){ae=ae>>>0,se||je(ae,2,this.length);var oe=this[ae]|this[ae+1]<<8;return oe&32768?oe|4294901760:oe},Ae.prototype.readInt16BE=function(ae,se){ae=ae>>>0,se||je(ae,2,this.length);var oe=this[ae+1]|this[ae]<<8;return oe&32768?oe|4294901760:oe},Ae.prototype.readInt32LE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},Ae.prototype.readInt32BE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},Ae.prototype.readFloatLE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),Ue.read(this,ae,!0,23,4)},Ae.prototype.readFloatBE=function(ae,se){return ae=ae>>>0,se||je(ae,4,this.length),Ue.read(this,ae,!1,23,4)},Ae.prototype.readDoubleLE=function(ae,se){return ae=ae>>>0,se||je(ae,8,this.length),Ue.read(this,ae,!0,52,8)},Ae.prototype.readDoubleBE=function(ae,se){return ae=ae>>>0,se||je(ae,8,this.length),Ue.read(this,ae,!1,52,8)};function at(ie,ae,se,oe,Ye,vt){if(!Ae.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ae>Ye||ae<vt)throw new RangeError('"value" argument is out of bounds');if(se+oe>ie.length)throw new RangeError("Index out of range")}Ae.prototype.writeUintLE=Ae.prototype.writeUIntLE=function(ae,se,oe,Ye){if(ae=+ae,se=se>>>0,oe=oe>>>0,!Ye){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var et=1,lt=0;for(this[se]=ae&255;++lt<oe&&(et*=256);)this[se+lt]=ae/et&255;return se+oe},Ae.prototype.writeUintBE=Ae.prototype.writeUIntBE=function(ae,se,oe,Ye){if(ae=+ae,se=se>>>0,oe=oe>>>0,!Ye){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var et=oe-1,lt=1;for(this[se+et]=ae&255;--et>=0&&(lt*=256);)this[se+et]=ae/lt&255;return se+oe},Ae.prototype.writeUint8=Ae.prototype.writeUInt8=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,1,255,0),this[se]=ae&255,se+1},Ae.prototype.writeUint16LE=Ae.prototype.writeUInt16LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,65535,0),this[se]=ae&255,this[se+1]=ae>>>8,se+2},Ae.prototype.writeUint16BE=Ae.prototype.writeUInt16BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,65535,0),this[se]=ae>>>8,this[se+1]=ae&255,se+2},Ae.prototype.writeUint32LE=Ae.prototype.writeUInt32LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,4294967295,0),this[se+3]=ae>>>24,this[se+2]=ae>>>16,this[se+1]=ae>>>8,this[se]=ae&255,se+4},Ae.prototype.writeUint32BE=Ae.prototype.writeUInt32BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,4294967295,0),this[se]=ae>>>24,this[se+1]=ae>>>16,this[se+2]=ae>>>8,this[se+3]=ae&255,se+4},Ae.prototype.writeIntLE=function(ae,se,oe,Ye){if(ae=+ae,se=se>>>0,!Ye){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var et=0,lt=1,Pt=0;for(this[se]=ae&255;++et<oe&&(lt*=256);)ae<0&&Pt===0&&this[se+et-1]!==0&&(Pt=1),this[se+et]=(ae/lt>>0)-Pt&255;return se+oe},Ae.prototype.writeIntBE=function(ae,se,oe,Ye){if(ae=+ae,se=se>>>0,!Ye){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var et=oe-1,lt=1,Pt=0;for(this[se+et]=ae&255;--et>=0&&(lt*=256);)ae<0&&Pt===0&&this[se+et+1]!==0&&(Pt=1),this[se+et]=(ae/lt>>0)-Pt&255;return se+oe},Ae.prototype.writeInt8=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,1,127,-128),ae<0&&(ae=255+ae+1),this[se]=ae&255,se+1},Ae.prototype.writeInt16LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,32767,-32768),this[se]=ae&255,this[se+1]=ae>>>8,se+2},Ae.prototype.writeInt16BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,32767,-32768),this[se]=ae>>>8,this[se+1]=ae&255,se+2},Ae.prototype.writeInt32LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,2147483647,-2147483648),this[se]=ae&255,this[se+1]=ae>>>8,this[se+2]=ae>>>16,this[se+3]=ae>>>24,se+4},Ae.prototype.writeInt32BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[se]=ae>>>24,this[se+1]=ae>>>16,this[se+2]=ae>>>8,this[se+3]=ae&255,se+4};function Yt(ie,ae,se,oe,Ye,vt){if(se+oe>ie.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function Vt(ie,ae,se,oe,Ye){return ae=+ae,se=se>>>0,Ye||Yt(ie,ae,se,4,34028234663852886e22,-34028234663852886e22),Ue.write(ie,ae,se,oe,23,4),se+4}Ae.prototype.writeFloatLE=function(ae,se,oe){return Vt(this,ae,se,!0,oe)},Ae.prototype.writeFloatBE=function(ae,se,oe){return Vt(this,ae,se,!1,oe)};function St(ie,ae,se,oe,Ye){return ae=+ae,se=se>>>0,Ye||Yt(ie,ae,se,8,17976931348623157e292,-17976931348623157e292),Ue.write(ie,ae,se,oe,52,8),se+8}Ae.prototype.writeDoubleLE=function(ae,se,oe){return St(this,ae,se,!0,oe)},Ae.prototype.writeDoubleBE=function(ae,se,oe){return St(this,ae,se,!1,oe)},Ae.prototype.copy=function(ae,se,oe,Ye){if(!Ae.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(oe||(oe=0),!Ye&&Ye!==0&&(Ye=this.length),se>=ae.length&&(se=ae.length),se||(se=0),Ye>0&&Ye<oe&&(Ye=oe),Ye===oe||ae.length===0||this.length===0)return 0;if(se<0)throw new RangeError("targetStart out of bounds");if(oe<0||oe>=this.length)throw new RangeError("Index out of range");if(Ye<0)throw new RangeError("sourceEnd out of bounds");Ye>this.length&&(Ye=this.length),ae.length-se<Ye-oe&&(Ye=ae.length-se+oe);var vt=Ye-oe;return this===ae&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(se,oe,Ye):Uint8Array.prototype.set.call(ae,this.subarray(oe,Ye),se),vt},Ae.prototype.fill=function(ae,se,oe,Ye){if(typeof ae=="string"){if(typeof se=="string"?(Ye=se,se=0,oe=this.length):typeof oe=="string"&&(Ye=oe,oe=this.length),Ye!==void 0&&typeof Ye!="string")throw new TypeError("encoding must be a string");if(typeof Ye=="string"&&!Ae.isEncoding(Ye))throw new TypeError("Unknown encoding: "+Ye);if(ae.length===1){var vt=ae.charCodeAt(0);(Ye==="utf8"&&vt<128||Ye==="latin1")&&(ae=vt)}}else typeof ae=="number"?ae=ae&255:typeof ae=="boolean"&&(ae=Number(ae));if(se<0||this.length<se||this.length<oe)throw new RangeError("Out of range index");if(oe<=se)return this;se=se>>>0,oe=oe===void 0?this.length:oe>>>0,ae||(ae=0);var et;if(typeof ae=="number")for(et=se;et<oe;++et)this[et]=ae;else{var lt=Ae.isBuffer(ae)?ae:Ae.from(ae,Ye),Pt=lt.length;if(Pt===0)throw new TypeError('The value "'+ae+'" is invalid for argument "value"');for(et=0;et<oe-se;++et)this[et+se]=lt[et%Pt]}return this};var Qt=/[^+/0-9A-Za-z-_]/g;function cn(ie){if(ie=ie.split("=")[0],ie=ie.trim().replace(Qt,""),ie.length<2)return"";for(;ie.length%4!==0;)ie=ie+"=";return ie}function Nn(ie,ae){ae=ae||1/0;for(var se,oe=ie.length,Ye=null,vt=[],et=0;et<oe;++et){if(se=ie.charCodeAt(et),se>55295&&se<57344){if(!Ye){if(se>56319){(ae-=3)>-1&&vt.push(239,191,189);continue}else if(et+1===oe){(ae-=3)>-1&&vt.push(239,191,189);continue}Ye=se;continue}if(se<56320){(ae-=3)>-1&&vt.push(239,191,189),Ye=se;continue}se=(Ye-55296<<10|se-56320)+65536}else Ye&&(ae-=3)>-1&&vt.push(239,191,189);if(Ye=null,se<128){if((ae-=1)<0)break;vt.push(se)}else if(se<2048){if((ae-=2)<0)break;vt.push(se>>6|192,se&63|128)}else if(se<65536){if((ae-=3)<0)break;vt.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((ae-=4)<0)break;vt.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return vt}function fn(ie){for(var ae=[],se=0;se<ie.length;++se)ae.push(ie.charCodeAt(se)&255);return ae}function Ln(ie,ae){for(var se,oe,Ye,vt=[],et=0;et<ie.length&&!((ae-=2)<0);++et)se=ie.charCodeAt(et),oe=se>>8,Ye=se%256,vt.push(Ye),vt.push(oe);return vt}function Cn(ie){return Me.toByteArray(cn(ie))}function Bn(ie,ae,se,oe){for(var Ye=0;Ye<oe&&!(Ye+se>=ae.length||Ye>=ie.length);++Ye)ae[Ye+se]=ie[Ye];return Ye}function gn(ie,ae){return ie instanceof ae||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ae.name}function Se(ie){return ie!==ie}var Fe=function(){for(var ie="0123456789abcdef",ae=new Array(256),se=0;se<16;++se)for(var oe=se*16,Ye=0;Ye<16;++Ye)ae[oe+Ye]=ie[se]+ie[Ye];return ae}()},14625:function(Tn){function Xt(he){var Me,Ue,At="";if(typeof he=="string"||typeof he=="number")At+=he;else if(typeof he=="object")if(Array.isArray(he)){var Ne=he.length;for(Me=0;Me<Ne;Me++)he[Me]&&(Ue=Xt(he[Me]))&&(At&&(At+=" "),At+=Ue)}else for(Ue in he)he[Ue]&&(At&&(At+=" "),At+=Ue);return At}function ce(){for(var he,Me,Ue=0,At="",Ne=arguments.length;Ue<Ne;Ue++)(he=arguments[Ue])&&(Me=Xt(he))&&(At&&(At+=" "),At+=Me);return At}Tn.exports=ce,Tn.exports.clsx=ce},99498:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){he.defineOption("placeholder","",function(Ae,we,fe){var ze=fe&&fe!=he.Init;if(we&&!ze)Ae.on("blur",Ne),Ae.on("change",Le),Ae.on("swapDoc",Le),he.on(Ae.getInputField(),"compositionupdate",Ae.state.placeholderCompose=function(){At(Ae)}),Le(Ae);else if(!we&&ze){Ae.off("blur",Ne),Ae.off("change",Le),Ae.off("swapDoc",Le),he.off(Ae.getInputField(),"compositionupdate",Ae.state.placeholderCompose),Me(Ae);var Be=Ae.getWrapperElement();Be.className=Be.className.replace(" CodeMirror-empty","")}we&&!Ae.hasFocus()&&Ne(Ae)});function Me(Ae){Ae.state.placeholder&&(Ae.state.placeholder.parentNode.removeChild(Ae.state.placeholder),Ae.state.placeholder=null)}function Ue(Ae){Me(Ae);var we=Ae.state.placeholder=document.createElement("pre");we.style.cssText="height: 0; overflow: visible",we.style.direction=Ae.getOption("direction"),we.className="CodeMirror-placeholder CodeMirror-line-like";var fe=Ae.getOption("placeholder");typeof fe=="string"&&(fe=document.createTextNode(fe)),we.appendChild(fe),Ae.display.lineSpace.insertBefore(we,Ae.display.lineSpace.firstChild)}function At(Ae){setTimeout(function(){var we=!1,fe=Ae.getInputField();fe.nodeName=="TEXTAREA"?we=!fe.value:Ae.lineCount()==1&&(we=!/[^\u200b]/.test(fe.querySelector(".CodeMirror-line").textContent)),we?Ue(Ae):Me(Ae)},20)}function Ne(Ae){ve(Ae)&&Ue(Ae)}function Le(Ae){var we=Ae.getWrapperElement(),fe=ve(Ae);we.className=we.className.replace(" CodeMirror-empty","")+(fe?" CodeMirror-empty":""),fe?Ue(Ae):Me(Ae)}function ve(Ae){return Ae.lineCount()===1&&Ae.getLine(0)===""}})},25717:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){var Me={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Ue=he.Pos;he.defineOption("autoCloseBrackets",!1,function(He,ke,Te){Te&&Te!=he.Init&&(He.removeKeyMap(Ne),He.state.closeBrackets=null),ke&&(Le(At(ke,"pairs")),He.state.closeBrackets=ke,He.addKeyMap(Ne))});function At(He,ke){return ke=="pairs"&&typeof He=="string"?He:typeof He=="object"&&He[ke]!=null?He[ke]:Me[ke]}var Ne={Backspace:we,Enter:fe};function Le(He){for(var ke=0;ke<He.length;ke++){var Te=He.charAt(ke),Pe="'"+Te+"'";Ne[Pe]||(Ne[Pe]=ve(Te))}}Le(Me.pairs+"`");function ve(He){return function(ke){return Be(ke,He)}}function Ae(He){var ke=He.state.closeBrackets;if(!ke||ke.override)return ke;var Te=He.getModeAt(He.getCursor());return Te.closeBrackets||ke}function we(He){var ke=Ae(He);if(!ke||He.getOption("disableInput"))return he.Pass;for(var Te=At(ke,"pairs"),Pe=He.listSelections(),Xe=0;Xe<Pe.length;Xe++){if(!Pe[Xe].empty())return he.Pass;var Ke=_e(He,Pe[Xe].head);if(!Ke||Te.indexOf(Ke)%2!=0)return he.Pass}for(var Xe=Pe.length-1;Xe>=0;Xe--){var qe=Pe[Xe].head;He.replaceRange("",Ue(qe.line,qe.ch-1),Ue(qe.line,qe.ch+1),"+delete")}}function fe(He){var ke=Ae(He),Te=ke&&At(ke,"explode");if(!Te||He.getOption("disableInput"))return he.Pass;for(var Pe=He.listSelections(),Xe=0;Xe<Pe.length;Xe++){if(!Pe[Xe].empty())return he.Pass;var Ke=_e(He,Pe[Xe].head);if(!Ke||Te.indexOf(Ke)%2!=0)return he.Pass}He.operation(function(){var qe=He.lineSeparator()||`
`;He.replaceSelection(qe+qe,null),He.execCommand("goCharLeft"),Pe=He.listSelections();for(var We=0;We<Pe.length;We++){var Ze=Pe[We].head.line;He.indentLine(Ze,null,!0),He.indentLine(Ze+1,null,!0)}})}function ze(He){var ke=he.cmpPos(He.anchor,He.head)>0;return{anchor:new Ue(He.anchor.line,He.anchor.ch+(ke?-1:1)),head:new Ue(He.head.line,He.head.ch+(ke?1:-1))}}function Be(He,ke){var Te=Ae(He);if(!Te||He.getOption("disableInput"))return he.Pass;var Pe=At(Te,"pairs"),Xe=Pe.indexOf(ke);if(Xe==-1)return he.Pass;for(var Ke=At(Te,"closeBefore"),qe=At(Te,"triples"),We=Pe.charAt(Xe+1)==ke,Ze=He.listSelections(),$e=Xe%2==0,rt,ht=0;ht<Ze.length;ht++){var dt=Ze[ht],xt=dt.head,Je,Lt=He.getRange(xt,Ue(xt.line,xt.ch+1));if($e&&!dt.empty())Je="surround";else if((We||!$e)&&Lt==ke)We&&Oe(He,xt)?Je="both":qe.indexOf(ke)>=0&&He.getRange(xt,Ue(xt.line,xt.ch+3))==ke+ke+ke?Je="skipThree":Je="skip";else if(We&&xt.ch>1&&qe.indexOf(ke)>=0&&He.getRange(Ue(xt.line,xt.ch-2),xt)==ke+ke){if(xt.ch>2&&/\bstring/.test(He.getTokenTypeAt(Ue(xt.line,xt.ch-2))))return he.Pass;Je="addFour"}else if(We){var Re=xt.ch==0?" ":He.getRange(Ue(xt.line,xt.ch-1),xt);if(!he.isWordChar(Lt)&&Re!=ke&&!he.isWordChar(Re))Je="both";else return he.Pass}else if($e&&(Lt.length===0||/\s/.test(Lt)||Ke.indexOf(Lt)>-1))Je="both";else return he.Pass;if(!rt)rt=Je;else if(rt!=Je)return he.Pass}var Rt=Xe%2?Pe.charAt(Xe-1):ke,Ft=Xe%2?ke:Pe.charAt(Xe+1);He.operation(function(){if(rt=="skip")He.execCommand("goCharRight");else if(rt=="skipThree")for(var bt=0;bt<3;bt++)He.execCommand("goCharRight");else if(rt=="surround"){for(var Tt=He.getSelections(),bt=0;bt<Tt.length;bt++)Tt[bt]=Rt+Tt[bt]+Ft;He.replaceSelections(Tt,"around"),Tt=He.listSelections().slice();for(var bt=0;bt<Tt.length;bt++)Tt[bt]=ze(Tt[bt]);He.setSelections(Tt)}else rt=="both"?(He.replaceSelection(Rt+Ft,null),He.triggerElectric(Rt+Ft),He.execCommand("goCharLeft")):rt=="addFour"&&(He.replaceSelection(Rt+Rt+Rt+Rt,"before"),He.execCommand("goCharRight"))})}function _e(He,ke){var Te=He.getRange(Ue(ke.line,ke.ch-1),Ue(ke.line,ke.ch+1));return Te.length==2?Te:null}function Oe(He,ke){var Te=He.getTokenAt(Ue(ke.line,ke.ch+1));return/\bstring/.test(Te.type)&&Te.start==ke.ch&&(ke.ch==0||!/\bstring/.test(He.getTokenTypeAt(ke)))}})},6313:function(Tn,Xt,ce){(function(he){he(ce(89780),ce(32855))})(function(he){he.defineOption("autoCloseTags",!1,function(we,fe,ze){if(ze!=he.Init&&ze&&we.removeKeyMap("autoCloseTags"),!!fe){var Be={name:"autoCloseTags"};(typeof fe!="object"||fe.whenClosing!==!1)&&(Be["'/'"]=function(_e){return Le(_e)}),(typeof fe!="object"||fe.whenOpening!==!1)&&(Be["'>'"]=function(_e){return At(_e)}),we.addKeyMap(Be)}});var Me=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ue=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function At(we){if(we.getOption("disableInput"))return he.Pass;for(var fe=we.listSelections(),ze=[],Be=we.getOption("autoCloseTags"),_e=0;_e<fe.length;_e++){if(!fe[_e].empty())return he.Pass;var Oe=fe[_e].head,He=we.getTokenAt(Oe),ke=he.innerMode(we.getMode(),He.state),Te=ke.state,Pe=ke.mode.xmlCurrentTag&&ke.mode.xmlCurrentTag(Te),Xe=Pe&&Pe.name;if(!Xe)return he.Pass;var Ke=ke.mode.configuration=="html",qe=typeof Be=="object"&&Be.dontCloseTags||Ke&&Me,We=typeof Be=="object"&&Be.indentTags||Ke&&Ue;He.end>Oe.ch&&(Xe=Xe.slice(0,Xe.length-He.end+Oe.ch));var Ze=Xe.toLowerCase();if(!Xe||He.type=="string"&&(He.end!=Oe.ch||!/[\"\']/.test(He.string.charAt(He.string.length-1))||He.string.length==1)||He.type=="tag"&&Pe.close||He.string.indexOf("/")==Oe.ch-He.start-1||qe&&ve(qe,Ze)>-1||Ae(we,ke.mode.xmlCurrentContext&&ke.mode.xmlCurrentContext(Te)||[],Xe,Oe,!0))return he.Pass;var $e=typeof Be=="object"&&Be.emptyTags;if($e&&ve($e,Xe)>-1){ze[_e]={text:"/>",newPos:he.Pos(Oe.line,Oe.ch+2)};continue}var rt=We&&ve(We,Ze)>-1;ze[_e]={indent:rt,text:">"+(rt?`
`:"")+"</"+Xe+">",newPos:rt?he.Pos(Oe.line+1,0):he.Pos(Oe.line,Oe.ch+1)}}for(var ht=typeof Be=="object"&&Be.dontIndentOnAutoClose,_e=fe.length-1;_e>=0;_e--){var dt=ze[_e];we.replaceRange(dt.text,fe[_e].head,fe[_e].anchor,"+insert");var xt=we.listSelections().slice(0);xt[_e]={head:dt.newPos,anchor:dt.newPos},we.setSelections(xt),!ht&&dt.indent&&(we.indentLine(dt.newPos.line,null,!0),we.indentLine(dt.newPos.line+1,null,!0))}}function Ne(we,fe){for(var ze=we.listSelections(),Be=[],_e=fe?"/":"</",Oe=we.getOption("autoCloseTags"),He=typeof Oe=="object"&&Oe.dontIndentOnSlash,ke=0;ke<ze.length;ke++){if(!ze[ke].empty())return he.Pass;var Te=ze[ke].head,Pe=we.getTokenAt(Te),Xe=he.innerMode(we.getMode(),Pe.state),Ke=Xe.state;if(fe&&(Pe.type=="string"||Pe.string.charAt(0)!="<"||Pe.start!=Te.ch-1))return he.Pass;var qe,We=Xe.mode.name!="xml"&&we.getMode().name=="htmlmixed";if(We&&Xe.mode.name=="javascript")qe=_e+"script";else if(We&&Xe.mode.name=="css")qe=_e+"style";else{var Ze=Xe.mode.xmlCurrentContext&&Xe.mode.xmlCurrentContext(Ke);if(!Ze||Ze.length&&Ae(we,Ze,Ze[Ze.length-1],Te))return he.Pass;qe=_e+Ze[Ze.length-1]}we.getLine(Te.line).charAt(Pe.end)!=">"&&(qe+=">"),Be[ke]=qe}if(we.replaceSelections(Be),ze=we.listSelections(),!He)for(var ke=0;ke<ze.length;ke++)(ke==ze.length-1||ze[ke].head.line<ze[ke+1].head.line)&&we.indentLine(ze[ke].head.line)}function Le(we){return we.getOption("disableInput")?he.Pass:Ne(we,!0)}he.commands.closeTag=function(we){return Ne(we)};function ve(we,fe){if(we.indexOf)return we.indexOf(fe);for(var ze=0,Be=we.length;ze<Be;++ze)if(we[ze]==fe)return ze;return-1}function Ae(we,fe,ze,Be,_e){if(!he.scanForClosingTag)return!1;var Oe=Math.min(we.lastLine()+1,Be.line+500),He=he.scanForClosingTag(we,Be,null,Oe);if(!He||He.tag!=ze)return!1;for(var ke=_e?1:0,Te=fe.length-1;Te>=0&&fe[Te]==ze;Te--)++ke;Be=He.to;for(var Te=1;Te<ke;Te++){var Pe=he.scanForClosingTag(we,Be,null,Oe);if(!Pe||Pe.tag!=ze)return!1;Be=Pe.to}return!0}})},32855:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){"use strict";var Me=he.Pos;function Ue(Te,Pe){return Te.line-Pe.line||Te.ch-Pe.ch}var At="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=At+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Le=new RegExp("<(/?)(["+At+"]["+Ne+"]*)","g");function ve(Te,Pe,Xe,Ke){this.line=Pe,this.ch=Xe,this.cm=Te,this.text=Te.getLine(Pe),this.min=Ke?Math.max(Ke.from,Te.firstLine()):Te.firstLine(),this.max=Ke?Math.min(Ke.to-1,Te.lastLine()):Te.lastLine()}function Ae(Te,Pe){var Xe=Te.cm.getTokenTypeAt(Me(Te.line,Pe));return Xe&&/\btag\b/.test(Xe)}function we(Te){if(!(Te.line>=Te.max))return Te.ch=0,Te.text=Te.cm.getLine(++Te.line),!0}function fe(Te){if(!(Te.line<=Te.min))return Te.text=Te.cm.getLine(--Te.line),Te.ch=Te.text.length,!0}function ze(Te){for(;;){var Pe=Te.text.indexOf(">",Te.ch);if(Pe==-1){if(we(Te))continue;return}if(!Ae(Te,Pe+1)){Te.ch=Pe+1;continue}var Xe=Te.text.lastIndexOf("/",Pe),Ke=Xe>-1&&!/\S/.test(Te.text.slice(Xe+1,Pe));return Te.ch=Pe+1,Ke?"selfClose":"regular"}}function Be(Te){for(;;){var Pe=Te.ch?Te.text.lastIndexOf("<",Te.ch-1):-1;if(Pe==-1){if(fe(Te))continue;return}if(!Ae(Te,Pe+1)){Te.ch=Pe;continue}Le.lastIndex=Pe,Te.ch=Pe;var Xe=Le.exec(Te.text);if(Xe&&Xe.index==Pe)return Xe}}function _e(Te){for(;;){Le.lastIndex=Te.ch;var Pe=Le.exec(Te.text);if(!Pe){if(we(Te))continue;return}if(!Ae(Te,Pe.index+1)){Te.ch=Pe.index+1;continue}return Te.ch=Pe.index+Pe[0].length,Pe}}function Oe(Te){for(;;){var Pe=Te.ch?Te.text.lastIndexOf(">",Te.ch-1):-1;if(Pe==-1){if(fe(Te))continue;return}if(!Ae(Te,Pe+1)){Te.ch=Pe;continue}var Xe=Te.text.lastIndexOf("/",Pe),Ke=Xe>-1&&!/\S/.test(Te.text.slice(Xe+1,Pe));return Te.ch=Pe+1,Ke?"selfClose":"regular"}}function He(Te,Pe){for(var Xe=[];;){var Ke=_e(Te),qe,We=Te.line,Ze=Te.ch-(Ke?Ke[0].length:0);if(!Ke||!(qe=ze(Te)))return;if(qe!="selfClose")if(Ke[1]){for(var $e=Xe.length-1;$e>=0;--$e)if(Xe[$e]==Ke[2]){Xe.length=$e;break}if($e<0&&(!Pe||Pe==Ke[2]))return{tag:Ke[2],from:Me(We,Ze),to:Me(Te.line,Te.ch)}}else Xe.push(Ke[2])}}function ke(Te,Pe){for(var Xe=[];;){var Ke=Oe(Te);if(!Ke)return;if(Ke=="selfClose"){Be(Te);continue}var qe=Te.line,We=Te.ch,Ze=Be(Te);if(!Ze)return;if(Ze[1])Xe.push(Ze[2]);else{for(var $e=Xe.length-1;$e>=0;--$e)if(Xe[$e]==Ze[2]){Xe.length=$e;break}if($e<0&&(!Pe||Pe==Ze[2]))return{tag:Ze[2],from:Me(Te.line,Te.ch),to:Me(qe,We)}}}}he.registerHelper("fold","xml",function(Te,Pe){for(var Xe=new ve(Te,Pe.line,0);;){var Ke=_e(Xe);if(!Ke||Xe.line!=Pe.line)return;var qe=ze(Xe);if(!qe)return;if(!Ke[1]&&qe!="selfClose"){var We=Me(Xe.line,Xe.ch),Ze=He(Xe,Ke[2]);return Ze&&Ue(Ze.from,We)>0?{from:We,to:Ze.from}:null}}}),he.findMatchingTag=function(Te,Pe,Xe){var Ke=new ve(Te,Pe.line,Pe.ch,Xe);if(!(Ke.text.indexOf(">")==-1&&Ke.text.indexOf("<")==-1)){var qe=ze(Ke),We=qe&&Me(Ke.line,Ke.ch),Ze=qe&&Be(Ke);if(!(!qe||!Ze||Ue(Ke,Pe)>0)){var $e={from:Me(Ke.line,Ke.ch),to:We,tag:Ze[2]};return qe=="selfClose"?{open:$e,close:null,at:"open"}:Ze[1]?{open:ke(Ke,Ze[2]),close:$e,at:"close"}:(Ke=new ve(Te,We.line,We.ch,Xe),{open:$e,close:He(Ke,Ze[2]),at:"open"})}}},he.findEnclosingTag=function(Te,Pe,Xe,Ke){for(var qe=new ve(Te,Pe.line,Pe.ch,Xe);;){var We=ke(qe,Ke);if(!We)break;var Ze=new ve(Te,Pe.line,Pe.ch,Xe),$e=He(Ze,We.tag);if($e)return{open:We,close:$e}}},he.scanForClosingTag=function(Te,Pe,Xe,Ke){var qe=new ve(Te,Pe.line,Pe.ch,Ke?{from:0,to:Ke}:null);return He(qe,Xe)}})},89780:function(Tn){(function(Xt,ce){Tn.exports=ce()})(this,function(){"use strict";var Xt=navigator.userAgent,ce=navigator.platform,he=/gecko\/\d/i.test(Xt),Me=/MSIE \d/.test(Xt),Ue=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Xt),At=/Edge\/(\d+)/.exec(Xt),Ne=Me||Ue||At,Le=Ne&&(Me?document.documentMode||6:+(At||Ue)[1]),ve=!At&&/WebKit\//.test(Xt),Ae=ve&&/Qt\/\d+\.\d+/.test(Xt),we=!At&&/Chrome\//.test(Xt),fe=/Opera\//.test(Xt),ze=/Apple Computer/.test(navigator.vendor),Be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Xt),_e=/PhantomJS/.test(Xt),Oe=!At&&/AppleWebKit/.test(Xt)&&/Mobile\/\w+/.test(Xt),He=/Android/.test(Xt),ke=Oe||He||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Xt),Te=Oe||/Mac/.test(ce),Pe=/\bCrOS\b/.test(Xt),Xe=/win/i.test(ce),Ke=fe&&Xt.match(/Version\/(\d*\.\d*)/);Ke&&(Ke=Number(Ke[1])),Ke&&Ke>=15&&(fe=!1,ve=!0);var qe=Te&&(Ae||fe&&(Ke==null||Ke<12.11)),We=he||Ne&&Le>=9;function Ze(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var $e=function(x,ee){var ue=x.className,le=Ze(ee).exec(ue);if(le){var me=ue.slice(le.index+le[0].length);x.className=ue.slice(0,le.index)+(me?le[1]+me:"")}};function rt(x){for(var ee=x.childNodes.length;ee>0;--ee)x.removeChild(x.firstChild);return x}function ht(x,ee){return rt(x).appendChild(ee)}function dt(x,ee,ue,le){var me=document.createElement(x);if(ue&&(me.className=ue),le&&(me.style.cssText=le),typeof ee=="string")me.appendChild(document.createTextNode(ee));else if(ee)for(var Ve=0;Ve<ee.length;++Ve)me.appendChild(ee[Ve]);return me}function xt(x,ee,ue,le){var me=dt(x,ee,ue,le);return me.setAttribute("role","presentation"),me}var Je;document.createRange?Je=function(x,ee,ue,le){var me=document.createRange();return me.setEnd(le||x,ue),me.setStart(x,ee),me}:Je=function(x,ee,ue){var le=document.body.createTextRange();try{le.moveToElementText(x.parentNode)}catch(me){return le}return le.collapse(!0),le.moveEnd("character",ue),le.moveStart("character",ee),le};function Lt(x,ee){if(ee.nodeType==3&&(ee=ee.parentNode),x.contains)return x.contains(ee);do if(ee.nodeType==11&&(ee=ee.host),ee==x)return!0;while(ee=ee.parentNode)}function Re(){var x;try{x=document.activeElement}catch(ee){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function Rt(x,ee){var ue=x.className;Ze(ee).test(ue)||(x.className+=(ue?" ":"")+ee)}function Ft(x,ee){for(var ue=x.split(" "),le=0;le<ue.length;le++)ue[le]&&!Ze(ue[le]).test(ee)&&(ee+=" "+ue[le]);return ee}var bt=function(x){x.select()};Oe?bt=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:Ne&&(bt=function(x){try{x.select()}catch(ee){}});function Tt(x){var ee=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,ee)}}function wt(x,ee,ue){ee||(ee={});for(var le in x)x.hasOwnProperty(le)&&(ue!==!1||!ee.hasOwnProperty(le))&&(ee[le]=x[le]);return ee}function it(x,ee,ue,le,me){ee==null&&(ee=x.search(/[^\s\u00a0]/),ee==-1&&(ee=x.length));for(var Ve=le||0,mt=me||0;;){var It=x.indexOf(" ",Ve);if(It<0||It>=ee)return mt+(ee-Ve);mt+=It-Ve,mt+=ue-mt%ue,Ve=It+1}}var je=function(){this.id=null,this.f=null,this.time=0,this.handler=Tt(this.onTimeout,this)};je.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},je.prototype.set=function(x,ee){this.f=ee;var ue=+new Date+x;(!this.id||ue<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ue)};function at(x,ee){for(var ue=0;ue<x.length;++ue)if(x[ue]==ee)return ue;return-1}var Yt=50,Vt={toString:function(){return"CodeMirror.Pass"}},St={scroll:!1},Qt={origin:"*mouse"},cn={origin:"+move"};function Nn(x,ee,ue){for(var le=0,me=0;;){var Ve=x.indexOf(" ",le);Ve==-1&&(Ve=x.length);var mt=Ve-le;if(Ve==x.length||me+mt>=ee)return le+Math.min(mt,ee-me);if(me+=Ve-le,me+=ue-me%ue,le=Ve+1,me>=ee)return le}}var fn=[""];function Ln(x){for(;fn.length<=x;)fn.push(Cn(fn)+" ");return fn[x]}function Cn(x){return x[x.length-1]}function Bn(x,ee){for(var ue=[],le=0;le<x.length;le++)ue[le]=ee(x[le],le);return ue}function gn(x,ee,ue){for(var le=0,me=ue(ee);le<x.length&&ue(x[le])<=me;)le++;x.splice(le,0,ee)}function Se(){}function Fe(x,ee){var ue;return Object.create?ue=Object.create(x):(Se.prototype=x,ue=new Se),ee&&wt(ee,ue),ue}var ie=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ae(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||ie.test(x))}function se(x,ee){return ee?ee.source.indexOf("\\w")>-1&&ae(x)?!0:ee.test(x):ae(x)}function oe(x){for(var ee in x)if(x.hasOwnProperty(ee)&&x[ee])return!1;return!0}var Ye=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function vt(x){return x.charCodeAt(0)>=768&&Ye.test(x)}function et(x,ee,ue){for(;(ue<0?ee>0:ee<x.length)&&vt(x.charAt(ee));)ee+=ue;return ee}function lt(x,ee,ue){for(var le=ee>ue?-1:1;;){if(ee==ue)return ee;var me=(ee+ue)/2,Ve=le<0?Math.ceil(me):Math.floor(me);if(Ve==ee)return x(Ve)?ee:ue;x(Ve)?ue=Ve:ee=Ve+le}}function Pt(x,ee,ue,le){if(!x)return le(ee,ue,"ltr",0);for(var me=!1,Ve=0;Ve<x.length;++Ve){var mt=x[Ve];(mt.from<ue&&mt.to>ee||ee==ue&&mt.to==ee)&&(le(Math.max(mt.from,ee),Math.min(mt.to,ue),mt.level==1?"rtl":"ltr",Ve),me=!0)}me||le(ee,ue,"ltr")}var Mt=null;function kt(x,ee,ue){var le;Mt=null;for(var me=0;me<x.length;++me){var Ve=x[me];if(Ve.from<ee&&Ve.to>ee)return me;Ve.to==ee&&(Ve.from!=Ve.to&&ue=="before"?le=me:Mt=me),Ve.from==ee&&(Ve.from!=Ve.to&&ue!="before"?le=me:Mt=me)}return le!=null?le:Mt}var $t=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ee="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ue(Jt){return Jt<=247?x.charAt(Jt):1424<=Jt&&Jt<=1524?"R":1536<=Jt&&Jt<=1785?ee.charAt(Jt-1536):1774<=Jt&&Jt<=2220?"r":8192<=Jt&&Jt<=8203?"w":Jt==8204?"b":"L"}var le=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,me=/[stwN]/,Ve=/[LRr]/,mt=/[Lb1n]/,It=/[1n]/;function Ht(Jt,zn,tr){this.level=Jt,this.from=zn,this.to=tr}return function(Jt,zn){var tr=zn=="ltr"?"L":"R";if(Jt.length==0||zn=="ltr"&&!le.test(Jt))return!1;for(var ei=Jt.length,Kr=[],Ri=0;Ri<ei;++Ri)Kr.push(ue(Jt.charCodeAt(Ri)));for(var ga=0,Ga=tr;ga<ei;++ga){var yo=Kr[ga];yo=="m"?Kr[ga]=Ga:Ga=yo}for(var ko=0,Ao=tr;ko<ei;++ko){var Ro=Kr[ko];Ro=="1"&&Ao=="r"?Kr[ko]="n":Ve.test(Ro)&&(Ao=Ro,Ro=="r"&&(Kr[ko]="R"))}for(var ms=1,ws=Kr[0];ms<ei-1;++ms){var Rs=Kr[ms];Rs=="+"&&ws=="1"&&Kr[ms+1]=="1"?Kr[ms]="1":Rs==","&&ws==Kr[ms+1]&&(ws=="1"||ws=="n")&&(Kr[ms]=ws),ws=Rs}for(var zu=0;zu<ei;++zu){var pd=Kr[zu];if(pd==",")Kr[zu]="N";else if(pd=="%"){var Sc=void 0;for(Sc=zu+1;Sc<ei&&Kr[Sc]=="%";++Sc);for(var Od=zu&&Kr[zu-1]=="!"||Sc<ei&&Kr[Sc]=="1"?"1":"N",Sd=zu;Sd<Sc;++Sd)Kr[Sd]=Od;zu=Sc-1}}for(var cd=0,Zd=tr;cd<ei;++cd){var rl=Kr[cd];Zd=="L"&&rl=="1"?Kr[cd]="L":Ve.test(rl)&&(Zd=rl)}for(var uo=0;uo<ei;++uo)if(me.test(Kr[uo])){var Ju=void 0;for(Ju=uo+1;Ju<ei&&me.test(Kr[Ju]);++Ju);for(var Ec=(uo?Kr[uo-1]:tr)=="L",Lu=(Ju<ei?Kr[Ju]:tr)=="L",Th=Ec==Lu?Ec?"L":"R":tr,Pl=uo;Pl<Ju;++Pl)Kr[Pl]=Th;uo=Ju-1}for(var Ql=[],lu,Ed=0;Ed<ei;)if(mt.test(Kr[Ed])){var s0=Ed;for(++Ed;Ed<ei&&mt.test(Kr[Ed]);++Ed);Ql.push(new Ht(0,s0,Ed))}else{var Us=Ed,PA=Ql.length,hu=zn=="rtl"?1:0;for(++Ed;Ed<ei&&Kr[Ed]!="L";++Ed);for(var Gc=Us;Gc<Ed;)if(It.test(Kr[Gc])){Us<Gc&&(Ql.splice(PA,0,new Ht(1,Us,Gc)),PA+=hu);var jf=Gc;for(++Gc;Gc<Ed&&It.test(Kr[Gc]);++Gc);Ql.splice(PA,0,new Ht(2,jf,Gc)),PA+=hu,Us=Gc}else++Gc;Us<Ed&&Ql.splice(PA,0,new Ht(1,Us,Ed))}return zn=="ltr"&&(Ql[0].level==1&&(lu=Jt.match(/^\s+/))&&(Ql[0].from=lu[0].length,Ql.unshift(new Ht(0,0,lu[0].length))),Cn(Ql).level==1&&(lu=Jt.match(/\s+$/))&&(Cn(Ql).to-=lu[0].length,Ql.push(new Ht(0,ei-lu[0].length,ei)))),zn=="rtl"?Ql.reverse():Ql}}();function Sn(x,ee){var ue=x.order;return ue==null&&(ue=x.order=$t(x.text,ee)),ue}var Bt=[],nn=function(x,ee,ue){if(x.addEventListener)x.addEventListener(ee,ue,!1);else if(x.attachEvent)x.attachEvent("on"+ee,ue);else{var le=x._handlers||(x._handlers={});le[ee]=(le[ee]||Bt).concat(ue)}};function tn(x,ee){return x._handlers&&x._handlers[ee]||Bt}function zt(x,ee,ue){if(x.removeEventListener)x.removeEventListener(ee,ue,!1);else if(x.detachEvent)x.detachEvent("on"+ee,ue);else{var le=x._handlers,me=le&&le[ee];if(me){var Ve=at(me,ue);Ve>-1&&(le[ee]=me.slice(0,Ve).concat(me.slice(Ve+1)))}}}function pt(x,ee){var ue=tn(x,ee);if(ue.length)for(var le=Array.prototype.slice.call(arguments,2),me=0;me<ue.length;++me)ue[me].apply(null,le)}function Wt(x,ee,ue){return typeof ee=="string"&&(ee={type:ee,preventDefault:function(){this.defaultPrevented=!0}}),pt(x,ue||ee.type,x,ee),jr(ee)||ee.codemirrorIgnore}function vn(x){var ee=x._handlers&&x._handlers.cursorActivity;if(ee)for(var ue=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),le=0;le<ee.length;++le)at(ue,ee[le])==-1&&ue.push(ee[le])}function xn(x,ee){return tn(x,ee).length>0}function Wn(x){x.prototype.on=function(ee,ue){nn(this,ee,ue)},x.prototype.off=function(ee,ue){zt(this,ee,ue)}}function br(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Lr(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function jr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Qr(x){br(x),Lr(x)}function vr(x){return x.target||x.srcElement}function Ar(x){var ee=x.which;return ee==null&&(x.button&1?ee=1:x.button&2?ee=3:x.button&4&&(ee=2)),Te&&x.ctrlKey&&ee==1&&(ee=3),ee}var Tr=function(){if(Ne&&Le<9)return!1;var x=dt("div");return"draggable"in x||"dragDrop"in x}(),Bi;function $i(x){if(Bi==null){var ee=dt("span","\u200B");ht(x,dt("span",[ee,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Bi=ee.offsetWidth<=1&&ee.offsetHeight>2&&!(Ne&&Le<8))}var ue=Bi?dt("span","\u200B"):dt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ue.setAttribute("cm-text",""),ue}var mi;function Mi(x){if(mi!=null)return mi;var ee=ht(x,document.createTextNode("A\u062EA")),ue=Je(ee,0,1).getBoundingClientRect(),le=Je(ee,1,2).getBoundingClientRect();return rt(x),!ue||ue.left==ue.right?!1:mi=le.right-ue.right<3}var pa=`
b`.split(/\n/).length!=3?function(x){for(var ee=0,ue=[],le=x.length;ee<=le;){var me=x.indexOf(`
`,ee);me==-1&&(me=x.length);var Ve=x.slice(ee,x.charAt(me-1)=="\r"?me-1:me),mt=Ve.indexOf("\r");mt!=-1?(ue.push(Ve.slice(0,mt)),ee+=mt+1):(ue.push(Ve),ee=me+1)}return ue}:function(x){return x.split(/\r\n?|\n/)},Dr=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(ee){return!1}}:function(x){var ee;try{ee=x.ownerDocument.selection.createRange()}catch(ue){}return!ee||ee.parentElement()!=x?!1:ee.compareEndPoints("StartToEnd",ee)!=0},_n=function(){var x=dt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),no=null;function Ki(x){if(no!=null)return no;var ee=ht(x,dt("span","x")),ue=ee.getBoundingClientRect(),le=Je(ee,0,1).getBoundingClientRect();return no=Math.abs(ue.left-le.left)>1}var Co={},ro={};function Pi(x,ee){arguments.length>2&&(ee.dependencies=Array.prototype.slice.call(arguments,2)),Co[x]=ee}function Ii(x,ee){ro[x]=ee}function Si(x){if(typeof x=="string"&&ro.hasOwnProperty(x))x=ro[x];else if(x&&typeof x.name=="string"&&ro.hasOwnProperty(x.name)){var ee=ro[x.name];typeof ee=="string"&&(ee={name:ee}),x=Fe(ee,x),x.name=ee.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Si("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Si("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function gi(x,ee){ee=Si(ee);var ue=Co[ee.name];if(!ue)return gi(x,"text/plain");var le=ue(x,ee);if(Ea.hasOwnProperty(ee.name)){var me=Ea[ee.name];for(var Ve in me)me.hasOwnProperty(Ve)&&(le.hasOwnProperty(Ve)&&(le["_"+Ve]=le[Ve]),le[Ve]=me[Ve])}if(le.name=ee.name,ee.helperType&&(le.helperType=ee.helperType),ee.modeProps)for(var mt in ee.modeProps)le[mt]=ee.modeProps[mt];return le}var Ea={};function Fn(x,ee){var ue=Ea.hasOwnProperty(x)?Ea[x]:Ea[x]={};wt(ee,ue)}function Dt(x,ee){if(ee===!0)return ee;if(x.copyState)return x.copyState(ee);var ue={};for(var le in ee){var me=ee[le];me instanceof Array&&(me=me.concat([])),ue[le]=me}return ue}function Gt(x,ee){for(var ue;x.innerMode&&(ue=x.innerMode(ee),!(!ue||ue.mode==x));)ee=ue.state,x=ue.mode;return ue||{mode:x,state:ee}}function Zt(x,ee,ue){return x.startState?x.startState(ee,ue):!0}var jt=function(x,ee,ue){this.pos=this.start=0,this.string=x,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ue};jt.prototype.eol=function(){return this.pos>=this.string.length},jt.prototype.sol=function(){return this.pos==this.lineStart},jt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},jt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},jt.prototype.eat=function(x){var ee=this.string.charAt(this.pos),ue;if(typeof x=="string"?ue=ee==x:ue=ee&&(x.test?x.test(ee):x(ee)),ue)return++this.pos,ee},jt.prototype.eatWhile=function(x){for(var ee=this.pos;this.eat(x););return this.pos>ee},jt.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},jt.prototype.skipToEnd=function(){this.pos=this.string.length},jt.prototype.skipTo=function(x){var ee=this.string.indexOf(x,this.pos);if(ee>-1)return this.pos=ee,!0},jt.prototype.backUp=function(x){this.pos-=x},jt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=it(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?it(this.string,this.lineStart,this.tabSize):0)},jt.prototype.indentation=function(){return it(this.string,null,this.tabSize)-(this.lineStart?it(this.string,this.lineStart,this.tabSize):0)},jt.prototype.match=function(x,ee,ue){if(typeof x=="string"){var le=function(mt){return ue?mt.toLowerCase():mt},me=this.string.substr(this.pos,x.length);if(le(me)==le(x))return ee!==!1&&(this.pos+=x.length),!0}else{var Ve=this.string.slice(this.pos).match(x);return Ve&&Ve.index>0?null:(Ve&&ee!==!1&&(this.pos+=Ve[0].length),Ve)}},jt.prototype.current=function(){return this.string.slice(this.start,this.pos)},jt.prototype.hideFirstChars=function(x,ee){this.lineStart+=x;try{return ee()}finally{this.lineStart-=x}},jt.prototype.lookAhead=function(x){var ee=this.lineOracle;return ee&&ee.lookAhead(x)},jt.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function on(x,ee){if(ee-=x.first,ee<0||ee>=x.size)throw new Error("There is no line "+(ee+x.first)+" in the document.");for(var ue=x;!ue.lines;)for(var le=0;;++le){var me=ue.children[le],Ve=me.chunkSize();if(ee<Ve){ue=me;break}ee-=Ve}return ue.lines[ee]}function Mn(x,ee,ue){var le=[],me=ee.line;return x.iter(ee.line,ue.line+1,function(Ve){var mt=Ve.text;me==ue.line&&(mt=mt.slice(0,ue.ch)),me==ee.line&&(mt=mt.slice(ee.ch)),le.push(mt),++me}),le}function ir(x,ee,ue){var le=[];return x.iter(ee,ue,function(me){le.push(me.text)}),le}function qn(x,ee){var ue=ee-x.height;if(ue)for(var le=x;le;le=le.parent)le.height+=ue}function pr(x){if(x.parent==null)return null;for(var ee=x.parent,ue=at(ee.lines,x),le=ee.parent;le;ee=le,le=le.parent)for(var me=0;le.children[me]!=ee;++me)ue+=le.children[me].chunkSize();return ue+ee.first}function Gr(x,ee){var ue=x.first;e:do{for(var le=0;le<x.children.length;++le){var me=x.children[le],Ve=me.height;if(ee<Ve){x=me;continue e}ee-=Ve,ue+=me.chunkSize()}return ue}while(!x.lines);for(var mt=0;mt<x.lines.length;++mt){var It=x.lines[mt],Ht=It.height;if(ee<Ht)break;ee-=Ht}return ue+mt}function Zr(x,ee){return ee>=x.first&&ee<x.first+x.size}function $r(x,ee){return String(x.lineNumberFormatter(ee+x.firstLineNumber))}function Xn(x,ee,ue){if(ue===void 0&&(ue=null),!(this instanceof Xn))return new Xn(x,ee,ue);this.line=x,this.ch=ee,this.sticky=ue}function Or(x,ee){return x.line-ee.line||x.ch-ee.ch}function ki(x,ee){return x.sticky==ee.sticky&&Or(x,ee)==0}function vi(x){return Xn(x.line,x.ch)}function Zi(x,ee){return Or(x,ee)<0?ee:x}function xi(x,ee){return Or(x,ee)<0?x:ee}function Ca(x,ee){return Math.max(x.first,Math.min(ee,x.first+x.size-1))}function si(x,ee){if(ee.line<x.first)return Xn(x.first,0);var ue=x.first+x.size-1;return ee.line>ue?Xn(ue,on(x,ue).text.length):oa(ee,on(x,ee.line).text.length)}function oa(x,ee){var ue=x.ch;return ue==null||ue>ee?Xn(x.line,ee):ue<0?Xn(x.line,0):x}function mn(x,ee){for(var ue=[],le=0;le<ee.length;le++)ue[le]=si(x,ee[le]);return ue}var mr=function(x,ee){this.state=x,this.lookAhead=ee},dr=function(x,ee,ue,le){this.state=ee,this.doc=x,this.line=ue,this.maxLookAhead=le||0,this.baseTokens=null,this.baseTokenPos=1};dr.prototype.lookAhead=function(x){var ee=this.doc.getLine(this.line+x);return ee!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),ee},dr.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var ee=this.baseTokens[this.baseTokenPos+1];return{type:ee&&ee.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},dr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},dr.fromSaved=function(x,ee,ue){return ee instanceof mr?new dr(x,Dt(x.mode,ee.state),ue,ee.lookAhead):new dr(x,Dt(x.mode,ee),ue)},dr.prototype.save=function(x){var ee=x!==!1?Dt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new mr(ee,this.maxLookAhead):ee};function Wr(x,ee,ue,le){var me=[x.state.modeGen],Ve={};oo(x,ee.text,x.doc.mode,ue,function(Jt,zn){return me.push(Jt,zn)},Ve,le);for(var mt=ue.state,It=function(Jt){ue.baseTokens=me;var zn=x.state.overlays[Jt],tr=1,ei=0;ue.state=!0,oo(x,ee.text,zn.mode,ue,function(Kr,Ri){for(var ga=tr;ei<Kr;){var Ga=me[tr];Ga>Kr&&me.splice(tr,1,Kr,me[tr+1],Ga),tr+=2,ei=Math.min(Kr,Ga)}if(Ri)if(zn.opaque)me.splice(ga,tr-ga,Kr,"overlay "+Ri),tr=ga+2;else for(;ga<tr;ga+=2){var yo=me[ga+1];me[ga+1]=(yo?yo+" ":"")+"overlay "+Ri}},Ve),ue.state=mt,ue.baseTokens=null,ue.baseTokenPos=1},Ht=0;Ht<x.state.overlays.length;++Ht)It(Ht);return{styles:me,classes:Ve.bgClass||Ve.textClass?Ve:null}}function wr(x,ee,ue){if(!ee.styles||ee.styles[0]!=x.state.modeGen){var le=Mr(x,pr(ee)),me=ee.text.length>x.options.maxHighlightLength&&Dt(x.doc.mode,le.state),Ve=Wr(x,ee,le);me&&(le.state=me),ee.stateAfter=le.save(!me),ee.styles=Ve.styles,Ve.classes?ee.styleClasses=Ve.classes:ee.styleClasses&&(ee.styleClasses=null),ue===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return ee.styles}function Mr(x,ee,ue){var le=x.doc,me=x.display;if(!le.mode.startState)return new dr(le,!0,ee);var Ve=La(x,ee,ue),mt=Ve>le.first&&on(le,Ve-1).stateAfter,It=mt?dr.fromSaved(le,mt,Ve):new dr(le,Zt(le.mode),Ve);return le.iter(Ve,ee,function(Ht){Fr(x,Ht.text,It);var Jt=It.line;Ht.stateAfter=Jt==ee-1||Jt%5==0||Jt>=me.viewFrom&&Jt<me.viewTo?It.save():null,It.nextLine()}),ue&&(le.modeFrontier=It.line),It}function Fr(x,ee,ue,le){var me=x.doc.mode,Ve=new jt(ee,x.options.tabSize,ue);for(Ve.start=Ve.pos=le||0,ee==""&&ui(me,ue.state);!Ve.eol();)yi(me,Ve,ue.state),Ve.start=Ve.pos}function ui(x,ee){if(x.blankLine)return x.blankLine(ee);if(x.innerMode){var ue=Gt(x,ee);if(ue.mode.blankLine)return ue.mode.blankLine(ue.state)}}function yi(x,ee,ue,le){for(var me=0;me<10;me++){le&&(le[0]=Gt(x,ue).mode);var Ve=x.token(ee,ue);if(ee.pos>ee.start)return Ve}throw new Error("Mode "+x.name+" failed to advance stream.")}var Hi=function(x,ee,ue){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=ee||null,this.state=ue};function Oa(x,ee,ue,le){var me=x.doc,Ve=me.mode,mt;ee=si(me,ee);var It=on(me,ee.line),Ht=Mr(x,ee.line,ue),Jt=new jt(It.text,x.options.tabSize,Ht),zn;for(le&&(zn=[]);(le||Jt.pos<ee.ch)&&!Jt.eol();)Jt.start=Jt.pos,mt=yi(Ve,Jt,Ht.state),le&&zn.push(new Hi(Jt,mt,Dt(me.mode,Ht.state)));return le?zn:new Hi(Jt,mt,Ht.state)}function Qa(x,ee){if(x)for(;;){var ue=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ue)break;x=x.slice(0,ue.index)+x.slice(ue.index+ue[0].length);var le=ue[1]?"bgClass":"textClass";ee[le]==null?ee[le]=ue[2]:new RegExp("(?:^|\\s)"+ue[2]+"(?:$|\\s)").test(ee[le])||(ee[le]+=" "+ue[2])}return x}function oo(x,ee,ue,le,me,Ve,mt){var It=ue.flattenSpans;It==null&&(It=x.options.flattenSpans);var Ht=0,Jt=null,zn=new jt(ee,x.options.tabSize,le),tr,ei=x.options.addModeClass&&[null];for(ee==""&&Qa(ui(ue,le.state),Ve);!zn.eol();){if(zn.pos>x.options.maxHighlightLength?(It=!1,mt&&Fr(x,ee,le,zn.pos),zn.pos=ee.length,tr=null):tr=Qa(yi(ue,zn,le.state,ei),Ve),ei){var Kr=ei[0].name;Kr&&(tr="m-"+(tr?Kr+" "+tr:Kr))}if(!It||Jt!=tr){for(;Ht<zn.start;)Ht=Math.min(zn.start,Ht+5e3),me(Ht,Jt);Jt=tr}zn.start=zn.pos}for(;Ht<zn.pos;){var Ri=Math.min(zn.pos,Ht+5e3);me(Ri,Jt),Ht=Ri}}function La(x,ee,ue){for(var le,me,Ve=x.doc,mt=ue?-1:ee-(x.doc.mode.innerMode?1e3:100),It=ee;It>mt;--It){if(It<=Ve.first)return Ve.first;var Ht=on(Ve,It-1),Jt=Ht.stateAfter;if(Jt&&(!ue||It+(Jt instanceof mr?Jt.lookAhead:0)<=Ve.modeFrontier))return It;var zn=it(Ht.text,null,x.options.tabSize);(me==null||le>zn)&&(me=It-1,le=zn)}return me}function Da(x,ee){if(x.modeFrontier=Math.min(x.modeFrontier,ee),!(x.highlightFrontier<ee-10)){for(var ue=x.first,le=ee-1;le>ue;le--){var me=on(x,le).stateAfter;if(me&&(!(me instanceof mr)||le+me.lookAhead<ee)){ue=le+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ue)}}var po=!1,Za=!1;function io(){po=!0}function va(){Za=!0}function ka(x,ee,ue){this.marker=x,this.from=ee,this.to=ue}function Xa(x,ee){if(x)for(var ue=0;ue<x.length;++ue){var le=x[ue];if(le.marker==ee)return le}}function Pa(x,ee){for(var ue,le=0;le<x.length;++le)x[le]!=ee&&(ue||(ue=[])).push(x[le]);return ue}function ao(x,ee){x.markedSpans=x.markedSpans?x.markedSpans.concat([ee]):[ee],ee.marker.attachLine(x)}function us(x,ee,ue){var le;if(x)for(var me=0;me<x.length;++me){var Ve=x[me],mt=Ve.marker,It=Ve.from==null||(mt.inclusiveLeft?Ve.from<=ee:Ve.from<ee);if(It||Ve.from==ee&&mt.type=="bookmark"&&(!ue||!Ve.marker.insertLeft)){var Ht=Ve.to==null||(mt.inclusiveRight?Ve.to>=ee:Ve.to>ee);(le||(le=[])).push(new ka(mt,Ve.from,Ht?null:Ve.to))}}return le}function Ya(x,ee,ue){var le;if(x)for(var me=0;me<x.length;++me){var Ve=x[me],mt=Ve.marker,It=Ve.to==null||(mt.inclusiveRight?Ve.to>=ee:Ve.to>ee);if(It||Ve.from==ee&&mt.type=="bookmark"&&(!ue||Ve.marker.insertLeft)){var Ht=Ve.from==null||(mt.inclusiveLeft?Ve.from<=ee:Ve.from<ee);(le||(le=[])).push(new ka(mt,Ht?null:Ve.from-ee,Ve.to==null?null:Ve.to-ee))}}return le}function fi(x,ee){if(ee.full)return null;var ue=Zr(x,ee.from.line)&&on(x,ee.from.line).markedSpans,le=Zr(x,ee.to.line)&&on(x,ee.to.line).markedSpans;if(!ue&&!le)return null;var me=ee.from.ch,Ve=ee.to.ch,mt=Or(ee.from,ee.to)==0,It=us(ue,me,mt),Ht=Ya(le,Ve,mt),Jt=ee.text.length==1,zn=Cn(ee.text).length+(Jt?me:0);if(It)for(var tr=0;tr<It.length;++tr){var ei=It[tr];if(ei.to==null){var Kr=Xa(Ht,ei.marker);Kr?Jt&&(ei.to=Kr.to==null?null:Kr.to+zn):ei.to=me}}if(Ht)for(var Ri=0;Ri<Ht.length;++Ri){var ga=Ht[Ri];if(ga.to!=null&&(ga.to+=zn),ga.from==null){var Ga=Xa(It,ga.marker);Ga||(ga.from=zn,Jt&&(It||(It=[])).push(ga))}else ga.from+=zn,Jt&&(It||(It=[])).push(ga)}It&&(It=Rr(It)),Ht&&Ht!=It&&(Ht=Rr(Ht));var yo=[It];if(!Jt){var ko=ee.text.length-2,Ao;if(ko>0&&It)for(var Ro=0;Ro<It.length;++Ro)It[Ro].to==null&&(Ao||(Ao=[])).push(new ka(It[Ro].marker,null,null));for(var ms=0;ms<ko;++ms)yo.push(Ao);yo.push(Ht)}return yo}function Rr(x){for(var ee=0;ee<x.length;++ee){var ue=x[ee];ue.from!=null&&ue.from==ue.to&&ue.marker.clearWhenEmpty!==!1&&x.splice(ee--,1)}return x.length?x:null}function Ra(x,ee,ue){var le=null;if(x.iter(ee.line,ue.line+1,function(Kr){if(Kr.markedSpans)for(var Ri=0;Ri<Kr.markedSpans.length;++Ri){var ga=Kr.markedSpans[Ri].marker;ga.readOnly&&(!le||at(le,ga)==-1)&&(le||(le=[])).push(ga)}}),!le)return null;for(var me=[{from:ee,to:ue}],Ve=0;Ve<le.length;++Ve)for(var mt=le[Ve],It=mt.find(0),Ht=0;Ht<me.length;++Ht){var Jt=me[Ht];if(!(Or(Jt.to,It.from)<0||Or(Jt.from,It.to)>0)){var zn=[Ht,1],tr=Or(Jt.from,It.from),ei=Or(Jt.to,It.to);(tr<0||!mt.inclusiveLeft&&!tr)&&zn.push({from:Jt.from,to:It.from}),(ei>0||!mt.inclusiveRight&&!ei)&&zn.push({from:It.to,to:Jt.to}),me.splice.apply(me,zn),Ht+=zn.length-3}}return me}function _a(x){var ee=x.markedSpans;if(ee){for(var ue=0;ue<ee.length;++ue)ee[ue].marker.detachLine(x);x.markedSpans=null}}function Va(x,ee){if(ee){for(var ue=0;ue<ee.length;++ue)ee[ue].marker.attachLine(x);x.markedSpans=ee}}function Mo(x){return x.inclusiveLeft?-1:0}function go(x){return x.inclusiveRight?1:0}function As(x,ee){var ue=x.lines.length-ee.lines.length;if(ue!=0)return ue;var le=x.find(),me=ee.find(),Ve=Or(le.from,me.from)||Mo(x)-Mo(ee);if(Ve)return-Ve;var mt=Or(le.to,me.to)||go(x)-go(ee);return mt||ee.id-x.id}function _o(x,ee){var ue=Za&&x.markedSpans,le;if(ue)for(var me=void 0,Ve=0;Ve<ue.length;++Ve)me=ue[Ve],me.marker.collapsed&&(ee?me.from:me.to)==null&&(!le||As(le,me.marker)<0)&&(le=me.marker);return le}function Js(x){return _o(x,!0)}function Sa(x){return _o(x,!1)}function xa(x,ee){var ue=Za&&x.markedSpans,le;if(ue)for(var me=0;me<ue.length;++me){var Ve=ue[me];Ve.marker.collapsed&&(Ve.from==null||Ve.from<ee)&&(Ve.to==null||Ve.to>ee)&&(!le||As(le,Ve.marker)<0)&&(le=Ve.marker)}return le}function Bo(x,ee,ue,le,me){var Ve=on(x,ee),mt=Za&&Ve.markedSpans;if(mt)for(var It=0;It<mt.length;++It){var Ht=mt[It];if(Ht.marker.collapsed){var Jt=Ht.marker.find(0),zn=Or(Jt.from,ue)||Mo(Ht.marker)-Mo(me),tr=Or(Jt.to,le)||go(Ht.marker)-go(me);if(!(zn>=0&&tr<=0||zn<=0&&tr>=0)&&(zn<=0&&(Ht.marker.inclusiveRight&&me.inclusiveLeft?Or(Jt.to,ue)>=0:Or(Jt.to,ue)>0)||zn>=0&&(Ht.marker.inclusiveRight&&me.inclusiveLeft?Or(Jt.from,le)<=0:Or(Jt.from,le)<0)))return!0}}}function So(x){for(var ee;ee=Js(x);)x=ee.find(-1,!0).line;return x}function Ms(x){for(var ee;ee=Sa(x);)x=ee.find(1,!0).line;return x}function er(x){for(var ee,ue;ee=Sa(x);)x=ee.find(1,!0).line,(ue||(ue=[])).push(x);return ue}function Qs(x,ee){var ue=on(x,ee),le=So(ue);return ue==le?ee:pr(le)}function fs(x,ee){if(ee>x.lastLine())return ee;var ue=on(x,ee),le;if(!Zs(x,ue))return ee;for(;le=Sa(ue);)ue=le.find(1,!0).line;return pr(ue)+1}function Zs(x,ee){var ue=Za&&ee.markedSpans;if(ue){for(var le=void 0,me=0;me<ue.length;++me)if(le=ue[me],!!le.marker.collapsed){if(le.from==null)return!0;if(!le.marker.widgetNode&&le.from==0&&le.marker.inclusiveLeft&&qs(x,ee,le))return!0}}}function qs(x,ee,ue){if(ue.to==null){var le=ue.marker.find(1,!0);return qs(x,le.line,Xa(le.line.markedSpans,ue.marker))}if(ue.marker.inclusiveRight&&ue.to==ee.text.length)return!0;for(var me=void 0,Ve=0;Ve<ee.markedSpans.length;++Ve)if(me=ee.markedSpans[Ve],me.marker.collapsed&&!me.marker.widgetNode&&me.from==ue.to&&(me.to==null||me.to!=ue.from)&&(me.marker.inclusiveLeft||ue.marker.inclusiveRight)&&qs(x,ee,me))return!0}function ma(x){x=So(x);for(var ee=0,ue=x.parent,le=0;le<ue.lines.length;++le){var me=ue.lines[le];if(me==x)break;ee+=me.height}for(var Ve=ue.parent;Ve;ue=Ve,Ve=ue.parent)for(var mt=0;mt<Ve.children.length;++mt){var It=Ve.children[mt];if(It==ue)break;ee+=It.height}return ee}function sa(x){if(x.height==0)return 0;for(var ee=x.text.length,ue,le=x;ue=Js(le);){var me=ue.find(0,!0);le=me.from.line,ee+=me.from.ch-me.to.ch}for(le=x;ue=Sa(le);){var Ve=ue.find(0,!0);ee-=le.text.length-Ve.from.ch,le=Ve.to.line,ee+=le.text.length-Ve.to.ch}return ee}function ra(x){var ee=x.display,ue=x.doc;ee.maxLine=on(ue,ue.first),ee.maxLineLength=sa(ee.maxLine),ee.maxLineChanged=!0,ue.iter(function(le){var me=sa(le);me>ee.maxLineLength&&(ee.maxLineLength=me,ee.maxLine=le)})}var ua=function(x,ee,ue){this.text=x,Va(this,ee),this.height=ue?ue(this):1};ua.prototype.lineNo=function(){return pr(this)},Wn(ua);function cs(x,ee,ue,le){x.text=ee,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),_a(x),Va(x,ue);var me=le?le(x):1;me!=x.height&&qn(x,me)}function Ps(x){x.parent=null,_a(x)}var jo={},xs={};function Cs(x,ee){if(!x||/^\s*$/.test(x))return null;var ue=ee.addModeClass?xs:jo;return ue[x]||(ue[x]=x.replace(/\S+/g,"cm-$&"))}function $s(x,ee){var ue=xt("span",null,null,ve?"padding-right: .1px":null),le={pre:xt("pre",[ue],"CodeMirror-line"),content:ue,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};ee.measure={};for(var me=0;me<=(ee.rest?ee.rest.length:0);me++){var Ve=me?ee.rest[me-1]:ee.line,mt=void 0;le.pos=0,le.addToken=or,Mi(x.display.measure)&&(mt=Sn(Ve,x.doc.direction))&&(le.addToken=Nr(le.addToken,mt)),le.map=[];var It=ee!=x.display.externalMeasured&&pr(Ve);Io(Ve,le,wr(x,Ve,It)),Ve.styleClasses&&(Ve.styleClasses.bgClass&&(le.bgClass=Ft(Ve.styleClasses.bgClass,le.bgClass||"")),Ve.styleClasses.textClass&&(le.textClass=Ft(Ve.styleClasses.textClass,le.textClass||""))),le.map.length==0&&le.map.push(0,0,le.content.appendChild($i(x.display.measure))),me==0?(ee.measure.map=le.map,ee.measure.cache={}):((ee.measure.maps||(ee.measure.maps=[])).push(le.map),(ee.measure.caches||(ee.measure.caches=[])).push({}))}if(ve){var Ht=le.content.lastChild;(/\bcm-tab\b/.test(Ht.className)||Ht.querySelector&&Ht.querySelector(".cm-tab"))&&(le.content.className="cm-tab-wrap-hack")}return pt(x,"renderLine",x,ee.line,le.pre),le.pre.className&&(le.textClass=Ft(le.pre.className,le.textClass||"")),le}function ru(x){var ee=dt("span","\u2022","cm-invalidchar");return ee.title="\\u"+x.charCodeAt(0).toString(16),ee.setAttribute("aria-label",ee.title),ee}function or(x,ee,ue,le,me,Ve,mt){if(ee){var It=x.splitSpaces?Qn(ee,x.trailingSpace):ee,Ht=x.cm.state.specialChars,Jt=!1,zn;if(!Ht.test(ee))x.col+=ee.length,zn=document.createTextNode(It),x.map.push(x.pos,x.pos+ee.length,zn),Ne&&Le<9&&(Jt=!0),x.pos+=ee.length;else{zn=document.createDocumentFragment();for(var tr=0;;){Ht.lastIndex=tr;var ei=Ht.exec(ee),Kr=ei?ei.index-tr:ee.length-tr;if(Kr){var Ri=document.createTextNode(It.slice(tr,tr+Kr));Ne&&Le<9?zn.appendChild(dt("span",[Ri])):zn.appendChild(Ri),x.map.push(x.pos,x.pos+Kr,Ri),x.col+=Kr,x.pos+=Kr}if(!ei)break;tr+=Kr+1;var ga=void 0;if(ei[0]==" "){var Ga=x.cm.options.tabSize,yo=Ga-x.col%Ga;ga=zn.appendChild(dt("span",Ln(yo),"cm-tab")),ga.setAttribute("role","presentation"),ga.setAttribute("cm-text"," "),x.col+=yo}else ei[0]=="\r"||ei[0]==`
`?(ga=zn.appendChild(dt("span",ei[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ga.setAttribute("cm-text",ei[0]),x.col+=1):(ga=x.cm.options.specialCharPlaceholder(ei[0]),ga.setAttribute("cm-text",ei[0]),Ne&&Le<9?zn.appendChild(dt("span",[ga])):zn.appendChild(ga),x.col+=1);x.map.push(x.pos,x.pos+1,ga),x.pos++}}if(x.trailingSpace=It.charCodeAt(ee.length-1)==32,ue||le||me||Jt||Ve||mt){var ko=ue||"";le&&(ko+=le),me&&(ko+=me);var Ao=dt("span",[zn],ko,Ve);if(mt)for(var Ro in mt)mt.hasOwnProperty(Ro)&&Ro!="style"&&Ro!="class"&&Ao.setAttribute(Ro,mt[Ro]);return x.content.appendChild(Ao)}x.content.appendChild(zn)}}function Qn(x,ee){if(x.length>1&&!/ /.test(x))return x;for(var ue=ee,le="",me=0;me<x.length;me++){var Ve=x.charAt(me);Ve==" "&&ue&&(me==x.length-1||x.charCodeAt(me+1)==32)&&(Ve="\xA0"),le+=Ve,ue=Ve==" "}return le}function Nr(x,ee){return function(ue,le,me,Ve,mt,It,Ht){me=me?me+" cm-force-border":"cm-force-border";for(var Jt=ue.pos,zn=Jt+le.length;;){for(var tr=void 0,ei=0;ei<ee.length&&(tr=ee[ei],!(tr.to>Jt&&tr.from<=Jt));ei++);if(tr.to>=zn)return x(ue,le,me,Ve,mt,It,Ht);x(ue,le.slice(0,tr.to-Jt),me,Ve,null,It,Ht),Ve=null,le=le.slice(tr.to-Jt),Jt=tr.to}}}function Di(x,ee,ue,le){var me=!le&&ue.widgetNode;me&&x.map.push(x.pos,x.pos+ee,me),!le&&x.cm.display.input.needsContentAttribute&&(me||(me=x.content.appendChild(document.createElement("span"))),me.setAttribute("cm-marker",ue.id)),me&&(x.cm.display.input.setUneditable(me),x.content.appendChild(me)),x.pos+=ee,x.trailingSpace=!1}function Io(x,ee,ue){var le=x.markedSpans,me=x.text,Ve=0;if(!le){for(var mt=1;mt<ue.length;mt+=2)ee.addToken(ee,me.slice(Ve,Ve=ue[mt]),Cs(ue[mt+1],ee.cm.options));return}for(var It=me.length,Ht=0,Jt=1,zn="",tr,ei,Kr=0,Ri,ga,Ga,yo,ko;;){if(Kr==Ht){Ri=ga=Ga=ei="",ko=null,yo=null,Kr=1/0;for(var Ao=[],Ro=void 0,ms=0;ms<le.length;++ms){var ws=le[ms],Rs=ws.marker;if(Rs.type=="bookmark"&&ws.from==Ht&&Rs.widgetNode)Ao.push(Rs);else if(ws.from<=Ht&&(ws.to==null||ws.to>Ht||Rs.collapsed&&ws.to==Ht&&ws.from==Ht)){if(ws.to!=null&&ws.to!=Ht&&Kr>ws.to&&(Kr=ws.to,ga=""),Rs.className&&(Ri+=" "+Rs.className),Rs.css&&(ei=(ei?ei+";":"")+Rs.css),Rs.startStyle&&ws.from==Ht&&(Ga+=" "+Rs.startStyle),Rs.endStyle&&ws.to==Kr&&(Ro||(Ro=[])).push(Rs.endStyle,ws.to),Rs.title&&((ko||(ko={})).title=Rs.title),Rs.attributes)for(var zu in Rs.attributes)(ko||(ko={}))[zu]=Rs.attributes[zu];Rs.collapsed&&(!yo||As(yo.marker,Rs)<0)&&(yo=ws)}else ws.from>Ht&&Kr>ws.from&&(Kr=ws.from)}if(Ro)for(var pd=0;pd<Ro.length;pd+=2)Ro[pd+1]==Kr&&(ga+=" "+Ro[pd]);if(!yo||yo.from==Ht)for(var Sc=0;Sc<Ao.length;++Sc)Di(ee,0,Ao[Sc]);if(yo&&(yo.from||0)==Ht){if(Di(ee,(yo.to==null?It+1:yo.to)-Ht,yo.marker,yo.from==null),yo.to==null)return;yo.to==Ht&&(yo=!1)}}if(Ht>=It)break;for(var Od=Math.min(It,Kr);;){if(zn){var Sd=Ht+zn.length;if(!yo){var cd=Sd>Od?zn.slice(0,Od-Ht):zn;ee.addToken(ee,cd,tr?tr+Ri:Ri,Ga,Ht+cd.length==Kr?ga:"",ei,ko)}if(Sd>=Od){zn=zn.slice(Od-Ht),Ht=Od;break}Ht=Sd,Ga=""}zn=me.slice(Ve,Ve=ue[Jt++]),tr=Cs(ue[Jt++],ee.cm.options)}}}function lr(x,ee,ue){this.line=ee,this.rest=er(ee),this.size=this.rest?pr(Cn(this.rest))-ue+1:1,this.node=this.text=null,this.hidden=Zs(x,ee)}function Jn(x,ee,ue){for(var le=[],me,Ve=ee;Ve<ue;Ve=me){var mt=new lr(x.doc,on(x.doc,Ve),Ve);me=Ve+mt.size,le.push(mt)}return le}var Un=null;function cr(x){Un?Un.ops.push(x):x.ownsGroup=Un={ops:[x],delayedCallbacks:[]}}function Ur(x){var ee=x.delayedCallbacks,ue=0;do{for(;ue<ee.length;ue++)ee[ue].call(null);for(var le=0;le<x.ops.length;le++){var me=x.ops[le];if(me.cursorActivityHandlers)for(;me.cursorActivityCalled<me.cursorActivityHandlers.length;)me.cursorActivityHandlers[me.cursorActivityCalled++].call(null,me.cm)}}while(ue<ee.length)}function bi(x,ee){var ue=x.ownsGroup;if(ue)try{Ur(ue)}finally{Un=null,ee(ue)}}var xr=null;function Hr(x,ee){var ue=tn(x,ee);if(ue.length){var le=Array.prototype.slice.call(arguments,2),me;Un?me=Un.delayedCallbacks:xr?me=xr:(me=xr=[],setTimeout(ji,0));for(var Ve=function(It){me.push(function(){return ue[It].apply(null,le)})},mt=0;mt<ue.length;++mt)Ve(mt)}}function ji(){var x=xr;xr=null;for(var ee=0;ee<x.length;++ee)x[ee]()}function Ji(x,ee,ue,le){for(var me=0;me<ee.changes.length;me++){var Ve=ee.changes[me];Ve=="text"?ia(x,ee):Ve=="gutter"?Oi(x,ee,ue,le):Ve=="class"?Ma(x,ee):Ve=="widget"&&da(x,ee,le)}ee.changes=null}function ca(x){return x.node==x.text&&(x.node=dt("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),Ne&&Le<8&&(x.node.style.zIndex=2)),x.node}function Xr(x,ee){var ue=ee.bgClass?ee.bgClass+" "+(ee.line.bgClass||""):ee.line.bgClass;if(ue&&(ue+=" CodeMirror-linebackground"),ee.background)ue?ee.background.className=ue:(ee.background.parentNode.removeChild(ee.background),ee.background=null);else if(ue){var le=ca(ee);ee.background=le.insertBefore(dt("div",null,ue),le.firstChild),x.display.input.setUneditable(ee.background)}}function Ni(x,ee){var ue=x.display.externalMeasured;return ue&&ue.line==ee.line?(x.display.externalMeasured=null,ee.measure=ue.measure,ue.built):$s(x,ee)}function ia(x,ee){var ue=ee.text.className,le=Ni(x,ee);ee.text==ee.node&&(ee.node=le.pre),ee.text.parentNode.replaceChild(le.pre,ee.text),ee.text=le.pre,le.bgClass!=ee.bgClass||le.textClass!=ee.textClass?(ee.bgClass=le.bgClass,ee.textClass=le.textClass,Ma(x,ee)):ue&&(ee.text.className=ue)}function Ma(x,ee){Xr(x,ee),ee.line.wrapClass?ca(ee).className=ee.line.wrapClass:ee.node!=ee.text&&(ee.node.className="");var ue=ee.textClass?ee.textClass+" "+(ee.line.textClass||""):ee.line.textClass;ee.text.className=ue||""}function Oi(x,ee,ue,le){if(ee.gutter&&(ee.node.removeChild(ee.gutter),ee.gutter=null),ee.gutterBackground&&(ee.node.removeChild(ee.gutterBackground),ee.gutterBackground=null),ee.line.gutterClass){var me=ca(ee);ee.gutterBackground=dt("div",null,"CodeMirror-gutter-background "+ee.line.gutterClass,"left: "+(x.options.fixedGutter?le.fixedPos:-le.gutterTotalWidth)+"px; width: "+le.gutterTotalWidth+"px"),x.display.input.setUneditable(ee.gutterBackground),me.insertBefore(ee.gutterBackground,ee.text)}var Ve=ee.line.gutterMarkers;if(x.options.lineNumbers||Ve){var mt=ca(ee),It=ee.gutter=dt("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?le.fixedPos:-le.gutterTotalWidth)+"px");if(x.display.input.setUneditable(It),mt.insertBefore(It,ee.text),ee.line.gutterClass&&(It.className+=" "+ee.line.gutterClass),x.options.lineNumbers&&(!Ve||!Ve["CodeMirror-linenumbers"])&&(ee.lineNumber=It.appendChild(dt("div",$r(x.options,ue),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+le.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),Ve)for(var Ht=0;Ht<x.display.gutterSpecs.length;++Ht){var Jt=x.display.gutterSpecs[Ht].className,zn=Ve.hasOwnProperty(Jt)&&Ve[Jt];zn&&It.appendChild(dt("div",[zn],"CodeMirror-gutter-elt","left: "+le.gutterLeft[Jt]+"px; width: "+le.gutterWidth[Jt]+"px"))}}}function da(x,ee,ue){ee.alignable&&(ee.alignable=null);for(var le=Ze("CodeMirror-linewidget"),me=ee.node.firstChild,Ve=void 0;me;me=Ve)Ve=me.nextSibling,le.test(me.className)&&ee.node.removeChild(me);co(x,ee,ue)}function Lo(x,ee,ue,le){var me=Ni(x,ee);return ee.text=ee.node=me.pre,me.bgClass&&(ee.bgClass=me.bgClass),me.textClass&&(ee.textClass=me.textClass),Ma(x,ee),Oi(x,ee,ue,le),co(x,ee,le),ee.node}function co(x,ee,ue){if(To(x,ee.line,ee,ue,!0),ee.rest)for(var le=0;le<ee.rest.length;le++)To(x,ee.rest[le],ee,ue,!1)}function To(x,ee,ue,le,me){if(ee.widgets)for(var Ve=ca(ue),mt=0,It=ee.widgets;mt<It.length;++mt){var Ht=It[mt],Jt=dt("div",[Ht.node],"CodeMirror-linewidget"+(Ht.className?" "+Ht.className:""));Ht.handleMouseEvents||Jt.setAttribute("cm-ignore-events","true"),hs(Ht,Jt,ue,le),x.display.input.setUneditable(Jt),me&&Ht.above?Ve.insertBefore(Jt,ue.gutter||ue.text):Ve.appendChild(Jt),Hr(Ht,"redraw")}}function hs(x,ee,ue,le){if(x.noHScroll){(ue.alignable||(ue.alignable=[])).push(ee);var me=le.wrapperWidth;ee.style.left=le.fixedPos+"px",x.coverGutter||(me-=le.gutterTotalWidth,ee.style.paddingLeft=le.gutterTotalWidth+"px"),ee.style.width=me+"px"}x.coverGutter&&(ee.style.zIndex=5,ee.style.position="relative",x.noHScroll||(ee.style.marginLeft=-le.gutterTotalWidth+"px"))}function Bu(x){if(x.height!=null)return x.height;var ee=x.doc.cm;if(!ee)return 0;if(!Lt(document.body,x.node)){var ue="position: relative;";x.coverGutter&&(ue+="margin-left: -"+ee.display.gutters.offsetWidth+"px;"),x.noHScroll&&(ue+="width: "+ee.display.wrapper.clientWidth+"px;"),ht(ee.display.measure,dt("div",[x.node],null,ue))}return x.height=x.node.parentNode.offsetHeight}function gu(x,ee){for(var ue=vr(ee);ue!=x.wrapper;ue=ue.parentNode)if(!ue||ue.nodeType==1&&ue.getAttribute("cm-ignore-events")=="true"||ue.parentNode==x.sizer&&ue!=x.mover)return!0}function Su(x){return x.lineSpace.offsetTop}function Cr(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function yr(x){if(x.cachedPaddingH)return x.cachedPaddingH;var ee=ht(x.measure,dt("pre","x","CodeMirror-line-like")),ue=window.getComputedStyle?window.getComputedStyle(ee):ee.currentStyle,le={left:parseInt(ue.paddingLeft),right:parseInt(ue.paddingRight)};return!isNaN(le.left)&&!isNaN(le.right)&&(x.cachedPaddingH=le),le}function Eu(x){return Yt-x.display.nativeBarWidth}function mo(x){return x.display.scroller.clientWidth-Eu(x)-x.display.barWidth}function Qo(x){return x.display.scroller.clientHeight-Eu(x)-x.display.barHeight}function Nl(x,ee,ue){var le=x.options.lineWrapping,me=le&&mo(x);if(!ee.measure.heights||le&&ee.measure.width!=me){var Ve=ee.measure.heights=[];if(le){ee.measure.width=me;for(var mt=ee.text.firstChild.getClientRects(),It=0;It<mt.length-1;It++){var Ht=mt[It],Jt=mt[It+1];Math.abs(Ht.bottom-Jt.bottom)>2&&Ve.push((Ht.bottom+Jt.top)/2-ue.top)}}Ve.push(ue.bottom-ue.top)}}function el(x,ee,ue){if(x.line==ee)return{map:x.measure.map,cache:x.measure.cache};for(var le=0;le<x.rest.length;le++)if(x.rest[le]==ee)return{map:x.measure.maps[le],cache:x.measure.caches[le]};for(var me=0;me<x.rest.length;me++)if(pr(x.rest[me])>ue)return{map:x.measure.maps[me],cache:x.measure.caches[me],before:!0}}function _l(x,ee){ee=So(ee);var ue=pr(ee),le=x.display.externalMeasured=new lr(x.doc,ee,ue);le.lineN=ue;var me=le.built=$s(x,le);return le.text=me.pre,ht(x.display.lineMeasure,me.pre),le}function al(x,ee,ue,le){return fl(x,Bs(x,ee),ue,le)}function vu(x,ee){if(ee>=x.display.viewFrom&&ee<x.display.viewTo)return x.display.view[Tc(x,ee)];var ue=x.display.externalMeasured;if(ue&&ee>=ue.lineN&&ee<ue.lineN+ue.size)return ue}function Bs(x,ee){var ue=pr(ee),le=vu(x,ue);le&&!le.text?le=null:le&&le.changes&&(Ji(x,le,ue,bl(x)),x.curOp.forceUpdate=!0),le||(le=_l(x,ee));var me=el(le,ee,ue);return{line:ee,view:le,rect:null,map:me.map,cache:me.cache,before:me.before,hasHeights:!1}}function fl(x,ee,ue,le,me){ee.before&&(ue=-1);var Ve=ue+(le||""),mt;return ee.cache.hasOwnProperty(Ve)?mt=ee.cache[Ve]:(ee.rect||(ee.rect=ee.view.text.getBoundingClientRect()),ee.hasHeights||(Nl(x,ee.view,ee.rect),ee.hasHeights=!0),mt=Do(x,ee,ue,le),mt.bogus||(ee.cache[Ve]=mt)),{left:mt.left,right:mt.right,top:me?mt.rtop:mt.top,bottom:me?mt.rbottom:mt.bottom}}var kc={left:0,right:0,top:0,bottom:0};function qa(x,ee,ue){for(var le,me,Ve,mt,It,Ht,Jt=0;Jt<x.length;Jt+=3)if(It=x[Jt],Ht=x[Jt+1],ee<It?(me=0,Ve=1,mt="left"):ee<Ht?(me=ee-It,Ve=me+1):(Jt==x.length-3||ee==Ht&&x[Jt+3]>ee)&&(Ve=Ht-It,me=Ve-1,ee>=Ht&&(mt="right")),me!=null){if(le=x[Jt+2],It==Ht&&ue==(le.insertLeft?"left":"right")&&(mt=ue),ue=="left"&&me==0)for(;Jt&&x[Jt-2]==x[Jt-3]&&x[Jt-1].insertLeft;)le=x[(Jt-=3)+2],mt="left";if(ue=="right"&&me==Ht-It)for(;Jt<x.length-3&&x[Jt+3]==x[Jt+4]&&!x[Jt+5].insertLeft;)le=x[(Jt+=3)+2],mt="right";break}return{node:le,start:me,end:Ve,collapse:mt,coverStart:It,coverEnd:Ht}}function Ho(x,ee){var ue=kc;if(ee=="left")for(var le=0;le<x.length&&(ue=x[le]).left==ue.right;le++);else for(var me=x.length-1;me>=0&&(ue=x[me]).left==ue.right;me--);return ue}function Do(x,ee,ue,le){var me=qa(ee.map,ue,le),Ve=me.node,mt=me.start,It=me.end,Ht=me.collapse,Jt;if(Ve.nodeType==3){for(var zn=0;zn<4;zn++){for(;mt&&vt(ee.line.text.charAt(me.coverStart+mt));)--mt;for(;me.coverStart+It<me.coverEnd&&vt(ee.line.text.charAt(me.coverStart+It));)++It;if(Ne&&Le<9&&mt==0&&It==me.coverEnd-me.coverStart?Jt=Ve.parentNode.getBoundingClientRect():Jt=Ho(Je(Ve,mt,It).getClientRects(),le),Jt.left||Jt.right||mt==0)break;It=mt,mt=mt-1,Ht="right"}Ne&&Le<11&&(Jt=zo(x.display.measure,Jt))}else{mt>0&&(Ht=le="right");var tr;x.options.lineWrapping&&(tr=Ve.getClientRects()).length>1?Jt=tr[le=="right"?tr.length-1:0]:Jt=Ve.getBoundingClientRect()}if(Ne&&Le<9&&!mt&&(!Jt||!Jt.left&&!Jt.right)){var ei=Ve.parentNode.getClientRects()[0];ei?Jt={left:ei.left,right:ei.left+yl(x.display),top:ei.top,bottom:ei.bottom}:Jt=kc}for(var Kr=Jt.top-ee.rect.top,Ri=Jt.bottom-ee.rect.top,ga=(Kr+Ri)/2,Ga=ee.view.measure.heights,yo=0;yo<Ga.length-1&&!(ga<Ga[yo]);yo++);var ko=yo?Ga[yo-1]:0,Ao=Ga[yo],Ro={left:(Ht=="right"?Jt.right:Jt.left)-ee.rect.left,right:(Ht=="left"?Jt.left:Jt.right)-ee.rect.left,top:ko,bottom:Ao};return!Jt.left&&!Jt.right&&(Ro.bogus=!0),x.options.singleCursorHeightPerLine||(Ro.rtop=Kr,Ro.rbottom=Ri),Ro}function zo(x,ee){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ki(x))return ee;var ue=screen.logicalXDPI/screen.deviceXDPI,le=screen.logicalYDPI/screen.deviceYDPI;return{left:ee.left*ue,right:ee.right*ue,top:ee.top*le,bottom:ee.bottom*le}}function ys(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var ee=0;ee<x.rest.length;ee++)x.measure.caches[ee]={}}function bs(x){x.display.externalMeasure=null,rt(x.display.lineMeasure);for(var ee=0;ee<x.display.view.length;ee++)ys(x.display.view[ee])}function Ds(x){bs(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function ol(){return we&&He?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Vs(){return we&&He?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ol(x){var ee=0;if(x.widgets)for(var ue=0;ue<x.widgets.length;++ue)x.widgets[ue].above&&(ee+=Bu(x.widgets[ue]));return ee}function ac(x,ee,ue,le,me){if(!me){var Ve=Ol(ee);ue.top+=Ve,ue.bottom+=Ve}if(le=="line")return ue;le||(le="local");var mt=ma(ee);if(le=="local"?mt+=Su(x.display):mt-=x.display.viewOffset,le=="page"||le=="window"){var It=x.display.lineSpace.getBoundingClientRect();mt+=It.top+(le=="window"?0:Vs());var Ht=It.left+(le=="window"?0:ol());ue.left+=Ht,ue.right+=Ht}return ue.top+=mt,ue.bottom+=mt,ue}function ad(x,ee,ue){if(ue=="div")return ee;var le=ee.left,me=ee.top;if(ue=="page")le-=ol(),me-=Vs();else if(ue=="local"||!ue){var Ve=x.display.sizer.getBoundingClientRect();le+=Ve.left,me+=Ve.top}var mt=x.display.lineSpace.getBoundingClientRect();return{left:le-mt.left,top:me-mt.top}}function Fu(x,ee,ue,le,me){return le||(le=on(x.doc,ee.line)),ac(x,le,al(x,le,ee.ch,me),ue)}function oc(x,ee,ue,le,me,Ve){le=le||on(x.doc,ee.line),me||(me=Bs(x,le));function mt(Ri,ga){var Ga=fl(x,me,Ri,ga?"right":"left",Ve);return ga?Ga.left=Ga.right:Ga.right=Ga.left,ac(x,le,Ga,ue)}var It=Sn(le,x.doc.direction),Ht=ee.ch,Jt=ee.sticky;if(Ht>=le.text.length?(Ht=le.text.length,Jt="before"):Ht<=0&&(Ht=0,Jt="after"),!It)return mt(Jt=="before"?Ht-1:Ht,Jt=="before");function zn(Ri,ga,Ga){var yo=It[ga],ko=yo.level==1;return mt(Ga?Ri-1:Ri,ko!=Ga)}var tr=kt(It,Ht,Jt),ei=Mt,Kr=zn(Ht,tr,Jt=="before");return ei!=null&&(Kr.other=zn(Ht,ei,Jt!="before")),Kr}function sc(x,ee){var ue=0;ee=si(x.doc,ee),x.options.lineWrapping||(ue=yl(x.display)*ee.ch);var le=on(x.doc,ee.line),me=ma(le)+Su(x.display);return{left:ue,right:ue,top:me,bottom:me+le.height}}function wc(x,ee,ue,le,me){var Ve=Xn(x,ee,ue);return Ve.xRel=me,le&&(Ve.outside=le),Ve}function Kl(x,ee,ue){var le=x.doc;if(ue+=x.display.viewOffset,ue<0)return wc(le.first,0,null,-1,-1);var me=Gr(le,ue),Ve=le.first+le.size-1;if(me>Ve)return wc(le.first+le.size-1,on(le,Ve).text.length,null,1,1);ee<0&&(ee=0);for(var mt=on(le,me);;){var It=eA(x,mt,me,ee,ue),Ht=xa(mt,It.ch+(It.xRel>0||It.outside>0?1:0));if(!Ht)return It;var Jt=Ht.find(1);if(Jt.line==me)return Jt;mt=on(le,me=Jt.line)}}function $d(x,ee,ue,le){le-=Ol(ee);var me=ee.text.length,Ve=lt(function(mt){return fl(x,ue,mt-1).bottom<=le},me,0);return me=lt(function(mt){return fl(x,ue,mt).top>le},Ve,me),{begin:Ve,end:me}}function Hd(x,ee,ue,le){ue||(ue=Bs(x,ee));var me=ac(x,ee,fl(x,ue,le),"line").top;return $d(x,ee,ue,me)}function wd(x,ee,ue,le){return x.bottom<=ue?!1:x.top>ue?!0:(le?x.left:x.right)>ee}function eA(x,ee,ue,le,me){me-=ma(ee);var Ve=Bs(x,ee),mt=Ol(ee),It=0,Ht=ee.text.length,Jt=!0,zn=Sn(ee,x.doc.direction);if(zn){var tr=(x.options.lineWrapping?bA:Mc)(x,ee,ue,Ve,zn,le,me);Jt=tr.level!=1,It=Jt?tr.from:tr.to-1,Ht=Jt?tr.to:tr.from-1}var ei=null,Kr=null,Ri=lt(function(ms){var ws=fl(x,Ve,ms);return ws.top+=mt,ws.bottom+=mt,wd(ws,le,me,!1)?(ws.top<=me&&ws.left<=le&&(ei=ms,Kr=ws),!0):!1},It,Ht),ga,Ga,yo=!1;if(Kr){var ko=le-Kr.left<Kr.right-le,Ao=ko==Jt;Ri=ei+(Ao?0:1),Ga=Ao?"after":"before",ga=ko?Kr.left:Kr.right}else{!Jt&&(Ri==Ht||Ri==It)&&Ri++,Ga=Ri==0?"after":Ri==ee.text.length?"before":fl(x,Ve,Ri-(Jt?1:0)).bottom+mt<=me==Jt?"after":"before";var Ro=oc(x,Xn(ue,Ri,Ga),"line",ee,Ve);ga=Ro.left,yo=me<Ro.top?-1:me>=Ro.bottom?1:0}return Ri=et(ee.text,Ri,1),wc(ue,Ri,Ga,yo,le-ga)}function Mc(x,ee,ue,le,me,Ve,mt){var It=lt(function(tr){var ei=me[tr],Kr=ei.level!=1;return wd(oc(x,Xn(ue,Kr?ei.to:ei.from,Kr?"before":"after"),"line",ee,le),Ve,mt,!0)},0,me.length-1),Ht=me[It];if(It>0){var Jt=Ht.level!=1,zn=oc(x,Xn(ue,Jt?Ht.from:Ht.to,Jt?"after":"before"),"line",ee,le);wd(zn,Ve,mt,!0)&&zn.top>mt&&(Ht=me[It-1])}return Ht}function bA(x,ee,ue,le,me,Ve,mt){var It=$d(x,ee,le,mt),Ht=It.begin,Jt=It.end;/\s/.test(ee.text.charAt(Jt-1))&&Jt--;for(var zn=null,tr=null,ei=0;ei<me.length;ei++){var Kr=me[ei];if(!(Kr.from>=Jt||Kr.to<=Ht)){var Ri=Kr.level!=1,ga=fl(x,le,Ri?Math.min(Jt,Kr.to)-1:Math.max(Ht,Kr.from)).right,Ga=ga<Ve?Ve-ga+1e9:ga-Ve;(!zn||tr>Ga)&&(zn=Kr,tr=Ga)}}return zn||(zn=me[me.length-1]),zn.from<Ht&&(zn={from:Ht,to:zn.to,level:zn.level}),zn.to>Jt&&(zn={from:zn.from,to:Jt,level:zn.level}),zn}var $u;function Id(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if($u==null){$u=dt("pre",null,"CodeMirror-line-like");for(var ee=0;ee<49;++ee)$u.appendChild(document.createTextNode("x")),$u.appendChild(dt("br"));$u.appendChild(document.createTextNode("x"))}ht(x.measure,$u);var ue=$u.offsetHeight/50;return ue>3&&(x.cachedTextHeight=ue),rt(x.measure),ue||1}function yl(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var ee=dt("span","xxxxxxxxxx"),ue=dt("pre",[ee],"CodeMirror-line-like");ht(x.measure,ue);var le=ee.getBoundingClientRect(),me=(le.right-le.left)/10;return me>2&&(x.cachedCharWidth=me),me||10}function bl(x){for(var ee=x.display,ue={},le={},me=ee.gutters.clientLeft,Ve=ee.gutters.firstChild,mt=0;Ve;Ve=Ve.nextSibling,++mt){var It=x.display.gutterSpecs[mt].className;ue[It]=Ve.offsetLeft+Ve.clientLeft+me,le[It]=Ve.clientWidth}return{fixedPos:Hl(ee),gutterTotalWidth:ee.gutters.offsetWidth,gutterLeft:ue,gutterWidth:le,wrapperWidth:ee.wrapper.clientWidth}}function Hl(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function zc(x){var ee=Id(x.display),ue=x.options.lineWrapping,le=ue&&Math.max(5,x.display.scroller.clientWidth/yl(x.display)-3);return function(me){if(Zs(x.doc,me))return 0;var Ve=0;if(me.widgets)for(var mt=0;mt<me.widgets.length;mt++)me.widgets[mt].height&&(Ve+=me.widgets[mt].height);return ue?Ve+(Math.ceil(me.text.length/le)||1)*ee:Ve+ee}}function Ac(x){var ee=x.doc,ue=zc(x);ee.iter(function(le){var me=ue(le);me!=le.height&&qn(le,me)})}function hd(x,ee,ue,le){var me=x.display;if(!ue&&vr(ee).getAttribute("cm-not-content")=="true")return null;var Ve,mt,It=me.lineSpace.getBoundingClientRect();try{Ve=ee.clientX-It.left,mt=ee.clientY-It.top}catch(tr){return null}var Ht=Kl(x,Ve,mt),Jt;if(le&&Ht.xRel>0&&(Jt=on(x.doc,Ht.line).text).length==Ht.ch){var zn=it(Jt,Jt.length,x.options.tabSize)-Jt.length;Ht=Xn(Ht.line,Math.max(0,Math.round((Ve-yr(x.display).left)/yl(x.display))-zn))}return Ht}function Tc(x,ee){if(ee>=x.display.viewTo||(ee-=x.display.viewFrom,ee<0))return null;for(var ue=x.display.view,le=0;le<ue.length;le++)if(ee-=ue[le].size,ee<0)return le}function Ru(x,ee,ue,le){ee==null&&(ee=x.doc.first),ue==null&&(ue=x.doc.first+x.doc.size),le||(le=0);var me=x.display;if(le&&ue<me.viewTo&&(me.updateLineNumbers==null||me.updateLineNumbers>ee)&&(me.updateLineNumbers=ee),x.curOp.viewChanged=!0,ee>=me.viewTo)Za&&Qs(x.doc,ee)<me.viewTo&&$o(x);else if(ue<=me.viewFrom)Za&&fs(x.doc,ue+le)>me.viewFrom?$o(x):(me.viewFrom+=le,me.viewTo+=le);else if(ee<=me.viewFrom&&ue>=me.viewTo)$o(x);else if(ee<=me.viewFrom){var Ve=_i(x,ue,ue+le,1);Ve?(me.view=me.view.slice(Ve.index),me.viewFrom=Ve.lineN,me.viewTo+=le):$o(x)}else if(ue>=me.viewTo){var mt=_i(x,ee,ee,-1);mt?(me.view=me.view.slice(0,mt.index),me.viewTo=mt.lineN):$o(x)}else{var It=_i(x,ee,ee,-1),Ht=_i(x,ue,ue+le,1);It&&Ht?(me.view=me.view.slice(0,It.index).concat(Jn(x,It.lineN,Ht.lineN)).concat(me.view.slice(Ht.index)),me.viewTo+=le):$o(x)}var Jt=me.externalMeasured;Jt&&(ue<Jt.lineN?Jt.lineN+=le:ee<Jt.lineN+Jt.size&&(me.externalMeasured=null))}function Aa(x,ee,ue){x.curOp.viewChanged=!0;var le=x.display,me=x.display.externalMeasured;if(me&&ee>=me.lineN&&ee<me.lineN+me.size&&(le.externalMeasured=null),!(ee<le.viewFrom||ee>=le.viewTo)){var Ve=le.view[Tc(x,ee)];if(Ve.node!=null){var mt=Ve.changes||(Ve.changes=[]);at(mt,ue)==-1&&mt.push(ue)}}}function $o(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function _i(x,ee,ue,le){var me=Tc(x,ee),Ve,mt=x.display.view;if(!Za||ue==x.doc.first+x.doc.size)return{index:me,lineN:ue};for(var It=x.display.viewFrom,Ht=0;Ht<me;Ht++)It+=mt[Ht].size;if(It!=ee){if(le>0){if(me==mt.length-1)return null;Ve=It+mt[me].size-ee,me++}else Ve=It-ee;ee+=Ve,ue+=Ve}for(;Qs(x.doc,ue)!=ue;){if(me==(le<0?0:mt.length-1))return null;ue+=le*mt[me-(le<0?1:0)].size,me+=le}return{index:me,lineN:ue}}function rs(x,ee,ue){var le=x.display,me=le.view;me.length==0||ee>=le.viewTo||ue<=le.viewFrom?(le.view=Jn(x,ee,ue),le.viewFrom=ee):(le.viewFrom>ee?le.view=Jn(x,ee,le.viewFrom).concat(le.view):le.viewFrom<ee&&(le.view=le.view.slice(Tc(x,ee))),le.viewFrom=ee,le.viewTo<ue?le.view=le.view.concat(Jn(x,le.viewTo,ue)):le.viewTo>ue&&(le.view=le.view.slice(0,Tc(x,ue)))),le.viewTo=ue}function Eo(x){for(var ee=x.display.view,ue=0,le=0;le<ee.length;le++){var me=ee[le];!me.hidden&&(!me.node||me.changes)&&++ue}return ue}function tu(x){x.display.input.showSelection(x.display.input.prepareSelection())}function lc(x,ee){ee===void 0&&(ee=!0);for(var ue=x.doc,le={},me=le.cursors=document.createDocumentFragment(),Ve=le.selection=document.createDocumentFragment(),mt=0;mt<ue.sel.ranges.length;mt++)if(!(!ee&&mt==ue.sel.primIndex)){var It=ue.sel.ranges[mt];if(!(It.from().line>=x.display.viewTo||It.to().line<x.display.viewFrom)){var Ht=It.empty();(Ht||x.options.showCursorWhenSelecting)&&Kc(x,It.head,me),Ht||wA(x,It,Ve)}}return le}function Kc(x,ee,ue){var le=oc(x,ee,"div",null,null,!x.options.singleCursorHeightPerLine),me=ue.appendChild(dt("div","\xA0","CodeMirror-cursor"));if(me.style.left=le.left+"px",me.style.top=le.top+"px",me.style.height=Math.max(0,le.bottom-le.top)*x.options.cursorHeight+"px",le.other){var Ve=ue.appendChild(dt("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Ve.style.display="",Ve.style.left=le.other.left+"px",Ve.style.top=le.other.top+"px",Ve.style.height=(le.other.bottom-le.other.top)*.85+"px"}}function Pc(x,ee){return x.top-ee.top||x.left-ee.left}function wA(x,ee,ue){var le=x.display,me=x.doc,Ve=document.createDocumentFragment(),mt=yr(x.display),It=mt.left,Ht=Math.max(le.sizerWidth,mo(x)-le.sizer.offsetLeft)-mt.right,Jt=me.direction=="ltr";function zn(Ao,Ro,ms,ws){Ro<0&&(Ro=0),Ro=Math.round(Ro),ws=Math.round(ws),Ve.appendChild(dt("div",null,"CodeMirror-selected","position: absolute; left: "+Ao+`px;
top: `+Ro+"px; width: "+(ms==null?Ht-Ao:ms)+`px;
height: `+(ws-Ro)+"px"))}function tr(Ao,Ro,ms){var ws=on(me,Ao),Rs=ws.text.length,zu,pd;function Sc(cd,Zd){return Fu(x,Xn(Ao,cd),"div",ws,Zd)}function Od(cd,Zd,rl){var uo=Hd(x,ws,null,cd),Ju=Zd=="ltr"==(rl=="after")?"left":"right",Ec=rl=="after"?uo.begin:uo.end-(/\s/.test(ws.text.charAt(uo.end-1))?2:1);return Sc(Ec,Ju)[Ju]}var Sd=Sn(ws,me.direction);return Pt(Sd,Ro||0,ms==null?Rs:ms,function(cd,Zd,rl,uo){var Ju=rl=="ltr",Ec=Sc(cd,Ju?"left":"right"),Lu=Sc(Zd-1,Ju?"right":"left"),Th=Ro==null&&cd==0,Pl=ms==null&&Zd==Rs,Ql=uo==0,lu=!Sd||uo==Sd.length-1;if(Lu.top-Ec.top<=3){var Ed=(Jt?Th:Pl)&&Ql,s0=(Jt?Pl:Th)&&lu,Us=Ed?It:(Ju?Ec:Lu).left,PA=s0?Ht:(Ju?Lu:Ec).right;zn(Us,Ec.top,PA-Us,Ec.bottom)}else{var hu,Gc,jf,dd;Ju?(hu=Jt&&Th&&Ql?It:Ec.left,Gc=Jt?Ht:Od(cd,rl,"before"),jf=Jt?It:Od(Zd,rl,"after"),dd=Jt&&Pl&&lu?Ht:Lu.right):(hu=Jt?Od(cd,rl,"before"):It,Gc=!Jt&&Th&&Ql?Ht:Ec.right,jf=!Jt&&Pl&&lu?It:Lu.left,dd=Jt?Od(Zd,rl,"after"):Ht),zn(hu,Ec.top,Gc-hu,Ec.bottom),Ec.bottom<Lu.top&&zn(It,Ec.bottom,null,Lu.top),zn(jf,Lu.top,dd-jf,Lu.bottom)}(!zu||Pc(Ec,zu)<0)&&(zu=Ec),Pc(Lu,zu)<0&&(zu=Lu),(!pd||Pc(Ec,pd)<0)&&(pd=Ec),Pc(Lu,pd)<0&&(pd=Lu)}),{start:zu,end:pd}}var ei=ee.from(),Kr=ee.to();if(ei.line==Kr.line)tr(ei.line,ei.ch,Kr.ch);else{var Ri=on(me,ei.line),ga=on(me,Kr.line),Ga=So(Ri)==So(ga),yo=tr(ei.line,ei.ch,Ga?Ri.text.length+1:null).end,ko=tr(Kr.line,Ga?0:null,Kr.ch).start;Ga&&(yo.top<ko.top-2?(zn(yo.right,yo.top,null,yo.bottom),zn(It,ko.top,ko.left,ko.bottom)):zn(yo.right,yo.top,ko.left-yo.right,yo.bottom)),yo.bottom<ko.top&&zn(It,yo.bottom,null,ko.top)}ue.appendChild(Ve)}function xd(x){if(x.state.focused){var ee=x.display;clearInterval(ee.blinker);var ue=!0;ee.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?ee.blinker=setInterval(function(){x.hasFocus()||Du(x),ee.cursorDiv.style.visibility=(ue=!ue)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(ee.cursorDiv.style.visibility="hidden")}}function Il(x){x.state.focused||(x.display.input.focus(),Cl(x))}function Ld(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Du(x))},100)}function Cl(x,ee){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(pt(x,"focus",x,ee),x.state.focused=!0,Rt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),ve&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),xd(x))}function Du(x,ee){x.state.delayingBlurEvent||(x.state.focused&&(pt(x,"blur",x,ee),x.state.focused=!1,$e(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function Uu(x){for(var ee=x.display,ue=ee.lineDiv.offsetTop,le=0;le<ee.view.length;le++){var me=ee.view[le],Ve=x.options.lineWrapping,mt=void 0,It=0;if(!me.hidden){if(Ne&&Le<8){var Ht=me.node.offsetTop+me.node.offsetHeight;mt=Ht-ue,ue=Ht}else{var Jt=me.node.getBoundingClientRect();mt=Jt.bottom-Jt.top,!Ve&&me.text.firstChild&&(It=me.text.firstChild.getBoundingClientRect().right-Jt.left-1)}var zn=me.line.height-mt;if((zn>.005||zn<-.005)&&(qn(me.line,mt),Jl(me.line),me.rest))for(var tr=0;tr<me.rest.length;tr++)Jl(me.rest[tr]);if(It>x.display.sizerWidth){var ei=Math.ceil(It/yl(x.display));ei>x.display.maxLineLength&&(x.display.maxLineLength=ei,x.display.maxLine=me.line,x.display.maxLineChanged=!0)}}}}function Jl(x){if(x.widgets)for(var ee=0;ee<x.widgets.length;++ee){var ue=x.widgets[ee],le=ue.node.parentNode;le&&(ue.height=le.offsetHeight)}}function hl(x,ee,ue){var le=ue&&ue.top!=null?Math.max(0,ue.top):x.scroller.scrollTop;le=Math.floor(le-Su(x));var me=ue&&ue.bottom!=null?ue.bottom:le+x.wrapper.clientHeight,Ve=Gr(ee,le),mt=Gr(ee,me);if(ue&&ue.ensure){var It=ue.ensure.from.line,Ht=ue.ensure.to.line;It<Ve?(Ve=It,mt=Gr(ee,ma(on(ee,It))+x.wrapper.clientHeight)):Math.min(Ht,ee.lastLine())>=mt&&(Ve=Gr(ee,ma(on(ee,Ht))-x.wrapper.clientHeight),mt=Ht)}return{from:Ve,to:Math.max(mt,Ve+1)}}function fc(x,ee){if(!Wt(x,"scrollCursorIntoView")){var ue=x.display,le=ue.sizer.getBoundingClientRect(),me=null;if(ee.top+le.top<0?me=!0:ee.bottom+le.top>(window.innerHeight||document.documentElement.clientHeight)&&(me=!1),me!=null&&!_e){var Ve=dt("div","\u200B",null,`position: absolute;
top: `+(ee.top-ue.viewOffset-Su(x.display))+`px;
height: `+(ee.bottom-ee.top+Eu(x)+ue.barHeight)+`px;
left: `+ee.left+"px; width: "+Math.max(2,ee.right-ee.left)+"px;");x.display.lineSpace.appendChild(Ve),Ve.scrollIntoView(me),x.display.lineSpace.removeChild(Ve)}}}function uc(x,ee,ue,le){le==null&&(le=0);var me;!x.options.lineWrapping&&ee==ue&&(ee=ee.ch?Xn(ee.line,ee.sticky=="before"?ee.ch-1:ee.ch,"after"):ee,ue=ee.sticky=="before"?Xn(ee.line,ee.ch+1,"before"):ee);for(var Ve=0;Ve<5;Ve++){var mt=!1,It=oc(x,ee),Ht=!ue||ue==ee?It:oc(x,ue);me={left:Math.min(It.left,Ht.left),top:Math.min(It.top,Ht.top)-le,right:Math.max(It.left,Ht.left),bottom:Math.max(It.bottom,Ht.bottom)+le};var Jt=ec(x,me),zn=x.doc.scrollTop,tr=x.doc.scrollLeft;if(Jt.scrollTop!=null&&(xc(x,Jt.scrollTop),Math.abs(x.doc.scrollTop-zn)>1&&(mt=!0)),Jt.scrollLeft!=null&&(uA(x,Jt.scrollLeft),Math.abs(x.doc.scrollLeft-tr)>1&&(mt=!0)),!mt)break}return me}function _c(x,ee){var ue=ec(x,ee);ue.scrollTop!=null&&xc(x,ue.scrollTop),ue.scrollLeft!=null&&uA(x,ue.scrollLeft)}function ec(x,ee){var ue=x.display,le=Id(x.display);ee.top<0&&(ee.top=0);var me=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ue.scroller.scrollTop,Ve=Qo(x),mt={};ee.bottom-ee.top>Ve&&(ee.bottom=ee.top+Ve);var It=x.doc.height+Cr(ue),Ht=ee.top<le,Jt=ee.bottom>It-le;if(ee.top<me)mt.scrollTop=Ht?0:ee.top;else if(ee.bottom>me+Ve){var zn=Math.min(ee.top,(Jt?It:ee.bottom)-Ve);zn!=me&&(mt.scrollTop=zn)}var tr=x.options.fixedGutter?0:ue.gutters.offsetWidth,ei=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ue.scroller.scrollLeft-tr,Kr=mo(x)-ue.gutters.offsetWidth,Ri=ee.right-ee.left>Kr;return Ri&&(ee.right=ee.left+Kr),ee.left<10?mt.scrollLeft=0:ee.left<ei?mt.scrollLeft=Math.max(0,ee.left+tr-(Ri?0:10)):ee.right>Kr+ei-3&&(mt.scrollLeft=ee.right+(Ri?0:10)-Kr),mt}function Wc(x,ee){ee!=null&&(od(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+ee)}function Vu(x){od(x);var ee=x.getCursor();x.curOp.scrollToPos={from:ee,to:ee,margin:x.options.cursorScrollMargin}}function jd(x,ee,ue){(ee!=null||ue!=null)&&od(x),ee!=null&&(x.curOp.scrollLeft=ee),ue!=null&&(x.curOp.scrollTop=ue)}function Sh(x,ee){od(x),x.curOp.scrollToPos=ee}function od(x){var ee=x.curOp.scrollToPos;if(ee){x.curOp.scrollToPos=null;var ue=sc(x,ee.from),le=sc(x,ee.to);Dd(x,ue,le,ee.margin)}}function Dd(x,ee,ue,le){var me=ec(x,{left:Math.min(ee.left,ue.left),top:Math.min(ee.top,ue.top)-le,right:Math.max(ee.right,ue.right),bottom:Math.max(ee.bottom,ue.bottom)+le});jd(x,me.scrollLeft,me.scrollTop)}function xc(x,ee){Math.abs(x.doc.scrollTop-ee)<2||(he||Ta(x,{top:ee}),iu(x,ee,!0),he&&Ta(x),Jr(x,100))}function iu(x,ee,ue){ee=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,ee)),!(x.display.scroller.scrollTop==ee&&!ue)&&(x.doc.scrollTop=ee,x.display.scrollbars.setScrollTop(ee),x.display.scroller.scrollTop!=ee&&(x.display.scroller.scrollTop=ee))}function uA(x,ee,ue,le){ee=Math.max(0,Math.min(ee,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ue?ee==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-ee)<2)&&!le)&&(x.doc.scrollLeft=ee,Jo(x),x.display.scroller.scrollLeft!=ee&&(x.display.scroller.scrollLeft=ee),x.display.scrollbars.setScrollLeft(ee))}function yf(x){var ee=x.display,ue=ee.gutters.offsetWidth,le=Math.round(x.doc.height+Cr(x.display));return{clientHeight:ee.scroller.clientHeight,viewHeight:ee.wrapper.clientHeight,scrollWidth:ee.scroller.scrollWidth,clientWidth:ee.scroller.clientWidth,viewWidth:ee.wrapper.clientWidth,barLeft:x.options.fixedGutter?ue:0,docHeight:le,scrollHeight:le+Eu(x)+ee.barHeight,nativeBarWidth:ee.nativeBarWidth,gutterWidth:ue}}var GA=function(x,ee,ue){this.cm=ue;var le=this.vert=dt("div",[dt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),me=this.horiz=dt("div",[dt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");le.tabIndex=me.tabIndex=-1,x(le),x(me),nn(le,"scroll",function(){le.clientHeight&&ee(le.scrollTop,"vertical")}),nn(me,"scroll",function(){me.clientWidth&&ee(me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Ne&&Le<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};GA.prototype.update=function(x){var ee=x.scrollWidth>x.clientWidth+1,ue=x.scrollHeight>x.clientHeight+1,le=x.nativeBarWidth;if(ue){this.vert.style.display="block",this.vert.style.bottom=ee?le+"px":"0";var me=x.viewHeight-(ee?le:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+me)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ee){this.horiz.style.display="block",this.horiz.style.right=ue?le+"px":"0",this.horiz.style.left=x.barLeft+"px";var Ve=x.viewWidth-x.barLeft-(ue?le:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+Ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(le==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ue?le:0,bottom:ee?le:0}},GA.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},GA.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},GA.prototype.zeroWidthHack=function(){var x=Te&&!Be?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new je,this.disableVert=new je},GA.prototype.enableZeroWidthBar=function(x,ee,ue){x.style.pointerEvents="auto";function le(){var me=x.getBoundingClientRect(),Ve=ue=="vert"?document.elementFromPoint(me.right-1,(me.top+me.bottom)/2):document.elementFromPoint((me.right+me.left)/2,me.bottom-1);Ve!=x?x.style.pointerEvents="none":ee.set(1e3,le)}ee.set(1e3,le)},GA.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var sd=function(){};sd.prototype.update=function(){return{bottom:0,right:0}},sd.prototype.setScrollLeft=function(){},sd.prototype.setScrollTop=function(){},sd.prototype.clear=function(){};function xA(x,ee){ee||(ee=yf(x));var ue=x.display.barWidth,le=x.display.barHeight;ih(x,ee);for(var me=0;me<4&&ue!=x.display.barWidth||le!=x.display.barHeight;me++)ue!=x.display.barWidth&&x.options.lineWrapping&&Uu(x),ih(x,yf(x)),ue=x.display.barWidth,le=x.display.barHeight}function ih(x,ee){var ue=x.display,le=ue.scrollbars.update(ee);ue.sizer.style.paddingRight=(ue.barWidth=le.right)+"px",ue.sizer.style.paddingBottom=(ue.barHeight=le.bottom)+"px",ue.heightForcer.style.borderBottom=le.bottom+"px solid transparent",le.right&&le.bottom?(ue.scrollbarFiller.style.display="block",ue.scrollbarFiller.style.height=le.bottom+"px",ue.scrollbarFiller.style.width=le.right+"px"):ue.scrollbarFiller.style.display="",le.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ue.gutterFiller.style.display="block",ue.gutterFiller.style.height=le.bottom+"px",ue.gutterFiller.style.width=ee.gutterWidth+"px"):ue.gutterFiller.style.display=""}var bf={native:GA,null:sd};function M0(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&$e(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new bf[x.options.scrollbarStyle](function(ee){x.display.wrapper.insertBefore(ee,x.display.scrollbarFiller),nn(ee,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),ee.setAttribute("cm-not-content","true")},function(ee,ue){ue=="horizontal"?uA(x,ee):xc(x,ee)},x),x.display.scrollbars.addClass&&Rt(x.display.wrapper,x.display.scrollbars.addClass)}var rp=0;function hc(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++rp},cr(x.curOp)}function cA(x){var ee=x.curOp;ee&&bi(ee,function(ue){for(var le=0;le<ue.ops.length;le++)ue.ops[le].cm.curOp=null;ip(ue)})}function ip(x){for(var ee=x.ops,ue=0;ue<ee.length;ue++)Nt(ee[ue]);for(var le=0;le<ee.length;le++)Ut(ee[le]);for(var me=0;me<ee.length;me++)An(ee[me]);for(var Ve=0;Ve<ee.length;Ve++)En(ee[Ve]);for(var mt=0;mt<ee.length;mt++)Vn(ee[mt])}function Nt(x){var ee=x.cm,ue=ee.display;qi(ee),x.updateMaxLine&&ra(ee),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<ue.viewFrom||x.scrollToPos.to.line>=ue.viewTo)||ue.maxLineChanged&&ee.options.lineWrapping,x.update=x.mustUpdate&&new ni(ee,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Ut(x){x.updatedDisplay=x.mustUpdate&&ja(x.cm,x.update)}function An(x){var ee=x.cm,ue=ee.display;x.updatedDisplay&&Uu(ee),x.barMeasure=yf(ee),ue.maxLineChanged&&!ee.options.lineWrapping&&(x.adjustWidthTo=al(ee,ue.maxLine,ue.maxLine.text.length).left+3,ee.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ue.scroller.clientWidth,ue.sizer.offsetLeft+x.adjustWidthTo+Eu(ee)+ee.display.barWidth),x.maxScrollLeft=Math.max(0,ue.sizer.offsetLeft+x.adjustWidthTo-mo(ee))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ue.input.prepareSelection())}function En(x){var ee=x.cm;x.adjustWidthTo!=null&&(ee.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<ee.doc.scrollLeft&&uA(ee,Math.min(ee.display.scroller.scrollLeft,x.maxScrollLeft),!0),ee.display.maxLineChanged=!1);var ue=x.focus&&x.focus==Re();x.preparedSelection&&ee.display.input.showSelection(x.preparedSelection,ue),(x.updatedDisplay||x.startHeight!=ee.doc.height)&&xA(ee,x.barMeasure),x.updatedDisplay&&Ko(ee,x.barMeasure),x.selectionChanged&&xd(ee),ee.state.focused&&x.updateInput&&ee.display.input.reset(x.typing),ue&&Il(x.cm)}function Vn(x){var ee=x.cm,ue=ee.display,le=ee.doc;if(x.updatedDisplay&&Fa(ee,x.update),ue.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ue.wheelStartX=ue.wheelStartY=null),x.scrollTop!=null&&iu(ee,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&uA(ee,x.scrollLeft,!0,!0),x.scrollToPos){var me=uc(ee,si(le,x.scrollToPos.from),si(le,x.scrollToPos.to),x.scrollToPos.margin);fc(ee,me)}var Ve=x.maybeHiddenMarkers,mt=x.maybeUnhiddenMarkers;if(Ve)for(var It=0;It<Ve.length;++It)Ve[It].lines.length||pt(Ve[It],"hide");if(mt)for(var Ht=0;Ht<mt.length;++Ht)mt[Ht].lines.length&&pt(mt[Ht],"unhide");ue.wrapper.offsetHeight&&(le.scrollTop=ee.display.scroller.scrollTop),x.changeObjs&&pt(ee,"changes",ee,x.changeObjs),x.update&&x.update.finish()}function On(x,ee){if(x.curOp)return ee();hc(x);try{return ee()}finally{cA(x)}}function gr(x,ee){return function(){if(x.curOp)return ee.apply(x,arguments);hc(x);try{return ee.apply(x,arguments)}finally{cA(x)}}}function fr(x){return function(){if(this.curOp)return x.apply(this,arguments);hc(this);try{return x.apply(this,arguments)}finally{cA(this)}}}function ur(x){return function(){var ee=this.cm;if(!ee||ee.curOp)return x.apply(this,arguments);hc(ee);try{return x.apply(this,arguments)}finally{cA(ee)}}}function Jr(x,ee){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(ee,Tt(hi,x))}function hi(x){var ee=x.doc;if(!(ee.highlightFrontier>=x.display.viewTo)){var ue=+new Date+x.options.workTime,le=Mr(x,ee.highlightFrontier),me=[];ee.iter(le.line,Math.min(ee.first+ee.size,x.display.viewTo+500),function(Ve){if(le.line>=x.display.viewFrom){var mt=Ve.styles,It=Ve.text.length>x.options.maxHighlightLength?Dt(ee.mode,le.state):null,Ht=Wr(x,Ve,le,!0);It&&(le.state=It),Ve.styles=Ht.styles;var Jt=Ve.styleClasses,zn=Ht.classes;zn?Ve.styleClasses=zn:Jt&&(Ve.styleClasses=null);for(var tr=!mt||mt.length!=Ve.styles.length||Jt!=zn&&(!Jt||!zn||Jt.bgClass!=zn.bgClass||Jt.textClass!=zn.textClass),ei=0;!tr&&ei<mt.length;++ei)tr=mt[ei]!=Ve.styles[ei];tr&&me.push(le.line),Ve.stateAfter=le.save(),le.nextLine()}else Ve.text.length<=x.options.maxHighlightLength&&Fr(x,Ve.text,le),Ve.stateAfter=le.line%5==0?le.save():null,le.nextLine();if(+new Date>ue)return Jr(x,x.options.workDelay),!0}),ee.highlightFrontier=le.line,ee.modeFrontier=Math.max(ee.modeFrontier,le.line),me.length&&On(x,function(){for(var Ve=0;Ve<me.length;Ve++)Aa(x,me[Ve],"text")})}}var ni=function(x,ee,ue){var le=x.display;this.viewport=ee,this.visible=hl(le,x.doc,ee),this.editorIsHidden=!le.wrapper.offsetWidth,this.wrapperHeight=le.wrapper.clientHeight,this.wrapperWidth=le.wrapper.clientWidth,this.oldDisplayWidth=mo(x),this.force=ue,this.dims=bl(x),this.events=[]};ni.prototype.signal=function(x,ee){xn(x,ee)&&this.events.push(arguments)},ni.prototype.finish=function(){for(var x=0;x<this.events.length;x++)pt.apply(null,this.events[x])};function qi(x){var ee=x.display;!ee.scrollbarsClipped&&ee.scroller.offsetWidth&&(ee.nativeBarWidth=ee.scroller.offsetWidth-ee.scroller.clientWidth,ee.heightForcer.style.height=Eu(x)+"px",ee.sizer.style.marginBottom=-ee.nativeBarWidth+"px",ee.sizer.style.borderRightWidth=Eu(x)+"px",ee.scrollbarsClipped=!0)}function Qi(x){if(x.hasFocus())return null;var ee=Re();if(!ee||!Lt(x.display.lineDiv,ee))return null;var ue={activeElt:ee};if(window.getSelection){var le=window.getSelection();le.anchorNode&&le.extend&&Lt(x.display.lineDiv,le.anchorNode)&&(ue.anchorNode=le.anchorNode,ue.anchorOffset=le.anchorOffset,ue.focusNode=le.focusNode,ue.focusOffset=le.focusOffset)}return ue}function Vi(x){if(!(!x||!x.activeElt||x.activeElt==Re())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&Lt(document.body,x.anchorNode)&&Lt(document.body,x.focusNode))){var ee=window.getSelection(),ue=document.createRange();ue.setEnd(x.anchorNode,x.anchorOffset),ue.collapse(!1),ee.removeAllRanges(),ee.addRange(ue),ee.extend(x.focusNode,x.focusOffset)}}function ja(x,ee){var ue=x.display,le=x.doc;if(ee.editorIsHidden)return $o(x),!1;if(!ee.force&&ee.visible.from>=ue.viewFrom&&ee.visible.to<=ue.viewTo&&(ue.updateLineNumbers==null||ue.updateLineNumbers>=ue.viewTo)&&ue.renderedView==ue.view&&Eo(x)==0)return!1;Fo(x)&&($o(x),ee.dims=bl(x));var me=le.first+le.size,Ve=Math.max(ee.visible.from-x.options.viewportMargin,le.first),mt=Math.min(me,ee.visible.to+x.options.viewportMargin);ue.viewFrom<Ve&&Ve-ue.viewFrom<20&&(Ve=Math.max(le.first,ue.viewFrom)),ue.viewTo>mt&&ue.viewTo-mt<20&&(mt=Math.min(me,ue.viewTo)),Za&&(Ve=Qs(x.doc,Ve),mt=fs(x.doc,mt));var It=Ve!=ue.viewFrom||mt!=ue.viewTo||ue.lastWrapHeight!=ee.wrapperHeight||ue.lastWrapWidth!=ee.wrapperWidth;rs(x,Ve,mt),ue.viewOffset=ma(on(x.doc,ue.viewFrom)),x.display.mover.style.top=ue.viewOffset+"px";var Ht=Eo(x);if(!It&&Ht==0&&!ee.force&&ue.renderedView==ue.view&&(ue.updateLineNumbers==null||ue.updateLineNumbers>=ue.viewTo))return!1;var Jt=Qi(x);return Ht>4&&(ue.lineDiv.style.display="none"),Ia(x,ue.updateLineNumbers,ee.dims),Ht>4&&(ue.lineDiv.style.display=""),ue.renderedView=ue.view,Vi(Jt),rt(ue.cursorDiv),rt(ue.selectionDiv),ue.gutters.style.height=ue.sizer.style.minHeight=0,It&&(ue.lastWrapHeight=ee.wrapperHeight,ue.lastWrapWidth=ee.wrapperWidth,Jr(x,400)),ue.updateLineNumbers=null,!0}function Fa(x,ee){for(var ue=ee.viewport,le=!0;;le=!1){if(!le||!x.options.lineWrapping||ee.oldDisplayWidth==mo(x)){if(ue&&ue.top!=null&&(ue={top:Math.min(x.doc.height+Cr(x.display)-Qo(x),ue.top)}),ee.visible=hl(x.display,x.doc,ue),ee.visible.from>=x.display.viewFrom&&ee.visible.to<=x.display.viewTo)break}else le&&(ee.visible=hl(x.display,x.doc,ue));if(!ja(x,ee))break;Uu(x);var me=yf(x);tu(x),xA(x,me),Ko(x,me),ee.force=!1}ee.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(ee.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Ta(x,ee){var ue=new ni(x,ee);if(ja(x,ue)){Uu(x),Fa(x,ue);var le=yf(x);tu(x),xA(x,le),Ko(x,le),ue.finish()}}function Ia(x,ee,ue){var le=x.display,me=x.options.lineNumbers,Ve=le.lineDiv,mt=Ve.firstChild;function It(Ri){var ga=Ri.nextSibling;return ve&&Te&&x.display.currentWheelTarget==Ri?Ri.style.display="none":Ri.parentNode.removeChild(Ri),ga}for(var Ht=le.view,Jt=le.viewFrom,zn=0;zn<Ht.length;zn++){var tr=Ht[zn];if(!tr.hidden)if(!tr.node||tr.node.parentNode!=Ve){var ei=Lo(x,tr,Jt,ue);Ve.insertBefore(ei,mt)}else{for(;mt!=tr.node;)mt=It(mt);var Kr=me&&ee!=null&&ee<=Jt&&tr.lineNumber;tr.changes&&(at(tr.changes,"gutter")>-1&&(Kr=!1),Ji(x,tr,Jt,ue)),Kr&&(rt(tr.lineNumber),tr.lineNumber.appendChild(document.createTextNode($r(x.options,Jt)))),mt=tr.node.nextSibling}Jt+=tr.size}for(;mt;)mt=It(mt)}function $a(x){var ee=x.gutters.offsetWidth;x.sizer.style.marginLeft=ee+"px"}function Ko(x,ee){x.display.sizer.style.minHeight=ee.docHeight+"px",x.display.heightForcer.style.top=ee.docHeight+"px",x.display.gutters.style.height=ee.docHeight+x.display.barHeight+Eu(x)+"px"}function Jo(x){var ee=x.display,ue=ee.view;if(!(!ee.alignWidgets&&(!ee.gutters.firstChild||!x.options.fixedGutter))){for(var le=Hl(ee)-ee.scroller.scrollLeft+x.doc.scrollLeft,me=ee.gutters.offsetWidth,Ve=le+"px",mt=0;mt<ue.length;mt++)if(!ue[mt].hidden){x.options.fixedGutter&&(ue[mt].gutter&&(ue[mt].gutter.style.left=Ve),ue[mt].gutterBackground&&(ue[mt].gutterBackground.style.left=Ve));var It=ue[mt].alignable;if(It)for(var Ht=0;Ht<It.length;Ht++)It[Ht].style.left=Ve}x.options.fixedGutter&&(ee.gutters.style.left=le+me+"px")}}function Fo(x){if(!x.options.lineNumbers)return!1;var ee=x.doc,ue=$r(x.options,ee.first+ee.size-1),le=x.display;if(ue.length!=le.lineNumChars){var me=le.measure.appendChild(dt("div",[dt("div",ue)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Ve=me.firstChild.offsetWidth,mt=me.offsetWidth-Ve;return le.lineGutter.style.width="",le.lineNumInnerWidth=Math.max(Ve,le.lineGutter.offsetWidth-mt)+1,le.lineNumWidth=le.lineNumInnerWidth+mt,le.lineNumChars=le.lineNumInnerWidth?ue.length:-1,le.lineGutter.style.width=le.lineNumWidth+"px",$a(x.display),!0}return!1}function ss(x,ee){for(var ue=[],le=!1,me=0;me<x.length;me++){var Ve=x[me],mt=null;if(typeof Ve!="string"&&(mt=Ve.style,Ve=Ve.className),Ve=="CodeMirror-linenumbers")if(ee)le=!0;else continue;ue.push({className:Ve,style:mt})}return ee&&!le&&ue.push({className:"CodeMirror-linenumbers",style:null}),ue}function _s(x){var ee=x.gutters,ue=x.gutterSpecs;rt(ee),x.lineGutter=null;for(var le=0;le<ue.length;++le){var me=ue[le],Ve=me.className,mt=me.style,It=ee.appendChild(dt("div",null,"CodeMirror-gutter "+Ve));mt&&(It.style.cssText=mt),Ve=="CodeMirror-linenumbers"&&(x.lineGutter=It,It.style.width=(x.lineNumWidth||1)+"px")}ee.style.display=ue.length?"":"none",$a(x)}function lo(x){_s(x.display),Ru(x),Jo(x)}function Oo(x,ee,ue,le){var me=this;this.input=ue,me.scrollbarFiller=dt("div",null,"CodeMirror-scrollbar-filler"),me.scrollbarFiller.setAttribute("cm-not-content","true"),me.gutterFiller=dt("div",null,"CodeMirror-gutter-filler"),me.gutterFiller.setAttribute("cm-not-content","true"),me.lineDiv=xt("div",null,"CodeMirror-code"),me.selectionDiv=dt("div",null,null,"position: relative; z-index: 1"),me.cursorDiv=dt("div",null,"CodeMirror-cursors"),me.measure=dt("div",null,"CodeMirror-measure"),me.lineMeasure=dt("div",null,"CodeMirror-measure"),me.lineSpace=xt("div",[me.measure,me.lineMeasure,me.selectionDiv,me.cursorDiv,me.lineDiv],null,"position: relative; outline: none");var Ve=xt("div",[me.lineSpace],"CodeMirror-lines");me.mover=dt("div",[Ve],null,"position: relative"),me.sizer=dt("div",[me.mover],"CodeMirror-sizer"),me.sizerWidth=null,me.heightForcer=dt("div",null,null,"position: absolute; height: "+Yt+"px; width: 1px;"),me.gutters=dt("div",null,"CodeMirror-gutters"),me.lineGutter=null,me.scroller=dt("div",[me.sizer,me.heightForcer,me.gutters],"CodeMirror-scroll"),me.scroller.setAttribute("tabIndex","-1"),me.wrapper=dt("div",[me.scrollbarFiller,me.gutterFiller,me.scroller],"CodeMirror"),Ne&&Le<8&&(me.gutters.style.zIndex=-1,me.scroller.style.paddingRight=0),!ve&&!(he&&ke)&&(me.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(me.wrapper):x(me.wrapper)),me.viewFrom=me.viewTo=ee.first,me.reportedViewFrom=me.reportedViewTo=ee.first,me.view=[],me.renderedView=null,me.externalMeasured=null,me.viewOffset=0,me.lastWrapHeight=me.lastWrapWidth=0,me.updateLineNumbers=null,me.nativeBarWidth=me.barHeight=me.barWidth=0,me.scrollbarsClipped=!1,me.lineNumWidth=me.lineNumInnerWidth=me.lineNumChars=null,me.alignWidgets=!1,me.cachedCharWidth=me.cachedTextHeight=me.cachedPaddingH=null,me.maxLine=null,me.maxLineLength=0,me.maxLineChanged=!1,me.wheelDX=me.wheelDY=me.wheelStartX=me.wheelStartY=null,me.shift=!1,me.selForContextMenu=null,me.activeTouch=null,me.gutterSpecs=ss(le.gutters,le.lineNumbers),_s(me),ue.init(me)}var vo=0,Ba=null;Ne?Ba=-.53:he?Ba=15:we?Ba=-.7:ze&&(Ba=-1/3);function bo(x){var ee=x.wheelDeltaX,ue=x.wheelDeltaY;return ee==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(ee=x.detail),ue==null&&x.detail&&x.axis==x.VERTICAL_AXIS?ue=x.detail:ue==null&&(ue=x.wheelDelta),{x:ee,y:ue}}function is(x){var ee=bo(x);return ee.x*=Ba,ee.y*=Ba,ee}function tl(x,ee){var ue=bo(ee),le=ue.x,me=ue.y,Ve=x.display,mt=Ve.scroller,It=mt.scrollWidth>mt.clientWidth,Ht=mt.scrollHeight>mt.clientHeight;if(le&&It||me&&Ht){if(me&&Te&&ve){e:for(var Jt=ee.target,zn=Ve.view;Jt!=mt;Jt=Jt.parentNode)for(var tr=0;tr<zn.length;tr++)if(zn[tr].node==Jt){x.display.currentWheelTarget=Jt;break e}}if(le&&!he&&!fe&&Ba!=null){me&&Ht&&xc(x,Math.max(0,mt.scrollTop+me*Ba)),uA(x,Math.max(0,mt.scrollLeft+le*Ba)),(!me||me&&Ht)&&br(ee),Ve.wheelStartX=null;return}if(me&&Ba!=null){var ei=me*Ba,Kr=x.doc.scrollTop,Ri=Kr+Ve.wrapper.clientHeight;ei<0?Kr=Math.max(0,Kr+ei-50):Ri=Math.min(x.doc.height,Ri+ei+50),Ta(x,{top:Kr,bottom:Ri})}vo<20&&(Ve.wheelStartX==null?(Ve.wheelStartX=mt.scrollLeft,Ve.wheelStartY=mt.scrollTop,Ve.wheelDX=le,Ve.wheelDY=me,setTimeout(function(){if(Ve.wheelStartX!=null){var ga=mt.scrollLeft-Ve.wheelStartX,Ga=mt.scrollTop-Ve.wheelStartY,yo=Ga&&Ve.wheelDY&&Ga/Ve.wheelDY||ga&&Ve.wheelDX&&ga/Ve.wheelDX;Ve.wheelStartX=Ve.wheelStartY=null,yo&&(Ba=(Ba*vo+yo)/(vo+1),++vo)}},200)):(Ve.wheelDX+=le,Ve.wheelDY+=me))}}var as=function(x,ee){this.ranges=x,this.primIndex=ee};as.prototype.primary=function(){return this.ranges[this.primIndex]},as.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var ee=0;ee<this.ranges.length;ee++){var ue=this.ranges[ee],le=x.ranges[ee];if(!ki(ue.anchor,le.anchor)||!ki(ue.head,le.head))return!1}return!0},as.prototype.deepCopy=function(){for(var x=[],ee=0;ee<this.ranges.length;ee++)x[ee]=new za(vi(this.ranges[ee].anchor),vi(this.ranges[ee].head));return new as(x,this.primIndex)},as.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},as.prototype.contains=function(x,ee){ee||(ee=x);for(var ue=0;ue<this.ranges.length;ue++){var le=this.ranges[ue];if(Or(ee,le.from())>=0&&Or(x,le.to())<=0)return ue}return-1};var za=function(x,ee){this.anchor=x,this.head=ee};za.prototype.from=function(){return xi(this.anchor,this.head)},za.prototype.to=function(){return Zi(this.anchor,this.head)},za.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function gs(x,ee,ue){var le=x&&x.options.selectionsMayTouch,me=ee[ue];ee.sort(function(ei,Kr){return Or(ei.from(),Kr.from())}),ue=at(ee,me);for(var Ve=1;Ve<ee.length;Ve++){var mt=ee[Ve],It=ee[Ve-1],Ht=Or(It.to(),mt.from());if(le&&!mt.empty()?Ht>0:Ht>=0){var Jt=xi(It.from(),mt.from()),zn=Zi(It.to(),mt.to()),tr=It.empty()?mt.from()==mt.head:It.from()==It.head;Ve<=ue&&--ue,ee.splice(--Ve,2,new za(tr?zn:Jt,tr?Jt:zn))}}return new as(ee,ue)}function Ns(x,ee){return new as([new za(x,ee||x)],0)}function jl(x){return x.text?Xn(x.from.line+x.text.length-1,Cn(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Ll(x,ee){if(Or(x,ee.from)<0)return x;if(Or(x,ee.to)<=0)return jl(ee);var ue=x.line+ee.text.length-(ee.to.line-ee.from.line)-1,le=x.ch;return x.line==ee.to.line&&(le+=jl(ee).ch-ee.to.ch),Xn(ue,le)}function ku(x,ee){for(var ue=[],le=0;le<x.sel.ranges.length;le++){var me=x.sel.ranges[le];ue.push(new za(Ll(me.anchor,ee),Ll(me.head,ee)))}return gs(x.cm,ue,x.sel.primIndex)}function Mu(x,ee,ue){return x.line==ee.line?Xn(ue.line,x.ch-ee.ch+ue.ch):Xn(ue.line+(x.line-ee.line),x.ch)}function Is(x,ee,ue){for(var le=[],me=Xn(x.first,0),Ve=me,mt=0;mt<ee.length;mt++){var It=ee[mt],Ht=Mu(It.from,me,Ve),Jt=Mu(jl(It),me,Ve);if(me=It.to,Ve=Jt,ue=="around"){var zn=x.sel.ranges[mt],tr=Or(zn.head,zn.anchor)<0;le[mt]=new za(tr?Jt:Ht,tr?Ht:Jt)}else le[mt]=new za(Ht,Ht)}return new as(le,x.sel.primIndex)}function cc(x){x.doc.mode=gi(x.options,x.doc.modeOption),wl(x)}function wl(x){x.doc.iter(function(ee){ee.stateAfter&&(ee.stateAfter=null),ee.styles&&(ee.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,Jr(x,100),x.state.modeGen++,x.curOp&&Ru(x)}function du(x,ee){return ee.from.ch==0&&ee.to.ch==0&&Cn(ee.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function Au(x,ee,ue,le){function me(ko){return ue?ue[ko]:null}function Ve(ko,Ao,Ro){cs(ko,Ao,Ro,le),Hr(ko,"change",ko,ee)}function mt(ko,Ao){for(var Ro=[],ms=ko;ms<Ao;++ms)Ro.push(new ua(Jt[ms],me(ms),le));return Ro}var It=ee.from,Ht=ee.to,Jt=ee.text,zn=on(x,It.line),tr=on(x,Ht.line),ei=Cn(Jt),Kr=me(Jt.length-1),Ri=Ht.line-It.line;if(ee.full)x.insert(0,mt(0,Jt.length)),x.remove(Jt.length,x.size-Jt.length);else if(du(x,ee)){var ga=mt(0,Jt.length-1);Ve(tr,tr.text,Kr),Ri&&x.remove(It.line,Ri),ga.length&&x.insert(It.line,ga)}else if(zn==tr)if(Jt.length==1)Ve(zn,zn.text.slice(0,It.ch)+ei+zn.text.slice(Ht.ch),Kr);else{var Ga=mt(1,Jt.length-1);Ga.push(new ua(ei+zn.text.slice(Ht.ch),Kr,le)),Ve(zn,zn.text.slice(0,It.ch)+Jt[0],me(0)),x.insert(It.line+1,Ga)}else if(Jt.length==1)Ve(zn,zn.text.slice(0,It.ch)+Jt[0]+tr.text.slice(Ht.ch),me(0)),x.remove(It.line+1,Ri);else{Ve(zn,zn.text.slice(0,It.ch)+Jt[0],me(0)),Ve(tr,ei+tr.text.slice(Ht.ch),Kr);var yo=mt(1,Jt.length-1);Ri>1&&x.remove(It.line+1,Ri-1),x.insert(It.line+1,yo)}Hr(x,"change",x,ee)}function Ic(x,ee,ue){function le(me,Ve,mt){if(me.linked)for(var It=0;It<me.linked.length;++It){var Ht=me.linked[It];if(Ht.doc!=Ve){var Jt=mt&&Ht.sharedHist;ue&&!Jt||(ee(Ht.doc,Jt),le(Ht.doc,me,Jt))}}}le(x,null,!0)}function wo(x,ee){if(ee.cm)throw new Error("This document is already in use.");x.doc=ee,ee.cm=x,Ac(x),cc(x),es(x),x.options.lineWrapping||ra(x),x.options.mode=ee.modeOption,Ru(x)}function es(x){(x.doc.direction=="rtl"?Rt:$e)(x.display.lineDiv,"CodeMirror-rtl")}function ts(x){On(x,function(){es(x),Ru(x)})}function Po(x){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=x||1}function Tl(x,ee){var ue={from:vi(ee.from),to:jl(ee),text:Mn(x,ee.from,ee.to)};return Qd(x,ue,ee.from.line,ee.to.line+1),Ic(x,function(le){return Qd(le,ue,ee.from.line,ee.to.line+1)},!0),ue}function Wo(x){for(;x.length;){var ee=Cn(x);if(ee.ranges)x.pop();else break}}function Ss(x,ee){if(ee)return Wo(x.done),Cn(x.done);if(x.done.length&&!Cn(x.done).ranges)return Cn(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),Cn(x.done)}function sl(x,ee,ue,le){var me=x.history;me.undone.length=0;var Ve=+new Date,mt,It;if((me.lastOp==le||me.lastOrigin==ee.origin&&ee.origin&&(ee.origin.charAt(0)=="+"&&me.lastModTime>Ve-(x.cm?x.cm.options.historyEventDelay:500)||ee.origin.charAt(0)=="*"))&&(mt=Ss(me,me.lastOp==le)))It=Cn(mt.changes),Or(ee.from,ee.to)==0&&Or(ee.from,It.to)==0?It.to=jl(ee):mt.changes.push(Tl(x,ee));else{var Ht=Cn(me.done);for((!Ht||!Ht.ranges)&&Gu(x.sel,me.done),mt={changes:[Tl(x,ee)],generation:me.generation},me.done.push(mt);me.done.length>me.undoDepth;)me.done.shift(),me.done[0].ranges||me.done.shift()}me.done.push(ue),me.generation=++me.maxGeneration,me.lastModTime=me.lastSelTime=Ve,me.lastOp=me.lastSelOp=le,me.lastOrigin=me.lastSelOrigin=ee.origin,It||pt(x,"historyAdded")}function pl(x,ee,ue,le){var me=ee.charAt(0);return me=="*"||me=="+"&&ue.ranges.length==le.ranges.length&&ue.somethingSelected()==le.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function td(x,ee,ue,le){var me=x.history,Ve=le&&le.origin;ue==me.lastSelOp||Ve&&me.lastSelOrigin==Ve&&(me.lastModTime==me.lastSelTime&&me.lastOrigin==Ve||pl(x,Ve,Cn(me.done),ee))?me.done[me.done.length-1]=ee:Gu(ee,me.done),me.lastSelTime=+new Date,me.lastSelOrigin=Ve,me.lastSelOp=ue,le&&le.clearRedo!==!1&&Wo(me.undone)}function Gu(x,ee){var ue=Cn(ee);ue&&ue.ranges&&ue.equals(x)||ee.push(x)}function Qd(x,ee,ue,le){var me=ee["spans_"+x.id],Ve=0;x.iter(Math.max(x.first,ue),Math.min(x.first+x.size,le),function(mt){mt.markedSpans&&((me||(me=ee["spans_"+x.id]={}))[Ve]=mt.markedSpans),++Ve})}function tc(x){if(!x)return null;for(var ee,ue=0;ue<x.length;++ue)x[ue].marker.explicitlyCleared?ee||(ee=x.slice(0,ue)):ee&&ee.push(x[ue]);return ee?ee.length?ee:null:x}function zd(x,ee){var ue=ee["spans_"+x.id];if(!ue)return null;for(var le=[],me=0;me<ee.text.length;++me)le.push(tc(ue[me]));return le}function Ja(x,ee){var ue=zd(x,ee),le=fi(x,ee);if(!ue)return le;if(!le)return ue;for(var me=0;me<ue.length;++me){var Ve=ue[me],mt=le[me];if(Ve&&mt)e:for(var It=0;It<mt.length;++It){for(var Ht=mt[It],Jt=0;Jt<Ve.length;++Jt)if(Ve[Jt].marker==Ht.marker)continue e;Ve.push(Ht)}else mt&&(ue[me]=mt)}return ue}function Rc(x,ee,ue){for(var le=[],me=0;me<x.length;++me){var Ve=x[me];if(Ve.ranges){le.push(ue?as.prototype.deepCopy.call(Ve):Ve);continue}var mt=Ve.changes,It=[];le.push({changes:It});for(var Ht=0;Ht<mt.length;++Ht){var Jt=mt[Ht],zn=void 0;if(It.push({from:Jt.from,to:Jt.to,text:Jt.text}),ee)for(var tr in Jt)(zn=tr.match(/^spans_(\d+)$/))&&at(ee,Number(zn[1]))>-1&&(Cn(It)[tr]=Jt[tr],delete Jt[tr])}}return le}function YA(x,ee,ue,le){if(le){var me=x.anchor;if(ue){var Ve=Or(ee,me)<0;Ve!=Or(ue,me)<0?(me=ee,ee=ue):Ve!=Or(ee,ue)<0&&(ee=ue)}return new za(me,ee)}else return new za(ue||ee,ee)}function xl(x,ee,ue,le,me){me==null&&(me=x.cm&&(x.cm.display.shift||x.extend)),$l(x,new as([YA(x.sel.primary(),ee,ue,me)],0),le)}function la(x,ee,ue){for(var le=[],me=x.cm&&(x.cm.display.shift||x.extend),Ve=0;Ve<x.sel.ranges.length;Ve++)le[Ve]=YA(x.sel.ranges[Ve],ee[Ve],null,me);var mt=gs(x.cm,le,x.sel.primIndex);$l(x,mt,ue)}function Wl(x,ee,ue,le){var me=x.sel.ranges.slice(0);me[ee]=ue,$l(x,gs(x.cm,me,x.sel.primIndex),le)}function Cc(x,ee,ue,le){$l(x,Ns(ee,ue),le)}function Iu(x,ee,ue){var le={ranges:ee.ranges,update:function(me){this.ranges=[];for(var Ve=0;Ve<me.length;Ve++)this.ranges[Ve]=new za(si(x,me[Ve].anchor),si(x,me[Ve].head))},origin:ue&&ue.origin};return pt(x,"beforeSelectionChange",x,le),x.cm&&pt(x.cm,"beforeSelectionChange",x.cm,le),le.ranges!=ee.ranges?gs(x.cm,le.ranges,le.ranges.length-1):ee}function ps(x,ee,ue){var le=x.history.done,me=Cn(le);me&&me.ranges?(le[le.length-1]=ee,Uc(x,ee,ue)):$l(x,ee,ue)}function $l(x,ee,ue){Uc(x,ee,ue),td(x,x.sel,x.cm?x.cm.curOp.id:NaN,ue)}function Uc(x,ee,ue){(xn(x,"beforeSelectionChange")||x.cm&&xn(x.cm,"beforeSelectionChange"))&&(ee=Iu(x,ee,ue));var le=ue&&ue.bias||(Or(ee.primary().head,x.sel.primary().head)<0?-1:1);Nd(x,Hc(x,ee,le,!0)),!(ue&&ue.scroll===!1)&&x.cm&&Vu(x.cm)}function Nd(x,ee){ee.equals(x.sel)||(x.sel=ee,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,vn(x.cm)),Hr(x,"cursorActivity",x))}function Cd(x){Nd(x,Hc(x,x.sel,null,!1))}function Hc(x,ee,ue,le){for(var me,Ve=0;Ve<ee.ranges.length;Ve++){var mt=ee.ranges[Ve],It=ee.ranges.length==x.sel.ranges.length&&x.sel.ranges[Ve],Ht=CA(x,mt.anchor,It&&It.anchor,ue,le),Jt=CA(x,mt.head,It&&It.head,ue,le);(me||Ht!=mt.anchor||Jt!=mt.head)&&(me||(me=ee.ranges.slice(0,Ve)),me[Ve]=new za(Ht,Jt))}return me?gs(x.cm,me,ee.primIndex):ee}function Yu(x,ee,ue,le,me){var Ve=on(x,ee.line);if(Ve.markedSpans)for(var mt=0;mt<Ve.markedSpans.length;++mt){var It=Ve.markedSpans[mt],Ht=It.marker,Jt="selectLeft"in Ht?!Ht.selectLeft:Ht.inclusiveLeft,zn="selectRight"in Ht?!Ht.selectRight:Ht.inclusiveRight;if((It.from==null||(Jt?It.from<=ee.ch:It.from<ee.ch))&&(It.to==null||(zn?It.to>=ee.ch:It.to>ee.ch))){if(me&&(pt(Ht,"beforeCursorEnter"),Ht.explicitlyCleared))if(Ve.markedSpans){--mt;continue}else break;if(!Ht.atomic)continue;if(ue){var tr=Ht.find(le<0?1:-1),ei=void 0;if((le<0?zn:Jt)&&(tr=Zc(x,tr,-le,tr&&tr.line==ee.line?Ve:null)),tr&&tr.line==ee.line&&(ei=Or(tr,ue))&&(le<0?ei<0:ei>0))return Yu(x,tr,ee,le,me)}var Kr=Ht.find(le<0?-1:1);return(le<0?Jt:zn)&&(Kr=Zc(x,Kr,le,Kr.line==ee.line?Ve:null)),Kr?Yu(x,Kr,ee,le,me):null}}return ee}function CA(x,ee,ue,le,me){var Ve=le||1,mt=Yu(x,ee,ue,Ve,me)||!me&&Yu(x,ee,ue,Ve,!0)||Yu(x,ee,ue,-Ve,me)||!me&&Yu(x,ee,ue,-Ve,!0);return mt||(x.cantEdit=!0,Xn(x.first,0))}function Zc(x,ee,ue,le){return ue<0&&ee.ch==0?ee.line>x.first?si(x,Xn(ee.line-1)):null:ue>0&&ee.ch==(le||on(x,ee.line)).text.length?ee.line<x.first+x.size-1?Xn(ee.line+1,0):null:new Xn(ee.line,ee.ch+ue)}function Xu(x){x.setSelection(Xn(x.firstLine(),0),Xn(x.lastLine()),St)}function jc(x,ee,ue){var le={canceled:!1,from:ee.from,to:ee.to,text:ee.text,origin:ee.origin,cancel:function(){return le.canceled=!0}};return ue&&(le.update=function(me,Ve,mt,It){me&&(le.from=si(x,me)),Ve&&(le.to=si(x,Ve)),mt&&(le.text=mt),It!==void 0&&(le.origin=It)}),pt(x,"beforeChange",x,le),x.cm&&pt(x.cm,"beforeChange",x.cm,le),le.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:le.from,to:le.to,text:le.text,origin:le.origin}}function Nu(x,ee,ue){if(x.cm){if(!x.cm.curOp)return gr(x.cm,Nu)(x,ee,ue);if(x.cm.state.suppressEdits)return}if(!((xn(x,"beforeChange")||x.cm&&xn(x.cm,"beforeChange"))&&(ee=jc(x,ee,!0),!ee))){var le=po&&!ue&&Ra(x,ee.from,ee.to);if(le)for(var me=le.length-1;me>=0;--me)Hu(x,{from:le[me].from,to:le[me].to,text:me?[""]:ee.text,origin:ee.origin});else Hu(x,ee)}}function Hu(x,ee){if(!(ee.text.length==1&&ee.text[0]==""&&Or(ee.from,ee.to)==0)){var ue=ku(x,ee);sl(x,ee,ue,x.cm?x.cm.curOp.id:NaN),Kd(x,ee,ue,fi(x,ee));var le=[];Ic(x,function(me,Ve){!Ve&&at(le,me.history)==-1&&(au(me.history,ee),le.push(me.history)),Kd(me,ee,null,fi(me,ee))})}}function ld(x,ee,ue){var le=x.cm&&x.cm.state.suppressEdits;if(!(le&&!ue)){for(var me=x.history,Ve,mt=x.sel,It=ee=="undo"?me.done:me.undone,Ht=ee=="undo"?me.undone:me.done,Jt=0;Jt<It.length&&(Ve=It[Jt],!(ue?Ve.ranges&&!Ve.equals(x.sel):!Ve.ranges));Jt++);if(Jt!=It.length){for(me.lastOrigin=me.lastSelOrigin=null;;)if(Ve=It.pop(),Ve.ranges){if(Gu(Ve,Ht),ue&&!Ve.equals(x.sel)){$l(x,Ve,{clearRedo:!1});return}mt=Ve}else if(le){It.push(Ve);return}else break;var zn=[];Gu(mt,Ht),Ht.push({changes:zn,generation:me.generation}),me.generation=Ve.generation||++me.maxGeneration;for(var tr=xn(x,"beforeChange")||x.cm&&xn(x.cm,"beforeChange"),ei=function(ga){var Ga=Ve.changes[ga];if(Ga.origin=ee,tr&&!jc(x,Ga,!1))return It.length=0,{};zn.push(Tl(x,Ga));var yo=ga?ku(x,Ga):Cn(It);Kd(x,Ga,yo,Ja(x,Ga)),!ga&&x.cm&&x.cm.scrollIntoView({from:Ga.from,to:jl(Ga)});var ko=[];Ic(x,function(Ao,Ro){!Ro&&at(ko,Ao.history)==-1&&(au(Ao.history,Ga),ko.push(Ao.history)),Kd(Ao,Ga,null,Ja(Ao,Ga))})},Kr=Ve.changes.length-1;Kr>=0;--Kr){var Ri=ei(Kr);if(Ri)return Ri.v}}}}function dA(x,ee){if(ee!=0&&(x.first+=ee,x.sel=new as(Bn(x.sel.ranges,function(me){return new za(Xn(me.anchor.line+ee,me.anchor.ch),Xn(me.head.line+ee,me.head.ch))}),x.sel.primIndex),x.cm)){Ru(x.cm,x.first,x.first-ee,ee);for(var ue=x.cm.display,le=ue.viewFrom;le<ue.viewTo;le++)Aa(x.cm,le,"gutter")}}function Kd(x,ee,ue,le){if(x.cm&&!x.cm.curOp)return gr(x.cm,Kd)(x,ee,ue,le);if(ee.to.line<x.first){dA(x,ee.text.length-1-(ee.to.line-ee.from.line));return}if(!(ee.from.line>x.lastLine())){if(ee.from.line<x.first){var me=ee.text.length-1-(x.first-ee.from.line);dA(x,me),ee={from:Xn(x.first,0),to:Xn(ee.to.line+me,ee.to.ch),text:[Cn(ee.text)],origin:ee.origin}}var Ve=x.lastLine();ee.to.line>Ve&&(ee={from:ee.from,to:Xn(Ve,on(x,Ve).text.length),text:[ee.text[0]],origin:ee.origin}),ee.removed=Mn(x,ee.from,ee.to),ue||(ue=ku(x,ee)),x.cm?BA(x.cm,ee,le):Au(x,ee,le),Uc(x,ue,St),x.cantEdit&&CA(x,Xn(x.firstLine(),0))&&(x.cantEdit=!1)}}function BA(x,ee,ue){var le=x.doc,me=x.display,Ve=ee.from,mt=ee.to,It=!1,Ht=Ve.line;x.options.lineWrapping||(Ht=pr(So(on(le,Ve.line))),le.iter(Ht,mt.line+1,function(Kr){if(Kr==me.maxLine)return It=!0,!0})),le.sel.contains(ee.from,ee.to)>-1&&vn(x),Au(le,ee,ue,zc(x)),x.options.lineWrapping||(le.iter(Ht,Ve.line+ee.text.length,function(Kr){var Ri=sa(Kr);Ri>me.maxLineLength&&(me.maxLine=Kr,me.maxLineLength=Ri,me.maxLineChanged=!0,It=!1)}),It&&(x.curOp.updateMaxLine=!0)),Da(le,Ve.line),Jr(x,400);var Jt=ee.text.length-(mt.line-Ve.line)-1;ee.full?Ru(x):Ve.line==mt.line&&ee.text.length==1&&!du(x.doc,ee)?Aa(x,Ve.line,"text"):Ru(x,Ve.line,mt.line+1,Jt);var zn=xn(x,"changes"),tr=xn(x,"change");if(tr||zn){var ei={from:Ve,to:mt,text:ee.text,removed:ee.removed,origin:ee.origin};tr&&Hr(x,"change",x,ei),zn&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(ei)}x.display.selForContextMenu=null}function XA(x,ee,ue,le,me){var Ve;le||(le=ue),Or(le,ue)<0&&(Ve=[le,ue],ue=Ve[0],le=Ve[1]),typeof ee=="string"&&(ee=x.splitLines(ee)),Nu(x,{from:ue,to:le,text:ee,origin:me})}function Eh(x,ee,ue,le){ue<x.line?x.line+=le:ee<x.line&&(x.line=ee,x.ch=0)}function Bl(x,ee,ue,le){for(var me=0;me<x.length;++me){var Ve=x[me],mt=!0;if(Ve.ranges){Ve.copied||(Ve=x[me]=Ve.deepCopy(),Ve.copied=!0);for(var It=0;It<Ve.ranges.length;It++)Eh(Ve.ranges[It].anchor,ee,ue,le),Eh(Ve.ranges[It].head,ee,ue,le);continue}for(var Ht=0;Ht<Ve.changes.length;++Ht){var Jt=Ve.changes[Ht];if(ue<Jt.from.line)Jt.from=Xn(Jt.from.line+le,Jt.from.ch),Jt.to=Xn(Jt.to.line+le,Jt.to.ch);else if(ee<=Jt.to.line){mt=!1;break}}mt||(x.splice(0,me+1),me=0)}}function au(x,ee){var ue=ee.from.line,le=ee.to.line,me=ee.text.length-(le-ue)-1;Bl(x.done,ue,le,me),Bl(x.undone,ue,le,me)}function Lc(x,ee,ue,le){var me=ee,Ve=ee;return typeof ee=="number"?Ve=on(x,Ca(x,ee)):me=pr(ee),me==null?null:(le(Ve,me)&&x.cm&&Aa(x.cm,me,ue),Ve)}function ou(x){this.lines=x,this.parent=null;for(var ee=0,ue=0;ue<x.length;++ue)x[ue].parent=this,ee+=x[ue].height;this.height=ee}ou.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,ee){for(var ue=x,le=x+ee;ue<le;++ue){var me=this.lines[ue];this.height-=me.height,Ps(me),Hr(me,"delete")}this.lines.splice(x,ee)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,ee,ue){this.height+=ue,this.lines=this.lines.slice(0,x).concat(ee).concat(this.lines.slice(x));for(var le=0;le<ee.length;++le)ee[le].parent=this},iterN:function(x,ee,ue){for(var le=x+ee;x<le;++x)if(ue(this.lines[x]))return!0}};function Bc(x){this.children=x;for(var ee=0,ue=0,le=0;le<x.length;++le){var me=x[le];ee+=me.chunkSize(),ue+=me.height,me.parent=this}this.size=ee,this.height=ue,this.parent=null}Bc.prototype={chunkSize:function(){return this.size},removeInner:function(x,ee){this.size-=ee;for(var ue=0;ue<this.children.length;++ue){var le=this.children[ue],me=le.chunkSize();if(x<me){var Ve=Math.min(ee,me-x),mt=le.height;if(le.removeInner(x,Ve),this.height-=mt-le.height,me==Ve&&(this.children.splice(ue--,1),le.parent=null),(ee-=Ve)==0)break;x=0}else x-=me}if(this.size-ee<25&&(this.children.length>1||!(this.children[0]instanceof ou))){var It=[];this.collapse(It),this.children=[new ou(It)],this.children[0].parent=this}},collapse:function(x){for(var ee=0;ee<this.children.length;++ee)this.children[ee].collapse(x)},insertInner:function(x,ee,ue){this.size+=ee.length,this.height+=ue;for(var le=0;le<this.children.length;++le){var me=this.children[le],Ve=me.chunkSize();if(x<=Ve){if(me.insertInner(x,ee,ue),me.lines&&me.lines.length>50){for(var mt=me.lines.length%25+25,It=mt;It<me.lines.length;){var Ht=new ou(me.lines.slice(It,It+=25));me.height-=Ht.height,this.children.splice(++le,0,Ht),Ht.parent=this}me.lines=me.lines.slice(0,mt),this.maybeSpill()}break}x-=Ve}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var ee=x.children.splice(x.children.length-5,5),ue=new Bc(ee);if(x.parent){x.size-=ue.size,x.height-=ue.height;var me=at(x.parent.children,x);x.parent.children.splice(me+1,0,ue)}else{var le=new Bc(x.children);le.parent=x,x.children=[le,ue],x=le}ue.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,ee,ue){for(var le=0;le<this.children.length;++le){var me=this.children[le],Ve=me.chunkSize();if(x<Ve){var mt=Math.min(ee,Ve-x);if(me.iterN(x,mt,ue))return!0;if((ee-=mt)==0)break;x=0}else x-=Ve}}};var Dc=function(x,ee,ue){if(ue)for(var le in ue)ue.hasOwnProperty(le)&&(this[le]=ue[le]);this.doc=x,this.node=ee};Dc.prototype.clear=function(){var x=this.doc.cm,ee=this.line.widgets,ue=this.line,le=pr(ue);if(!(le==null||!ee)){for(var me=0;me<ee.length;++me)ee[me]==this&&ee.splice(me--,1);ee.length||(ue.widgets=null);var Ve=Bu(this);qn(ue,Math.max(0,ue.height-Ve)),x&&(On(x,function(){nc(x,ue,-Ve),Aa(x,le,"widget")}),Hr(x,"lineWidgetCleared",x,this,le))}},Dc.prototype.changed=function(){var x=this,ee=this.height,ue=this.doc.cm,le=this.line;this.height=null;var me=Bu(this)-ee;me&&(Zs(this.doc,le)||qn(le,le.height+me),ue&&On(ue,function(){ue.curOp.forceUpdate=!0,nc(ue,le,me),Hr(ue,"lineWidgetChanged",ue,x,pr(le))}))},Wn(Dc);function nc(x,ee,ue){ma(ee)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&Wc(x,ue)}function SA(x,ee,ue,le){var me=new Dc(x,ue,le),Ve=x.cm;return Ve&&me.noHScroll&&(Ve.display.alignWidgets=!0),Lc(x,ee,"widget",function(mt){var It=mt.widgets||(mt.widgets=[]);if(me.insertAt==null?It.push(me):It.splice(Math.min(It.length-1,Math.max(0,me.insertAt)),0,me),me.line=mt,Ve&&!Zs(x,mt)){var Ht=ma(mt)<x.scrollTop;qn(mt,mt.height+Bu(me)),Ht&&Wc(Ve,me.height),Ve.curOp.forceUpdate=!0}return!0}),Ve&&Hr(Ve,"lineWidgetAdded",Ve,me,typeof ee=="number"?ee:pr(ee)),me}var ah=0,EA=function(x,ee){this.lines=[],this.type=ee,this.doc=x,this.id=++ah};EA.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,ee=x&&!x.curOp;if(ee&&hc(x),xn(this,"clear")){var ue=this.find();ue&&Hr(this,"clear",ue.from,ue.to)}for(var le=null,me=null,Ve=0;Ve<this.lines.length;++Ve){var mt=this.lines[Ve],It=Xa(mt.markedSpans,this);x&&!this.collapsed?Aa(x,pr(mt),"text"):x&&(It.to!=null&&(me=pr(mt)),It.from!=null&&(le=pr(mt))),mt.markedSpans=Pa(mt.markedSpans,It),It.from==null&&this.collapsed&&!Zs(this.doc,mt)&&x&&qn(mt,Id(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ht=0;Ht<this.lines.length;++Ht){var Jt=So(this.lines[Ht]),zn=sa(Jt);zn>x.display.maxLineLength&&(x.display.maxLine=Jt,x.display.maxLineLength=zn,x.display.maxLineChanged=!0)}le!=null&&x&&this.collapsed&&Ru(x,le,me+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Cd(x.doc)),x&&Hr(x,"markerCleared",x,this,le,me),ee&&cA(x),this.parent&&this.parent.clear()}},EA.prototype.find=function(x,ee){x==null&&this.type=="bookmark"&&(x=1);for(var ue,le,me=0;me<this.lines.length;++me){var Ve=this.lines[me],mt=Xa(Ve.markedSpans,this);if(mt.from!=null&&(ue=Xn(ee?Ve:pr(Ve),mt.from),x==-1))return ue;if(mt.to!=null&&(le=Xn(ee?Ve:pr(Ve),mt.to),x==1))return le}return ue&&{from:ue,to:le}},EA.prototype.changed=function(){var x=this,ee=this.find(-1,!0),ue=this,le=this.doc.cm;!ee||!le||On(le,function(){var me=ee.line,Ve=pr(ee.line),mt=vu(le,Ve);if(mt&&(ys(mt),le.curOp.selectionChanged=le.curOp.forceUpdate=!0),le.curOp.updateMaxLine=!0,!Zs(ue.doc,me)&&ue.height!=null){var It=ue.height;ue.height=null;var Ht=Bu(ue)-It;Ht&&qn(me,me.height+Ht)}Hr(le,"markerChanged",le,x)})},EA.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var ee=this.doc.cm.curOp;(!ee.maybeHiddenMarkers||at(ee.maybeHiddenMarkers,this)==-1)&&(ee.maybeUnhiddenMarkers||(ee.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},EA.prototype.detachLine=function(x){if(this.lines.splice(at(this.lines,x),1),!this.lines.length&&this.doc.cm){var ee=this.doc.cm.curOp;(ee.maybeHiddenMarkers||(ee.maybeHiddenMarkers=[])).push(this)}},Wn(EA);function FA(x,ee,ue,le,me){if(le&&le.shared)return ju(x,ee,ue,le,me);if(x.cm&&!x.cm.curOp)return gr(x.cm,FA)(x,ee,ue,le,me);var Ve=new EA(x,me),mt=Or(ee,ue);if(le&&wt(le,Ve,!1),mt>0||mt==0&&Ve.clearWhenEmpty!==!1)return Ve;if(Ve.replacedWith&&(Ve.collapsed=!0,Ve.widgetNode=xt("span",[Ve.replacedWith],"CodeMirror-widget"),le.handleMouseEvents||Ve.widgetNode.setAttribute("cm-ignore-events","true"),le.insertLeft&&(Ve.widgetNode.insertLeft=!0)),Ve.collapsed){if(Bo(x,ee.line,ee,ue,Ve)||ee.line!=ue.line&&Bo(x,ue.line,ee,ue,Ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");va()}Ve.addToHistory&&sl(x,{from:ee,to:ue,origin:"markText"},x.sel,NaN);var It=ee.line,Ht=x.cm,Jt;if(x.iter(It,ue.line+1,function(tr){Ht&&Ve.collapsed&&!Ht.options.lineWrapping&&So(tr)==Ht.display.maxLine&&(Jt=!0),Ve.collapsed&&It!=ee.line&&qn(tr,0),ao(tr,new ka(Ve,It==ee.line?ee.ch:null,It==ue.line?ue.ch:null)),++It}),Ve.collapsed&&x.iter(ee.line,ue.line+1,function(tr){Zs(x,tr)&&qn(tr,0)}),Ve.clearOnEnter&&nn(Ve,"beforeCursorEnter",function(){return Ve.clear()}),Ve.readOnly&&(io(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),Ve.collapsed&&(Ve.id=++ah,Ve.atomic=!0),Ht){if(Jt&&(Ht.curOp.updateMaxLine=!0),Ve.collapsed)Ru(Ht,ee.line,ue.line+1);else if(Ve.className||Ve.startStyle||Ve.endStyle||Ve.css||Ve.attributes||Ve.title)for(var zn=ee.line;zn<=ue.line;zn++)Aa(Ht,zn,"text");Ve.atomic&&Cd(Ht.doc),Hr(Ht,"markerAdded",Ht,Ve)}return Ve}var ml=function(x,ee){this.markers=x,this.primary=ee;for(var ue=0;ue<x.length;++ue)x[ue].parent=this};ml.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();Hr(this,"clear")}},ml.prototype.find=function(x,ee){return this.primary.find(x,ee)},Wn(ml);function ju(x,ee,ue,le,me){le=wt(le),le.shared=!1;var Ve=[FA(x,ee,ue,le,me)],mt=Ve[0],It=le.widgetNode;return Ic(x,function(Ht){It&&(le.widgetNode=It.cloneNode(!0)),Ve.push(FA(Ht,si(Ht,ee),si(Ht,ue),le,me));for(var Jt=0;Jt<Ht.linked.length;++Jt)if(Ht.linked[Jt].isParent)return;mt=Cn(Ve)}),new ml(Ve,mt)}function AA(x){return x.findMarks(Xn(x.first,0),x.clipPos(Xn(x.lastLine())),function(ee){return ee.parent})}function kA(x,ee){for(var ue=0;ue<ee.length;ue++){var le=ee[ue],me=le.find(),Ve=x.clipPos(me.from),mt=x.clipPos(me.to);if(Or(Ve,mt)){var It=FA(x,Ve,mt,le.primary,le.primary.type);le.markers.push(It),It.parent=le}}}function ud(x){for(var ee=function(le){var me=x[le],Ve=[me.primary.doc];Ic(me.primary.doc,function(Ht){return Ve.push(Ht)});for(var mt=0;mt<me.markers.length;mt++){var It=me.markers[mt];at(Ve,It.doc)==-1&&(It.parent=null,me.markers.splice(mt--,1))}},ue=0;ue<x.length;ue++)ee(ue)}var e0=0,pc=function(x,ee,ue,le,me){if(!(this instanceof pc))return new pc(x,ee,ue,le,me);ue==null&&(ue=0),Bc.call(this,[new ou([new ua("",null)])]),this.first=ue,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ue;var Ve=Xn(ue,0);this.sel=Ns(Ve),this.history=new Po(null),this.id=++e0,this.modeOption=ee,this.lineSep=le,this.direction=me=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),Au(this,{from:Ve,to:Ve,text:x}),$l(this,Ns(Ve),St)};pc.prototype=Fe(Bc.prototype,{constructor:pc,iter:function(x,ee,ue){ue?this.iterN(x-this.first,ee-x,ue):this.iterN(this.first,this.first+this.size,x)},insert:function(x,ee){for(var ue=0,le=0;le<ee.length;++le)ue+=ee[le].height;this.insertInner(x-this.first,ee,ue)},remove:function(x,ee){this.removeInner(x-this.first,ee)},getValue:function(x){var ee=ir(this,this.first,this.first+this.size);return x===!1?ee:ee.join(x||this.lineSeparator())},setValue:ur(function(x){var ee=Xn(this.first,0),ue=this.first+this.size-1;Nu(this,{from:ee,to:Xn(ue,on(this,ue).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&jd(this.cm,0,0),$l(this,Ns(ee),St)}),replaceRange:function(x,ee,ue,le){ee=si(this,ee),ue=ue?si(this,ue):ee,XA(this,x,ee,ue,le)},getRange:function(x,ee,ue){var le=Mn(this,si(this,x),si(this,ee));return ue===!1?le:le.join(ue||this.lineSeparator())},getLine:function(x){var ee=this.getLineHandle(x);return ee&&ee.text},getLineHandle:function(x){if(Zr(this,x))return on(this,x)},getLineNumber:function(x){return pr(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=on(this,x)),So(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return si(this,x)},getCursor:function(x){var ee=this.sel.primary(),ue;return x==null||x=="head"?ue=ee.head:x=="anchor"?ue=ee.anchor:x=="end"||x=="to"||x===!1?ue=ee.to():ue=ee.from(),ue},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ur(function(x,ee,ue){Cc(this,si(this,typeof x=="number"?Xn(x,ee||0):x),null,ue)}),setSelection:ur(function(x,ee,ue){Cc(this,si(this,x),si(this,ee||x),ue)}),extendSelection:ur(function(x,ee,ue){xl(this,si(this,x),ee&&si(this,ee),ue)}),extendSelections:ur(function(x,ee){la(this,mn(this,x),ee)}),extendSelectionsBy:ur(function(x,ee){var ue=Bn(this.sel.ranges,x);la(this,mn(this,ue),ee)}),setSelections:ur(function(x,ee,ue){if(x.length){for(var le=[],me=0;me<x.length;me++)le[me]=new za(si(this,x[me].anchor),si(this,x[me].head));ee==null&&(ee=Math.min(x.length-1,this.sel.primIndex)),$l(this,gs(this.cm,le,ee),ue)}}),addSelection:ur(function(x,ee,ue){var le=this.sel.ranges.slice(0);le.push(new za(si(this,x),si(this,ee||x))),$l(this,gs(this.cm,le,le.length-1),ue)}),getSelection:function(x){for(var ee=this.sel.ranges,ue,le=0;le<ee.length;le++){var me=Mn(this,ee[le].from(),ee[le].to());ue=ue?ue.concat(me):me}return x===!1?ue:ue.join(x||this.lineSeparator())},getSelections:function(x){for(var ee=[],ue=this.sel.ranges,le=0;le<ue.length;le++){var me=Mn(this,ue[le].from(),ue[le].to());x!==!1&&(me=me.join(x||this.lineSeparator())),ee[le]=me}return ee},replaceSelection:function(x,ee,ue){for(var le=[],me=0;me<this.sel.ranges.length;me++)le[me]=x;this.replaceSelections(le,ee,ue||"+input")},replaceSelections:ur(function(x,ee,ue){for(var le=[],me=this.sel,Ve=0;Ve<me.ranges.length;Ve++){var mt=me.ranges[Ve];le[Ve]={from:mt.from(),to:mt.to(),text:this.splitLines(x[Ve]),origin:ue}}for(var It=ee&&ee!="end"&&Is(this,le,ee),Ht=le.length-1;Ht>=0;Ht--)Nu(this,le[Ht]);It?ps(this,It):this.cm&&Vu(this.cm)}),undo:ur(function(){ld(this,"undo")}),redo:ur(function(){ld(this,"redo")}),undoSelection:ur(function(){ld(this,"undo",!0)}),redoSelection:ur(function(){ld(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,ee=0,ue=0,le=0;le<x.done.length;le++)x.done[le].ranges||++ee;for(var me=0;me<x.undone.length;me++)x.undone[me].ranges||++ue;return{undo:ee,redo:ue}},clearHistory:function(){var x=this;this.history=new Po(this.history.maxGeneration),Ic(this,function(ee){return ee.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){return x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:Rc(this.history.done),undone:Rc(this.history.undone)}},setHistory:function(x){var ee=this.history=new Po(this.history.maxGeneration);ee.done=Rc(x.done.slice(0),null,!0),ee.undone=Rc(x.undone.slice(0),null,!0)},setGutterMarker:ur(function(x,ee,ue){return Lc(this,x,"gutter",function(le){var me=le.gutterMarkers||(le.gutterMarkers={});return me[ee]=ue,!ue&&oe(me)&&(le.gutterMarkers=null),!0})}),clearGutter:ur(function(x){var ee=this;this.iter(function(ue){ue.gutterMarkers&&ue.gutterMarkers[x]&&Lc(ee,ue,"gutter",function(){return ue.gutterMarkers[x]=null,oe(ue.gutterMarkers)&&(ue.gutterMarkers=null),!0})})}),lineInfo:function(x){var ee;if(typeof x=="number"){if(!Zr(this,x)||(ee=x,x=on(this,x),!x))return null}else if(ee=pr(x),ee==null)return null;return{line:ee,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:ur(function(x,ee,ue){return Lc(this,x,ee=="gutter"?"gutter":"class",function(le){var me=ee=="text"?"textClass":ee=="background"?"bgClass":ee=="gutter"?"gutterClass":"wrapClass";if(!le[me])le[me]=ue;else{if(Ze(ue).test(le[me]))return!1;le[me]+=" "+ue}return!0})}),removeLineClass:ur(function(x,ee,ue){return Lc(this,x,ee=="gutter"?"gutter":"class",function(le){var me=ee=="text"?"textClass":ee=="background"?"bgClass":ee=="gutter"?"gutterClass":"wrapClass",Ve=le[me];if(Ve)if(ue==null)le[me]=null;else{var mt=Ve.match(Ze(ue));if(!mt)return!1;var It=mt.index+mt[0].length;le[me]=Ve.slice(0,mt.index)+(!mt.index||It==Ve.length?"":" ")+Ve.slice(It)||null}else return!1;return!0})}),addLineWidget:ur(function(x,ee,ue){return SA(this,x,ee,ue)}),removeLineWidget:function(x){x.clear()},markText:function(x,ee,ue){return FA(this,si(this,x),si(this,ee),ue,ue&&ue.type||"range")},setBookmark:function(x,ee){var ue={replacedWith:ee&&(ee.nodeType==null?ee.widget:ee),insertLeft:ee&&ee.insertLeft,clearWhenEmpty:!1,shared:ee&&ee.shared,handleMouseEvents:ee&&ee.handleMouseEvents};return x=si(this,x),FA(this,x,x,ue,"bookmark")},findMarksAt:function(x){x=si(this,x);var ee=[],ue=on(this,x.line).markedSpans;if(ue)for(var le=0;le<ue.length;++le){var me=ue[le];(me.from==null||me.from<=x.ch)&&(me.to==null||me.to>=x.ch)&&ee.push(me.marker.parent||me.marker)}return ee},findMarks:function(x,ee,ue){x=si(this,x),ee=si(this,ee);var le=[],me=x.line;return this.iter(x.line,ee.line+1,function(Ve){var mt=Ve.markedSpans;if(mt)for(var It=0;It<mt.length;It++){var Ht=mt[It];!(Ht.to!=null&&me==x.line&&x.ch>=Ht.to||Ht.from==null&&me!=x.line||Ht.from!=null&&me==ee.line&&Ht.from>=ee.ch)&&(!ue||ue(Ht.marker))&&le.push(Ht.marker.parent||Ht.marker)}++me}),le},getAllMarks:function(){var x=[];return this.iter(function(ee){var ue=ee.markedSpans;if(ue)for(var le=0;le<ue.length;++le)ue[le].from!=null&&x.push(ue[le].marker)}),x},posFromIndex:function(x){var ee,ue=this.first,le=this.lineSeparator().length;return this.iter(function(me){var Ve=me.text.length+le;if(Ve>x)return ee=x,!0;x-=Ve,++ue}),si(this,Xn(ue,ee))},indexFromPos:function(x){x=si(this,x);var ee=x.ch;if(x.line<this.first||x.ch<0)return 0;var ue=this.lineSeparator().length;return this.iter(this.first,x.line,function(le){ee+=le.text.length+ue}),ee},copy:function(x){var ee=new pc(ir(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ee.scrollTop=this.scrollTop,ee.scrollLeft=this.scrollLeft,ee.sel=this.sel,ee.extend=!1,x&&(ee.history.undoDepth=this.history.undoDepth,ee.setHistory(this.getHistory())),ee},linkedDoc:function(x){x||(x={});var ee=this.first,ue=this.first+this.size;x.from!=null&&x.from>ee&&(ee=x.from),x.to!=null&&x.to<ue&&(ue=x.to);var le=new pc(ir(this,ee,ue),x.mode||this.modeOption,ee,this.lineSep,this.direction);return x.sharedHist&&(le.history=this.history),(this.linked||(this.linked=[])).push({doc:le,sharedHist:x.sharedHist}),le.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],kA(le,AA(this)),le},unlinkDoc:function(x){if(x instanceof zs&&(x=x.doc),this.linked)for(var ee=0;ee<this.linked.length;++ee){var ue=this.linked[ee];if(ue.doc==x){this.linked.splice(ee,1),x.unlinkDoc(this),ud(AA(this));break}}if(x.history==this.history){var le=[x.id];Ic(x,function(me){return le.push(me.id)},!0),x.history=new Po(null),x.history.done=Rc(this.history.done,le),x.history.undone=Rc(this.history.undone,le)}},iterLinkedDocs:function(x){Ic(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):pa(x)},lineSeparator:function(){return this.lineSep||`
`},setDirection:ur(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(ee){return ee.order=null}),this.cm&&ts(this.cm))})}),pc.prototype.eachLine=pc.prototype.iter;var Fh=0;function t0(x){var ee=this;if(Nf(ee),!(Wt(ee,x)||gu(ee.display,x))){br(x),Ne&&(Fh=+new Date);var ue=hd(ee,x,!0),le=x.dataTransfer.files;if(!(!ue||ee.isReadOnly()))if(le&&le.length&&window.FileReader&&window.File)for(var me=le.length,Ve=Array(me),mt=0,It=function(){++mt==me&&gr(ee,function(){ue=si(ee.doc,ue);var Kr={from:ue,to:ue,text:ee.doc.splitLines(Ve.filter(function(Ri){return Ri!=null}).join(ee.doc.lineSeparator())),origin:"paste"};Nu(ee.doc,Kr),ps(ee.doc,Ns(si(ee.doc,ue),si(ee.doc,jl(Kr))))})()},Ht=function(Kr,Ri){if(ee.options.allowDropFileTypes&&at(ee.options.allowDropFileTypes,Kr.type)==-1){It();return}var ga=new FileReader;ga.onerror=function(){return It()},ga.onload=function(){var Ga=ga.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ga)){It();return}Ve[Ri]=Ga,It()},ga.readAsText(Kr)},Jt=0;Jt<le.length;Jt++)Ht(le[Jt],Jt);else{if(ee.state.draggingText&&ee.doc.sel.contains(ue)>-1){ee.state.draggingText(x),setTimeout(function(){return ee.display.input.focus()},20);return}try{var zn=x.dataTransfer.getData("Text");if(zn){var tr;if(ee.state.draggingText&&!ee.state.draggingText.copy&&(tr=ee.listSelections()),Uc(ee.doc,Ns(ue,ue)),tr)for(var ei=0;ei<tr.length;++ei)XA(ee.doc,"",tr[ei].anchor,tr[ei].head,"drag");ee.replaceSelection(zn,"around","paste"),ee.display.input.focus()}}catch(Kr){}}}}function Df(x,ee){if(Ne&&(!x.state.draggingText||+new Date-Fh<100)){Qr(ee);return}if(!(Wt(x,ee)||gu(x.display,ee))&&(ee.dataTransfer.setData("Text",x.getSelection()),ee.dataTransfer.effectAllowed="copyMove",ee.dataTransfer.setDragImage&&!ze)){var ue=dt("img",null,null,"position: fixed; left: 0; top: 0;");ue.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",fe&&(ue.width=ue.height=1,x.display.wrapper.appendChild(ue),ue._top=ue.offsetTop),ee.dataTransfer.setDragImage(ue,0,0),fe&&ue.parentNode.removeChild(ue)}}function oh(x,ee){var ue=hd(x,ee);if(ue){var le=document.createDocumentFragment();Kc(x,ue,le),x.display.dragCursor||(x.display.dragCursor=dt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),ht(x.display.dragCursor,le)}}function Nf(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function wf(x){if(document.getElementsByClassName){for(var ee=document.getElementsByClassName("CodeMirror"),ue=[],le=0;le<ee.length;le++){var me=ee[le].CodeMirror;me&&ue.push(me)}ue.length&&ue[0].operation(function(){for(var Ve=0;Ve<ue.length;Ve++)x(ue[Ve])})}}var Li=!1;function sh(){Li||(kh(),Li=!0)}function kh(){var x;nn(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,wf(n0)},100))}),nn(window,"blur",function(){return wf(Du)})}function n0(x){var ee=x.display;ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.scrollbarsClipped=!1,x.setSize()}for(var MA={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Of=0;Of<10;Of++)MA[Of+48]=MA[Of+96]=String(Of);for(var lh=65;lh<=90;lh++)MA[lh]=String.fromCharCode(lh);for(var xf=1;xf<=12;xf++)MA[xf+111]=MA[xf+63235]="F"+xf;var Ou={};Ou.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ou.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ou.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ou.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ou.default=Te?Ou.macDefault:Ou.pcDefault;function Cf(x){var ee=x.split(/-(?!$)/);x=ee[ee.length-1];for(var ue,le,me,Ve,mt=0;mt<ee.length-1;mt++){var It=ee[mt];if(/^(cmd|meta|m)$/i.test(It))Ve=!0;else if(/^a(lt)?$/i.test(It))ue=!0;else if(/^(c|ctrl|control)$/i.test(It))le=!0;else if(/^s(hift)?$/i.test(It))me=!0;else throw new Error("Unrecognized modifier name: "+It)}return ue&&(x="Alt-"+x),le&&(x="Ctrl-"+x),Ve&&(x="Cmd-"+x),me&&(x="Shift-"+x),x}function Mh(x){var ee={};for(var ue in x)if(x.hasOwnProperty(ue)){var le=x[ue];if(/^(name|fallthrough|(de|at)tach)$/.test(ue))continue;if(le=="..."){delete x[ue];continue}for(var me=Bn(ue.split(" "),Cf),Ve=0;Ve<me.length;Ve++){var mt=void 0,It=void 0;Ve==me.length-1?(It=me.join(" "),mt=le):(It=me.slice(0,Ve+1).join(" "),mt="...");var Ht=ee[It];if(!Ht)ee[It]=mt;else if(Ht!=mt)throw new Error("Inconsistent bindings for "+It)}delete x[ue]}for(var Jt in ee)x[Jt]=ee[Jt];return x}function _A(x,ee,ue,le){ee=fu(ee);var me=ee.call?ee.call(x,le):ee[x];if(me===!1)return"nothing";if(me==="...")return"multi";if(me!=null&&ue(me))return"handled";if(ee.fallthrough){if(Object.prototype.toString.call(ee.fallthrough)!="[object Array]")return _A(x,ee.fallthrough,ue,le);for(var Ve=0;Ve<ee.fallthrough.length;Ve++){var mt=_A(x,ee.fallthrough[Ve],ue,le);if(mt)return mt}}}function uh(x){var ee=typeof x=="string"?x:MA[x.keyCode];return ee=="Ctrl"||ee=="Alt"||ee=="Shift"||ee=="Mod"}function IA(x,ee,ue){var le=x;return ee.altKey&&le!="Alt"&&(x="Alt-"+x),(qe?ee.metaKey:ee.ctrlKey)&&le!="Ctrl"&&(x="Ctrl-"+x),(qe?ee.ctrlKey:ee.metaKey)&&le!="Mod"&&(x="Cmd-"+x),!ue&&ee.shiftKey&&le!="Shift"&&(x="Shift-"+x),x}function JA(x,ee){if(fe&&x.keyCode==34&&x.char)return!1;var ue=MA[x.keyCode];return ue==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ue=x.code),IA(ue,x,ee))}function fu(x){return typeof x=="string"?Ou[x]:x}function nd(x,ee){for(var ue=x.doc.sel.ranges,le=[],me=0;me<ue.length;me++){for(var Ve=ee(ue[me]);le.length&&Or(Ve.from,Cn(le).to)<=0;){var mt=le.pop();if(Or(mt.from,Ve.from)<0){Ve.from=mt.from;break}}le.push(Ve)}On(x,function(){for(var It=le.length-1;It>=0;It--)XA(x.doc,"",le[It].from,le[It].to,"+delete");Vu(x)})}function Vc(x,ee,ue){var le=et(x.text,ee+ue,ue);return le<0||le>x.text.length?null:le}function qA(x,ee,ue){var le=Vc(x,ee.ch,ue);return le==null?null:new Xn(ee.line,le,ue<0?"after":"before")}function Sl(x,ee,ue,le,me){if(x){ee.doc.direction=="rtl"&&(me=-me);var Ve=Sn(ue,ee.doc.direction);if(Ve){var mt=me<0?Cn(Ve):Ve[0],It=me<0==(mt.level==1),Ht=It?"after":"before",Jt;if(mt.level>0||ee.doc.direction=="rtl"){var zn=Bs(ee,ue);Jt=me<0?ue.text.length-1:0;var tr=fl(ee,zn,Jt).top;Jt=lt(function(ei){return fl(ee,zn,ei).top==tr},me<0==(mt.level==1)?mt.from:mt.to-1,Jt),Ht=="before"&&(Jt=Vc(ue,Jt,1))}else Jt=me<0?mt.to:mt.from;return new Xn(le,Jt,Ht)}}return new Xn(le,me<0?ue.text.length:0,me<0?"before":"after")}function Zl(x,ee,ue,le){var me=Sn(ee,x.doc.direction);if(!me)return qA(ee,ue,le);ue.ch>=ee.text.length?(ue.ch=ee.text.length,ue.sticky="before"):ue.ch<=0&&(ue.ch=0,ue.sticky="after");var Ve=kt(me,ue.ch,ue.sticky),mt=me[Ve];if(x.doc.direction=="ltr"&&mt.level%2==0&&(le>0?mt.to>ue.ch:mt.from<ue.ch))return qA(ee,ue,le);var It=function(yo,ko){return Vc(ee,yo instanceof Xn?yo.ch:yo,ko)},Ht,Jt=function(yo){return x.options.lineWrapping?(Ht=Ht||Bs(x,ee),Hd(x,ee,Ht,yo)):{begin:0,end:ee.text.length}},zn=Jt(ue.sticky=="before"?It(ue,-1):ue.ch);if(x.doc.direction=="rtl"||mt.level==1){var tr=mt.level==1==le<0,ei=It(ue,tr?1:-1);if(ei!=null&&(tr?ei<=mt.to&&ei<=zn.end:ei>=mt.from&&ei>=zn.begin)){var Kr=tr?"before":"after";return new Xn(ue.line,ei,Kr)}}var Ri=function(yo,ko,Ao){for(var Ro=function(zu,pd){return pd?new Xn(ue.line,It(zu,1),"before"):new Xn(ue.line,zu,"after")};yo>=0&&yo<me.length;yo+=ko){var ms=me[yo],ws=ko>0==(ms.level!=1),Rs=ws?Ao.begin:It(Ao.end,-1);if(ms.from<=Rs&&Rs<ms.to||(Rs=ws?ms.from:It(ms.to,-1),Ao.begin<=Rs&&Rs<Ao.end))return Ro(Rs,ws)}},ga=Ri(Ve+le,le,zn);if(ga)return ga;var Ga=le>0?zn.end:It(zn.begin,-1);return Ga!=null&&!(le>0&&Ga==ee.text.length)&&(ga=Ri(le>0?0:me.length-1,le,Jt(Ga)),ga)?ga:null}var Bd={selectAll:Xu,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),St)},killLine:function(x){return nd(x,function(ee){if(ee.empty()){var ue=on(x.doc,ee.head.line).text.length;return ee.head.ch==ue&&ee.head.line<x.lastLine()?{from:ee.head,to:Xn(ee.head.line+1,0)}:{from:ee.head,to:Xn(ee.head.line,ue)}}else return{from:ee.from(),to:ee.to()}})},deleteLine:function(x){return nd(x,function(ee){return{from:Xn(ee.from().line,0),to:si(x.doc,Xn(ee.to().line+1,0))}})},delLineLeft:function(x){return nd(x,function(ee){return{from:Xn(ee.from().line,0),to:ee.from()}})},delWrappedLineLeft:function(x){return nd(x,function(ee){var ue=x.charCoords(ee.head,"div").top+5,le=x.coordsChar({left:0,top:ue},"div");return{from:le,to:ee.from()}})},delWrappedLineRight:function(x){return nd(x,function(ee){var ue=x.charCoords(ee.head,"div").top+5,le=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ue},"div");return{from:ee.from(),to:le}})},undo:function(x){return x.undo()},redo:function(x){return x.redo()},undoSelection:function(x){return x.undoSelection()},redoSelection:function(x){return x.redoSelection()},goDocStart:function(x){return x.extendSelection(Xn(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(Xn(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(ee){return $A(x,ee.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(ee){return _0(x,ee.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(ee){return ef(x,ee.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(ee){var ue=x.cursorCoords(ee.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ue},"div")},cn)},goLineLeft:function(x){return x.extendSelectionsBy(function(ee){var ue=x.cursorCoords(ee.head,"div").top+5;return x.coordsChar({left:0,top:ue},"div")},cn)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(ee){var ue=x.cursorCoords(ee.head,"div").top+5,le=x.coordsChar({left:0,top:ue},"div");return le.ch<x.getLine(le.line).search(/\S/)?_0(x,ee.head):le},cn)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection(" ")},insertSoftTab:function(x){for(var ee=[],ue=x.listSelections(),le=x.options.tabSize,me=0;me<ue.length;me++){var Ve=ue[me].from(),mt=it(x.getLine(Ve.line),Ve.ch,le);ee.push(Ln(le-mt%le))}x.replaceSelections(ee)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return On(x,function(){for(var ee=x.listSelections(),ue=[],le=0;le<ee.length;le++)if(ee[le].empty()){var me=ee[le].head,Ve=on(x.doc,me.line).text;if(Ve){if(me.ch==Ve.length&&(me=new Xn(me.line,me.ch-1)),me.ch>0)me=new Xn(me.line,me.ch+1),x.replaceRange(Ve.charAt(me.ch-1)+Ve.charAt(me.ch-2),Xn(me.line,me.ch-2),me,"+transpose");else if(me.line>x.doc.first){var mt=on(x.doc,me.line-1).text;mt&&(me=new Xn(me.line,1),x.replaceRange(Ve.charAt(0)+x.doc.lineSeparator()+mt.charAt(mt.length-1),Xn(me.line-1,mt.length-1),me,"+transpose"))}}ue.push(new za(me,me))}x.setSelections(ue)})},newlineAndIndent:function(x){return On(x,function(){for(var ee=x.listSelections(),ue=ee.length-1;ue>=0;ue--)x.replaceRange(x.doc.lineSeparator(),ee[ue].anchor,ee[ue].head,"+input");ee=x.listSelections();for(var le=0;le<ee.length;le++)x.indentLine(ee[le].from().line,null,!0);Vu(x)})},openLine:function(x){return x.replaceSelection(`
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function $A(x,ee){var ue=on(x.doc,ee),le=So(ue);return le!=ue&&(ee=pr(le)),Sl(!0,x,le,ee,1)}function ef(x,ee){var ue=on(x.doc,ee),le=Ms(ue);return le!=ue&&(ee=pr(le)),Sl(!0,x,ue,ee,-1)}function _0(x,ee){var ue=$A(x,ee.line),le=on(x.doc,ue.line),me=Sn(le,x.doc.direction);if(!me||me[0].level==0){var Ve=Math.max(ue.ch,le.text.search(/\S/)),mt=ee.line==ue.line&&ee.ch<=Ve&&ee.ch;return Xn(ue.line,mt?0:Ve,ue.sticky)}return ue}function Nc(x,ee,ue){if(typeof ee=="string"&&(ee=Bd[ee],!ee))return!1;x.display.input.ensurePolled();var le=x.display.shift,me=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ue&&(x.display.shift=!1),me=ee(x)!=Vt}finally{x.display.shift=le,x.state.suppressEdits=!1}return me}function LA(x,ee,ue){for(var le=0;le<x.state.keyMaps.length;le++){var me=_A(ee,x.state.keyMaps[le],ue,x);if(me)return me}return x.options.extraKeys&&_A(ee,x.options.extraKeys,ue,x)||_A(ee,x.options.keyMap,ue,x)}var I0=new je;function Bf(x,ee,ue,le){var me=x.state.keySeq;if(me){if(uh(ee))return"handled";if(/\'$/.test(ee)?x.state.keySeq=null:I0.set(50,function(){x.state.keySeq==me&&(x.state.keySeq=null,x.display.input.reset())}),L0(x,me+" "+ee,ue,le))return!0}return L0(x,ee,ue,le)}function L0(x,ee,ue,le){var me=LA(x,ee,le);return me=="multi"&&(x.state.keySeq=ee),me=="handled"&&Hr(x,"keyHandled",x,ee,ue),(me=="handled"||me=="multi")&&(br(ue),xd(x)),!!me}function Vl(x,ee){var ue=JA(ee,!0);return ue?ee.shiftKey&&!x.state.keySeq?Bf(x,"Shift-"+ue,ee,function(le){return Nc(x,le,!0)})||Bf(x,ue,ee,function(le){if(typeof le=="string"?/^go[A-Z]/.test(le):le.motion)return Nc(x,le)}):Bf(x,ue,ee,function(le){return Nc(x,le)}):!1}function _h(x,ee,ue){return Bf(x,"'"+ue+"'",ee,function(le){return Nc(x,le,!0)})}var Sf=null;function Ih(x){var ee=this;if(!(x.target&&x.target!=ee.display.input.getField())&&(ee.curOp.focus=Re(),!Wt(ee,x))){Ne&&Le<11&&x.keyCode==27&&(x.returnValue=!1);var ue=x.keyCode;ee.display.shift=ue==16||x.shiftKey;var le=Vl(ee,x);fe&&(Sf=le?ue:null,!le&&ue==88&&!_n&&(Te?x.metaKey:x.ctrlKey)&&ee.replaceSelection("",null,"cut")),he&&!Te&&!le&&ue==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ue==18&&!/\bCodeMirror-crosshair\b/.test(ee.display.lineDiv.className)&&Ei(ee)}}function Ei(x){var ee=x.display.lineDiv;Rt(ee,"CodeMirror-crosshair");function ue(le){(le.keyCode==18||!le.altKey)&&($e(ee,"CodeMirror-crosshair"),zt(document,"keyup",ue),zt(document,"mouseover",ue))}nn(document,"keyup",ue),nn(document,"mouseover",ue)}function om(x){x.keyCode==16&&(this.doc.sel.shift=!1),Wt(this,x)}function sm(x){var ee=this;if(!(x.target&&x.target!=ee.display.input.getField())&&!(gu(ee.display,x)||Wt(ee,x)||x.ctrlKey&&!x.altKey||Te&&x.metaKey)){var ue=x.keyCode,le=x.charCode;if(fe&&ue==Sf){Sf=null,br(x);return}if(!(fe&&(!x.which||x.which<10)&&Vl(ee,x))){var me=String.fromCharCode(le==null?ue:le);me!="\b"&&(_h(ee,x,me)||ee.display.input.onKeyPress(x))}}}var ap=400,r0=function(x,ee,ue){this.time=x,this.pos=ee,this.button=ue};r0.prototype.compare=function(x,ee,ue){return this.time+ap>x&&Or(ee,this.pos)==0&&ue==this.button};var tf,Tf;function op(x,ee){var ue=+new Date;return Tf&&Tf.compare(ue,x,ee)?(tf=Tf=null,"triple"):tf&&tf.compare(ue,x,ee)?(Tf=new r0(ue,x,ee),tf=null,"double"):(tf=new r0(ue,x,ee),Tf=null,"single")}function rd(x){var ee=this,ue=ee.display;if(!(Wt(ee,x)||ue.activeTouch&&ue.input.supportsTouch())){if(ue.input.ensurePolled(),ue.shift=x.shiftKey,gu(ue,x)){ve||(ue.scroller.draggable=!1,setTimeout(function(){return ue.scroller.draggable=!0},100));return}if(!Wd(ee,x)){var le=hd(ee,x),me=Ar(x),Ve=le?op(le,me):"single";window.focus(),me==1&&ee.state.selectingText&&ee.state.selectingText(x),!(le&&Pf(ee,me,le,Ve,x))&&(me==1?le?D0(ee,le,Ve,x):vr(x)==ue.scroller&&br(x):me==2?(le&&xl(ee.doc,le),setTimeout(function(){return ue.input.focus()},20)):me==3&&(We?ee.display.input.onContextMenu(x):Ld(ee)))}}}function Pf(x,ee,ue,le,me){var Ve="Click";return le=="double"?Ve="Double"+Ve:le=="triple"&&(Ve="Triple"+Ve),Ve=(ee==1?"Left":ee==2?"Middle":"Right")+Ve,Bf(x,IA(Ve,me),me,function(mt){if(typeof mt=="string"&&(mt=Bd[mt]),!mt)return!1;var It=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),It=mt(x,ue)!=Vt}finally{x.state.suppressEdits=!1}return It})}function i0(x,ee,ue){var le=x.getOption("configureMouse"),me=le?le(x,ee,ue):{};if(me.unit==null){var Ve=Pe?ue.shiftKey&&ue.metaKey:ue.altKey;me.unit=Ve?"rectangle":ee=="single"?"char":ee=="double"?"word":"line"}return(me.extend==null||x.doc.extend)&&(me.extend=x.doc.extend||ue.shiftKey),me.addNew==null&&(me.addNew=Te?ue.metaKey:ue.ctrlKey),me.moveOnDrag==null&&(me.moveOnDrag=!(Te?ue.altKey:ue.ctrlKey)),me}function D0(x,ee,ue,le){Ne?setTimeout(Tt(Il,x),0):x.curOp.focus=Re();var me=i0(x,ue,le),Ve=x.doc.sel,mt;x.options.dragDrop&&Tr&&!x.isReadOnly()&&ue=="single"&&(mt=Ve.contains(ee))>-1&&(Or((mt=Ve.ranges[mt]).from(),ee)<0||ee.xRel>0)&&(Or(mt.to(),ee)>0||ee.xRel<0)?N0(x,le,ee,me):sp(x,le,ee,me)}function N0(x,ee,ue,le){var me=x.display,Ve=!1,mt=gr(x,function(Jt){ve&&(me.scroller.draggable=!1),x.state.draggingText=!1,zt(me.wrapper.ownerDocument,"mouseup",mt),zt(me.wrapper.ownerDocument,"mousemove",It),zt(me.scroller,"dragstart",Ht),zt(me.scroller,"drop",mt),Ve||(br(Jt),le.addNew||xl(x.doc,ue,null,null,le.extend),ve&&!ze||Ne&&Le==9?setTimeout(function(){me.wrapper.ownerDocument.body.focus({preventScroll:!0}),me.input.focus()},20):me.input.focus())}),It=function(Jt){Ve=Ve||Math.abs(ee.clientX-Jt.clientX)+Math.abs(ee.clientY-Jt.clientY)>=10},Ht=function(){return Ve=!0};ve&&(me.scroller.draggable=!0),x.state.draggingText=mt,mt.copy=!le.moveOnDrag,me.scroller.dragDrop&&me.scroller.dragDrop(),nn(me.wrapper.ownerDocument,"mouseup",mt),nn(me.wrapper.ownerDocument,"mousemove",It),nn(me.scroller,"dragstart",Ht),nn(me.scroller,"drop",mt),Ld(x),setTimeout(function(){return me.input.focus()},20)}function Lh(x,ee,ue){if(ue=="char")return new za(ee,ee);if(ue=="word")return x.findWordAt(ee);if(ue=="line")return new za(Xn(ee.line,0),si(x.doc,Xn(ee.line+1,0)));var le=ue(x,ee);return new za(le.from,le.to)}function sp(x,ee,ue,le){var me=x.display,Ve=x.doc;br(ee);var mt,It,Ht=Ve.sel,Jt=Ht.ranges;if(le.addNew&&!le.extend?(It=Ve.sel.contains(ue),It>-1?mt=Jt[It]:mt=new za(ue,ue)):(mt=Ve.sel.primary(),It=Ve.sel.primIndex),le.unit=="rectangle")le.addNew||(mt=new za(ue,ue)),ue=hd(x,ee,!0,!0),It=-1;else{var zn=Lh(x,ue,le.unit);le.extend?mt=YA(mt,zn.anchor,zn.head,le.extend):mt=zn}le.addNew?It==-1?(It=Jt.length,$l(Ve,gs(x,Jt.concat([mt]),It),{scroll:!1,origin:"*mouse"})):Jt.length>1&&Jt[It].empty()&&le.unit=="char"&&!le.extend?($l(Ve,gs(x,Jt.slice(0,It).concat(Jt.slice(It+1)),0),{scroll:!1,origin:"*mouse"}),Ht=Ve.sel):Wl(Ve,It,mt,Qt):(It=0,$l(Ve,new as([mt],0),Qt),Ht=Ve.sel);var tr=ue;function ei(Ao){if(Or(tr,Ao)!=0)if(tr=Ao,le.unit=="rectangle"){for(var Ro=[],ms=x.options.tabSize,ws=it(on(Ve,ue.line).text,ue.ch,ms),Rs=it(on(Ve,Ao.line).text,Ao.ch,ms),zu=Math.min(ws,Rs),pd=Math.max(ws,Rs),Sc=Math.min(ue.line,Ao.line),Od=Math.min(x.lastLine(),Math.max(ue.line,Ao.line));Sc<=Od;Sc++){var Sd=on(Ve,Sc).text,cd=Nn(Sd,zu,ms);zu==pd?Ro.push(new za(Xn(Sc,cd),Xn(Sc,cd))):Sd.length>cd&&Ro.push(new za(Xn(Sc,cd),Xn(Sc,Nn(Sd,pd,ms))))}Ro.length||Ro.push(new za(ue,ue)),$l(Ve,gs(x,Ht.ranges.slice(0,It).concat(Ro),It),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Ao)}else{var Zd=mt,rl=Lh(x,Ao,le.unit),uo=Zd.anchor,Ju;Or(rl.anchor,uo)>0?(Ju=rl.head,uo=xi(Zd.from(),rl.anchor)):(Ju=rl.anchor,uo=Zi(Zd.to(),rl.head));var Ec=Ht.ranges.slice(0);Ec[It]=Bp(x,new za(si(Ve,uo),Ju)),$l(Ve,gs(x,Ec,It),Qt)}}var Kr=me.wrapper.getBoundingClientRect(),Ri=0;function ga(Ao){var Ro=++Ri,ms=hd(x,Ao,!0,le.unit=="rectangle");if(ms)if(Or(ms,tr)!=0){x.curOp.focus=Re(),ei(ms);var ws=hl(me,Ve);(ms.line>=ws.to||ms.line<ws.from)&&setTimeout(gr(x,function(){Ri==Ro&&ga(Ao)}),150)}else{var Rs=Ao.clientY<Kr.top?-20:Ao.clientY>Kr.bottom?20:0;Rs&&setTimeout(gr(x,function(){Ri==Ro&&(me.scroller.scrollTop+=Rs,ga(Ao))}),50)}}function Ga(Ao){x.state.selectingText=!1,Ri=1/0,Ao&&(br(Ao),me.input.focus()),zt(me.wrapper.ownerDocument,"mousemove",yo),zt(me.wrapper.ownerDocument,"mouseup",ko),Ve.history.lastSelOrigin=null}var yo=gr(x,function(Ao){Ao.buttons===0||!Ar(Ao)?Ga(Ao):ga(Ao)}),ko=gr(x,Ga);x.state.selectingText=ko,nn(me.wrapper.ownerDocument,"mousemove",yo),nn(me.wrapper.ownerDocument,"mouseup",ko)}function Bp(x,ee){var ue=ee.anchor,le=ee.head,me=on(x.doc,ue.line);if(Or(ue,le)==0&&ue.sticky==le.sticky)return ee;var Ve=Sn(me);if(!Ve)return ee;var mt=kt(Ve,ue.ch,ue.sticky),It=Ve[mt];if(It.from!=ue.ch&&It.to!=ue.ch)return ee;var Ht=mt+(It.from==ue.ch==(It.level!=1)?0:1);if(Ht==0||Ht==Ve.length)return ee;var Jt;if(le.line!=ue.line)Jt=(le.line-ue.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var zn=kt(Ve,le.ch,le.sticky),tr=zn-mt||(le.ch-ue.ch)*(It.level==1?-1:1);zn==Ht-1||zn==Ht?Jt=tr<0:Jt=tr>0}var ei=Ve[Ht+(Jt?-1:0)],Kr=Jt==(ei.level==1),Ri=Kr?ei.from:ei.to,ga=Kr?"after":"before";return ue.ch==Ri&&ue.sticky==ga?ee:new za(new Xn(ue.line,Ri,ga),le)}function O0(x,ee,ue,le){var me,Ve;if(ee.touches)me=ee.touches[0].clientX,Ve=ee.touches[0].clientY;else try{me=ee.clientX,Ve=ee.clientY}catch(ei){return!1}if(me>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;le&&br(ee);var mt=x.display,It=mt.lineDiv.getBoundingClientRect();if(Ve>It.bottom||!xn(x,ue))return jr(ee);Ve-=It.top-mt.viewOffset;for(var Ht=0;Ht<x.display.gutterSpecs.length;++Ht){var Jt=mt.gutters.childNodes[Ht];if(Jt&&Jt.getBoundingClientRect().right>=me){var zn=Gr(x.doc,Ve),tr=x.display.gutterSpecs[Ht];return pt(x,ue,x,zn,tr.className,ee),jr(ee)}}}function Wd(x,ee){return O0(x,ee,"gutterClick",!0)}function Rf(x,ee){gu(x.display,ee)||Dh(x,ee)||Wt(x,ee,"contextmenu")||We||x.display.input.onContextMenu(ee)}function Dh(x,ee){return xn(x,"gutterContextMenu")?O0(x,ee,"gutterContextMenu",!1):!1}function T0(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ds(x)}var Af={toString:function(){return"CodeMirror.Init"}},lm={},lp={};function Hm(x){var ee=x.optionHandlers;function ue(le,me,Ve,mt){x.defaults[le]=me,Ve&&(ee[le]=mt?function(It,Ht,Jt){Jt!=Af&&Ve(It,Ht,Jt)}:Ve)}x.defineOption=ue,x.Init=Af,ue("value","",function(le,me){return le.setValue(me)},!0),ue("mode",null,function(le,me){le.doc.modeOption=me,cc(le)},!0),ue("indentUnit",2,cc,!0),ue("indentWithTabs",!1),ue("smartIndent",!0),ue("tabSize",4,function(le){wl(le),Ds(le),Ru(le)},!0),ue("lineSeparator",null,function(le,me){if(le.doc.lineSep=me,!!me){var Ve=[],mt=le.doc.first;le.doc.iter(function(Ht){for(var Jt=0;;){var zn=Ht.text.indexOf(me,Jt);if(zn==-1)break;Jt=zn+me.length,Ve.push(Xn(mt,zn))}mt++});for(var It=Ve.length-1;It>=0;It--)XA(le.doc,me,Ve[It],Xn(Ve[It].line,Ve[It].ch+me.length))}}),ue("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(le,me,Ve){le.state.specialChars=new RegExp(me.source+(me.test(" ")?"":"| "),"g"),Ve!=Af&&le.refresh()}),ue("specialCharPlaceholder",ru,function(le){return le.refresh()},!0),ue("electricChars",!0),ue("inputStyle",ke?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ue("spellcheck",!1,function(le,me){return le.getInputField().spellcheck=me},!0),ue("autocorrect",!1,function(le,me){return le.getInputField().autocorrect=me},!0),ue("autocapitalize",!1,function(le,me){return le.getInputField().autocapitalize=me},!0),ue("rtlMoveVisually",!Xe),ue("wholeLineUpdateBefore",!0),ue("theme","default",function(le){T0(le),lo(le)},!0),ue("keyMap","default",function(le,me,Ve){var mt=fu(me),It=Ve!=Af&&fu(Ve);It&&It.detach&&It.detach(le,mt),mt.attach&&mt.attach(le,It||null)}),ue("extraKeys",null),ue("configureMouse",null),ue("lineWrapping",!1,Sp,!0),ue("gutters",[],function(le,me){le.display.gutterSpecs=ss(me,le.options.lineNumbers),lo(le)},!0),ue("fixedGutter",!0,function(le,me){le.display.gutters.style.left=me?Hl(le.display)+"px":"0",le.refresh()},!0),ue("coverGutterNextToScrollbar",!1,function(le){return xA(le)},!0),ue("scrollbarStyle","native",function(le){M0(le),xA(le),le.display.scrollbars.setScrollTop(le.doc.scrollTop),le.display.scrollbars.setScrollLeft(le.doc.scrollLeft)},!0),ue("lineNumbers",!1,function(le,me){le.display.gutterSpecs=ss(le.options.gutters,me),lo(le)},!0),ue("firstLineNumber",1,lo,!0),ue("lineNumberFormatter",function(le){return le},lo,!0),ue("showCursorWhenSelecting",!1,tu,!0),ue("resetSelectionOnContextMenu",!0),ue("lineWiseCopyCut",!0),ue("pasteLinesPerSelection",!0),ue("selectionsMayTouch",!1),ue("readOnly",!1,function(le,me){me=="nocursor"&&(Du(le),le.display.input.blur()),le.display.input.readOnlyChanged(me)}),ue("screenReaderLabel",null,function(le,me){me=me===""?null:me,le.display.input.screenReaderLabelChanged(me)}),ue("disableInput",!1,function(le,me){me||le.display.input.reset()},!0),ue("dragDrop",!0,jm),ue("allowDropFileTypes",null),ue("cursorBlinkRate",530),ue("cursorScrollMargin",0),ue("cursorHeight",1,tu,!0),ue("singleCursorHeightPerLine",!0,tu,!0),ue("workTime",100),ue("workDelay",100),ue("flattenSpans",!0,wl,!0),ue("addModeClass",!1,wl,!0),ue("pollInterval",100),ue("undoDepth",200,function(le,me){return le.doc.history.undoDepth=me}),ue("historyEventDelay",1250),ue("viewportMargin",10,function(le){return le.refresh()},!0),ue("maxHighlightLength",1e4,wl,!0),ue("moveInputWithCursor",!0,function(le,me){me||le.display.input.resetPosition()}),ue("tabindex",null,function(le,me){return le.display.input.getField().tabIndex=me||""}),ue("autofocus",null),ue("direction","ltr",function(le,me){return le.doc.setDirection(me)},!0),ue("phrases",null)}function jm(x,ee,ue){var le=ue&&ue!=Af;if(!ee!=!le){var me=x.display.dragFunctions,Ve=ee?nn:zt;Ve(x.display.scroller,"dragstart",me.start),Ve(x.display.scroller,"dragenter",me.enter),Ve(x.display.scroller,"dragover",me.over),Ve(x.display.scroller,"dragleave",me.leave),Ve(x.display.scroller,"drop",me.drop)}}function Sp(x){x.options.lineWrapping?(Rt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):($e(x.display.wrapper,"CodeMirror-wrap"),ra(x)),Ac(x),Ru(x),Ds(x),setTimeout(function(){return xA(x)},100)}function zs(x,ee){var ue=this;if(!(this instanceof zs))return new zs(x,ee);this.options=ee=ee?wt(ee):{},wt(lm,ee,!1);var le=ee.value;typeof le=="string"?le=new pc(le,ee.mode,null,ee.lineSeparator,ee.direction):ee.mode&&(le.modeOption=ee.mode),this.doc=le;var me=new zs.inputStyles[ee.inputStyle](this),Ve=this.display=new Oo(x,le,me,ee);Ve.wrapper.CodeMirror=this,T0(this),ee.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),M0(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new je,keySeq:null,specialChars:null},ee.autofocus&&!ke&&Ve.input.focus(),Ne&&Le<11&&setTimeout(function(){return ue.display.input.reset(!0)},20),um(this),sh(),hc(this),this.curOp.forceUpdate=!0,wo(this,le),ee.autofocus&&!ke||this.hasFocus()?setTimeout(function(){ue.hasFocus()&&!ue.state.focused&&Cl(ue)},20):Du(this);for(var mt in lp)lp.hasOwnProperty(mt)&&lp[mt](this,ee[mt],Af);Fo(this),ee.finishInit&&ee.finishInit(this);for(var It=0;It<up.length;++It)up[It](this);cA(this),ve&&ee.lineWrapping&&getComputedStyle(Ve.lineDiv).textRendering=="optimizelegibility"&&(Ve.lineDiv.style.textRendering="auto")}zs.defaults=lm,zs.optionHandlers=lp;function um(x){var ee=x.display;nn(ee.scroller,"mousedown",gr(x,rd)),Ne&&Le<11?nn(ee.scroller,"dblclick",gr(x,function(Ht){if(!Wt(x,Ht)){var Jt=hd(x,Ht);if(!(!Jt||Wd(x,Ht)||gu(x.display,Ht))){br(Ht);var zn=x.findWordAt(Jt);xl(x.doc,zn.anchor,zn.head)}}})):nn(ee.scroller,"dblclick",function(Ht){return Wt(x,Ht)||br(Ht)}),nn(ee.scroller,"contextmenu",function(Ht){return Rf(x,Ht)}),nn(ee.input.getField(),"contextmenu",function(Ht){ee.scroller.contains(Ht.target)||Rf(x,Ht)});var ue,le={end:0};function me(){ee.activeTouch&&(ue=setTimeout(function(){return ee.activeTouch=null},1e3),le=ee.activeTouch,le.end=+new Date)}function Ve(Ht){if(Ht.touches.length!=1)return!1;var Jt=Ht.touches[0];return Jt.radiusX<=1&&Jt.radiusY<=1}function mt(Ht,Jt){if(Jt.left==null)return!0;var zn=Jt.left-Ht.left,tr=Jt.top-Ht.top;return zn*zn+tr*tr>20*20}nn(ee.scroller,"touchstart",function(Ht){if(!Wt(x,Ht)&&!Ve(Ht)&&!Wd(x,Ht)){ee.input.ensurePolled(),clearTimeout(ue);var Jt=+new Date;ee.activeTouch={start:Jt,moved:!1,prev:Jt-le.end<=300?le:null},Ht.touches.length==1&&(ee.activeTouch.left=Ht.touches[0].pageX,ee.activeTouch.top=Ht.touches[0].pageY)}}),nn(ee.scroller,"touchmove",function(){ee.activeTouch&&(ee.activeTouch.moved=!0)}),nn(ee.scroller,"touchend",function(Ht){var Jt=ee.activeTouch;if(Jt&&!gu(ee,Ht)&&Jt.left!=null&&!Jt.moved&&new Date-Jt.start<300){var zn=x.coordsChar(ee.activeTouch,"page"),tr;!Jt.prev||mt(Jt,Jt.prev)?tr=new za(zn,zn):!Jt.prev.prev||mt(Jt,Jt.prev.prev)?tr=x.findWordAt(zn):tr=new za(Xn(zn.line,0),si(x.doc,Xn(zn.line+1,0))),x.setSelection(tr.anchor,tr.head),x.focus(),br(Ht)}me()}),nn(ee.scroller,"touchcancel",me),nn(ee.scroller,"scroll",function(){ee.scroller.clientHeight&&(xc(x,ee.scroller.scrollTop),uA(x,ee.scroller.scrollLeft,!0),pt(x,"scroll",x))}),nn(ee.scroller,"mousewheel",function(Ht){return tl(x,Ht)}),nn(ee.scroller,"DOMMouseScroll",function(Ht){return tl(x,Ht)}),nn(ee.wrapper,"scroll",function(){return ee.wrapper.scrollTop=ee.wrapper.scrollLeft=0}),ee.dragFunctions={enter:function(Ht){Wt(x,Ht)||Qr(Ht)},over:function(Ht){Wt(x,Ht)||(oh(x,Ht),Qr(Ht))},start:function(Ht){return Df(x,Ht)},drop:gr(x,t0),leave:function(Ht){Wt(x,Ht)||Nf(x)}};var It=ee.input.getField();nn(It,"keyup",function(Ht){return om.call(x,Ht)}),nn(It,"keydown",gr(x,Ih)),nn(It,"keypress",gr(x,sm)),nn(It,"focus",function(Ht){return Cl(x,Ht)}),nn(It,"blur",function(Ht){return Du(x,Ht)})}var up=[];zs.defineInitHook=function(x){return up.push(x)};function TA(x,ee,ue,le){var me=x.doc,Ve;ue==null&&(ue="add"),ue=="smart"&&(me.mode.indent?Ve=Mr(x,ee).state:ue="prev");var mt=x.options.tabSize,It=on(me,ee),Ht=it(It.text,null,mt);It.stateAfter&&(It.stateAfter=null);var Jt=It.text.match(/^\s*/)[0],zn;if(!le&&!/\S/.test(It.text))zn=0,ue="not";else if(ue=="smart"&&(zn=me.mode.indent(Ve,It.text.slice(Jt.length),It.text),zn==Vt||zn>150)){if(!le)return;ue="prev"}ue=="prev"?ee>me.first?zn=it(on(me,ee-1).text,null,mt):zn=0:ue=="add"?zn=Ht+x.options.indentUnit:ue=="subtract"?zn=Ht-x.options.indentUnit:typeof ue=="number"&&(zn=Ht+ue),zn=Math.max(0,zn);var tr="",ei=0;if(x.options.indentWithTabs)for(var Kr=Math.floor(zn/mt);Kr;--Kr)ei+=mt,tr+=" ";if(ei<zn&&(tr+=Ln(zn-ei)),tr!=Jt)return XA(me,tr,Xn(ee,0),Xn(ee,Jt.length),"+input"),It.stateAfter=null,!0;for(var Ri=0;Ri<me.sel.ranges.length;Ri++){var ga=me.sel.ranges[Ri];if(ga.head.line==ee&&ga.head.ch<Jt.length){var Ga=Xn(ee,Jt.length);Wl(me,Ri,new za(Ga,Ga));break}}}var nf=null;function Uf(x){nf=x}function P0(x,ee,ue,le,me){var Ve=x.doc;x.display.shift=!1,le||(le=Ve.sel);var mt=+new Date-200,It=me=="paste"||x.state.pasteIncoming>mt,Ht=pa(ee),Jt=null;if(It&&le.ranges.length>1)if(nf&&nf.text.join(`
`)==ee){if(le.ranges.length%nf.text.length==0){Jt=[];for(var zn=0;zn<nf.text.length;zn++)Jt.push(Ve.splitLines(nf.text[zn]))}}else Ht.length==le.ranges.length&&x.options.pasteLinesPerSelection&&(Jt=Bn(Ht,function(yo){return[yo]}));for(var tr=x.curOp.updateInput,ei=le.ranges.length-1;ei>=0;ei--){var Kr=le.ranges[ei],Ri=Kr.from(),ga=Kr.to();Kr.empty()&&(ue&&ue>0?Ri=Xn(Ri.line,Ri.ch-ue):x.state.overwrite&&!It?ga=Xn(ga.line,Math.min(on(Ve,ga.line).text.length,ga.ch+Cn(Ht).length)):It&&nf&&nf.lineWise&&nf.text.join(`
`)==Ht.join(`
`)&&(Ri=ga=Xn(Ri.line,0)));var Ga={from:Ri,to:ga,text:Jt?Jt[ei%Jt.length]:Ht,origin:me||(It?"paste":x.state.cutIncoming>mt?"cut":"+input")};Nu(x.doc,Ga),Hr(x,"inputRead",x,Ga)}ee&&!It&&a0(x,ee),Vu(x),x.curOp.updateInput<2&&(x.curOp.updateInput=tr),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Nh(x,ee){var ue=x.clipboardData&&x.clipboardData.getData("Text");if(ue)return x.preventDefault(),!ee.isReadOnly()&&!ee.options.disableInput&&On(ee,function(){return P0(ee,ue,0,null,"paste")}),!0}function a0(x,ee){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ue=x.doc.sel,le=ue.ranges.length-1;le>=0;le--){var me=ue.ranges[le];if(!(me.head.ch>100||le&&ue.ranges[le-1].head.line==me.head.line)){var Ve=x.getModeAt(me.head),mt=!1;if(Ve.electricChars){for(var It=0;It<Ve.electricChars.length;It++)if(ee.indexOf(Ve.electricChars.charAt(It))>-1){mt=TA(x,me.head.line,"smart");break}}else Ve.electricInput&&Ve.electricInput.test(on(x.doc,me.head.line).text.slice(0,me.head.ch))&&(mt=TA(x,me.head.line,"smart"));mt&&Hr(x,"electricInput",x,me.head.line)}}}function Oh(x){for(var ee=[],ue=[],le=0;le<x.doc.sel.ranges.length;le++){var me=x.doc.sel.ranges[le].head.line,Ve={anchor:Xn(me,0),head:Xn(me+1,0)};ue.push(Ve),ee.push(x.getRange(Ve.anchor,Ve.head))}return{text:ee,ranges:ue}}function Ep(x,ee,ue,le){x.setAttribute("autocorrect",ue?"":"off"),x.setAttribute("autocapitalize",le?"":"off"),x.setAttribute("spellcheck",!!ee)}function cm(){var x=dt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),ee=dt("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ve?x.style.width="1000px":x.setAttribute("wrap","off"),Oe&&(x.style.border="1px solid black"),Ep(x),ee}function R0(x){var ee=x.optionHandlers,ue=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(le,me){var Ve=this.options,mt=Ve[le];Ve[le]==me&&le!="mode"||(Ve[le]=me,ee.hasOwnProperty(le)&&gr(this,ee[le])(this,me,mt),pt(this,"optionChange",this,le))},getOption:function(le){return this.options[le]},getDoc:function(){return this.doc},addKeyMap:function(le,me){this.state.keyMaps[me?"push":"unshift"](fu(le))},removeKeyMap:function(le){for(var me=this.state.keyMaps,Ve=0;Ve<me.length;++Ve)if(me[Ve]==le||me[Ve].name==le)return me.splice(Ve,1),!0},addOverlay:fr(function(le,me){var Ve=le.token?le:x.getMode(this.options,le);if(Ve.startState)throw new Error("Overlays may not be stateful.");gn(this.state.overlays,{mode:Ve,modeSpec:le,opaque:me&&me.opaque,priority:me&&me.priority||0},function(mt){return mt.priority}),this.state.modeGen++,Ru(this)}),removeOverlay:fr(function(le){for(var me=this.state.overlays,Ve=0;Ve<me.length;++Ve){var mt=me[Ve].modeSpec;if(mt==le||typeof le=="string"&&mt.name==le){me.splice(Ve,1),this.state.modeGen++,Ru(this);return}}}),indentLine:fr(function(le,me,Ve){typeof me!="string"&&typeof me!="number"&&(me==null?me=this.options.smartIndent?"smart":"prev":me=me?"add":"subtract"),Zr(this.doc,le)&&TA(this,le,me,Ve)}),indentSelection:fr(function(le){for(var me=this.doc.sel.ranges,Ve=-1,mt=0;mt<me.length;mt++){var It=me[mt];if(It.empty())It.head.line>Ve&&(TA(this,It.head.line,le,!0),Ve=It.head.line,mt==this.doc.sel.primIndex&&Vu(this));else{var Ht=It.from(),Jt=It.to(),zn=Math.max(Ve,Ht.line);Ve=Math.min(this.lastLine(),Jt.line-(Jt.ch?0:1))+1;for(var tr=zn;tr<Ve;++tr)TA(this,tr,le);var ei=this.doc.sel.ranges;Ht.ch==0&&me.length==ei.length&&ei[mt].from().ch>0&&Wl(this.doc,mt,new za(Ht,ei[mt].to()),St)}}}),getTokenAt:function(le,me){return Oa(this,le,me)},getLineTokens:function(le,me){return Oa(this,Xn(le),me,!0)},getTokenTypeAt:function(le){le=si(this.doc,le);var me=wr(this,on(this.doc,le.line)),Ve=0,mt=(me.length-1)/2,It=le.ch,Ht;if(It==0)Ht=me[2];else for(;;){var Jt=Ve+mt>>1;if((Jt?me[Jt*2-1]:0)>=It)mt=Jt;else if(me[Jt*2+1]<It)Ve=Jt+1;else{Ht=me[Jt*2+2];break}}var zn=Ht?Ht.indexOf("overlay "):-1;return zn<0?Ht:zn==0?null:Ht.slice(0,zn-1)},getModeAt:function(le){var me=this.doc.mode;return me.innerMode?x.innerMode(me,this.getTokenAt(le).state).mode:me},getHelper:function(le,me){return this.getHelpers(le,me)[0]},getHelpers:function(le,me){var Ve=[];if(!ue.hasOwnProperty(me))return Ve;var mt=ue[me],It=this.getModeAt(le);if(typeof It[me]=="string")mt[It[me]]&&Ve.push(mt[It[me]]);else if(It[me])for(var Ht=0;Ht<It[me].length;Ht++){var Jt=mt[It[me][Ht]];Jt&&Ve.push(Jt)}else It.helperType&&mt[It.helperType]?Ve.push(mt[It.helperType]):mt[It.name]&&Ve.push(mt[It.name]);for(var zn=0;zn<mt._global.length;zn++){var tr=mt._global[zn];tr.pred(It,this)&&at(Ve,tr.val)==-1&&Ve.push(tr.val)}return Ve},getStateAfter:function(le,me){var Ve=this.doc;return le=Ca(Ve,le==null?Ve.first+Ve.size-1:le),Mr(this,le+1,me).state},cursorCoords:function(le,me){var Ve,mt=this.doc.sel.primary();return le==null?Ve=mt.head:typeof le=="object"?Ve=si(this.doc,le):Ve=le?mt.from():mt.to(),oc(this,Ve,me||"page")},charCoords:function(le,me){return Fu(this,si(this.doc,le),me||"page")},coordsChar:function(le,me){return le=ad(this,le,me||"page"),Kl(this,le.left,le.top)},lineAtHeight:function(le,me){return le=ad(this,{top:le,left:0},me||"page").top,Gr(this.doc,le+this.display.viewOffset)},heightAtLine:function(le,me,Ve){var mt=!1,It;if(typeof le=="number"){var Ht=this.doc.first+this.doc.size-1;le<this.doc.first?le=this.doc.first:le>Ht&&(le=Ht,mt=!0),It=on(this.doc,le)}else It=le;return ac(this,It,{top:0,left:0},me||"page",Ve||mt).top+(mt?this.doc.height-ma(It):0)},defaultTextHeight:function(){return Id(this.display)},defaultCharWidth:function(){return yl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(le,me,Ve,mt,It){var Ht=this.display;le=oc(this,si(this.doc,le));var Jt=le.bottom,zn=le.left;if(me.style.position="absolute",me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(me),Ht.sizer.appendChild(me),mt=="over")Jt=le.top;else if(mt=="above"||mt=="near"){var tr=Math.max(Ht.wrapper.clientHeight,this.doc.height),ei=Math.max(Ht.sizer.clientWidth,Ht.lineSpace.clientWidth);(mt=="above"||le.bottom+me.offsetHeight>tr)&&le.top>me.offsetHeight?Jt=le.top-me.offsetHeight:le.bottom+me.offsetHeight<=tr&&(Jt=le.bottom),zn+me.offsetWidth>ei&&(zn=ei-me.offsetWidth)}me.style.top=Jt+"px",me.style.left=me.style.right="",It=="right"?(zn=Ht.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(It=="left"?zn=0:It=="middle"&&(zn=(Ht.sizer.clientWidth-me.offsetWidth)/2),me.style.left=zn+"px"),Ve&&_c(this,{left:zn,top:Jt,right:zn+me.offsetWidth,bottom:Jt+me.offsetHeight})},triggerOnKeyDown:fr(Ih),triggerOnKeyPress:fr(sm),triggerOnKeyUp:om,triggerOnMouseDown:fr(rd),execCommand:function(le){if(Bd.hasOwnProperty(le))return Bd[le].call(null,this)},triggerElectric:fr(function(le){a0(this,le)}),findPosH:function(le,me,Ve,mt){var It=1;me<0&&(It=-1,me=-me);for(var Ht=si(this.doc,le),Jt=0;Jt<me&&(Ht=o0(this.doc,Ht,It,Ve,mt),!Ht.hitSide);++Jt);return Ht},moveH:fr(function(le,me){var Ve=this;this.extendSelectionsBy(function(mt){return Ve.display.shift||Ve.doc.extend||mt.empty()?o0(Ve.doc,mt.head,le,me,Ve.options.rtlMoveVisually):le<0?mt.from():mt.to()},cn)}),deleteH:fr(function(le,me){var Ve=this.doc.sel,mt=this.doc;Ve.somethingSelected()?mt.replaceSelection("",null,"+delete"):nd(this,function(It){var Ht=o0(mt,It.head,le,me,!1);return le<0?{from:Ht,to:It.head}:{from:It.head,to:Ht}})}),findPosV:function(le,me,Ve,mt){var It=1,Ht=mt;me<0&&(It=-1,me=-me);for(var Jt=si(this.doc,le),zn=0;zn<me;++zn){var tr=oc(this,Jt,"div");if(Ht==null?Ht=tr.left:tr.left=Ht,Jt=dm(this,tr,It,Ve),Jt.hitSide)break}return Jt},moveV:fr(function(le,me){var Ve=this,mt=this.doc,It=[],Ht=!this.display.shift&&!mt.extend&&mt.sel.somethingSelected();if(mt.extendSelectionsBy(function(zn){if(Ht)return le<0?zn.from():zn.to();var tr=oc(Ve,zn.head,"div");zn.goalColumn!=null&&(tr.left=zn.goalColumn),It.push(tr.left);var ei=dm(Ve,tr,le,me);return me=="page"&&zn==mt.sel.primary()&&Wc(Ve,Fu(Ve,ei,"div").top-tr.top),ei},cn),It.length)for(var Jt=0;Jt<mt.sel.ranges.length;Jt++)mt.sel.ranges[Jt].goalColumn=It[Jt]}),findWordAt:function(le){var me=this.doc,Ve=on(me,le.line).text,mt=le.ch,It=le.ch;if(Ve){var Ht=this.getHelper(le,"wordChars");(le.sticky=="before"||It==Ve.length)&&mt?--mt:++It;for(var Jt=Ve.charAt(mt),zn=se(Jt,Ht)?function(tr){return se(tr,Ht)}:/\s/.test(Jt)?function(tr){return/\s/.test(tr)}:function(tr){return!/\s/.test(tr)&&!se(tr)};mt>0&&zn(Ve.charAt(mt-1));)--mt;for(;It<Ve.length&&zn(Ve.charAt(It));)++It}return new za(Xn(le.line,mt),Xn(le.line,It))},toggleOverwrite:function(le){le!=null&&le==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Rt(this.display.cursorDiv,"CodeMirror-overwrite"):$e(this.display.cursorDiv,"CodeMirror-overwrite"),pt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Re()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:fr(function(le,me){jd(this,le,me)}),getScrollInfo:function(){var le=this.display.scroller;return{left:le.scrollLeft,top:le.scrollTop,height:le.scrollHeight-Eu(this)-this.display.barHeight,width:le.scrollWidth-Eu(this)-this.display.barWidth,clientHeight:Qo(this),clientWidth:mo(this)}},scrollIntoView:fr(function(le,me){le==null?(le={from:this.doc.sel.primary().head,to:null},me==null&&(me=this.options.cursorScrollMargin)):typeof le=="number"?le={from:Xn(le,0),to:null}:le.from==null&&(le={from:le,to:null}),le.to||(le.to=le.from),le.margin=me||0,le.from.line!=null?Sh(this,le):Dd(this,le.from,le.to,le.margin)}),setSize:fr(function(le,me){var Ve=this,mt=function(Ht){return typeof Ht=="number"||/^\d+$/.test(String(Ht))?Ht+"px":Ht};le!=null&&(this.display.wrapper.style.width=mt(le)),me!=null&&(this.display.wrapper.style.height=mt(me)),this.options.lineWrapping&&bs(this);var It=this.display.viewFrom;this.doc.iter(It,this.display.viewTo,function(Ht){if(Ht.widgets){for(var Jt=0;Jt<Ht.widgets.length;Jt++)if(Ht.widgets[Jt].noHScroll){Aa(Ve,It,"widget");break}}++It}),this.curOp.forceUpdate=!0,pt(this,"refresh",this)}),operation:function(le){return On(this,le)},startOperation:function(){return hc(this)},endOperation:function(){return cA(this)},refresh:fr(function(){var le=this.display.cachedTextHeight;Ru(this),this.curOp.forceUpdate=!0,Ds(this),jd(this,this.doc.scrollLeft,this.doc.scrollTop),$a(this.display),(le==null||Math.abs(le-Id(this.display))>.5||this.options.lineWrapping)&&Ac(this),pt(this,"refresh",this)}),swapDoc:fr(function(le){var me=this.doc;return me.cm=null,this.state.selectingText&&this.state.selectingText(),wo(this,le),Ds(this),this.display.input.reset(),jd(this,le.scrollLeft,le.scrollTop),this.curOp.forceScroll=!0,Hr(this,"swapDoc",this,me),me}),phrase:function(le){var me=this.options.phrases;return me&&Object.prototype.hasOwnProperty.call(me,le)?me[le]:le},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Wn(x),x.registerHelper=function(le,me,Ve){ue.hasOwnProperty(le)||(ue[le]=x[le]={_global:[]}),ue[le][me]=Ve},x.registerGlobalHelper=function(le,me,Ve,mt){x.registerHelper(le,me,mt),ue[le]._global.push({pred:Ve,val:mt})}}function o0(x,ee,ue,le,me){var Ve=ee,mt=ue,It=on(x,ee.line),Ht=me&&x.direction=="rtl"?-ue:ue;function Jt(){var ko=ee.line+Ht;return ko<x.first||ko>=x.first+x.size?!1:(ee=new Xn(ko,ee.ch,ee.sticky),It=on(x,ko))}function zn(ko){var Ao;if(le=="codepoint"){var Ro=It.text.charCodeAt(ee.ch+(le>0?0:-1));isNaN(Ro)?Ao=null:Ao=new Xn(ee.line,Math.max(0,Math.min(It.text.length,ee.ch+ue*(Ro>=55296&&Ro<56320?2:1))),-ue)}else me?Ao=Zl(x.cm,It,ee,ue):Ao=qA(It,ee,ue);if(Ao==null)if(!ko&&Jt())ee=Sl(me,x.cm,It,ee.line,Ht);else return!1;else ee=Ao;return!0}if(le=="char"||le=="codepoint")zn();else if(le=="column")zn(!0);else if(le=="word"||le=="group")for(var tr=null,ei=le=="group",Kr=x.cm&&x.cm.getHelper(ee,"wordChars"),Ri=!0;!(ue<0&&!zn(!Ri));Ri=!1){var ga=It.text.charAt(ee.ch)||`
`,Ga=se(ga,Kr)?"w":ei&&ga==`
`?"n":!ei||/\s/.test(ga)?null:"p";if(ei&&!Ri&&!Ga&&(Ga="s"),tr&&tr!=Ga){ue<0&&(ue=1,zn(),ee.sticky="after");break}if(Ga&&(tr=Ga),ue>0&&!zn(!Ri))break}var yo=CA(x,ee,Ve,mt,!0);return ki(Ve,yo)&&(yo.hitSide=!0),yo}function dm(x,ee,ue,le){var me=x.doc,Ve=ee.left,mt;if(le=="page"){var It=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ht=Math.max(It-.5*Id(x.display),3);mt=(ue>0?ee.bottom:ee.top)+ue*Ht}else le=="line"&&(mt=ue>0?ee.bottom+3:ee.top-3);for(var Jt;Jt=Kl(x,Ve,mt),!!Jt.outside;){if(ue<0?mt<=0:mt>=me.height){Jt.hitSide=!0;break}mt+=ue*5}return Jt}var Qu=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new je,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Qu.prototype.init=function(x){var ee=this,ue=this,le=ue.cm,me=ue.div=x.lineDiv;Ep(me,le.options.spellcheck,le.options.autocorrect,le.options.autocapitalize);function Ve(It){for(var Ht=It.target;Ht;Ht=Ht.parentNode){if(Ht==me)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ht.className))break}return!1}nn(me,"paste",function(It){!Ve(It)||Wt(le,It)||Nh(It,le)||Le<=11&&setTimeout(gr(le,function(){return ee.updateFromDOM()}),20)}),nn(me,"compositionstart",function(It){ee.composing={data:It.data,done:!1}}),nn(me,"compositionupdate",function(It){ee.composing||(ee.composing={data:It.data,done:!1})}),nn(me,"compositionend",function(It){ee.composing&&(It.data!=ee.composing.data&&ee.readFromDOMSoon(),ee.composing.done=!0)}),nn(me,"touchstart",function(){return ue.forceCompositionEnd()}),nn(me,"input",function(){ee.composing||ee.readFromDOMSoon()});function mt(It){if(!(!Ve(It)||Wt(le,It))){if(le.somethingSelected())Uf({lineWise:!1,text:le.getSelections()}),It.type=="cut"&&le.replaceSelection("",null,"cut");else if(le.options.lineWiseCopyCut){var Ht=Oh(le);Uf({lineWise:!0,text:Ht.text}),It.type=="cut"&&le.operation(function(){le.setSelections(Ht.ranges,0,St),le.replaceSelection("",null,"cut")})}else return;if(It.clipboardData){It.clipboardData.clearData();var Jt=nf.text.join(`
`);if(It.clipboardData.setData("Text",Jt),It.clipboardData.getData("Text")==Jt){It.preventDefault();return}}var zn=cm(),tr=zn.firstChild;le.display.lineSpace.insertBefore(zn,le.display.lineSpace.firstChild),tr.value=nf.text.join(`
`);var ei=document.activeElement;bt(tr),setTimeout(function(){le.display.lineSpace.removeChild(zn),ei.focus(),ei==me&&ue.showPrimarySelection()},50)}}nn(me,"copy",mt),nn(me,"cut",mt)},Qu.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Qu.prototype.prepareSelection=function(){var x=lc(this.cm,!1);return x.focus=document.activeElement==this.div,x},Qu.prototype.showSelection=function(x,ee){!x||!this.cm.display.view.length||((x.focus||ee)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Qu.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Qu.prototype.showPrimarySelection=function(){var x=this.getSelection(),ee=this.cm,ue=ee.doc.sel.primary(),le=ue.from(),me=ue.to();if(ee.display.viewTo==ee.display.viewFrom||le.line>=ee.display.viewTo||me.line<ee.display.viewFrom){x.removeAllRanges();return}var Ve=Ef(ee,x.anchorNode,x.anchorOffset),mt=Ef(ee,x.focusNode,x.focusOffset);if(!(Ve&&!Ve.bad&&mt&&!mt.bad&&Or(xi(Ve,mt),le)==0&&Or(Zi(Ve,mt),me)==0)){var It=ee.display.view,Ht=le.line>=ee.display.viewFrom&&ch(ee,le)||{node:It[0].measure.map[2],offset:0},Jt=me.line<ee.display.viewTo&&ch(ee,me);if(!Jt){var zn=It[It.length-1].measure,tr=zn.maps?zn.maps[zn.maps.length-1]:zn.map;Jt={node:tr[tr.length-1],offset:tr[tr.length-2]-tr[tr.length-3]}}if(!Ht||!Jt){x.removeAllRanges();return}var ei=x.rangeCount&&x.getRangeAt(0),Kr;try{Kr=Je(Ht.node,Ht.offset,Jt.offset,Jt.node)}catch(Ri){}Kr&&(!he&&ee.state.focused?(x.collapse(Ht.node,Ht.offset),Kr.collapsed||(x.removeAllRanges(),x.addRange(Kr))):(x.removeAllRanges(),x.addRange(Kr)),ei&&x.anchorNode==null?x.addRange(ei):he&&this.startGracePeriod()),this.rememberSelection()}},Qu.prototype.startGracePeriod=function(){var x=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){x.gracePeriod=!1,x.selectionChanged()&&x.cm.operation(function(){return x.cm.curOp.selectionChanged=!0})},20)},Qu.prototype.showMultipleSelections=function(x){ht(this.cm.display.cursorDiv,x.cursors),ht(this.cm.display.selectionDiv,x.selection)},Qu.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},Qu.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var ee=x.getRangeAt(0).commonAncestorContainer;return Lt(this.div,ee)},Qu.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Qu.prototype.blur=function(){this.div.blur()},Qu.prototype.getField=function(){return this.div},Qu.prototype.supportsTouch=function(){return!0},Qu.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():On(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function ee(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,ee))}this.polling.set(this.cm.options.pollInterval,ee)},Qu.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},Qu.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),ee=this.cm;if(He&&we&&this.cm.display.gutterSpecs.length&&Qm(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ue=Ef(ee,x.anchorNode,x.anchorOffset),le=Ef(ee,x.focusNode,x.focusOffset);ue&&le&&On(ee,function(){$l(ee.doc,Ns(ue,le),St),(ue.bad||le.bad)&&(ee.curOp.selectionChanged=!0)})}}},Qu.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,ee=x.display,ue=x.doc.sel.primary(),le=ue.from(),me=ue.to();if(le.ch==0&&le.line>x.firstLine()&&(le=Xn(le.line-1,on(x.doc,le.line-1).length)),me.ch==on(x.doc,me.line).text.length&&me.line<x.lastLine()&&(me=Xn(me.line+1,0)),le.line<ee.viewFrom||me.line>ee.viewTo-1)return!1;var Ve,mt,It;le.line==ee.viewFrom||(Ve=Tc(x,le.line))==0?(mt=pr(ee.view[0].line),It=ee.view[0].node):(mt=pr(ee.view[Ve].line),It=ee.view[Ve-1].node.nextSibling);var Ht=Tc(x,me.line),Jt,zn;if(Ht==ee.view.length-1?(Jt=ee.viewTo-1,zn=ee.lineDiv.lastChild):(Jt=pr(ee.view[Ht+1].line)-1,zn=ee.view[Ht+1].node.previousSibling),!It)return!1;for(var tr=x.doc.splitLines(dh(x,It,zn,mt,Jt)),ei=Mn(x.doc,Xn(mt,0),Xn(Jt,on(x.doc,Jt).text.length));tr.length>1&&ei.length>1;)if(Cn(tr)==Cn(ei))tr.pop(),ei.pop(),Jt--;else if(tr[0]==ei[0])tr.shift(),ei.shift(),mt++;else break;for(var Kr=0,Ri=0,ga=tr[0],Ga=ei[0],yo=Math.min(ga.length,Ga.length);Kr<yo&&ga.charCodeAt(Kr)==Ga.charCodeAt(Kr);)++Kr;for(var ko=Cn(tr),Ao=Cn(ei),Ro=Math.min(ko.length-(tr.length==1?Kr:0),Ao.length-(ei.length==1?Kr:0));Ri<Ro&&ko.charCodeAt(ko.length-Ri-1)==Ao.charCodeAt(Ao.length-Ri-1);)++Ri;if(tr.length==1&&ei.length==1&&mt==le.line)for(;Kr&&Kr>le.ch&&ko.charCodeAt(ko.length-Ri-1)==Ao.charCodeAt(Ao.length-Ri-1);)Kr--,Ri++;tr[tr.length-1]=ko.slice(0,ko.length-Ri).replace(/^\u200b+/,""),tr[0]=tr[0].slice(Kr).replace(/\u200b+$/,"");var ms=Xn(mt,Kr),ws=Xn(Jt,ei.length?Cn(ei).length-Ri:0);if(tr.length>1||tr[0]||Or(ms,ws))return XA(x.doc,tr,ms,ws,"+input"),!0},Qu.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qu.prototype.reset=function(){this.forceCompositionEnd()},Qu.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qu.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},Qu.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&On(this.cm,function(){return Ru(x.cm)})},Qu.prototype.setUneditable=function(x){x.contentEditable="false"},Qu.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||gr(this.cm,P0)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Qu.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Qu.prototype.onContextMenu=function(){},Qu.prototype.resetPosition=function(){},Qu.prototype.needsContentAttribute=!0;function ch(x,ee){var ue=vu(x,ee.line);if(!ue||ue.hidden)return null;var le=on(x.doc,ee.line),me=el(ue,le,ee.line),Ve=Sn(le,x.doc.direction),mt="left";if(Ve){var It=kt(Ve,ee.ch);mt=It%2?"right":"left"}var Ht=qa(me.map,ee.ch,mt);return Ht.offset=Ht.collapse=="right"?Ht.end:Ht.start,Ht}function Qm(x){for(var ee=x;ee;ee=ee.parentNode)if(/CodeMirror-gutter-wrapper/.test(ee.className))return!0;return!1}function mc(x,ee){return ee&&(x.bad=!0),x}function dh(x,ee,ue,le,me){var Ve="",mt=!1,It=x.doc.lineSeparator(),Ht=!1;function Jt(Kr){return function(Ri){return Ri.id==Kr}}function zn(){mt&&(Ve+=It,Ht&&(Ve+=It),mt=Ht=!1)}function tr(Kr){Kr&&(zn(),Ve+=Kr)}function ei(Kr){if(Kr.nodeType==1){var Ri=Kr.getAttribute("cm-text");if(Ri){tr(Ri);return}var ga=Kr.getAttribute("cm-marker"),Ga;if(ga){var yo=x.findMarks(Xn(le,0),Xn(me+1,0),Jt(+ga));yo.length&&(Ga=yo[0].find(0))&&tr(Mn(x.doc,Ga.from,Ga.to).join(It));return}if(Kr.getAttribute("contenteditable")=="false")return;var ko=/^(pre|div|p|li|table|br)$/i.test(Kr.nodeName);if(!/^br$/i.test(Kr.nodeName)&&Kr.textContent.length==0)return;ko&&zn();for(var Ao=0;Ao<Kr.childNodes.length;Ao++)ei(Kr.childNodes[Ao]);/^(pre|p)$/i.test(Kr.nodeName)&&(Ht=!0),ko&&(mt=!0)}else Kr.nodeType==3&&tr(Kr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;ei(ee),ee!=ue;)ee=ee.nextSibling,Ht=!1;return Ve}function Ef(x,ee,ue){var le;if(ee==x.display.lineDiv){if(le=x.display.lineDiv.childNodes[ue],!le)return mc(x.clipPos(Xn(x.display.viewTo-1)),!0);ee=null,ue=0}else for(le=ee;;le=le.parentNode){if(!le||le==x.display.lineDiv)return null;if(le.parentNode&&le.parentNode==x.display.lineDiv)break}for(var me=0;me<x.display.view.length;me++){var Ve=x.display.view[me];if(Ve.node==le)return Hf(Ve,ee,ue)}}function Hf(x,ee,ue){var le=x.text.firstChild,me=!1;if(!ee||!Lt(le,ee))return mc(Xn(pr(x.line),0),!0);if(ee==le&&(me=!0,ee=le.childNodes[ue],ue=0,!ee)){var Ve=x.rest?Cn(x.rest):x.line;return mc(Xn(pr(Ve),Ve.text.length),me)}var mt=ee.nodeType==3?ee:null,It=ee;for(!mt&&ee.childNodes.length==1&&ee.firstChild.nodeType==3&&(mt=ee.firstChild,ue&&(ue=mt.nodeValue.length));It.parentNode!=le;)It=It.parentNode;var Ht=x.measure,Jt=Ht.maps;function zn(Ga,yo,ko){for(var Ao=-1;Ao<(Jt?Jt.length:0);Ao++)for(var Ro=Ao<0?Ht.map:Jt[Ao],ms=0;ms<Ro.length;ms+=3){var ws=Ro[ms+2];if(ws==Ga||ws==yo){var Rs=pr(Ao<0?x.line:x.rest[Ao]),zu=Ro[ms]+ko;return(ko<0||ws!=Ga)&&(zu=Ro[ms+(ko?1:0)]),Xn(Rs,zu)}}}var tr=zn(mt,It,ue);if(tr)return mc(tr,me);for(var ei=It.nextSibling,Kr=mt?mt.nodeValue.length-ue:0;ei;ei=ei.nextSibling){if(tr=zn(ei,ei.firstChild,0),tr)return mc(Xn(tr.line,tr.ch-Kr),me);Kr+=ei.textContent.length}for(var Ri=It.previousSibling,ga=ue;Ri;Ri=Ri.previousSibling){if(tr=zn(Ri,Ri.firstChild,-1),tr)return mc(Xn(tr.line,tr.ch+ga),me);ga+=Ri.textContent.length}}var su=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new je,this.hasSelection=!1,this.composing=null};su.prototype.init=function(x){var ee=this,ue=this,le=this.cm;this.createField(x);var me=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),Oe&&(me.style.width="0px"),nn(me,"input",function(){Ne&&Le>=9&&ee.hasSelection&&(ee.hasSelection=null),ue.poll()}),nn(me,"paste",function(mt){Wt(le,mt)||Nh(mt,le)||(le.state.pasteIncoming=+new Date,ue.fastPoll())});function Ve(mt){if(!Wt(le,mt)){if(le.somethingSelected())Uf({lineWise:!1,text:le.getSelections()});else if(le.options.lineWiseCopyCut){var It=Oh(le);Uf({lineWise:!0,text:It.text}),mt.type=="cut"?le.setSelections(It.ranges,null,St):(ue.prevInput="",me.value=It.text.join(`
`),bt(me))}else return;mt.type=="cut"&&(le.state.cutIncoming=+new Date)}}nn(me,"cut",Ve),nn(me,"copy",Ve),nn(x.scroller,"paste",function(mt){if(!(gu(x,mt)||Wt(le,mt))){if(!me.dispatchEvent){le.state.pasteIncoming=+new Date,ue.focus();return}var It=new Event("paste");It.clipboardData=mt.clipboardData,me.dispatchEvent(It)}}),nn(x.lineSpace,"selectstart",function(mt){gu(x,mt)||br(mt)}),nn(me,"compositionstart",function(){var mt=le.getCursor("from");ue.composing&&ue.composing.range.clear(),ue.composing={start:mt,range:le.markText(mt,le.getCursor("to"),{className:"CodeMirror-composing"})}}),nn(me,"compositionend",function(){ue.composing&&(ue.poll(),ue.composing.range.clear(),ue.composing=null)})},su.prototype.createField=function(x){this.wrapper=cm(),this.textarea=this.wrapper.firstChild},su.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},su.prototype.prepareSelection=function(){var x=this.cm,ee=x.display,ue=x.doc,le=lc(x);if(x.options.moveInputWithCursor){var me=oc(x,ue.sel.primary().head,"div"),Ve=ee.wrapper.getBoundingClientRect(),mt=ee.lineDiv.getBoundingClientRect();le.teTop=Math.max(0,Math.min(ee.wrapper.clientHeight-10,me.top+mt.top-Ve.top)),le.teLeft=Math.max(0,Math.min(ee.wrapper.clientWidth-10,me.left+mt.left-Ve.left))}return le},su.prototype.showSelection=function(x){var ee=this.cm,ue=ee.display;ht(ue.cursorDiv,x.cursors),ht(ue.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},su.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var ee=this.cm;if(ee.somethingSelected()){this.prevInput="";var ue=ee.getSelection();this.textarea.value=ue,ee.state.focused&&bt(this.textarea),Ne&&Le>=9&&(this.hasSelection=ue)}else x||(this.prevInput=this.textarea.value="",Ne&&Le>=9&&(this.hasSelection=null))}},su.prototype.getField=function(){return this.textarea},su.prototype.supportsTouch=function(){return!1},su.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ke||Re()!=this.textarea))try{this.textarea.focus()}catch(x){}},su.prototype.blur=function(){this.textarea.blur()},su.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},su.prototype.receivedFocus=function(){this.slowPoll()},su.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},su.prototype.fastPoll=function(){var x=!1,ee=this;ee.pollingFast=!0;function ue(){var le=ee.poll();!le&&!x?(x=!0,ee.polling.set(60,ue)):(ee.pollingFast=!1,ee.slowPoll())}ee.polling.set(20,ue)},su.prototype.poll=function(){var x=this,ee=this.cm,ue=this.textarea,le=this.prevInput;if(this.contextMenuPending||!ee.state.focused||Dr(ue)&&!le&&!this.composing||ee.isReadOnly()||ee.options.disableInput||ee.state.keySeq)return!1;var me=ue.value;if(me==le&&!ee.somethingSelected())return!1;if(Ne&&Le>=9&&this.hasSelection===me||Te&&/[\uf700-\uf7ff]/.test(me))return ee.display.input.reset(),!1;if(ee.doc.sel==ee.display.selForContextMenu){var Ve=me.charCodeAt(0);if(Ve==8203&&!le&&(le="\u200B"),Ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,It=Math.min(le.length,me.length);mt<It&&le.charCodeAt(mt)==me.charCodeAt(mt);)++mt;return On(ee,function(){P0(ee,me.slice(mt),le.length-mt,null,x.composing?"*compose":null),me.length>1e3||me.indexOf(`
`)>-1?ue.value=x.prevInput="":x.prevInput=me,x.composing&&(x.composing.range.clear(),x.composing.range=ee.markText(x.composing.start,ee.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},su.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},su.prototype.onKeyPress=function(){Ne&&Le>=9&&(this.hasSelection=null),this.fastPoll()},su.prototype.onContextMenu=function(x){var ee=this,ue=ee.cm,le=ue.display,me=ee.textarea;ee.contextMenuPending&&ee.contextMenuPending();var Ve=hd(ue,x),mt=le.scroller.scrollTop;if(!Ve||fe)return;var It=ue.options.resetSelectionOnContextMenu;It&&ue.doc.sel.contains(Ve)==-1&&gr(ue,$l)(ue.doc,Ns(Ve),St);var Ht=me.style.cssText,Jt=ee.wrapper.style.cssText,zn=ee.wrapper.offsetParent.getBoundingClientRect();ee.wrapper.style.cssText="position: static",me.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(x.clientY-zn.top-5)+"px; left: "+(x.clientX-zn.left-5)+`px;
z-index: 1000; background: `+(Ne?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var tr;ve&&(tr=window.scrollY),le.input.focus(),ve&&window.scrollTo(null,tr),le.input.reset(),ue.somethingSelected()||(me.value=ee.prevInput=" "),ee.contextMenuPending=Kr,le.selForContextMenu=ue.doc.sel,clearTimeout(le.detectingSelectAll);function ei(){if(me.selectionStart!=null){var ga=ue.somethingSelected(),Ga="\u200B"+(ga?me.value:"");me.value="\u21DA",me.value=Ga,ee.prevInput=ga?"":"\u200B",me.selectionStart=1,me.selectionEnd=Ga.length,le.selForContextMenu=ue.doc.sel}}function Kr(){if(ee.contextMenuPending==Kr&&(ee.contextMenuPending=!1,ee.wrapper.style.cssText=Jt,me.style.cssText=Ht,Ne&&Le<9&&le.scrollbars.setScrollTop(le.scroller.scrollTop=mt),me.selectionStart!=null)){(!Ne||Ne&&Le<9)&&ei();var ga=0,Ga=function(){le.selForContextMenu==ue.doc.sel&&me.selectionStart==0&&me.selectionEnd>0&&ee.prevInput=="\u200B"?gr(ue,Xu)(ue):ga++<10?le.detectingSelectAll=setTimeout(Ga,500):(le.selForContextMenu=null,le.input.reset())};le.detectingSelectAll=setTimeout(Ga,200)}}if(Ne&&Le>=9&&ei(),We){Qr(x);var Ri=function(){zt(window,"mouseup",Ri),setTimeout(Kr,20)};nn(window,"mouseup",Ri)}else setTimeout(Kr,50)},su.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},su.prototype.setUneditable=function(){},su.prototype.needsContentAttribute=!1;function ff(x,ee){if(ee=ee?wt(ee):{},ee.value=x.value,!ee.tabindex&&x.tabIndex&&(ee.tabindex=x.tabIndex),!ee.placeholder&&x.placeholder&&(ee.placeholder=x.placeholder),ee.autofocus==null){var ue=Re();ee.autofocus=ue==x||x.getAttribute("autofocus")!=null&&ue==document.body}function le(){x.value=It.getValue()}var me;if(x.form&&(nn(x.form,"submit",le),!ee.leaveSubmitMethodAlone)){var Ve=x.form;me=Ve.submit;try{var mt=Ve.submit=function(){le(),Ve.submit=me,Ve.submit(),Ve.submit=mt}}catch(Ht){}}ee.finishInit=function(Ht){Ht.save=le,Ht.getTextArea=function(){return x},Ht.toTextArea=function(){Ht.toTextArea=isNaN,le(),x.parentNode.removeChild(Ht.getWrapperElement()),x.style.display="",x.form&&(zt(x.form,"submit",le),!ee.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=me))}},x.style.display="none";var It=zs(function(Ht){return x.parentNode.insertBefore(Ht,x.nextSibling)},ee);return It}function DA(x){x.off=zt,x.on=nn,x.wheelEventPixels=is,x.Doc=pc,x.splitLines=pa,x.countColumn=it,x.findColumn=Nn,x.isWordChar=ae,x.Pass=Vt,x.signal=pt,x.Line=ua,x.changeEnd=jl,x.scrollbarModel=bf,x.Pos=Xn,x.cmpPos=Or,x.modes=Co,x.mimeModes=ro,x.resolveMode=Si,x.getMode=gi,x.modeExtensions=Ea,x.extendMode=Fn,x.copyState=Dt,x.startState=Zt,x.innerMode=Gt,x.commands=Bd,x.keyMap=Ou,x.keyName=JA,x.isModifierKey=uh,x.lookupKey=_A,x.normalizeKeyMap=Mh,x.StringStream=jt,x.SharedTextMarker=ml,x.TextMarker=EA,x.LineWidget=Dc,x.e_preventDefault=br,x.e_stopPropagation=Lr,x.e_stop=Qr,x.addClass=Rt,x.contains=Lt,x.rmClass=$e,x.keyNames=MA}Hm(zs),R0(zs);var Ff="iter insert remove copy getEditor constructor".split(" ");for(var rf in pc.prototype)pc.prototype.hasOwnProperty(rf)&&at(Ff,rf)<0&&(zs.prototype[rf]=function(x){return function(){return x.apply(this.doc,arguments)}}(pc.prototype[rf]));return Wn(pc),zs.inputStyles={textarea:su,contenteditable:Qu},zs.defineMode=function(x){!zs.defaults.mode&&x!="null"&&(zs.defaults.mode=x),Pi.apply(this,arguments)},zs.defineMIME=Ii,zs.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),zs.defineMIME("text/plain","null"),zs.defineExtension=function(x,ee){zs.prototype[x]=ee},zs.defineDocExtension=function(x,ee){pc.prototype[x]=ee},zs.fromTextArea=ff,DA(zs),zs.version="5.58.2",zs})},25419:function(Tn,Xt,ce){(function(he){he(ce(89780),ce(15525),ce(98101))})(function(he){"use strict";he.defineMode("markdown",function(Me,Ue){var At=he.getMode(Me,"text/html"),Ne=At.name=="null";function Le(it){if(he.findModeByName){var je=he.findModeByName(it);je&&(it=je.mime||je.mimes[0])}var at=he.getMode(Me,it);return at.name=="null"?null:at}Ue.highlightFormatting===void 0&&(Ue.highlightFormatting=!1),Ue.maxBlockquoteDepth===void 0&&(Ue.maxBlockquoteDepth=0),Ue.taskLists===void 0&&(Ue.taskLists=!1),Ue.strikethrough===void 0&&(Ue.strikethrough=!1),Ue.emoji===void 0&&(Ue.emoji=!1),Ue.fencedCodeBlockHighlighting===void 0&&(Ue.fencedCodeBlockHighlighting=!0),Ue.fencedCodeBlockDefaultMode===void 0&&(Ue.fencedCodeBlockDefaultMode="text/plain"),Ue.xml===void 0&&(Ue.xml=!0),Ue.tokenTypeOverrides===void 0&&(Ue.tokenTypeOverrides={});var ve={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ae in ve)ve.hasOwnProperty(Ae)&&Ue.tokenTypeOverrides[Ae]&&(ve[Ae]=Ue.tokenTypeOverrides[Ae]);var we=/^([*\-_])(?:\s*\1){2,}\s*$/,fe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,ze=/^\[(x| )\](?=\s)/i,Be=Ue.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,_e=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Oe=/^[^#!\[\]*_\\<>` "'(~:]+/,He=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ke=/^\s*\[[^\]]+?\]:.*$/,Te=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Pe=" ";function Xe(it,je,at){return je.f=je.inline=at,at(it,je)}function Ke(it,je,at){return je.f=je.block=at,at(it,je)}function qe(it){return!it||!/\S/.test(it.string)}function We(it){if(it.linkTitle=!1,it.linkHref=!1,it.linkText=!1,it.em=!1,it.strong=!1,it.strikethrough=!1,it.quote=0,it.indentedCode=!1,it.f==$e){var je=Ne;if(!je){var at=he.innerMode(At,it.htmlState);je=at.mode.name=="xml"&&at.state.tagStart===null&&!at.state.context&&at.state.tokenize.isInText}je&&(it.f=xt,it.block=Ze,it.htmlState=null)}return it.trailingSpace=0,it.trailingSpaceNewLine=!1,it.prevLine=it.thisLine,it.thisLine={stream:null},null}function Ze(it,je){var at=it.column()===je.indentation,Yt=qe(je.prevLine.stream),Vt=je.indentedCode,St=je.prevLine.hr,Qt=je.list!==!1,cn=(je.listStack[je.listStack.length-1]||0)+3;je.indentedCode=!1;var Nn=je.indentation;if(je.indentationDiff===null&&(je.indentationDiff=je.indentation,Qt)){for(je.list=null;Nn<je.listStack[je.listStack.length-1];)je.listStack.pop(),je.listStack.length?je.indentation=je.listStack[je.listStack.length-1]:je.list=!1;je.list!==!1&&(je.indentationDiff=Nn-je.listStack[je.listStack.length-1])}var fn=!Yt&&!St&&!je.prevLine.header&&(!Qt||!Vt)&&!je.prevLine.fencedCodeEnd,Ln=(je.list===!1||St||Yt)&&je.indentation<=cn&&it.match(we),Cn=null;if(je.indentationDiff>=4&&(Vt||je.prevLine.fencedCodeEnd||je.prevLine.header||Yt))return it.skipToEnd(),je.indentedCode=!0,ve.code;if(it.eatSpace())return null;if(at&&je.indentation<=cn&&(Cn=it.match(Be))&&Cn[1].length<=6)return je.quote=0,je.header=Cn[1].length,je.thisLine.header=!0,Ue.highlightFormatting&&(je.formatting="header"),je.f=je.inline,ht(je);if(je.indentation<=cn&&it.eat(">"))return je.quote=at?1:je.quote+1,Ue.highlightFormatting&&(je.formatting="quote"),it.eatSpace(),ht(je);if(!Ln&&!je.setext&&at&&je.indentation<=cn&&(Cn=it.match(fe))){var Bn=Cn[1]?"ol":"ul";return je.indentation=Nn+it.current().length,je.list=!0,je.quote=0,je.listStack.push(je.indentation),je.em=!1,je.strong=!1,je.code=!1,je.strikethrough=!1,Ue.taskLists&&it.match(ze,!1)&&(je.taskList=!0),je.f=je.inline,Ue.highlightFormatting&&(je.formatting=["list","list-"+Bn]),ht(je)}else{if(at&&je.indentation<=cn&&(Cn=it.match(He,!0)))return je.quote=0,je.fencedEndRE=new RegExp(Cn[1]+"+ *$"),je.localMode=Ue.fencedCodeBlockHighlighting&&Le(Cn[2]||Ue.fencedCodeBlockDefaultMode),je.localMode&&(je.localState=he.startState(je.localMode)),je.f=je.block=rt,Ue.highlightFormatting&&(je.formatting="code-block"),je.code=-1,ht(je);if(je.setext||(!fn||!Qt)&&!je.quote&&je.list===!1&&!je.code&&!Ln&&!ke.test(it.string)&&(Cn=it.lookAhead(1))&&(Cn=Cn.match(_e)))return je.setext?(je.header=je.setext,je.setext=0,it.skipToEnd(),Ue.highlightFormatting&&(je.formatting="header")):(je.header=Cn[0].charAt(0)=="="?1:2,je.setext=je.header),je.thisLine.header=!0,je.f=je.inline,ht(je);if(Ln)return it.skipToEnd(),je.hr=!0,je.thisLine.hr=!0,ve.hr;if(it.peek()==="[")return Xe(it,je,Ft)}return Xe(it,je,je.inline)}function $e(it,je){var at=At.token(it,je.htmlState);if(!Ne){var Yt=he.innerMode(At,je.htmlState);(Yt.mode.name=="xml"&&Yt.state.tagStart===null&&!Yt.state.context&&Yt.state.tokenize.isInText||je.md_inside&&it.current().indexOf(">")>-1)&&(je.f=xt,je.block=Ze,je.htmlState=null)}return at}function rt(it,je){var at=je.listStack[je.listStack.length-1]||0,Yt=je.indentation<at,Vt=at+3;if(je.fencedEndRE&&je.indentation<=Vt&&(Yt||it.match(je.fencedEndRE))){Ue.highlightFormatting&&(je.formatting="code-block");var St;return Yt||(St=ht(je)),je.localMode=je.localState=null,je.block=Ze,je.f=xt,je.fencedEndRE=null,je.code=0,je.thisLine.fencedCodeEnd=!0,Yt?Ke(it,je,je.block):St}else return je.localMode?je.localMode.token(it,je.localState):(it.skipToEnd(),ve.code)}function ht(it){var je=[];if(it.formatting){je.push(ve.formatting),typeof it.formatting=="string"&&(it.formatting=[it.formatting]);for(var at=0;at<it.formatting.length;at++)je.push(ve.formatting+"-"+it.formatting[at]),it.formatting[at]==="header"&&je.push(ve.formatting+"-"+it.formatting[at]+"-"+it.header),it.formatting[at]==="quote"&&(!Ue.maxBlockquoteDepth||Ue.maxBlockquoteDepth>=it.quote?je.push(ve.formatting+"-"+it.formatting[at]+"-"+it.quote):je.push("error"))}if(it.taskOpen)return je.push("meta"),je.length?je.join(" "):null;if(it.taskClosed)return je.push("property"),je.length?je.join(" "):null;if(it.linkHref?je.push(ve.linkHref,"url"):(it.strong&&je.push(ve.strong),it.em&&je.push(ve.em),it.strikethrough&&je.push(ve.strikethrough),it.emoji&&je.push(ve.emoji),it.linkText&&je.push(ve.linkText),it.code&&je.push(ve.code),it.image&&je.push(ve.image),it.imageAltText&&je.push(ve.imageAltText,"link"),it.imageMarker&&je.push(ve.imageMarker)),it.header&&je.push(ve.header,ve.header+"-"+it.header),it.quote&&(je.push(ve.quote),!Ue.maxBlockquoteDepth||Ue.maxBlockquoteDepth>=it.quote?je.push(ve.quote+"-"+it.quote):je.push(ve.quote+"-"+Ue.maxBlockquoteDepth)),it.list!==!1){var Yt=(it.listStack.length-1)%3;Yt?Yt===1?je.push(ve.list2):je.push(ve.list3):je.push(ve.list1)}return it.trailingSpaceNewLine?je.push("trailing-space-new-line"):it.trailingSpace&&je.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),je.length?je.join(" "):null}function dt(it,je){if(it.match(Oe,!0))return ht(je)}function xt(it,je){var at=je.text(it,je);if(typeof at!="undefined")return at;if(je.list)return je.list=null,ht(je);if(je.taskList){var Yt=it.match(ze,!0)[1]===" ";return Yt?je.taskOpen=!0:je.taskClosed=!0,Ue.highlightFormatting&&(je.formatting="task"),je.taskList=!1,ht(je)}if(je.taskOpen=!1,je.taskClosed=!1,je.header&&it.match(/^#+$/,!0))return Ue.highlightFormatting&&(je.formatting="header"),ht(je);var Vt=it.next();if(je.linkTitle){je.linkTitle=!1;var St=Vt;Vt==="("&&(St=")"),St=(St+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Qt="^\\s*(?:[^"+St+"\\\\]+|\\\\\\\\|\\\\.)"+St;if(it.match(new RegExp(Qt),!0))return ve.linkHref}if(Vt==="`"){var cn=je.formatting;Ue.highlightFormatting&&(je.formatting="code"),it.eatWhile("`");var Nn=it.current().length;if(je.code==0&&(!je.quote||Nn==1))return je.code=Nn,ht(je);if(Nn==je.code){var fn=ht(je);return je.code=0,fn}else return je.formatting=cn,ht(je)}else if(je.code)return ht(je);if(Vt==="\\"&&(it.next(),Ue.highlightFormatting)){var Ln=ht(je),Cn=ve.formatting+"-escape";return Ln?Ln+" "+Cn:Cn}if(Vt==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return je.imageMarker=!0,je.image=!0,Ue.highlightFormatting&&(je.formatting="image"),ht(je);if(Vt==="["&&je.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return je.imageMarker=!1,je.imageAltText=!0,Ue.highlightFormatting&&(je.formatting="image"),ht(je);if(Vt==="]"&&je.imageAltText){Ue.highlightFormatting&&(je.formatting="image");var Ln=ht(je);return je.imageAltText=!1,je.image=!1,je.inline=je.f=Lt,Ln}if(Vt==="["&&!je.image)return je.linkText&&it.match(/^.*?\]/)||(je.linkText=!0,Ue.highlightFormatting&&(je.formatting="link")),ht(je);if(Vt==="]"&&je.linkText){Ue.highlightFormatting&&(je.formatting="link");var Ln=ht(je);return je.linkText=!1,je.inline=je.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?Lt:xt,Ln}if(Vt==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){je.f=je.inline=Je,Ue.highlightFormatting&&(je.formatting="link");var Ln=ht(je);return Ln?Ln+=" ":Ln="",Ln+ve.linkInline}if(Vt==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){je.f=je.inline=Je,Ue.highlightFormatting&&(je.formatting="link");var Ln=ht(je);return Ln?Ln+=" ":Ln="",Ln+ve.linkEmail}if(Ue.xml&&Vt==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Bn=it.string.indexOf(">",it.pos);if(Bn!=-1){var gn=it.string.substring(it.start,Bn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(gn)&&(je.md_inside=!0)}return it.backUp(1),je.htmlState=he.startState(At),Ke(it,je,$e)}if(Ue.xml&&Vt==="<"&&it.match(/^\/\w*?>/))return je.md_inside=!1,"tag";if(Vt==="*"||Vt==="_"){for(var Se=1,Fe=it.pos==1?" ":it.string.charAt(it.pos-2);Se<3&&it.eat(Vt);)Se++;var ie=it.peek()||" ",ae=!/\s/.test(ie)&&(!Te.test(ie)||/\s/.test(Fe)||Te.test(Fe)),se=!/\s/.test(Fe)&&(!Te.test(Fe)||/\s/.test(ie)||Te.test(ie)),oe=null,Ye=null;if(Se%2&&(!je.em&&ae&&(Vt==="*"||!se||Te.test(Fe))?oe=!0:je.em==Vt&&se&&(Vt==="*"||!ae||Te.test(ie))&&(oe=!1)),Se>1&&(!je.strong&&ae&&(Vt==="*"||!se||Te.test(Fe))?Ye=!0:je.strong==Vt&&se&&(Vt==="*"||!ae||Te.test(ie))&&(Ye=!1)),Ye!=null||oe!=null){Ue.highlightFormatting&&(je.formatting=oe==null?"strong":Ye==null?"em":"strong em"),oe===!0&&(je.em=Vt),Ye===!0&&(je.strong=Vt);var fn=ht(je);return oe===!1&&(je.em=!1),Ye===!1&&(je.strong=!1),fn}}else if(Vt===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return ht(je);it.backUp(1)}if(Ue.strikethrough){if(Vt==="~"&&it.eatWhile(Vt)){if(je.strikethrough){Ue.highlightFormatting&&(je.formatting="strikethrough");var fn=ht(je);return je.strikethrough=!1,fn}else if(it.match(/^[^\s]/,!1))return je.strikethrough=!0,Ue.highlightFormatting&&(je.formatting="strikethrough"),ht(je)}else if(Vt===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return ht(je);it.backUp(2)}}if(Ue.emoji&&Vt===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){je.emoji=!0,Ue.highlightFormatting&&(je.formatting="emoji");var vt=ht(je);return je.emoji=!1,vt}return Vt===" "&&(it.match(/^ +$/,!1)?je.trailingSpace++:je.trailingSpace&&(je.trailingSpaceNewLine=!0)),ht(je)}function Je(it,je){var at=it.next();if(at===">"){je.f=je.inline=xt,Ue.highlightFormatting&&(je.formatting="link");var Yt=ht(je);return Yt?Yt+=" ":Yt="",Yt+ve.linkInline}return it.match(/^[^>]+/,!0),ve.linkInline}function Lt(it,je){if(it.eatSpace())return null;var at=it.next();return at==="("||at==="["?(je.f=je.inline=Rt(at==="("?")":"]"),Ue.highlightFormatting&&(je.formatting="link-string"),je.linkHref=!0,ht(je)):"error"}var Re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Rt(it){return function(je,at){var Yt=je.next();if(Yt===it){at.f=at.inline=xt,Ue.highlightFormatting&&(at.formatting="link-string");var Vt=ht(at);return at.linkHref=!1,Vt}return je.match(Re[it]),at.linkHref=!0,ht(at)}}function Ft(it,je){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(je.f=bt,it.next(),Ue.highlightFormatting&&(je.formatting="link"),je.linkText=!0,ht(je)):Xe(it,je,xt)}function bt(it,je){if(it.match(/^\]:/,!0)){je.f=je.inline=Tt,Ue.highlightFormatting&&(je.formatting="link");var at=ht(je);return je.linkText=!1,at}return it.match(/^([^\]\\]|\\.)+/,!0),ve.linkText}function Tt(it,je){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?je.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),je.f=je.inline=xt,ve.linkHref+" url")}var wt={startState:function(){return{f:Ze,prevLine:{stream:null},thisLine:{stream:null},block:Ze,htmlState:null,indentation:0,inline:xt,text:dt,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(it){return{f:it.f,prevLine:it.prevLine,thisLine:it.thisLine,block:it.block,htmlState:it.htmlState&&he.copyState(At,it.htmlState),indentation:it.indentation,localMode:it.localMode,localState:it.localMode?he.copyState(it.localMode,it.localState):null,inline:it.inline,text:it.text,formatting:!1,linkText:it.linkText,linkTitle:it.linkTitle,linkHref:it.linkHref,code:it.code,em:it.em,strong:it.strong,strikethrough:it.strikethrough,emoji:it.emoji,header:it.header,setext:it.setext,hr:it.hr,taskList:it.taskList,list:it.list,listStack:it.listStack.slice(0),quote:it.quote,indentedCode:it.indentedCode,trailingSpace:it.trailingSpace,trailingSpaceNewLine:it.trailingSpaceNewLine,md_inside:it.md_inside,fencedEndRE:it.fencedEndRE}},token:function(it,je){if(je.formatting=!1,it!=je.thisLine.stream){if(je.header=0,je.hr=!1,it.match(/^\s*$/,!0))return We(je),null;if(je.prevLine=je.thisLine,je.thisLine={stream:it},je.taskList=!1,je.trailingSpace=0,je.trailingSpaceNewLine=!1,!je.localState&&(je.f=je.block,je.f!=$e)){var at=it.match(/^\s*/,!0)[0].replace(/\t/g,Pe).length;if(je.indentation=at,je.indentationDiff=null,at>0)return null}}return je.f(it,je)},innerMode:function(it){return it.block==$e?{state:it.htmlState,mode:At}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:wt}},indent:function(it,je,at){return it.block==$e&&At.indent?At.indent(it.htmlState,je,at):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,je,at):he.Pass},blankLine:We,getType:ht,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return wt},"xml"),he.defineMIME("text/markdown","markdown"),he.defineMIME("text/x-markdown","markdown")})},98101:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){"use strict";he.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Me=0;Me<he.modeInfo.length;Me++){var Ue=he.modeInfo[Me];Ue.mimes&&(Ue.mime=Ue.mimes[0])}he.findModeByMIME=function(At){At=At.toLowerCase();for(var Ne=0;Ne<he.modeInfo.length;Ne++){var Le=he.modeInfo[Ne];if(Le.mime==At)return Le;if(Le.mimes){for(var ve=0;ve<Le.mimes.length;ve++)if(Le.mimes[ve]==At)return Le}}if(/\+xml$/.test(At))return he.findModeByMIME("application/xml");if(/\+json$/.test(At))return he.findModeByMIME("application/json")},he.findModeByExtension=function(At){At=At.toLowerCase();for(var Ne=0;Ne<he.modeInfo.length;Ne++){var Le=he.modeInfo[Ne];if(Le.ext){for(var ve=0;ve<Le.ext.length;ve++)if(Le.ext[ve]==At)return Le}}},he.findModeByFileName=function(At){for(var Ne=0;Ne<he.modeInfo.length;Ne++){var Le=he.modeInfo[Ne];if(Le.file&&Le.file.test(At))return Le}var ve=At.lastIndexOf("."),Ae=ve>-1&&At.substring(ve+1,At.length);if(Ae)return he.findModeByExtension(Ae)},he.findModeByName=function(At){At=At.toLowerCase();for(var Ne=0;Ne<he.modeInfo.length;Ne++){var Le=he.modeInfo[Ne];if(Le.name.toLowerCase()==At)return Le;if(Le.alias){for(var ve=0;ve<Le.alias.length;ve++)if(Le.alias[ve].toLowerCase()==At)return Le}}}})},67549:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){"use strict";he.defineMode("stex",function(Me,Ue){"use strict";function At(Oe,He){Oe.cmdState.push(He)}function Ne(Oe){return Oe.cmdState.length>0?Oe.cmdState[Oe.cmdState.length-1]:null}function Le(Oe){var He=Oe.cmdState.pop();He&&He.closeBracket()}function ve(Oe){for(var He=Oe.cmdState,ke=He.length-1;ke>=0;ke--){var Te=He[ke];if(Te.name!="DEFAULT")return Te}return{styleIdentifier:function(){return null}}}function Ae(Oe,He,ke){return function(){this.name=Oe,this.bracketNo=0,this.style=He,this.styles=ke,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var we={};we.importmodule=Ae("importmodule","tag",["string","builtin"]),we.documentclass=Ae("documentclass","tag",["","atom"]),we.usepackage=Ae("usepackage","tag",["atom"]),we.begin=Ae("begin","tag",["atom"]),we.end=Ae("end","tag",["atom"]),we.label=Ae("label","tag",["atom"]),we.ref=Ae("ref","tag",["atom"]),we.eqref=Ae("eqref","tag",["atom"]),we.cite=Ae("cite","tag",["atom"]),we.bibitem=Ae("bibitem","tag",["atom"]),we.Bibitem=Ae("Bibitem","tag",["atom"]),we.RBibitem=Ae("RBibitem","tag",["atom"]),we.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function fe(Oe,He){Oe.f=He}function ze(Oe,He){var ke;if(Oe.match(/^\\[a-zA-Z@]+/)){var Te=Oe.current().slice(1);return ke=we.hasOwnProperty(Te)?we[Te]:we.DEFAULT,ke=new ke,At(He,ke),fe(He,_e),ke.style}if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/\\]/))return"tag";if(Oe.match("\\["))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"\\]")}),"keyword";if(Oe.match("\\("))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"\\)")}),"keyword";if(Oe.match("$$"))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"$$")}),"keyword";if(Oe.match("$"))return fe(He,function(Xe,Ke){return Be(Xe,Ke,"$")}),"keyword";var Pe=Oe.next();if(Pe=="%")return Oe.skipToEnd(),"comment";if(Pe=="}"||Pe=="]"){if(ke=Ne(He),ke)ke.closeBracket(Pe),fe(He,_e);else return"error";return"bracket"}else return Pe=="{"||Pe=="["?(ke=we.DEFAULT,ke=new ke,At(He,ke),"bracket"):/\d/.test(Pe)?(Oe.eatWhile(/[\w.%]/),"atom"):(Oe.eatWhile(/[\w\-_]/),ke=ve(He),ke.name=="begin"&&(ke.argument=Oe.current()),ke.styleIdentifier())}function Be(Oe,He,ke){if(Oe.eatSpace())return null;if(ke&&Oe.match(ke))return fe(He,ze),"keyword";if(Oe.match(/^\\[a-zA-Z@]+/))return"tag";if(Oe.match(/^[a-zA-Z]+/))return"variable-2";if(Oe.match(/^\\[$&%#{}_]/)||Oe.match(/^\\[,;!\/]/)||Oe.match(/^[\^_&]/))return"tag";if(Oe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Oe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Te=Oe.next();return Te=="{"||Te=="}"||Te=="["||Te=="]"||Te=="("||Te==")"?"bracket":Te=="%"?(Oe.skipToEnd(),"comment"):"error"}function _e(Oe,He){var ke=Oe.peek(),Te;return ke=="{"||ke=="["?(Te=Ne(He),Te.openBracket(ke),Oe.eat(ke),fe(He,ze),"bracket"):/[ \t\r]/.test(ke)?(Oe.eat(ke),null):(fe(He,ze),Le(He),ze(Oe,He))}return{startState:function(){var Oe=Ue.inMathMode?function(He,ke){return Be(He,ke)}:ze;return{cmdState:[],f:Oe}},copyState:function(Oe){return{cmdState:Oe.cmdState.slice(),f:Oe.f}},token:function(Oe,He){return He.f(Oe,He)},blankLine:function(Oe){Oe.f=ze,Oe.cmdState.length=0},lineComment:"%"}}),he.defineMIME("text/x-stex","stex"),he.defineMIME("text/x-latex","stex")})},15525:function(Tn,Xt,ce){(function(he){he(ce(89780))})(function(he){"use strict";var Me={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Ue={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};he.defineMode("xml",function(At,Ne){var Le=At.indentUnit,ve={},Ae=Ne.htmlMode?Me:Ue;for(var we in Ae)ve[we]=Ae[we];for(var we in Ne)ve[we]=Ne[we];var fe,ze;function Be(Je,Lt){function Re(bt){return Lt.tokenize=bt,bt(Je,Lt)}var Rt=Je.next();if(Rt=="<")return Je.eat("!")?Je.eat("[")?Je.match("CDATA[")?Re(He("atom","]]>")):null:Je.match("--")?Re(He("comment","-->")):Je.match("DOCTYPE",!0,!0)?(Je.eatWhile(/[\w\._\-]/),Re(ke(1))):null:Je.eat("?")?(Je.eatWhile(/[\w\._\-]/),Lt.tokenize=He("meta","?>"),"meta"):(fe=Je.eat("/")?"closeTag":"openTag",Lt.tokenize=_e,"tag bracket");if(Rt=="&"){var Ft;return Je.eat("#")?Je.eat("x")?Ft=Je.eatWhile(/[a-fA-F\d]/)&&Je.eat(";"):Ft=Je.eatWhile(/[\d]/)&&Je.eat(";"):Ft=Je.eatWhile(/[\w\.\-:]/)&&Je.eat(";"),Ft?"atom":"error"}else return Je.eatWhile(/[^&<]/),null}Be.isInText=!0;function _e(Je,Lt){var Re=Je.next();if(Re==">"||Re=="/"&&Je.eat(">"))return Lt.tokenize=Be,fe=Re==">"?"endTag":"selfcloseTag","tag bracket";if(Re=="=")return fe="equals",null;if(Re=="<"){Lt.tokenize=Be,Lt.state=Ke,Lt.tagName=Lt.tagStart=null;var Rt=Lt.tokenize(Je,Lt);return Rt?Rt+" tag error":"tag error"}else return/[\'\"]/.test(Re)?(Lt.tokenize=Oe(Re),Lt.stringStartCol=Je.column(),Lt.tokenize(Je,Lt)):(Je.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Oe(Je){var Lt=function(Re,Rt){for(;!Re.eol();)if(Re.next()==Je){Rt.tokenize=_e;break}return"string"};return Lt.isInAttribute=!0,Lt}function He(Je,Lt){return function(Re,Rt){for(;!Re.eol();){if(Re.match(Lt)){Rt.tokenize=Be;break}Re.next()}return Je}}function ke(Je){return function(Lt,Re){for(var Rt;(Rt=Lt.next())!=null;){if(Rt=="<")return Re.tokenize=ke(Je+1),Re.tokenize(Lt,Re);if(Rt==">")if(Je==1){Re.tokenize=Be;break}else return Re.tokenize=ke(Je-1),Re.tokenize(Lt,Re)}return"meta"}}function Te(Je,Lt,Re){this.prev=Je.context,this.tagName=Lt,this.indent=Je.indented,this.startOfLine=Re,(ve.doNotIndent.hasOwnProperty(Lt)||Je.context&&Je.context.noIndent)&&(this.noIndent=!0)}function Pe(Je){Je.context&&(Je.context=Je.context.prev)}function Xe(Je,Lt){for(var Re;;){if(!Je.context||(Re=Je.context.tagName,!ve.contextGrabbers.hasOwnProperty(Re)||!ve.contextGrabbers[Re].hasOwnProperty(Lt)))return;Pe(Je)}}function Ke(Je,Lt,Re){return Je=="openTag"?(Re.tagStart=Lt.column(),qe):Je=="closeTag"?We:Ke}function qe(Je,Lt,Re){return Je=="word"?(Re.tagName=Lt.current(),ze="tag",rt):ve.allowMissingTagName&&Je=="endTag"?(ze="tag bracket",rt(Je,Lt,Re)):(ze="error",qe)}function We(Je,Lt,Re){if(Je=="word"){var Rt=Lt.current();return Re.context&&Re.context.tagName!=Rt&&ve.implicitlyClosed.hasOwnProperty(Re.context.tagName)&&Pe(Re),Re.context&&Re.context.tagName==Rt||ve.matchClosing===!1?(ze="tag",Ze):(ze="tag error",$e)}else return ve.allowMissingTagName&&Je=="endTag"?(ze="tag bracket",Ze(Je,Lt,Re)):(ze="error",$e)}function Ze(Je,Lt,Re){return Je!="endTag"?(ze="error",Ze):(Pe(Re),Ke)}function $e(Je,Lt,Re){return ze="error",Ze(Je,Lt,Re)}function rt(Je,Lt,Re){if(Je=="word")return ze="attribute",ht;if(Je=="endTag"||Je=="selfcloseTag"){var Rt=Re.tagName,Ft=Re.tagStart;return Re.tagName=Re.tagStart=null,Je=="selfcloseTag"||ve.autoSelfClosers.hasOwnProperty(Rt)?Xe(Re,Rt):(Xe(Re,Rt),Re.context=new Te(Re,Rt,Ft==Re.indented)),Ke}return ze="error",rt}function ht(Je,Lt,Re){return Je=="equals"?dt:(ve.allowMissing||(ze="error"),rt(Je,Lt,Re))}function dt(Je,Lt,Re){return Je=="string"?xt:Je=="word"&&ve.allowUnquoted?(ze="string",rt):(ze="error",rt(Je,Lt,Re))}function xt(Je,Lt,Re){return Je=="string"?xt:rt(Je,Lt,Re)}return{startState:function(Je){var Lt={tokenize:Be,state:Ke,indented:Je||0,tagName:null,tagStart:null,context:null};return Je!=null&&(Lt.baseIndent=Je),Lt},token:function(Je,Lt){if(!Lt.tagName&&Je.sol()&&(Lt.indented=Je.indentation()),Je.eatSpace())return null;fe=null;var Re=Lt.tokenize(Je,Lt);return(Re||fe)&&Re!="comment"&&(ze=null,Lt.state=Lt.state(fe||Re,Je,Lt),ze&&(Re=ze=="error"?Re+" error":ze)),Re},indent:function(Je,Lt,Re){var Rt=Je.context;if(Je.tokenize.isInAttribute)return Je.tagStart==Je.indented?Je.stringStartCol+1:Je.indented+Le;if(Rt&&Rt.noIndent)return he.Pass;if(Je.tokenize!=_e&&Je.tokenize!=Be)return Re?Re.match(/^(\s*)/)[0].length:0;if(Je.tagName)return ve.multilineTagIndentPastTag!==!1?Je.tagStart+Je.tagName.length+2:Je.tagStart+Le*(ve.multilineTagIndentFactor||1);if(ve.alignCDATA&&/<!\[CDATA\[/.test(Lt))return 0;var Ft=Lt&&/^<(\/)?([\w_:\.-]*)/.exec(Lt);if(Ft&&Ft[1])for(;Rt;)if(Rt.tagName==Ft[2]){Rt=Rt.prev;break}else if(ve.implicitlyClosed.hasOwnProperty(Rt.tagName))Rt=Rt.prev;else break;else if(Ft)for(;Rt;){var bt=ve.contextGrabbers[Rt.tagName];if(bt&&bt.hasOwnProperty(Ft[2]))Rt=Rt.prev;else break}for(;Rt&&Rt.prev&&!Rt.startOfLine;)Rt=Rt.prev;return Rt?Rt.indent+Le:Je.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ve.htmlMode?"html":"xml",helperType:ve.htmlMode?"html":"xml",skipAttribute:function(Je){Je.state==dt&&(Je.state=rt)},xmlCurrentTag:function(Je){return Je.tagName?{name:Je.tagName,close:Je.type=="closeTag"}:null},xmlCurrentContext:function(Je){for(var Lt=[],Re=Je.context;Re;Re=Re.prev)Re.tagName&&Lt.push(Re.tagName);return Lt.reverse()}}}),he.defineMIME("text/xml","xml"),he.defineMIME("application/xml","xml"),he.mimeModes.hasOwnProperty("text/html")||he.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;var he=Object.assign||function(ke){for(var Te=1;Te<arguments.length;Te++){var Pe=arguments[Te];for(var Xe in Pe)Object.prototype.hasOwnProperty.call(Pe,Xe)&&(ke[Xe]=Pe[Xe])}return ke},Me=function(){function ke(Te,Pe){for(var Xe=0;Xe<Pe.length;Xe++){var Ke=Pe[Xe];Ke.enumerable=Ke.enumerable||!1,Ke.configurable=!0,"value"in Ke&&(Ke.writable=!0),Object.defineProperty(Te,Ke.key,Ke)}}return function(Te,Pe,Xe){return Pe&&ke(Te.prototype,Pe),Xe&&ke(Te,Xe),Te}}(),Ue=ce(59301),At=ze(Ue),Ne=ce(12708),Le=ze(Ne),ve=ce(53291),Ae=ze(ve),we=ce(10413),fe=ce(65429);function ze(ke){return ke&&ke.__esModule?ke:{default:ke}}function Be(ke,Te){if(!(ke instanceof Te))throw new TypeError("Cannot call a class as a function")}function _e(ke,Te){if(!ke)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Te&&(typeof Te=="object"||typeof Te=="function")?Te:ke}function Oe(ke,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Te);ke.prototype=Object.create(Te&&Te.prototype,{constructor:{value:ke,enumerable:!1,writable:!0,configurable:!0}}),Te&&(Object.setPrototypeOf?Object.setPrototypeOf(ke,Te):ke.__proto__=Te)}var He=function(ke){Oe(Te,ke);function Te(Pe){Be(this,Te);var Xe=_e(this,(Te.__proto__||Object.getPrototypeOf(Te)).call(this,Pe));return Xe.getEchartsInstance=function(){return Xe.echartsLib.getInstanceByDom(Xe.echartsElement)||Xe.echartsLib.init(Xe.echartsElement,Xe.props.theme,Xe.props.opts)},Xe.dispose=function(){if(Xe.echartsElement){try{(0,we.clear)(Xe.echartsElement)}catch(Ke){console.warn(Ke)}Xe.echartsLib.dispose(Xe.echartsElement)}},Xe.rerender=function(){var Ke=Xe.props,qe=Ke.onEvents,We=Ke.onChartReady,Ze=Xe.renderEchartDom();Xe.bindEvents(Ze,qe||{}),typeof We=="function"&&Xe.props.onChartReady(Ze),Xe.echartsElement&&(0,we.bind)(Xe.echartsElement,function(){try{Ze.resize()}catch($e){console.warn($e)}})},Xe.bindEvents=function(Ke,qe){var We=function(rt,ht){typeof rt=="string"&&typeof ht=="function"&&Ke.on(rt,function(dt){ht(dt,Ke)})};for(var Ze in qe)Object.prototype.hasOwnProperty.call(qe,Ze)&&We(Ze,qe[Ze])},Xe.renderEchartDom=function(){var Ke=Xe.getEchartsInstance();return Ke.setOption(Xe.props.option,Xe.props.notMerge||!1,Xe.props.lazyUpdate||!1),Xe.props.showLoading?Ke.showLoading(Xe.props.loadingOption||null):Ke.hideLoading(),Ke},Xe.echartsLib=Pe.echarts,Xe.echartsElement=null,Xe}return Me(Te,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(Xe){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(Xe,this.props))){if(!(0,Ae.default)(Xe.theme,this.props.theme)||!(0,Ae.default)(Xe.opts,this.props.opts)||!(0,Ae.default)(Xe.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var Ke=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,Ae.default)((0,fe.pick)(this.props,Ke),(0,fe.pick)(Xe,Ke))){var qe=this.renderEchartDom();if(!(0,Ae.default)(Xe.style,this.props.style)||!(0,Ae.default)(Xe.className,this.props.className))try{qe.resize()}catch(We){console.warn(We)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var Xe=this,Ke=this.props,qe=Ke.style,We=Ke.className,Ze=he({height:300},qe);return At.default.createElement("div",{ref:function(rt){Xe.echartsElement=rt},style:Ze,className:"echarts-for-react "+We})}}]),Te}(Ue.Component);Xt.default=He,He.propTypes={option:Le.default.object.isRequired,echarts:Le.default.object,notMerge:Le.default.bool,lazyUpdate:Le.default.bool,style:Le.default.object,className:Le.default.string,theme:Le.default.oneOfType([Le.default.string,Le.default.object]),onChartReady:Le.default.func,showLoading:Le.default.bool,loadingOption:Le.default.object,onEvents:Le.default.object,opts:Le.default.shape({devicePixelRatio:Le.default.number,renderer:Le.default.oneOf(["canvas","svg"]),width:Le.default.oneOfType([Le.default.number,Le.default.oneOf([null,void 0,"auto"])]),height:Le.default.oneOfType([Le.default.number,Le.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:Le.default.func},He.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(Tn,Xt,ce){"use strict";var he;he={value:!0},Xt.Z=void 0;var Me=ce(76411),Ue=Le(Me),At=ce(97774),Ne=Le(At);function Le(ze){return ze&&ze.__esModule?ze:{default:ze}}function ve(ze,Be){if(!(ze instanceof Be))throw new TypeError("Cannot call a class as a function")}function Ae(ze,Be){if(!ze)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Be&&(typeof Be=="object"||typeof Be=="function")?Be:ze}function we(ze,Be){if(typeof Be!="function"&&Be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Be);ze.prototype=Object.create(Be&&Be.prototype,{constructor:{value:ze,enumerable:!1,writable:!0,configurable:!0}}),Be&&(Object.setPrototypeOf?Object.setPrototypeOf(ze,Be):ze.__proto__=Be)}var fe=function(ze){we(Be,ze);function Be(_e){ve(this,Be);var Oe=Ae(this,(Be.__proto__||Object.getPrototypeOf(Be)).call(this,_e));return Oe.echartsLib=Ue.default,Oe}return Be}(Ne.default);Xt.Z=fe},65429:function(Tn,Xt){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});var ce=Xt.pick=function(Me,Ue){var At={};return Ue.forEach(function(Ne){At[Ne]=Me[Ne]}),At}},86204:function(Tn){"use strict";var Xt=typeof Reflect=="object"?Reflect:null,ce=Xt&&typeof Xt.apply=="function"?Xt.apply:function(Ke,qe,We){return Function.prototype.apply.call(Ke,qe,We)},he;Xt&&typeof Xt.ownKeys=="function"?he=Xt.ownKeys:Object.getOwnPropertySymbols?he=function(Ke){return Object.getOwnPropertyNames(Ke).concat(Object.getOwnPropertySymbols(Ke))}:he=function(Ke){return Object.getOwnPropertyNames(Ke)};function Me(Xe){console&&console.warn&&console.warn(Xe)}var Ue=Number.isNaN||function(Ke){return Ke!==Ke};function At(){At.init.call(this)}Tn.exports=At,Tn.exports.once=ke,At.EventEmitter=At,At.prototype._events=void 0,At.prototype._eventsCount=0,At.prototype._maxListeners=void 0;var Ne=10;function Le(Xe){if(typeof Xe!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Xe)}Object.defineProperty(At,"defaultMaxListeners",{enumerable:!0,get:function(){return Ne},set:function(Xe){if(typeof Xe!="number"||Xe<0||Ue(Xe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Xe+".");Ne=Xe}}),At.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},At.prototype.setMaxListeners=function(Ke){if(typeof Ke!="number"||Ke<0||Ue(Ke))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Ke+".");return this._maxListeners=Ke,this};function ve(Xe){return Xe._maxListeners===void 0?At.defaultMaxListeners:Xe._maxListeners}At.prototype.getMaxListeners=function(){return ve(this)},At.prototype.emit=function(Ke){for(var qe=[],We=1;We<arguments.length;We++)qe.push(arguments[We]);var Ze=Ke==="error",$e=this._events;if($e!==void 0)Ze=Ze&&$e.error===void 0;else if(!Ze)return!1;if(Ze){var rt;if(qe.length>0&&(rt=qe[0]),rt instanceof Error)throw rt;var ht=new Error("Unhandled error."+(rt?" ("+rt.message+")":""));throw ht.context=rt,ht}var dt=$e[Ke];if(dt===void 0)return!1;if(typeof dt=="function")ce(dt,this,qe);else for(var xt=dt.length,Je=_e(dt,xt),We=0;We<xt;++We)ce(Je[We],this,qe);return!0};function Ae(Xe,Ke,qe,We){var Ze,$e,rt;if(Le(qe),$e=Xe._events,$e===void 0?($e=Xe._events=Object.create(null),Xe._eventsCount=0):($e.newListener!==void 0&&(Xe.emit("newListener",Ke,qe.listener?qe.listener:qe),$e=Xe._events),rt=$e[Ke]),rt===void 0)rt=$e[Ke]=qe,++Xe._eventsCount;else if(typeof rt=="function"?rt=$e[Ke]=We?[qe,rt]:[rt,qe]:We?rt.unshift(qe):rt.push(qe),Ze=ve(Xe),Ze>0&&rt.length>Ze&&!rt.warned){rt.warned=!0;var ht=new Error("Possible EventEmitter memory leak detected. "+rt.length+" "+String(Ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");ht.name="MaxListenersExceededWarning",ht.emitter=Xe,ht.type=Ke,ht.count=rt.length,Me(ht)}return Xe}At.prototype.addListener=function(Ke,qe){return Ae(this,Ke,qe,!1)},At.prototype.on=At.prototype.addListener,At.prototype.prependListener=function(Ke,qe){return Ae(this,Ke,qe,!0)};function we(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function fe(Xe,Ke,qe){var We={fired:!1,wrapFn:void 0,target:Xe,type:Ke,listener:qe},Ze=we.bind(We);return Ze.listener=qe,We.wrapFn=Ze,Ze}At.prototype.once=function(Ke,qe){return Le(qe),this.on(Ke,fe(this,Ke,qe)),this},At.prototype.prependOnceListener=function(Ke,qe){return Le(qe),this.prependListener(Ke,fe(this,Ke,qe)),this},At.prototype.removeListener=function(Ke,qe){var We,Ze,$e,rt,ht;if(Le(qe),Ze=this._events,Ze===void 0)return this;if(We=Ze[Ke],We===void 0)return this;if(We===qe||We.listener===qe)--this._eventsCount===0?this._events=Object.create(null):(delete Ze[Ke],Ze.removeListener&&this.emit("removeListener",Ke,We.listener||qe));else if(typeof We!="function"){for($e=-1,rt=We.length-1;rt>=0;rt--)if(We[rt]===qe||We[rt].listener===qe){ht=We[rt].listener,$e=rt;break}if($e<0)return this;$e===0?We.shift():Oe(We,$e),We.length===1&&(Ze[Ke]=We[0]),Ze.removeListener!==void 0&&this.emit("removeListener",Ke,ht||qe)}return this},At.prototype.off=At.prototype.removeListener,At.prototype.removeAllListeners=function(Ke){var qe,We,Ze;if(We=this._events,We===void 0)return this;if(We.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):We[Ke]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete We[Ke]),this;if(arguments.length===0){var $e=Object.keys(We),rt;for(Ze=0;Ze<$e.length;++Ze)rt=$e[Ze],rt!=="removeListener"&&this.removeAllListeners(rt);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(qe=We[Ke],typeof qe=="function")this.removeListener(Ke,qe);else if(qe!==void 0)for(Ze=qe.length-1;Ze>=0;Ze--)this.removeListener(Ke,qe[Ze]);return this};function ze(Xe,Ke,qe){var We=Xe._events;if(We===void 0)return[];var Ze=We[Ke];return Ze===void 0?[]:typeof Ze=="function"?qe?[Ze.listener||Ze]:[Ze]:qe?He(Ze):_e(Ze,Ze.length)}At.prototype.listeners=function(Ke){return ze(this,Ke,!0)},At.prototype.rawListeners=function(Ke){return ze(this,Ke,!1)},At.listenerCount=function(Xe,Ke){return typeof Xe.listenerCount=="function"?Xe.listenerCount(Ke):Be.call(Xe,Ke)},At.prototype.listenerCount=Be;function Be(Xe){var Ke=this._events;if(Ke!==void 0){var qe=Ke[Xe];if(typeof qe=="function")return 1;if(qe!==void 0)return qe.length}return 0}At.prototype.eventNames=function(){return this._eventsCount>0?he(this._events):[]};function _e(Xe,Ke){for(var qe=new Array(Ke),We=0;We<Ke;++We)qe[We]=Xe[We];return qe}function Oe(Xe,Ke){for(;Ke+1<Xe.length;Ke++)Xe[Ke]=Xe[Ke+1];Xe.pop()}function He(Xe){for(var Ke=new Array(Xe.length),qe=0;qe<Ke.length;++qe)Ke[qe]=Xe[qe].listener||Xe[qe];return Ke}function ke(Xe,Ke){return new Promise(function(qe,We){function Ze(rt){Xe.removeListener(Ke,$e),We(rt)}function $e(){typeof Xe.removeListener=="function"&&Xe.removeListener("error",Ze),qe([].slice.call(arguments))}Pe(Xe,Ke,$e,{once:!0}),Ke!=="error"&&Te(Xe,Ze,{once:!0})})}function Te(Xe,Ke,qe){typeof Xe.on=="function"&&Pe(Xe,"error",Ke,qe)}function Pe(Xe,Ke,qe,We){if(typeof Xe.on=="function")We.once?Xe.once(Ke,qe):Xe.on(Ke,qe);else if(typeof Xe.addEventListener=="function")Xe.addEventListener(Ke,function Ze($e){We.once&&Xe.removeEventListener(Ke,Ze),qe($e)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Xe)}},53291:function(Tn){"use strict";var Xt=Array.isArray,ce=Object.keys,he=Object.prototype.hasOwnProperty;Tn.exports=function Me(Ue,At){if(Ue===At)return!0;if(Ue&&At&&typeof Ue=="object"&&typeof At=="object"){var Ne=Xt(Ue),Le=Xt(At),ve,Ae,we;if(Ne&&Le){if(Ae=Ue.length,Ae!=At.length)return!1;for(ve=Ae;ve--!==0;)if(!Me(Ue[ve],At[ve]))return!1;return!0}if(Ne!=Le)return!1;var fe=Ue instanceof Date,ze=At instanceof Date;if(fe!=ze)return!1;if(fe&&ze)return Ue.getTime()==At.getTime();var Be=Ue instanceof RegExp,_e=At instanceof RegExp;if(Be!=_e)return!1;if(Be&&_e)return Ue.toString()==At.toString();var Oe=ce(Ue);if(Ae=Oe.length,Ae!==ce(At).length)return!1;for(ve=Ae;ve--!==0;)if(!he.call(At,Oe[ve]))return!1;for(ve=Ae;ve--!==0;)if(we=Oe[ve],!Me(Ue[we],At[we]))return!1;return!0}return Ue!==Ue&&At!==At}},64270:function(Tn){(function(Xt,ce){Tn.exports=ce()})(this,function(){"use strict";var Xt=function(Ee,be){return Xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(De,Ie){De.__proto__=Ie}||function(De,Ie){for(var yt in Ie)Object.prototype.hasOwnProperty.call(Ie,yt)&&(De[yt]=Ie[yt])},Xt(Ee,be)};function ce(Ee,be){if(typeof be!="function"&&be!==null)throw new TypeError("Class extends value "+String(be)+" is not a constructor or null");Xt(Ee,be);function De(){this.constructor=Ee}Ee.prototype=be===null?Object.create(be):(De.prototype=be.prototype,new De)}var he=function(){return he=Object.assign||function(be){for(var De,Ie=1,yt=arguments.length;Ie<yt;Ie++){De=arguments[Ie];for(var Kt in De)Object.prototype.hasOwnProperty.call(De,Kt)&&(be[Kt]=De[Kt])}return be},he.apply(this,arguments)};function Me(Ee,be,De,Ie){function yt(Kt){return Kt instanceof De?Kt:new De(function(un){un(Kt)})}return new(De||(De=Promise))(function(Kt,un){function Pn(qr){try{zr(Ie.next(qr))}catch(ri){un(ri)}}function Rn(qr){try{zr(Ie.throw(qr))}catch(ri){un(ri)}}function zr(qr){qr.done?Kt(qr.value):yt(qr.value).then(Pn,Rn)}zr((Ie=Ie.apply(Ee,be||[])).next())})}function Ue(Ee,be){var De={label:0,sent:function(){if(Kt[0]&1)throw Kt[1];return Kt[1]},trys:[],ops:[]},Ie,yt,Kt,un;return un={next:Pn(0),throw:Pn(1),return:Pn(2)},typeof Symbol=="function"&&(un[Symbol.iterator]=function(){return this}),un;function Pn(zr){return function(qr){return Rn([zr,qr])}}function Rn(zr){if(Ie)throw new TypeError("Generator is already executing.");for(;De;)try{if(Ie=1,yt&&(Kt=zr[0]&2?yt.return:zr[0]?yt.throw||((Kt=yt.return)&&Kt.call(yt),0):yt.next)&&!(Kt=Kt.call(yt,zr[1])).done)return Kt;switch(yt=0,Kt&&(zr=[zr[0]&2,Kt.value]),zr[0]){case 0:case 1:Kt=zr;break;case 4:return De.label++,{value:zr[1],done:!1};case 5:De.label++,yt=zr[1],zr=[0];continue;case 7:zr=De.ops.pop(),De.trys.pop();continue;default:if(Kt=De.trys,!(Kt=Kt.length>0&&Kt[Kt.length-1])&&(zr[0]===6||zr[0]===2)){De=0;continue}if(zr[0]===3&&(!Kt||zr[1]>Kt[0]&&zr[1]<Kt[3])){De.label=zr[1];break}if(zr[0]===6&&De.label<Kt[1]){De.label=Kt[1],Kt=zr;break}if(Kt&&De.label<Kt[2]){De.label=Kt[2],De.ops.push(zr);break}Kt[2]&&De.ops.pop(),De.trys.pop();continue}zr=be.call(Ee,De)}catch(qr){zr=[6,qr],yt=0}finally{Ie=Kt=0}if(zr[0]&5)throw zr[1];return{value:zr[0]?zr[1]:void 0,done:!0}}}function At(Ee,be,De){if(De||arguments.length===2)for(var Ie=0,yt=be.length,Kt;Ie<yt;Ie++)(Kt||!(Ie in be))&&(Kt||(Kt=Array.prototype.slice.call(be,0,Ie)),Kt[Ie]=be[Ie]);return Ee.concat(Kt||be)}for(var Ne=function(){function Ee(be,De,Ie,yt){this.left=be,this.top=De,this.width=Ie,this.height=yt}return Ee.prototype.add=function(be,De,Ie,yt){return new Ee(this.left+be,this.top+De,this.width+Ie,this.height+yt)},Ee.fromClientRect=function(be,De){return new Ee(De.left+be.windowBounds.left,De.top+be.windowBounds.top,De.width,De.height)},Ee.fromDOMRectList=function(be,De){var Ie=Array.from(De).find(function(yt){return yt.width!==0});return Ie?new Ee(Ie.left+be.windowBounds.left,Ie.top+be.windowBounds.top,Ie.width,Ie.height):Ee.EMPTY},Ee.EMPTY=new Ee(0,0,0,0),Ee}(),Le=function(Ee,be){return Ne.fromClientRect(Ee,be.getBoundingClientRect())},ve=function(Ee){var be=Ee.body,De=Ee.documentElement;if(!be||!De)throw new Error("Unable to get document size");var Ie=Math.max(Math.max(be.scrollWidth,De.scrollWidth),Math.max(be.offsetWidth,De.offsetWidth),Math.max(be.clientWidth,De.clientWidth)),yt=Math.max(Math.max(be.scrollHeight,De.scrollHeight),Math.max(be.offsetHeight,De.offsetHeight),Math.max(be.clientHeight,De.clientHeight));return new Ne(0,0,Ie,yt)},Ae=function(Ee){for(var be=[],De=0,Ie=Ee.length;De<Ie;){var yt=Ee.charCodeAt(De++);if(yt>=55296&&yt<=56319&&De<Ie){var Kt=Ee.charCodeAt(De++);(Kt&64512)===56320?be.push(((yt&1023)<<10)+(Kt&1023)+65536):(be.push(yt),De--)}else be.push(yt)}return be},we=function(){for(var Ee=[],be=0;be<arguments.length;be++)Ee[be]=arguments[be];if(String.fromCodePoint)return String.fromCodePoint.apply(String,Ee);var De=Ee.length;if(!De)return"";for(var Ie=[],yt=-1,Kt="";++yt<De;){var un=Ee[yt];un<=65535?Ie.push(un):(un-=65536,Ie.push((un>>10)+55296,un%1024+56320)),(yt+1===De||Ie.length>16384)&&(Kt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return Kt},fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Be=0;Be<fe.length;Be++)ze[fe.charCodeAt(Be)]=Be;for(var _e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),He=0;He<_e.length;He++)Oe[_e.charCodeAt(He)]=He;for(var ke=function(Ee){var be=Ee.length*.75,De=Ee.length,Ie,yt=0,Kt,un,Pn,Rn;Ee[Ee.length-1]==="="&&(be--,Ee[Ee.length-2]==="="&&be--);var zr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(be):new Array(be),qr=Array.isArray(zr)?zr:new Uint8Array(zr);for(Ie=0;Ie<De;Ie+=4)Kt=Oe[Ee.charCodeAt(Ie)],un=Oe[Ee.charCodeAt(Ie+1)],Pn=Oe[Ee.charCodeAt(Ie+2)],Rn=Oe[Ee.charCodeAt(Ie+3)],qr[yt++]=Kt<<2|un>>4,qr[yt++]=(un&15)<<4|Pn>>2,qr[yt++]=(Pn&3)<<6|Rn&63;return zr},Te=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie<be;Ie+=2)De.push(Ee[Ie+1]<<8|Ee[Ie]);return De},Pe=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie<be;Ie+=4)De.push(Ee[Ie+3]<<24|Ee[Ie+2]<<16|Ee[Ie+1]<<8|Ee[Ie]);return De},Xe=5,Ke=11,qe=2,We=Ke-Xe,Ze=65536>>Xe,$e=1<<Xe,rt=$e-1,ht=1024>>Xe,dt=Ze+ht,xt=dt,Je=32,Lt=xt+Je,Re=65536>>Ke,Rt=1<<We,Ft=Rt-1,bt=function(Ee,be,De){return Ee.slice?Ee.slice(be,De):new Uint16Array(Array.prototype.slice.call(Ee,be,De))},Tt=function(Ee,be,De){return Ee.slice?Ee.slice(be,De):new Uint32Array(Array.prototype.slice.call(Ee,be,De))},wt=function(Ee,be){var De=ke(Ee),Ie=Array.isArray(De)?Pe(De):new Uint32Array(De),yt=Array.isArray(De)?Te(De):new Uint16Array(De),Kt=24,un=bt(yt,Kt/2,Ie[4]/2),Pn=Ie[5]===2?bt(yt,(Kt+Ie[4])/2):Tt(Ie,Math.ceil((Kt+Ie[4])/4));return new it(Ie[0],Ie[1],Ie[2],Ie[3],un,Pn)},it=function(){function Ee(be,De,Ie,yt,Kt,un){this.initialValue=be,this.errorValue=De,this.highStart=Ie,this.highValueIndex=yt,this.index=Kt,this.data=un}return Ee.prototype.get=function(be){var De;if(be>=0){if(be<55296||be>56319&&be<=65535)return De=this.index[be>>Xe],De=(De<<qe)+(be&rt),this.data[De];if(be<=65535)return De=this.index[Ze+(be-55296>>Xe)],De=(De<<qe)+(be&rt),this.data[De];if(be<this.highStart)return De=Lt-Re+(be>>Ke),De=this.index[De],De+=be>>Xe&Ft,De=this.index[De],De=(De<<qe)+(be&rt),this.data[De];if(be<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Ee}(),je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",at=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Yt=0;Yt<je.length;Yt++)at[je.charCodeAt(Yt)]=Yt;var Vt="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUA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ywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIY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MAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHU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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gao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gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAA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AAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXA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AFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4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AeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAl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QAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",St=50,Qt=1,cn=2,Nn=3,fn=4,Ln=5,Cn=7,Bn=8,gn=9,Se=10,Fe=11,ie=12,ae=13,se=14,oe=15,Ye=16,vt=17,et=18,lt=19,Pt=20,Mt=21,kt=22,$t=23,Sn=24,Bt=25,nn=26,tn=27,zt=28,pt=29,Wt=30,vn=31,xn=32,Wn=33,br=34,Lr=35,jr=36,Qr=37,vr=38,Ar=39,Tr=40,Bi=41,$i=42,mi=43,Mi=[9001,65288],pa="!",Dr="\xD7",_n="\xF7",no=wt(Vt),Ki=[Wt,jr],Co=[Qt,cn,Nn,Ln],ro=[Se,Bn],Pi=[tn,nn],Ii=Co.concat(ro),Si=[vr,Ar,Tr,br,Lr],gi=[oe,ae],Ea=function(Ee,be){be===void 0&&(be="strict");var De=[],Ie=[],yt=[];return Ee.forEach(function(Kt,un){var Pn=no.get(Kt);if(Pn>St?(yt.push(!0),Pn-=St):yt.push(!1),["normal","auto","loose"].indexOf(be)!==-1&&[8208,8211,12316,12448].indexOf(Kt)!==-1)return Ie.push(un),De.push(Ye);if(Pn===fn||Pn===Fe){if(un===0)return Ie.push(un),De.push(Wt);var Rn=De[un-1];return Ii.indexOf(Rn)===-1?(Ie.push(Ie[un-1]),De.push(Rn)):(Ie.push(un),De.push(Wt))}if(Ie.push(un),Pn===vn)return De.push(be==="strict"?Mt:Qr);if(Pn===$i||Pn===pt)return De.push(Wt);if(Pn===mi)return Kt>=131072&&Kt<=196605||Kt>=196608&&Kt<=262141?De.push(Qr):De.push(Wt);De.push(Pn)}),[Ie,De,yt]},Fn=function(Ee,be,De,Ie){var yt=Ie[De];if(Array.isArray(Ee)?Ee.indexOf(yt)!==-1:Ee===yt)for(var Kt=De;Kt<=Ie.length;){Kt++;var un=Ie[Kt];if(un===be)return!0;if(un!==Se)break}if(yt===Se)for(var Kt=De;Kt>0;){Kt--;var Pn=Ie[Kt];if(Array.isArray(Ee)?Ee.indexOf(Pn)!==-1:Ee===Pn)for(var Rn=De;Rn<=Ie.length;){Rn++;var un=Ie[Rn];if(un===be)return!0;if(un!==Se)break}if(Pn!==Se)break}return!1},Dt=function(Ee,be){for(var De=Ee;De>=0;){var Ie=be[De];if(Ie===Se)De--;else return Ie}return 0},Gt=function(Ee,be,De,Ie,yt){if(De[Ie]===0)return Dr;var Kt=Ie-1;if(Array.isArray(yt)&&yt[Kt]===!0)return Dr;var un=Kt-1,Pn=Kt+1,Rn=be[Kt],zr=un>=0?be[un]:0,qr=be[Pn];if(Rn===cn&&qr===Nn)return Dr;if(Co.indexOf(Rn)!==-1)return pa;if(Co.indexOf(qr)!==-1||ro.indexOf(qr)!==-1)return Dr;if(Dt(Kt,be)===Bn)return _n;if(no.get(Ee[Kt])===Fe||(Rn===xn||Rn===Wn)&&no.get(Ee[Pn])===Fe||Rn===Cn||qr===Cn||Rn===gn||[Se,ae,oe].indexOf(Rn)===-1&&qr===gn||[vt,et,lt,Sn,zt].indexOf(qr)!==-1||Dt(Kt,be)===kt||Fn($t,kt,Kt,be)||Fn([vt,et],Mt,Kt,be)||Fn(ie,ie,Kt,be))return Dr;if(Rn===Se)return _n;if(Rn===$t||qr===$t)return Dr;if(qr===Ye||Rn===Ye)return _n;if([ae,oe,Mt].indexOf(qr)!==-1||Rn===se||zr===jr&&gi.indexOf(Rn)!==-1||Rn===zt&&qr===jr||qr===Pt||Ki.indexOf(qr)!==-1&&Rn===Bt||Ki.indexOf(Rn)!==-1&&qr===Bt||Rn===tn&&[Qr,xn,Wn].indexOf(qr)!==-1||[Qr,xn,Wn].indexOf(Rn)!==-1&&qr===nn||Ki.indexOf(Rn)!==-1&&Pi.indexOf(qr)!==-1||Pi.indexOf(Rn)!==-1&&Ki.indexOf(qr)!==-1||[tn,nn].indexOf(Rn)!==-1&&(qr===Bt||[kt,oe].indexOf(qr)!==-1&&be[Pn+1]===Bt)||[kt,oe].indexOf(Rn)!==-1&&qr===Bt||Rn===Bt&&[Bt,zt,Sn].indexOf(qr)!==-1)return Dr;if([Bt,zt,Sn,vt,et].indexOf(qr)!==-1)for(var ri=Kt;ri>=0;){var ea=be[ri];if(ea===Bt)return Dr;if([zt,Sn].indexOf(ea)!==-1)ri--;else break}if([tn,nn].indexOf(qr)!==-1)for(var ri=[vt,et].indexOf(Rn)!==-1?un:Kt;ri>=0;){var ea=be[ri];if(ea===Bt)return Dr;if([zt,Sn].indexOf(ea)!==-1)ri--;else break}if(vr===Rn&&[vr,Ar,br,Lr].indexOf(qr)!==-1||[Ar,br].indexOf(Rn)!==-1&&[Ar,Tr].indexOf(qr)!==-1||[Tr,Lr].indexOf(Rn)!==-1&&qr===Tr||Si.indexOf(Rn)!==-1&&[Pt,nn].indexOf(qr)!==-1||Si.indexOf(qr)!==-1&&Rn===tn||Ki.indexOf(Rn)!==-1&&Ki.indexOf(qr)!==-1||Rn===Sn&&Ki.indexOf(qr)!==-1||Ki.concat(Bt).indexOf(Rn)!==-1&&qr===kt&&Mi.indexOf(Ee[Pn])===-1||Ki.concat(Bt).indexOf(qr)!==-1&&Rn===et)return Dr;if(Rn===Bi&&qr===Bi){for(var ns=De[Kt],eo=1;ns>0&&(ns--,be[ns]===Bi);)eo++;if(eo%2!==0)return Dr}return Rn===xn&&qr===Wn?Dr:_n},Zt=function(Ee,be){be||(be={lineBreak:"normal",wordBreak:"normal"});var De=Ea(Ee,be.lineBreak),Ie=De[0],yt=De[1],Kt=De[2];(be.wordBreak==="break-all"||be.wordBreak==="break-word")&&(yt=yt.map(function(Pn){return[Bt,Wt,$i].indexOf(Pn)!==-1?Qr:Pn}));var un=be.wordBreak==="keep-all"?Kt.map(function(Pn,Rn){return Pn&&Ee[Rn]>=19968&&Ee[Rn]<=40959}):void 0;return[Ie,yt,un]},jt=function(){function Ee(be,De,Ie,yt){this.codePoints=be,this.required=De===pa,this.start=Ie,this.end=yt}return Ee.prototype.slice=function(){return we.apply(void 0,this.codePoints.slice(this.start,this.end))},Ee}(),on=function(Ee,be){var De=Ae(Ee),Ie=Zt(De,be),yt=Ie[0],Kt=Ie[1],un=Ie[2],Pn=De.length,Rn=0,zr=0;return{next:function(){if(zr>=Pn)return{done:!0,value:null};for(var qr=Dr;zr<Pn&&(qr=Gt(De,Kt,yt,++zr,un))===Dr;);if(qr!==Dr||zr===Pn){var ri=new jt(De,qr,Rn,zr);return Rn=zr,{value:ri,done:!1}}return{done:!0,value:null}}}},Mn=1,ir=2,qn=4,pr=8,Gr=10,Zr=47,$r=92,Xn=9,Or=32,ki=34,vi=61,Zi=35,xi=36,Ca=37,si=39,oa=40,mn=41,mr=95,dr=45,Wr=33,wr=60,Mr=62,Fr=64,ui=91,yi=93,Hi=61,Oa=123,Qa=63,oo=125,La=124,Da=126,po=128,Za=65533,io=42,va=43,ka=44,Xa=58,Pa=59,ao=46,us=0,Ya=8,fi=11,Rr=14,Ra=31,_a=127,Va=-1,Mo=48,go=97,As=101,_o=102,Js=117,Sa=122,xa=65,Bo=69,So=70,Ms=85,er=90,Qs=function(Ee){return Ee>=Mo&&Ee<=57},fs=function(Ee){return Ee>=55296&&Ee<=57343},Zs=function(Ee){return Qs(Ee)||Ee>=xa&&Ee<=So||Ee>=go&&Ee<=_o},qs=function(Ee){return Ee>=go&&Ee<=Sa},ma=function(Ee){return Ee>=xa&&Ee<=er},sa=function(Ee){return qs(Ee)||ma(Ee)},ra=function(Ee){return Ee>=po},ua=function(Ee){return Ee===Gr||Ee===Xn||Ee===Or},cs=function(Ee){return sa(Ee)||ra(Ee)||Ee===mr},Ps=function(Ee){return cs(Ee)||Qs(Ee)||Ee===dr},jo=function(Ee){return Ee>=us&&Ee<=Ya||Ee===fi||Ee>=Rr&&Ee<=Ra||Ee===_a},xs=function(Ee,be){return Ee!==$r?!1:be!==Gr},Cs=function(Ee,be,De){return Ee===dr?cs(be)||xs(be,De):cs(Ee)?!0:!!(Ee===$r&&xs(Ee,be))},$s=function(Ee,be,De){return Ee===va||Ee===dr?Qs(be)?!0:be===ao&&Qs(De):Qs(Ee===ao?be:Ee)},ru=function(Ee){var be=0,De=1;(Ee[be]===va||Ee[be]===dr)&&(Ee[be]===dr&&(De=-1),be++);for(var Ie=[];Qs(Ee[be]);)Ie.push(Ee[be++]);var yt=Ie.length?parseInt(we.apply(void 0,Ie),10):0;Ee[be]===ao&&be++;for(var Kt=[];Qs(Ee[be]);)Kt.push(Ee[be++]);var un=Kt.length,Pn=un?parseInt(we.apply(void 0,Kt),10):0;(Ee[be]===Bo||Ee[be]===As)&&be++;var Rn=1;(Ee[be]===va||Ee[be]===dr)&&(Ee[be]===dr&&(Rn=-1),be++);for(var zr=[];Qs(Ee[be]);)zr.push(Ee[be++]);var qr=zr.length?parseInt(we.apply(void 0,zr),10):0;return De*(yt+Pn*Math.pow(10,-un))*Math.pow(10,Rn*qr)},or={type:2},Qn={type:3},Nr={type:4},Di={type:13},Io={type:8},lr={type:21},Jn={type:9},Un={type:10},cr={type:11},Ur={type:12},bi={type:14},xr={type:23},Hr={type:1},ji={type:25},Ji={type:24},ca={type:26},Xr={type:27},Ni={type:28},ia={type:29},Ma={type:31},Oi={type:32},da=function(){function Ee(){this._value=[]}return Ee.prototype.write=function(be){this._value=this._value.concat(Ae(be))},Ee.prototype.read=function(){for(var be=[],De=this.consumeToken();De!==Oi;)be.push(De),De=this.consumeToken();return be},Ee.prototype.consumeToken=function(){var be=this.consumeCodePoint();switch(be){case ki:return this.consumeStringToken(ki);case Zi:var De=this.peekCodePoint(0),Ie=this.peekCodePoint(1),yt=this.peekCodePoint(2);if(Ps(De)||xs(Ie,yt)){var Kt=Cs(De,Ie,yt)?ir:Mn,un=this.consumeName();return{type:5,value:un,flags:Kt}}break;case xi:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Di;break;case si:return this.consumeStringToken(si);case oa:return or;case mn:return Qn;case io:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),bi;break;case va:if($s(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case ka:return Nr;case dr:var Pn=be,Rn=this.peekCodePoint(0),zr=this.peekCodePoint(1);if($s(Pn,Rn,zr))return this.reconsumeCodePoint(be),this.consumeNumericToken();if(Cs(Pn,Rn,zr))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();if(Rn===dr&&zr===Mr)return this.consumeCodePoint(),this.consumeCodePoint(),Ji;break;case ao:if($s(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case Zr:if(this.peekCodePoint(0)===io)for(this.consumeCodePoint();;){var qr=this.consumeCodePoint();if(qr===io&&(qr=this.consumeCodePoint(),qr===Zr))return this.consumeToken();if(qr===Va)return this.consumeToken()}break;case Xa:return ca;case Pa:return Xr;case wr:if(this.peekCodePoint(0)===Wr&&this.peekCodePoint(1)===dr&&this.peekCodePoint(2)===dr)return this.consumeCodePoint(),this.consumeCodePoint(),ji;break;case Fr:var ri=this.peekCodePoint(0),ea=this.peekCodePoint(1),ns=this.peekCodePoint(2);if(Cs(ri,ea,ns)){var un=this.consumeName();return{type:7,value:un}}break;case ui:return Ni;case $r:if(xs(be,this.peekCodePoint(0)))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();break;case yi:return ia;case Hi:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Io;break;case Oa:return cr;case oo:return Ur;case Js:case Ms:var eo=this.peekCodePoint(0),No=this.peekCodePoint(1);return eo===va&&(Zs(No)||No===Qa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(be),this.consumeIdentLikeToken();case La:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Jn;if(this.peekCodePoint(0)===La)return this.consumeCodePoint(),lr;break;case Da:if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),Un;break;case Va:return Oi}return ua(be)?(this.consumeWhiteSpace(),Ma):Qs(be)?(this.reconsumeCodePoint(be),this.consumeNumericToken()):cs(be)?(this.reconsumeCodePoint(be),this.consumeIdentLikeToken()):{type:6,value:we(be)}},Ee.prototype.consumeCodePoint=function(){var be=this._value.shift();return typeof be=="undefined"?-1:be},Ee.prototype.reconsumeCodePoint=function(be){this._value.unshift(be)},Ee.prototype.peekCodePoint=function(be){return be>=this._value.length?-1:this._value[be]},Ee.prototype.consumeUnicodeRangeToken=function(){for(var be=[],De=this.consumeCodePoint();Zs(De)&&be.length<6;)be.push(De),De=this.consumeCodePoint();for(var Ie=!1;De===Qa&&be.length<6;)be.push(De),De=this.consumeCodePoint(),Ie=!0;if(Ie){var yt=parseInt(we.apply(void 0,be.map(function(Rn){return Rn===Qa?Mo:Rn})),16),Kt=parseInt(we.apply(void 0,be.map(function(Rn){return Rn===Qa?So:Rn})),16);return{type:30,start:yt,end:Kt}}var un=parseInt(we.apply(void 0,be),16);if(this.peekCodePoint(0)===dr&&Zs(this.peekCodePoint(1))){this.consumeCodePoint(),De=this.consumeCodePoint();for(var Pn=[];Zs(De)&&Pn.length<6;)Pn.push(De),De=this.consumeCodePoint();var Kt=parseInt(we.apply(void 0,Pn),16);return{type:30,start:un,end:Kt}}else return{type:30,start:un,end:un}},Ee.prototype.consumeIdentLikeToken=function(){var be=this.consumeName();return be.toLowerCase()==="url"&&this.peekCodePoint(0)===oa?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===oa?(this.consumeCodePoint(),{type:19,value:be}):{type:20,value:be}},Ee.prototype.consumeUrlToken=function(){var be=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Va)return{type:22,value:""};var De=this.peekCodePoint(0);if(De===si||De===ki){var Ie=this.consumeStringToken(this.consumeCodePoint());return Ie.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Va||this.peekCodePoint(0)===mn)?(this.consumeCodePoint(),{type:22,value:Ie.value}):(this.consumeBadUrlRemnants(),xr)}for(;;){var yt=this.consumeCodePoint();if(yt===Va||yt===mn)return{type:22,value:we.apply(void 0,be)};if(ua(yt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Va||this.peekCodePoint(0)===mn?(this.consumeCodePoint(),{type:22,value:we.apply(void 0,be)}):(this.consumeBadUrlRemnants(),xr);if(yt===ki||yt===si||yt===oa||jo(yt))return this.consumeBadUrlRemnants(),xr;if(yt===$r)if(xs(yt,this.peekCodePoint(0)))be.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),xr;else be.push(yt)}},Ee.prototype.consumeWhiteSpace=function(){for(;ua(this.peekCodePoint(0));)this.consumeCodePoint()},Ee.prototype.consumeBadUrlRemnants=function(){for(;;){var be=this.consumeCodePoint();if(be===mn||be===Va)return;xs(be,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ee.prototype.consumeStringSlice=function(be){for(var De=5e4,Ie="";be>0;){var yt=Math.min(De,be);Ie+=we.apply(void 0,this._value.splice(0,yt)),be-=yt}return this._value.shift(),Ie},Ee.prototype.consumeStringToken=function(be){var De="",Ie=0;do{var yt=this._value[Ie];if(yt===Va||yt===void 0||yt===be)return De+=this.consumeStringSlice(Ie),{type:0,value:De};if(yt===Gr)return this._value.splice(0,Ie),Hr;if(yt===$r){var Kt=this._value[Ie+1];Kt!==Va&&Kt!==void 0&&(Kt===Gr?(De+=this.consumeStringSlice(Ie),Ie=-1,this._value.shift()):xs(yt,Kt)&&(De+=this.consumeStringSlice(Ie),De+=we(this.consumeEscapedCodePoint()),Ie=-1))}Ie++}while(!0)},Ee.prototype.consumeNumber=function(){var be=[],De=qn,Ie=this.peekCodePoint(0);for((Ie===va||Ie===dr)&&be.push(this.consumeCodePoint());Qs(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0);var yt=this.peekCodePoint(1);if(Ie===ao&&Qs(yt))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=pr;Qs(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0),yt=this.peekCodePoint(1);var Kt=this.peekCodePoint(2);if((Ie===Bo||Ie===As)&&((yt===va||yt===dr)&&Qs(Kt)||Qs(yt)))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=pr;Qs(this.peekCodePoint(0));)be.push(this.consumeCodePoint());return[ru(be),De]},Ee.prototype.consumeNumericToken=function(){var be=this.consumeNumber(),De=be[0],Ie=be[1],yt=this.peekCodePoint(0),Kt=this.peekCodePoint(1),un=this.peekCodePoint(2);if(Cs(yt,Kt,un)){var Pn=this.consumeName();return{type:15,number:De,flags:Ie,unit:Pn}}return yt===Ca?(this.consumeCodePoint(),{type:16,number:De,flags:Ie}):{type:17,number:De,flags:Ie}},Ee.prototype.consumeEscapedCodePoint=function(){var be=this.consumeCodePoint();if(Zs(be)){for(var De=we(be);Zs(this.peekCodePoint(0))&&De.length<6;)De+=we(this.consumeCodePoint());ua(this.peekCodePoint(0))&&this.consumeCodePoint();var Ie=parseInt(De,16);return Ie===0||fs(Ie)||Ie>1114111?Za:Ie}return be===Va?Za:be},Ee.prototype.consumeName=function(){for(var be="";;){var De=this.consumeCodePoint();if(Ps(De))be+=we(De);else if(xs(De,this.peekCodePoint(0)))be+=we(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(De),be}},Ee}(),Lo=function(){function Ee(be){this._tokens=be}return Ee.create=function(be){var De=new da;return De.write(be),new Ee(De.read())},Ee.parseValue=function(be){return Ee.create(be).parseComponentValue()},Ee.parseValues=function(be){return Ee.create(be).parseComponentValues()},Ee.prototype.parseComponentValue=function(){for(var be=this.consumeToken();be.type===31;)be=this.consumeToken();if(be.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(be);var De=this.consumeComponentValue();do be=this.consumeToken();while(be.type===31);if(be.type===32)return De;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ee.prototype.parseComponentValues=function(){for(var be=[];;){var De=this.consumeComponentValue();if(De.type===32)return be;be.push(De),be.push()}},Ee.prototype.consumeComponentValue=function(){var be=this.consumeToken();switch(be.type){case 11:case 28:case 2:return this.consumeSimpleBlock(be.type);case 19:return this.consumeFunction(be)}return be},Ee.prototype.consumeSimpleBlock=function(be){for(var De={type:be,values:[]},Ie=this.consumeToken();;){if(Ie.type===32||Eu(Ie,be))return De;this.reconsumeToken(Ie),De.values.push(this.consumeComponentValue()),Ie=this.consumeToken()}},Ee.prototype.consumeFunction=function(be){for(var De={name:be.value,values:[],type:18};;){var Ie=this.consumeToken();if(Ie.type===32||Ie.type===3)return De;this.reconsumeToken(Ie),De.values.push(this.consumeComponentValue())}},Ee.prototype.consumeToken=function(){var be=this._tokens.shift();return typeof be=="undefined"?Oi:be},Ee.prototype.reconsumeToken=function(be){this._tokens.unshift(be)},Ee}(),co=function(Ee){return Ee.type===15},To=function(Ee){return Ee.type===17},hs=function(Ee){return Ee.type===20},Bu=function(Ee){return Ee.type===0},gu=function(Ee,be){return hs(Ee)&&Ee.value===be},Su=function(Ee){return Ee.type!==31},Cr=function(Ee){return Ee.type!==31&&Ee.type!==4},yr=function(Ee){var be=[],De=[];return Ee.forEach(function(Ie){if(Ie.type===4){if(De.length===0)throw new Error("Error parsing function args, zero tokens for arg");be.push(De),De=[];return}Ie.type!==31&&De.push(Ie)}),De.length&&be.push(De),be},Eu=function(Ee,be){return be===11&&Ee.type===12||be===28&&Ee.type===29?!0:be===2&&Ee.type===3},mo=function(Ee){return Ee.type===17||Ee.type===15},Qo=function(Ee){return Ee.type===16||mo(Ee)},Nl=function(Ee){return Ee.length>1?[Ee[0],Ee[1]]:[Ee[0]]},el={type:17,number:0,flags:qn},_l={type:16,number:50,flags:qn},al={type:16,number:100,flags:qn},vu=function(Ee,be,De){var Ie=Ee[0],yt=Ee[1];return[Bs(Ie,be),Bs(typeof yt!="undefined"?yt:Ie,De)]},Bs=function(Ee,be){if(Ee.type===16)return Ee.number/100*be;if(co(Ee))switch(Ee.unit){case"rem":case"em":return 16*Ee.number;case"px":default:return Ee.number}return Ee.number},fl="deg",kc="grad",qa="rad",Ho="turn",Do={name:"angle",parse:function(Ee,be){if(be.type===15)switch(be.unit){case fl:return Math.PI*be.number/180;case kc:return Math.PI/200*be.number;case qa:return be.number;case Ho:return Math.PI*2*be.number}throw new Error("Unsupported angle type")}},zo=function(Ee){return Ee.type===15&&(Ee.unit===fl||Ee.unit===kc||Ee.unit===qa||Ee.unit===Ho)},ys=function(Ee){var be=Ee.filter(hs).map(function(De){return De.value}).join(" ");switch(be){case"to bottom right":case"to right bottom":case"left top":case"top left":return[el,el];case"to top":case"bottom":return bs(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[el,al];case"to right":case"left":return bs(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[al,al];case"to bottom":case"top":return bs(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[al,el];case"to left":case"right":return bs(270)}return 0},bs=function(Ee){return Math.PI*Ee/180},Ds={name:"color",parse:function(Ee,be){if(be.type===18){var De=sc[be.name];if(typeof De=="undefined")throw new Error('Attempting to parse an unsupported color function "'+be.name+'"');return De(Ee,be.values)}if(be.type===5){if(be.value.length===3){var Ie=be.value.substring(0,1),yt=be.value.substring(1,2),Kt=be.value.substring(2,3);return Ol(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(Kt+Kt,16),1)}if(be.value.length===4){var Ie=be.value.substring(0,1),yt=be.value.substring(1,2),Kt=be.value.substring(2,3),un=be.value.substring(3,4);return Ol(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(Kt+Kt,16),parseInt(un+un,16)/255)}if(be.value.length===6){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),Kt=be.value.substring(4,6);return Ol(parseInt(Ie,16),parseInt(yt,16),parseInt(Kt,16),1)}if(be.value.length===8){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),Kt=be.value.substring(4,6),un=be.value.substring(6,8);return Ol(parseInt(Ie,16),parseInt(yt,16),parseInt(Kt,16),parseInt(un,16)/255)}}if(be.type===20){var Pn=Kl[be.value.toUpperCase()];if(typeof Pn!="undefined")return Pn}return Kl.TRANSPARENT}},ol=function(Ee){return(255&Ee)===0},Vs=function(Ee){var be=255&Ee,De=255&Ee>>8,Ie=255&Ee>>16,yt=255&Ee>>24;return be<255?"rgba("+yt+","+Ie+","+De+","+be/255+")":"rgb("+yt+","+Ie+","+De+")"},Ol=function(Ee,be,De,Ie){return(Ee<<24|be<<16|De<<8|Math.round(Ie*255)<<0)>>>0},ac=function(Ee,be){if(Ee.type===17)return Ee.number;if(Ee.type===16){var De=be===3?1:255;return be===3?Ee.number/100*De:Math.round(Ee.number/100*De)}return 0},ad=function(Ee,be){var De=be.filter(Cr);if(De.length===3){var Ie=De.map(ac),yt=Ie[0],Kt=Ie[1],un=Ie[2];return Ol(yt,Kt,un,1)}if(De.length===4){var Pn=De.map(ac),yt=Pn[0],Kt=Pn[1],un=Pn[2],Rn=Pn[3];return Ol(yt,Kt,un,Rn)}return 0};function Fu(Ee,be,De){return De<0&&(De+=1),De>=1&&(De-=1),De<1/6?(be-Ee)*De*6+Ee:De<1/2?be:De<2/3?(be-Ee)*6*(2/3-De)+Ee:Ee}var oc=function(Ee,be){var De=be.filter(Cr),Ie=De[0],yt=De[1],Kt=De[2],un=De[3],Pn=(Ie.type===17?bs(Ie.number):Do.parse(Ee,Ie))/(Math.PI*2),Rn=Qo(yt)?yt.number/100:0,zr=Qo(Kt)?Kt.number/100:0,qr=typeof un!="undefined"&&Qo(un)?Bs(un,1):1;if(Rn===0)return Ol(zr*255,zr*255,zr*255,1);var ri=zr<=.5?zr*(Rn+1):zr+Rn-zr*Rn,ea=zr*2-ri,ns=Fu(ea,ri,Pn+1/3),eo=Fu(ea,ri,Pn),No=Fu(ea,ri,Pn-1/3);return Ol(ns*255,eo*255,No*255,qr)},sc={hsl:oc,hsla:oc,rgb:ad,rgba:ad},wc=function(Ee,be){return Ds.parse(Ee,Lo.create(be).parseComponentValue())},Kl={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},$d={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(hs(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Hd={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wd=function(Ee,be){var De=Ds.parse(Ee,be[0]),Ie=be[1];return Ie&&Qo(Ie)?{color:De,stop:Ie}:{color:De,stop:null}},eA=function(Ee,be){var De=Ee[0],Ie=Ee[Ee.length-1];De.stop===null&&(De.stop=el),Ie.stop===null&&(Ie.stop=al);for(var yt=[],Kt=0,un=0;un<Ee.length;un++){var Pn=Ee[un].stop;if(Pn!==null){var Rn=Bs(Pn,be);Rn>Kt?yt.push(Rn):yt.push(Kt),Kt=Rn}else yt.push(null)}for(var zr=null,un=0;un<yt.length;un++){var qr=yt[un];if(qr===null)zr===null&&(zr=un);else if(zr!==null){for(var ri=un-zr,ea=yt[zr-1],ns=(qr-ea)/(ri+1),eo=1;eo<=ri;eo++)yt[zr+eo-1]=ns*eo;zr=null}}return Ee.map(function(No,El){var ds=No.color;return{color:ds,stop:Math.max(Math.min(1,yt[El]/be),0)}})},Mc=function(Ee,be,De){var Ie=be/2,yt=De/2,Kt=Bs(Ee[0],be)-Ie,un=yt-Bs(Ee[1],De);return(Math.atan2(un,Kt)+Math.PI*2)%(Math.PI*2)},bA=function(Ee,be,De){var Ie=typeof Ee=="number"?Ee:Mc(Ee,be,De),yt=Math.abs(be*Math.sin(Ie))+Math.abs(De*Math.cos(Ie)),Kt=be/2,un=De/2,Pn=yt/2,Rn=Math.sin(Ie-Math.PI/2)*Pn,zr=Math.cos(Ie-Math.PI/2)*Pn;return[yt,Kt-zr,Kt+zr,un-Rn,un+Rn]},$u=function(Ee,be){return Math.sqrt(Ee*Ee+be*be)},Id=function(Ee,be,De,Ie,yt){var Kt=[[0,0],[0,be],[Ee,0],[Ee,be]];return Kt.reduce(function(un,Pn){var Rn=Pn[0],zr=Pn[1],qr=$u(De-Rn,Ie-zr);return(yt?qr<un.optimumDistance:qr>un.optimumDistance)?{optimumCorner:Pn,optimumDistance:qr}:un},{optimumDistance:yt?1/0:-1/0,optimumCorner:null}).optimumCorner},yl=function(Ee,be,De,Ie,yt){var Kt=0,un=0;switch(Ee.size){case 0:Ee.shape===0?Kt=un=Math.min(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(Kt=Math.min(Math.abs(be),Math.abs(be-Ie)),un=Math.min(Math.abs(De),Math.abs(De-yt)));break;case 2:if(Ee.shape===0)Kt=un=Math.min($u(be,De),$u(be,De-yt),$u(be-Ie,De),$u(be-Ie,De-yt));else if(Ee.shape===1){var Pn=Math.min(Math.abs(De),Math.abs(De-yt))/Math.min(Math.abs(be),Math.abs(be-Ie)),Rn=Id(Ie,yt,be,De,!0),zr=Rn[0],qr=Rn[1];Kt=$u(zr-be,(qr-De)/Pn),un=Pn*Kt}break;case 1:Ee.shape===0?Kt=un=Math.max(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(Kt=Math.max(Math.abs(be),Math.abs(be-Ie)),un=Math.max(Math.abs(De),Math.abs(De-yt)));break;case 3:if(Ee.shape===0)Kt=un=Math.max($u(be,De),$u(be,De-yt),$u(be-Ie,De),$u(be-Ie,De-yt));else if(Ee.shape===1){var Pn=Math.max(Math.abs(De),Math.abs(De-yt))/Math.max(Math.abs(be),Math.abs(be-Ie)),ri=Id(Ie,yt,be,De,!1),zr=ri[0],qr=ri[1];Kt=$u(zr-be,(qr-De)/Pn),un=Pn*Kt}break}return Array.isArray(Ee.size)&&(Kt=Bs(Ee.size[0],Ie),un=Ee.size.length===2?Bs(Ee.size[1],yt):Kt),[Kt,un]},bl=function(Ee,be){var De=bs(180),Ie=[];return yr(be).forEach(function(yt,Kt){if(Kt===0){var un=yt[0];if(un.type===20&&un.value==="to"){De=ys(yt);return}else if(zo(un)){De=Do.parse(Ee,un);return}}var Pn=wd(Ee,yt);Ie.push(Pn)}),{angle:De,stops:Ie,type:1}},Hl=function(Ee,be){var De=bs(180),Ie=[];return yr(be).forEach(function(yt,Kt){if(Kt===0){var un=yt[0];if(un.type===20&&["top","left","right","bottom"].indexOf(un.value)!==-1){De=ys(yt);return}else if(zo(un)){De=(Do.parse(Ee,un)+bs(270))%bs(360);return}}var Pn=wd(Ee,yt);Ie.push(Pn)}),{angle:De,stops:Ie,type:1}},zc=function(Ee,be){var De=bs(180),Ie=[],yt=1,Kt=0,un=3,Pn=[];return yr(be).forEach(function(Rn,zr){var qr=Rn[0];if(zr===0){if(hs(qr)&&qr.value==="linear"){yt=1;return}else if(hs(qr)&&qr.value==="radial"){yt=2;return}}if(qr.type===18){if(qr.name==="from"){var ri=Ds.parse(Ee,qr.values[0]);Ie.push({stop:el,color:ri})}else if(qr.name==="to"){var ri=Ds.parse(Ee,qr.values[0]);Ie.push({stop:al,color:ri})}else if(qr.name==="color-stop"){var ea=qr.values.filter(Cr);if(ea.length===2){var ri=Ds.parse(Ee,ea[1]),ns=ea[0];To(ns)&&Ie.push({stop:{type:16,number:ns.number*100,flags:ns.flags},color:ri})}}}}),yt===1?{angle:(De+bs(180))%bs(360),stops:Ie,type:yt}:{size:un,shape:Kt,stops:Ie,position:Pn,type:yt}},Ac="closest-side",hd="farthest-side",Tc="closest-corner",Ru="farthest-corner",Aa="circle",$o="ellipse",_i="cover",rs="contain",Eo=function(Ee,be){var De=0,Ie=3,yt=[],Kt=[];return yr(be).forEach(function(un,Pn){var Rn=!0;if(Pn===0){var zr=!1;Rn=un.reduce(function(ri,ea){if(zr)if(hs(ea))switch(ea.value){case"center":return Kt.push(_l),ri;case"top":case"left":return Kt.push(el),ri;case"right":case"bottom":return Kt.push(al),ri}else(Qo(ea)||mo(ea))&&Kt.push(ea);else if(hs(ea))switch(ea.value){case Aa:return De=0,!1;case $o:return De=1,!1;case"at":return zr=!0,!1;case Ac:return Ie=0,!1;case _i:case hd:return Ie=1,!1;case rs:case Tc:return Ie=2,!1;case Ru:return Ie=3,!1}else if(mo(ea)||Qo(ea))return Array.isArray(Ie)||(Ie=[]),Ie.push(ea),!1;return ri},Rn)}if(Rn){var qr=wd(Ee,un);yt.push(qr)}}),{size:Ie,shape:De,stops:yt,position:Kt,type:2}},tu=function(Ee,be){var De=0,Ie=3,yt=[],Kt=[];return yr(be).forEach(function(un,Pn){var Rn=!0;if(Pn===0?Rn=un.reduce(function(qr,ri){if(hs(ri))switch(ri.value){case"center":return Kt.push(_l),!1;case"top":case"left":return Kt.push(el),!1;case"right":case"bottom":return Kt.push(al),!1}else if(Qo(ri)||mo(ri))return Kt.push(ri),!1;return qr},Rn):Pn===1&&(Rn=un.reduce(function(qr,ri){if(hs(ri))switch(ri.value){case Aa:return De=0,!1;case $o:return De=1,!1;case rs:case Ac:return Ie=0,!1;case hd:return Ie=1,!1;case Tc:return Ie=2,!1;case _i:case Ru:return Ie=3,!1}else if(mo(ri)||Qo(ri))return Array.isArray(Ie)||(Ie=[]),Ie.push(ri),!1;return qr},Rn)),Rn){var zr=wd(Ee,un);yt.push(zr)}}),{size:Ie,shape:De,stops:yt,position:Kt,type:2}},lc=function(Ee){return Ee.type===1},Kc=function(Ee){return Ee.type===2},Pc={name:"image",parse:function(Ee,be){if(be.type===22){var De={url:be.value,type:0};return Ee.cache.addImage(be.value),De}if(be.type===18){var Ie=xd[be.name];if(typeof Ie=="undefined")throw new Error('Attempting to parse an unsupported image function "'+be.name+'"');return Ie(Ee,be.values)}throw new Error("Unsupported image type "+be.type)}};function wA(Ee){return!(Ee.type===20&&Ee.value==="none")&&(Ee.type!==18||!!xd[Ee.name])}var xd={"linear-gradient":bl,"-moz-linear-gradient":Hl,"-ms-linear-gradient":Hl,"-o-linear-gradient":Hl,"-webkit-linear-gradient":Hl,"radial-gradient":Eo,"-moz-radial-gradient":tu,"-ms-radial-gradient":tu,"-o-radial-gradient":tu,"-webkit-radial-gradient":tu,"-webkit-gradient":zc},Il={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){if(be.length===0)return[];var De=be[0];return De.type===20&&De.value==="none"?[]:be.filter(function(Ie){return Cr(Ie)&&wA(Ie)}).map(function(Ie){return Pc.parse(Ee,Ie)})}},Ld={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(hs(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Cl={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Ee,be){return yr(be).map(function(De){return De.filter(Qo)}).map(Nl)}},Du={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ee,be){return yr(be).map(function(De){return De.filter(hs).map(function(Ie){return Ie.value}).join(" ")}).map(Uu)}},Uu=function(Ee){switch(Ee){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Jl;(function(Ee){Ee.AUTO="auto",Ee.CONTAIN="contain",Ee.COVER="cover"})(Jl||(Jl={}));var hl={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ee,be){return yr(be).map(function(De){return De.filter(fc)})}},fc=function(Ee){return hs(Ee)||Qo(Ee)},uc=function(Ee){return{name:"border-"+Ee+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},_c=uc("top"),ec=uc("right"),Wc=uc("bottom"),Vu=uc("left"),jd=function(Ee){return{name:"border-radius-"+Ee,initialValue:"0 0",prefix:!1,type:1,parse:function(be,De){return Nl(De.filter(Qo))}}},Sh=jd("top-left"),od=jd("top-right"),Dd=jd("bottom-right"),xc=jd("bottom-left"),iu=function(Ee){return{name:"border-"+Ee+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(be,De){switch(De){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},uA=iu("top"),yf=iu("right"),GA=iu("bottom"),sd=iu("left"),xA=function(Ee){return{name:"border-"+Ee+"-width",initialValue:"0",type:0,prefix:!1,parse:function(be,De){return co(De)?De.number:0}}},ih=xA("top"),bf=xA("right"),M0=xA("bottom"),rp=xA("left"),hc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"rtl":return 1;case"ltr":default:return 0}}},ip={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ee,be){return be.filter(hs).reduce(function(De,Ie){return De|Nt(Ie.value)},0)}},Nt=function(Ee){switch(Ee){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ut={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},An={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Ee,be){return be.type===20&&be.value==="normal"?0:be.type===17||be.type===15?be.number:0}},En;(function(Ee){Ee.NORMAL="normal",Ee.STRICT="strict"})(En||(En={}));var Vn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"strict":return En.STRICT;case"normal":default:return En.NORMAL}}},On={name:"line-height",initialValue:"normal",prefix:!1,type:4},gr=function(Ee,be){return hs(Ee)&&Ee.value==="normal"?1.2*be:Ee.type===17?be*Ee.number:Qo(Ee)?Bs(Ee,be):be},fr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ee,be){return be.type===20&&be.value==="none"?null:Pc.parse(Ee,be)}},ur={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"inside":return 0;case"outside":default:return 1}}},Jr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},hi=function(Ee){return{name:"margin-"+Ee,initialValue:"0",prefix:!1,type:4}},ni=hi("top"),qi=hi("right"),Qi=hi("bottom"),Vi=hi("left"),ja={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ee,be){return be.filter(hs).map(function(De){switch(De.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Fa={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ta=function(Ee){return{name:"padding-"+Ee,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Ia=Ta("top"),$a=Ta("right"),Ko=Ta("bottom"),Jo=Ta("left"),Fo={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ss={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},_s={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.length===1&&gu(be[0],"none")?[]:yr(be).map(function(De){for(var Ie={color:Kl.TRANSPARENT,offsetX:el,offsetY:el,blur:el},yt=0,Kt=0;Kt<De.length;Kt++){var un=De[Kt];mo(un)?(yt===0?Ie.offsetX=un:yt===1?Ie.offsetY=un:Ie.blur=un,yt++):Ie.color=Ds.parse(Ee,un)}return Ie})}},lo={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Oo={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(Ee,be){if(be.type===20&&be.value==="none")return null;if(be.type===18){var De=bo[be.name];if(typeof De=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+be.name+'"');return De(be.values)}return null}},vo=function(Ee){var be=Ee.filter(function(De){return De.type===17}).map(function(De){return De.number});return be.length===6?be:null},Ba=function(Ee){var be=Ee.filter(function(Rn){return Rn.type===17}).map(function(Rn){return Rn.number}),De=be[0],Ie=be[1];be[2],be[3];var yt=be[4],Kt=be[5];be[6],be[7],be[8],be[9],be[10],be[11];var un=be[12],Pn=be[13];return be[14],be[15],be.length===16?[De,Ie,yt,Kt,un,Pn]:null},bo={matrix:vo,matrix3d:Ba},is={type:16,number:50,flags:qn},tl=[is,is],as={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(Ee,be){var De=be.filter(Qo);return De.length!==2?tl:[De[0],De[1]]}},za={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},gs;(function(Ee){Ee.NORMAL="normal",Ee.BREAK_ALL="break-all",Ee.KEEP_ALL="keep-all"})(gs||(gs={}));for(var Ns={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"break-all":return gs.BREAK_ALL;case"keep-all":return gs.KEEP_ALL;case"normal":default:return gs.NORMAL}}},jl={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(Ee,be){if(be.type===20)return{auto:!0,order:0};if(To(be))return{auto:!1,order:be.number};throw new Error("Invalid z-index number parsed")}},Ll={name:"time",parse:function(Ee,be){if(be.type===15)switch(be.unit.toLowerCase()){case"s":return 1e3*be.number;case"ms":return be.number}throw new Error("Unsupported time type")}},ku={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(Ee,be){return To(be)?be.number:1}},Mu={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Is={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(Ee,be){return be.filter(hs).map(function(De){switch(De.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(De){return De!==0})}},cc={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(Ee,be){var De=[],Ie=[];return be.forEach(function(yt){switch(yt.type){case 20:case 0:De.push(yt.value);break;case 17:De.push(yt.number.toString());break;case 4:Ie.push(De.join(" ")),De.length=0;break}}),De.length&&Ie.push(De.join(" ")),Ie.map(function(yt){return yt.indexOf(" ")===-1?yt:"'"+yt+"'"})}},wl={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},du={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(Ee,be){if(To(be))return be.number;if(hs(be))switch(be.value){case"bold":return 700;case"normal":default:return 400}return 400}},Au={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.filter(hs).map(function(De){return De.value})}},Ic={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},wo=function(Ee,be){return(Ee&be)!==0},es={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){if(be.length===0)return[];var De=be[0];return De.type===20&&De.value==="none"?[]:be}},ts={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(Ee,be){if(be.length===0)return null;var De=be[0];if(De.type===20&&De.value==="none")return null;for(var Ie=[],yt=be.filter(Su),Kt=0;Kt<yt.length;Kt++){var un=yt[Kt],Pn=yt[Kt+1];if(un.type===20){var Rn=Pn&&To(Pn)?Pn.number:1;Ie.push({counter:un.value,increment:Rn})}}return Ie}},Po={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(Ee,be){if(be.length===0)return[];for(var De=[],Ie=be.filter(Su),yt=0;yt<Ie.length;yt++){var Kt=Ie[yt],un=Ie[yt+1];if(hs(Kt)&&Kt.value!=="none"){var Pn=un&&To(un)?un.number:0;De.push({counter:Kt.value,reset:Pn})}}return De}},Tl={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(Ee,be){return be.filter(co).map(function(De){return Ll.parse(Ee,De)})}},Wo={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(Ee,be){if(be.length===0)return null;var De=be[0];if(De.type===20&&De.value==="none")return null;var Ie=[],yt=be.filter(Bu);if(yt.length%2!==0)return null;for(var Kt=0;Kt<yt.length;Kt+=2){var un=yt[Kt].value,Pn=yt[Kt+1].value;Ie.push({open:un,close:Pn})}return Ie}},Ss=function(Ee,be,De){if(!Ee)return"";var Ie=Ee[Math.min(be,Ee.length-1)];return Ie?De?Ie.open:Ie.close:""},sl={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.length===1&&gu(be[0],"none")?[]:yr(be).map(function(De){for(var Ie={color:255,offsetX:el,offsetY:el,blur:el,spread:el,inset:!1},yt=0,Kt=0;Kt<De.length;Kt++){var un=De[Kt];gu(un,"inset")?Ie.inset=!0:mo(un)?(yt===0?Ie.offsetX=un:yt===1?Ie.offsetY=un:yt===2?Ie.blur=un:Ie.spread=un,yt++):Ie.color=Ds.parse(Ee,un)}return Ie})}},pl={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(Ee,be){var De=[0,1,2],Ie=[];return be.filter(hs).forEach(function(yt){switch(yt.value){case"stroke":Ie.push(1);break;case"fill":Ie.push(0);break;case"markers":Ie.push(2);break}}),De.forEach(function(yt){Ie.indexOf(yt)===-1&&Ie.push(yt)}),Ie}},td={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Gu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(Ee,be){return co(be)?be.number:0}},Qd=function(){function Ee(be,De){var Ie,yt;this.animationDuration=Ja(be,Tl,De.animationDuration),this.backgroundClip=Ja(be,$d,De.backgroundClip),this.backgroundColor=Ja(be,Hd,De.backgroundColor),this.backgroundImage=Ja(be,Il,De.backgroundImage),this.backgroundOrigin=Ja(be,Ld,De.backgroundOrigin),this.backgroundPosition=Ja(be,Cl,De.backgroundPosition),this.backgroundRepeat=Ja(be,Du,De.backgroundRepeat),this.backgroundSize=Ja(be,hl,De.backgroundSize),this.borderTopColor=Ja(be,_c,De.borderTopColor),this.borderRightColor=Ja(be,ec,De.borderRightColor),this.borderBottomColor=Ja(be,Wc,De.borderBottomColor),this.borderLeftColor=Ja(be,Vu,De.borderLeftColor),this.borderTopLeftRadius=Ja(be,Sh,De.borderTopLeftRadius),this.borderTopRightRadius=Ja(be,od,De.borderTopRightRadius),this.borderBottomRightRadius=Ja(be,Dd,De.borderBottomRightRadius),this.borderBottomLeftRadius=Ja(be,xc,De.borderBottomLeftRadius),this.borderTopStyle=Ja(be,uA,De.borderTopStyle),this.borderRightStyle=Ja(be,yf,De.borderRightStyle),this.borderBottomStyle=Ja(be,GA,De.borderBottomStyle),this.borderLeftStyle=Ja(be,sd,De.borderLeftStyle),this.borderTopWidth=Ja(be,ih,De.borderTopWidth),this.borderRightWidth=Ja(be,bf,De.borderRightWidth),this.borderBottomWidth=Ja(be,M0,De.borderBottomWidth),this.borderLeftWidth=Ja(be,rp,De.borderLeftWidth),this.boxShadow=Ja(be,sl,De.boxShadow),this.color=Ja(be,hc,De.color),this.direction=Ja(be,cA,De.direction),this.display=Ja(be,ip,De.display),this.float=Ja(be,Ut,De.cssFloat),this.fontFamily=Ja(be,cc,De.fontFamily),this.fontSize=Ja(be,wl,De.fontSize),this.fontStyle=Ja(be,Ic,De.fontStyle),this.fontVariant=Ja(be,Au,De.fontVariant),this.fontWeight=Ja(be,du,De.fontWeight),this.letterSpacing=Ja(be,An,De.letterSpacing),this.lineBreak=Ja(be,Vn,De.lineBreak),this.lineHeight=Ja(be,On,De.lineHeight),this.listStyleImage=Ja(be,fr,De.listStyleImage),this.listStylePosition=Ja(be,ur,De.listStylePosition),this.listStyleType=Ja(be,Jr,De.listStyleType),this.marginTop=Ja(be,ni,De.marginTop),this.marginRight=Ja(be,qi,De.marginRight),this.marginBottom=Ja(be,Qi,De.marginBottom),this.marginLeft=Ja(be,Vi,De.marginLeft),this.opacity=Ja(be,ku,De.opacity);var Kt=Ja(be,ja,De.overflow);this.overflowX=Kt[0],this.overflowY=Kt[Kt.length>1?1:0],this.overflowWrap=Ja(be,Fa,De.overflowWrap),this.paddingTop=Ja(be,Ia,De.paddingTop),this.paddingRight=Ja(be,$a,De.paddingRight),this.paddingBottom=Ja(be,Ko,De.paddingBottom),this.paddingLeft=Ja(be,Jo,De.paddingLeft),this.paintOrder=Ja(be,pl,De.paintOrder),this.position=Ja(be,ss,De.position),this.textAlign=Ja(be,Fo,De.textAlign),this.textDecorationColor=Ja(be,Mu,(Ie=De.textDecorationColor)!==null&&Ie!==void 0?Ie:De.color),this.textDecorationLine=Ja(be,Is,(yt=De.textDecorationLine)!==null&&yt!==void 0?yt:De.textDecoration),this.textShadow=Ja(be,_s,De.textShadow),this.textTransform=Ja(be,lo,De.textTransform),this.transform=Ja(be,Oo,De.transform),this.transformOrigin=Ja(be,as,De.transformOrigin),this.visibility=Ja(be,za,De.visibility),this.webkitTextStrokeColor=Ja(be,td,De.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ja(be,Gu,De.webkitTextStrokeWidth),this.wordBreak=Ja(be,Ns,De.wordBreak),this.zIndex=Ja(be,jl,De.zIndex)}return Ee.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ee.prototype.isTransparent=function(){return ol(this.backgroundColor)},Ee.prototype.isTransformed=function(){return this.transform!==null},Ee.prototype.isPositioned=function(){return this.position!==0},Ee.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ee.prototype.isFloating=function(){return this.float!==0},Ee.prototype.isInlineLevel=function(){return wo(this.display,4)||wo(this.display,33554432)||wo(this.display,268435456)||wo(this.display,536870912)||wo(this.display,67108864)||wo(this.display,134217728)},Ee}(),tc=function(){function Ee(be,De){this.content=Ja(be,es,De.content),this.quotes=Ja(be,Wo,De.quotes)}return Ee}(),zd=function(){function Ee(be,De){this.counterIncrement=Ja(be,ts,De.counterIncrement),this.counterReset=Ja(be,Po,De.counterReset)}return Ee}(),Ja=function(Ee,be,De){var Ie=new da,yt=De!==null&&typeof De!="undefined"?De.toString():be.initialValue;Ie.write(yt);var Kt=new Lo(Ie.read());switch(be.type){case 2:var un=Kt.parseComponentValue();return be.parse(Ee,hs(un)?un.value:be.initialValue);case 0:return be.parse(Ee,Kt.parseComponentValue());case 1:return be.parse(Ee,Kt.parseComponentValues());case 4:return Kt.parseComponentValue();case 3:switch(be.format){case"angle":return Do.parse(Ee,Kt.parseComponentValue());case"color":return Ds.parse(Ee,Kt.parseComponentValue());case"image":return Pc.parse(Ee,Kt.parseComponentValue());case"length":var Pn=Kt.parseComponentValue();return mo(Pn)?Pn:el;case"length-percentage":var Rn=Kt.parseComponentValue();return Qo(Rn)?Rn:el;case"time":return Ll.parse(Ee,Kt.parseComponentValue())}break}},Rc="data-html2canvas-debug",YA=function(Ee){var be=Ee.getAttribute(Rc);switch(be){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},xl=function(Ee,be){var De=YA(Ee);return De===1||be===De},la=function(){function Ee(be,De){if(this.context=be,this.textNodes=[],this.elements=[],this.flags=0,xl(De,3))debugger;this.styles=new Qd(be,window.getComputedStyle(De,null)),T0(De)&&(this.styles.animationDuration.some(function(Ie){return Ie>0})&&(De.style.animationDuration="0s"),this.styles.transform!==null&&(De.style.transform="none")),this.bounds=Le(this.context,De),xl(De,4)&&(this.flags|=16)}return Ee}(),Wl="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwA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oBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZU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AIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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klmnopqrstuvwxyz0123456789+/",Iu=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ps=0;ps<Cc.length;ps++)Iu[Cc.charCodeAt(ps)]=ps;for(var $l=function(Ee){var be=Ee.length*.75,De=Ee.length,Ie,yt=0,Kt,un,Pn,Rn;Ee[Ee.length-1]==="="&&(be--,Ee[Ee.length-2]==="="&&be--);var zr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(be):new Array(be),qr=Array.isArray(zr)?zr:new Uint8Array(zr);for(Ie=0;Ie<De;Ie+=4)Kt=Iu[Ee.charCodeAt(Ie)],un=Iu[Ee.charCodeAt(Ie+1)],Pn=Iu[Ee.charCodeAt(Ie+2)],Rn=Iu[Ee.charCodeAt(Ie+3)],qr[yt++]=Kt<<2|un>>4,qr[yt++]=(un&15)<<4|Pn>>2,qr[yt++]=(Pn&3)<<6|Rn&63;return zr},Uc=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie<be;Ie+=2)De.push(Ee[Ie+1]<<8|Ee[Ie]);return De},Nd=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie<be;Ie+=4)De.push(Ee[Ie+3]<<24|Ee[Ie+2]<<16|Ee[Ie+1]<<8|Ee[Ie]);return De},Cd=5,Hc=11,Yu=2,CA=Hc-Cd,Zc=65536>>Cd,Xu=1<<Cd,jc=Xu-1,Nu=1024>>Cd,Hu=Zc+Nu,ld=Hu,dA=32,Kd=ld+dA,BA=65536>>Hc,XA=1<<CA,Eh=XA-1,Bl=function(Ee,be,De){return Ee.slice?Ee.slice(be,De):new Uint16Array(Array.prototype.slice.call(Ee,be,De))},au=function(Ee,be,De){return Ee.slice?Ee.slice(be,De):new Uint32Array(Array.prototype.slice.call(Ee,be,De))},Lc=function(Ee,be){var De=$l(Ee),Ie=Array.isArray(De)?Nd(De):new Uint32Array(De),yt=Array.isArray(De)?Uc(De):new Uint16Array(De),Kt=24,un=Bl(yt,Kt/2,Ie[4]/2),Pn=Ie[5]===2?Bl(yt,(Kt+Ie[4])/2):au(Ie,Math.ceil((Kt+Ie[4])/4));return new ou(Ie[0],Ie[1],Ie[2],Ie[3],un,Pn)},ou=function(){function Ee(be,De,Ie,yt,Kt,un){this.initialValue=be,this.errorValue=De,this.highStart=Ie,this.highValueIndex=yt,this.index=Kt,this.data=un}return Ee.prototype.get=function(be){var De;if(be>=0){if(be<55296||be>56319&&be<=65535)return De=this.index[be>>Cd],De=(De<<Yu)+(be&jc),this.data[De];if(be<=65535)return De=this.index[Zc+(be-55296>>Cd)],De=(De<<Yu)+(be&jc),this.data[De];if(be<this.highStart)return De=Kd-BA+(be>>Hc),De=this.index[De],De+=be>>Cd&Eh,De=this.index[De],De=(De<<Yu)+(be&jc),this.data[De];if(be<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Ee}(),Bc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),nc=0;nc<Bc.length;nc++)Dc[Bc.charCodeAt(nc)]=nc;var SA=1,ah=2,EA=3,FA=4,ml=5,ju=7,AA=8,kA=9,ud=10,e0=11,pc=12,Fh=13,t0=14,Df=15,oh=function(Ee){for(var be=[],De=0,Ie=Ee.length;De<Ie;){var yt=Ee.charCodeAt(De++);if(yt>=55296&&yt<=56319&&De<Ie){var Kt=Ee.charCodeAt(De++);(Kt&64512)===56320?be.push(((yt&1023)<<10)+(Kt&1023)+65536):(be.push(yt),De--)}else be.push(yt)}return be},Nf=function(){for(var Ee=[],be=0;be<arguments.length;be++)Ee[be]=arguments[be];if(String.fromCodePoint)return String.fromCodePoint.apply(String,Ee);var De=Ee.length;if(!De)return"";for(var Ie=[],yt=-1,Kt="";++yt<De;){var un=Ee[yt];un<=65535?Ie.push(un):(un-=65536,Ie.push((un>>10)+55296,un%1024+56320)),(yt+1===De||Ie.length>16384)&&(Kt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return Kt},wf=Lc(Wl),Li="\xD7",sh="\xF7",kh=function(Ee){return wf.get(Ee)},n0=function(Ee,be,De){var Ie=De-2,yt=be[Ie],Kt=be[De-1],un=be[De];if(Kt===ah&&un===EA)return Li;if(Kt===ah||Kt===EA||Kt===FA||un===ah||un===EA||un===FA)return sh;if(Kt===AA&&[AA,kA,e0,pc].indexOf(un)!==-1||(Kt===e0||Kt===kA)&&(un===kA||un===ud)||(Kt===pc||Kt===ud)&&un===ud||un===Fh||un===ml||un===ju||Kt===SA)return Li;if(Kt===Fh&&un===t0){for(;yt===ml;)yt=be[--Ie];if(yt===t0)return Li}if(Kt===Df&&un===Df){for(var Pn=0;yt===Df;)Pn++,yt=be[--Ie];if(Pn%2===0)return Li}return sh},MA=function(Ee){var be=oh(Ee),De=be.length,Ie=0,yt=0,Kt=be.map(kh);return{next:function(){if(Ie>=De)return{done:!0,value:null};for(var un=Li;Ie<De&&(un=n0(be,Kt,++Ie))===Li;);if(un!==Li||Ie===De){var Pn=Nf.apply(null,be.slice(yt,Ie));return yt=Ie,{value:Pn,done:!1}}return{done:!0,value:null}}}},Of=function(Ee){for(var be=MA(Ee),De=[],Ie;!(Ie=be.next()).done;)Ie.value&&De.push(Ie.value.slice());return De},lh=function(Ee){var be=123;if(Ee.createRange){var De=Ee.createRange();if(De.getBoundingClientRect){var Ie=Ee.createElement("boundtest");Ie.style.height=be+"px",Ie.style.display="block",Ee.body.appendChild(Ie),De.selectNode(Ie);var yt=De.getBoundingClientRect(),Kt=Math.round(yt.height);if(Ee.body.removeChild(Ie),Kt===be)return!0}}return!1},xf=function(Ee){var be=Ee.createElement("boundtest");be.style.width="50px",be.style.display="block",be.style.fontSize="12px",be.style.letterSpacing="0px",be.style.wordSpacing="0px",Ee.body.appendChild(be);var De=Ee.createRange();be.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var Ie=be.firstChild,yt=Ae(Ie.data).map(function(Rn){return we(Rn)}),Kt=0,un={},Pn=yt.every(function(Rn,zr){De.setStart(Ie,Kt),De.setEnd(Ie,Kt+Rn.length);var qr=De.getBoundingClientRect();Kt+=Rn.length;var ri=qr.x>un.x||qr.y>un.y;return un=qr,zr===0?!0:ri});return Ee.body.removeChild(be),Pn},Ou=function(){return typeof new Image().crossOrigin!="undefined"},Cf=function(){return typeof new XMLHttpRequest().responseType=="string"},Mh=function(Ee){var be=new Image,De=Ee.createElement("canvas"),Ie=De.getContext("2d");if(!Ie)return!1;be.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Ie.drawImage(be,0,0),De.toDataURL()}catch(yt){return!1}return!0},_A=function(Ee){return Ee[0]===0&&Ee[1]===255&&Ee[2]===0&&Ee[3]===255},uh=function(Ee){var be=Ee.createElement("canvas"),De=100;be.width=De,be.height=De;var Ie=be.getContext("2d");if(!Ie)return Promise.reject(!1);Ie.fillStyle="rgb(0, 255, 0)",Ie.fillRect(0,0,De,De);var yt=new Image,Kt=be.toDataURL();yt.src=Kt;var un=IA(De,De,0,0,yt);return Ie.fillStyle="red",Ie.fillRect(0,0,De,De),JA(un).then(function(Pn){Ie.drawImage(Pn,0,0);var Rn=Ie.getImageData(0,0,De,De).data;Ie.fillStyle="red",Ie.fillRect(0,0,De,De);var zr=Ee.createElement("div");return zr.style.backgroundImage="url("+Kt+")",zr.style.height=De+"px",_A(Rn)?JA(IA(De,De,0,0,zr)):Promise.reject(!1)}).then(function(Pn){return Ie.drawImage(Pn,0,0),_A(Ie.getImageData(0,0,De,De).data)}).catch(function(){return!1})},IA=function(Ee,be,De,Ie,yt){var Kt="http://www.w3.org/2000/svg",un=document.createElementNS(Kt,"svg"),Pn=document.createElementNS(Kt,"foreignObject");return un.setAttributeNS(null,"width",Ee.toString()),un.setAttributeNS(null,"height",be.toString()),Pn.setAttributeNS(null,"width","100%"),Pn.setAttributeNS(null,"height","100%"),Pn.setAttributeNS(null,"x",De.toString()),Pn.setAttributeNS(null,"y",Ie.toString()),Pn.setAttributeNS(null,"externalResourcesRequired","true"),un.appendChild(Pn),Pn.appendChild(yt),un},JA=function(Ee){return new Promise(function(be,De){var Ie=new Image;Ie.onload=function(){return be(Ie)},Ie.onerror=De,Ie.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ee))})},fu={get SUPPORT_RANGE_BOUNDS(){var Ee=lh(document);return Object.defineProperty(fu,"SUPPORT_RANGE_BOUNDS",{value:Ee}),Ee},get SUPPORT_WORD_BREAKING(){var Ee=fu.SUPPORT_RANGE_BOUNDS&&xf(document);return Object.defineProperty(fu,"SUPPORT_WORD_BREAKING",{value:Ee}),Ee},get SUPPORT_SVG_DRAWING(){var Ee=Mh(document);return Object.defineProperty(fu,"SUPPORT_SVG_DRAWING",{value:Ee}),Ee},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ee=typeof Array.from=="function"&&typeof window.fetch=="function"?uh(document):Promise.resolve(!1);return Object.defineProperty(fu,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ee}),Ee},get SUPPORT_CORS_IMAGES(){var Ee=Ou();return Object.defineProperty(fu,"SUPPORT_CORS_IMAGES",{value:Ee}),Ee},get SUPPORT_RESPONSE_TYPE(){var Ee=Cf();return Object.defineProperty(fu,"SUPPORT_RESPONSE_TYPE",{value:Ee}),Ee},get SUPPORT_CORS_XHR(){var Ee="withCredentials"in new XMLHttpRequest;return Object.defineProperty(fu,"SUPPORT_CORS_XHR",{value:Ee}),Ee},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ee=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(fu,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ee}),Ee}},nd=function(){function Ee(be,De){this.text=be,this.bounds=De}return Ee}(),Vc=function(Ee,be,De,Ie){var yt=$A(be,De),Kt=[],un=0;return yt.forEach(function(Pn){if(De.textDecorationLine.length||Pn.trim().length>0)if(fu.SUPPORT_RANGE_BOUNDS){var Rn=Sl(Ie,un,Pn.length).getClientRects();if(Rn.length>1){var zr=Zl(Pn),qr=0;zr.forEach(function(ea){Kt.push(new nd(ea,Ne.fromDOMRectList(Ee,Sl(Ie,qr+un,ea.length).getClientRects()))),qr+=ea.length})}else Kt.push(new nd(Pn,Ne.fromDOMRectList(Ee,Rn)))}else{var ri=Ie.splitText(Pn.length);Kt.push(new nd(Pn,qA(Ee,Ie))),Ie=ri}else fu.SUPPORT_RANGE_BOUNDS||(Ie=Ie.splitText(Pn.length));un+=Pn.length}),Kt},qA=function(Ee,be){var De=be.ownerDocument;if(De){var Ie=De.createElement("html2canvaswrapper");Ie.appendChild(be.cloneNode(!0));var yt=be.parentNode;if(yt){yt.replaceChild(Ie,be);var Kt=Le(Ee,Ie);return Ie.firstChild&&yt.replaceChild(Ie.firstChild,Ie),Kt}}return Ne.EMPTY},Sl=function(Ee,be,De){var Ie=Ee.ownerDocument;if(!Ie)throw new Error("Node has no owner document");var yt=Ie.createRange();return yt.setStart(Ee,be),yt.setEnd(Ee,be+De),yt},Zl=function(Ee){if(fu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var be=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(be.segment(Ee)).map(function(De){return De.segment})}return Of(Ee)},Bd=function(Ee,be){if(fu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var De=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(De.segment(Ee)).map(function(Ie){return Ie.segment})}return _0(Ee,be)},$A=function(Ee,be){return be.letterSpacing!==0?Zl(Ee):Bd(Ee,be)},ef=[32,160,4961,65792,65793,4153,4241],_0=function(Ee,be){for(var De=on(Ee,{lineBreak:be.lineBreak,wordBreak:be.overflowWrap==="break-word"?"break-word":be.wordBreak}),Ie=[],yt,Kt=function(){if(yt.value){var un=yt.value.slice(),Pn=Ae(un),Rn="";Pn.forEach(function(zr){ef.indexOf(zr)===-1?Rn+=we(zr):(Rn.length&&Ie.push(Rn),Ie.push(we(zr)),Rn="")}),Rn.length&&Ie.push(Rn)}};!(yt=De.next()).done;)Kt();return Ie},Nc=function(){function Ee(be,De,Ie){this.text=LA(De.data,Ie.textTransform),this.textBounds=Vc(be,this.text,Ie,De)}return Ee}(),LA=function(Ee,be){switch(be){case 1:return Ee.toLowerCase();case 3:return Ee.replace(I0,Bf);case 2:return Ee.toUpperCase();default:return Ee}},I0=/(^|\s|:|-|\(|\))([a-z])/g,Bf=function(Ee,be,De){return Ee.length>0?be+De.toUpperCase():Ee},L0=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.src=Ie.currentSrc||Ie.src,yt.intrinsicWidth=Ie.naturalWidth,yt.intrinsicHeight=Ie.naturalHeight,yt.context.cache.addImage(yt.src),yt}return be}(la),Vl=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.canvas=Ie,yt.intrinsicWidth=Ie.width,yt.intrinsicHeight=Ie.height,yt}return be}(la),_h=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this,Kt=new XMLSerializer,un=Le(De,Ie);return Ie.setAttribute("width",un.width+"px"),Ie.setAttribute("height",un.height+"px"),yt.svg="data:image/svg+xml,"+encodeURIComponent(Kt.serializeToString(Ie)),yt.intrinsicWidth=Ie.width.baseVal.value,yt.intrinsicHeight=Ie.height.baseVal.value,yt.context.cache.addImage(yt.svg),yt}return be}(la),Sf=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.value=Ie.value,yt}return be}(la),Ih=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.start=Ie.start,yt.reversed=typeof Ie.reversed=="boolean"&&Ie.reversed===!0,yt}return be}(la),Ei=[{type:15,flags:0,unit:"px",number:3}],om=[{type:16,flags:0,number:50}],sm=function(Ee){return Ee.width>Ee.height?new Ne(Ee.left+(Ee.width-Ee.height)/2,Ee.top,Ee.height,Ee.height):Ee.width<Ee.height?new Ne(Ee.left,Ee.top+(Ee.height-Ee.width)/2,Ee.width,Ee.width):Ee},ap=function(Ee){var be=Ee.type===Tf?new Array(Ee.value.length+1).join("\u2022"):Ee.value;return be.length===0?Ee.placeholder||"":be},r0="checkbox",tf="radio",Tf="password",op=707406591,rd=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;switch(yt.type=Ie.type.toLowerCase(),yt.checked=Ie.checked,yt.value=ap(Ie),(yt.type===r0||yt.type===tf)&&(yt.styles.backgroundColor=3739148031,yt.styles.borderTopColor=yt.styles.borderRightColor=yt.styles.borderBottomColor=yt.styles.borderLeftColor=2779096575,yt.styles.borderTopWidth=yt.styles.borderRightWidth=yt.styles.borderBottomWidth=yt.styles.borderLeftWidth=1,yt.styles.borderTopStyle=yt.styles.borderRightStyle=yt.styles.borderBottomStyle=yt.styles.borderLeftStyle=1,yt.styles.backgroundClip=[0],yt.styles.backgroundOrigin=[0],yt.bounds=sm(yt.bounds)),yt.type){case r0:yt.styles.borderTopRightRadius=yt.styles.borderTopLeftRadius=yt.styles.borderBottomRightRadius=yt.styles.borderBottomLeftRadius=Ei;break;case tf:yt.styles.borderTopRightRadius=yt.styles.borderTopLeftRadius=yt.styles.borderBottomRightRadius=yt.styles.borderBottomLeftRadius=om;break}return yt}return be}(la),Pf=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this,Kt=Ie.options[Ie.selectedIndex||0];return yt.value=Kt&&Kt.text||"",yt}return be}(la),i0=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.value=Ie.value,yt}return be}(la),D0=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;yt.src=Ie.src,yt.width=parseInt(Ie.width,10)||0,yt.height=parseInt(Ie.height,10)||0,yt.backgroundColor=yt.styles.backgroundColor;try{if(Ie.contentWindow&&Ie.contentWindow.document&&Ie.contentWindow.document.documentElement){yt.tree=Bp(De,Ie.contentWindow.document.documentElement);var Kt=Ie.contentWindow.document.documentElement?wc(De,getComputedStyle(Ie.contentWindow.document.documentElement).backgroundColor):Kl.TRANSPARENT,un=Ie.contentWindow.document.body?wc(De,getComputedStyle(Ie.contentWindow.document.body).backgroundColor):Kl.TRANSPARENT;yt.backgroundColor=ol(Kt)?ol(un)?yt.styles.backgroundColor:un:Kt}}catch(Pn){}return yt}return be}(la),N0=["OL","UL","MENU"],Lh=function(Ee,be,De,Ie){for(var yt=be.firstChild,Kt=void 0;yt;yt=Kt)if(Kt=yt.nextSibling,Rf(yt)&&yt.data.trim().length>0)De.textNodes.push(new Nc(Ee,yt,De.styles));else if(Dh(yt))if(Oh(yt)&&yt.assignedNodes)yt.assignedNodes().forEach(function(Pn){return Lh(Ee,Pn,De,Ie)});else{var un=sp(Ee,yt);un.styles.isVisible()&&(O0(yt,un,Ie)?un.flags|=4:Wd(un.styles)&&(un.flags|=2),N0.indexOf(yt.tagName)!==-1&&(un.flags|=8),De.elements.push(un),yt.slot,yt.shadowRoot?Lh(Ee,yt.shadowRoot,un,Ie):!Nh(yt)&&!Sp(yt)&&!a0(yt)&&Lh(Ee,yt,un,Ie))}},sp=function(Ee,be){return TA(be)?new L0(Ee,be):um(be)?new Vl(Ee,be):Sp(be)?new _h(Ee,be):lm(be)?new Sf(Ee,be):lp(be)?new Ih(Ee,be):Hm(be)?new rd(Ee,be):a0(be)?new Pf(Ee,be):Nh(be)?new i0(Ee,be):nf(be)?new D0(Ee,be):new la(Ee,be)},Bp=function(Ee,be){var De=sp(Ee,be);return De.flags|=4,Lh(Ee,be,De,De),De},O0=function(Ee,be,De){return be.styles.isPositionedWithZIndex()||be.styles.opacity<1||be.styles.isTransformed()||zs(Ee)&&De.styles.isTransparent()},Wd=function(Ee){return Ee.isPositioned()||Ee.isFloating()},Rf=function(Ee){return Ee.nodeType===Node.TEXT_NODE},Dh=function(Ee){return Ee.nodeType===Node.ELEMENT_NODE},T0=function(Ee){return Dh(Ee)&&typeof Ee.style!="undefined"&&!Af(Ee)},Af=function(Ee){return typeof Ee.className=="object"},lm=function(Ee){return Ee.tagName==="LI"},lp=function(Ee){return Ee.tagName==="OL"},Hm=function(Ee){return Ee.tagName==="INPUT"},jm=function(Ee){return Ee.tagName==="HTML"},Sp=function(Ee){return Ee.tagName==="svg"},zs=function(Ee){return Ee.tagName==="BODY"},um=function(Ee){return Ee.tagName==="CANVAS"},up=function(Ee){return Ee.tagName==="VIDEO"},TA=function(Ee){return Ee.tagName==="IMG"},nf=function(Ee){return Ee.tagName==="IFRAME"},Uf=function(Ee){return Ee.tagName==="STYLE"},P0=function(Ee){return Ee.tagName==="SCRIPT"},Nh=function(Ee){return Ee.tagName==="TEXTAREA"},a0=function(Ee){return Ee.tagName==="SELECT"},Oh=function(Ee){return Ee.tagName==="SLOT"},Ep=function(Ee){return Ee.tagName.indexOf("-")>0},cm=function(){function Ee(){this.counters={}}return Ee.prototype.getCounterValue=function(be){var De=this.counters[be];return De&&De.length?De[De.length-1]:1},Ee.prototype.getCounterValues=function(be){var De=this.counters[be];return De||[]},Ee.prototype.pop=function(be){var De=this;be.forEach(function(Ie){return De.counters[Ie].pop()})},Ee.prototype.parse=function(be){var De=this,Ie=be.counterIncrement,yt=be.counterReset,Kt=!0;Ie!==null&&Ie.forEach(function(Pn){var Rn=De.counters[Pn.counter];Rn&&Pn.increment!==0&&(Kt=!1,Rn.length||Rn.push(1),Rn[Math.max(0,Rn.length-1)]+=Pn.increment)});var un=[];return Kt&&yt.forEach(function(Pn){var Rn=De.counters[Pn.counter];un.push(Pn.counter),Rn||(Rn=De.counters[Pn.counter]=[]),Rn.push(Pn.reset)}),un},Ee}(),R0={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},o0={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},dm={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Qu={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},ch=function(Ee,be,De,Ie,yt,Kt){return Ee<be||Ee>De?ue(Ee,yt,Kt.length>0):Ie.integers.reduce(function(un,Pn,Rn){for(;Ee>=Pn;)Ee-=Pn,un+=Ie.values[Rn];return un},"")+Kt},Qm=function(Ee,be,De,Ie){var yt="";do De||Ee--,yt=Ie(Ee)+yt,Ee/=be;while(Ee*be>=be);return yt},mc=function(Ee,be,De,Ie,yt){var Kt=De-be+1;return(Ee<0?"-":"")+(Qm(Math.abs(Ee),Kt,Ie,function(un){return we(Math.floor(un%Kt)+be)})+yt)},dh=function(Ee,be,De){De===void 0&&(De=". ");var Ie=be.length;return Qm(Math.abs(Ee),Ie,!1,function(yt){return be[Math.floor(yt%Ie)]})+De},Ef=1,Hf=2,su=4,ff=8,DA=function(Ee,be,De,Ie,yt,Kt){if(Ee<-9999||Ee>9999)return ue(Ee,4,yt.length>0);var un=Math.abs(Ee),Pn=yt;if(un===0)return be[0]+Pn;for(var Rn=0;un>0&&Rn<=4;Rn++){var zr=un%10;zr===0&&wo(Kt,Ef)&&Pn!==""?Pn=be[zr]+Pn:zr>1||zr===1&&Rn===0||zr===1&&Rn===1&&wo(Kt,Hf)||zr===1&&Rn===1&&wo(Kt,su)&&Ee>100||zr===1&&Rn>1&&wo(Kt,ff)?Pn=be[zr]+(Rn>0?De[Rn-1]:"")+Pn:zr===1&&Rn>0&&(Pn=De[Rn-1]+Pn),un=Math.floor(un/10)}return(Ee<0?Ie:"")+Pn},Ff="\u5341\u767E\u5343\u842C",rf="\u62FE\u4F70\u4EDF\u842C",x="\u30DE\u30A4\u30CA\u30B9",ee="\uB9C8\uC774\uB108\uC2A4",ue=function(Ee,be,De){var Ie=De?". ":"",yt=De?"\u3001":"",Kt=De?", ":"",un=De?" ":"";switch(be){case 0:return"\u2022"+un;case 1:return"\u25E6"+un;case 2:return"\u25FE"+un;case 5:var Pn=mc(Ee,48,57,!0,Ie);return Pn.length<4?"0"+Pn:Pn;case 4:return dh(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",yt);case 6:return ch(Ee,1,3999,R0,3,Ie).toLowerCase();case 7:return ch(Ee,1,3999,R0,3,Ie);case 8:return mc(Ee,945,969,!1,Ie);case 9:return mc(Ee,97,122,!1,Ie);case 10:return mc(Ee,65,90,!1,Ie);case 11:return mc(Ee,1632,1641,!0,Ie);case 12:case 49:return ch(Ee,1,9999,o0,3,Ie);case 35:return ch(Ee,1,9999,o0,3,Ie).toLowerCase();case 13:return mc(Ee,2534,2543,!0,Ie);case 14:case 30:return mc(Ee,6112,6121,!0,Ie);case 15:return dh(Ee,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",yt);case 16:return dh(Ee,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",yt);case 17:case 48:return DA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ff,"\u8CA0",yt,Hf|su|ff);case 47:return DA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",rf,"\u8CA0",yt,Ef|Hf|su|ff);case 42:return DA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ff,"\u8D1F",yt,Hf|su|ff);case 41:return DA(Ee,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",rf,"\u8D1F",yt,Ef|Hf|su|ff);case 26:return DA(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",x,yt,0);case 25:return DA(Ee,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",x,yt,Ef|Hf|su);case 31:return DA(Ee,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ee,Kt,Ef|Hf|su);case 33:return DA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ee,Kt,0);case 32:return DA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ee,Kt,Ef|Hf|su);case 18:return mc(Ee,2406,2415,!0,Ie);case 20:return ch(Ee,1,19999,Qu,3,Ie);case 21:return mc(Ee,2790,2799,!0,Ie);case 22:return mc(Ee,2662,2671,!0,Ie);case 22:return ch(Ee,1,10999,dm,3,Ie);case 23:return dh(Ee,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return dh(Ee,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return mc(Ee,3302,3311,!0,Ie);case 28:return dh(Ee,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",yt);case 29:return dh(Ee,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",yt);case 34:return mc(Ee,3792,3801,!0,Ie);case 37:return mc(Ee,6160,6169,!0,Ie);case 38:return mc(Ee,4160,4169,!0,Ie);case 39:return mc(Ee,2918,2927,!0,Ie);case 40:return mc(Ee,1776,1785,!0,Ie);case 43:return mc(Ee,3046,3055,!0,Ie);case 44:return mc(Ee,3174,3183,!0,Ie);case 45:return mc(Ee,3664,3673,!0,Ie);case 46:return mc(Ee,3872,3881,!0,Ie);case 3:default:return mc(Ee,48,57,!0,Ie)}},le="data-html2canvas-ignore",me=function(){function Ee(be,De,Ie){if(this.context=be,this.options=Ie,this.scrolledElements=[],this.referenceElement=De,this.counters=new cm,this.quoteDepth=0,!De.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(De.ownerDocument.documentElement,!1)}return Ee.prototype.toIFrame=function(be,De){var Ie=this,yt=mt(be,De);if(!yt.contentWindow)return Promise.reject("Unable to find iframe window");var Kt=be.defaultView.pageXOffset,un=be.defaultView.pageYOffset,Pn=yt.contentWindow,Rn=Pn.document,zr=Jt(yt).then(function(){return Me(Ie,void 0,void 0,function(){var qr,ri;return Ue(this,function(ea){switch(ea.label){case 0:return this.scrolledElements.forEach(Ri),Pn&&(Pn.scrollTo(De.left,De.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Pn.scrollY!==De.top||Pn.scrollX!==De.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Pn.scrollX-De.left,Pn.scrollY-De.top,0,0))),qr=this.options.onclone,ri=this.clonedReferenceElement,typeof ri=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Rn.fonts&&Rn.fonts.ready?[4,Rn.fonts.ready]:[3,2];case 1:ea.sent(),ea.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ht(Rn)]:[3,4];case 3:ea.sent(),ea.label=4;case 4:return typeof qr=="function"?[2,Promise.resolve().then(function(){return qr(Rn,ri)}).then(function(){return yt})]:[2,yt]}})})});return Rn.open(),Rn.write(ei(document.doctype)+"<html></html>"),Kr(this.referenceElement.ownerDocument,Kt,un),Rn.replaceChild(Rn.adoptNode(this.documentElement),Rn.documentElement),Rn.close(),zr},Ee.prototype.createElementClone=function(be){if(xl(be,2))debugger;if(um(be))return this.createCanvasClone(be);if(up(be))return this.createVideoClone(be);if(Uf(be))return this.createStyleClone(be);var De=be.cloneNode(!1);return TA(De)&&(TA(be)&&be.currentSrc&&be.currentSrc!==be.src&&(De.src=be.currentSrc,De.srcset=""),De.loading==="lazy"&&(De.loading="eager")),Ep(De)?this.createCustomElementClone(De):De},Ee.prototype.createCustomElementClone=function(be){var De=document.createElement("html2canvascustomelement");return tr(be.style,De),De},Ee.prototype.createStyleClone=function(be){try{var De=be.sheet;if(De&&De.cssRules){var Ie=[].slice.call(De.cssRules,0).reduce(function(Kt,un){return un&&typeof un.cssText=="string"?Kt+un.cssText:Kt},""),yt=be.cloneNode(!1);return yt.textContent=Ie,yt}}catch(Kt){if(this.context.logger.error("Unable to access cssRules property",Kt),Kt.name!=="SecurityError")throw Kt}return be.cloneNode(!1)},Ee.prototype.createCanvasClone=function(be){var De;if(this.options.inlineImages&&be.ownerDocument){var Ie=be.ownerDocument.createElement("img");try{return Ie.src=be.toDataURL(),Ie}catch(zr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",be)}}var yt=be.cloneNode(!1);try{yt.width=be.width,yt.height=be.height;var Kt=be.getContext("2d"),un=yt.getContext("2d");if(un)if(!this.options.allowTaint&&Kt)un.putImageData(Kt.getImageData(0,0,be.width,be.height),0,0);else{var Pn=(De=be.getContext("webgl2"))!==null&&De!==void 0?De:be.getContext("webgl");if(Pn){var Rn=Pn.getContextAttributes();(Rn==null?void 0:Rn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",be)}un.drawImage(be,0,0)}return yt}catch(zr){this.context.logger.info("Unable to clone canvas as it is tainted",be)}return yt},Ee.prototype.createVideoClone=function(be){var De=be.ownerDocument.createElement("canvas");De.width=be.offsetWidth,De.height=be.offsetHeight;var Ie=De.getContext("2d");try{return Ie&&(Ie.drawImage(be,0,0,De.width,De.height),this.options.allowTaint||Ie.getImageData(0,0,De.width,De.height)),De}catch(Kt){this.context.logger.info("Unable to clone video as it is tainted",be)}var yt=be.ownerDocument.createElement("canvas");return yt.width=be.offsetWidth,yt.height=be.offsetHeight,yt},Ee.prototype.appendChildNode=function(be,De,Ie){(!Dh(De)||!P0(De)&&!De.hasAttribute(le)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(De)))&&(!this.options.copyStyles||!Dh(De)||!Uf(De))&&be.appendChild(this.cloneNode(De,Ie))},Ee.prototype.cloneChildNodes=function(be,De,Ie){for(var yt=this,Kt=be.shadowRoot?be.shadowRoot.firstChild:be.firstChild;Kt;Kt=Kt.nextSibling)if(Dh(Kt)&&Oh(Kt)&&typeof Kt.assignedNodes=="function"){var un=Kt.assignedNodes();un.length&&un.forEach(function(Pn){return yt.appendChildNode(De,Pn,Ie)})}else this.appendChildNode(De,Kt,Ie)},Ee.prototype.cloneNode=function(be,De){if(Rf(be))return document.createTextNode(be.data);if(!be.ownerDocument)return be.cloneNode(!1);var Ie=be.ownerDocument.defaultView;if(Ie&&Dh(be)&&(T0(be)||Af(be))){var yt=this.createElementClone(be);yt.style.transitionProperty="none";var Kt=Ie.getComputedStyle(be),un=Ie.getComputedStyle(be,":before"),Pn=Ie.getComputedStyle(be,":after");this.referenceElement===be&&T0(yt)&&(this.clonedReferenceElement=yt),zs(yt)&&Ro(yt);var Rn=this.counters.parse(new zd(this.context,Kt)),zr=this.resolvePseudoContent(be,yt,un,Ve.BEFORE);Ep(be)&&(De=!0),up(be)||this.cloneChildNodes(be,yt,De),zr&&yt.insertBefore(zr,yt.firstChild);var qr=this.resolvePseudoContent(be,yt,Pn,Ve.AFTER);return qr&&yt.appendChild(qr),this.counters.pop(Rn),(Kt&&(this.options.copyStyles||Af(be))&&!nf(be)||De)&&tr(Kt,yt),(be.scrollTop!==0||be.scrollLeft!==0)&&this.scrolledElements.push([yt,be.scrollLeft,be.scrollTop]),(Nh(be)||a0(be))&&(Nh(yt)||a0(yt))&&(yt.value=be.value),yt}return be.cloneNode(!1)},Ee.prototype.resolvePseudoContent=function(be,De,Ie,yt){var Kt=this;if(Ie){var un=Ie.content,Pn=De.ownerDocument;if(!(!Pn||!un||un==="none"||un==="-moz-alt-content"||Ie.display==="none")){this.counters.parse(new zd(this.context,Ie));var Rn=new tc(this.context,Ie),zr=Pn.createElement("html2canvaspseudoelement");tr(Ie,zr),Rn.content.forEach(function(ri){if(ri.type===0)zr.appendChild(Pn.createTextNode(ri.value));else if(ri.type===22){var ea=Pn.createElement("img");ea.src=ri.value,ea.style.opacity="1",zr.appendChild(ea)}else if(ri.type===18){if(ri.name==="attr"){var ns=ri.values.filter(hs);ns.length&&zr.appendChild(Pn.createTextNode(be.getAttribute(ns[0].value)||""))}else if(ri.name==="counter"){var eo=ri.values.filter(Cr),No=eo[0],El=eo[1];if(No&&hs(No)){var ds=Kt.counters.getCounterValue(No.value),ls=El&&hs(El)?Jr.parse(Kt.context,El.value):3;zr.appendChild(Pn.createTextNode(ue(ds,ls,!1)))}}else if(ri.name==="counters"){var dl=ri.values.filter(Cr),No=dl[0],zl=dl[1],El=dl[2];if(No&&hs(No)){var nl=Kt.counters.getCounterValues(No.value),Yo=El&&hs(El)?Jr.parse(Kt.context,El.value):3,uu=zl&&zl.type===0?zl.value:"",Dl=nl.map(function(nA){return ue(nA,Yo,!1)}).join(uu);zr.appendChild(Pn.createTextNode(Dl))}}}else if(ri.type===20)switch(ri.value){case"open-quote":zr.appendChild(Pn.createTextNode(Ss(Rn.quotes,Kt.quoteDepth++,!0)));break;case"close-quote":zr.appendChild(Pn.createTextNode(Ss(Rn.quotes,--Kt.quoteDepth,!1)));break;default:zr.appendChild(Pn.createTextNode(ri.value))}}),zr.className=yo+" "+ko;var qr=yt===Ve.BEFORE?" "+yo:" "+ko;return Af(De)?De.className.baseValue+=qr:De.className+=qr,zr}}},Ee.destroy=function(be){return be.parentNode?(be.parentNode.removeChild(be),!0):!1},Ee}(),Ve;(function(Ee){Ee[Ee.BEFORE=0]="BEFORE",Ee[Ee.AFTER=1]="AFTER"})(Ve||(Ve={}));var mt=function(Ee,be){var De=Ee.createElement("iframe");return De.className="html2canvas-container",De.style.visibility="hidden",De.style.position="fixed",De.style.left="-10000px",De.style.top="0px",De.style.border="0",De.width=be.width.toString(),De.height=be.height.toString(),De.scrolling="no",De.setAttribute(le,"true"),Ee.body.appendChild(De),De},It=function(Ee){return new Promise(function(be){if(Ee.complete){be();return}if(!Ee.src){be();return}Ee.onload=be,Ee.onerror=be})},Ht=function(Ee){return Promise.all([].slice.call(Ee.images,0).map(It))},Jt=function(Ee){return new Promise(function(be,De){var Ie=Ee.contentWindow;if(!Ie)return De("No window assigned for iframe");var yt=Ie.document;Ie.onload=Ee.onload=function(){Ie.onload=Ee.onload=null;var Kt=setInterval(function(){yt.body.childNodes.length>0&&yt.readyState==="complete"&&(clearInterval(Kt),be(Ee))},50)}})},zn=["all","d","content"],tr=function(Ee,be){for(var De=Ee.length-1;De>=0;De--){var Ie=Ee.item(De);zn.indexOf(Ie)===-1&&be.style.setProperty(Ie,Ee.getPropertyValue(Ie))}return be},ei=function(Ee){var be="";return Ee&&(be+="<!DOCTYPE ",Ee.name&&(be+=Ee.name),Ee.internalSubset&&(be+=Ee.internalSubset),Ee.publicId&&(be+='"'+Ee.publicId+'"'),Ee.systemId&&(be+='"'+Ee.systemId+'"'),be+=">"),be},Kr=function(Ee,be,De){Ee&&Ee.defaultView&&(be!==Ee.defaultView.pageXOffset||De!==Ee.defaultView.pageYOffset)&&Ee.defaultView.scrollTo(be,De)},Ri=function(Ee){var be=Ee[0],De=Ee[1],Ie=Ee[2];be.scrollLeft=De,be.scrollTop=Ie},ga=":before",Ga=":after",yo="___html2canvas___pseudoelement_before",ko="___html2canvas___pseudoelement_after",Ao=`{
content: "" !important;
display: none !important;
}`,Ro=function(Ee){ms(Ee,"."+yo+ga+Ao+`
.`+ko+Ga+Ao)},ms=function(Ee,be){var De=Ee.ownerDocument;if(De){var Ie=De.createElement("style");Ie.textContent=be,Ee.appendChild(Ie)}},ws=function(){function Ee(){}return Ee.getOrigin=function(be){var De=Ee._link;return De?(De.href=be,De.href=De.href,De.protocol+De.hostname+De.port):"about:blank"},Ee.isSameOrigin=function(be){return Ee.getOrigin(be)===Ee._origin},Ee.setContext=function(be){Ee._link=be.document.createElement("a"),Ee._origin=Ee.getOrigin(be.location.href)},Ee._origin="about:blank",Ee}(),Rs=function(){function Ee(be,De){this.context=be,this._options=De,this._cache={}}return Ee.prototype.addImage=function(be){var De=Promise.resolve();return this.has(be)||(Zd(be)||Od(be))&&(this._cache[be]=this.loadImage(be)).catch(function(){}),De},Ee.prototype.match=function(be){return this._cache[be]},Ee.prototype.loadImage=function(be){return Me(this,void 0,void 0,function(){var De,Ie,yt,Kt,un=this;return Ue(this,function(Pn){switch(Pn.label){case 0:return De=ws.isSameOrigin(be),Ie=!Sd(be)&&this._options.useCORS===!0&&fu.SUPPORT_CORS_IMAGES&&!De,yt=!Sd(be)&&!De&&!Zd(be)&&typeof this._options.proxy=="string"&&fu.SUPPORT_CORS_XHR&&!Ie,!De&&this._options.allowTaint===!1&&!Sd(be)&&!Zd(be)&&!yt&&!Ie?[2]:(Kt=be,yt?[4,this.proxy(Kt)]:[3,2]);case 1:Kt=Pn.sent(),Pn.label=2;case 2:return this.context.logger.debug("Added image "+be.substring(0,256)),[4,new Promise(function(Rn,zr){var qr=new Image;qr.onload=function(){return Rn(qr)},qr.onerror=zr,(cd(Kt)||Ie)&&(qr.crossOrigin="anonymous"),qr.src=Kt,qr.complete===!0&&setTimeout(function(){return Rn(qr)},500),un._options.imageTimeout>0&&setTimeout(function(){return zr("Timed out ("+un._options.imageTimeout+"ms) loading image")},un._options.imageTimeout)})];case 3:return[2,Pn.sent()]}})})},Ee.prototype.has=function(be){return typeof this._cache[be]!="undefined"},Ee.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ee.prototype.proxy=function(be){var De=this,Ie=this._options.proxy;if(!Ie)throw new Error("No proxy defined");var yt=be.substring(0,256);return new Promise(function(Kt,un){var Pn=fu.SUPPORT_RESPONSE_TYPE?"blob":"text",Rn=new XMLHttpRequest;Rn.onload=function(){if(Rn.status===200)if(Pn==="text")Kt(Rn.response);else{var ri=new FileReader;ri.addEventListener("load",function(){return Kt(ri.result)},!1),ri.addEventListener("error",function(ea){return un(ea)},!1),ri.readAsDataURL(Rn.response)}else un("Failed to proxy resource "+yt+" with status code "+Rn.status)},Rn.onerror=un;var zr=Ie.indexOf("?")>-1?"&":"?";if(Rn.open("GET",""+Ie+zr+"url="+encodeURIComponent(be)+"&responseType="+Pn),Pn!=="text"&&Rn instanceof XMLHttpRequest&&(Rn.responseType=Pn),De._options.imageTimeout){var qr=De._options.imageTimeout;Rn.timeout=qr,Rn.ontimeout=function(){return un("Timed out ("+qr+"ms) proxying "+yt)}}Rn.send()})},Ee}(),zu=/^data:image\/svg\+xml/i,pd=/^data:image\/.*;base64,/i,Sc=/^data:image\/.*/i,Od=function(Ee){return fu.SUPPORT_SVG_DRAWING||!rl(Ee)},Sd=function(Ee){return Sc.test(Ee)},cd=function(Ee){return pd.test(Ee)},Zd=function(Ee){return Ee.substr(0,4)==="blob"},rl=function(Ee){return Ee.substr(-3).toLowerCase()==="svg"||zu.test(Ee)},uo=function(){function Ee(be,De){this.type=0,this.x=be,this.y=De}return Ee.prototype.add=function(be,De){return new Ee(this.x+be,this.y+De)},Ee}(),Ju=function(Ee,be,De){return new uo(Ee.x+(be.x-Ee.x)*De,Ee.y+(be.y-Ee.y)*De)},Ec=function(){function Ee(be,De,Ie,yt){this.type=1,this.start=be,this.startControl=De,this.endControl=Ie,this.end=yt}return Ee.prototype.subdivide=function(be,De){var Ie=Ju(this.start,this.startControl,be),yt=Ju(this.startControl,this.endControl,be),Kt=Ju(this.endControl,this.end,be),un=Ju(Ie,yt,be),Pn=Ju(yt,Kt,be),Rn=Ju(un,Pn,be);return De?new Ee(this.start,Ie,un,Rn):new Ee(Rn,Pn,Kt,this.end)},Ee.prototype.add=function(be,De){return new Ee(this.start.add(be,De),this.startControl.add(be,De),this.endControl.add(be,De),this.end.add(be,De))},Ee.prototype.reverse=function(){return new Ee(this.end,this.endControl,this.startControl,this.start)},Ee}(),Lu=function(Ee){return Ee.type===1},Th=function(){function Ee(be){var De=be.styles,Ie=be.bounds,yt=vu(De.borderTopLeftRadius,Ie.width,Ie.height),Kt=yt[0],un=yt[1],Pn=vu(De.borderTopRightRadius,Ie.width,Ie.height),Rn=Pn[0],zr=Pn[1],qr=vu(De.borderBottomRightRadius,Ie.width,Ie.height),ri=qr[0],ea=qr[1],ns=vu(De.borderBottomLeftRadius,Ie.width,Ie.height),eo=ns[0],No=ns[1],El=[];El.push((Kt+Rn)/Ie.width),El.push((eo+ri)/Ie.width),El.push((un+No)/Ie.height),El.push((zr+ea)/Ie.height);var ds=Math.max.apply(Math,El);ds>1&&(Kt/=ds,un/=ds,Rn/=ds,zr/=ds,ri/=ds,ea/=ds,eo/=ds,No/=ds);var ls=Ie.width-Rn,dl=Ie.height-ea,zl=Ie.width-ri,nl=Ie.height-No,Yo=De.borderTopWidth,uu=De.borderRightWidth,Dl=De.borderBottomWidth,Al=De.borderLeftWidth,xo=Bs(De.paddingTop,be.bounds.width),nA=Bs(De.paddingRight,be.bounds.width),HA=Bs(De.paddingBottom,be.bounds.width),eu=Bs(De.paddingLeft,be.bounds.width);this.topLeftBorderDoubleOuterBox=Kt>0||un>0?Ql(Ie.left+Al/3,Ie.top+Yo/3,Kt-Al/3,un-Yo/3,Pl.TOP_LEFT):new uo(Ie.left+Al/3,Ie.top+Yo/3),this.topRightBorderDoubleOuterBox=Kt>0||un>0?Ql(Ie.left+ls,Ie.top+Yo/3,Rn-uu/3,zr-Yo/3,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu/3,Ie.top+Yo/3),this.bottomRightBorderDoubleOuterBox=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri-uu/3,ea-Dl/3,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu/3,Ie.top+Ie.height-Dl/3),this.bottomLeftBorderDoubleOuterBox=eo>0||No>0?Ql(Ie.left+Al/3,Ie.top+nl,eo-Al/3,No-Dl/3,Pl.BOTTOM_LEFT):new uo(Ie.left+Al/3,Ie.top+Ie.height-Dl/3),this.topLeftBorderDoubleInnerBox=Kt>0||un>0?Ql(Ie.left+Al*2/3,Ie.top+Yo*2/3,Kt-Al*2/3,un-Yo*2/3,Pl.TOP_LEFT):new uo(Ie.left+Al*2/3,Ie.top+Yo*2/3),this.topRightBorderDoubleInnerBox=Kt>0||un>0?Ql(Ie.left+ls,Ie.top+Yo*2/3,Rn-uu*2/3,zr-Yo*2/3,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu*2/3,Ie.top+Yo*2/3),this.bottomRightBorderDoubleInnerBox=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri-uu*2/3,ea-Dl*2/3,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu*2/3,Ie.top+Ie.height-Dl*2/3),this.bottomLeftBorderDoubleInnerBox=eo>0||No>0?Ql(Ie.left+Al*2/3,Ie.top+nl,eo-Al*2/3,No-Dl*2/3,Pl.BOTTOM_LEFT):new uo(Ie.left+Al*2/3,Ie.top+Ie.height-Dl*2/3),this.topLeftBorderStroke=Kt>0||un>0?Ql(Ie.left+Al/2,Ie.top+Yo/2,Kt-Al/2,un-Yo/2,Pl.TOP_LEFT):new uo(Ie.left+Al/2,Ie.top+Yo/2),this.topRightBorderStroke=Kt>0||un>0?Ql(Ie.left+ls,Ie.top+Yo/2,Rn-uu/2,zr-Yo/2,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu/2,Ie.top+Yo/2),this.bottomRightBorderStroke=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri-uu/2,ea-Dl/2,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu/2,Ie.top+Ie.height-Dl/2),this.bottomLeftBorderStroke=eo>0||No>0?Ql(Ie.left+Al/2,Ie.top+nl,eo-Al/2,No-Dl/2,Pl.BOTTOM_LEFT):new uo(Ie.left+Al/2,Ie.top+Ie.height-Dl/2),this.topLeftBorderBox=Kt>0||un>0?Ql(Ie.left,Ie.top,Kt,un,Pl.TOP_LEFT):new uo(Ie.left,Ie.top),this.topRightBorderBox=Rn>0||zr>0?Ql(Ie.left+ls,Ie.top,Rn,zr,Pl.TOP_RIGHT):new uo(Ie.left+Ie.width,Ie.top),this.bottomRightBorderBox=ri>0||ea>0?Ql(Ie.left+zl,Ie.top+dl,ri,ea,Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width,Ie.top+Ie.height),this.bottomLeftBorderBox=eo>0||No>0?Ql(Ie.left,Ie.top+nl,eo,No,Pl.BOTTOM_LEFT):new uo(Ie.left,Ie.top+Ie.height),this.topLeftPaddingBox=Kt>0||un>0?Ql(Ie.left+Al,Ie.top+Yo,Math.max(0,Kt-Al),Math.max(0,un-Yo),Pl.TOP_LEFT):new uo(Ie.left+Al,Ie.top+Yo),this.topRightPaddingBox=Rn>0||zr>0?Ql(Ie.left+Math.min(ls,Ie.width-uu),Ie.top+Yo,ls>Ie.width+uu?0:Math.max(0,Rn-uu),Math.max(0,zr-Yo),Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-uu,Ie.top+Yo),this.bottomRightPaddingBox=ri>0||ea>0?Ql(Ie.left+Math.min(zl,Ie.width-Al),Ie.top+Math.min(dl,Ie.height-Dl),Math.max(0,ri-uu),Math.max(0,ea-Dl),Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-uu,Ie.top+Ie.height-Dl),this.bottomLeftPaddingBox=eo>0||No>0?Ql(Ie.left+Al,Ie.top+Math.min(nl,Ie.height-Dl),Math.max(0,eo-Al),Math.max(0,No-Dl),Pl.BOTTOM_LEFT):new uo(Ie.left+Al,Ie.top+Ie.height-Dl),this.topLeftContentBox=Kt>0||un>0?Ql(Ie.left+Al+eu,Ie.top+Yo+xo,Math.max(0,Kt-(Al+eu)),Math.max(0,un-(Yo+xo)),Pl.TOP_LEFT):new uo(Ie.left+Al+eu,Ie.top+Yo+xo),this.topRightContentBox=Rn>0||zr>0?Ql(Ie.left+Math.min(ls,Ie.width+Al+eu),Ie.top+Yo+xo,ls>Ie.width+Al+eu?0:Rn-Al+eu,zr-(Yo+xo),Pl.TOP_RIGHT):new uo(Ie.left+Ie.width-(uu+nA),Ie.top+Yo+xo),this.bottomRightContentBox=ri>0||ea>0?Ql(Ie.left+Math.min(zl,Ie.width-(Al+eu)),Ie.top+Math.min(dl,Ie.height+Yo+xo),Math.max(0,ri-(uu+nA)),ea-(Dl+HA),Pl.BOTTOM_RIGHT):new uo(Ie.left+Ie.width-(uu+nA),Ie.top+Ie.height-(Dl+HA)),this.bottomLeftContentBox=eo>0||No>0?Ql(Ie.left+Al+eu,Ie.top+nl,Math.max(0,eo-(Al+eu)),No-(Dl+HA),Pl.BOTTOM_LEFT):new uo(Ie.left+Al+eu,Ie.top+Ie.height-(Dl+HA))}return Ee}(),Pl;(function(Ee){Ee[Ee.TOP_LEFT=0]="TOP_LEFT",Ee[Ee.TOP_RIGHT=1]="TOP_RIGHT",Ee[Ee.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ee[Ee.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Pl||(Pl={}));var Ql=function(Ee,be,De,Ie,yt){var Kt=4*((Math.sqrt(2)-1)/3),un=De*Kt,Pn=Ie*Kt,Rn=Ee+De,zr=be+Ie;switch(yt){case Pl.TOP_LEFT:return new Ec(new uo(Ee,zr),new uo(Ee,zr-Pn),new uo(Rn-un,be),new uo(Rn,be));case Pl.TOP_RIGHT:return new Ec(new uo(Ee,be),new uo(Ee+un,be),new uo(Rn,zr-Pn),new uo(Rn,zr));case Pl.BOTTOM_RIGHT:return new Ec(new uo(Rn,be),new uo(Rn,be+Pn),new uo(Ee+un,zr),new uo(Ee,zr));case Pl.BOTTOM_LEFT:default:return new Ec(new uo(Rn,zr),new uo(Rn-un,zr),new uo(Ee,be+Pn),new uo(Ee,be))}},lu=function(Ee){return[Ee.topLeftBorderBox,Ee.topRightBorderBox,Ee.bottomRightBorderBox,Ee.bottomLeftBorderBox]},Ed=function(Ee){return[Ee.topLeftContentBox,Ee.topRightContentBox,Ee.bottomRightContentBox,Ee.bottomLeftContentBox]},s0=function(Ee){return[Ee.topLeftPaddingBox,Ee.topRightPaddingBox,Ee.bottomRightPaddingBox,Ee.bottomLeftPaddingBox]},Us=function(){function Ee(be,De,Ie){this.offsetX=be,this.offsetY=De,this.matrix=Ie,this.type=0,this.target=6}return Ee}(),PA=function(){function Ee(be,De){this.path=be,this.target=De,this.type=1}return Ee}(),hu=function(){function Ee(be){this.opacity=be,this.type=2,this.target=6}return Ee}(),Gc=function(Ee){return Ee.type===0},jf=function(Ee){return Ee.type===1},dd=function(Ee){return Ee.type===2},Ph=function(Ee,be){return Ee.length===be.length?Ee.some(function(De,Ie){return De===be[Ie]}):!1},zm=function(Ee,be,De,Ie,yt){return Ee.map(function(Kt,un){switch(un){case 0:return Kt.add(be,De);case 1:return Kt.add(be+Ie,De);case 2:return Kt.add(be+Ie,De+yt);case 3:return Kt.add(be,De+yt)}return Kt})},ba=function(){function Ee(be){this.element=be,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ee}(),gc=function(){function Ee(be,De){if(this.container=be,this.parent=De,this.effects=[],this.curves=new Th(this.container),this.container.styles.opacity<1&&this.effects.push(new hu(this.container.styles.opacity)),this.container.styles.transform!==null){var Ie=this.container.bounds.left+this.container.styles.transformOrigin[0].number,yt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Kt=this.container.styles.transform;this.effects.push(new Us(Ie,yt,Kt))}if(this.container.styles.overflowX!==0){var un=lu(this.curves),Pn=s0(this.curves);Ph(un,Pn)?this.effects.push(new PA(un,6)):(this.effects.push(new PA(un,2)),this.effects.push(new PA(Pn,4)))}}return Ee.prototype.getEffects=function(be){for(var De=[2,3].indexOf(this.container.styles.position)===-1,Ie=this.parent,yt=this.effects.slice(0);Ie;){var Kt=Ie.effects.filter(function(Rn){return!jf(Rn)});if(De||Ie.container.styles.position!==0||!Ie.parent){if(yt.unshift.apply(yt,Kt),De=[2,3].indexOf(Ie.container.styles.position)===-1,Ie.container.styles.overflowX!==0){var un=lu(Ie.curves),Pn=s0(Ie.curves);Ph(un,Pn)||yt.unshift(new PA(Pn,6))}}else yt.unshift.apply(yt,Kt);Ie=Ie.parent}return yt.filter(function(Rn){return wo(Rn.target,be)})},Ee}(),Am=function(Ee,be,De,Ie){Ee.container.elements.forEach(function(yt){var Kt=wo(yt.flags,4),un=wo(yt.flags,2),Pn=new gc(yt,Ee);wo(yt.styles.display,2048)&&Ie.push(Pn);var Rn=wo(yt.flags,8)?[]:Ie;if(Kt||un){var zr=Kt||yt.styles.isPositioned()?De:be,qr=new ba(Pn);if(yt.styles.isPositioned()||yt.styles.opacity<1||yt.styles.isTransformed()){var ri=yt.styles.zIndex.order;if(ri<0){var ea=0;zr.negativeZIndex.some(function(eo,No){return ri>eo.element.container.styles.zIndex.order?(ea=No,!1):ea>0}),zr.negativeZIndex.splice(ea,0,qr)}else if(ri>0){var ns=0;zr.positiveZIndex.some(function(eo,No){return ri>=eo.element.container.styles.zIndex.order?(ns=No+1,!1):ns>0}),zr.positiveZIndex.splice(ns,0,qr)}else zr.zeroOrAutoZIndexOrTransformedOrOpacity.push(qr)}else yt.styles.isFloating()?zr.nonPositionedFloats.push(qr):zr.nonPositionedInlineLevel.push(qr);Am(Pn,qr,Kt?qr:De,Rn)}else yt.styles.isInlineLevel()?be.inlineLevel.push(Pn):be.nonInlineLevel.push(Pn),Am(Pn,be,De,Rn);wo(yt.flags,8)&&fm(yt,Rn)})},fm=function(Ee,be){for(var De=Ee instanceof Ih?Ee.start:1,Ie=Ee instanceof Ih?Ee.reversed:!1,yt=0;yt<be.length;yt++){var Kt=be[yt];Kt.container instanceof Sf&&typeof Kt.container.value=="number"&&Kt.container.value!==0&&(De=Kt.container.value),Kt.listValue=ue(De,Kt.container.styles.listStyleType,!0),De+=Ie?-1:1}},fA=function(Ee){var be=new gc(Ee,null),De=new ba(be),Ie=[];return Am(be,De,De,Ie),fm(be.container,Ie),De},tA=function(Ee,be){switch(be){case 0:return af(Ee.topLeftBorderBox,Ee.topLeftPaddingBox,Ee.topRightBorderBox,Ee.topRightPaddingBox);case 1:return af(Ee.topRightBorderBox,Ee.topRightPaddingBox,Ee.bottomRightBorderBox,Ee.bottomRightPaddingBox);case 2:return af(Ee.bottomRightBorderBox,Ee.bottomRightPaddingBox,Ee.bottomLeftBorderBox,Ee.bottomLeftPaddingBox);case 3:default:return af(Ee.bottomLeftBorderBox,Ee.bottomLeftPaddingBox,Ee.topLeftBorderBox,Ee.topLeftPaddingBox)}},Td=function(Ee,be){switch(be){case 0:return af(Ee.topLeftBorderBox,Ee.topLeftBorderDoubleOuterBox,Ee.topRightBorderBox,Ee.topRightBorderDoubleOuterBox);case 1:return af(Ee.topRightBorderBox,Ee.topRightBorderDoubleOuterBox,Ee.bottomRightBorderBox,Ee.bottomRightBorderDoubleOuterBox);case 2:return af(Ee.bottomRightBorderBox,Ee.bottomRightBorderDoubleOuterBox,Ee.bottomLeftBorderBox,Ee.bottomLeftBorderDoubleOuterBox);case 3:default:return af(Ee.bottomLeftBorderBox,Ee.bottomLeftBorderDoubleOuterBox,Ee.topLeftBorderBox,Ee.topLeftBorderDoubleOuterBox)}},Vd=function(Ee,be){switch(be){case 0:return af(Ee.topLeftBorderDoubleInnerBox,Ee.topLeftPaddingBox,Ee.topRightBorderDoubleInnerBox,Ee.topRightPaddingBox);case 1:return af(Ee.topRightBorderDoubleInnerBox,Ee.topRightPaddingBox,Ee.bottomRightBorderDoubleInnerBox,Ee.bottomRightPaddingBox);case 2:return af(Ee.bottomRightBorderDoubleInnerBox,Ee.bottomRightPaddingBox,Ee.bottomLeftBorderDoubleInnerBox,Ee.bottomLeftPaddingBox);case 3:default:return af(Ee.bottomLeftBorderDoubleInnerBox,Ee.bottomLeftPaddingBox,Ee.topLeftBorderDoubleInnerBox,Ee.topLeftPaddingBox)}},fg=function(Ee,be){switch(be){case 0:return hm(Ee.topLeftBorderStroke,Ee.topRightBorderStroke);case 1:return hm(Ee.topRightBorderStroke,Ee.bottomRightBorderStroke);case 2:return hm(Ee.bottomRightBorderStroke,Ee.bottomLeftBorderStroke);case 3:default:return hm(Ee.bottomLeftBorderStroke,Ee.topLeftBorderStroke)}},hm=function(Ee,be){var De=[];return Lu(Ee)?De.push(Ee.subdivide(.5,!1)):De.push(Ee),Lu(be)?De.push(be.subdivide(.5,!0)):De.push(be),De},af=function(Ee,be,De,Ie){var yt=[];return Lu(Ee)?yt.push(Ee.subdivide(.5,!1)):yt.push(Ee),Lu(De)?yt.push(De.subdivide(.5,!0)):yt.push(De),Lu(Ie)?yt.push(Ie.subdivide(.5,!0).reverse()):yt.push(Ie),Lu(be)?yt.push(be.subdivide(.5,!1).reverse()):yt.push(be),yt},U0=function(Ee){var be=Ee.bounds,De=Ee.styles;return be.add(De.borderLeftWidth,De.borderTopWidth,-(De.borderRightWidth+De.borderLeftWidth),-(De.borderTopWidth+De.borderBottomWidth))},md=function(Ee){var be=Ee.styles,De=Ee.bounds,Ie=Bs(be.paddingLeft,De.width),yt=Bs(be.paddingRight,De.width),Kt=Bs(be.paddingTop,De.width),un=Bs(be.paddingBottom,De.width);return De.add(Ie+be.borderLeftWidth,Kt+be.borderTopWidth,-(be.borderRightWidth+be.borderLeftWidth+Ie+yt),-(be.borderTopWidth+be.borderBottomWidth+Kt+un))},H0=function(Ee,be){return Ee===0?be.bounds:Ee===2?md(be):U0(be)},Km=function(Ee,be){return Ee===0?be.bounds:Ee===2?md(be):U0(be)},NA=function(Ee,be,De){var Ie=H0(RA(Ee.styles.backgroundOrigin,be),Ee),yt=Km(RA(Ee.styles.backgroundClip,be),Ee),Kt=Ah(RA(Ee.styles.backgroundSize,be),De,Ie),un=Kt[0],Pn=Kt[1],Rn=vu(RA(Ee.styles.backgroundPosition,be),Ie.width-un,Ie.height-Pn),zr=Wm(RA(Ee.styles.backgroundRepeat,be),Rn,Kt,Ie,yt),qr=Math.round(Ie.left+Rn[0]),ri=Math.round(Ie.top+Rn[1]);return[zr,qr,ri,un,Pn]},Gd=function(Ee){return hs(Ee)&&Ee.value===Jl.AUTO},Fp=function(Ee){return typeof Ee=="number"},Ah=function(Ee,be,De){var Ie=be[0],yt=be[1],Kt=be[2],un=Ee[0],Pn=Ee[1];if(!un)return[0,0];if(Qo(un)&&Pn&&Qo(Pn))return[Bs(un,De.width),Bs(Pn,De.height)];var Rn=Fp(Kt);if(hs(un)&&(un.value===Jl.CONTAIN||un.value===Jl.COVER)){if(Fp(Kt)){var zr=De.width/De.height;return zr<Kt!=(un.value===Jl.COVER)?[De.width,De.width/Kt]:[De.height*Kt,De.height]}return[De.width,De.height]}var qr=Fp(Ie),ri=Fp(yt),ea=qr||ri;if(Gd(un)&&(!Pn||Gd(Pn))){if(qr&&ri)return[Ie,yt];if(!Rn&&!ea)return[De.width,De.height];if(ea&&Rn){var ns=qr?Ie:yt*Kt,eo=ri?yt:Ie/Kt;return[ns,eo]}var No=qr?Ie:De.width,El=ri?yt:De.height;return[No,El]}if(Rn){var ds=0,ls=0;return Qo(un)?ds=Bs(un,De.width):Qo(Pn)&&(ls=Bs(Pn,De.height)),Gd(un)?ds=ls*Kt:(!Pn||Gd(Pn))&&(ls=ds/Kt),[ds,ls]}var dl=null,zl=null;if(Qo(un)?dl=Bs(un,De.width):Pn&&Qo(Pn)&&(zl=Bs(Pn,De.height)),dl!==null&&(!Pn||Gd(Pn))&&(zl=qr&&ri?dl/Ie*yt:De.height),zl!==null&&Gd(un)&&(dl=qr&&ri?zl/yt*Ie:De.width),dl!==null&&zl!==null)return[dl,zl];throw new Error("Unable to calculate background-size for element")},RA=function(Ee,be){var De=Ee[be];return typeof De=="undefined"?Ee[0]:De},Wm=function(Ee,be,De,Ie,yt){var Kt=be[0],un=be[1],Pn=De[0],Rn=De[1];switch(Ee){case 2:return[new uo(Math.round(Ie.left),Math.round(Ie.top+un)),new uo(Math.round(Ie.left+Ie.width),Math.round(Ie.top+un)),new uo(Math.round(Ie.left+Ie.width),Math.round(Rn+Ie.top+un)),new uo(Math.round(Ie.left),Math.round(Rn+Ie.top+un))];case 3:return[new uo(Math.round(Ie.left+Kt),Math.round(Ie.top)),new uo(Math.round(Ie.left+Kt+Pn),Math.round(Ie.top)),new uo(Math.round(Ie.left+Kt+Pn),Math.round(Ie.height+Ie.top)),new uo(Math.round(Ie.left+Kt),Math.round(Ie.height+Ie.top))];case 1:return[new uo(Math.round(Ie.left+Kt),Math.round(Ie.top+un)),new uo(Math.round(Ie.left+Kt+Pn),Math.round(Ie.top+un)),new uo(Math.round(Ie.left+Kt+Pn),Math.round(Ie.top+un+Rn)),new uo(Math.round(Ie.left+Kt),Math.round(Ie.top+un+Rn))];default:return[new uo(Math.round(yt.left),Math.round(yt.top)),new uo(Math.round(yt.left+yt.width),Math.round(yt.top)),new uo(Math.round(yt.left+yt.width),Math.round(yt.height+yt.top)),new uo(Math.round(yt.left),Math.round(yt.height+yt.top))]}},kp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",cp="Hidden Text",l0=function(){function Ee(be){this._data={},this._document=be}return Ee.prototype.parseMetrics=function(be,De){var Ie=this._document.createElement("div"),yt=this._document.createElement("img"),Kt=this._document.createElement("span"),un=this._document.body;Ie.style.visibility="hidden",Ie.style.fontFamily=be,Ie.style.fontSize=De,Ie.style.margin="0",Ie.style.padding="0",Ie.style.whiteSpace="nowrap",un.appendChild(Ie),yt.src=kp,yt.width=1,yt.height=1,yt.style.margin="0",yt.style.padding="0",yt.style.verticalAlign="baseline",Kt.style.fontFamily=be,Kt.style.fontSize=De,Kt.style.margin="0",Kt.style.padding="0",Kt.appendChild(this._document.createTextNode(cp)),Ie.appendChild(Kt),Ie.appendChild(yt);var Pn=yt.offsetTop-Kt.offsetTop+2;Ie.removeChild(Kt),Ie.appendChild(this._document.createTextNode(cp)),Ie.style.lineHeight="normal",yt.style.verticalAlign="super";var Rn=yt.offsetTop-Ie.offsetTop+2;return un.removeChild(Ie),{baseline:Pn,middle:Rn}},Ee.prototype.getMetrics=function(be,De){var Ie=be+" "+De;return typeof this._data[Ie]=="undefined"&&(this._data[Ie]=this.parseMetrics(be,De)),this._data[Ie]},Ee}(),u0=function(){function Ee(be,De){this.context=be,this.options=De}return Ee}(),Ls=1e4,Qc=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt._activeEffects=[],yt.canvas=Ie.canvas?Ie.canvas:document.createElement("canvas"),yt.ctx=yt.canvas.getContext("2d"),Ie.canvas||(yt.canvas.width=Math.floor(Ie.width*Ie.scale),yt.canvas.height=Math.floor(Ie.height*Ie.scale),yt.canvas.style.width=Ie.width+"px",yt.canvas.style.height=Ie.height+"px"),yt.fontMetrics=new l0(document),yt.ctx.scale(yt.options.scale,yt.options.scale),yt.ctx.translate(-Ie.x,-Ie.y),yt.ctx.textBaseline="bottom",yt._activeEffects=[],yt.context.logger.debug("Canvas renderer initialized ("+Ie.width+"x"+Ie.height+") with scale "+Ie.scale),yt}return be.prototype.applyEffects=function(De){for(var Ie=this;this._activeEffects.length;)this.popEffect();De.forEach(function(yt){return Ie.applyEffect(yt)})},be.prototype.applyEffect=function(De){this.ctx.save(),dd(De)&&(this.ctx.globalAlpha=De.opacity),Gc(De)&&(this.ctx.translate(De.offsetX,De.offsetY),this.ctx.transform(De.matrix[0],De.matrix[1],De.matrix[2],De.matrix[3],De.matrix[4],De.matrix[5]),this.ctx.translate(-De.offsetX,-De.offsetY)),jf(De)&&(this.path(De.path),this.ctx.clip()),this._activeEffects.push(De)},be.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},be.prototype.renderStack=function(De){return Me(this,void 0,void 0,function(){var Ie;return Ue(this,function(yt){switch(yt.label){case 0:return Ie=De.element.container.styles,Ie.isVisible()?[4,this.renderStackContent(De)]:[3,2];case 1:yt.sent(),yt.label=2;case 2:return[2]}})})},be.prototype.renderNode=function(De){return Me(this,void 0,void 0,function(){return Ue(this,function(Ie){switch(Ie.label){case 0:if(wo(De.container.flags,16))debugger;return De.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(De)]:[3,3];case 1:return Ie.sent(),[4,this.renderNodeContent(De)];case 2:Ie.sent(),Ie.label=3;case 3:return[2]}})})},be.prototype.renderTextWithLetterSpacing=function(De,Ie,yt){var Kt=this;if(Ie===0)this.ctx.fillText(De.text,De.bounds.left,De.bounds.top+yt);else{var un=Zl(De.text);un.reduce(function(Pn,Rn){return Kt.ctx.fillText(Rn,Pn,De.bounds.top+yt),Pn+Kt.ctx.measureText(Rn).width},De.bounds.left)}},be.prototype.createFontStyle=function(De){var Ie=De.fontVariant.filter(function(un){return un==="normal"||un==="small-caps"}).join(""),yt=c0(De.fontFamily).join(", "),Kt=co(De.fontSize)?""+De.fontSize.number+De.fontSize.unit:De.fontSize.number+"px";return[[De.fontStyle,Ie,De.fontWeight,Kt,yt].join(" "),yt,Kt]},be.prototype.renderTextNode=function(De,Ie){return Me(this,void 0,void 0,function(){var yt,Kt,un,Pn,Rn,zr,qr,ri,ea=this;return Ue(this,function(ns){return yt=this.createFontStyle(Ie),Kt=yt[0],un=yt[1],Pn=yt[2],this.ctx.font=Kt,this.ctx.direction=Ie.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Rn=this.fontMetrics.getMetrics(un,Pn),zr=Rn.baseline,qr=Rn.middle,ri=Ie.paintOrder,De.textBounds.forEach(function(eo){ri.forEach(function(No){switch(No){case 0:ea.ctx.fillStyle=Vs(Ie.color),ea.renderTextWithLetterSpacing(eo,Ie.letterSpacing,zr);var El=Ie.textShadow;El.length&&eo.text.trim().length&&(El.slice(0).reverse().forEach(function(ds){ea.ctx.shadowColor=Vs(ds.color),ea.ctx.shadowOffsetX=ds.offsetX.number*ea.options.scale,ea.ctx.shadowOffsetY=ds.offsetY.number*ea.options.scale,ea.ctx.shadowBlur=ds.blur.number,ea.renderTextWithLetterSpacing(eo,Ie.letterSpacing,zr)}),ea.ctx.shadowColor="",ea.ctx.shadowOffsetX=0,ea.ctx.shadowOffsetY=0,ea.ctx.shadowBlur=0),Ie.textDecorationLine.length&&(ea.ctx.fillStyle=Vs(Ie.textDecorationColor||Ie.color),Ie.textDecorationLine.forEach(function(ds){switch(ds){case 1:ea.ctx.fillRect(eo.bounds.left,Math.round(eo.bounds.top+zr),eo.bounds.width,1);break;case 2:ea.ctx.fillRect(eo.bounds.left,Math.round(eo.bounds.top),eo.bounds.width,1);break;case 3:ea.ctx.fillRect(eo.bounds.left,Math.ceil(eo.bounds.top+qr),eo.bounds.width,1);break}}));break;case 1:Ie.webkitTextStrokeWidth&&eo.text.trim().length&&(ea.ctx.strokeStyle=Vs(Ie.webkitTextStrokeColor),ea.ctx.lineWidth=Ie.webkitTextStrokeWidth,ea.ctx.lineJoin=window.chrome?"miter":"round",ea.ctx.strokeText(eo.text,eo.bounds.left,eo.bounds.top+zr)),ea.ctx.strokeStyle="",ea.ctx.lineWidth=0,ea.ctx.lineJoin="miter";break}})}),[2]})})},be.prototype.renderReplacedElement=function(De,Ie,yt){if(yt&&De.intrinsicWidth>0&&De.intrinsicHeight>0){var Kt=md(De),un=s0(Ie);this.path(un),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(yt,0,0,De.intrinsicWidth,De.intrinsicHeight,Kt.left,Kt.top,Kt.width,Kt.height),this.ctx.restore()}},be.prototype.renderNodeContent=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,Kt,un,Pn,Rn,ls,ls,zr,qr,ri,ea,zl,ns,eo,nl,No,El,ds,ls,dl,zl,nl;return Ue(this,function(Yo){switch(Yo.label){case 0:this.applyEffects(De.getEffects(4)),Ie=De.container,yt=De.curves,Kt=Ie.styles,un=0,Pn=Ie.textNodes,Yo.label=1;case 1:return un<Pn.length?(Rn=Pn[un],[4,this.renderTextNode(Rn,Kt)]):[3,4];case 2:Yo.sent(),Yo.label=3;case 3:return un++,[3,1];case 4:if(!(Ie instanceof L0))return[3,8];Yo.label=5;case 5:return Yo.trys.push([5,7,,8]),[4,this.context.cache.match(Ie.src)];case 6:return ls=Yo.sent(),this.renderReplacedElement(Ie,yt,ls),[3,8];case 7:return Yo.sent(),this.context.logger.error("Error loading image "+Ie.src),[3,8];case 8:if(Ie instanceof Vl&&this.renderReplacedElement(Ie,yt,Ie.canvas),!(Ie instanceof _h))return[3,12];Yo.label=9;case 9:return Yo.trys.push([9,11,,12]),[4,this.context.cache.match(Ie.svg)];case 10:return ls=Yo.sent(),this.renderReplacedElement(Ie,yt,ls),[3,12];case 11:return Yo.sent(),this.context.logger.error("Error loading svg "+Ie.svg.substring(0,255)),[3,12];case 12:return Ie instanceof D0&&Ie.tree?(zr=new be(this.context,{scale:this.options.scale,backgroundColor:Ie.backgroundColor,x:0,y:0,width:Ie.width,height:Ie.height}),[4,zr.render(Ie.tree)]):[3,14];case 13:qr=Yo.sent(),Ie.width&&Ie.height&&this.ctx.drawImage(qr,0,0,Ie.width,Ie.height,Ie.bounds.left,Ie.bounds.top,Ie.bounds.width,Ie.bounds.height),Yo.label=14;case 14:if(Ie instanceof rd&&(ri=Math.min(Ie.bounds.width,Ie.bounds.height),Ie.type===r0?Ie.checked&&(this.ctx.save(),this.path([new uo(Ie.bounds.left+ri*.39363,Ie.bounds.top+ri*.79),new uo(Ie.bounds.left+ri*.16,Ie.bounds.top+ri*.5549),new uo(Ie.bounds.left+ri*.27347,Ie.bounds.top+ri*.44071),new uo(Ie.bounds.left+ri*.39694,Ie.bounds.top+ri*.5649),new uo(Ie.bounds.left+ri*.72983,Ie.bounds.top+ri*.23),new uo(Ie.bounds.left+ri*.84,Ie.bounds.top+ri*.34085),new uo(Ie.bounds.left+ri*.39363,Ie.bounds.top+ri*.79)]),this.ctx.fillStyle=Vs(op),this.ctx.fill(),this.ctx.restore()):Ie.type===tf&&Ie.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Ie.bounds.left+ri/2,Ie.bounds.top+ri/2,ri/4,0,Math.PI*2,!0),this.ctx.fillStyle=Vs(op),this.ctx.fill(),this.ctx.restore())),j0(Ie)&&Ie.value.length){switch(ea=this.createFontStyle(Kt),zl=ea[0],ns=ea[1],eo=this.fontMetrics.getMetrics(zl,ns).baseline,this.ctx.font=zl,this.ctx.fillStyle=Vs(Kt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=kf(Ie.styles.textAlign),nl=md(Ie),No=0,Ie.styles.textAlign){case 1:No+=nl.width/2;break;case 2:No+=nl.width;break}El=nl.add(No,0,0,-nl.height/2+1),this.ctx.save(),this.path([new uo(nl.left,nl.top),new uo(nl.left+nl.width,nl.top),new uo(nl.left+nl.width,nl.top+nl.height),new uo(nl.left,nl.top+nl.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new nd(Ie.value,El),Kt.letterSpacing,eo),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!wo(Ie.styles.display,2048))return[3,20];if(Ie.styles.listStyleImage===null)return[3,19];if(ds=Ie.styles.listStyleImage,ds.type!==0)return[3,18];ls=void 0,dl=ds.url,Yo.label=15;case 15:return Yo.trys.push([15,17,,18]),[4,this.context.cache.match(dl)];case 16:return ls=Yo.sent(),this.ctx.drawImage(ls,Ie.bounds.left-(ls.width+10),Ie.bounds.top),[3,18];case 17:return Yo.sent(),this.context.logger.error("Error loading list-style-image "+dl),[3,18];case 18:return[3,20];case 19:De.listValue&&Ie.styles.listStyleType!==-1&&(zl=this.createFontStyle(Kt)[0],this.ctx.font=zl,this.ctx.fillStyle=Vs(Kt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",nl=new Ne(Ie.bounds.left,Ie.bounds.top+Bs(Ie.styles.paddingTop,Ie.bounds.width),Ie.bounds.width,gr(Kt.lineHeight,Kt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new nd(De.listValue,nl),Kt.letterSpacing,gr(Kt.lineHeight,Kt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Yo.label=20;case 20:return[2]}})})},be.prototype.renderStackContent=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,ds,Kt,un,ds,Pn,Rn,ds,zr,qr,ds,ri,ea,ds,ns,eo,ds,No,El,ds;return Ue(this,function(ls){switch(ls.label){case 0:if(wo(De.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(De.element)];case 1:ls.sent(),Ie=0,yt=De.negativeZIndex,ls.label=2;case 2:return Ie<yt.length?(ds=yt[Ie],[4,this.renderStack(ds)]):[3,5];case 3:ls.sent(),ls.label=4;case 4:return Ie++,[3,2];case 5:return[4,this.renderNodeContent(De.element)];case 6:ls.sent(),Kt=0,un=De.nonInlineLevel,ls.label=7;case 7:return Kt<un.length?(ds=un[Kt],[4,this.renderNode(ds)]):[3,10];case 8:ls.sent(),ls.label=9;case 9:return Kt++,[3,7];case 10:Pn=0,Rn=De.nonPositionedFloats,ls.label=11;case 11:return Pn<Rn.length?(ds=Rn[Pn],[4,this.renderStack(ds)]):[3,14];case 12:ls.sent(),ls.label=13;case 13:return Pn++,[3,11];case 14:zr=0,qr=De.nonPositionedInlineLevel,ls.label=15;case 15:return zr<qr.length?(ds=qr[zr],[4,this.renderStack(ds)]):[3,18];case 16:ls.sent(),ls.label=17;case 17:return zr++,[3,15];case 18:ri=0,ea=De.inlineLevel,ls.label=19;case 19:return ri<ea.length?(ds=ea[ri],[4,this.renderNode(ds)]):[3,22];case 20:ls.sent(),ls.label=21;case 21:return ri++,[3,19];case 22:ns=0,eo=De.zeroOrAutoZIndexOrTransformedOrOpacity,ls.label=23;case 23:return ns<eo.length?(ds=eo[ns],[4,this.renderStack(ds)]):[3,26];case 24:ls.sent(),ls.label=25;case 25:return ns++,[3,23];case 26:No=0,El=De.positiveZIndex,ls.label=27;case 27:return No<El.length?(ds=El[No],[4,this.renderStack(ds)]):[3,30];case 28:ls.sent(),ls.label=29;case 29:return No++,[3,27];case 30:return[2]}})})},be.prototype.mask=function(De){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(De.slice(0).reverse()),this.ctx.closePath()},be.prototype.path=function(De){this.ctx.beginPath(),this.formatPath(De),this.ctx.closePath()},be.prototype.formatPath=function(De){var Ie=this;De.forEach(function(yt,Kt){var un=Lu(yt)?yt.start:yt;Kt===0?Ie.ctx.moveTo(un.x,un.y):Ie.ctx.lineTo(un.x,un.y),Lu(yt)&&Ie.ctx.bezierCurveTo(yt.startControl.x,yt.startControl.y,yt.endControl.x,yt.endControl.y,yt.end.x,yt.end.y)})},be.prototype.renderRepeat=function(De,Ie,yt,Kt){this.path(De),this.ctx.fillStyle=Ie,this.ctx.translate(yt,Kt),this.ctx.fill(),this.ctx.translate(-yt,-Kt)},be.prototype.resizeImage=function(De,Ie,yt){var Kt;if(De.width===Ie&&De.height===yt)return De;var un=(Kt=this.canvas.ownerDocument)!==null&&Kt!==void 0?Kt:document,Pn=un.createElement("canvas");Pn.width=Math.max(1,Ie),Pn.height=Math.max(1,yt);var Rn=Pn.getContext("2d");return Rn.drawImage(De,0,0,De.width,De.height,0,0,Ie,yt),Pn},be.prototype.renderBackgroundImage=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,Kt,un,Pn,Rn;return Ue(this,function(zr){switch(zr.label){case 0:Ie=De.styles.backgroundImage.length-1,yt=function(qr){var ri,ea,ns,xo,OA,jA,eu,rA,Dl,eo,xo,OA,jA,eu,rA,No,El,ds,ls,dl,zl,nl,Yo,uu,Dl,Al,xo,nA,HA,eu,rA,Uh,OA,jA,zf,Mf,Kf,fh,of,hh,d0,_f;return Ue(this,function(Hh){switch(Hh.label){case 0:if(qr.type!==0)return[3,5];ri=void 0,ea=qr.url,Hh.label=1;case 1:return Hh.trys.push([1,3,,4]),[4,Kt.context.cache.match(ea)];case 2:return ri=Hh.sent(),[3,4];case 3:return Hh.sent(),Kt.context.logger.error("Error loading background-image "+ea),[3,4];case 4:return ri&&(ns=NA(De,Ie,[ri.width,ri.height,ri.width/ri.height]),xo=ns[0],OA=ns[1],jA=ns[2],eu=ns[3],rA=ns[4],Dl=Kt.ctx.createPattern(Kt.resizeImage(ri,eu,rA),"repeat"),Kt.renderRepeat(xo,Dl,OA,jA)),[3,6];case 5:lc(qr)?(eo=NA(De,Ie,[null,null,null]),xo=eo[0],OA=eo[1],jA=eo[2],eu=eo[3],rA=eo[4],No=bA(qr.angle,eu,rA),El=No[0],ds=No[1],ls=No[2],dl=No[3],zl=No[4],nl=document.createElement("canvas"),nl.width=eu,nl.height=rA,Yo=nl.getContext("2d"),uu=Yo.createLinearGradient(ds,dl,ls,zl),eA(qr.stops,El).forEach(function(hA){return uu.addColorStop(hA.stop,Vs(hA.color))}),Yo.fillStyle=uu,Yo.fillRect(0,0,eu,rA),eu>0&&rA>0&&(Dl=Kt.ctx.createPattern(nl,"repeat"),Kt.renderRepeat(xo,Dl,OA,jA))):Kc(qr)&&(Al=NA(De,Ie,[null,null,null]),xo=Al[0],nA=Al[1],HA=Al[2],eu=Al[3],rA=Al[4],Uh=qr.position.length===0?[_l]:qr.position,OA=Bs(Uh[0],eu),jA=Bs(Uh[Uh.length-1],rA),zf=yl(qr,OA,jA,eu,rA),Mf=zf[0],Kf=zf[1],Mf>0&&Kf>0&&(fh=Kt.ctx.createRadialGradient(nA+OA,HA+jA,0,nA+OA,HA+jA,Mf),eA(qr.stops,Mf*2).forEach(function(hA){return fh.addColorStop(hA.stop,Vs(hA.color))}),Kt.path(xo),Kt.ctx.fillStyle=fh,Mf!==Kf?(of=De.bounds.left+.5*De.bounds.width,hh=De.bounds.top+.5*De.bounds.height,d0=Kf/Mf,_f=1/d0,Kt.ctx.save(),Kt.ctx.translate(of,hh),Kt.ctx.transform(1,0,0,d0,0,0),Kt.ctx.translate(-of,-hh),Kt.ctx.fillRect(nA,_f*(HA-hh)+hh,eu,rA*_f),Kt.ctx.restore()):Kt.ctx.fill())),Hh.label=6;case 6:return Ie--,[2]}})},Kt=this,un=0,Pn=De.styles.backgroundImage.slice(0).reverse(),zr.label=1;case 1:return un<Pn.length?(Rn=Pn[un],[5,yt(Rn)]):[3,4];case 2:zr.sent(),zr.label=3;case 3:return un++,[3,1];case 4:return[2]}})})},be.prototype.renderSolidBorder=function(De,Ie,yt){return Me(this,void 0,void 0,function(){return Ue(this,function(Kt){return this.path(tA(yt,Ie)),this.ctx.fillStyle=Vs(De),this.ctx.fill(),[2]})})},be.prototype.renderDoubleBorder=function(De,Ie,yt,Kt){return Me(this,void 0,void 0,function(){var un,Pn;return Ue(this,function(Rn){switch(Rn.label){case 0:return Ie<3?[4,this.renderSolidBorder(De,yt,Kt)]:[3,2];case 1:return Rn.sent(),[2];case 2:return un=Td(Kt,yt),this.path(un),this.ctx.fillStyle=Vs(De),this.ctx.fill(),Pn=Vd(Kt,yt),this.path(Pn),this.ctx.fill(),[2]}})})},be.prototype.renderNodeBackgroundAndBorders=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,Kt,un,Pn,Rn,zr,qr,ri=this;return Ue(this,function(ea){switch(ea.label){case 0:return this.applyEffects(De.getEffects(2)),Ie=De.container.styles,yt=!ol(Ie.backgroundColor)||Ie.backgroundImage.length,Kt=[{style:Ie.borderTopStyle,color:Ie.borderTopColor,width:Ie.borderTopWidth},{style:Ie.borderRightStyle,color:Ie.borderRightColor,width:Ie.borderRightWidth},{style:Ie.borderBottomStyle,color:Ie.borderBottomColor,width:Ie.borderBottomWidth},{style:Ie.borderLeftStyle,color:Ie.borderLeftColor,width:Ie.borderLeftWidth}],un=Rh(RA(Ie.backgroundClip,0),De.curves),yt||Ie.boxShadow.length?(this.ctx.save(),this.path(un),this.ctx.clip(),ol(Ie.backgroundColor)||(this.ctx.fillStyle=Vs(Ie.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(De.container)]):[3,2];case 1:ea.sent(),this.ctx.restore(),Ie.boxShadow.slice(0).reverse().forEach(function(ns){ri.ctx.save();var eo=lu(De.curves),No=ns.inset?0:Ls,El=zm(eo,-No+(ns.inset?1:-1)*ns.spread.number,(ns.inset?1:-1)*ns.spread.number,ns.spread.number*(ns.inset?-2:2),ns.spread.number*(ns.inset?-2:2));ns.inset?(ri.path(eo),ri.ctx.clip(),ri.mask(El)):(ri.mask(eo),ri.ctx.clip(),ri.path(El)),ri.ctx.shadowOffsetX=ns.offsetX.number+No,ri.ctx.shadowOffsetY=ns.offsetY.number,ri.ctx.shadowColor=Vs(ns.color),ri.ctx.shadowBlur=ns.blur.number,ri.ctx.fillStyle=ns.inset?Vs(ns.color):"rgba(0,0,0,1)",ri.ctx.fill(),ri.ctx.restore()}),ea.label=2;case 2:Pn=0,Rn=0,zr=Kt,ea.label=3;case 3:return Rn<zr.length?(qr=zr[Rn],qr.style!==0&&!ol(qr.color)&&qr.width>0?qr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(qr.color,qr.width,Pn,De.curves,2)]:[3,11]):[3,13];case 4:return ea.sent(),[3,11];case 5:return qr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(qr.color,qr.width,Pn,De.curves,3)];case 6:return ea.sent(),[3,11];case 7:return qr.style!==4?[3,9]:[4,this.renderDoubleBorder(qr.color,qr.width,Pn,De.curves)];case 8:return ea.sent(),[3,11];case 9:return[4,this.renderSolidBorder(qr.color,Pn,De.curves)];case 10:ea.sent(),ea.label=11;case 11:Pn++,ea.label=12;case 12:return Rn++,[3,3];case 13:return[2]}})})},be.prototype.renderDashedDottedBorder=function(De,Ie,yt,Kt,un){return Me(this,void 0,void 0,function(){var Pn,Rn,zr,qr,ri,ea,ns,eo,No,El,ds,ls,dl,zl,nl,Yo,nl,Yo;return Ue(this,function(uu){return this.ctx.save(),Pn=fg(Kt,yt),Rn=tA(Kt,yt),un===2&&(this.path(Rn),this.ctx.clip()),Lu(Rn[0])?(zr=Rn[0].start.x,qr=Rn[0].start.y):(zr=Rn[0].x,qr=Rn[0].y),Lu(Rn[1])?(ri=Rn[1].end.x,ea=Rn[1].end.y):(ri=Rn[1].x,ea=Rn[1].y),yt===0||yt===2?ns=Math.abs(zr-ri):ns=Math.abs(qr-ea),this.ctx.beginPath(),un===3?this.formatPath(Pn):this.formatPath(Rn.slice(0,2)),eo=Ie<3?Ie*3:Ie*2,No=Ie<3?Ie*2:Ie,un===3&&(eo=Ie,No=Ie),El=!0,ns<=eo*2?El=!1:ns<=eo*2+No?(ds=ns/(2*eo+No),eo*=ds,No*=ds):(ls=Math.floor((ns+No)/(eo+No)),dl=(ns-ls*eo)/(ls-1),zl=(ns-(ls+1)*eo)/ls,No=zl<=0||Math.abs(No-dl)<Math.abs(No-zl)?dl:zl),El&&(un===3?this.ctx.setLineDash([0,eo+No]):this.ctx.setLineDash([eo,No])),un===3?(this.ctx.lineCap="round",this.ctx.lineWidth=Ie):this.ctx.lineWidth=Ie*2+1.1,this.ctx.strokeStyle=Vs(De),this.ctx.stroke(),this.ctx.setLineDash([]),un===2&&(Lu(Rn[0])&&(nl=Rn[3],Yo=Rn[0],this.ctx.beginPath(),this.formatPath([new uo(nl.end.x,nl.end.y),new uo(Yo.start.x,Yo.start.y)]),this.ctx.stroke()),Lu(Rn[1])&&(nl=Rn[1],Yo=Rn[2],this.ctx.beginPath(),this.formatPath([new uo(nl.end.x,nl.end.y),new uo(Yo.start.x,Yo.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},be.prototype.render=function(De){return Me(this,void 0,void 0,function(){var Ie;return Ue(this,function(yt){switch(yt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Vs(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Ie=fA(De),[4,this.renderStack(Ie)];case 1:return yt.sent(),this.applyEffects([]),[2,this.canvas]}})})},be}(u0),j0=function(Ee){return Ee instanceof i0||Ee instanceof Pf?!0:Ee instanceof rd&&Ee.type!==tf&&Ee.type!==r0},Rh=function(Ee,be){switch(Ee){case 0:return lu(be);case 2:return Ed(be);case 1:default:return s0(be)}},kf=function(Ee){switch(Ee){case 1:return"center";case 2:return"right";case 0:default:return"left"}},ll=["-apple-system","system-ui"],c0=function(Ee){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?Ee.filter(function(be){return ll.indexOf(be)===-1}):Ee},UA=function(Ee){ce(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.canvas=Ie.canvas?Ie.canvas:document.createElement("canvas"),yt.ctx=yt.canvas.getContext("2d"),yt.options=Ie,yt.canvas.width=Math.floor(Ie.width*Ie.scale),yt.canvas.height=Math.floor(Ie.height*Ie.scale),yt.canvas.style.width=Ie.width+"px",yt.canvas.style.height=Ie.height+"px",yt.ctx.scale(yt.options.scale,yt.options.scale),yt.ctx.translate(-Ie.x,-Ie.y),yt.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Ie.width+"x"+Ie.height+" at "+Ie.x+","+Ie.y+") with scale "+Ie.scale),yt}return be.prototype.render=function(De){return Me(this,void 0,void 0,function(){var Ie,yt;return Ue(this,function(Kt){switch(Kt.label){case 0:return Ie=IA(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,De),[4,pm(Ie)];case 1:return yt=Kt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Vs(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(yt,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},be}(u0),pm=function(Ee){return new Promise(function(be,De){var Ie=new Image;Ie.onload=function(){be(Ie)},Ie.onerror=De,Ie.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ee))})},Qf=function(){function Ee(be){var De=be.id,Ie=be.enabled;this.id=De,this.enabled=Ie,this.start=Date.now()}return Ee.prototype.debug=function(){for(var be=[],De=0;De<arguments.length;De++)be[De]=arguments[De];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,At([this.id,this.getTime()+"ms"],be)):this.info.apply(this,be))},Ee.prototype.getTime=function(){return Date.now()-this.start},Ee.prototype.info=function(){for(var be=[],De=0;De<arguments.length;De++)be[De]=arguments[De];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,At([this.id,this.getTime()+"ms"],be))},Ee.prototype.warn=function(){for(var be=[],De=0;De<arguments.length;De++)be[De]=arguments[De];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,At([this.id,this.getTime()+"ms"],be)):this.info.apply(this,be))},Ee.prototype.error=function(){for(var be=[],De=0;De<arguments.length;De++)be[De]=arguments[De];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,At([this.id,this.getTime()+"ms"],be)):this.info.apply(this,be))},Ee.instances={},Ee}(),jg=function(){function Ee(be,De){var Ie;this.windowBounds=De,this.instanceName="#"+Ee.instanceCount++,this.logger=new Qf({id:this.instanceName,enabled:be.logging}),this.cache=(Ie=be.cache)!==null&&Ie!==void 0?Ie:new Rs(this,be)}return Ee.instanceCount=1,Ee}(),Qg=function(Ee,be){return be===void 0&&(be={}),zg(Ee,be)};typeof window!="undefined"&&ws.setContext(window);var zg=function(Ee,be){return Me(void 0,void 0,void 0,function(){var De,Ie,yt,Kt,un,Pn,Rn,zr,qr,ri,ea,ns,eo,No,El,ds,ls,dl,zl,nl,uu,Yo,uu,Dl,Al,xo,nA,HA,eu,rA,Uh,OA,jA,zf,Mf,Kf,fh,of,hh,d0;return Ue(this,function(_f){switch(_f.label){case 0:if(!Ee||typeof Ee!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(De=Ee.ownerDocument,!De)throw new Error("Element is not attached to a Document");if(Ie=De.defaultView,!Ie)throw new Error("Document is not attached to a Window");return yt={allowTaint:(Dl=be.allowTaint)!==null&&Dl!==void 0?Dl:!1,imageTimeout:(Al=be.imageTimeout)!==null&&Al!==void 0?Al:15e3,proxy:be.proxy,useCORS:(xo=be.useCORS)!==null&&xo!==void 0?xo:!1},Kt=he({logging:(nA=be.logging)!==null&&nA!==void 0?nA:!0,cache:be.cache},yt),un={windowWidth:(HA=be.windowWidth)!==null&&HA!==void 0?HA:Ie.innerWidth,windowHeight:(eu=be.windowHeight)!==null&&eu!==void 0?eu:Ie.innerHeight,scrollX:(rA=be.scrollX)!==null&&rA!==void 0?rA:Ie.pageXOffset,scrollY:(Uh=be.scrollY)!==null&&Uh!==void 0?Uh:Ie.pageYOffset},Pn=new Ne(un.scrollX,un.scrollY,un.windowWidth,un.windowHeight),Rn=new jg(Kt,Pn),zr=(OA=be.foreignObjectRendering)!==null&&OA!==void 0?OA:!1,qr={allowTaint:(jA=be.allowTaint)!==null&&jA!==void 0?jA:!1,onclone:be.onclone,ignoreElements:be.ignoreElements,inlineImages:zr,copyStyles:zr},Rn.logger.debug("Starting document clone with size "+Pn.width+"x"+Pn.height+" scrolled to "+-Pn.left+","+-Pn.top),ri=new me(Rn,Ee,qr),ea=ri.clonedReferenceElement,ea?[4,ri.toIFrame(De,Pn)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return ns=_f.sent(),eo=zs(ea)||jm(ea)?ve(ea.ownerDocument):Le(Rn,ea),No=eo.width,El=eo.height,ds=eo.left,ls=eo.top,dl=Fd(Rn,ea,be.backgroundColor),zl={canvas:be.canvas,backgroundColor:dl,scale:(Mf=(zf=be.scale)!==null&&zf!==void 0?zf:Ie.devicePixelRatio)!==null&&Mf!==void 0?Mf:1,x:((Kf=be.x)!==null&&Kf!==void 0?Kf:0)+ds,y:((fh=be.y)!==null&&fh!==void 0?fh:0)+ls,width:(of=be.width)!==null&&of!==void 0?of:Math.ceil(No),height:(hh=be.height)!==null&&hh!==void 0?hh:Math.ceil(El)},zr?(Rn.logger.debug("Document cloned, using foreign object rendering"),uu=new UA(Rn,zl),[4,uu.render(ea)]):[3,3];case 2:return nl=_f.sent(),[3,5];case 3:return Rn.logger.debug("Document cloned, element located at "+ds+","+ls+" with size "+No+"x"+El+" using computed rendering"),Rn.logger.debug("Starting DOM parsing"),Yo=Bp(Rn,ea),dl===Yo.styles.backgroundColor&&(Yo.styles.backgroundColor=Kl.TRANSPARENT),Rn.logger.debug("Starting renderer for element at "+zl.x+","+zl.y+" with size "+zl.width+"x"+zl.height),uu=new Qc(Rn,zl),[4,uu.render(Yo)];case 4:nl=_f.sent(),_f.label=5;case 5:return(!((d0=be.removeContainer)!==null&&d0!==void 0)||d0)&&(me.destroy(ns)||Rn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Rn.logger.debug("Finished rendering"),[2,nl]}})})},Fd=function(Ee,be,De){var Ie=be.ownerDocument,yt=Ie.documentElement?wc(Ee,getComputedStyle(Ie.documentElement).backgroundColor):Kl.TRANSPARENT,Kt=Ie.body?wc(Ee,getComputedStyle(Ie.body).backgroundColor):Kl.TRANSPARENT,un=typeof De=="string"?wc(Ee,De):De===null?Kl.TRANSPARENT:4294967295;return be===Ie.documentElement?ol(yt)?ol(Kt)?un:Kt:yt:un};return Qg})},44164:function(Tn,Xt,ce){var he=ce(97671);(function(Ue,At){Tn.exports=At(ce(53307),ce(64270))})(self,function(Me,Ue){return function(){var At={"./src/plugin/hyperlinks.js":function(Ae,we,fe){"use strict";fe.r(we);var ze=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.string.link.js"),Oe=fe.n(_e),He=fe("./src/worker.js"),ke=fe("./src/utils.js"),Te=[],Pe={toContainer:He.default.prototype.toContainer,toPdf:He.default.prototype.toPdf};He.default.prototype.toContainer=function(){return Pe.toContainer.call(this).then(function(){if(this.opt.enableLinks){var qe=this.prop.container,We=qe.querySelectorAll("a"),Ze=(0,ke.unitConvert)(qe.getBoundingClientRect(),this.prop.pageSize.k);Te=[],Array.prototype.forEach.call(We,function($e){for(var rt=$e.getClientRects(),ht=0;ht<rt.length;ht++){var dt=(0,ke.unitConvert)(rt[ht],this.prop.pageSize.k);dt.left-=Ze.left,dt.top-=Ze.top;var xt=Math.floor(dt.top/this.prop.pageSize.inner.height)+1,Je=this.opt.margin[0]+dt.top%this.prop.pageSize.inner.height,Lt=this.opt.margin[1]+dt.left;Te.push({page:xt,top:Je,left:Lt,clientRect:dt,link:$e})}},this)}})},He.default.prototype.toPdf=function(){return Pe.toPdf.call(this).then(function(){if(this.opt.enableLinks){Te.forEach(function(We){this.prop.pdf.setPage(We.page),this.prop.pdf.link(We.left,We.top,We.clientRect.width,We.clientRect.height,{url:We.link.href})},this);var qe=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(qe)}})}},"./src/plugin/jspdf-plugin.js":function(Ae,we,fe){"use strict";fe.r(we);var ze=fe("./node_modules/core-js/modules/es.symbol.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.symbol.description.js"),Oe=fe.n(_e),He=fe("./node_modules/core-js/modules/es.object.to-string.js"),ke=fe.n(He),Te=fe("./node_modules/core-js/modules/es.symbol.iterator.js"),Pe=fe.n(Te),Xe=fe("./node_modules/core-js/modules/es.array.iterator.js"),Ke=fe.n(Xe),qe=fe("./node_modules/core-js/modules/es.string.iterator.js"),We=fe.n(qe),Ze=fe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),$e=fe.n(Ze),rt=fe("jspdf"),ht=fe.n(rt);function dt(xt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(Lt){return typeof Lt}:dt=function(Lt){return Lt&&typeof Symbol=="function"&&Lt.constructor===Symbol&&Lt!==Symbol.prototype?"symbol":typeof Lt},dt(xt)}rt.jsPDF.getPageSize=function(xt,Je,Lt){if(dt(xt)==="object"){var Re=xt;xt=Re.orientation,Je=Re.unit||Je,Lt=Re.format||Lt}Je=Je||"mm",Lt=Lt||"a4",xt=(""+(xt||"P")).toLowerCase();var Rt=(""+Lt).toLowerCase(),Ft={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(Je){case"pt":var bt=1;break;case"mm":var bt=72/25.4;break;case"cm":var bt=72/2.54;break;case"in":var bt=72;break;case"px":var bt=72/96;break;case"pc":var bt=12;break;case"em":var bt=12;break;case"ex":var bt=6;break;default:throw"Invalid unit: "+Je}if(Ft.hasOwnProperty(Rt))var Tt=Ft[Rt][1]/bt,wt=Ft[Rt][0]/bt;else try{var Tt=Lt[1],wt=Lt[0]}catch(at){throw new Error("Invalid format: "+Lt)}if(xt==="p"||xt==="portrait"){if(xt="p",wt>Tt){var it=wt;wt=Tt,Tt=it}}else if(xt==="l"||xt==="landscape"){if(xt="l",Tt>wt){var it=wt;wt=Tt,Tt=it}}else throw"Invalid orientation: "+xt;var je={width:wt,height:Tt,unit:Je,k:bt};return je},we.default=rt.jsPDF},"./src/plugin/pagebreaks.js":function(Ae,we,fe){"use strict";fe.r(we);var ze=fe("./node_modules/core-js/modules/es.array.concat.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.array.slice.js"),Oe=fe.n(_e),He=fe("./node_modules/core-js/modules/es.array.join.js"),ke=fe.n(He),Te=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Pe=fe.n(Te),Xe=fe("./node_modules/core-js/modules/es.object.keys.js"),Ke=fe.n(Xe),qe=fe("./src/worker.js"),We=fe("./src/utils.js"),Ze={toContainer:qe.default.prototype.toContainer};qe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},qe.default.prototype.toContainer=function(){return Ze.toContainer.call(this).then(function(){var ht=this.prop.container,dt=this.prop.pageSize.inner.px.height,xt=[].concat(this.opt.pagebreak.mode),Je={avoidAll:xt.indexOf("avoid-all")!==-1,css:xt.indexOf("css")!==-1,legacy:xt.indexOf("legacy")!==-1},Lt={},Re=this;["before","after","avoid"].forEach(function(bt){var Tt=Je.avoidAll&&bt==="avoid";Lt[bt]=Tt?[]:[].concat(Re.opt.pagebreak[bt]||[]),Lt[bt].length>0&&(Lt[bt]=Array.prototype.slice.call(ht.querySelectorAll(Lt[bt].join(", "))))});var Rt=ht.querySelectorAll(".html2pdf__page-break");Rt=Array.prototype.slice.call(Rt);var Ft=ht.querySelectorAll("*");Array.prototype.forEach.call(Ft,function(Tt){var wt={before:!1,after:Je.legacy&&Rt.indexOf(Tt)!==-1,avoid:Je.avoidAll};if(Je.css){var it=window.getComputedStyle(Tt),je=["always","page","left","right"],at=["avoid","avoid-page"];wt={before:wt.before||je.indexOf(it.breakBefore||it.pageBreakBefore)!==-1,after:wt.after||je.indexOf(it.breakAfter||it.pageBreakAfter)!==-1,avoid:wt.avoid||at.indexOf(it.breakInside||it.pageBreakInside)!==-1}}Object.keys(wt).forEach(function(Nn){wt[Nn]=wt[Nn]||Lt[Nn].indexOf(Tt)!==-1});var Yt=Tt.getBoundingClientRect();if(wt.avoid&&!wt.before){var Vt=Math.floor(Yt.top/dt),St=Math.floor(Yt.bottom/dt),Qt=Math.abs(Yt.bottom-Yt.top)/dt;St!==Vt&&Qt<=1&&(wt.before=!0)}if(wt.before){var cn=(0,We.createElement)("div",{style:{display:"block",height:dt-Yt.top%dt+"px"}});Tt.parentNode.insertBefore(cn,Tt)}if(wt.after){var cn=(0,We.createElement)("div",{style:{display:"block",height:dt-Yt.bottom%dt+"px"}});Tt.parentNode.insertBefore(cn,Tt.nextSibling)}})})}},"./src/utils.js":function(Ae,we,fe){"use strict";fe.r(we),fe.d(we,{objType:function(){return xt},createElement:function(){return Je},cloneNode:function(){return Lt},unitConvert:function(){return Re},toPx:function(){return Rt}});var ze=fe("./node_modules/core-js/modules/es.number.constructor.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.symbol.js"),Oe=fe.n(_e),He=fe("./node_modules/core-js/modules/es.symbol.description.js"),ke=fe.n(He),Te=fe("./node_modules/core-js/modules/es.object.to-string.js"),Pe=fe.n(Te),Xe=fe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ke=fe.n(Xe),qe=fe("./node_modules/core-js/modules/es.array.iterator.js"),We=fe.n(qe),Ze=fe("./node_modules/core-js/modules/es.string.iterator.js"),$e=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),ht=fe.n(rt);function dt(Ft){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(Tt){return typeof Tt}:dt=function(Tt){return Tt&&typeof Symbol=="function"&&Tt.constructor===Symbol&&Tt!==Symbol.prototype?"symbol":typeof Tt},dt(Ft)}var xt=function(bt){var Tt=dt(bt);return Tt==="undefined"?"undefined":Tt==="string"||bt instanceof String?"string":Tt==="number"||bt instanceof Number?"number":Tt==="function"||bt instanceof Function?"function":bt&&bt.constructor===Array?"array":bt&&bt.nodeType===1?"element":Tt==="object"?"object":"unknown"},Je=function(bt,Tt){var wt=document.createElement(bt);if(Tt.className&&(wt.className=Tt.className),Tt.innerHTML){wt.innerHTML=Tt.innerHTML;for(var it=wt.getElementsByTagName("script"),je=it.length;je-- >0;null)it[je].parentNode.removeChild(it[je])}for(var at in Tt.style)wt.style[at]=Tt.style[at];return wt},Lt=function Ft(bt,Tt){for(var wt=bt.nodeType===3?document.createTextNode(bt.nodeValue):bt.cloneNode(!1),it=bt.firstChild;it;it=it.nextSibling)(Tt===!0||it.nodeType!==1||it.nodeName!=="SCRIPT")&&wt.appendChild(Ft(it,Tt));return bt.nodeType===1&&(bt.nodeName==="CANVAS"?(wt.width=bt.width,wt.height=bt.height,wt.getContext("2d").drawImage(bt,0,0)):(bt.nodeName==="TEXTAREA"||bt.nodeName==="SELECT")&&(wt.value=bt.value),wt.addEventListener("load",function(){wt.scrollTop=bt.scrollTop,wt.scrollLeft=bt.scrollLeft},!0)),wt},Re=function(bt,Tt){if(xt(bt)==="number")return bt*72/96/Tt;var wt={};for(var it in bt)wt[it]=bt[it]*72/96/Tt;return wt},Rt=function(bt,Tt){return Math.floor(bt*Tt/72*96)}},"./src/worker.js":function(Ae,we,fe){"use strict";fe.r(we);var ze=fe("./node_modules/core-js/modules/es.object.assign.js"),Be=fe.n(ze),_e=fe("./node_modules/core-js/modules/es.array.map.js"),Oe=fe.n(_e),He=fe("./node_modules/core-js/modules/es.object.keys.js"),ke=fe.n(He),Te=fe("./node_modules/core-js/modules/es.array.concat.js"),Pe=fe.n(Te),Xe=fe("./node_modules/core-js/modules/es.object.to-string.js"),Ke=fe.n(Xe),qe=fe("./node_modules/core-js/modules/es.regexp.to-string.js"),We=fe.n(qe),Ze=fe("./node_modules/core-js/modules/es.function.name.js"),$e=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ht=fe.n(rt),dt=fe("jspdf"),xt=fe.n(dt),Je=fe("html2canvas"),Lt=fe.n(Je),Re=fe("./src/utils.js"),Rt=fe("./node_modules/es6-promise/dist/es6-promise.js"),Ft=fe.n(Rt),bt=Ft().Promise,Tt=function wt(it){var je=Object.assign(wt.convert(bt.resolve()),JSON.parse(JSON.stringify(wt.template))),at=wt.convert(bt.resolve(),je);return at=at.setProgress(1,wt,1,[wt]),at=at.set(it),at};Tt.prototype=Object.create(bt.prototype),Tt.prototype.constructor=Tt,Tt.convert=function(it,je){return it.__proto__=je||Tt.prototype,it},Tt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},Tt.prototype.from=function(it,je){function at(Yt){switch((0,Re.objType)(Yt)){case"string":return"string";case"element":return Yt.nodeName.toLowerCase&&Yt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(je=je||at(it),je){case"string":return this.set({src:(0,Re.createElement)("div",{innerHTML:it})});case"element":return this.set({src:it});case"canvas":return this.set({canvas:it});case"img":return this.set({img:it});default:return this.error("Unknown source type.")}})},Tt.prototype.to=function(it){switch(it){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},Tt.prototype.toContainer=function(){var it=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(it).then(function(){var at={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Yt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};at.opacity=0;var Vt=(0,Re.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Re.createElement)("div",{className:"html2pdf__overlay",style:at}),this.prop.container=(0,Re.createElement)("div",{className:"html2pdf__container",style:Yt}),this.prop.container.appendChild(Vt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Tt.prototype.toCanvas=function(){var it=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(it).then(function(){var at=Object.assign({},this.opt.html2canvas);return delete at.onrendered,Je(this.prop.container,at)}).then(function(at){var Yt=this.opt.html2canvas.onrendered||function(){};Yt(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},Tt.prototype.toImg=function(){var it=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(it).then(function(){var at=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=at})},Tt.prototype.toPdf=function(){var it=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(it).then(function(){var at=this.prop.canvas,Yt=this.opt,Vt=at.height,St=Math.floor(at.width*this.prop.pageSize.inner.ratio),Qt=Math.ceil(Vt/St),cn=this.prop.pageSize.inner.height,Nn=document.createElement("canvas"),fn=Nn.getContext("2d");Nn.width=at.width,Nn.height=St,this.prop.pdf=this.prop.pdf||new dt.jsPDF(Yt.jsPDF);for(var Ln=0;Ln<Qt;Ln++){Ln===Qt-1&&Vt%St!==0&&(Nn.height=Vt%St,cn=Nn.height*this.prop.pageSize.inner.width/Nn.width);var Cn=Nn.width,Bn=Nn.height;fn.fillStyle="white",fn.fillRect(0,0,Cn,Bn),fn.drawImage(at,0,Ln*St,Cn,Bn,0,0,Cn,Bn),Ln&&this.prop.pdf.addPage();var gn=Nn.toDataURL("image/"+Yt.image.type,Yt.image.quality);this.prop.pdf.addImage(gn,Yt.image.type,Yt.margin[1],Yt.margin[0],this.prop.pageSize.inner.width,cn)}})},Tt.prototype.output=function(it,je,at){return at=at||"pdf",at.toLowerCase()==="img"||at.toLowerCase()==="image"?this.outputImg(it,je):this.outputPdf(it,je)},Tt.prototype.outputPdf=function(it,je){var at=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(at).then(function(){return this.prop.pdf.output(it,je)})},Tt.prototype.outputImg=function(it,je){var at=[function(){return this.prop.img||this.toImg()}];return this.thenList(at).then(function(){switch(it){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+it+'" is not supported.'}})},Tt.prototype.save=function(it){var je=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(je).set(it?{filename:it}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Tt.prototype.set=function(it){if((0,Re.objType)(it)!=="object")return this;var je=Object.keys(it||{}).map(function(at){switch(at){case"margin":return this.setMargin.bind(this,it.margin);case"jsPDF":return function(){return this.opt.jsPDF=it.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,it.pageSize);default:return at in Tt.template.prop?function(){this.prop[at]=it[at]}:function(){this.opt[at]=it[at]}}},this);return this.then(function(){return this.thenList(je)})},Tt.prototype.get=function(it,je){return this.then(function(){var Yt=it in Tt.template.prop?this.prop[it]:this.opt[it];return je?je(Yt):Yt})},Tt.prototype.setMargin=function(it){return this.then(function(){switch((0,Re.objType)(it)){case"number":it=[it,it,it,it];case"array":if(it.length===2&&(it=[it[0],it[1],it[0],it[1]]),it.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=it}).then(this.setPageSize)},Tt.prototype.setPageSize=function(it){return this.then(function(){it=it||dt.jsPDF.getPageSize(this.opt.jsPDF),it.hasOwnProperty("inner")||(it.inner={width:it.width-this.opt.margin[1]-this.opt.margin[3],height:it.height-this.opt.margin[0]-this.opt.margin[2]},it.inner.px={width:(0,Re.toPx)(it.inner.width,it.k),height:(0,Re.toPx)(it.inner.height,it.k)},it.inner.ratio=it.inner.height/it.inner.width),this.prop.pageSize=it})},Tt.prototype.setProgress=function(it,je,at,Yt){return it!=null&&(this.progress.val=it),je!=null&&(this.progress.state=je),at!=null&&(this.progress.n=at),Yt!=null&&(this.progress.stack=Yt),this.progress.ratio=this.progress.val/this.progress.state,this},Tt.prototype.updateProgress=function(it,je,at,Yt){return this.setProgress(it?this.progress.val+it:null,je||null,at?this.progress.n+at:null,Yt?this.progress.stack.concat(Yt):null)},Tt.prototype.then=function(it,je){var at=this;return this.thenCore(it,je,function(Vt,St){return at.updateProgress(null,null,1,[Vt]),bt.prototype.then.call(this,function(cn){return at.updateProgress(null,Vt),cn}).then(Vt,St).then(function(cn){return at.updateProgress(1),cn})})},Tt.prototype.thenCore=function(it,je,at){at=at||bt.prototype.then;var Yt=this;it&&(it=it.bind(Yt)),je&&(je=je.bind(Yt));var Vt=bt.toString().indexOf("[native code]")!==-1&&bt.name==="Promise",St=Vt?Yt:Tt.convert(Object.assign({},Yt),bt.prototype),Qt=at.call(St,it,je);return Tt.convert(Qt,Yt.__proto__)},Tt.prototype.thenExternal=function(it,je){return bt.prototype.then.call(this,it,je)},Tt.prototype.thenList=function(it){var je=this;return it.forEach(function(Yt){je=je.thenCore(Yt)}),je},Tt.prototype.catch=function(wt){wt&&(wt=wt.bind(this));var it=bt.prototype.catch.call(this,wt);return Tt.convert(it,this)},Tt.prototype.catchExternal=function(it){return bt.prototype.catch.call(this,it)},Tt.prototype.error=function(it){return this.then(function(){throw new Error(it)})},Tt.prototype.using=Tt.prototype.set,Tt.prototype.saveAs=Tt.prototype.save,Tt.prototype.export=Tt.prototype.output,Tt.prototype.run=Tt.prototype.then,we.default=Tt},"./node_modules/core-js/internals/a-function.js":function(Ae){Ae.exports=function(we){if(typeof we!="function")throw TypeError(String(we)+" is not a function");return we}},"./node_modules/core-js/internals/a-possible-prototype.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be){if(!ze(Be)&&Be!==null)throw TypeError("Can't set "+String(Be)+" as a prototype");return Be}},"./node_modules/core-js/internals/add-to-unscopables.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/well-known-symbol.js"),Be=fe("./node_modules/core-js/internals/object-create.js"),_e=fe("./node_modules/core-js/internals/object-define-property.js"),Oe=ze("unscopables"),He=Array.prototype;He[Oe]==null&&_e.f(He,Oe,{configurable:!0,value:Be(null)}),Ae.exports=function(ke){He[Oe][ke]=!0}},"./node_modules/core-js/internals/an-object.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be){if(!ze(Be))throw TypeError(String(Be)+" is not an object");return Be}},"./node_modules/core-js/internals/array-for-each.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/array-iteration.js").forEach,Be=fe("./node_modules/core-js/internals/array-method-is-strict.js"),_e=Be("forEach");Ae.exports=_e?[].forEach:function(He){return ze(this,He,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/to-length.js"),_e=fe("./node_modules/core-js/internals/to-absolute-index.js"),Oe=function(He){return function(ke,Te,Pe){var Xe=ze(ke),Ke=Be(Xe.length),qe=_e(Pe,Ke),We;if(He&&Te!=Te){for(;Ke>qe;)if(We=Xe[qe++],We!=We)return!0}else for(;Ke>qe;qe++)if((He||qe in Xe)&&Xe[qe]===Te)return He||qe||0;return!He&&-1}};Ae.exports={includes:Oe(!0),indexOf:Oe(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/function-bind-context.js"),Be=fe("./node_modules/core-js/internals/indexed-object.js"),_e=fe("./node_modules/core-js/internals/to-object.js"),Oe=fe("./node_modules/core-js/internals/to-length.js"),He=fe("./node_modules/core-js/internals/array-species-create.js"),ke=[].push,Te=function(Pe){var Xe=Pe==1,Ke=Pe==2,qe=Pe==3,We=Pe==4,Ze=Pe==6,$e=Pe==7,rt=Pe==5||Ze;return function(ht,dt,xt,Je){for(var Lt=_e(ht),Re=Be(Lt),Rt=ze(dt,xt,3),Ft=Oe(Re.length),bt=0,Tt=Je||He,wt=Xe?Tt(ht,Ft):Ke||$e?Tt(ht,0):void 0,it,je;Ft>bt;bt++)if((rt||bt in Re)&&(it=Re[bt],je=Rt(it,bt,Lt),Pe))if(Xe)wt[bt]=je;else if(je)switch(Pe){case 3:return!0;case 5:return it;case 6:return bt;case 2:ke.call(wt,it)}else switch(Pe){case 4:return!1;case 7:ke.call(wt,it)}return Ze?-1:qe||We?We:wt}};Ae.exports={forEach:Te(0),map:Te(1),filter:Te(2),some:Te(3),every:Te(4),find:Te(5),findIndex:Te(6),filterReject:Te(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/well-known-symbol.js"),_e=fe("./node_modules/core-js/internals/engine-v8-version.js"),Oe=Be("species");Ae.exports=function(He){return _e>=51||!ze(function(){var ke=[],Te=ke.constructor={};return Te[Oe]=function(){return{foo:1}},ke[He](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be,_e){var Oe=[][Be];return!!Oe&&ze(function(){Oe.call(null,_e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/is-array.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=_e("species");Ae.exports=function(He){var ke;return Be(He)&&(ke=He.constructor,typeof ke=="function"&&(ke===Array||Be(ke.prototype))?ke=void 0:ze(ke)&&(ke=ke[Oe],ke===null&&(ke=void 0))),ke===void 0?Array:ke}},"./node_modules/core-js/internals/array-species-create.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/array-species-constructor.js");Ae.exports=function(Be,_e){return new(ze(Be))(_e===0?0:_e)}},"./node_modules/core-js/internals/classof-raw.js":function(Ae){var we={}.toString;Ae.exports=function(fe){return we.call(fe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/classof-raw.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=_e("toStringTag"),He=Be(function(){return arguments}())=="Arguments",ke=function(Te,Pe){try{return Te[Pe]}catch(Xe){}};Ae.exports=ze?Be:function(Te){var Pe,Xe,Ke;return Te===void 0?"Undefined":Te===null?"Null":typeof(Xe=ke(Pe=Object(Te),Oe))=="string"?Xe:He?Be(Pe):(Ke=Be(Pe))=="Object"&&typeof Pe.callee=="function"?"Arguments":Ke}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/own-keys.js"),_e=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Oe=fe("./node_modules/core-js/internals/object-define-property.js");Ae.exports=function(He,ke){for(var Te=Be(ke),Pe=Oe.f,Xe=_e.f,Ke=0;Ke<Te.length;Ke++){var qe=Te[Ke];ze(He,qe)||Pe(He,qe,Xe(ke,qe))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!ze(function(){function Be(){}return Be.prototype.constructor=null,Object.getPrototypeOf(new Be)!==Be.prototype})},"./node_modules/core-js/internals/create-html.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/require-object-coercible.js"),Be=fe("./node_modules/core-js/internals/to-string.js"),_e=/"/g;Ae.exports=function(Oe,He,ke,Te){var Pe=Be(ze(Oe)),Xe="<"+He;return ke!==""&&(Xe+=" "+ke+'="'+Be(Te).replace(_e,"&quot;")+'"'),Xe+">"+Pe+"</"+He+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Be=fe("./node_modules/core-js/internals/object-create.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js"),Oe=fe("./node_modules/core-js/internals/set-to-string-tag.js"),He=fe("./node_modules/core-js/internals/iterators.js"),ke=function(){return this};Ae.exports=function(Te,Pe,Xe){var Ke=Pe+" Iterator";return Te.prototype=Be(ze,{next:_e(1,Xe)}),Oe(Te,Ke,!1,!0),He[Ke]=ke,Te}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js");Ae.exports=ze?function(Oe,He,ke){return Be.f(Oe,He,_e(1,ke))}:function(Oe,He,ke){return Oe[He]=ke,Oe}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Ae){Ae.exports=function(we,fe){return{enumerable:!(we&1),configurable:!(we&2),writable:!(we&4),value:fe}}},"./node_modules/core-js/internals/create-property.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/to-property-key.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js");Ae.exports=function(Oe,He,ke){var Te=ze(He);Te in Oe?Be.f(Oe,Te,_e(0,ke)):Oe[Te]=ke}},"./node_modules/core-js/internals/define-iterator.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/create-iterator-constructor.js"),_e=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),Oe=fe("./node_modules/core-js/internals/object-set-prototype-of.js"),He=fe("./node_modules/core-js/internals/set-to-string-tag.js"),ke=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Te=fe("./node_modules/core-js/internals/redefine.js"),Pe=fe("./node_modules/core-js/internals/well-known-symbol.js"),Xe=fe("./node_modules/core-js/internals/is-pure.js"),Ke=fe("./node_modules/core-js/internals/iterators.js"),qe=fe("./node_modules/core-js/internals/iterators-core.js"),We=qe.IteratorPrototype,Ze=qe.BUGGY_SAFARI_ITERATORS,$e=Pe("iterator"),rt="keys",ht="values",dt="entries",xt=function(){return this};Ae.exports=function(Je,Lt,Re,Rt,Ft,bt,Tt){Be(Re,Lt,Rt);var wt=function(fn){if(fn===Ft&&Vt)return Vt;if(!Ze&&fn in at)return at[fn];switch(fn){case rt:return function(){return new Re(this,fn)};case ht:return function(){return new Re(this,fn)};case dt:return function(){return new Re(this,fn)}}return function(){return new Re(this)}},it=Lt+" Iterator",je=!1,at=Je.prototype,Yt=at[$e]||at["@@iterator"]||Ft&&at[Ft],Vt=!Ze&&Yt||wt(Ft),St=Lt=="Array"&&at.entries||Yt,Qt,cn,Nn;if(St&&(Qt=_e(St.call(new Je)),We!==Object.prototype&&Qt.next&&(!Xe&&_e(Qt)!==We&&(Oe?Oe(Qt,We):typeof Qt[$e]!="function"&&ke(Qt,$e,xt)),He(Qt,it,!0,!0),Xe&&(Ke[it]=xt))),Ft==ht&&Yt&&Yt.name!==ht&&(je=!0,Vt=function(){return Yt.call(this)}),(!Xe||Tt)&&at[$e]!==Vt&&ke(at,$e,Vt),Ke[Lt]=Vt,Ft)if(cn={values:wt(ht),keys:bt?Vt:wt(rt),entries:wt(dt)},Tt)for(Nn in cn)(Ze||je||!(Nn in at))&&Te(at,Nn,cn[Nn]);else ze({target:Lt,proto:!0,forced:Ze||je},cn);return cn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/path.js"),Be=fe("./node_modules/core-js/internals/has.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Oe=fe("./node_modules/core-js/internals/object-define-property.js").f;Ae.exports=function(He){var ke=ze.Symbol||(ze.Symbol={});Be(ke,He)||Oe(ke,He,{value:_e.f(He)})}},"./node_modules/core-js/internals/descriptors.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!ze(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/is-object.js"),_e=ze.document,Oe=Be(_e)&&Be(_e.createElement);Ae.exports=function(He){return Oe?_e.createElement(He):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Ae){Ae.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=ze("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/engine-user-agent.js"),_e=ze.process,Oe=ze.Deno,He=_e&&_e.versions||Oe&&Oe.version,ke=He&&He.v8,Te,Pe;ke?(Te=ke.split("."),Pe=Te[0]<4?1:Te[0]+Te[1]):Be&&(Te=Be.match(/Edge\/(\d+)/),(!Te||Te[1]>=74)&&(Te=Be.match(/Chrome\/(\d+)/),Te&&(Pe=Te[1]))),Ae.exports=Pe&&+Pe},"./node_modules/core-js/internals/enum-bug-keys.js":function(Ae){Ae.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,_e=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Oe=fe("./node_modules/core-js/internals/redefine.js"),He=fe("./node_modules/core-js/internals/set-global.js"),ke=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Te=fe("./node_modules/core-js/internals/is-forced.js");Ae.exports=function(Pe,Xe){var Ke=Pe.target,qe=Pe.global,We=Pe.stat,Ze,$e,rt,ht,dt,xt;if(qe?$e=ze:We?$e=ze[Ke]||He(Ke,{}):$e=(ze[Ke]||{}).prototype,$e)for(rt in Xe){if(dt=Xe[rt],Pe.noTargetGet?(xt=Be($e,rt),ht=xt&&xt.value):ht=$e[rt],Ze=Te(qe?rt:Ke+(We?".":"#")+rt,Pe.forced),!Ze&&ht!==void 0){if(typeof dt==typeof ht)continue;ke(dt,ht)}(Pe.sham||ht&&ht.sham)&&_e(dt,"sham",!0),Oe($e,rt,dt,Pe)}}},"./node_modules/core-js/internals/fails.js":function(Ae){Ae.exports=function(we){try{return!!we()}catch(fe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/a-function.js");Ae.exports=function(Be,_e,Oe){if(ze(Be),_e===void 0)return Be;switch(Oe){case 0:return function(){return Be.call(_e)};case 1:return function(He){return Be.call(_e,He)};case 2:return function(He,ke){return Be.call(_e,He,ke)};case 3:return function(He,ke,Te){return Be.call(_e,He,ke,Te)}}return function(){return Be.apply(_e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=function(_e){return typeof _e=="function"?_e:void 0};Ae.exports=function(_e,Oe){return arguments.length<2?Be(ze[_e]):ze[_e]&&ze[_e][Oe]}},"./node_modules/core-js/internals/global.js":function(Ae){var we=function(fe){return fe&&fe.Math==Math&&fe};Ae.exports=we(typeof globalThis=="object"&&globalThis)||we(typeof window=="object"&&window)||we(typeof self=="object"&&self)||we(typeof ce.g=="object"&&ce.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-object.js"),Be={}.hasOwnProperty;Ae.exports=Object.hasOwn||function(Oe,He){return Be.call(ze(Oe),He)}},"./node_modules/core-js/internals/hidden-keys.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/html.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=ze("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/document-create-element.js");Ae.exports=!ze&&!Be(function(){return Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/classof-raw.js"),_e="".split;Ae.exports=ze(function(){return!Object("z").propertyIsEnumerable(0)})?function(Oe){return Be(Oe)=="String"?_e.call(Oe,""):Object(Oe)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/object-set-prototype-of.js");Ae.exports=function(_e,Oe,He){var ke,Te;return Be&&typeof(ke=Oe.constructor)=="function"&&ke!==He&&ze(Te=ke.prototype)&&Te!==He.prototype&&Be(_e,Te),_e}},"./node_modules/core-js/internals/inspect-source.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/shared-store.js"),Be=Function.toString;typeof ze.inspectSource!="function"&&(ze.inspectSource=function(_e){return Be.call(_e)}),Ae.exports=ze.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/native-weak-map.js"),Be=fe("./node_modules/core-js/internals/global.js"),_e=fe("./node_modules/core-js/internals/is-object.js"),Oe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),He=fe("./node_modules/core-js/internals/has.js"),ke=fe("./node_modules/core-js/internals/shared-store.js"),Te=fe("./node_modules/core-js/internals/shared-key.js"),Pe=fe("./node_modules/core-js/internals/hidden-keys.js"),Xe="Object already initialized",Ke=Be.WeakMap,qe,We,Ze,$e=function(Re){return Ze(Re)?We(Re):qe(Re,{})},rt=function(Re){return function(Rt){var Ft;if(!_e(Rt)||(Ft=We(Rt)).type!==Re)throw TypeError("Incompatible receiver, "+Re+" required");return Ft}};if(ze||ke.state){var ht=ke.state||(ke.state=new Ke),dt=ht.get,xt=ht.has,Je=ht.set;qe=function(Re,Rt){if(xt.call(ht,Re))throw new TypeError(Xe);return Rt.facade=Re,Je.call(ht,Re,Rt),Rt},We=function(Re){return dt.call(ht,Re)||{}},Ze=function(Re){return xt.call(ht,Re)}}else{var Lt=Te("state");Pe[Lt]=!0,qe=function(Re,Rt){if(He(Re,Lt))throw new TypeError(Xe);return Rt.facade=Re,Oe(Re,Lt,Rt),Rt},We=function(Re){return He(Re,Lt)?Re[Lt]:{}},Ze=function(Re){return He(Re,Lt)}}Ae.exports={set:qe,get:We,has:Ze,enforce:$e,getterFor:rt}},"./node_modules/core-js/internals/is-array.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/classof-raw.js");Ae.exports=Array.isArray||function(_e){return ze(_e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js"),Be=/#|\.prototype\./,_e=function(Pe,Xe){var Ke=He[Oe(Pe)];return Ke==Te?!0:Ke==ke?!1:typeof Xe=="function"?ze(Xe):!!Xe},Oe=_e.normalize=function(Pe){return String(Pe).replace(Be,".").toLowerCase()},He=_e.data={},ke=_e.NATIVE="N",Te=_e.POLYFILL="P";Ae.exports=_e},"./node_modules/core-js/internals/is-object.js":function(Ae){Ae.exports=function(we){return typeof we=="object"?we!==null:typeof we=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Ae){Ae.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js"),Be=fe("./node_modules/core-js/internals/use-symbol-as-uid.js");Ae.exports=Be?function(_e){return typeof _e=="symbol"}:function(_e){var Oe=ze("Symbol");return typeof Oe=="function"&&Object(_e)instanceof Oe}},"./node_modules/core-js/internals/iterators-core.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),_e=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Oe=fe("./node_modules/core-js/internals/has.js"),He=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=fe("./node_modules/core-js/internals/is-pure.js"),Te=He("iterator"),Pe=!1,Xe=function(){return this},Ke,qe,We;[].keys&&(We=[].keys(),"next"in We?(qe=Be(Be(We)),qe!==Object.prototype&&(Ke=qe)):Pe=!0);var Ze=Ke==null||ze(function(){var $e={};return Ke[Te].call($e)!==$e});Ze&&(Ke={}),(!ke||Ze)&&!Oe(Ke,Te)&&_e(Ke,Te,Xe),Ae.exports={IteratorPrototype:Ke,BUGGY_SAFARI_ITERATORS:Pe}},"./node_modules/core-js/internals/iterators.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/engine-v8-version.js"),Be=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!!Object.getOwnPropertySymbols&&!Be(function(){var _e=Symbol();return!String(_e)||!(Object(_e)instanceof Symbol)||!Symbol.sham&&ze&&ze<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/inspect-source.js"),_e=ze.WeakMap;Ae.exports=typeof _e=="function"&&/native code/.test(Be(_e))},"./node_modules/core-js/internals/object-assign.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/object-keys.js"),Oe=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),He=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ke=fe("./node_modules/core-js/internals/to-object.js"),Te=fe("./node_modules/core-js/internals/indexed-object.js"),Pe=Object.assign,Xe=Object.defineProperty;Ae.exports=!Pe||Be(function(){if(ze&&Pe({b:1},Pe(Xe({},"a",{enumerable:!0,get:function(){Xe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Ke={},qe={},We=Symbol(),Ze="abcdefghijklmnopqrst";return Ke[We]=7,Ze.split("").forEach(function($e){qe[$e]=$e}),Pe({},Ke)[We]!=7||_e(Pe({},qe)).join("")!=Ze})?function(qe,We){for(var Ze=ke(qe),$e=arguments.length,rt=1,ht=Oe.f,dt=He.f;$e>rt;)for(var xt=Te(arguments[rt++]),Je=ht?_e(xt).concat(ht(xt)):_e(xt),Lt=Je.length,Re=0,Rt;Lt>Re;)Rt=Je[Re++],(!ze||dt.call(xt,Rt))&&(Ze[Rt]=xt[Rt]);return Ze}:Pe},"./node_modules/core-js/internals/object-create.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/an-object.js"),Be=fe("./node_modules/core-js/internals/object-define-properties.js"),_e=fe("./node_modules/core-js/internals/enum-bug-keys.js"),Oe=fe("./node_modules/core-js/internals/hidden-keys.js"),He=fe("./node_modules/core-js/internals/html.js"),ke=fe("./node_modules/core-js/internals/document-create-element.js"),Te=fe("./node_modules/core-js/internals/shared-key.js"),Pe=">",Xe="<",Ke="prototype",qe="script",We=Te("IE_PROTO"),Ze=function(){},$e=function(Je){return Xe+qe+Pe+Je+Xe+"/"+qe+Pe},rt=function(Je){Je.write($e("")),Je.close();var Lt=Je.parentWindow.Object;return Je=null,Lt},ht=function(){var Je=ke("iframe"),Lt="java"+qe+":",Re;if(Je.style)return Je.style.display="none",He.appendChild(Je),Je.src=String(Lt),Re=Je.contentWindow.document,Re.open(),Re.write($e("document.F=Object")),Re.close(),Re.F},dt,xt=function(){try{dt=new ActiveXObject("htmlfile")}catch(Lt){}xt=document.domain&&dt?rt(dt):ht()||rt(dt);for(var Je=_e.length;Je--;)delete xt[Ke][_e[Je]];return xt()};Oe[We]=!0,Ae.exports=Object.create||function(Lt,Re){var Rt;return Lt!==null?(Ze[Ke]=ze(Lt),Rt=new Ze,Ze[Ke]=null,Rt[We]=Lt):Rt=xt(),Re===void 0?Rt:Be(Rt,Re)}},"./node_modules/core-js/internals/object-define-properties.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/an-object.js"),Oe=fe("./node_modules/core-js/internals/object-keys.js");Ae.exports=ze?Object.defineProperties:function(ke,Te){_e(ke);for(var Pe=Oe(Te),Xe=Pe.length,Ke=0,qe;Xe>Ke;)Be.f(ke,qe=Pe[Ke++],Te[qe]);return ke}},"./node_modules/core-js/internals/object-define-property.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/ie8-dom-define.js"),_e=fe("./node_modules/core-js/internals/an-object.js"),Oe=fe("./node_modules/core-js/internals/to-property-key.js"),He=Object.defineProperty;we.f=ze?He:function(Te,Pe,Xe){if(_e(Te),Pe=Oe(Pe),_e(Xe),Be)try{return He(Te,Pe,Xe)}catch(Ke){}if("get"in Xe||"set"in Xe)throw TypeError("Accessors not supported");return"value"in Xe&&(Te[Pe]=Xe.value),Te}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js"),Oe=fe("./node_modules/core-js/internals/to-indexed-object.js"),He=fe("./node_modules/core-js/internals/to-property-key.js"),ke=fe("./node_modules/core-js/internals/has.js"),Te=fe("./node_modules/core-js/internals/ie8-dom-define.js"),Pe=Object.getOwnPropertyDescriptor;we.f=ze?Pe:function(Ke,qe){if(Ke=Oe(Ke),qe=He(qe),Te)try{return Pe(Ke,qe)}catch(We){}if(ke(Ke,qe))return _e(!Be.f.call(Ke,qe),Ke[qe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-names.js").f,_e={}.toString,Oe=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],He=function(ke){try{return Be(ke)}catch(Te){return Oe.slice()}};Ae.exports.f=function(Te){return Oe&&_e.call(Te)=="[object Window]"?He(Te):Be(ze(Te))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/object-keys-internal.js"),Be=fe("./node_modules/core-js/internals/enum-bug-keys.js"),_e=Be.concat("length","prototype");we.f=Object.getOwnPropertyNames||function(He){return ze(He,_e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Ae,we){we.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/to-object.js"),_e=fe("./node_modules/core-js/internals/shared-key.js"),Oe=fe("./node_modules/core-js/internals/correct-prototype-getter.js"),He=_e("IE_PROTO"),ke=Object.prototype;Ae.exports=Oe?Object.getPrototypeOf:function(Te){return Te=Be(Te),ze(Te,He)?Te[He]:typeof Te.constructor=="function"&&Te instanceof Te.constructor?Te.constructor.prototype:Te instanceof Object?ke:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/to-indexed-object.js"),_e=fe("./node_modules/core-js/internals/array-includes.js").indexOf,Oe=fe("./node_modules/core-js/internals/hidden-keys.js");Ae.exports=function(He,ke){var Te=Be(He),Pe=0,Xe=[],Ke;for(Ke in Te)!ze(Oe,Ke)&&ze(Te,Ke)&&Xe.push(Ke);for(;ke.length>Pe;)ze(Te,Ke=ke[Pe++])&&(~_e(Xe,Ke)||Xe.push(Ke));return Xe}},"./node_modules/core-js/internals/object-keys.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/object-keys-internal.js"),Be=fe("./node_modules/core-js/internals/enum-bug-keys.js");Ae.exports=Object.keys||function(Oe){return ze(Oe,Be)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Ae,we){"use strict";var fe={}.propertyIsEnumerable,ze=Object.getOwnPropertyDescriptor,Be=ze&&!fe.call({1:2},1);we.f=Be?function(Oe){var He=ze(this,Oe);return!!He&&He.enumerable}:fe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/an-object.js"),Be=fe("./node_modules/core-js/internals/a-possible-prototype.js");Ae.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _e=!1,Oe={},He;try{He=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,He.call(Oe,[]),_e=Oe instanceof Array}catch(ke){}return function(Te,Pe){return ze(Te),Be(Pe),_e?He.call(Te,Pe):Te.__proto__=Pe,Te}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/classof.js");Ae.exports=ze?{}.toString:function(){return"[object "+Be(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be,_e){var Oe,He;if(_e==="string"&&typeof(Oe=Be.toString)=="function"&&!ze(He=Oe.call(Be))||typeof(Oe=Be.valueOf)=="function"&&!ze(He=Oe.call(Be))||_e!=="string"&&typeof(Oe=Be.toString)=="function"&&!ze(He=Oe.call(Be)))return He;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/get-built-in.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),_e=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Oe=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=ze("Reflect","ownKeys")||function(ke){var Te=Be.f(Oe(ke)),Pe=_e.f;return Pe?Te.concat(Pe(ke)):Te}},"./node_modules/core-js/internals/path.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js");Ae.exports=ze},"./node_modules/core-js/internals/redefine.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),_e=fe("./node_modules/core-js/internals/has.js"),Oe=fe("./node_modules/core-js/internals/set-global.js"),He=fe("./node_modules/core-js/internals/inspect-source.js"),ke=fe("./node_modules/core-js/internals/internal-state.js"),Te=ke.get,Pe=ke.enforce,Xe=String(String).split("String");(Ae.exports=function(Ke,qe,We,Ze){var $e=Ze?!!Ze.unsafe:!1,rt=Ze?!!Ze.enumerable:!1,ht=Ze?!!Ze.noTargetGet:!1,dt;if(typeof We=="function"&&(typeof qe=="string"&&!_e(We,"name")&&Be(We,"name",qe),dt=Pe(We),dt.source||(dt.source=Xe.join(typeof qe=="string"?qe:""))),Ke===ze){rt?Ke[qe]=We:Oe(qe,We);return}else $e?!ht&&Ke[qe]&&(rt=!0):delete Ke[qe];rt?Ke[qe]=We:Be(Ke,qe,We)})(Function.prototype,"toString",function(){return typeof this=="function"&&Te(this).source||He(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=function(){var Be=ze(this),_e="";return Be.global&&(_e+="g"),Be.ignoreCase&&(_e+="i"),Be.multiline&&(_e+="m"),Be.dotAll&&(_e+="s"),Be.unicode&&(_e+="u"),Be.sticky&&(_e+="y"),_e}},"./node_modules/core-js/internals/require-object-coercible.js":function(Ae){Ae.exports=function(we){if(we==null)throw TypeError("Can't call method on "+we);return we}},"./node_modules/core-js/internals/set-global.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js");Ae.exports=function(Be,_e){try{Object.defineProperty(ze,Be,{value:_e,configurable:!0,writable:!0})}catch(Oe){ze[Be]=_e}return _e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/object-define-property.js").f,Be=fe("./node_modules/core-js/internals/has.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=_e("toStringTag");Ae.exports=function(He,ke,Te){He&&!Be(He=Te?He:He.prototype,Oe)&&ze(He,Oe,{configurable:!0,value:ke})}},"./node_modules/core-js/internals/shared-key.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/shared.js"),Be=fe("./node_modules/core-js/internals/uid.js"),_e=ze("keys");Ae.exports=function(Oe){return _e[Oe]||(_e[Oe]=Be(Oe))}},"./node_modules/core-js/internals/shared-store.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/set-global.js"),_e="__core-js_shared__",Oe=ze[_e]||Be(_e,{});Ae.exports=Oe},"./node_modules/core-js/internals/shared.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-pure.js"),Be=fe("./node_modules/core-js/internals/shared-store.js");(Ae.exports=function(_e,Oe){return Be[_e]||(Be[_e]=Oe!==void 0?Oe:{})})("versions",[]).push({version:"3.16.0",mode:ze?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be){return ze(function(){var _e=""[Be]('"');return _e!==_e.toLowerCase()||_e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-integer.js"),Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/require-object-coercible.js"),Oe=function(He){return function(ke,Te){var Pe=Be(_e(ke)),Xe=ze(Te),Ke=Pe.length,qe,We;return Xe<0||Xe>=Ke?He?"":void 0:(qe=Pe.charCodeAt(Xe),qe<55296||qe>56319||Xe+1===Ke||(We=Pe.charCodeAt(Xe+1))<56320||We>57343?He?Pe.charAt(Xe):qe:He?Pe.slice(Xe,Xe+2):(qe-55296<<10)+(We-56320)+65536)}};Ae.exports={codeAt:Oe(!1),charAt:Oe(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/require-object-coercible.js"),Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/whitespaces.js"),Oe="["+_e+"]",He=RegExp("^"+Oe+Oe+"*"),ke=RegExp(Oe+Oe+"*$"),Te=function(Pe){return function(Xe){var Ke=Be(ze(Xe));return Pe&1&&(Ke=Ke.replace(He,"")),Pe&2&&(Ke=Ke.replace(ke,"")),Ke}};Ae.exports={start:Te(1),end:Te(2),trim:Te(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.max,_e=Math.min;Ae.exports=function(Oe,He){var ke=ze(Oe);return ke<0?Be(ke+He,0):_e(ke,He)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/indexed-object.js"),Be=fe("./node_modules/core-js/internals/require-object-coercible.js");Ae.exports=function(_e){return ze(Be(_e))}},"./node_modules/core-js/internals/to-integer.js":function(Ae){var we=Math.ceil,fe=Math.floor;Ae.exports=function(ze){return isNaN(ze=+ze)?0:(ze>0?fe:we)(ze)}},"./node_modules/core-js/internals/to-length.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.min;Ae.exports=function(_e){return _e>0?Be(ze(_e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/require-object-coercible.js");Ae.exports=function(Be){return Object(ze(Be))}},"./node_modules/core-js/internals/to-primitive.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/is-symbol.js"),_e=fe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Oe=fe("./node_modules/core-js/internals/well-known-symbol.js"),He=Oe("toPrimitive");Ae.exports=function(ke,Te){if(!ze(ke)||Be(ke))return ke;var Pe=ke[He],Xe;if(Pe!==void 0){if(Te===void 0&&(Te="default"),Xe=Pe.call(ke,Te),!ze(Xe)||Be(Xe))return Xe;throw TypeError("Can't convert object to primitive value")}return Te===void 0&&(Te="number"),_e(ke,Te)}},"./node_modules/core-js/internals/to-property-key.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-primitive.js"),Be=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(_e){var Oe=ze(_e,"string");return Be(Oe)?Oe:String(Oe)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/well-known-symbol.js"),Be=ze("toStringTag"),_e={};_e[Be]="z",Ae.exports=String(_e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(Be){if(ze(Be))throw TypeError("Cannot convert a Symbol value to a string");return String(Be)}},"./node_modules/core-js/internals/uid.js":function(Ae){var we=0,fe=Math.random();Ae.exports=function(ze){return"Symbol("+String(ze===void 0?"":ze)+")_"+(++we+fe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/native-symbol.js");Ae.exports=ze&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/well-known-symbol.js");we.f=ze},"./node_modules/core-js/internals/well-known-symbol.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/shared.js"),_e=fe("./node_modules/core-js/internals/has.js"),Oe=fe("./node_modules/core-js/internals/uid.js"),He=fe("./node_modules/core-js/internals/native-symbol.js"),ke=fe("./node_modules/core-js/internals/use-symbol-as-uid.js"),Te=Be("wks"),Pe=ze.Symbol,Xe=ke?Pe:Pe&&Pe.withoutSetter||Oe;Ae.exports=function(Ke){return(!_e(Te,Ke)||!(He||typeof Te[Ke]=="string"))&&(He&&_e(Pe,Ke)?Te[Ke]=Pe[Ke]:Te[Ke]=Xe("Symbol."+Ke)),Te[Ke]}},"./node_modules/core-js/internals/whitespaces.js":function(Ae){Ae.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/is-array.js"),Oe=fe("./node_modules/core-js/internals/is-object.js"),He=fe("./node_modules/core-js/internals/to-object.js"),ke=fe("./node_modules/core-js/internals/to-length.js"),Te=fe("./node_modules/core-js/internals/create-property.js"),Pe=fe("./node_modules/core-js/internals/array-species-create.js"),Xe=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=fe("./node_modules/core-js/internals/well-known-symbol.js"),qe=fe("./node_modules/core-js/internals/engine-v8-version.js"),We=Ke("isConcatSpreadable"),Ze=9007199254740991,$e="Maximum allowed index exceeded",rt=qe>=51||!Be(function(){var Je=[];return Je[We]=!1,Je.concat()[0]!==Je}),ht=Xe("concat"),dt=function(Je){if(!Oe(Je))return!1;var Lt=Je[We];return Lt!==void 0?!!Lt:_e(Je)},xt=!rt||!ht;ze({target:"Array",proto:!0,forced:xt},{concat:function(Lt){var Re=He(this),Rt=Pe(Re,0),Ft=0,bt,Tt,wt,it,je;for(bt=-1,wt=arguments.length;bt<wt;bt++)if(je=bt===-1?Re:arguments[bt],dt(je)){if(it=ke(je.length),Ft+it>Ze)throw TypeError($e);for(Tt=0;Tt<it;Tt++,Ft++)Tt in je&&Te(Rt,Ft,je[Tt])}else{if(Ft>=Ze)throw TypeError($e);Te(Rt,Ft++,je)}return Rt.length=Ft,Rt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/add-to-unscopables.js"),_e=fe("./node_modules/core-js/internals/iterators.js"),Oe=fe("./node_modules/core-js/internals/internal-state.js"),He=fe("./node_modules/core-js/internals/define-iterator.js"),ke="Array Iterator",Te=Oe.set,Pe=Oe.getterFor(ke);Ae.exports=He(Array,"Array",function(Xe,Ke){Te(this,{type:ke,target:ze(Xe),index:0,kind:Ke})},function(){var Xe=Pe(this),Ke=Xe.target,qe=Xe.kind,We=Xe.index++;return!Ke||We>=Ke.length?(Xe.target=void 0,{value:void 0,done:!0}):qe=="keys"?{value:We,done:!1}:qe=="values"?{value:Ke[We],done:!1}:{value:[We,Ke[We]],done:!1}},"values"),_e.Arguments=_e.Array,Be("keys"),Be("values"),Be("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/indexed-object.js"),_e=fe("./node_modules/core-js/internals/to-indexed-object.js"),Oe=fe("./node_modules/core-js/internals/array-method-is-strict.js"),He=[].join,ke=Be!=Object,Te=Oe("join",",");ze({target:"Array",proto:!0,forced:ke||!Te},{join:function(Xe){return He.call(_e(this),Xe===void 0?",":Xe)}})},"./node_modules/core-js/modules/es.array.map.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/array-iteration.js").map,_e=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),Oe=_e("map");ze({target:"Array",proto:!0,forced:!Oe},{map:function(ke){return Be(this,ke,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/is-object.js"),_e=fe("./node_modules/core-js/internals/is-array.js"),Oe=fe("./node_modules/core-js/internals/to-absolute-index.js"),He=fe("./node_modules/core-js/internals/to-length.js"),ke=fe("./node_modules/core-js/internals/to-indexed-object.js"),Te=fe("./node_modules/core-js/internals/create-property.js"),Pe=fe("./node_modules/core-js/internals/well-known-symbol.js"),Xe=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=Xe("slice"),qe=Pe("species"),We=[].slice,Ze=Math.max;ze({target:"Array",proto:!0,forced:!Ke},{slice:function(rt,ht){var dt=ke(this),xt=He(dt.length),Je=Oe(rt,xt),Lt=Oe(ht===void 0?xt:ht,xt),Re,Rt,Ft;if(_e(dt)&&(Re=dt.constructor,typeof Re=="function"&&(Re===Array||_e(Re.prototype))?Re=void 0:Be(Re)&&(Re=Re[qe],Re===null&&(Re=void 0)),Re===Array||Re===void 0))return We.call(dt,Je,Lt);for(Rt=new(Re===void 0?Array:Re)(Ze(Lt-Je,0)),Ft=0;Je<Lt;Je++,Ft++)Je in dt&&Te(Rt,Ft,dt[Je]);return Rt.length=Ft,Rt}})},"./node_modules/core-js/modules/es.function.name.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js").f,_e=Function.prototype,Oe=_e.toString,He=/^\s*function ([^ (]*)/,ke="name";ze&&!(ke in _e)&&Be(_e,ke,{configurable:!0,get:function(){try{return Oe.call(this).match(He)[1]}catch(Te){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/global.js"),_e=fe("./node_modules/core-js/internals/is-forced.js"),Oe=fe("./node_modules/core-js/internals/redefine.js"),He=fe("./node_modules/core-js/internals/has.js"),ke=fe("./node_modules/core-js/internals/classof-raw.js"),Te=fe("./node_modules/core-js/internals/inherit-if-required.js"),Pe=fe("./node_modules/core-js/internals/is-symbol.js"),Xe=fe("./node_modules/core-js/internals/to-primitive.js"),Ke=fe("./node_modules/core-js/internals/fails.js"),qe=fe("./node_modules/core-js/internals/object-create.js"),We=fe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ze=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,$e=fe("./node_modules/core-js/internals/object-define-property.js").f,rt=fe("./node_modules/core-js/internals/string-trim.js").trim,ht="Number",dt=Be[ht],xt=dt.prototype,Je=ke(qe(xt))==ht,Lt=function(Tt){if(Pe(Tt))throw TypeError("Cannot convert a Symbol value to a number");var wt=Xe(Tt,"number"),it,je,at,Yt,Vt,St,Qt,cn;if(typeof wt=="string"&&wt.length>2){if(wt=rt(wt),it=wt.charCodeAt(0),it===43||it===45){if(je=wt.charCodeAt(2),je===88||je===120)return NaN}else if(it===48){switch(wt.charCodeAt(1)){case 66:case 98:at=2,Yt=49;break;case 79:case 111:at=8,Yt=55;break;default:return+wt}for(Vt=wt.slice(2),St=Vt.length,Qt=0;Qt<St;Qt++)if(cn=Vt.charCodeAt(Qt),cn<48||cn>Yt)return NaN;return parseInt(Vt,at)}}return+wt};if(_e(ht,!dt(" 0o1")||!dt("0b1")||dt("+0x1"))){for(var Re=function(wt){var it=arguments.length<1?0:wt,je=this;return je instanceof Re&&(Je?Ke(function(){xt.valueOf.call(je)}):ke(je)!=ht)?Te(new dt(Lt(it)),je,Re):Lt(it)},Rt=ze?We(dt):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ft=0,bt;Rt.length>Ft;Ft++)He(dt,bt=Rt[Ft])&&!He(Re,bt)&&$e(Re,bt,Ze(dt,bt));Re.prototype=xt,xt.constructor=Re,Oe(Be,ht,Re)}},"./node_modules/core-js/modules/es.object.assign.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/object-assign.js");ze({target:"Object",stat:!0,forced:Object.assign!==Be},{assign:Be})},"./node_modules/core-js/modules/es.object.keys.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/to-object.js"),_e=fe("./node_modules/core-js/internals/object-keys.js"),Oe=fe("./node_modules/core-js/internals/fails.js"),He=Oe(function(){_e(1)});ze({target:"Object",stat:!0,forced:He},{keys:function(Te){return _e(Be(Te))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/redefine.js"),_e=fe("./node_modules/core-js/internals/object-to-string.js");ze||Be(Object.prototype,"toString",_e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/redefine.js"),Be=fe("./node_modules/core-js/internals/an-object.js"),_e=fe("./node_modules/core-js/internals/to-string.js"),Oe=fe("./node_modules/core-js/internals/fails.js"),He=fe("./node_modules/core-js/internals/regexp-flags.js"),ke="toString",Te=RegExp.prototype,Pe=Te[ke],Xe=Oe(function(){return Pe.call({source:"a",flags:"b"})!="/a/b"}),Ke=Pe.name!=ke;(Xe||Ke)&&ze(RegExp.prototype,ke,function(){var We=Be(this),Ze=_e(We.source),$e=We.flags,rt=_e($e===void 0&&We instanceof RegExp&&!("flags"in Te)?He.call(We):$e);return"/"+Ze+"/"+rt},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/string-multibyte.js").charAt,Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/internal-state.js"),Oe=fe("./node_modules/core-js/internals/define-iterator.js"),He="String Iterator",ke=_e.set,Te=_e.getterFor(He);Oe(String,"String",function(Pe){ke(this,{type:He,string:Be(Pe),index:0})},function(){var Xe=Te(this),Ke=Xe.string,qe=Xe.index,We;return qe>=Ke.length?{value:void 0,done:!0}:(We=ze(Ke,qe),Xe.index+=We.length,{value:We,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/create-html.js"),_e=fe("./node_modules/core-js/internals/string-html-forced.js");ze({target:"String",proto:!0,forced:_e("link")},{link:function(He){return Be(this,"a","href",He)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/descriptors.js"),_e=fe("./node_modules/core-js/internals/global.js"),Oe=fe("./node_modules/core-js/internals/has.js"),He=fe("./node_modules/core-js/internals/is-object.js"),ke=fe("./node_modules/core-js/internals/object-define-property.js").f,Te=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Pe=_e.Symbol;if(Be&&typeof Pe=="function"&&(!("description"in Pe.prototype)||Pe().description!==void 0)){var Xe={},Ke=function(){var ht=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),dt=this instanceof Ke?new Pe(ht):ht===void 0?Pe():Pe(ht);return ht===""&&(Xe[dt]=!0),dt};Te(Ke,Pe);var qe=Ke.prototype=Pe.prototype;qe.constructor=Ke;var We=qe.toString,Ze=String(Pe("test"))=="Symbol(test)",$e=/^Symbol\((.*)\)[^)]+$/;ke(qe,"description",{configurable:!0,get:function(){var ht=He(this)?this.valueOf():this,dt=We.call(ht);if(Oe(Xe,ht))return"";var xt=Ze?dt.slice(7,-1):dt.replace($e,"$1");return xt===""?void 0:xt}}),ze({global:!0,forced:!0},{Symbol:Ke})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/define-well-known-symbol.js");ze("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Ae,we,fe){"use strict";var ze=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/global.js"),_e=fe("./node_modules/core-js/internals/get-built-in.js"),Oe=fe("./node_modules/core-js/internals/is-pure.js"),He=fe("./node_modules/core-js/internals/descriptors.js"),ke=fe("./node_modules/core-js/internals/native-symbol.js"),Te=fe("./node_modules/core-js/internals/fails.js"),Pe=fe("./node_modules/core-js/internals/has.js"),Xe=fe("./node_modules/core-js/internals/is-array.js"),Ke=fe("./node_modules/core-js/internals/is-object.js"),qe=fe("./node_modules/core-js/internals/is-symbol.js"),We=fe("./node_modules/core-js/internals/an-object.js"),Ze=fe("./node_modules/core-js/internals/to-object.js"),$e=fe("./node_modules/core-js/internals/to-indexed-object.js"),rt=fe("./node_modules/core-js/internals/to-property-key.js"),ht=fe("./node_modules/core-js/internals/to-string.js"),dt=fe("./node_modules/core-js/internals/create-property-descriptor.js"),xt=fe("./node_modules/core-js/internals/object-create.js"),Je=fe("./node_modules/core-js/internals/object-keys.js"),Lt=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),Re=fe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Rt=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ft=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),bt=fe("./node_modules/core-js/internals/object-define-property.js"),Tt=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),wt=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),it=fe("./node_modules/core-js/internals/redefine.js"),je=fe("./node_modules/core-js/internals/shared.js"),at=fe("./node_modules/core-js/internals/shared-key.js"),Yt=fe("./node_modules/core-js/internals/hidden-keys.js"),Vt=fe("./node_modules/core-js/internals/uid.js"),St=fe("./node_modules/core-js/internals/well-known-symbol.js"),Qt=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),cn=fe("./node_modules/core-js/internals/define-well-known-symbol.js"),Nn=fe("./node_modules/core-js/internals/set-to-string-tag.js"),fn=fe("./node_modules/core-js/internals/internal-state.js"),Ln=fe("./node_modules/core-js/internals/array-iteration.js").forEach,Cn=at("hidden"),Bn="Symbol",gn="prototype",Se=St("toPrimitive"),Fe=fn.set,ie=fn.getterFor(Bn),ae=Object[gn],se=Be.Symbol,oe=_e("JSON","stringify"),Ye=Ft.f,vt=bt.f,et=Re.f,lt=Tt.f,Pt=je("symbols"),Mt=je("op-symbols"),kt=je("string-to-symbol-registry"),$t=je("symbol-to-string-registry"),Sn=je("wks"),Bt=Be.QObject,nn=!Bt||!Bt[gn]||!Bt[gn].findChild,tn=He&&Te(function(){return xt(vt({},"a",{get:function(){return vt(this,"a",{value:7}).a}})).a!=7})?function(Qr,vr,Ar){var Tr=Ye(ae,vr);Tr&&delete ae[vr],vt(Qr,vr,Ar),Tr&&Qr!==ae&&vt(ae,vr,Tr)}:vt,zt=function(Qr,vr){var Ar=Pt[Qr]=xt(se[gn]);return Fe(Ar,{type:Bn,tag:Qr,description:vr}),He||(Ar.description=vr),Ar},pt=function(vr,Ar,Tr){vr===ae&&pt(Mt,Ar,Tr),We(vr);var Bi=rt(Ar);return We(Tr),Pe(Pt,Bi)?(Tr.enumerable?(Pe(vr,Cn)&&vr[Cn][Bi]&&(vr[Cn][Bi]=!1),Tr=xt(Tr,{enumerable:dt(0,!1)})):(Pe(vr,Cn)||vt(vr,Cn,dt(1,{})),vr[Cn][Bi]=!0),tn(vr,Bi,Tr)):vt(vr,Bi,Tr)},Wt=function(vr,Ar){We(vr);var Tr=$e(Ar),Bi=Je(Tr).concat(Lr(Tr));return Ln(Bi,function($i){(!He||xn.call(Tr,$i))&&pt(vr,$i,Tr[$i])}),vr},vn=function(vr,Ar){return Ar===void 0?xt(vr):Wt(xt(vr),Ar)},xn=function(vr){var Ar=rt(vr),Tr=lt.call(this,Ar);return this===ae&&Pe(Pt,Ar)&&!Pe(Mt,Ar)?!1:Tr||!Pe(this,Ar)||!Pe(Pt,Ar)||Pe(this,Cn)&&this[Cn][Ar]?Tr:!0},Wn=function(vr,Ar){var Tr=$e(vr),Bi=rt(Ar);if(!(Tr===ae&&Pe(Pt,Bi)&&!Pe(Mt,Bi))){var $i=Ye(Tr,Bi);return $i&&Pe(Pt,Bi)&&!(Pe(Tr,Cn)&&Tr[Cn][Bi])&&($i.enumerable=!0),$i}},br=function(vr){var Ar=et($e(vr)),Tr=[];return Ln(Ar,function(Bi){!Pe(Pt,Bi)&&!Pe(Yt,Bi)&&Tr.push(Bi)}),Tr},Lr=function(vr){var Ar=vr===ae,Tr=et(Ar?Mt:$e(vr)),Bi=[];return Ln(Tr,function($i){Pe(Pt,$i)&&(!Ar||Pe(ae,$i))&&Bi.push(Pt[$i])}),Bi};if(ke||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var vr=!arguments.length||arguments[0]===void 0?void 0:ht(arguments[0]),Ar=Vt(vr),Tr=function(Bi){this===ae&&Tr.call(Mt,Bi),Pe(this,Cn)&&Pe(this[Cn],Ar)&&(this[Cn][Ar]=!1),tn(this,Ar,dt(1,Bi))};return He&&nn&&tn(ae,Ar,{configurable:!0,set:Tr}),zt(Ar,vr)},it(se[gn],"toString",function(){return ie(this).tag}),it(se,"withoutSetter",function(Qr){return zt(Vt(Qr),Qr)}),Tt.f=xn,bt.f=pt,Ft.f=Wn,Lt.f=Re.f=br,Rt.f=Lr,Qt.f=function(Qr){return zt(St(Qr),Qr)},He&&(vt(se[gn],"description",{configurable:!0,get:function(){return ie(this).description}}),Oe||it(ae,"propertyIsEnumerable",xn,{unsafe:!0}))),ze({global:!0,wrap:!0,forced:!ke,sham:!ke},{Symbol:se}),Ln(Je(Sn),function(Qr){cn(Qr)}),ze({target:Bn,stat:!0,forced:!ke},{for:function(Qr){var vr=ht(Qr);if(Pe(kt,vr))return kt[vr];var Ar=se(vr);return kt[vr]=Ar,$t[Ar]=vr,Ar},keyFor:function(vr){if(!qe(vr))throw TypeError(vr+" is not a symbol");if(Pe($t,vr))return $t[vr]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),ze({target:"Object",stat:!0,forced:!ke,sham:!He},{create:vn,defineProperty:pt,defineProperties:Wt,getOwnPropertyDescriptor:Wn}),ze({target:"Object",stat:!0,forced:!ke},{getOwnPropertyNames:br,getOwnPropertySymbols:Lr}),ze({target:"Object",stat:!0,forced:Te(function(){Rt.f(1)})},{getOwnPropertySymbols:function(vr){return Rt.f(Ze(vr))}}),oe){var jr=!ke||Te(function(){var Qr=se();return oe([Qr])!="[null]"||oe({a:Qr})!="{}"||oe(Object(Qr))!="{}"});ze({target:"JSON",stat:!0,forced:jr},{stringify:function(vr,Ar,Tr){for(var Bi=[vr],$i=1,mi;arguments.length>$i;)Bi.push(arguments[$i++]);if(mi=Ar,!(!Ke(Ar)&&vr===void 0||qe(vr)))return Xe(Ar)||(Ar=function(Mi,pa){if(typeof mi=="function"&&(pa=mi.call(this,Mi,pa)),!qe(pa))return pa}),Bi[1]=Ar,oe.apply(null,Bi)}})}se[gn][Se]||wt(se[gn],Se,se[gn].valueOf),Nn(se,Bn),Yt[Cn]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/dom-iterables.js"),_e=fe("./node_modules/core-js/internals/array-for-each.js"),Oe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var He in Be){var ke=ze[He],Te=ke&&ke.prototype;if(Te&&Te.forEach!==_e)try{Oe(Te,"forEach",_e)}catch(Pe){Te.forEach=_e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Ae,we,fe){var ze=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/dom-iterables.js"),_e=fe("./node_modules/core-js/modules/es.array.iterator.js"),Oe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),He=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=He("iterator"),Te=He("toStringTag"),Pe=_e.values;for(var Xe in Be){var Ke=ze[Xe],qe=Ke&&Ke.prototype;if(qe){if(qe[ke]!==Pe)try{Oe(qe,ke,Pe)}catch(Ze){qe[ke]=Pe}if(qe[Te]||Oe(qe,Te,Xe),Be[Xe]){for(var We in _e)if(qe[We]!==_e[We])try{Oe(qe,We,_e[We])}catch(Ze){qe[We]=_e[We]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Ae){(function(we,fe){Ae.exports=fe()})(this,function(){"use strict";function we(Bt){var nn=typeof Bt;return Bt!==null&&(nn==="object"||nn==="function")}function fe(Bt){return typeof Bt=="function"}var ze=void 0;Array.isArray?ze=Array.isArray:ze=function(Bt){return Object.prototype.toString.call(Bt)==="[object Array]"};var Be=ze,_e=0,Oe=void 0,He=void 0,ke=function(nn,tn){Je[_e]=nn,Je[_e+1]=tn,_e+=2,_e===2&&(He?He(Lt):Rt())};function Te(Bt){He=Bt}function Pe(Bt){ke=Bt}var Xe=typeof window!="undefined"?window:void 0,Ke=Xe||{},qe=Ke.MutationObserver||Ke.WebKitMutationObserver,We=typeof self=="undefined"&&typeof he!="undefined"&&{}.toString.call(he)==="[object process]",Ze=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function $e(){return function(){return he.nextTick(Lt)}}function rt(){return typeof Oe!="undefined"?function(){Oe(Lt)}:xt()}function ht(){var Bt=0,nn=new qe(Lt),tn=document.createTextNode("");return nn.observe(tn,{characterData:!0}),function(){tn.data=Bt=++Bt%2}}function dt(){var Bt=new MessageChannel;return Bt.port1.onmessage=Lt,function(){return Bt.port2.postMessage(0)}}function xt(){var Bt=setTimeout;return function(){return Bt(Lt,1)}}var Je=new Array(1e3);function Lt(){for(var Bt=0;Bt<_e;Bt+=2){var nn=Je[Bt],tn=Je[Bt+1];nn(tn),Je[Bt]=void 0,Je[Bt+1]=void 0}_e=0}function Re(){try{var Bt=Function("return this")().require("vertx");return Oe=Bt.runOnLoop||Bt.runOnContext,rt()}catch(nn){return xt()}}var Rt=void 0;We?Rt=$e():qe?Rt=ht():Ze?Rt=dt():Xe===void 0?Rt=Re():Rt=xt();function Ft(Bt,nn){var tn=this,zt=new this.constructor(wt);zt[Tt]===void 0&&oe(zt);var pt=tn._state;if(pt){var Wt=arguments[pt-1];ke(function(){return Fe(pt,zt,Wt,tn._result)})}else gn(tn,zt,Bt,nn);return zt}function bt(Bt){var nn=this;if(Bt&&typeof Bt=="object"&&Bt.constructor===nn)return Bt;var tn=new nn(wt);return fn(tn,Bt),tn}var Tt=Math.random().toString(36).substring(2);function wt(){}var it=void 0,je=1,at=2;function Yt(){return new TypeError("You cannot resolve a promise with itself")}function Vt(){return new TypeError("A promises callback cannot return that same promise.")}function St(Bt,nn,tn,zt){try{Bt.call(nn,tn,zt)}catch(pt){return pt}}function Qt(Bt,nn,tn){ke(function(zt){var pt=!1,Wt=St(tn,nn,function(vn){pt||(pt=!0,nn!==vn?fn(zt,vn):Cn(zt,vn))},function(vn){pt||(pt=!0,Bn(zt,vn))},"Settle: "+(zt._label||" unknown promise"));!pt&&Wt&&(pt=!0,Bn(zt,Wt))},Bt)}function cn(Bt,nn){nn._state===je?Cn(Bt,nn._result):nn._state===at?Bn(Bt,nn._result):gn(nn,void 0,function(tn){return fn(Bt,tn)},function(tn){return Bn(Bt,tn)})}function Nn(Bt,nn,tn){nn.constructor===Bt.constructor&&tn===Ft&&nn.constructor.resolve===bt?cn(Bt,nn):tn===void 0?Cn(Bt,nn):fe(tn)?Qt(Bt,nn,tn):Cn(Bt,nn)}function fn(Bt,nn){if(Bt===nn)Bn(Bt,Yt());else if(we(nn)){var tn=void 0;try{tn=nn.then}catch(zt){Bn(Bt,zt);return}Nn(Bt,nn,tn)}else Cn(Bt,nn)}function Ln(Bt){Bt._onerror&&Bt._onerror(Bt._result),Se(Bt)}function Cn(Bt,nn){Bt._state===it&&(Bt._result=nn,Bt._state=je,Bt._subscribers.length!==0&&ke(Se,Bt))}function Bn(Bt,nn){Bt._state===it&&(Bt._state=at,Bt._result=nn,ke(Ln,Bt))}function gn(Bt,nn,tn,zt){var pt=Bt._subscribers,Wt=pt.length;Bt._onerror=null,pt[Wt]=nn,pt[Wt+je]=tn,pt[Wt+at]=zt,Wt===0&&Bt._state&&ke(Se,Bt)}function Se(Bt){var nn=Bt._subscribers,tn=Bt._state;if(nn.length!==0){for(var zt=void 0,pt=void 0,Wt=Bt._result,vn=0;vn<nn.length;vn+=3)zt=nn[vn],pt=nn[vn+tn],zt?Fe(tn,zt,pt,Wt):pt(Wt);Bt._subscribers.length=0}}function Fe(Bt,nn,tn,zt){var pt=fe(tn),Wt=void 0,vn=void 0,xn=!0;if(pt){try{Wt=tn(zt)}catch(Wn){xn=!1,vn=Wn}if(nn===Wt){Bn(nn,Vt());return}}else Wt=zt;nn._state!==it||(pt&&xn?fn(nn,Wt):xn===!1?Bn(nn,vn):Bt===je?Cn(nn,Wt):Bt===at&&Bn(nn,Wt))}function ie(Bt,nn){try{nn(function(zt){fn(Bt,zt)},function(zt){Bn(Bt,zt)})}catch(tn){Bn(Bt,tn)}}var ae=0;function se(){return ae++}function oe(Bt){Bt[Tt]=ae++,Bt._state=void 0,Bt._result=void 0,Bt._subscribers=[]}function Ye(){return new Error("Array Methods must be provided an Array")}var vt=function(){function Bt(nn,tn){this._instanceConstructor=nn,this.promise=new nn(wt),this.promise[Tt]||oe(this.promise),Be(tn)?(this.length=tn.length,this._remaining=tn.length,this._result=new Array(this.length),this.length===0?Cn(this.promise,this._result):(this.length=this.length||0,this._enumerate(tn),this._remaining===0&&Cn(this.promise,this._result))):Bn(this.promise,Ye())}return Bt.prototype._enumerate=function(tn){for(var zt=0;this._state===it&&zt<tn.length;zt++)this._eachEntry(tn[zt],zt)},Bt.prototype._eachEntry=function(tn,zt){var pt=this._instanceConstructor,Wt=pt.resolve;if(Wt===bt){var vn=void 0,xn=void 0,Wn=!1;try{vn=tn.then}catch(Lr){Wn=!0,xn=Lr}if(vn===Ft&&tn._state!==it)this._settledAt(tn._state,zt,tn._result);else if(typeof vn!="function")this._remaining--,this._result[zt]=tn;else if(pt===$t){var br=new pt(wt);Wn?Bn(br,xn):Nn(br,tn,vn),this._willSettleAt(br,zt)}else this._willSettleAt(new pt(function(Lr){return Lr(tn)}),zt)}else this._willSettleAt(Wt(tn),zt)},Bt.prototype._settledAt=function(tn,zt,pt){var Wt=this.promise;Wt._state===it&&(this._remaining--,tn===at?Bn(Wt,pt):this._result[zt]=pt),this._remaining===0&&Cn(Wt,this._result)},Bt.prototype._willSettleAt=function(tn,zt){var pt=this;gn(tn,void 0,function(Wt){return pt._settledAt(je,zt,Wt)},function(Wt){return pt._settledAt(at,zt,Wt)})},Bt}();function et(Bt){return new vt(this,Bt).promise}function lt(Bt){var nn=this;return Be(Bt)?new nn(function(tn,zt){for(var pt=Bt.length,Wt=0;Wt<pt;Wt++)nn.resolve(Bt[Wt]).then(tn,zt)}):new nn(function(tn,zt){return zt(new TypeError("You must pass an array to race."))})}function Pt(Bt){var nn=this,tn=new nn(wt);return Bn(tn,Bt),tn}function Mt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function kt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var $t=function(){function Bt(nn){this[Tt]=se(),this._result=this._state=void 0,this._subscribers=[],wt!==nn&&(typeof nn!="function"&&Mt(),this instanceof Bt?ie(this,nn):kt())}return Bt.prototype.catch=function(tn){return this.then(null,tn)},Bt.prototype.finally=function(tn){var zt=this,pt=zt.constructor;return fe(tn)?zt.then(function(Wt){return pt.resolve(tn()).then(function(){return Wt})},function(Wt){return pt.resolve(tn()).then(function(){throw Wt})}):zt.then(tn,tn)},Bt}();$t.prototype.then=Ft,$t.all=et,$t.race=lt,$t.resolve=bt,$t.reject=Pt,$t._setScheduler=Te,$t._setAsap=Pe,$t._asap=ke;function Sn(){var Bt=void 0;if(typeof ce.g!="undefined")Bt=ce.g;else if(typeof self!="undefined")Bt=self;else try{Bt=Function("return this")()}catch(zt){throw new Error("polyfill failed because global object is unavailable in this environment")}var nn=Bt.Promise;if(nn){var tn=null;try{tn=Object.prototype.toString.call(nn.resolve())}catch(zt){}if(tn==="[object Promise]"&&!nn.cast)return}Bt.Promise=$t}return $t.polyfill=Sn,$t.Promise=$t,$t})},html2canvas:function(Ae){"use strict";Ae.exports=Ue},jspdf:function(Ae){"use strict";Ae.exports=Me}},Ne={};function Le(Ae){var we=Ne[Ae];if(we!==void 0)return we.exports;var fe=Ne[Ae]={exports:{}};return At[Ae].call(fe.exports,fe,fe.exports,Le),fe.exports}(function(){Le.n=function(Ae){var we=Ae&&Ae.__esModule?function(){return Ae.default}:function(){return Ae};return Le.d(we,{a:we}),we}})(),function(){Le.d=function(Ae,we){for(var fe in we)Le.o(we,fe)&&!Le.o(Ae,fe)&&Object.defineProperty(Ae,fe,{enumerable:!0,get:we[fe]})}}(),function(){Le.o=function(Ae,we){return Object.prototype.hasOwnProperty.call(Ae,we)}}(),function(){Le.r=function(Ae){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Ae,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Ae,"__esModule",{value:!0})}}();var ve={};return function(){"use strict";Le.r(ve);var Ae=Le("./src/worker.js"),we=Le("./src/plugin/jspdf-plugin.js"),fe=Le("./src/plugin/pagebreaks.js"),ze=Le("./src/plugin/hyperlinks.js"),Be=function _e(Oe,He){var ke=new _e.Worker(He);return Oe?ke.from(Oe).save():ke};Be.Worker=Ae.default,ve.default=Be}(),ve=ve.default,ve}()})},67467:function(Tn,Xt){Xt.read=function(ce,he,Me,Ue,At){var Ne,Le,ve=At*8-Ue-1,Ae=(1<<ve)-1,we=Ae>>1,fe=-7,ze=Me?At-1:0,Be=Me?-1:1,_e=ce[he+ze];for(ze+=Be,Ne=_e&(1<<-fe)-1,_e>>=-fe,fe+=ve;fe>0;Ne=Ne*256+ce[he+ze],ze+=Be,fe-=8);for(Le=Ne&(1<<-fe)-1,Ne>>=-fe,fe+=Ue;fe>0;Le=Le*256+ce[he+ze],ze+=Be,fe-=8);if(Ne===0)Ne=1-we;else{if(Ne===Ae)return Le?NaN:(_e?-1:1)*(1/0);Le=Le+Math.pow(2,Ue),Ne=Ne-we}return(_e?-1:1)*Le*Math.pow(2,Ne-Ue)},Xt.write=function(ce,he,Me,Ue,At,Ne){var Le,ve,Ae,we=Ne*8-At-1,fe=(1<<we)-1,ze=fe>>1,Be=At===23?Math.pow(2,-24)-Math.pow(2,-77):0,_e=Ue?0:Ne-1,Oe=Ue?1:-1,He=he<0||he===0&&1/he<0?1:0;for(he=Math.abs(he),isNaN(he)||he===1/0?(ve=isNaN(he)?1:0,Le=fe):(Le=Math.floor(Math.log(he)/Math.LN2),he*(Ae=Math.pow(2,-Le))<1&&(Le--,Ae*=2),Le+ze>=1?he+=Be/Ae:he+=Be*Math.pow(2,1-ze),he*Ae>=2&&(Le++,Ae/=2),Le+ze>=fe?(ve=0,Le=fe):Le+ze>=1?(ve=(he*Ae-1)*Math.pow(2,At),Le=Le+ze):(ve=he*Math.pow(2,ze-1)*Math.pow(2,At),Le=0));At>=8;ce[Me+_e]=ve&255,_e+=Oe,ve/=256,At-=8);for(Le=Le<<At|ve,we+=At;we>0;ce[Me+_e]=Le&255,_e+=Oe,Le/=256,we-=8);ce[Me+_e-Oe]|=He*128}},53307:function(Tn,Xt,ce){"use strict";ce.r(Xt),ce.d(Xt,{AcroForm:function(){return HA},AcroFormAppearance:function(){return xo},AcroFormButton:function(){return dl},AcroFormCheckBox:function(){return uu},AcroFormChoiceField:function(){return No},AcroFormComboBox:function(){return ds},AcroFormEditBox:function(){return ls},AcroFormListBox:function(){return El},AcroFormPasswordField:function(){return Al},AcroFormPushButton:function(){return zl},AcroFormRadioButton:function(){return nl},AcroFormTextField:function(){return Dl},GState:function(){return kp},ShadingPattern:function(){return l0},TilingPattern:function(){return u0},default:function(){return Ls},jsPDF:function(){return Ls}});var he=ce(43749),Me={},Ue=function(E,ne,te,de,ge){var Ce=new Worker(Me[ne]||(Me[ne]=URL.createObjectURL(new Blob([E+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Ce.onmessage=function(nt){var Ge=nt.data,ot=Ge.$e$;if(ot){var ft=new Error(ot[0]);ft.code=ot[1],ft.stack=ot[2],ge(ft,null)}else ge(null,Ge)},Ce.postMessage(te,de),Ce},At=Uint8Array,Ne=Uint16Array,Le=Int32Array,ve=new At([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ae=new At([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),we=new At([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fe=function(E,ne){for(var te=new Ne(31),de=0;de<31;++de)te[de]=ne+=1<<E[de-1];for(var ge=new Le(te[30]),de=1;de<30;++de)for(var Ce=te[de];Ce<te[de+1];++Ce)ge[Ce]=Ce-te[de]<<5|de;return{b:te,r:ge}},ze=fe(ve,2),Be=ze.b,_e=ze.r;Be[28]=258,_e[258]=28;for(var Oe=fe(Ae,0),He=Oe.b,ke=Oe.r,Te=new Ne(32768),Pe=0;Pe<32768;++Pe){var Xe=(Pe&43690)>>1|(Pe&21845)<<1;Xe=(Xe&52428)>>2|(Xe&13107)<<2,Xe=(Xe&61680)>>4|(Xe&3855)<<4,Te[Pe]=((Xe&65280)>>8|(Xe&255)<<8)>>1}for(var Ke=function(E,ne,te){for(var de=E.length,ge=0,Ce=new Ne(ne);ge<de;++ge)E[ge]&&++Ce[E[ge]-1];var nt=new Ne(ne);for(ge=1;ge<ne;++ge)nt[ge]=nt[ge-1]+Ce[ge-1]<<1;var Ge;if(te){Ge=new Ne(1<<ne);var ot=15-ne;for(ge=0;ge<de;++ge)if(E[ge])for(var ft=ge<<4|E[ge],Et=ne-E[ge],en=nt[E[ge]-1]++<<Et,sn=en|(1<<Et)-1;en<=sn;++en)Ge[Te[en]>>ot]=ft}else for(Ge=new Ne(de),ge=0;ge<de;++ge)E[ge]&&(Ge[ge]=Te[nt[E[ge]-1]++]>>15-E[ge]);return Ge},qe=new At(288),Pe=0;Pe<144;++Pe)qe[Pe]=8;for(var Pe=144;Pe<256;++Pe)qe[Pe]=9;for(var Pe=256;Pe<280;++Pe)qe[Pe]=7;for(var Pe=280;Pe<288;++Pe)qe[Pe]=8;for(var We=new At(32),Pe=0;Pe<32;++Pe)We[Pe]=5;var Ze=Ke(qe,9,0),$e=null,rt=Ke(We,5,0),ht=null,dt=function(E){for(var ne=E[0],te=1;te<E.length;++te)E[te]>ne&&(ne=E[te]);return ne},xt=function(E,ne,te){var de=ne/8|0;return(E[de]|E[de+1]<<8)>>(ne&7)&te},Je=function(E,ne){var te=ne/8|0;return(E[te]|E[te+1]<<8|E[te+2]<<16)>>(ne&7)},Lt=function(E){return(E+7)/8|0},Re=function(E,ne,te){return(ne==null||ne<0)&&(ne=0),(te==null||te>E.length)&&(te=E.length),new At(E.subarray(ne,te))},Rt={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ft=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],bt=function(E,ne,te){var de=new Error(ne||Ft[E]);if(de.code=E,Error.captureStackTrace&&Error.captureStackTrace(de,bt),!te)throw de;return de},Tt=function(E,ne,te,de){var ge=E.length,Ce=de?de.length:0;if(!ge||ne.f&&!ne.l)return te||new At(0);var nt=!te,Ge=nt||ne.i!=2,ot=ne.i;nt&&(te=new At(ge*3));var ft=function(so){var Uo=te.length;if(so>Uo){var Zo=new At(Math.max(Uo*2,so));Zo.set(te),te=Zo}},Et=ne.f||0,en=ne.p||0,sn=ne.b||0,Ct=ne.l,Hn=ne.d,In=ne.m,Zn=ne.n,wn=ge*8;do{if(!Ct){Et=xt(E,en,1);var Ir=xt(E,en+1,3);if(en+=3,Ir)if(Ir==1)Ct=$e,Hn=ht,In=9,Zn=5;else if(Ir==2){var ta=xt(E,en,31)+257,Wi=xt(E,en+10,15)+4,Yr=ta+xt(E,en+5,31)+1;en+=14;for(var sr=new At(Yr),ci=new At(19),yn=0;yn<Wi;++yn)ci[we[yn]]=xt(E,en+yn*3,7);en+=Wi*3;for(var Gn=dt(ci),_r=(1<<Gn)-1,Er=Ke(ci,Gn,1),yn=0;yn<Yr;){var Fi=Er[xt(E,en,_r)];en+=Fi&15;var Br=Fi>>4;if(Br<16)sr[yn++]=Br;else{var zi=0,Xi=0;for(Br==16?(Xi=3+xt(E,en,3),en+=2,zi=sr[yn-1]):Br==17?(Xi=3+xt(E,en,7),en+=3):Br==18&&(Xi=11+xt(E,en,127),en+=7);Xi--;)sr[yn++]=zi}}var Ci=sr.subarray(0,ta),Gi=sr.subarray(ta);In=dt(Ci),Zn=dt(Gi),Ct=Ke(Ci,In,1),Hn=Ke(Gi,Zn,1)}else bt(1);else{var Br=Lt(en)+4,ar=E[Br-4]|E[Br-3]<<8,wi=Br+ar;if(wi>ge){ot&&bt(0);break}Ge&&ft(sn+ar),te.set(E.subarray(Br,wi),sn),ne.b=sn+=ar,ne.p=en=wi*8,ne.f=Et;continue}if(en>wn){ot&&bt(0);break}}Ge&&ft(sn+131072);for(var fo=(1<<In)-1,Na=(1<<Zn)-1,hn=en;;hn=en){var zi=Ct[Je(E,en)&fo],rr=zi>>4;if(en+=zi&15,en>wn){ot&&bt(0);break}if(zi||bt(2),rr<256)te[sn++]=rr;else if(rr==256){hn=en,Ct=null;break}else{var hr=rr-254;if(rr>264){var yn=rr-257,Pr=ve[yn];hr=xt(E,en,(1<<Pr)-1)+Be[yn],en+=Pr}var ti=Hn[Je(E,en)&Na],pi=ti>>4;ti||bt(3),en+=ti&15;var Gi=He[pi];if(pi>3){var Pr=Ae[pi];Gi+=Je(E,en)&(1<<Pr)-1,en+=Pr}if(en>wn){ot&&bt(0);break}Ge&&ft(sn+131072);var Ti=sn+hr;if(sn<Gi){var Ui=Ce-Gi,ya=Math.min(Gi,Ti);for(Ui+sn<0&&bt(3);sn<ya;++sn)te[sn]=de[Ui+sn]}for(;sn<Ti;++sn)te[sn]=te[sn-Gi]}}ne.l=Ct,ne.p=hn,ne.b=sn,ne.f=Et,Ct&&(Et=1,ne.m=In,ne.d=Hn,ne.n=Zn)}while(!Et);return sn!=te.length&&nt?Re(te,0,sn):te.subarray(0,sn)},wt=function(E,ne,te){te<<=ne&7;var de=ne/8|0;E[de]|=te,E[de+1]|=te>>8},it=function(E,ne,te){te<<=ne&7;var de=ne/8|0;E[de]|=te,E[de+1]|=te>>8,E[de+2]|=te>>16},je=function(E,ne){for(var te=[],de=0;de<E.length;++de)E[de]&&te.push({s:de,f:E[de]});var ge=te.length,Ce=te.slice();if(!ge)return{t:Nn,l:0};if(ge==1){var nt=new At(te[0].s+1);return nt[te[0].s]=1,{t:nt,l:1}}te.sort(function(wi,ta){return wi.f-ta.f}),te.push({s:-1,f:25001});var Ge=te[0],ot=te[1],ft=0,Et=1,en=2;for(te[0]={s:-1,f:Ge.f+ot.f,l:Ge,r:ot};Et!=ge-1;)Ge=te[te[ft].f<te[en].f?ft++:en++],ot=te[ft!=Et&&te[ft].f<te[en].f?ft++:en++],te[Et++]={s:-1,f:Ge.f+ot.f,l:Ge,r:ot};for(var sn=Ce[0].s,de=1;de<ge;++de)Ce[de].s>sn&&(sn=Ce[de].s);var Ct=new Ne(sn+1),Hn=at(te[Et-1],Ct,0);if(Hn>ne){var de=0,In=0,Zn=Hn-ne,wn=1<<Zn;for(Ce.sort(function(ta,Wi){return Ct[Wi.s]-Ct[ta.s]||ta.f-Wi.f});de<ge;++de){var Ir=Ce[de].s;if(Ct[Ir]>ne)In+=wn-(1<<Hn-Ct[Ir]),Ct[Ir]=ne;else break}for(In>>=Zn;In>0;){var Br=Ce[de].s;Ct[Br]<ne?In-=1<<ne-Ct[Br]++-1:++de}for(;de>=0&&In;--de){var ar=Ce[de].s;Ct[ar]==ne&&(--Ct[ar],++In)}Hn=ne}return{t:new At(Ct),l:Hn}},at=function(E,ne,te){return E.s==-1?Math.max(at(E.l,ne,te+1),at(E.r,ne,te+1)):ne[E.s]=te},Yt=function(E){for(var ne=E.length;ne&&!E[--ne];);for(var te=new Ne(++ne),de=0,ge=E[0],Ce=1,nt=function(ot){te[de++]=ot},Ge=1;Ge<=ne;++Ge)if(E[Ge]==ge&&Ge!=ne)++Ce;else{if(!ge&&Ce>2){for(;Ce>138;Ce-=138)nt(32754);Ce>2&&(nt(Ce>10?Ce-11<<5|28690:Ce-3<<5|12305),Ce=0)}else if(Ce>3){for(nt(ge),--Ce;Ce>6;Ce-=6)nt(8304);Ce>2&&(nt(Ce-3<<5|8208),Ce=0)}for(;Ce--;)nt(ge);Ce=1,ge=E[Ge]}return{c:te.subarray(0,de),n:ne}},Vt=function(E,ne){for(var te=0,de=0;de<ne.length;++de)te+=E[de]*ne[de];return te},St=function(E,ne,te){var de=te.length,ge=Lt(ne+2);E[ge]=de&255,E[ge+1]=de>>8,E[ge+2]=E[ge]^255,E[ge+3]=E[ge+1]^255;for(var Ce=0;Ce<de;++Ce)E[ge+Ce+4]=te[Ce];return(ge+4+de)*8},Qt=function(E,ne,te,de,ge,Ce,nt,Ge,ot,ft,Et){wt(ne,Et++,te),++ge[256];for(var en=je(ge,15),sn=en.t,Ct=en.l,Hn=je(Ce,15),In=Hn.t,Zn=Hn.l,wn=Yt(sn),Ir=wn.c,Br=wn.n,ar=Yt(In),wi=ar.c,ta=ar.n,Wi=new Ne(19),Yr=0;Yr<Ir.length;++Yr)++Wi[Ir[Yr]&31];for(var Yr=0;Yr<wi.length;++Yr)++Wi[wi[Yr]&31];for(var sr=je(Wi,7),ci=sr.t,yn=sr.l,Gn=19;Gn>4&&!ci[we[Gn-1]];--Gn);var _r=ft+5<<3,Er=Vt(ge,qe)+Vt(Ce,We)+nt,Fi=Vt(ge,sn)+Vt(Ce,In)+nt+14+3*Gn+Vt(Wi,ci)+2*Wi[16]+3*Wi[17]+7*Wi[18];if(ot>=0&&_r<=Er&&_r<=Fi)return St(ne,Et,E.subarray(ot,ot+ft));var zi,Xi,Ci,Gi;if(wt(ne,Et,1+(Fi<Er)),Et+=2,Fi<Er){zi=Ke(sn,Ct,0),Xi=sn,Ci=Ke(In,Zn,0),Gi=In;var fo=Ke(ci,yn,0);wt(ne,Et,Br-257),wt(ne,Et+5,ta-1),wt(ne,Et+10,Gn-4),Et+=14;for(var Yr=0;Yr<Gn;++Yr)wt(ne,Et+3*Yr,ci[we[Yr]]);Et+=3*Gn;for(var Na=[Ir,wi],hn=0;hn<2;++hn)for(var rr=Na[hn],Yr=0;Yr<rr.length;++Yr){var hr=rr[Yr]&31;wt(ne,Et,fo[hr]),Et+=ci[hr],hr>15&&(wt(ne,Et,rr[Yr]>>5&127),Et+=rr[Yr]>>12)}}else zi=Ze,Xi=qe,Ci=rt,Gi=We;for(var Yr=0;Yr<Ge;++Yr){var Pr=de[Yr];if(Pr>255){var hr=Pr>>18&31;it(ne,Et,zi[hr+257]),Et+=Xi[hr+257],hr>7&&(wt(ne,Et,Pr>>23&31),Et+=ve[hr]);var ti=Pr&31;it(ne,Et,Ci[ti]),Et+=Gi[ti],ti>3&&(it(ne,Et,Pr>>5&8191),Et+=Ae[ti])}else it(ne,Et,zi[Pr]),Et+=Xi[Pr]}return it(ne,Et,zi[256]),Et+Xi[256]},cn=new Le([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Nn=new At(0),fn=function(E,ne,te,de,ge,Ce){var nt=Ce.z||E.length,Ge=new At(de+nt+5*(1+Math.ceil(nt/7e3))+ge),ot=Ge.subarray(de,Ge.length-ge),ft=Ce.l,Et=(Ce.r||0)&7;if(ne){Et&&(ot[0]=Ce.r>>3);for(var en=cn[ne-1],sn=en>>13,Ct=en&8191,Hn=(1<<te)-1,In=Ce.p||new Ne(32768),Zn=Ce.h||new Ne(Hn+1),wn=Math.ceil(te/3),Ir=2*wn,Br=function(Gs){return(E[Gs]^E[Gs+1]<<wn^E[Gs+2]<<Ir)&Hn},ar=new Le(25e3),wi=new Ne(288),ta=new Ne(32),Wi=0,Yr=0,sr=Ce.i||0,ci=0,yn=Ce.w||0,Gn=0;sr+2<nt;++sr){var _r=Br(sr),Er=sr&32767,Fi=Zn[_r];if(In[Er]=Fi,Zn[_r]=Er,yn<=sr){var zi=nt-sr;if((Wi>7e3||ci>24576)&&(zi>423||!ft)){Et=Qt(E,ot,0,ar,wi,ta,Yr,ci,Gn,sr-Gn,Et),ci=Wi=Yr=0,Gn=sr;for(var Xi=0;Xi<286;++Xi)wi[Xi]=0;for(var Xi=0;Xi<30;++Xi)ta[Xi]=0}var Ci=2,Gi=0,fo=Ct,Na=Er-Fi&32767;if(zi>2&&_r==Br(sr-Na))for(var hn=Math.min(sn,zi)-1,rr=Math.min(32767,sr),hr=Math.min(258,zi);Na<=rr&&--fo&&Er!=Fi;){if(E[sr+Ci]==E[sr+Ci-Na]){for(var Pr=0;Pr<hr&&E[sr+Pr]==E[sr+Pr-Na];++Pr);if(Pr>Ci){if(Ci=Pr,Gi=Na,Pr>hn)break;for(var ti=Math.min(Na,Pr-2),pi=0,Xi=0;Xi<ti;++Xi){var Ti=sr-Na+Xi&32767,Ui=In[Ti],ya=Ti-Ui&32767;ya>pi&&(pi=ya,Fi=Ti)}}}Er=Fi,Fi=In[Er],Na+=Er-Fi&32767}if(Gi){ar[ci++]=268435456|_e[Ci]<<18|ke[Gi];var so=_e[Ci]&31,Uo=ke[Gi]&31;Yr+=ve[so]+Ae[Uo],++wi[257+so],++ta[Uo],yn=sr+Ci,++Wi}else ar[ci++]=E[sr],++wi[E[sr]]}}for(sr=Math.max(sr,yn);sr<nt;++sr)ar[ci++]=E[sr],++wi[E[sr]];Et=Qt(E,ot,ft,ar,wi,ta,Yr,ci,Gn,sr-Gn,Et),ft||(Ce.r=Et&7|ot[Et/8|0]<<3,Et-=7,Ce.h=Zn,Ce.p=In,Ce.i=sr,Ce.w=yn)}else{for(var sr=Ce.w||0;sr<nt+ft;sr+=65535){var Zo=sr+65535;Zo>=nt&&(ot[Et/8|0]=ft,Zo=nt),Et=St(ot,Et+1,E.subarray(sr,Zo))}Ce.i=nt}return Re(Ge,0,de+Lt(Et)+ge)},Ln=null,Cn=function(){var E=-1;return{p:function(ne){for(var te=E,de=0;de<ne.length;++de)te=Ln[te&255^ne[de]]^te>>>8;E=te},d:function(){return~E}}},Bn=function(){var E=1,ne=0;return{p:function(te){for(var de=E,ge=ne,Ce=te.length|0,nt=0;nt!=Ce;){for(var Ge=Math.min(nt+2655,Ce);nt<Ge;++nt)ge+=de+=te[nt];de=(de&65535)+15*(de>>16),ge=(ge&65535)+15*(ge>>16)}E=de,ne=ge},d:function(){return E%=65521,ne%=65521,(E&255)<<24|(E&65280)<<8|(ne&255)<<8|ne>>8}}},gn=function(E,ne,te,de,ge){if(!ge&&(ge={l:1},ne.dictionary)){var Ce=ne.dictionary.subarray(-32768),nt=new At(Ce.length+E.length);nt.set(Ce),nt.set(E,Ce.length),E=nt,ge.w=Ce.length}return fn(E,ne.level==null?6:ne.level,ne.mem==null?ge.l?Math.ceil(Math.max(8,Math.min(13,Math.log(E.length)))*1.5):20:12+ne.mem,te,de,ge)},Se=function(E,ne){var te={};for(var de in E)te[de]=E[de];for(var de in ne)te[de]=ne[de];return te},Fe=function(E,ne,te){for(var de=E(),ge=E.toString(),Ce=ge.slice(ge.indexOf("[")+1,ge.lastIndexOf("]")).replace(/\s+/g,"").split(","),nt=0;nt<de.length;++nt){var Ge=de[nt],ot=Ce[nt];if(typeof Ge=="function"){ne+=";"+ot+"=";var ft=Ge.toString();if(Ge.prototype)if(ft.indexOf("[native code]")!=-1){var Et=ft.indexOf(" ",8)+1;ne+=ft.slice(Et,ft.indexOf("(",Et))}else{ne+=ft;for(var en in Ge.prototype)ne+=";"+ot+".prototype."+en+"="+Ge.prototype[en].toString()}else ne+=ft}else te[ot]=Ge}return ne},ie=null,ae=function(E){var ne=[];for(var te in E)E[te].buffer&&ne.push((E[te]=new E[te].constructor(E[te])).buffer);return ne},se=function(E,ne,te,de){if(!ie[te]){for(var ge="",Ce={},nt=E.length-1,Ge=0;Ge<nt;++Ge)ge=Fe(E[Ge],ge,Ce);ie[te]={c:Fe(E[nt],ge,Ce),e:Ce}}var ot=Se({},ie[te].e);return Ue(ie[te].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+ne.toString()+"}",te,ot,ae(ot),de)},oe=function(){return[At,Ne,Le,ve,Ae,we,Be,He,$e,ht,Te,Ft,Ke,dt,xt,Je,Lt,Re,bt,Tt,Mi,Mt,kt]},Ye=function(){return[At,Ne,Le,ve,Ae,we,_e,ke,Ze,qe,rt,We,Te,cn,Nn,Ke,wt,it,je,at,Yt,Vt,St,Qt,Lt,Re,fn,gn,Tr,Mt]},vt=function(){return[Wt,Wn,pt,Cn,Ln]},et=function(){return[vn,xn]},lt=function(){return[br,pt,Bn]},Pt=function(){return[Lr]},Mt=function(E){return postMessage(E,[E.buffer])},kt=function(E){return E&&{out:E.size&&new At(E.size),dictionary:E.dictionary}},$t=function(E,ne,te,de,ge,Ce){var nt=se(te,de,ge,function(Ge,ot){nt.terminate(),Ce(Ge,ot)});return nt.postMessage([E,ne],ne.consume?[E.buffer]:[]),function(){nt.terminate()}},Sn=function(E){return E.ondata=function(ne,te){return postMessage([ne,te],[ne.buffer])},function(ne){ne.data.length?(E.push(ne.data[0],ne.data[1]),postMessage([ne.data[0].length])):E.flush()}},Bt=function(E,ne,te,de,ge,Ce,nt){var Ge,ot=se(E,de,ge,function(ft,Et){ft?(ot.terminate(),ne.ondata.call(ne,ft)):Array.isArray(Et)?Et.length==1?(ne.queuedSize-=Et[0],ne.ondrain&&ne.ondrain(Et[0])):(Et[1]&&ot.terminate(),ne.ondata.call(ne,ft,Et[0],Et[1])):nt(Et)});ot.postMessage(te),ne.queuedSize=0,ne.push=function(ft,Et){ne.ondata||bt(5),Ge&&ne.ondata(bt(4,0,1),null,!!Et),ne.queuedSize+=ft.length,ot.postMessage([ft,Ge=Et],[ft.buffer])},ne.terminate=function(){ot.terminate()},Ce&&(ne.flush=function(){ot.postMessage([])})},nn=function(E,ne){return E[ne]|E[ne+1]<<8},tn=function(E,ne){return(E[ne]|E[ne+1]<<8|E[ne+2]<<16|E[ne+3]<<24)>>>0},zt=function(E,ne){return tn(E,ne)+tn(E,ne+4)*4294967296},pt=function(E,ne,te){for(;te;++ne)E[ne]=te,te>>>=8},Wt=function(E,ne){var te=ne.filename;if(E[0]=31,E[1]=139,E[2]=8,E[8]=ne.level<2?4:ne.level==9?2:0,E[9]=3,ne.mtime!=0&&pt(E,4,Math.floor(new Date(ne.mtime||Date.now())/1e3)),te){E[3]=8;for(var de=0;de<=te.length;++de)E[de+10]=te.charCodeAt(de)}},vn=function(E){(E[0]!=31||E[1]!=139||E[2]!=8)&&bt(6,"invalid gzip data");var ne=E[3],te=10;ne&4&&(te+=(E[10]|E[11]<<8)+2);for(var de=(ne>>3&1)+(ne>>4&1);de>0;de-=!E[te++]);return te+(ne&2)},xn=function(E){var ne=E.length;return(E[ne-4]|E[ne-3]<<8|E[ne-2]<<16|E[ne-1]<<24)>>>0},Wn=function(E){return 10+(E.filename?E.filename.length+1:0)},br=function(E,ne){var te=ne.level,de=te==0?0:te<6?1:te==9?3:2;if(E[0]=120,E[1]=de<<6|(ne.dictionary&&32),E[1]|=31-(E[0]<<8|E[1])%31,ne.dictionary){var ge=Bn();ge.p(ne.dictionary),pt(E,2,ge.d())}},Lr=function(E,ne){return((E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31)&&bt(6,"invalid zlib data"),(E[1]>>5&1)==+!ne&&bt(6,"invalid zlib data: "+(E[1]&32?"need":"unexpected")+" dictionary"),(E[1]>>3&4)+2};function jr(E,ne){return typeof E=="function"&&(ne=E,E={}),this.ondata=ne,E}var Qr=null,vr=null;function Ar(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Ye],function(de){return Mt(Tr(de.data[0],de.data[1]))},0,te)}function Tr(E,ne){return gn(E,ne||{},0,0)}var Bi=null,$i=null;function mi(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe],function(de){return Mt(Mi(de.data[0],kt(de.data[1])))},1,te)}function Mi(E,ne){return Tt(E,{i:2},ne&&ne.out,ne&&ne.dictionary)}var pa=null,Dr=null;function _n(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Ye,vt,function(){return[no]}],function(de){return Mt(no(de.data[0],de.data[1]))},2,te)}function no(E,ne){ne||(ne={});var te=Cn(),de=E.length;te.p(E);var ge=gn(E,ne,Wn(ne),8),Ce=ge.length;return Wt(ge,ne),pt(ge,Ce-8,te.d()),pt(ge,Ce-4,de),ge}var Ki=null,Co=null;function ro(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe,et,function(){return[Pi]}],function(de){return Mt(Pi(de.data[0],de.data[1]))},3,te)}function Pi(E,ne){var te=vn(E);return te+8>E.length&&bt(6,"invalid gzip data"),Tt(E.subarray(te,-8),{i:2},ne&&ne.out||new At(xn(E)),ne&&ne.dictionary)}var Ii=null,Si=null;function gi(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Ye,lt,function(){return[Ea]}],function(de){return Mt(Ea(de.data[0],de.data[1]))},4,te)}function Ea(E,ne){ne||(ne={});var te=Bn();te.p(E);var de=gn(E,ne,ne.dictionary?6:2,4);return br(de,ne),pt(de,de.length-4,te.d()),de}var Fn=null,Dt=null;function Gt(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe,Pt,function(){return[Zt]}],function(de){return Mt(Zt(de.data[0],kt(de.data[1])))},5,te)}function Zt(E,ne){return Tt(E.subarray(Lr(E,ne&&ne.dictionary),-4),{i:2},ne&&ne.out,ne&&ne.dictionary)}var jt=null,on=null;function Mn(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),E[0]==31&&E[1]==139&&E[2]==8?ro(E,ne,te):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?mi(E,ne,te):Gt(E,ne,te)}function ir(E,ne){return E[0]==31&&E[1]==139&&E[2]==8?Pi(E,ne):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?Mi(E,ne):Zt(E,ne)}var qn=function(E,ne,te,de){for(var ge in E){var Ce=E[ge],nt=ne+ge,Ge=de;Array.isArray(Ce)&&(Ge=Se(de,Ce[1]),Ce=Ce[0]),Ce instanceof At?te[nt]=[Ce,Ge]:(te[nt+="/"]=[new At(0),Ge],qn(Ce,nt,te,de))}},pr=typeof TextEncoder!="undefined"&&new TextEncoder,Gr=typeof TextDecoder!="undefined"&&new TextDecoder,Zr=0;try{Gr.decode(Nn,{stream:!0}),Zr=1}catch(E){}var $r=function(E){for(var ne="",te=0;;){var de=E[te++],ge=(de>127)+(de>223)+(de>239);if(te+ge>E.length)return{s:ne,r:Re(E,te-1)};ge?ge==3?(de=((de&15)<<18|(E[te++]&63)<<12|(E[te++]&63)<<6|E[te++]&63)-65536,ne+=String.fromCharCode(55296|de>>10,56320|de&1023)):ge&1?ne+=String.fromCharCode((de&31)<<6|E[te++]&63):ne+=String.fromCharCode((de&15)<<12|(E[te++]&63)<<6|E[te++]&63):ne+=String.fromCharCode(de)}},Xn=null,Or=null;function ki(E,ne){if(ne){for(var te=new At(E.length),de=0;de<E.length;++de)te[de]=E.charCodeAt(de);return te}if(pr)return pr.encode(E);for(var ge=E.length,Ce=new At(E.length+(E.length>>1)),nt=0,Ge=function(Et){Ce[nt++]=Et},de=0;de<ge;++de){if(nt+5>Ce.length){var ot=new At(nt+8+(ge-de<<1));ot.set(Ce),Ce=ot}var ft=E.charCodeAt(de);ft<128||ne?Ge(ft):ft<2048?(Ge(192|ft>>6),Ge(128|ft&63)):ft>55295&&ft<57344?(ft=65536+(ft&1047552)|E.charCodeAt(++de)&1023,Ge(240|ft>>18),Ge(128|ft>>12&63),Ge(128|ft>>6&63),Ge(128|ft&63)):(Ge(224|ft>>12),Ge(128|ft>>6&63),Ge(128|ft&63))}return Re(Ce,0,nt)}function vi(E,ne){if(ne){for(var te="",de=0;de<E.length;de+=16384)te+=String.fromCharCode.apply(null,E.subarray(de,de+16384));return te}else{if(Gr)return Gr.decode(E);var ge=$r(E),Ce=ge.s,te=ge.r;return te.length&&bt(8),Ce}}var Zi=function(E){return E==1?3:E<6?2:E==9?1:0},xi=function(E,ne){return ne+30+nn(E,ne+26)+nn(E,ne+28)},Ca=function(E,ne,te){var de=nn(E,ne+28),ge=vi(E.subarray(ne+46,ne+46+de),!(nn(E,ne+8)&2048)),Ce=ne+46+de,nt=tn(E,ne+20),Ge=te&&nt==4294967295?si(E,Ce):[nt,tn(E,ne+24),tn(E,ne+42)],ot=Ge[0],ft=Ge[1],Et=Ge[2];return[nn(E,ne+10),ot,ft,ge,Ce+nn(E,ne+30)+nn(E,ne+32),Et]},si=function(E,ne){for(;nn(E,ne)!=1;ne+=4+nn(E,ne+2));return[zt(E,ne+12),zt(E,ne+4),zt(E,ne+20)]},oa=function(E){var ne=0;if(E)for(var te in E){var de=E[te].length;de>65535&&bt(9),ne+=de+4}return ne},mn=function(E,ne,te,de,ge,Ce,nt,Ge){var ot=de.length,ft=te.extra,Et=Ge&&Ge.length,en=oa(ft);pt(E,ne,nt!=null?33639248:67324752),ne+=4,nt!=null&&(E[ne++]=20,E[ne++]=te.os),E[ne]=20,ne+=2,E[ne++]=te.flag<<1|(Ce<0&&8),E[ne++]=ge&&8,E[ne++]=te.compression&255,E[ne++]=te.compression>>8;var sn=new Date(te.mtime==null?Date.now():te.mtime),Ct=sn.getFullYear()-1980;if((Ct<0||Ct>119)&&bt(10),pt(E,ne,Ct<<25|sn.getMonth()+1<<21|sn.getDate()<<16|sn.getHours()<<11|sn.getMinutes()<<5|sn.getSeconds()>>1),ne+=4,Ce!=-1&&(pt(E,ne,te.crc),pt(E,ne+4,Ce<0?-Ce-2:Ce),pt(E,ne+8,te.size)),pt(E,ne+12,ot),pt(E,ne+14,en),ne+=16,nt!=null&&(pt(E,ne,Et),pt(E,ne+6,te.attrs),pt(E,ne+10,nt),ne+=14),E.set(de,ne),ne+=ot,en)for(var Hn in ft){var In=ft[Hn],Zn=In.length;pt(E,ne,+Hn),pt(E,ne+2,Zn),E.set(In,ne+4),ne+=4+Zn}return Et&&(E.set(Ge,ne),ne+=Et),ne},mr=function(E,ne,te,de,ge){pt(E,ne,101010256),pt(E,ne+8,te),pt(E,ne+10,te),pt(E,ne+12,de),pt(E,ne+16,ge)},dr=null,Wr=null,wr=null,Mr=null;function Fr(E,ne,te){te||(te=ne,ne={}),typeof te!="function"&&bt(7);var de={};qn(E,"",de,ne);var ge=Object.keys(de),Ce=ge.length,nt=0,Ge=0,ot=Ce,ft=new Array(Ce),Et=[],en=function(){for(var Zn=0;Zn<Et.length;++Zn)Et[Zn]()},sn=function(Zn,wn){oo(function(){te(Zn,wn)})};oo(function(){sn=te});var Ct=function(){var Zn=new At(Ge+22),wn=nt,Ir=Ge-nt;Ge=0;for(var Br=0;Br<ot;++Br){var ar=ft[Br];try{var wi=ar.c.length;mn(Zn,Ge,ar,ar.f,ar.u,wi);var ta=30+ar.f.length+oa(ar.extra),Wi=Ge+ta;Zn.set(ar.c,Wi),mn(Zn,nt,ar,ar.f,ar.u,wi,Ge,ar.m),nt+=16+ta+(ar.m?ar.m.length:0),Ge=Wi+wi}catch(Yr){return sn(Yr,null)}}mr(Zn,nt,ft.length,Ir,wn),sn(null,Zn)};Ce||Ct();for(var Hn=function(Zn){var wn=ge[Zn],Ir=de[wn],Br=Ir[0],ar=Ir[1],wi=Cn(),ta=Br.length;wi.p(Br);var Wi=ki(wn),Yr=Wi.length,sr=ar.comment,ci=sr&&ki(sr),yn=ci&&ci.length,Gn=oa(ar.extra),_r=ar.level==0?0:8,Er=function(Fi,zi){if(Fi)en(),sn(Fi,null);else{var Xi=zi.length;ft[Zn]=Se(ar,{size:ta,crc:wi.d(),c:zi,f:Wi,m:ci,u:Yr!=wn.length||ci&&sr.length!=yn,compression:_r}),nt+=30+Yr+Gn+Xi,Ge+=76+2*(Yr+Gn)+(yn||0)+Xi,--Ce||Ct()}};if(Yr>65535&&Er(bt(11,0,1),null),!_r)Er(null,Br);else if(ta<16e4)try{Er(null,Tr(Br,ar))}catch(Fi){Er(Fi,null)}else Et.push(Ar(Br,ar,Er))},In=0;In<ot;++In)Hn(In);return en}function ui(E,ne){ne||(ne={});var te={},de=[];qn(E,"",te,ne);var ge=0,Ce=0;for(var nt in te){var Ge=te[nt],ot=Ge[0],ft=Ge[1],Et=ft.level==0?0:8,en=ki(nt),sn=en.length,Ct=ft.comment,Hn=Ct&&ki(Ct),In=Hn&&Hn.length,Zn=oa(ft.extra);sn>65535&&bt(11);var wn=Et?Tr(ot,ft):ot,Ir=wn.length,Br=Cn();Br.p(ot),de.push(Se(ft,{size:ot.length,crc:Br.d(),c:wn,f:en,m:Hn,u:sn!=nt.length||Hn&&Ct.length!=In,o:ge,compression:Et})),ge+=30+sn+Zn+Ir,Ce+=76+2*(sn+Zn)+(In||0)+Ir}for(var ar=new At(Ce+22),wi=ge,ta=Ce-ge,Wi=0;Wi<de.length;++Wi){var en=de[Wi];mn(ar,en.o,en,en.f,en.u,en.c.length);var Yr=30+en.f.length+oa(en.extra);ar.set(en.c,en.o+Yr),mn(ar,ge,en,en.f,en.u,en.c.length,en.o,en.m),ge+=16+Yr+(en.m?en.m.length:0)}return mr(ar,ge,de.length,ta,wi),ar}var yi=null,Hi=null,Oa=null,Qa=null,oo=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(E){E()};function La(E,ne,te){te||(te=ne,ne={}),typeof te!="function"&&bt(7);var de=[],ge=function(){for(var Zn=0;Zn<de.length;++Zn)de[Zn]()},Ce={},nt=function(Zn,wn){oo(function(){te(Zn,wn)})};oo(function(){nt=te});for(var Ge=E.length-22;tn(E,Ge)!=101010256;--Ge)if(!Ge||E.length-Ge>65558)return nt(bt(13,0,1),null),ge;var ot=nn(E,Ge+8);if(ot){var ft=ot,Et=tn(E,Ge+16),en=Et==4294967295||ft==65535;if(en){var sn=tn(E,Ge-12);en=tn(E,sn)==101075792,en&&(ft=ot=tn(E,sn+32),Et=tn(E,sn+48))}for(var Ct=ne&&ne.filter,Hn=function(Zn){var wn=Ca(E,Et,en),Ir=wn[0],Br=wn[1],ar=wn[2],wi=wn[3],ta=wn[4],Wi=wn[5],Yr=xi(E,Wi);Et=ta;var sr=function(yn,Gn){yn?(ge(),nt(yn,null)):(Gn&&(Ce[wi]=Gn),--ot||nt(null,Ce))};if(!Ct||Ct({name:wi,size:Br,originalSize:ar,compression:Ir}))if(!Ir)sr(null,Re(E,Yr,Yr+Br));else if(Ir==8){var ci=E.subarray(Yr,Yr+Br);if(ar<524288||Br>.8*ar)try{sr(null,Mi(ci,{out:new At(ar)}))}catch(yn){sr(yn,null)}else de.push(mi(ci,{size:ar},sr))}else sr(bt(14,"unknown compression type "+Ir,1),null);else sr(null,null)},In=0;In<ft;++In)Hn(In)}else nt(null,{});return ge}function Da(E,ne){for(var te={},de=E.length-22;tn(E,de)!=101010256;--de)(!de||E.length-de>65558)&&bt(13);var ge=nn(E,de+8);if(!ge)return{};var Ce=tn(E,de+16),nt=Ce==4294967295||ge==65535;if(nt){var Ge=tn(E,de-12);nt=tn(E,Ge)==101075792,nt&&(ge=tn(E,Ge+32),Ce=tn(E,Ge+48))}for(var ot=ne&&ne.filter,ft=0;ft<ge;++ft){var Et=Ca(E,Ce,nt),en=Et[0],sn=Et[1],Ct=Et[2],Hn=Et[3],In=Et[4],Zn=Et[5],wn=xi(E,Zn);Ce=In,(!ot||ot({name:Hn,size:sn,originalSize:Ct,compression:en}))&&(en?en==8?te[Hn]=Mi(E.subarray(wn,wn+sn),{out:new At(Ct)}):bt(14,"unknown compression type "+en):te[Hn]=Re(E,wn,wn+sn))}return te}var po=ce(72190);function Za(E,ne="utf8"){return new TextDecoder(ne).decode(E)}const io=new TextEncoder;function va(E){return io.encode(E)}const ka=1024*8,Xa=(()=>{const E=new Uint8Array(4),ne=new Uint32Array(E.buffer);return!((ne[0]=1)&E[0])})(),Pa={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class ao{constructor(ne=ka,te={}){bc(this,"buffer");bc(this,"byteLength");bc(this,"byteOffset");bc(this,"length");bc(this,"offset");bc(this,"lastWrittenByte");bc(this,"littleEndian");bc(this,"_data");bc(this,"_mark");bc(this,"_marks");let de=!1;typeof ne=="number"?ne=new ArrayBuffer(ne):(de=!0,this.lastWrittenByte=ne.byteLength);const ge=te.offset?te.offset>>>0:0,Ce=ne.byteLength-ge;let nt=ge;(ArrayBuffer.isView(ne)||ne instanceof ao)&&(ne.byteLength!==ne.buffer.byteLength&&(nt=ne.byteOffset+ge),ne=ne.buffer),de?this.lastWrittenByte=Ce:this.lastWrittenByte=0,this.buffer=ne,this.length=Ce,this.byteLength=Ce,this.byteOffset=nt,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,nt,Ce),this._mark=0,this._marks=[]}available(ne=1){return this.offset+ne<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(ne=1){return this.offset+=ne,this}back(ne=1){return this.offset-=ne,this}seek(ne){return this.offset=ne,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const ne=this._marks.pop();if(ne===void 0)throw new Error("Mark stack empty");return this.seek(ne),this}rewind(){return this.offset=0,this}ensureAvailable(ne=1){if(!this.available(ne)){const de=(this.offset+ne)*2,ge=new Uint8Array(de);ge.set(new Uint8Array(this.buffer)),this.buffer=ge.buffer,this.length=de,this.byteLength=de,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(ne=1){return this.readArray(ne,"uint8")}readArray(ne,te){const de=Pa[te].BYTES_PER_ELEMENT*ne,ge=this.byteOffset+this.offset,Ce=this.buffer.slice(ge,ge+de);if(this.littleEndian===Xa&&te!=="uint8"&&te!=="int8"){const Ge=new Uint8Array(this.buffer.slice(ge,ge+de));Ge.reverse();const ot=new Pa[te](Ge.buffer);return this.offset+=de,ot.reverse(),ot}const nt=new Pa[te](Ce);return this.offset+=de,nt}readInt16(){const ne=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,ne}readUint16(){const ne=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,ne}readInt32(){const ne=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,ne}readUint32(){const ne=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat32(){const ne=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat64(){const ne=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigInt64(){const ne=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigUint64(){const ne=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,ne}readChar(){return String.fromCharCode(this.readInt8())}readChars(ne=1){let te="";for(let de=0;de<ne;de++)te+=this.readChar();return te}readUtf8(ne=1){return Za(this.readBytes(ne))}decodeText(ne=1,te="utf8"){return Za(this.readBytes(ne),te)}writeBoolean(ne){return this.writeUint8(ne?255:0),this}writeInt8(ne){return this.ensureAvailable(1),this._data.setInt8(this.offset++,ne),this._updateLastWrittenByte(),this}writeUint8(ne){return this.ensureAvailable(1),this._data.setUint8(this.offset++,ne),this._updateLastWrittenByte(),this}writeByte(ne){return this.writeUint8(ne)}writeBytes(ne){this.ensureAvailable(ne.length);for(let te=0;te<ne.length;te++)this._data.setUint8(this.offset++,ne[te]);return this._updateLastWrittenByte(),this}writeInt16(ne){return this.ensureAvailable(2),this._data.setInt16(this.offset,ne,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(ne){return this.ensureAvailable(2),this._data.setUint16(this.offset,ne,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(ne){return this.ensureAvailable(4),this._data.setInt32(this.offset,ne,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(ne){return this.ensureAvailable(4),this._data.setUint32(this.offset,ne,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(ne){return this.ensureAvailable(4),this._data.setFloat32(this.offset,ne,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(ne){return this.ensureAvailable(8),this._data.setFloat64(this.offset,ne,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(ne){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,ne,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(ne){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,ne,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(ne){return this.writeUint8(ne.charCodeAt(0))}writeChars(ne){for(let te=0;te<ne.length;te++)this.writeUint8(ne.charCodeAt(te));return this}writeUtf8(ne){return this.writeBytes(va(ne))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const us=4,Ya=0,fi=1,Rr=2;function Ra(E){let ne=E.length;for(;--ne>=0;)E[ne]=0}const _a=0,Va=1,Mo=2,go=3,As=258,_o=29,Js=256,Sa=Js+1+_o,xa=30,Bo=19,So=2*Sa+1,Ms=15,er=16,Qs=7,fs=256,Zs=16,qs=17,ma=18,sa=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ra=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),ua=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),cs=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ps=512,jo=new Array((Sa+2)*2);Ra(jo);const xs=new Array(xa*2);Ra(xs);const Cs=new Array(Ps);Ra(Cs);const $s=new Array(As-go+1);Ra($s);const ru=new Array(_o);Ra(ru);const or=new Array(xa);Ra(or);function Qn(E,ne,te,de,ge){this.static_tree=E,this.extra_bits=ne,this.extra_base=te,this.elems=de,this.max_length=ge,this.has_stree=E&&E.length}let Nr,Di,Io;function lr(E,ne){this.dyn_tree=E,this.max_code=0,this.stat_desc=ne}const Jn=E=>E<256?Cs[E]:Cs[256+(E>>>7)],Un=(E,ne)=>{E.pending_buf[E.pending++]=ne&255,E.pending_buf[E.pending++]=ne>>>8&255},cr=(E,ne,te)=>{E.bi_valid>er-te?(E.bi_buf|=ne<<E.bi_valid&65535,Un(E,E.bi_buf),E.bi_buf=ne>>er-E.bi_valid,E.bi_valid+=te-er):(E.bi_buf|=ne<<E.bi_valid&65535,E.bi_valid+=te)},Ur=(E,ne,te)=>{cr(E,te[ne*2],te[ne*2+1])},bi=(E,ne)=>{let te=0;do te|=E&1,E>>>=1,te<<=1;while(--ne>0);return te>>>1},xr=E=>{E.bi_valid===16?(Un(E,E.bi_buf),E.bi_buf=0,E.bi_valid=0):E.bi_valid>=8&&(E.pending_buf[E.pending++]=E.bi_buf&255,E.bi_buf>>=8,E.bi_valid-=8)},Hr=(E,ne)=>{const te=ne.dyn_tree,de=ne.max_code,ge=ne.stat_desc.static_tree,Ce=ne.stat_desc.has_stree,nt=ne.stat_desc.extra_bits,Ge=ne.stat_desc.extra_base,ot=ne.stat_desc.max_length;let ft,Et,en,sn,Ct,Hn,In=0;for(sn=0;sn<=Ms;sn++)E.bl_count[sn]=0;for(te[E.heap[E.heap_max]*2+1]=0,ft=E.heap_max+1;ft<So;ft++)Et=E.heap[ft],sn=te[te[Et*2+1]*2+1]+1,sn>ot&&(sn=ot,In++),te[Et*2+1]=sn,!(Et>de)&&(E.bl_count[sn]++,Ct=0,Et>=Ge&&(Ct=nt[Et-Ge]),Hn=te[Et*2],E.opt_len+=Hn*(sn+Ct),Ce&&(E.static_len+=Hn*(ge[Et*2+1]+Ct)));if(In!==0){do{for(sn=ot-1;E.bl_count[sn]===0;)sn--;E.bl_count[sn]--,E.bl_count[sn+1]+=2,E.bl_count[ot]--,In-=2}while(In>0);for(sn=ot;sn!==0;sn--)for(Et=E.bl_count[sn];Et!==0;)en=E.heap[--ft],!(en>de)&&(te[en*2+1]!==sn&&(E.opt_len+=(sn-te[en*2+1])*te[en*2],te[en*2+1]=sn),Et--)}},ji=(E,ne,te)=>{const de=new Array(Ms+1);let ge=0,Ce,nt;for(Ce=1;Ce<=Ms;Ce++)ge=ge+te[Ce-1]<<1,de[Ce]=ge;for(nt=0;nt<=ne;nt++){let Ge=E[nt*2+1];Ge!==0&&(E[nt*2]=bi(de[Ge]++,Ge))}},Ji=()=>{let E,ne,te,de,ge;const Ce=new Array(Ms+1);for(te=0,de=0;de<_o-1;de++)for(ru[de]=te,E=0;E<1<<sa[de];E++)$s[te++]=de;for($s[te-1]=de,ge=0,de=0;de<16;de++)for(or[de]=ge,E=0;E<1<<ra[de];E++)Cs[ge++]=de;for(ge>>=7;de<xa;de++)for(or[de]=ge<<7,E=0;E<1<<ra[de]-7;E++)Cs[256+ge++]=de;for(ne=0;ne<=Ms;ne++)Ce[ne]=0;for(E=0;E<=143;)jo[E*2+1]=8,E++,Ce[8]++;for(;E<=255;)jo[E*2+1]=9,E++,Ce[9]++;for(;E<=279;)jo[E*2+1]=7,E++,Ce[7]++;for(;E<=287;)jo[E*2+1]=8,E++,Ce[8]++;for(ji(jo,Sa+1,Ce),E=0;E<xa;E++)xs[E*2+1]=5,xs[E*2]=bi(E,5);Nr=new Qn(jo,sa,Js+1,Sa,Ms),Di=new Qn(xs,ra,0,xa,Ms),Io=new Qn(new Array(0),ua,0,Bo,Qs)},ca=E=>{let ne;for(ne=0;ne<Sa;ne++)E.dyn_ltree[ne*2]=0;for(ne=0;ne<xa;ne++)E.dyn_dtree[ne*2]=0;for(ne=0;ne<Bo;ne++)E.bl_tree[ne*2]=0;E.dyn_ltree[fs*2]=1,E.opt_len=E.static_len=0,E.sym_next=E.matches=0},Xr=E=>{E.bi_valid>8?Un(E,E.bi_buf):E.bi_valid>0&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0},Ni=(E,ne,te,de)=>{const ge=ne*2,Ce=te*2;return E[ge]<E[Ce]||E[ge]===E[Ce]&&de[ne]<=de[te]},ia=(E,ne,te)=>{const de=E.heap[te];let ge=te<<1;for(;ge<=E.heap_len&&(ge<E.heap_len&&Ni(ne,E.heap[ge+1],E.heap[ge],E.depth)&&ge++,!Ni(ne,de,E.heap[ge],E.depth));)E.heap[te]=E.heap[ge],te=ge,ge<<=1;E.heap[te]=de},Ma=(E,ne,te)=>{let de,ge,Ce=0,nt,Ge;if(E.sym_next!==0)do de=E.pending_buf[E.sym_buf+Ce++]&255,de+=(E.pending_buf[E.sym_buf+Ce++]&255)<<8,ge=E.pending_buf[E.sym_buf+Ce++],de===0?Ur(E,ge,ne):(nt=$s[ge],Ur(E,nt+Js+1,ne),Ge=sa[nt],Ge!==0&&(ge-=ru[nt],cr(E,ge,Ge)),de--,nt=Jn(de),Ur(E,nt,te),Ge=ra[nt],Ge!==0&&(de-=or[nt],cr(E,de,Ge)));while(Ce<E.sym_next);Ur(E,fs,ne)},Oi=(E,ne)=>{const te=ne.dyn_tree,de=ne.stat_desc.static_tree,ge=ne.stat_desc.has_stree,Ce=ne.stat_desc.elems;let nt,Ge,ot=-1,ft;for(E.heap_len=0,E.heap_max=So,nt=0;nt<Ce;nt++)te[nt*2]!==0?(E.heap[++E.heap_len]=ot=nt,E.depth[nt]=0):te[nt*2+1]=0;for(;E.heap_len<2;)ft=E.heap[++E.heap_len]=ot<2?++ot:0,te[ft*2]=1,E.depth[ft]=0,E.opt_len--,ge&&(E.static_len-=de[ft*2+1]);for(ne.max_code=ot,nt=E.heap_len>>1;nt>=1;nt--)ia(E,te,nt);ft=Ce;do nt=E.heap[1],E.heap[1]=E.heap[E.heap_len--],ia(E,te,1),Ge=E.heap[1],E.heap[--E.heap_max]=nt,E.heap[--E.heap_max]=Ge,te[ft*2]=te[nt*2]+te[Ge*2],E.depth[ft]=(E.depth[nt]>=E.depth[Ge]?E.depth[nt]:E.depth[Ge])+1,te[nt*2+1]=te[Ge*2+1]=ft,E.heap[1]=ft++,ia(E,te,1);while(E.heap_len>=2);E.heap[--E.heap_max]=E.heap[1],Hr(E,ne),ji(te,ot,E.bl_count)},da=(E,ne,te)=>{let de,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,ft=4;for(nt===0&&(ot=138,ft=3),ne[(te+1)*2+1]=65535,de=0;de<=te;de++)Ce=nt,nt=ne[(de+1)*2+1],!(++Ge<ot&&Ce===nt)&&(Ge<ft?E.bl_tree[Ce*2]+=Ge:Ce!==0?(Ce!==ge&&E.bl_tree[Ce*2]++,E.bl_tree[Zs*2]++):Ge<=10?E.bl_tree[qs*2]++:E.bl_tree[ma*2]++,Ge=0,ge=Ce,nt===0?(ot=138,ft=3):Ce===nt?(ot=6,ft=3):(ot=7,ft=4))},Lo=(E,ne,te)=>{let de,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,ft=4;for(nt===0&&(ot=138,ft=3),de=0;de<=te;de++)if(Ce=nt,nt=ne[(de+1)*2+1],!(++Ge<ot&&Ce===nt)){if(Ge<ft)do Ur(E,Ce,E.bl_tree);while(--Ge!==0);else Ce!==0?(Ce!==ge&&(Ur(E,Ce,E.bl_tree),Ge--),Ur(E,Zs,E.bl_tree),cr(E,Ge-3,2)):Ge<=10?(Ur(E,qs,E.bl_tree),cr(E,Ge-3,3)):(Ur(E,ma,E.bl_tree),cr(E,Ge-11,7));Ge=0,ge=Ce,nt===0?(ot=138,ft=3):Ce===nt?(ot=6,ft=3):(ot=7,ft=4)}},co=E=>{let ne;for(da(E,E.dyn_ltree,E.l_desc.max_code),da(E,E.dyn_dtree,E.d_desc.max_code),Oi(E,E.bl_desc),ne=Bo-1;ne>=3&&E.bl_tree[cs[ne]*2+1]===0;ne--);return E.opt_len+=3*(ne+1)+5+5+4,ne},To=(E,ne,te,de)=>{let ge;for(cr(E,ne-257,5),cr(E,te-1,5),cr(E,de-4,4),ge=0;ge<de;ge++)cr(E,E.bl_tree[cs[ge]*2+1],3);Lo(E,E.dyn_ltree,ne-1),Lo(E,E.dyn_dtree,te-1)},hs=E=>{let ne=4093624447,te;for(te=0;te<=31;te++,ne>>>=1)if(ne&1&&E.dyn_ltree[te*2]!==0)return Ya;if(E.dyn_ltree[9*2]!==0||E.dyn_ltree[10*2]!==0||E.dyn_ltree[13*2]!==0)return fi;for(te=32;te<Js;te++)if(E.dyn_ltree[te*2]!==0)return fi;return Ya};let Bu=!1;const gu=E=>{Bu||(Ji(),Bu=!0),E.l_desc=new lr(E.dyn_ltree,Nr),E.d_desc=new lr(E.dyn_dtree,Di),E.bl_desc=new lr(E.bl_tree,Io),E.bi_buf=0,E.bi_valid=0,ca(E)},Su=(E,ne,te,de)=>{cr(E,(_a<<1)+(de?1:0),3),Xr(E),Un(E,te),Un(E,~te),te&&E.pending_buf.set(E.window.subarray(ne,ne+te),E.pending),E.pending+=te},Cr=E=>{cr(E,Va<<1,3),Ur(E,fs,jo),xr(E)},yr=(E,ne,te,de)=>{let ge,Ce,nt=0;E.level>0?(E.strm.data_type===Rr&&(E.strm.data_type=hs(E)),Oi(E,E.l_desc),Oi(E,E.d_desc),nt=co(E),ge=E.opt_len+3+7>>>3,Ce=E.static_len+3+7>>>3,Ce<=ge&&(ge=Ce)):ge=Ce=te+5,te+4<=ge&&ne!==-1?Su(E,ne,te,de):E.strategy===us||Ce===ge?(cr(E,(Va<<1)+(de?1:0),3),Ma(E,jo,xs)):(cr(E,(Mo<<1)+(de?1:0),3),To(E,E.l_desc.max_code+1,E.d_desc.max_code+1,nt+1),Ma(E,E.dyn_ltree,E.dyn_dtree)),ca(E),de&&Xr(E)},Eu=(E,ne,te)=>(E.pending_buf[E.sym_buf+E.sym_next++]=ne,E.pending_buf[E.sym_buf+E.sym_next++]=ne>>8,E.pending_buf[E.sym_buf+E.sym_next++]=te,ne===0?E.dyn_ltree[te*2]++:(E.matches++,ne--,E.dyn_ltree[($s[te]+Js+1)*2]++,E.dyn_dtree[Jn(ne)*2]++),E.sym_next===E.sym_end);var mo=gu,Qo=Su,Nl=yr,el=Eu,_l=Cr,al={_tr_init:mo,_tr_stored_block:Qo,_tr_flush_block:Nl,_tr_tally:el,_tr_align:_l},Bs=(E,ne,te,de)=>{let ge=E&65535|0,Ce=E>>>16&65535|0,nt=0;for(;te!==0;){nt=te>2e3?2e3:te,te-=nt;do ge=ge+ne[de++]|0,Ce=Ce+ge|0;while(--nt);ge%=65521,Ce%=65521}return ge|Ce<<16|0};const fl=()=>{let E,ne=[];for(var te=0;te<256;te++){E=te;for(var de=0;de<8;de++)E=E&1?3988292384^E>>>1:E>>>1;ne[te]=E}return ne},kc=new Uint32Array(fl());var Ho=(E,ne,te,de)=>{const ge=kc,Ce=de+te;E^=-1;for(let nt=de;nt<Ce;nt++)E=E>>>8^ge[(E^ne[nt])&255];return E^-1},Do={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},zo={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:ys,_tr_stored_block:bs,_tr_flush_block:Ds,_tr_tally:ol,_tr_align:Vs}=al,{Z_NO_FLUSH:Ol,Z_PARTIAL_FLUSH:ac,Z_FULL_FLUSH:ad,Z_FINISH:Fu,Z_BLOCK:oc,Z_OK:sc,Z_STREAM_END:wc,Z_STREAM_ERROR:Kl,Z_DATA_ERROR:$d,Z_BUF_ERROR:Hd,Z_DEFAULT_COMPRESSION:wd,Z_FILTERED:eA,Z_HUFFMAN_ONLY:Mc,Z_RLE:bA,Z_FIXED:$u,Z_DEFAULT_STRATEGY:Id,Z_UNKNOWN:yl,Z_DEFLATED:bl}=zo,Hl=9,zc=15,Ac=8,Ru=256+1+29,Aa=30,$o=19,_i=2*Ru+1,rs=15,Eo=3,tu=258,lc=tu+Eo+1,Kc=32,Pc=42,wA=57,xd=69,Il=73,Ld=91,Cl=103,Du=113,Uu=666,Jl=1,hl=2,fc=3,uc=4,_c=3,ec=(E,ne)=>(E.msg=Do[ne],ne),Wc=E=>E*2-(E>4?9:0),Vu=E=>{let ne=E.length;for(;--ne>=0;)E[ne]=0},jd=E=>{let ne,te,de,ge=E.w_size;ne=E.hash_size,de=ne;do te=E.head[--de],E.head[de]=te>=ge?te-ge:0;while(--ne);ne=ge,de=ne;do te=E.prev[--de],E.prev[de]=te>=ge?te-ge:0;while(--ne)};let od=(E,ne,te)=>(ne<<E.hash_shift^te)&E.hash_mask;const Dd=E=>{const ne=E.state;let te=ne.pending;te>E.avail_out&&(te=E.avail_out),te!==0&&(E.output.set(ne.pending_buf.subarray(ne.pending_out,ne.pending_out+te),E.next_out),E.next_out+=te,ne.pending_out+=te,E.total_out+=te,E.avail_out-=te,ne.pending-=te,ne.pending===0&&(ne.pending_out=0))},xc=(E,ne)=>{Ds(E,E.block_start>=0?E.block_start:-1,E.strstart-E.block_start,ne),E.block_start=E.strstart,Dd(E.strm)},iu=(E,ne)=>{E.pending_buf[E.pending++]=ne},uA=(E,ne)=>{E.pending_buf[E.pending++]=ne>>>8&255,E.pending_buf[E.pending++]=ne&255},yf=(E,ne,te,de)=>{let ge=E.avail_in;return ge>de&&(ge=de),ge===0?0:(E.avail_in-=ge,ne.set(E.input.subarray(E.next_in,E.next_in+ge),te),E.state.wrap===1?E.adler=Bs(E.adler,ne,ge,te):E.state.wrap===2&&(E.adler=Ho(E.adler,ne,ge,te)),E.next_in+=ge,E.total_in+=ge,ge)},GA=(E,ne)=>{let te=E.max_chain_length,de=E.strstart,ge,Ce,nt=E.prev_length,Ge=E.nice_match;const ot=E.strstart>E.w_size-lc?E.strstart-(E.w_size-lc):0,ft=E.window,Et=E.w_mask,en=E.prev,sn=E.strstart+tu;let Ct=ft[de+nt-1],Hn=ft[de+nt];E.prev_length>=E.good_match&&(te>>=2),Ge>E.lookahead&&(Ge=E.lookahead);do if(ge=ne,!(ft[ge+nt]!==Hn||ft[ge+nt-1]!==Ct||ft[ge]!==ft[de]||ft[++ge]!==ft[de+1])){de+=2,ge++;do;while(ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&ft[++de]===ft[++ge]&&de<sn);if(Ce=tu-(sn-de),de=sn-tu,Ce>nt){if(E.match_start=ne,nt=Ce,Ce>=Ge)break;Ct=ft[de+nt-1],Hn=ft[de+nt]}}while((ne=en[ne&Et])>ot&&--te!==0);return nt<=E.lookahead?nt:E.lookahead},sd=E=>{const ne=E.w_size;let te,de,ge;do{if(de=E.window_size-E.lookahead-E.strstart,E.strstart>=ne+(ne-lc)&&(E.window.set(E.window.subarray(ne,ne+ne-de),0),E.match_start-=ne,E.strstart-=ne,E.block_start-=ne,E.insert>E.strstart&&(E.insert=E.strstart),jd(E),de+=ne),E.strm.avail_in===0)break;if(te=yf(E.strm,E.window,E.strstart+E.lookahead,de),E.lookahead+=te,E.lookahead+E.insert>=Eo)for(ge=E.strstart-E.insert,E.ins_h=E.window[ge],E.ins_h=od(E,E.ins_h,E.window[ge+1]);E.insert&&(E.ins_h=od(E,E.ins_h,E.window[ge+Eo-1]),E.prev[ge&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=ge,ge++,E.insert--,!(E.lookahead+E.insert<Eo)););}while(E.lookahead<lc&&E.strm.avail_in!==0)},xA=(E,ne)=>{let te=E.pending_buf_size-5>E.w_size?E.w_size:E.pending_buf_size-5,de,ge,Ce,nt=0,Ge=E.strm.avail_in;do{if(de=65535,Ce=E.bi_valid+42>>3,E.strm.avail_out<Ce||(Ce=E.strm.avail_out-Ce,ge=E.strstart-E.block_start,de>ge+E.strm.avail_in&&(de=ge+E.strm.avail_in),de>Ce&&(de=Ce),de<te&&(de===0&&ne!==Fu||ne===Ol||de!==ge+E.strm.avail_in)))break;nt=ne===Fu&&de===ge+E.strm.avail_in?1:0,bs(E,0,0,nt),E.pending_buf[E.pending-4]=de,E.pending_buf[E.pending-3]=de>>8,E.pending_buf[E.pending-2]=~de,E.pending_buf[E.pending-1]=~de>>8,Dd(E.strm),ge&&(ge>de&&(ge=de),E.strm.output.set(E.window.subarray(E.block_start,E.block_start+ge),E.strm.next_out),E.strm.next_out+=ge,E.strm.avail_out-=ge,E.strm.total_out+=ge,E.block_start+=ge,de-=ge),de&&(yf(E.strm,E.strm.output,E.strm.next_out,de),E.strm.next_out+=de,E.strm.avail_out-=de,E.strm.total_out+=de)}while(nt===0);return Ge-=E.strm.avail_in,Ge&&(Ge>=E.w_size?(E.matches=2,E.window.set(E.strm.input.subarray(E.strm.next_in-E.w_size,E.strm.next_in),0),E.strstart=E.w_size,E.insert=E.strstart):(E.window_size-E.strstart<=Ge&&(E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,E.insert>E.strstart&&(E.insert=E.strstart)),E.window.set(E.strm.input.subarray(E.strm.next_in-Ge,E.strm.next_in),E.strstart),E.strstart+=Ge,E.insert+=Ge>E.w_size-E.insert?E.w_size-E.insert:Ge),E.block_start=E.strstart),E.high_water<E.strstart&&(E.high_water=E.strstart),nt?uc:ne!==Ol&&ne!==Fu&&E.strm.avail_in===0&&E.strstart===E.block_start?hl:(Ce=E.window_size-E.strstart,E.strm.avail_in>Ce&&E.block_start>=E.w_size&&(E.block_start-=E.w_size,E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,Ce+=E.w_size,E.insert>E.strstart&&(E.insert=E.strstart)),Ce>E.strm.avail_in&&(Ce=E.strm.avail_in),Ce&&(yf(E.strm,E.window,E.strstart,Ce),E.strstart+=Ce,E.insert+=Ce>E.w_size-E.insert?E.w_size-E.insert:Ce),E.high_water<E.strstart&&(E.high_water=E.strstart),Ce=E.bi_valid+42>>3,Ce=E.pending_buf_size-Ce>65535?65535:E.pending_buf_size-Ce,te=Ce>E.w_size?E.w_size:Ce,ge=E.strstart-E.block_start,(ge>=te||(ge||ne===Fu)&&ne!==Ol&&E.strm.avail_in===0&&ge<=Ce)&&(de=ge>Ce?Ce:ge,nt=ne===Fu&&E.strm.avail_in===0&&de===ge?1:0,bs(E,E.block_start,de,nt),E.block_start+=de,Dd(E.strm)),nt?fc:Jl)},ih=(E,ne)=>{let te,de;for(;;){if(E.lookahead<lc){if(sd(E),E.lookahead<lc&&ne===Ol)return Jl;if(E.lookahead===0)break}if(te=0,E.lookahead>=Eo&&(E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),te!==0&&E.strstart-te<=E.w_size-lc&&(E.match_length=GA(E,te)),E.match_length>=Eo)if(de=ol(E,E.strstart-E.match_start,E.match_length-Eo),E.lookahead-=E.match_length,E.match_length<=E.max_lazy_match&&E.lookahead>=Eo){E.match_length--;do E.strstart++,E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart;while(--E.match_length!==0);E.strstart++}else E.strstart+=E.match_length,E.match_length=0,E.ins_h=E.window[E.strstart],E.ins_h=od(E,E.ins_h,E.window[E.strstart+1]);else de=ol(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++;if(de&&(xc(E,!1),E.strm.avail_out===0))return Jl}return E.insert=E.strstart<Eo-1?E.strstart:Eo-1,ne===Fu?(xc(E,!0),E.strm.avail_out===0?fc:uc):E.sym_next&&(xc(E,!1),E.strm.avail_out===0)?Jl:hl},bf=(E,ne)=>{let te,de,ge;for(;;){if(E.lookahead<lc){if(sd(E),E.lookahead<lc&&ne===Ol)return Jl;if(E.lookahead===0)break}if(te=0,E.lookahead>=Eo&&(E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),E.prev_length=E.match_length,E.prev_match=E.match_start,E.match_length=Eo-1,te!==0&&E.prev_length<E.max_lazy_match&&E.strstart-te<=E.w_size-lc&&(E.match_length=GA(E,te),E.match_length<=5&&(E.strategy===eA||E.match_length===Eo&&E.strstart-E.match_start>4096)&&(E.match_length=Eo-1)),E.prev_length>=Eo&&E.match_length<=E.prev_length){ge=E.strstart+E.lookahead-Eo,de=ol(E,E.strstart-1-E.prev_match,E.prev_length-Eo),E.lookahead-=E.prev_length-1,E.prev_length-=2;do++E.strstart<=ge&&(E.ins_h=od(E,E.ins_h,E.window[E.strstart+Eo-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart);while(--E.prev_length!==0);if(E.match_available=0,E.match_length=Eo-1,E.strstart++,de&&(xc(E,!1),E.strm.avail_out===0))return Jl}else if(E.match_available){if(de=ol(E,0,E.window[E.strstart-1]),de&&xc(E,!1),E.strstart++,E.lookahead--,E.strm.avail_out===0)return Jl}else E.match_available=1,E.strstart++,E.lookahead--}return E.match_available&&(de=ol(E,0,E.window[E.strstart-1]),E.match_available=0),E.insert=E.strstart<Eo-1?E.strstart:Eo-1,ne===Fu?(xc(E,!0),E.strm.avail_out===0?fc:uc):E.sym_next&&(xc(E,!1),E.strm.avail_out===0)?Jl:hl},M0=(E,ne)=>{let te,de,ge,Ce;const nt=E.window;for(;;){if(E.lookahead<=tu){if(sd(E),E.lookahead<=tu&&ne===Ol)return Jl;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=Eo&&E.strstart>0&&(ge=E.strstart-1,de=nt[ge],de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge])){Ce=E.strstart+tu;do;while(de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&de===nt[++ge]&&ge<Ce);E.match_length=tu-(Ce-ge),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=Eo?(te=ol(E,1,E.match_length-Eo),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(te=ol(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),te&&(xc(E,!1),E.strm.avail_out===0))return Jl}return E.insert=0,ne===Fu?(xc(E,!0),E.strm.avail_out===0?fc:uc):E.sym_next&&(xc(E,!1),E.strm.avail_out===0)?Jl:hl},rp=(E,ne)=>{let te;for(;;){if(E.lookahead===0&&(sd(E),E.lookahead===0)){if(ne===Ol)return Jl;break}if(E.match_length=0,te=ol(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,te&&(xc(E,!1),E.strm.avail_out===0))return Jl}return E.insert=0,ne===Fu?(xc(E,!0),E.strm.avail_out===0?fc:uc):E.sym_next&&(xc(E,!1),E.strm.avail_out===0)?Jl:hl};function hc(E,ne,te,de,ge){this.good_length=E,this.max_lazy=ne,this.nice_length=te,this.max_chain=de,this.func=ge}const cA=[new hc(0,0,0,0,xA),new hc(4,4,8,4,ih),new hc(4,5,16,8,ih),new hc(4,6,32,32,ih),new hc(4,4,16,16,bf),new hc(8,16,32,32,bf),new hc(8,16,128,128,bf),new hc(8,32,128,256,bf),new hc(32,128,258,1024,bf),new hc(32,258,258,4096,bf)],ip=E=>{E.window_size=2*E.w_size,Vu(E.head),E.max_lazy_match=cA[E.level].max_lazy,E.good_match=cA[E.level].good_length,E.nice_match=cA[E.level].nice_length,E.max_chain_length=cA[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=Eo-1,E.match_available=0,E.ins_h=0};function Nt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=bl,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(_i*2),this.dyn_dtree=new Uint16Array((2*Aa+1)*2),this.bl_tree=new Uint16Array((2*$o+1)*2),Vu(this.dyn_ltree),Vu(this.dyn_dtree),Vu(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(rs+1),this.heap=new Uint16Array(2*Ru+1),Vu(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ru+1),Vu(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Ut=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.status!==Pc&&ne.status!==wA&&ne.status!==xd&&ne.status!==Il&&ne.status!==Ld&&ne.status!==Cl&&ne.status!==Du&&ne.status!==Uu?1:0},An=E=>{if(Ut(E))return ec(E,Kl);E.total_in=E.total_out=0,E.data_type=yl;const ne=E.state;return ne.pending=0,ne.pending_out=0,ne.wrap<0&&(ne.wrap=-ne.wrap),ne.status=ne.wrap===2?wA:ne.wrap?Pc:Du,E.adler=ne.wrap===2?0:1,ne.last_flush=-2,ys(ne),sc},En=E=>{const ne=An(E);return ne===sc&&ip(E.state),ne},Vn=(E,ne)=>Ut(E)||E.state.wrap!==2?Kl:(E.state.gzhead=ne,sc),On=(E,ne,te,de,ge,Ce)=>{if(!E)return Kl;let nt=1;if(ne===wd&&(ne=6),de<0?(nt=0,de=-de):de>15&&(nt=2,de-=16),ge<1||ge>Hl||te!==bl||de<8||de>15||ne<0||ne>9||Ce<0||Ce>$u||de===8&&nt!==1)return ec(E,Kl);de===8&&(de=9);const Ge=new Nt;return E.state=Ge,Ge.strm=E,Ge.status=Pc,Ge.wrap=nt,Ge.gzhead=null,Ge.w_bits=de,Ge.w_size=1<<Ge.w_bits,Ge.w_mask=Ge.w_size-1,Ge.hash_bits=ge+7,Ge.hash_size=1<<Ge.hash_bits,Ge.hash_mask=Ge.hash_size-1,Ge.hash_shift=~~((Ge.hash_bits+Eo-1)/Eo),Ge.window=new Uint8Array(Ge.w_size*2),Ge.head=new Uint16Array(Ge.hash_size),Ge.prev=new Uint16Array(Ge.w_size),Ge.lit_bufsize=1<<ge+6,Ge.pending_buf_size=Ge.lit_bufsize*4,Ge.pending_buf=new Uint8Array(Ge.pending_buf_size),Ge.sym_buf=Ge.lit_bufsize,Ge.sym_end=(Ge.lit_bufsize-1)*3,Ge.level=ne,Ge.strategy=Ce,Ge.method=te,En(E)},gr=(E,ne)=>On(E,ne,bl,zc,Ac,Id),fr=(E,ne)=>{if(Ut(E)||ne>oc||ne<0)return E?ec(E,Kl):Kl;const te=E.state;if(!E.output||E.avail_in!==0&&!E.input||te.status===Uu&&ne!==Fu)return ec(E,E.avail_out===0?Hd:Kl);const de=te.last_flush;if(te.last_flush=ne,te.pending!==0){if(Dd(E),E.avail_out===0)return te.last_flush=-1,sc}else if(E.avail_in===0&&Wc(ne)<=Wc(de)&&ne!==Fu)return ec(E,Hd);if(te.status===Uu&&E.avail_in!==0)return ec(E,Hd);if(te.status===Pc&&te.wrap===0&&(te.status=Du),te.status===Pc){let ge=bl+(te.w_bits-8<<4)<<8,Ce=-1;if(te.strategy>=Mc||te.level<2?Ce=0:te.level<6?Ce=1:te.level===6?Ce=2:Ce=3,ge|=Ce<<6,te.strstart!==0&&(ge|=Kc),ge+=31-ge%31,uA(te,ge),te.strstart!==0&&(uA(te,E.adler>>>16),uA(te,E.adler&65535)),E.adler=1,te.status=Du,Dd(E),te.pending!==0)return te.last_flush=-1,sc}if(te.status===wA){if(E.adler=0,iu(te,31),iu(te,139),iu(te,8),te.gzhead)iu(te,(te.gzhead.text?1:0)+(te.gzhead.hcrc?2:0)+(te.gzhead.extra?4:0)+(te.gzhead.name?8:0)+(te.gzhead.comment?16:0)),iu(te,te.gzhead.time&255),iu(te,te.gzhead.time>>8&255),iu(te,te.gzhead.time>>16&255),iu(te,te.gzhead.time>>24&255),iu(te,te.level===9?2:te.strategy>=Mc||te.level<2?4:0),iu(te,te.gzhead.os&255),te.gzhead.extra&&te.gzhead.extra.length&&(iu(te,te.gzhead.extra.length&255),iu(te,te.gzhead.extra.length>>8&255)),te.gzhead.hcrc&&(E.adler=Ho(E.adler,te.pending_buf,te.pending,0)),te.gzindex=0,te.status=xd;else if(iu(te,0),iu(te,0),iu(te,0),iu(te,0),iu(te,0),iu(te,te.level===9?2:te.strategy>=Mc||te.level<2?4:0),iu(te,_c),te.status=Du,Dd(E),te.pending!==0)return te.last_flush=-1,sc}if(te.status===xd){if(te.gzhead.extra){let ge=te.pending,Ce=(te.gzhead.extra.length&65535)-te.gzindex;for(;te.pending+Ce>te.pending_buf_size;){let Ge=te.pending_buf_size-te.pending;if(te.pending_buf.set(te.gzhead.extra.subarray(te.gzindex,te.gzindex+Ge),te.pending),te.pending=te.pending_buf_size,te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex+=Ge,Dd(E),te.pending!==0)return te.last_flush=-1,sc;ge=0,Ce-=Ge}let nt=new Uint8Array(te.gzhead.extra);te.pending_buf.set(nt.subarray(te.gzindex,te.gzindex+Ce),te.pending),te.pending+=Ce,te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=Il}if(te.status===Il){if(te.gzhead.name){let ge=te.pending,Ce;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),Dd(E),te.pending!==0)return te.last_flush=-1,sc;ge=0}te.gzindex<te.gzhead.name.length?Ce=te.gzhead.name.charCodeAt(te.gzindex++)&255:Ce=0,iu(te,Ce)}while(Ce!==0);te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=Ld}if(te.status===Ld){if(te.gzhead.comment){let ge=te.pending,Ce;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge)),Dd(E),te.pending!==0)return te.last_flush=-1,sc;ge=0}te.gzindex<te.gzhead.comment.length?Ce=te.gzhead.comment.charCodeAt(te.gzindex++)&255:Ce=0,iu(te,Ce)}while(Ce!==0);te.gzhead.hcrc&&te.pending>ge&&(E.adler=Ho(E.adler,te.pending_buf,te.pending-ge,ge))}te.status=Cl}if(te.status===Cl){if(te.gzhead.hcrc){if(te.pending+2>te.pending_buf_size&&(Dd(E),te.pending!==0))return te.last_flush=-1,sc;iu(te,E.adler&255),iu(te,E.adler>>8&255),E.adler=0}if(te.status=Du,Dd(E),te.pending!==0)return te.last_flush=-1,sc}if(E.avail_in!==0||te.lookahead!==0||ne!==Ol&&te.status!==Uu){let ge=te.level===0?xA(te,ne):te.strategy===Mc?rp(te,ne):te.strategy===bA?M0(te,ne):cA[te.level].func(te,ne);if((ge===fc||ge===uc)&&(te.status=Uu),ge===Jl||ge===fc)return E.avail_out===0&&(te.last_flush=-1),sc;if(ge===hl&&(ne===ac?Vs(te):ne!==oc&&(bs(te,0,0,!1),ne===ad&&(Vu(te.head),te.lookahead===0&&(te.strstart=0,te.block_start=0,te.insert=0))),Dd(E),E.avail_out===0))return te.last_flush=-1,sc}return ne!==Fu?sc:te.wrap<=0?wc:(te.wrap===2?(iu(te,E.adler&255),iu(te,E.adler>>8&255),iu(te,E.adler>>16&255),iu(te,E.adler>>24&255),iu(te,E.total_in&255),iu(te,E.total_in>>8&255),iu(te,E.total_in>>16&255),iu(te,E.total_in>>24&255)):(uA(te,E.adler>>>16),uA(te,E.adler&65535)),Dd(E),te.wrap>0&&(te.wrap=-te.wrap),te.pending!==0?sc:wc)},ur=E=>{if(Ut(E))return Kl;const ne=E.state.status;return E.state=null,ne===Du?ec(E,$d):sc},Jr=(E,ne)=>{let te=ne.length;if(Ut(E))return Kl;const de=E.state,ge=de.wrap;if(ge===2||ge===1&&de.status!==Pc||de.lookahead)return Kl;if(ge===1&&(E.adler=Bs(E.adler,ne,te,0)),de.wrap=0,te>=de.w_size){ge===0&&(Vu(de.head),de.strstart=0,de.block_start=0,de.insert=0);let ot=new Uint8Array(de.w_size);ot.set(ne.subarray(te-de.w_size,te),0),ne=ot,te=de.w_size}const Ce=E.avail_in,nt=E.next_in,Ge=E.input;for(E.avail_in=te,E.next_in=0,E.input=ne,sd(de);de.lookahead>=Eo;){let ot=de.strstart,ft=de.lookahead-(Eo-1);do de.ins_h=od(de,de.ins_h,de.window[ot+Eo-1]),de.prev[ot&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=ot,ot++;while(--ft);de.strstart=ot,de.lookahead=Eo-1,sd(de)}return de.strstart+=de.lookahead,de.block_start=de.strstart,de.insert=de.lookahead,de.lookahead=0,de.match_length=de.prev_length=Eo-1,de.match_available=0,E.next_in=nt,E.input=Ge,E.avail_in=Ce,de.wrap=ge,sc};var hi=gr,ni=On,qi=En,Qi=An,Vi=Vn,ja=fr,Fa=ur,Ta=Jr,Ia="pako deflate (from Nodeca project)",$a={deflateInit:hi,deflateInit2:ni,deflateReset:qi,deflateResetKeep:Qi,deflateSetHeader:Vi,deflate:ja,deflateEnd:Fa,deflateSetDictionary:Ta,deflateInfo:Ia};const Ko=(E,ne)=>Object.prototype.hasOwnProperty.call(E,ne);var Jo=function(E){const ne=Array.prototype.slice.call(arguments,1);for(;ne.length;){const te=ne.shift();if(te){if(typeof te!="object")throw new TypeError(te+"must be non-object");for(const de in te)Ko(te,de)&&(E[de]=te[de])}}return E},Fo=E=>{let ne=0;for(let de=0,ge=E.length;de<ge;de++)ne+=E[de].length;const te=new Uint8Array(ne);for(let de=0,ge=0,Ce=E.length;de<Ce;de++){let nt=E[de];te.set(nt,ge),ge+=nt.length}return te},ss={assign:Jo,flattenChunks:Fo};let _s=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(E){_s=!1}const lo=new Uint8Array(256);for(let E=0;E<256;E++)lo[E]=E>=252?6:E>=248?5:E>=240?4:E>=224?3:E>=192?2:1;lo[254]=lo[254]=1;var Oo=E=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(E);let ne,te,de,ge,Ce,nt=E.length,Ge=0;for(ge=0;ge<nt;ge++)te=E.charCodeAt(ge),(te&64512)===55296&&ge+1<nt&&(de=E.charCodeAt(ge+1),(de&64512)===56320&&(te=65536+(te-55296<<10)+(de-56320),ge++)),Ge+=te<128?1:te<2048?2:te<65536?3:4;for(ne=new Uint8Array(Ge),Ce=0,ge=0;Ce<Ge;ge++)te=E.charCodeAt(ge),(te&64512)===55296&&ge+1<nt&&(de=E.charCodeAt(ge+1),(de&64512)===56320&&(te=65536+(te-55296<<10)+(de-56320),ge++)),te<128?ne[Ce++]=te:te<2048?(ne[Ce++]=192|te>>>6,ne[Ce++]=128|te&63):te<65536?(ne[Ce++]=224|te>>>12,ne[Ce++]=128|te>>>6&63,ne[Ce++]=128|te&63):(ne[Ce++]=240|te>>>18,ne[Ce++]=128|te>>>12&63,ne[Ce++]=128|te>>>6&63,ne[Ce++]=128|te&63);return ne};const vo=(E,ne)=>{if(ne<65534&&E.subarray&&_s)return String.fromCharCode.apply(null,E.length===ne?E:E.subarray(0,ne));let te="";for(let de=0;de<ne;de++)te+=String.fromCharCode(E[de]);return te};var Ba=(E,ne)=>{const te=ne||E.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(E.subarray(0,ne));let de,ge;const Ce=new Array(te*2);for(ge=0,de=0;de<te;){let nt=E[de++];if(nt<128){Ce[ge++]=nt;continue}let Ge=lo[nt];if(Ge>4){Ce[ge++]=65533,de+=Ge-1;continue}for(nt&=Ge===2?31:Ge===3?15:7;Ge>1&&de<te;)nt=nt<<6|E[de++]&63,Ge--;if(Ge>1){Ce[ge++]=65533;continue}nt<65536?Ce[ge++]=nt:(nt-=65536,Ce[ge++]=55296|nt>>10&1023,Ce[ge++]=56320|nt&1023)}return vo(Ce,ge)},bo=(E,ne)=>{ne=ne||E.length,ne>E.length&&(ne=E.length);let te=ne-1;for(;te>=0&&(E[te]&192)===128;)te--;return te<0||te===0?ne:te+lo[E[te]]>ne?te:ne},is={string2buf:Oo,buf2string:Ba,utf8border:bo};function tl(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var as=tl;const za=Object.prototype.toString,{Z_NO_FLUSH:gs,Z_SYNC_FLUSH:Ns,Z_FULL_FLUSH:jl,Z_FINISH:Ll,Z_OK:ku,Z_STREAM_END:Mu,Z_DEFAULT_COMPRESSION:Is,Z_DEFAULT_STRATEGY:cc,Z_DEFLATED:wl}=zo;function du(E){this.options=ss.assign({level:Is,method:wl,chunkSize:16384,windowBits:15,memLevel:8,strategy:cc},E||{});let ne=this.options;ne.raw&&ne.windowBits>0?ne.windowBits=-ne.windowBits:ne.gzip&&ne.windowBits>0&&ne.windowBits<16&&(ne.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new as,this.strm.avail_out=0;let te=$a.deflateInit2(this.strm,ne.level,ne.method,ne.windowBits,ne.memLevel,ne.strategy);if(te!==ku)throw new Error(Do[te]);if(ne.header&&$a.deflateSetHeader(this.strm,ne.header),ne.dictionary){let de;if(typeof ne.dictionary=="string"?de=is.string2buf(ne.dictionary):za.call(ne.dictionary)==="[object ArrayBuffer]"?de=new Uint8Array(ne.dictionary):de=ne.dictionary,te=$a.deflateSetDictionary(this.strm,de),te!==ku)throw new Error(Do[te]);this._dict_set=!0}}du.prototype.push=function(E,ne){const te=this.strm,de=this.options.chunkSize;let ge,Ce;if(this.ended)return!1;for(ne===~~ne?Ce=ne:Ce=ne===!0?Ll:gs,typeof E=="string"?te.input=is.string2buf(E):za.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){if(te.avail_out===0&&(te.output=new Uint8Array(de),te.next_out=0,te.avail_out=de),(Ce===Ns||Ce===jl)&&te.avail_out<=6){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(ge=$a.deflate(te,Ce),ge===Mu)return te.next_out>0&&this.onData(te.output.subarray(0,te.next_out)),ge=$a.deflateEnd(this.strm),this.onEnd(ge),this.ended=!0,ge===ku;if(te.avail_out===0){this.onData(te.output);continue}if(Ce>0&&te.next_out>0){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(te.avail_in===0)break}return!0},du.prototype.onData=function(E){this.chunks.push(E)},du.prototype.onEnd=function(E){E===ku&&(this.result=ss.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function Au(E,ne){const te=new du(ne);if(te.push(E,!0),te.err)throw te.msg||Do[te.err];return te.result}function Ic(E,ne){return ne=ne||{},ne.raw=!0,Au(E,ne)}function wo(E,ne){return ne=ne||{},ne.gzip=!0,Au(E,ne)}var es=du,ts=Au,Po=Ic,Tl=wo,Wo=zo,Ss={Deflate:es,deflate:ts,deflateRaw:Po,gzip:Tl,constants:Wo};const sl=16209,pl=16191;var td=function(ne,te){let de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn,wn,Ir,Br,ar,wi,ta,Wi,Yr,sr,ci;const yn=ne.state;de=ne.next_in,sr=ne.input,ge=de+(ne.avail_in-5),Ce=ne.next_out,ci=ne.output,nt=Ce-(te-ne.avail_out),Ge=Ce+(ne.avail_out-257),ot=yn.dmax,ft=yn.wsize,Et=yn.whave,en=yn.wnext,sn=yn.window,Ct=yn.hold,Hn=yn.bits,In=yn.lencode,Zn=yn.distcode,wn=(1<<yn.lenbits)-1,Ir=(1<<yn.distbits)-1;e:do{Hn<15&&(Ct+=sr[de++]<<Hn,Hn+=8,Ct+=sr[de++]<<Hn,Hn+=8),Br=In[Ct&wn];t:for(;;){if(ar=Br>>>24,Ct>>>=ar,Hn-=ar,ar=Br>>>16&255,ar===0)ci[Ce++]=Br&65535;else if(ar&16){wi=Br&65535,ar&=15,ar&&(Hn<ar&&(Ct+=sr[de++]<<Hn,Hn+=8),wi+=Ct&(1<<ar)-1,Ct>>>=ar,Hn-=ar),Hn<15&&(Ct+=sr[de++]<<Hn,Hn+=8,Ct+=sr[de++]<<Hn,Hn+=8),Br=Zn[Ct&Ir];n:for(;;){if(ar=Br>>>24,Ct>>>=ar,Hn-=ar,ar=Br>>>16&255,ar&16){if(ta=Br&65535,ar&=15,Hn<ar&&(Ct+=sr[de++]<<Hn,Hn+=8,Hn<ar&&(Ct+=sr[de++]<<Hn,Hn+=8)),ta+=Ct&(1<<ar)-1,ta>ot){ne.msg="invalid distance too far back",yn.mode=sl;break e}if(Ct>>>=ar,Hn-=ar,ar=Ce-nt,ta>ar){if(ar=ta-ar,ar>Et&&yn.sane){ne.msg="invalid distance too far back",yn.mode=sl;break e}if(Wi=0,Yr=sn,en===0){if(Wi+=ft-ar,ar<wi){wi-=ar;do ci[Ce++]=sn[Wi++];while(--ar);Wi=Ce-ta,Yr=ci}}else if(en<ar){if(Wi+=ft+en-ar,ar-=en,ar<wi){wi-=ar;do ci[Ce++]=sn[Wi++];while(--ar);if(Wi=0,en<wi){ar=en,wi-=ar;do ci[Ce++]=sn[Wi++];while(--ar);Wi=Ce-ta,Yr=ci}}}else if(Wi+=en-ar,ar<wi){wi-=ar;do ci[Ce++]=sn[Wi++];while(--ar);Wi=Ce-ta,Yr=ci}for(;wi>2;)ci[Ce++]=Yr[Wi++],ci[Ce++]=Yr[Wi++],ci[Ce++]=Yr[Wi++],wi-=3;wi&&(ci[Ce++]=Yr[Wi++],wi>1&&(ci[Ce++]=Yr[Wi++]))}else{Wi=Ce-ta;do ci[Ce++]=ci[Wi++],ci[Ce++]=ci[Wi++],ci[Ce++]=ci[Wi++],wi-=3;while(wi>2);wi&&(ci[Ce++]=ci[Wi++],wi>1&&(ci[Ce++]=ci[Wi++]))}}else if(ar&64){ne.msg="invalid distance code",yn.mode=sl;break e}else{Br=Zn[(Br&65535)+(Ct&(1<<ar)-1)];continue n}break}}else if(ar&64)if(ar&32){yn.mode=pl;break e}else{ne.msg="invalid literal/length code",yn.mode=sl;break e}else{Br=In[(Br&65535)+(Ct&(1<<ar)-1)];continue t}break}}while(de<ge&&Ce<Ge);wi=Hn>>3,de-=wi,Hn-=wi<<3,Ct&=(1<<Hn)-1,ne.next_in=de,ne.next_out=Ce,ne.avail_in=de<ge?5+(ge-de):5-(de-ge),ne.avail_out=Ce<Ge?257+(Ge-Ce):257-(Ce-Ge),yn.hold=Ct,yn.bits=Hn};const Gu=15,Qd=852,tc=592,zd=0,Ja=1,Rc=2,YA=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),xl=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),la=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Wl=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var Iu=(E,ne,te,de,ge,Ce,nt,Ge)=>{const ot=Ge.bits;let ft=0,Et=0,en=0,sn=0,Ct=0,Hn=0,In=0,Zn=0,wn=0,Ir=0,Br,ar,wi,ta,Wi,Yr=null,sr;const ci=new Uint16Array(Gu+1),yn=new Uint16Array(Gu+1);let Gn=null,_r,Er,Fi;for(ft=0;ft<=Gu;ft++)ci[ft]=0;for(Et=0;Et<de;Et++)ci[ne[te+Et]]++;for(Ct=ot,sn=Gu;sn>=1&&ci[sn]===0;sn--);if(Ct>sn&&(Ct=sn),sn===0)return ge[Ce++]=1<<24|64<<16|0,ge[Ce++]=1<<24|64<<16|0,Ge.bits=1,0;for(en=1;en<sn&&ci[en]===0;en++);for(Ct<en&&(Ct=en),Zn=1,ft=1;ft<=Gu;ft++)if(Zn<<=1,Zn-=ci[ft],Zn<0)return-1;if(Zn>0&&(E===zd||sn!==1))return-1;for(yn[1]=0,ft=1;ft<Gu;ft++)yn[ft+1]=yn[ft]+ci[ft];for(Et=0;Et<de;Et++)ne[te+Et]!==0&&(nt[yn[ne[te+Et]]++]=Et);if(E===zd?(Yr=Gn=nt,sr=20):E===Ja?(Yr=YA,Gn=xl,sr=257):(Yr=la,Gn=Wl,sr=0),Ir=0,Et=0,ft=en,Wi=Ce,Hn=Ct,In=0,wi=-1,wn=1<<Ct,ta=wn-1,E===Ja&&wn>Qd||E===Rc&&wn>tc)return 1;for(;;){_r=ft-In,nt[Et]+1<sr?(Er=0,Fi=nt[Et]):nt[Et]>=sr?(Er=Gn[nt[Et]-sr],Fi=Yr[nt[Et]-sr]):(Er=96,Fi=0),Br=1<<ft-In,ar=1<<Hn,en=ar;do ar-=Br,ge[Wi+(Ir>>In)+ar]=_r<<24|Er<<16|Fi|0;while(ar!==0);for(Br=1<<ft-1;Ir&Br;)Br>>=1;if(Br!==0?(Ir&=Br-1,Ir+=Br):Ir=0,Et++,--ci[ft]===0){if(ft===sn)break;ft=ne[te+nt[Et]]}if(ft>Ct&&(Ir&ta)!==wi){for(In===0&&(In=Ct),Wi+=en,Hn=ft-In,Zn=1<<Hn;Hn+In<sn&&(Zn-=ci[Hn+In],!(Zn<=0));)Hn++,Zn<<=1;if(wn+=1<<Hn,E===Ja&&wn>Qd||E===Rc&&wn>tc)return 1;wi=Ir&ta,ge[wi]=Ct<<24|Hn<<16|Wi-Ce|0}}return Ir!==0&&(ge[Wi+Ir]=ft-In<<24|64<<16|0),Ge.bits=Ct,0};const ps=0,$l=1,Uc=2,{Z_FINISH:Nd,Z_BLOCK:Cd,Z_TREES:Hc,Z_OK:Yu,Z_STREAM_END:CA,Z_NEED_DICT:Zc,Z_STREAM_ERROR:Xu,Z_DATA_ERROR:jc,Z_MEM_ERROR:Nu,Z_BUF_ERROR:Hu,Z_DEFLATED:ld}=zo,dA=16180,Kd=16181,BA=16182,XA=16183,Eh=16184,Bl=16185,au=16186,Lc=16187,ou=16188,Bc=16189,Dc=16190,nc=16191,SA=16192,ah=16193,EA=16194,FA=16195,ml=16196,ju=16197,AA=16198,kA=16199,ud=16200,e0=16201,pc=16202,Fh=16203,t0=16204,Df=16205,oh=16206,Nf=16207,wf=16208,Li=16209,sh=16210,kh=16211,n0=852,MA=592,lh=15,xf=E=>(E>>>24&255)+(E>>>8&65280)+((E&65280)<<8)+((E&255)<<24);function Ou(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Cf=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.mode<dA||ne.mode>kh?1:0},Mh=E=>{if(Cf(E))return Xu;const ne=E.state;return E.total_in=E.total_out=ne.total=0,E.msg="",ne.wrap&&(E.adler=ne.wrap&1),ne.mode=dA,ne.last=0,ne.havedict=0,ne.flags=-1,ne.dmax=32768,ne.head=null,ne.hold=0,ne.bits=0,ne.lencode=ne.lendyn=new Int32Array(n0),ne.distcode=ne.distdyn=new Int32Array(MA),ne.sane=1,ne.back=-1,Yu},_A=E=>{if(Cf(E))return Xu;const ne=E.state;return ne.wsize=0,ne.whave=0,ne.wnext=0,Mh(E)},uh=(E,ne)=>{let te;if(Cf(E))return Xu;const de=E.state;return ne<0?(te=0,ne=-ne):(te=(ne>>4)+5,ne<48&&(ne&=15)),ne&&(ne<8||ne>15)?Xu:(de.window!==null&&de.wbits!==ne&&(de.window=null),de.wrap=te,de.wbits=ne,_A(E))},IA=(E,ne)=>{if(!E)return Xu;const te=new Ou;E.state=te,te.strm=E,te.window=null,te.mode=dA;const de=uh(E,ne);return de!==Yu&&(E.state=null),de},JA=E=>IA(E,lh);let fu=!0,nd,Vc;const qA=E=>{if(fu){nd=new Int32Array(512),Vc=new Int32Array(32);let ne=0;for(;ne<144;)E.lens[ne++]=8;for(;ne<256;)E.lens[ne++]=9;for(;ne<280;)E.lens[ne++]=7;for(;ne<288;)E.lens[ne++]=8;for(Iu($l,E.lens,0,288,nd,0,E.work,{bits:9}),ne=0;ne<32;)E.lens[ne++]=5;Iu(Uc,E.lens,0,32,Vc,0,E.work,{bits:5}),fu=!1}E.lencode=nd,E.lenbits=9,E.distcode=Vc,E.distbits=5},Sl=(E,ne,te,de)=>{let ge;const Ce=E.state;return Ce.window===null&&(Ce.wsize=1<<Ce.wbits,Ce.wnext=0,Ce.whave=0,Ce.window=new Uint8Array(Ce.wsize)),de>=Ce.wsize?(Ce.window.set(ne.subarray(te-Ce.wsize,te),0),Ce.wnext=0,Ce.whave=Ce.wsize):(ge=Ce.wsize-Ce.wnext,ge>de&&(ge=de),Ce.window.set(ne.subarray(te-de,te-de+ge),Ce.wnext),de-=ge,de?(Ce.window.set(ne.subarray(te-de,te),0),Ce.wnext=de,Ce.whave=Ce.wsize):(Ce.wnext+=ge,Ce.wnext===Ce.wsize&&(Ce.wnext=0),Ce.whave<Ce.wsize&&(Ce.whave+=ge))),0},Zl=(E,ne)=>{let te,de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn=0,wn,Ir,Br,ar,wi,ta,Wi,Yr;const sr=new Uint8Array(4);let ci,yn;const Gn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Cf(E)||!E.output||!E.input&&E.avail_in!==0)return Xu;te=E.state,te.mode===nc&&(te.mode=SA),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,de=E.input,Ge=E.avail_in,ft=te.hold,Et=te.bits,en=Ge,sn=ot,Yr=Yu;e:for(;;)switch(te.mode){case dA:if(te.wrap===0){te.mode=SA;break}for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(te.wrap&2&&ft===35615){te.wbits===0&&(te.wbits=15),te.check=0,sr[0]=ft&255,sr[1]=ft>>>8&255,te.check=Ho(te.check,sr,2,0),ft=0,Et=0,te.mode=Kd;break}if(te.head&&(te.head.done=!1),!(te.wrap&1)||(((ft&255)<<8)+(ft>>8))%31){E.msg="incorrect header check",te.mode=Li;break}if((ft&15)!==ld){E.msg="unknown compression method",te.mode=Li;break}if(ft>>>=4,Et-=4,Wi=(ft&15)+8,te.wbits===0&&(te.wbits=Wi),Wi>15||Wi>te.wbits){E.msg="invalid window size",te.mode=Li;break}te.dmax=1<<te.wbits,te.flags=0,E.adler=te.check=1,te.mode=ft&512?Bc:nc,ft=0,Et=0;break;case Kd:for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(te.flags=ft,(te.flags&255)!==ld){E.msg="unknown compression method",te.mode=Li;break}if(te.flags&57344){E.msg="unknown header flags set",te.mode=Li;break}te.head&&(te.head.text=ft>>8&1),te.flags&512&&te.wrap&4&&(sr[0]=ft&255,sr[1]=ft>>>8&255,te.check=Ho(te.check,sr,2,0)),ft=0,Et=0,te.mode=BA;case BA:for(;Et<32;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}te.head&&(te.head.time=ft),te.flags&512&&te.wrap&4&&(sr[0]=ft&255,sr[1]=ft>>>8&255,sr[2]=ft>>>16&255,sr[3]=ft>>>24&255,te.check=Ho(te.check,sr,4,0)),ft=0,Et=0,te.mode=XA;case XA:for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}te.head&&(te.head.xflags=ft&255,te.head.os=ft>>8),te.flags&512&&te.wrap&4&&(sr[0]=ft&255,sr[1]=ft>>>8&255,te.check=Ho(te.check,sr,2,0)),ft=0,Et=0,te.mode=Eh;case Eh:if(te.flags&1024){for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}te.length=ft,te.head&&(te.head.extra_len=ft),te.flags&512&&te.wrap&4&&(sr[0]=ft&255,sr[1]=ft>>>8&255,te.check=Ho(te.check,sr,2,0)),ft=0,Et=0}else te.head&&(te.head.extra=null);te.mode=Bl;case Bl:if(te.flags&1024&&(Ct=te.length,Ct>Ge&&(Ct=Ge),Ct&&(te.head&&(Wi=te.head.extra_len-te.length,te.head.extra||(te.head.extra=new Uint8Array(te.head.extra_len)),te.head.extra.set(de.subarray(Ce,Ce+Ct),Wi)),te.flags&512&&te.wrap&4&&(te.check=Ho(te.check,de,Ct,Ce)),Ge-=Ct,Ce+=Ct,te.length-=Ct),te.length))break e;te.length=0,te.mode=au;case au:if(te.flags&2048){if(Ge===0)break e;Ct=0;do Wi=de[Ce+Ct++],te.head&&Wi&&te.length<65536&&(te.head.name+=String.fromCharCode(Wi));while(Wi&&Ct<Ge);if(te.flags&512&&te.wrap&4&&(te.check=Ho(te.check,de,Ct,Ce)),Ge-=Ct,Ce+=Ct,Wi)break e}else te.head&&(te.head.name=null);te.length=0,te.mode=Lc;case Lc:if(te.flags&4096){if(Ge===0)break e;Ct=0;do Wi=de[Ce+Ct++],te.head&&Wi&&te.length<65536&&(te.head.comment+=String.fromCharCode(Wi));while(Wi&&Ct<Ge);if(te.flags&512&&te.wrap&4&&(te.check=Ho(te.check,de,Ct,Ce)),Ge-=Ct,Ce+=Ct,Wi)break e}else te.head&&(te.head.comment=null);te.mode=ou;case ou:if(te.flags&512){for(;Et<16;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(te.wrap&4&&ft!==(te.check&65535)){E.msg="header crc mismatch",te.mode=Li;break}ft=0,Et=0}te.head&&(te.head.hcrc=te.flags>>9&1,te.head.done=!0),E.adler=te.check=0,te.mode=nc;break;case Bc:for(;Et<32;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}E.adler=te.check=xf(ft),ft=0,Et=0,te.mode=Dc;case Dc:if(te.havedict===0)return E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=ft,te.bits=Et,Zc;E.adler=te.check=1,te.mode=nc;case nc:if(ne===Cd||ne===Hc)break e;case SA:if(te.last){ft>>>=Et&7,Et-=Et&7,te.mode=oh;break}for(;Et<3;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}switch(te.last=ft&1,ft>>>=1,Et-=1,ft&3){case 0:te.mode=ah;break;case 1:if(qA(te),te.mode=kA,ne===Hc){ft>>>=2,Et-=2;break e}break;case 2:te.mode=ml;break;case 3:E.msg="invalid block type",te.mode=Li}ft>>>=2,Et-=2;break;case ah:for(ft>>>=Et&7,Et-=Et&7;Et<32;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if((ft&65535)!==(ft>>>16^65535)){E.msg="invalid stored block lengths",te.mode=Li;break}if(te.length=ft&65535,ft=0,Et=0,te.mode=EA,ne===Hc)break e;case EA:te.mode=FA;case FA:if(Ct=te.length,Ct){if(Ct>Ge&&(Ct=Ge),Ct>ot&&(Ct=ot),Ct===0)break e;ge.set(de.subarray(Ce,Ce+Ct),nt),Ge-=Ct,Ce+=Ct,ot-=Ct,nt+=Ct,te.length-=Ct;break}te.mode=nc;break;case ml:for(;Et<14;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(te.nlen=(ft&31)+257,ft>>>=5,Et-=5,te.ndist=(ft&31)+1,ft>>>=5,Et-=5,te.ncode=(ft&15)+4,ft>>>=4,Et-=4,te.nlen>286||te.ndist>30){E.msg="too many length or distance symbols",te.mode=Li;break}te.have=0,te.mode=ju;case ju:for(;te.have<te.ncode;){for(;Et<3;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}te.lens[Gn[te.have++]]=ft&7,ft>>>=3,Et-=3}for(;te.have<19;)te.lens[Gn[te.have++]]=0;if(te.lencode=te.lendyn,te.lenbits=7,ci={bits:te.lenbits},Yr=Iu(ps,te.lens,0,19,te.lencode,0,te.work,ci),te.lenbits=ci.bits,Yr){E.msg="invalid code lengths set",te.mode=Li;break}te.have=0,te.mode=AA;case AA:for(;te.have<te.nlen+te.ndist;){for(;Zn=te.lencode[ft&(1<<te.lenbits)-1],wn=Zn>>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(Br<16)ft>>>=wn,Et-=wn,te.lens[te.have++]=Br;else{if(Br===16){for(yn=wn+2;Et<yn;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(ft>>>=wn,Et-=wn,te.have===0){E.msg="invalid bit length repeat",te.mode=Li;break}Wi=te.lens[te.have-1],Ct=3+(ft&3),ft>>>=2,Et-=2}else if(Br===17){for(yn=wn+3;Et<yn;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}ft>>>=wn,Et-=wn,Wi=0,Ct=3+(ft&7),ft>>>=3,Et-=3}else{for(yn=wn+7;Et<yn;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}ft>>>=wn,Et-=wn,Wi=0,Ct=11+(ft&127),ft>>>=7,Et-=7}if(te.have+Ct>te.nlen+te.ndist){E.msg="invalid bit length repeat",te.mode=Li;break}for(;Ct--;)te.lens[te.have++]=Wi}}if(te.mode===Li)break;if(te.lens[256]===0){E.msg="invalid code -- missing end-of-block",te.mode=Li;break}if(te.lenbits=9,ci={bits:te.lenbits},Yr=Iu($l,te.lens,0,te.nlen,te.lencode,0,te.work,ci),te.lenbits=ci.bits,Yr){E.msg="invalid literal/lengths set",te.mode=Li;break}if(te.distbits=6,te.distcode=te.distdyn,ci={bits:te.distbits},Yr=Iu(Uc,te.lens,te.nlen,te.ndist,te.distcode,0,te.work,ci),te.distbits=ci.bits,Yr){E.msg="invalid distances set",te.mode=Li;break}if(te.mode=kA,ne===Hc)break e;case kA:te.mode=ud;case ud:if(Ge>=6&&ot>=258){E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=ft,te.bits=Et,td(E,sn),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,de=E.input,Ge=E.avail_in,ft=te.hold,Et=te.bits,te.mode===nc&&(te.back=-1);break}for(te.back=0;Zn=te.lencode[ft&(1<<te.lenbits)-1],wn=Zn>>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(Ir&&!(Ir&240)){for(ar=wn,wi=Ir,ta=Br;Zn=te.lencode[ta+((ft&(1<<ar+wi)-1)>>ar)],wn=Zn>>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(ar+wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}ft>>>=ar,Et-=ar,te.back+=ar}if(ft>>>=wn,Et-=wn,te.back+=wn,te.length=Br,Ir===0){te.mode=Df;break}if(Ir&32){te.back=-1,te.mode=nc;break}if(Ir&64){E.msg="invalid literal/length code",te.mode=Li;break}te.extra=Ir&15,te.mode=e0;case e0:if(te.extra){for(yn=te.extra;Et<yn;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}te.length+=ft&(1<<te.extra)-1,ft>>>=te.extra,Et-=te.extra,te.back+=te.extra}te.was=te.length,te.mode=pc;case pc:for(;Zn=te.distcode[ft&(1<<te.distbits)-1],wn=Zn>>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(!(Ir&240)){for(ar=wn,wi=Ir,ta=Br;Zn=te.distcode[ta+((ft&(1<<ar+wi)-1)>>ar)],wn=Zn>>>24,Ir=Zn>>>16&255,Br=Zn&65535,!(ar+wn<=Et);){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}ft>>>=ar,Et-=ar,te.back+=ar}if(ft>>>=wn,Et-=wn,te.back+=wn,Ir&64){E.msg="invalid distance code",te.mode=Li;break}te.offset=Br,te.extra=Ir&15,te.mode=Fh;case Fh:if(te.extra){for(yn=te.extra;Et<yn;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}te.offset+=ft&(1<<te.extra)-1,ft>>>=te.extra,Et-=te.extra,te.back+=te.extra}if(te.offset>te.dmax){E.msg="invalid distance too far back",te.mode=Li;break}te.mode=t0;case t0:if(ot===0)break e;if(Ct=sn-ot,te.offset>Ct){if(Ct=te.offset-Ct,Ct>te.whave&&te.sane){E.msg="invalid distance too far back",te.mode=Li;break}Ct>te.wnext?(Ct-=te.wnext,Hn=te.wsize-Ct):Hn=te.wnext-Ct,Ct>te.length&&(Ct=te.length),In=te.window}else In=ge,Hn=nt-te.offset,Ct=te.length;Ct>ot&&(Ct=ot),ot-=Ct,te.length-=Ct;do ge[nt++]=In[Hn++];while(--Ct);te.length===0&&(te.mode=ud);break;case Df:if(ot===0)break e;ge[nt++]=te.length,ot--,te.mode=ud;break;case oh:if(te.wrap){for(;Et<32;){if(Ge===0)break e;Ge--,ft|=de[Ce++]<<Et,Et+=8}if(sn-=ot,E.total_out+=sn,te.total+=sn,te.wrap&4&&sn&&(E.adler=te.check=te.flags?Ho(te.check,ge,sn,nt-sn):Bs(te.check,ge,sn,nt-sn)),sn=ot,te.wrap&4&&(te.flags?ft:xf(ft))!==te.check){E.msg="incorrect data check",te.mode=Li;break}ft=0,Et=0}te.mode=Nf;case Nf:if(te.wrap&&te.flags){for(;Et<32;){if(Ge===0)break e;Ge--,ft+=de[Ce++]<<Et,Et+=8}if(te.wrap&4&&ft!==(te.total&4294967295)){E.msg="incorrect length check",te.mode=Li;break}ft=0,Et=0}te.mode=wf;case wf:Yr=CA;break e;case Li:Yr=jc;break e;case sh:return Nu;case kh:default:return Xu}return E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=ft,te.bits=Et,(te.wsize||sn!==E.avail_out&&te.mode<Li&&(te.mode<oh||ne!==Nd))&&Sl(E,E.output,E.next_out,sn-E.avail_out),en-=E.avail_in,sn-=E.avail_out,E.total_in+=en,E.total_out+=sn,te.total+=sn,te.wrap&4&&sn&&(E.adler=te.check=te.flags?Ho(te.check,ge,sn,E.next_out-sn):Bs(te.check,ge,sn,E.next_out-sn)),E.data_type=te.bits+(te.last?64:0)+(te.mode===nc?128:0)+(te.mode===kA||te.mode===EA?256:0),(en===0&&sn===0||ne===Nd)&&Yr===Yu&&(Yr=Hu),Yr},Bd=E=>{if(Cf(E))return Xu;let ne=E.state;return ne.window&&(ne.window=null),E.state=null,Yu},$A=(E,ne)=>{if(Cf(E))return Xu;const te=E.state;return te.wrap&2?(te.head=ne,ne.done=!1,Yu):Xu},ef=(E,ne)=>{const te=ne.length;let de,ge,Ce;return Cf(E)||(de=E.state,de.wrap!==0&&de.mode!==Dc)?Xu:de.mode===Dc&&(ge=1,ge=Bs(ge,ne,te,0),ge!==de.check)?jc:(Ce=Sl(E,ne,te,te),Ce?(de.mode=sh,Nu):(de.havedict=1,Yu))};var _0=_A,Nc=uh,LA=Mh,I0=JA,Bf=IA,L0=Zl,Vl=Bd,_h=$A,Sf=ef,Ih="pako inflate (from Nodeca project)",Ei={inflateReset:_0,inflateReset2:Nc,inflateResetKeep:LA,inflateInit:I0,inflateInit2:Bf,inflate:L0,inflateEnd:Vl,inflateGetHeader:_h,inflateSetDictionary:Sf,inflateInfo:Ih};function om(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var sm=om;const ap=Object.prototype.toString,{Z_NO_FLUSH:r0,Z_FINISH:tf,Z_OK:Tf,Z_STREAM_END:op,Z_NEED_DICT:rd,Z_STREAM_ERROR:Pf,Z_DATA_ERROR:i0,Z_MEM_ERROR:D0}=zo;function N0(E){this.options=ss.assign({chunkSize:1024*64,windowBits:15,to:""},E||{});const ne=this.options;ne.raw&&ne.windowBits>=0&&ne.windowBits<16&&(ne.windowBits=-ne.windowBits,ne.windowBits===0&&(ne.windowBits=-15)),ne.windowBits>=0&&ne.windowBits<16&&!(E&&E.windowBits)&&(ne.windowBits+=32),ne.windowBits>15&&ne.windowBits<48&&(ne.windowBits&15||(ne.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new as,this.strm.avail_out=0;let te=Ei.inflateInit2(this.strm,ne.windowBits);if(te!==Tf)throw new Error(Do[te]);if(this.header=new sm,Ei.inflateGetHeader(this.strm,this.header),ne.dictionary&&(typeof ne.dictionary=="string"?ne.dictionary=is.string2buf(ne.dictionary):ap.call(ne.dictionary)==="[object ArrayBuffer]"&&(ne.dictionary=new Uint8Array(ne.dictionary)),ne.raw&&(te=Ei.inflateSetDictionary(this.strm,ne.dictionary),te!==Tf)))throw new Error(Do[te])}N0.prototype.push=function(E,ne){const te=this.strm,de=this.options.chunkSize,ge=this.options.dictionary;let Ce,nt,Ge;if(this.ended)return!1;for(ne===~~ne?nt=ne:nt=ne===!0?tf:r0,ap.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){for(te.avail_out===0&&(te.output=new Uint8Array(de),te.next_out=0,te.avail_out=de),Ce=Ei.inflate(te,nt),Ce===rd&&ge&&(Ce=Ei.inflateSetDictionary(te,ge),Ce===Tf?Ce=Ei.inflate(te,nt):Ce===i0&&(Ce=rd));te.avail_in>0&&Ce===op&&te.state.wrap>0&&E[te.next_in]!==0;)Ei.inflateReset(te),Ce=Ei.inflate(te,nt);switch(Ce){case Pf:case i0:case rd:case D0:return this.onEnd(Ce),this.ended=!0,!1}if(Ge=te.avail_out,te.next_out&&(te.avail_out===0||Ce===op))if(this.options.to==="string"){let ot=is.utf8border(te.output,te.next_out),ft=te.next_out-ot,Et=is.buf2string(te.output,ot);te.next_out=ft,te.avail_out=de-ft,ft&&te.output.set(te.output.subarray(ot,ot+ft),0),this.onData(Et)}else this.onData(te.output.length===te.next_out?te.output:te.output.subarray(0,te.next_out));if(!(Ce===Tf&&Ge===0)){if(Ce===op)return Ce=Ei.inflateEnd(this.strm),this.onEnd(Ce),this.ended=!0,!0;if(te.avail_in===0)break}}return!0},N0.prototype.onData=function(E){this.chunks.push(E)},N0.prototype.onEnd=function(E){E===Tf&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ss.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function Lh(E,ne){const te=new N0(ne);if(te.push(E),te.err)throw te.msg||Do[te.err];return te.result}function sp(E,ne){return ne=ne||{},ne.raw=!0,Lh(E,ne)}var Bp=N0,O0=Lh,Wd=sp,Rf=Lh,Dh=zo,T0={Inflate:Bp,inflate:O0,inflateRaw:Wd,ungzip:Rf,constants:Dh};const{Deflate:Af,deflate:lm,deflateRaw:lp,gzip:Hm}=Ss,{Inflate:jm,inflate:Sp,inflateRaw:zs,ungzip:um}=T0;var up=Af,TA=lm,nf=lp,Uf=Hm,P0=jm,Nh=Sp,a0=zs,Oh=um,Ep=zo,cm={Deflate:up,deflate:TA,deflateRaw:nf,gzip:Uf,Inflate:P0,inflate:Nh,inflateRaw:a0,ungzip:Oh,constants:Ep};const R0=[];for(let E=0;E<256;E++){let ne=E;for(let te=0;te<8;te++)ne&1?ne=3988292384^ne>>>1:ne=ne>>>1;R0[E]=ne}const o0=4294967295;function dm(E,ne,te){let de=E;for(let ge=0;ge<te;ge++)de=R0[(de^ne[ge])&255]^de>>>8;return de}function Qu(E,ne){return(dm(o0,E,ne)^o0)>>>0}function ch(E,ne,te){const de=E.readUint32(),ge=Qu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne-4,ne),ne);if(ge!==de)throw new Error(`CRC mismatch for chunk ${te}. Expected ${de}, found ${ge}`)}function Qm(E,ne){E.writeUint32(Qu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne,ne),ne))}function mc(E,ne,te){for(let de=0;de<te;de++)ne[de]=E[de]}function dh(E,ne,te,de){let ge=0;for(;ge<de;ge++)ne[ge]=E[ge];for(;ge<te;ge++)ne[ge]=E[ge]+ne[ge-de]&255}function Ef(E,ne,te,de){let ge=0;if(te.length===0)for(;ge<de;ge++)ne[ge]=E[ge];else for(;ge<de;ge++)ne[ge]=E[ge]+te[ge]&255}function Hf(E,ne,te,de,ge){let Ce=0;if(te.length===0){for(;Ce<ge;Ce++)ne[Ce]=E[Ce];for(;Ce<de;Ce++)ne[Ce]=E[Ce]+(ne[Ce-ge]>>1)&255}else{for(;Ce<ge;Ce++)ne[Ce]=E[Ce]+(te[Ce]>>1)&255;for(;Ce<de;Ce++)ne[Ce]=E[Ce]+(ne[Ce-ge]+te[Ce]>>1)&255}}function su(E,ne,te,de,ge){let Ce=0;if(te.length===0){for(;Ce<ge;Ce++)ne[Ce]=E[Ce];for(;Ce<de;Ce++)ne[Ce]=E[Ce]+ne[Ce-ge]&255}else{for(;Ce<ge;Ce++)ne[Ce]=E[Ce]+te[Ce]&255;for(;Ce<de;Ce++)ne[Ce]=E[Ce]+ff(ne[Ce-ge],te[Ce],te[Ce-ge])&255}}function ff(E,ne,te){const de=E+ne-te,ge=Math.abs(de-E),Ce=Math.abs(de-ne),nt=Math.abs(de-te);return ge<=Ce&&ge<=nt?E:Ce<=nt?ne:te}function DA(E,ne,te,de,ge,Ce){switch(E){case 0:mc(ne,te,ge);break;case 1:dh(ne,te,ge,Ce);break;case 2:Ef(ne,te,de,ge);break;case 3:Hf(ne,te,de,ge,Ce);break;case 4:su(ne,te,de,ge,Ce);break;default:throw new Error(`Unsupported filter: ${E}`)}}const Ff=new Uint16Array([255]),x=new Uint8Array(Ff.buffer)[0]===255;function ee(E){const{data:ne,width:te,height:de,channels:ge,depth:Ce}=E,nt=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],Ge=Math.ceil(Ce/8)*ge,ot=new Uint8Array(de*te*Ge);let ft=0;for(let Et=0;Et<7;Et++){const en=nt[Et],sn=Math.ceil((te-en.x)/en.xStep),Ct=Math.ceil((de-en.y)/en.yStep);if(sn<=0||Ct<=0)continue;const Hn=sn*Ge,In=new Uint8Array(Hn);for(let Zn=0;Zn<Ct;Zn++){const wn=ne[ft++],Ir=ne.subarray(ft,ft+Hn);ft+=Hn;const Br=new Uint8Array(Hn);DA(wn,Ir,Br,In,Hn,Ge),In.set(Br);for(let ar=0;ar<sn;ar++){const wi=en.x+ar*en.xStep,ta=en.y+Zn*en.yStep;if(!(wi>=te||ta>=de))for(let Wi=0;Wi<Ge;Wi++)ot[(ta*te+wi)*Ge+Wi]=Br[ar*Ge+Wi]}}}if(Ce===16){const Et=new Uint16Array(ot.buffer);if(x)for(let en=0;en<Et.length;en++)Et[en]=ue(Et[en]);return Et}else return ot}function ue(E){return(E&255)<<8|E>>8&255}const le=new Uint16Array([255]),Ve=new Uint8Array(le.buffer)[0]===255,mt=new Uint8Array(0);function It(E){const{data:ne,width:te,height:de,channels:ge,depth:Ce}=E,nt=Math.ceil(Ce/8)*ge,Ge=Math.ceil(Ce/8*ge*te),ot=new Uint8Array(de*Ge);let ft=mt,Et=0,en,sn;for(let Ct=0;Ct<de;Ct++){switch(en=ne.subarray(Et+1,Et+1+Ge),sn=ot.subarray(Ct*Ge,(Ct+1)*Ge),ne[Et]){case 0:mc(en,sn,Ge);break;case 1:dh(en,sn,Ge,nt);break;case 2:Ef(en,sn,ft,Ge);break;case 3:Hf(en,sn,ft,Ge,nt);break;case 4:su(en,sn,ft,Ge,nt);break;default:throw new Error(`Unsupported filter: ${ne[Et]}`)}ft=sn,Et+=Ge+1}if(Ce===16){const Ct=new Uint16Array(ot.buffer);if(Ve)for(let Hn=0;Hn<Ct.length;Hn++)Ct[Hn]=Ht(Ct[Hn]);return Ct}else return ot}function Ht(E){return(E&255)<<8|E>>8&255}const Jt=Uint8Array.of(137,80,78,71,13,10,26,10);function zn(E){E.writeBytes(Jt)}function tr(E){if(!ei(E.readBytes(Jt.length)))throw new Error("wrong PNG signature")}function ei(E){if(E.length<Jt.length)return!1;for(let ne=0;ne<Jt.length;ne++)if(E[ne]!==Jt[ne])return!1;return!0}const Kr="tEXt",Ri=0,ga=new TextDecoder("latin1");function Ga(E){if(ko(E),E.length===0||E.length>79)throw new Error("keyword length must be between 1 and 79")}const yo=/^[\u0000-\u00FF]*$/;function ko(E){if(!yo.test(E))throw new Error("invalid latin1 text")}function Ao(E,ne,te){const de=ms(ne);E[de]=ws(ne,te-de.length-1)}function Ro(E,ne,te){Ga(ne),ko(te);const de=ne.length+1+te.length;E.writeUint32(de),E.writeChars(Kr),E.writeChars(ne),E.writeByte(Ri),E.writeChars(te),writeCrc(E,de+4)}function ms(E){for(E.mark();E.readByte()!==Ri;);const ne=E.offset;E.reset();const te=ga.decode(E.readBytes(ne-E.offset-1));return E.skip(1),Ga(te),te}function ws(E,ne){return ga.decode(E.readBytes(ne))}const Rs={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},zu={UNKNOWN:-1,DEFLATE:0},pd={UNKNOWN:-1,ADAPTIVE:0},Sc={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Od={NONE:0,BACKGROUND:1,PREVIOUS:2},Sd={SOURCE:0,OVER:1};class cd extends ao{constructor(te,de={}){super(te);bc(this,"_checkCrc");bc(this,"_inflator");bc(this,"_png");bc(this,"_apng");bc(this,"_end");bc(this,"_hasPalette");bc(this,"_palette");bc(this,"_hasTransparency");bc(this,"_transparency");bc(this,"_compressionMethod");bc(this,"_filterMethod");bc(this,"_interlaceMethod");bc(this,"_colorType");bc(this,"_isAnimated");bc(this,"_numberOfFrames");bc(this,"_numberOfPlays");bc(this,"_frames");bc(this,"_writingDataChunks");const{checkCrc:ge=!1}=de;this._checkCrc=ge,this._inflator=new P0,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=zu.UNKNOWN,this._filterMethod=pd.UNKNOWN,this._interlaceMethod=Sc.UNKNOWN,this._colorType=Rs.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(tr(this);!this._end;){const te=this.readUint32(),de=this.readChars(4);this.decodeChunk(te,de)}return this.decodeImage(),this._png}decodeApng(){for(tr(this);!this._end;){const te=this.readUint32(),de=this.readChars(4);this.decodeApngChunk(te,de)}return this.decodeApngImage(),this._apng}decodeChunk(te,de){const ge=this.offset;switch(de){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(te);break;case"IDAT":this.decodeIDAT(te);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(te);break;case"iCCP":this.decodeiCCP(te);break;case Kr:Ao(this._png.text,this,te);break;case"pHYs":this.decodepHYs();break;default:this.skip(te);break}if(this.offset-ge!==te)throw new Error(`Length mismatch while decoding chunk ${de}`);this._checkCrc?ch(this,te+4,de):this.skip(4)}decodeApngChunk(te,de){const ge=this.offset;switch(de!=="fdAT"&&de!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),de){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(te);break;default:this.decodeChunk(te,de),this.offset=ge+te;break}if(this.offset-ge!==te)throw new Error(`Length mismatch while decoding chunk ${de}`);this._checkCrc?ch(this,te+4,de):this.skip(4)}decodeIHDR(){const te=this._png;te.width=this.readUint32(),te.height=this.readUint32(),te.depth=Zd(this.readUint8());const de=this.readUint8();this._colorType=de;let ge;switch(de){case Rs.GREYSCALE:ge=1;break;case Rs.TRUECOLOUR:ge=3;break;case Rs.INDEXED_COLOUR:ge=1;break;case Rs.GREYSCALE_ALPHA:ge=2;break;case Rs.TRUECOLOUR_ALPHA:ge=4;break;case Rs.UNKNOWN:default:throw new Error(`Unknown color type: ${de}`)}if(this._png.channels=ge,this._compressionMethod=this.readUint8(),this._compressionMethod!==zu.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const te={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(te)}decodePLTE(te){if(te%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${te}`);const de=te/3;this._hasPalette=!0;const ge=[];this._palette=ge;for(let Ce=0;Ce<de;Ce++)ge.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(te){this._writingDataChunks=!0;const de=te,ge=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,ge,de)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(te)}decodeFDAT(te){this._writingDataChunks=!0;let de=te,ge=this.offset+this.byteOffset;if(ge+=4,de-=4,this._inflator.push(new Uint8Array(this.buffer,ge,de)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(te)}decodetRNS(te){switch(this._colorType){case Rs.GREYSCALE:case Rs.TRUECOLOUR:{if(te%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${te}`);if(te/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${te/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(te/2);for(let de=0;de<te/2;de++)this._transparency[de]=this.readUint16();break}case Rs.INDEXED_COLOUR:{if(te>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${te} vs ${this._palette.length})`);let de=0;for(;de<te;de++){const ge=this.readByte();this._palette[de].push(ge)}for(;de<this._palette.length;de++)this._palette[de].push(255);break}case Rs.UNKNOWN:case Rs.GREYSCALE_ALPHA:case Rs.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(te){const de=ms(this),ge=this.readUint8();if(ge!==zu.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${ge}`);const Ce=this.readBytes(te-de.length-2);this._png.iccEmbeddedProfile={name:de,profile:Nh(Ce)}}decodepHYs(){const te=this.readUint32(),de=this.readUint32(),ge=this.readByte();this._png.resolution={x:te,y:de,unit:ge}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let te=0;te<this._numberOfFrames;te++){const de={sequenceNumber:this._frames[te].sequenceNumber,delayNumber:this._frames[te].delayNumber,delayDenominator:this._frames[te].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},ge=this._frames.at(te);if(ge){if(ge.data=It({data:ge.data,width:ge.width,height:ge.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),te===0||ge.xOffset===0&&ge.yOffset===0&&ge.width===this._png.width&&ge.height===this._png.height)de.data=ge.data;else{const Ce=this._apng.frames.at(te-1);this.disposeFrame(ge,Ce,de),this.addFrameDataToCanvas(de,ge)}this._apng.frames.push(de)}}return this._apng}disposeFrame(te,de,ge){switch(te.disposeOp){case Od.NONE:break;case Od.BACKGROUND:for(let Ce=0;Ce<this._png.height;Ce++)for(let nt=0;nt<this._png.width;nt++){const Ge=(Ce*te.width+nt)*this._png.channels;for(let ot=0;ot<this._png.channels;ot++)ge.data[Ge+ot]=0}break;case Od.PREVIOUS:ge.data.set(de.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(te,de){const ge=1<<this._png.depth,Ce=(nt,Ge)=>{const ot=((nt+de.yOffset)*this._png.width+de.xOffset+Ge)*this._png.channels,ft=(nt*de.width+Ge)*this._png.channels;return{index:ot,frameIndex:ft}};switch(de.blendOp){case Sd.SOURCE:for(let nt=0;nt<de.height;nt++)for(let Ge=0;Ge<de.width;Ge++){const{index:ot,frameIndex:ft}=Ce(nt,Ge);for(let Et=0;Et<this._png.channels;Et++)te.data[ot+Et]=de.data[ft+Et]}break;case Sd.OVER:for(let nt=0;nt<de.height;nt++)for(let Ge=0;Ge<de.width;Ge++){const{index:ot,frameIndex:ft}=Ce(nt,Ge);for(let Et=0;Et<this._png.channels;Et++){const en=de.data[ft+this._png.channels-1]/ge,sn=Et%(this._png.channels-1)===0?1:de.data[ft+Et],Ct=Math.floor(en*sn+(1-en)*te.data[ot+Et]);te.data[ot+Et]+=Ct}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var de;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const te=this._isAnimated?((de=this._frames)==null?void 0:de.at(0)).data:this._inflator.result;if(this._filterMethod!==pd.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Sc.NO_INTERLACE)this._png.data=It({data:te,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Sc.ADAM7)this._png.data=ee({data:te,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const te=this._inflator.result,de=this._frames.at(-1);de?de.data=te:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Od.NONE,blendOp:Sd.SOURCE,data:te}),this._inflator=new P0,this._writingDataChunks=!1}}function Zd(E){if(E!==1&&E!==2&&E!==4&&E!==8&&E!==16)throw new Error(`invalid bit depth: ${E}`);return E}const rl={level:3};class uo extends null{constructor(te,de={}){var ge;super();bc(this,"_png");bc(this,"_zlibOptions");bc(this,"_colorType");bc(this,"_interlaceMethod");this._colorType=ColorType.UNKNOWN,this._zlibOptions=np(np({},rl),de.zlib),this._png=this._checkData(te),this._interlaceMethod=(ge=de.interlace==="Adam7"?InterlaceMethod.ADAM7:InterlaceMethod.NO_INTERLACE)!=null?ge:InterlaceMethod.NO_INTERLACE,this.setBigEndian()}encode(){if(writeSignature(this),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),this._png.palette[0].length===4&&this.encodeTRNS()),this.encodeData(),this._png.text)for(const[te,de]of Object.entries(this._png.text))encodetEXt(this,te,de);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(CompressionMethod.DEFLATE),this.writeByte(FilterMethod.ADAPTIVE),this.writeByte(this._interlaceMethod),writeCrc(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),writeCrc(this,4)}encodePLTE(){var de;const te=((de=this._png.palette)==null?void 0:de.length)*3;this.writeUint32(te),this.writeChars("PLTE");for(const ge of this._png.palette)this.writeByte(ge[0]),this.writeByte(ge[1]),this.writeByte(ge[2]);writeCrc(this,4+te)}encodeTRNS(){const te=this._png.palette.filter(de=>de.at(-1)!==255);this.writeUint32(te.length),this.writeChars("tRNS");for(const de of te)this.writeByte(de.at(-1));writeCrc(this,4+te.length)}encodeIDAT(te){this.writeUint32(te.length),this.writeChars("IDAT"),this.writeBytes(te),writeCrc(this,te.length+4)}encodeData(){const{width:te,height:de,channels:ge,depth:Ce,data:nt}=this._png,Ge=Ce<=8?Math.ceil(te*Ce/8)*ge:Math.ceil(te*Ce/8*ge/2),ot=new IOBuffer().setBigEndian();let ft=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let sn=0;sn<de;sn++)ot.writeByte(0),Ce===16?ft=Pl(nt,ot,Ge,ft):ft=Lu(nt,ot,Ge,ft);else this._interlaceMethod===InterlaceMethod.ADAM7&&(ft=Th(this._png,nt,ot,ft));const Et=ot.toArray(),en=deflate(Et,this._zlibOptions);this.encodeIDAT(en)}_checkData(te){const{colorType:de,channels:ge,depth:Ce}=Ec(te,te.palette),nt={width:Ju(te.width,"width"),height:Ju(te.height,"height"),channels:ge,data:te.data,depth:Ce,text:te.text,palette:te.palette};this._colorType=de;const Ge=Ce<8?Math.ceil(nt.width*Ce/8)*nt.height*ge:nt.width*nt.height*ge;if(nt.data.length!==Ge)throw new RangeError(`wrong data size. Found ${nt.data.length}, expected ${Ge}`);return nt}}function Ju(E,ne){if(Number.isInteger(E)&&E>0)return E;throw new TypeError(`${ne} must be a positive integer`)}function Ec(E,ne){const{channels:te=4,depth:de=8}=E;if(te!==4&&te!==3&&te!==2&&te!==1)throw new RangeError(`unsupported number of channels: ${te}`);const ge={channels:te,depth:de,colorType:ColorType.UNKNOWN};switch(te){case 4:ge.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ge.colorType=ColorType.TRUECOLOUR;break;case 1:ne?ge.colorType=ColorType.INDEXED_COLOUR:ge.colorType=ColorType.GREYSCALE;break;case 2:ge.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ge}function Lu(E,ne,te,de){for(let ge=0;ge<te;ge++)ne.writeByte(E[de++]);return de}function Th(E,ne,te,de){const ge=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],{width:Ce,height:nt,channels:Ge,depth:ot}=E;let ft=0;ot===16?ft=Ge*ot/8/2:ft=Ge*ot/8;for(let Et=0;Et<7;Et++){const en=ge[Et],sn=Math.floor((Ce-en.x+en.xStep-1)/en.xStep),Ct=Math.floor((nt-en.y+en.yStep-1)/en.yStep);if(sn<=0||Ct<=0)continue;const Hn=sn*ft;for(let In=0;In<Ct;In++){const Zn=en.y+In*en.yStep,wn=ot<=8?new Uint8Array(Hn):new Uint16Array(Hn);let Ir=0;for(let Br=0;Br<sn;Br++){const ar=en.x+Br*en.xStep;if(ar<Ce&&Zn<nt){const wi=(Zn*Ce+ar)*ft;for(let ta=0;ta<ft;ta++)wn[Ir++]=ne[wi+ta]}}if(te.writeByte(0),ot===8)te.writeBytes(wn);else if(ot===16)for(const Br of wn)te.writeByte(Br>>8&255),te.writeByte(Br&255)}}return de}function Pl(E,ne,te,de){for(let ge=0;ge<te;ge++)ne.writeUint16(E[de++]);return de}var Ql;(function(E){E[E.UNKNOWN=0]="UNKNOWN",E[E.METRE=1]="METRE"})(Ql||(Ql={}));function lu(E,ne){return new cd(E,ne).decode()}function Ed(E,ne){return new PngEncoder(E,ne).encode()}function s0(E,ne){return new PngDecoder(E,ne).decodeApng()}var Us=function(){return typeof window!="undefined"?window:typeof ce.g!="undefined"?ce.g:typeof self!="undefined"?self:this}();function PA(){Us.console&&typeof Us.console.log=="function"&&Us.console.log.apply(Us.console,arguments)}var hu={log:PA,warn:function(E){Us.console&&(typeof Us.console.warn=="function"?Us.console.warn.apply(Us.console,arguments):PA.call(null,arguments))},error:function(E){Us.console&&(typeof Us.console.error=="function"?Us.console.error.apply(Us.console,arguments):PA(E))}};function Gc(E,ne,te){var de=new XMLHttpRequest;de.open("GET",E),de.responseType="blob",de.onload=function(){Ph(de.response,ne,te)},de.onerror=function(){hu.error("could not download file")},de.send()}function jf(E){var ne=new XMLHttpRequest;ne.open("HEAD",E,!1);try{ne.send()}catch(te){}return ne.status>=200&&ne.status<=299}function dd(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(te){var ne=document.createEvent("MouseEvents");ne.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(ne)}}var Ph=Us.saveAs||((typeof window=="undefined"?"undefined":(0,he.Z)(window))!=="object"||window!==Us?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(E,ne,te){var de=Us.URL||Us.webkitURL,ge=document.createElement("a");ne=ne||E.name||"download",ge.download=ne,ge.rel="noopener",typeof E=="string"?(ge.href=E,ge.origin!==location.origin?jf(ge.href)?Gc(E,ne,te):dd(ge,ge.target="_blank"):dd(ge)):(ge.href=de.createObjectURL(E),setTimeout(function(){de.revokeObjectURL(ge.href)},4e4),setTimeout(function(){dd(ge)},0))}:"msSaveOrOpenBlob"in navigator?function(E,ne,te){if(ne=ne||E.name||"download",typeof E=="string")if(jf(E))Gc(E,ne,te);else{var de=document.createElement("a");de.href=E,de.target="_blank",setTimeout(function(){dd(de)})}else navigator.msSaveOrOpenBlob(function(ge,Ce){return Ce===void 0?Ce={autoBom:!1}:(0,he.Z)(Ce)!=="object"&&(hu.warn("Deprecated: Expected third argument to be a object"),Ce={autoBom:!Ce}),Ce.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ge.type)?new Blob(["\uFEFF",ge],{type:ge.type}):ge}(E,te),ne)}:function(E,ne,te,de){if((de=de||open("","_blank"))&&(de.document.title=de.document.body.innerText="downloading..."),typeof E=="string")return Gc(E,ne,te);var ge=E.type==="application/octet-stream",Ce=/constructor/i.test(Us.HTMLElement)||Us.safari,nt=/CriOS\/[\d]+/.test(navigator.userAgent);if((nt||ge&&Ce)&&(typeof FileReader=="undefined"?"undefined":(0,he.Z)(FileReader))==="object"){var Ge=new FileReader;Ge.onloadend=function(){var Et=Ge.result;Et=nt?Et:Et.replace(/^data:[^;]*;/,"data:attachment/file;"),de?de.location.href=Et:location=Et,de=null},Ge.readAsDataURL(E)}else{var ot=Us.URL||Us.webkitURL,ft=ot.createObjectURL(E);de?de.location=ft:location.href=ft,de=null,setTimeout(function(){ot.revokeObjectURL(ft)},4e4)}});function zm(E){var ne;E=E||"",this.ok=!1,E.charAt(0)=="#"&&(E=E.substr(1,6)),E={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[E=(E=E.replace(/ /g,"")).toLowerCase()]||E;for(var te=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Ge){return[parseInt(Ge[1]),parseInt(Ge[2]),parseInt(Ge[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ge){return[parseInt(Ge[1],16),parseInt(Ge[2],16),parseInt(Ge[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ge){return[parseInt(Ge[1]+Ge[1],16),parseInt(Ge[2]+Ge[2],16),parseInt(Ge[3]+Ge[3],16)]}}],de=0;de<te.length;de++){var ge=te[de].re,Ce=te[de].process,nt=ge.exec(E);nt&&(ne=Ce(nt),this.r=ne[0],this.g=ne[1],this.b=ne[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Ge=this.r.toString(16),ot=this.g.toString(16),ft=this.b.toString(16);return Ge.length==1&&(Ge="0"+Ge),ot.length==1&&(ot="0"+ot),ft.length==1&&(ft="0"+ft),"#"+Ge+ot+ft}}var ba=Us.atob.bind(Us),gc=Us.btoa.bind(Us);function Am(E,ne){var te=E[0],de=E[1],ge=E[2],Ce=E[3];te=fA(te,de,ge,Ce,ne[0],7,-680876936),Ce=fA(Ce,te,de,ge,ne[1],12,-389564586),ge=fA(ge,Ce,te,de,ne[2],17,606105819),de=fA(de,ge,Ce,te,ne[3],22,-1044525330),te=fA(te,de,ge,Ce,ne[4],7,-176418897),Ce=fA(Ce,te,de,ge,ne[5],12,1200080426),ge=fA(ge,Ce,te,de,ne[6],17,-1473231341),de=fA(de,ge,Ce,te,ne[7],22,-45705983),te=fA(te,de,ge,Ce,ne[8],7,1770035416),Ce=fA(Ce,te,de,ge,ne[9],12,-1958414417),ge=fA(ge,Ce,te,de,ne[10],17,-42063),de=fA(de,ge,Ce,te,ne[11],22,-1990404162),te=fA(te,de,ge,Ce,ne[12],7,1804603682),Ce=fA(Ce,te,de,ge,ne[13],12,-40341101),ge=fA(ge,Ce,te,de,ne[14],17,-1502002290),te=tA(te,de=fA(de,ge,Ce,te,ne[15],22,1236535329),ge,Ce,ne[1],5,-165796510),Ce=tA(Ce,te,de,ge,ne[6],9,-1069501632),ge=tA(ge,Ce,te,de,ne[11],14,643717713),de=tA(de,ge,Ce,te,ne[0],20,-373897302),te=tA(te,de,ge,Ce,ne[5],5,-701558691),Ce=tA(Ce,te,de,ge,ne[10],9,38016083),ge=tA(ge,Ce,te,de,ne[15],14,-660478335),de=tA(de,ge,Ce,te,ne[4],20,-405537848),te=tA(te,de,ge,Ce,ne[9],5,568446438),Ce=tA(Ce,te,de,ge,ne[14],9,-1019803690),ge=tA(ge,Ce,te,de,ne[3],14,-187363961),de=tA(de,ge,Ce,te,ne[8],20,1163531501),te=tA(te,de,ge,Ce,ne[13],5,-1444681467),Ce=tA(Ce,te,de,ge,ne[2],9,-51403784),ge=tA(ge,Ce,te,de,ne[7],14,1735328473),te=Td(te,de=tA(de,ge,Ce,te,ne[12],20,-1926607734),ge,Ce,ne[5],4,-378558),Ce=Td(Ce,te,de,ge,ne[8],11,-2022574463),ge=Td(ge,Ce,te,de,ne[11],16,1839030562),de=Td(de,ge,Ce,te,ne[14],23,-35309556),te=Td(te,de,ge,Ce,ne[1],4,-1530992060),Ce=Td(Ce,te,de,ge,ne[4],11,1272893353),ge=Td(ge,Ce,te,de,ne[7],16,-155497632),de=Td(de,ge,Ce,te,ne[10],23,-1094730640),te=Td(te,de,ge,Ce,ne[13],4,681279174),Ce=Td(Ce,te,de,ge,ne[0],11,-358537222),ge=Td(ge,Ce,te,de,ne[3],16,-722521979),de=Td(de,ge,Ce,te,ne[6],23,76029189),te=Td(te,de,ge,Ce,ne[9],4,-640364487),Ce=Td(Ce,te,de,ge,ne[12],11,-421815835),ge=Td(ge,Ce,te,de,ne[15],16,530742520),te=Vd(te,de=Td(de,ge,Ce,te,ne[2],23,-995338651),ge,Ce,ne[0],6,-198630844),Ce=Vd(Ce,te,de,ge,ne[7],10,1126891415),ge=Vd(ge,Ce,te,de,ne[14],15,-1416354905),de=Vd(de,ge,Ce,te,ne[5],21,-57434055),te=Vd(te,de,ge,Ce,ne[12],6,1700485571),Ce=Vd(Ce,te,de,ge,ne[3],10,-1894986606),ge=Vd(ge,Ce,te,de,ne[10],15,-1051523),de=Vd(de,ge,Ce,te,ne[1],21,-2054922799),te=Vd(te,de,ge,Ce,ne[8],6,1873313359),Ce=Vd(Ce,te,de,ge,ne[15],10,-30611744),ge=Vd(ge,Ce,te,de,ne[6],15,-1560198380),de=Vd(de,ge,Ce,te,ne[13],21,1309151649),te=Vd(te,de,ge,Ce,ne[4],6,-145523070),Ce=Vd(Ce,te,de,ge,ne[11],10,-1120210379),ge=Vd(ge,Ce,te,de,ne[2],15,718787259),de=Vd(de,ge,Ce,te,ne[9],21,-343485551),E[0]=NA(te,E[0]),E[1]=NA(de,E[1]),E[2]=NA(ge,E[2]),E[3]=NA(Ce,E[3])}function fm(E,ne,te,de,ge,Ce){return ne=NA(NA(ne,E),NA(de,Ce)),NA(ne<<ge|ne>>>32-ge,te)}function fA(E,ne,te,de,ge,Ce,nt){return fm(ne&te|~ne&de,E,ne,ge,Ce,nt)}function tA(E,ne,te,de,ge,Ce,nt){return fm(ne&de|te&~de,E,ne,ge,Ce,nt)}function Td(E,ne,te,de,ge,Ce,nt){return fm(ne^te^de,E,ne,ge,Ce,nt)}function Vd(E,ne,te,de,ge,Ce,nt){return fm(te^(ne|~de),E,ne,ge,Ce,nt)}function fg(E){var ne,te=E.length,de=[1732584193,-271733879,-1732584194,271733878];for(ne=64;ne<=E.length;ne+=64)Am(de,hm(E.substring(ne-64,ne)));E=E.substring(ne-64);var ge=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ne=0;ne<E.length;ne++)ge[ne>>2]|=E.charCodeAt(ne)<<(ne%4<<3);if(ge[ne>>2]|=128<<(ne%4<<3),ne>55)for(Am(de,ge),ne=0;ne<16;ne++)ge[ne]=0;return ge[14]=8*te,Am(de,ge),de}function hm(E){var ne,te=[];for(ne=0;ne<64;ne+=4)te[ne>>2]=E.charCodeAt(ne)+(E.charCodeAt(ne+1)<<8)+(E.charCodeAt(ne+2)<<16)+(E.charCodeAt(ne+3)<<24);return te}var af="0123456789abcdef".split("");function U0(E){for(var ne="",te=0;te<4;te++)ne+=af[E>>8*te+4&15]+af[E>>8*te&15];return ne}function md(E){return String.fromCharCode(255&E,(65280&E)>>8,(16711680&E)>>16,(4278190080&E)>>24)}function H0(E){return fg(E).map(md).join("")}var Km=function(E){for(var ne=0;ne<E.length;ne++)E[ne]=U0(E[ne]);return E.join("")}(fg("hello"))!="5d41402abc4b2a76b9719d911017c592";function NA(E,ne){if(Km){var te=(65535&E)+(65535&ne);return(E>>16)+(ne>>16)+(te>>16)<<16|65535&te}return E+ne&4294967295}function Gd(E,ne){var te,de,ge,Ce;if(E!==te){for(var nt=(ge=E,Ce=1+(256/E.length|0),new Array(Ce+1).join(ge)),Ge=[],ot=0;ot<256;ot++)Ge[ot]=ot;var ft=0;for(ot=0;ot<256;ot++){var Et=Ge[ot];ft=(ft+Et+nt.charCodeAt(ot))%256,Ge[ot]=Ge[ft],Ge[ft]=Et}te=E,de=Ge}else Ge=de;var en=ne.length,sn=0,Ct=0,Hn="";for(ot=0;ot<en;ot++)Ct=(Ct+(Et=Ge[sn=(sn+1)%256]))%256,Ge[sn]=Ge[Ct],Ge[Ct]=Et,nt=Ge[(Ge[sn]+Ge[Ct])%256],Hn+=String.fromCharCode(ne.charCodeAt(ot)^nt);return Hn}var Fp={print:4,modify:8,copy:16,"annot-forms":32};function Ah(E,ne,te,de){this.v=1,this.r=2;var ge=192;E.forEach(function(Ge){if(Fp.perm!==void 0)throw new Error("Invalid permission: "+Ge);ge+=Fp[Ge]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Ce=(ne+this.padding).substr(0,32),nt=(te+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ce,nt),this.P=-(1+(255^ge)),this.encryptionKey=H0(Ce+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(de)).substr(0,5),this.U=Gd(this.encryptionKey,this.padding)}function RA(E){if(/[^\u0000-\u00ff]/.test(E))throw new Error("Invalid PDF Name Object: "+E+", Only accept ASCII characters.");for(var ne="",te=E.length,de=0;de<te;de++){var ge=E.charCodeAt(de);ne+=ge<33||ge===35||ge===37||ge===40||ge===41||ge===47||ge===60||ge===62||ge===91||ge===93||ge===123||ge===125||ge>126?"#"+("0"+ge.toString(16)).slice(-2):E[de]}return ne}function Wm(E){if((0,he.Z)(E)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ne={};this.subscribe=function(te,de,ge){if(ge=ge||!1,typeof te!="string"||typeof de!="function"||typeof ge!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ne.hasOwnProperty(te)||(ne[te]={});var Ce=Math.random().toString(35);return ne[te][Ce]=[de,!!ge],Ce},this.unsubscribe=function(te){for(var de in ne)if(ne[de][te])return delete ne[de][te],Object.keys(ne[de]).length===0&&delete ne[de],!0;return!1},this.publish=function(te){if(ne.hasOwnProperty(te)){var de=Array.prototype.slice.call(arguments,1),ge=[];for(var Ce in ne[te]){var nt=ne[te][Ce];try{nt[0].apply(E,de)}catch(Ge){Us.console&&hu.error("jsPDF PubSub Error",Ge.message,Ge)}nt[1]&&ge.push(Ce)}ge.length&&ge.forEach(this.unsubscribe)}},this.getTopics=function(){return ne}}function kp(E){if(!(this instanceof kp))return new kp(E);var ne="opacity,stroke-opacity".split(",");for(var te in E)E.hasOwnProperty(te)&&ne.indexOf(te)>=0&&(this[te]=E[te]);this.id="",this.objectNumber=-1}function cp(E,ne){this.gState=E,this.matrix=ne,this.id="",this.objectNumber=-1}function l0(E,ne,te,de,ge){if(!(this instanceof l0))return new l0(E,ne,te,de,ge);this.type=E==="axial"?2:3,this.coords=ne,this.colors=te,cp.call(this,de,ge)}function u0(E,ne,te,de,ge){if(!(this instanceof u0))return new u0(E,ne,te,de,ge);this.boundingBox=E,this.xStep=ne,this.yStep=te,this.stream="",this.cloneIndex=0,cp.call(this,de,ge)}function Ls(E){var ne,te=typeof arguments[0]=="string"?arguments[0]:"p",de=arguments[1],ge=arguments[2],Ce=arguments[3],nt=[],Ge=1,ot=16,ft="S",Et=null;(0,he.Z)(E=E||{})==="object"&&(te=E.orientation,de=E.unit||de,ge=E.format||ge,Ce=E.compress||E.compressPdf||Ce,(Et=E.encryption||null)!==null&&(Et.userPassword=Et.userPassword||"",Et.ownerPassword=Et.ownerPassword||"",Et.userPermissions=Et.userPermissions||[]),Ge=typeof E.userUnit=="number"?Math.abs(E.userUnit):1,E.precision!==void 0&&(ne=E.precision),E.floatPrecision!==void 0&&(ot=E.floatPrecision),ft=E.defaultPathOperation||"S"),nt=E.filters||(Ce===!0?["FlateEncode"]:nt),de=de||"mm",te=(""+(te||"P")).toLowerCase();var en=E.putOnlyUsedFonts||!1,sn={},Ct={internal:{},__private__:{}};Ct.__private__.PubSub=Wm;var Hn="1.3",In=Ct.__private__.getPdfVersion=function(){return Hn};Ct.__private__.setPdfVersion=function(ct){Hn=ct};var Zn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};Ct.__private__.getPageFormats=function(){return Zn};var wn=Ct.__private__.getPageFormat=function(ct){return Zn[ct]};ge=ge||"a4";var Ir="compat",Br="advanced",ar=Ir;function wi(){this.saveGraphicsState(),jn(new vl(nu,0,0,-nu,0,fp()*nu).toString()+" cm"),this.setFontSize(this.getFontSize()/nu),ft="n",ar=Br}function ta(){this.restoreGraphicsState(),ft="S",ar=Ir}var Wi=Ct.__private__.combineFontStyleAndFontWeight=function(ct,an){if(ct=="bold"&&an=="normal"||ct=="bold"&&an==400||ct=="normal"&&an=="italic"||ct=="bold"&&an=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return an&&(ct=an==400||an==="normal"?ct==="italic"?"italic":"normal":an!=700&&an!=="bold"||ct!=="normal"?(an==700?"bold":an)+""+ct:"bold"),ct};Ct.advancedAPI=function(ct){var an=ar===Ir;return an&&wi.call(this),typeof ct!="function"||(ct(this),an&&ta.call(this)),this},Ct.compatAPI=function(ct){var an=ar===Br;return an&&ta.call(this),typeof ct!="function"||(ct(this),an&&wi.call(this)),this},Ct.isAdvancedAPI=function(){return ar===Br};var Yr,sr=function(ct){if(ar!==Br)throw new Error(ct+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ci=Ct.roundToPrecision=Ct.__private__.roundToPrecision=function(ct,an){var $n=ne||an;if(isNaN(ct)||isNaN($n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ct.toFixed($n).replace(/0+$/,"")};Yr=Ct.hpf=Ct.__private__.hpf=typeof ot=="number"?function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,ot)}:ot==="smart"?function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,ct>-1&&ct<1?16:5)}:function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,16)};var yn=Ct.f2=Ct.__private__.f2=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f2");return ci(ct,2)},Gn=Ct.__private__.f3=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f3");return ci(ct,3)},_r=Ct.scale=Ct.__private__.scale=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.scale");return ar===Ir?ct*nu:ar===Br?ct:void 0},Er=function(ct){return _r(function(an){return ar===Ir?fp()-an:ar===Br?an:void 0}(ct))};Ct.__private__.setPrecision=Ct.setPrecision=function(ct){typeof parseInt(ct,10)=="number"&&(ne=parseInt(ct,10))};var Fi,zi="00000000000000000000000000000000",Xi=Ct.__private__.getFileId=function(){return zi},Ci=Ct.__private__.setFileId=function(ct){return zi=ct!==void 0&&/^[a-fA-F0-9]{32}$/.test(ct)?ct.toUpperCase():zi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Et!==null&&(mA=new Ah(Et.userPermissions,Et.userPassword,Et.ownerPassword,zi)),zi};Ct.setFileId=function(ct){return Ci(ct),this},Ct.getFileId=function(){return Xi()};var Gi=Ct.__private__.convertDateToPDFDate=function(ct){var an=ct.getTimezoneOffset(),$n=an<0?"+":"-",kr=Math.floor(Math.abs(an/60)),ai=Math.abs(an%60),ha=[$n,hr(kr),"'",hr(ai),"'"].join("");return["D:",ct.getFullYear(),hr(ct.getMonth()+1),hr(ct.getDate()),hr(ct.getHours()),hr(ct.getMinutes()),hr(ct.getSeconds()),ha].join("")},fo=Ct.__private__.convertPDFDateToDate=function(ct){var an=parseInt(ct.substr(2,4),10),$n=parseInt(ct.substr(6,2),10)-1,kr=parseInt(ct.substr(8,2),10),ai=parseInt(ct.substr(10,2),10),ha=parseInt(ct.substr(12,2),10),Ua=parseInt(ct.substr(14,2),10);return new Date(an,$n,kr,ai,ha,Ua,0)},Na=Ct.__private__.setCreationDate=function(ct){var an;if(ct===void 0&&(ct=new Date),ct instanceof Date)an=Gi(ct);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(ct))throw new Error("Invalid argument passed to jsPDF.setCreationDate");an=ct}return Fi=an},hn=Ct.__private__.getCreationDate=function(ct){var an=Fi;return ct==="jsDate"&&(an=fo(Fi)),an};Ct.setCreationDate=function(ct){return Na(ct),this},Ct.getCreationDate=function(ct){return hn(ct)};var rr,hr=Ct.__private__.padd2=function(ct){return("0"+parseInt(ct)).slice(-2)},Pr=Ct.__private__.padd2Hex=function(ct){return("00"+(ct=ct.toString())).substr(ct.length)},ti=0,pi=[],Ti=[],Ui=0,ya=[],so=[],Uo=!1,Zo=Ti;Ct.__private__.setCustomOutputDestination=function(ct){Uo=!0,Zo=ct};var Gs=function(ct){Uo||(Zo=ct)};Ct.__private__.resetCustomOutputDestination=function(){Uo=!1,Zo=Ti};var jn=Ct.__private__.out=function(ct){return ct=ct.toString(),Ui+=ct.length+1,Zo.push(ct),Zo},Xo=Ct.__private__.write=function(ct){return jn(arguments.length===1?ct.toString():Array.prototype.join.call(arguments," "))},pu=Ct.__private__.getArrayBuffer=function(ct){for(var an=ct.length,$n=new ArrayBuffer(an),kr=new Uint8Array($n);an--;)kr[an]=ct.charCodeAt(an);return $n},gl=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];Ct.__private__.getStandardFonts=function(){return gl};var to=E.fontSize||16;Ct.__private__.setFontSize=Ct.setFontSize=function(ct){return to=ar===Br?ct/nu:ct,this};var ul,qo=Ct.__private__.getFontSize=Ct.getFontSize=function(){return ar===Ir?to:to*nu},Ks=E.R2L||!1;Ct.__private__.setR2L=Ct.setR2L=function(ct){return Ks=ct,this},Ct.__private__.getR2L=Ct.getR2L=function(){return Ks};var il,Tu=Ct.__private__.setZoomMode=function(ct){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ct))ul=ct;else if(isNaN(ct)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(ct)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ct+'" is not recognized.');ul=ct}else ul=parseInt(ct,10)};Ct.__private__.getZoomMode=function(){return ul};var Pu,Fl=Ct.__private__.setPageMode=function(ct){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ct)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ct+'" is not recognized.');il=ct};Ct.__private__.getPageMode=function(){return il};var _u=Ct.__private__.setLayoutMode=function(ct){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ct)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ct+'" is not recognized.');Pu=ct};Ct.__private__.getLayoutMode=function(){return Pu},Ct.__private__.setDisplayMode=Ct.setDisplayMode=function(ct,an,$n){return Tu(ct),_u(an),Fl($n),this};var yu={title:"",subject:"",author:"",keywords:"",creator:""};Ct.__private__.getDocumentProperty=function(ct){if(Object.keys(yu).indexOf(ct)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return yu[ct]},Ct.__private__.getDocumentProperties=function(){return yu},Ct.__private__.setDocumentProperties=Ct.setProperties=Ct.setDocumentProperties=function(ct){for(var an in yu)yu.hasOwnProperty(an)&&ct[an]&&(yu[an]=ct[an]);return this},Ct.__private__.setDocumentProperty=function(ct,an){if(Object.keys(yu).indexOf(ct)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return yu[ct]=an};var Os,nu,Ws,Yd,qu,mu={},bu={},gd=[],Ys={},Yc={},kl={},Gl={},Oc=null,Rl=0,cl=[],vc=new Wm(Ct),Dp=E.hotfixes||[],pA={},Q0={},A0=[],vl=function ct(an,$n,kr,ai,ha,Ua){if(!(this instanceof ct))return new ct(an,$n,kr,ai,ha,Ua);isNaN(an)&&(an=1),isNaN($n)&&($n=0),isNaN(kr)&&(kr=0),isNaN(ai)&&(ai=1),isNaN(ha)&&(ha=0),isNaN(Ua)&&(Ua=0),this._matrix=[an,$n,kr,ai,ha,Ua]};Object.defineProperty(vl.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(vl.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(vl.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(vl.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(vl.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(vl.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(vl.prototype,"a",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(vl.prototype,"b",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(vl.prototype,"c",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(vl.prototype,"d",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(vl.prototype,"e",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(vl.prototype,"f",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(vl.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(vl.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(vl.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(vl.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),vl.prototype.join=function(ct){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Yr).join(ct)},vl.prototype.multiply=function(ct){var an=ct.sx*this.sx+ct.shy*this.shx,$n=ct.sx*this.shy+ct.shy*this.sy,kr=ct.shx*this.sx+ct.sy*this.shx,ai=ct.shx*this.shy+ct.sy*this.sy,ha=ct.tx*this.sx+ct.ty*this.shx+this.tx,Ua=ct.tx*this.shy+ct.ty*this.sy+this.ty;return new vl(an,$n,kr,ai,ha,Ua)},vl.prototype.decompose=function(){var ct=this.sx,an=this.shy,$n=this.shx,kr=this.sy,ai=this.tx,ha=this.ty,Ua=Math.sqrt(ct*ct+an*an),Es=(ct/=Ua)*$n+(an/=Ua)*kr;$n-=ct*Es,kr-=an*Es;var Ts=Math.sqrt($n*$n+kr*kr);return Es/=Ts,ct*(kr/=Ts)<an*($n/=Ts)&&(ct=-ct,an=-an,Es=-Es,Ua=-Ua),{scale:new vl(Ua,0,0,Ts,0,0),translate:new vl(1,0,0,1,ai,ha),rotate:new vl(ct,an,-an,ct,0,0),skew:new vl(1,0,Es,1,0,0)}},vl.prototype.toString=function(ct){return this.join(" ")},vl.prototype.inversed=function(){var ct=this.sx,an=this.shy,$n=this.shx,kr=this.sy,ai=this.tx,ha=this.ty,Ua=1/(ct*kr-an*$n),Es=kr*Ua,Ts=-an*Ua,Ml=-$n*Ua,Xl=ct*Ua;return new vl(Es,Ts,Ml,Xl,-Es*ai-Ml*ha,-Ts*ai-Xl*ha)},vl.prototype.applyToPoint=function(ct){var an=ct.x*this.sx+ct.y*this.shx+this.tx,$n=ct.x*this.shy+ct.y*this.sy+this.ty;return new W0(an,$n)},vl.prototype.applyToRectangle=function(ct){var an=this.applyToPoint(ct),$n=this.applyToPoint(new W0(ct.x+ct.w,ct.y+ct.h));return new b0(an.x,an.y,$n.x-an.x,$n.y-an.y)},vl.prototype.clone=function(){var ct=this.sx,an=this.shy,$n=this.shx,kr=this.sy,ai=this.tx,ha=this.ty;return new vl(ct,an,$n,kr,ai,ha)},Ct.Matrix=vl;var z0=Ct.matrixMult=function(ct,an){return an.multiply(ct)},K0=new vl(1,0,0,1,0,0);Ct.unitMatrix=Ct.identityMatrix=K0;var Gf=function(ct,an){if(!Yc[ct]){var $n=(an instanceof l0?"Sh":"P")+(Object.keys(Ys).length+1).toString(10);an.id=$n,Yc[ct]=$n,Ys[$n]=an,vc.publish("addPattern",an)}};Ct.ShadingPattern=l0,Ct.TilingPattern=u0,Ct.addShadingPattern=function(ct,an){return sr("addShadingPattern()"),Gf(ct,an),this},Ct.beginTilingPattern=function(ct){sr("beginTilingPattern()"),Kp(ct.boundingBox[0],ct.boundingBox[1],ct.boundingBox[2]-ct.boundingBox[0],ct.boundingBox[3]-ct.boundingBox[1],ct.matrix)},Ct.endTilingPattern=function(ct,an){sr("endTilingPattern()"),an.stream=so[rr].join(`
`),Gf(ct,an),vc.publish("endTilingPattern",an),A0.pop().restore()};var Yf,Pd=Ct.__private__.newObject=function(){var ct=rc();return Xc(ct,!0),ct},rc=Ct.__private__.newObjectDeferred=function(){return ti++,pi[ti]=function(){return Ui},ti},Xc=function(ct,an){return an=typeof an=="boolean"&&an,pi[ct]=Ui,an&&jn(ct+" 0 obj"),ct},f0=Ct.__private__.newAdditionalObject=function(){var ct={objId:rc(),content:""};return ya.push(ct),ct},h0=rc(),ph=rc(),Xf=Ct.__private__.decodeColorString=function(ct){var an=ct.split(" ");if(an.length!==2||an[1]!=="g"&&an[1]!=="G")an.length!==5||an[4]!=="k"&&an[4]!=="K"||(an=[(1-an[0])*(1-an[3]),(1-an[1])*(1-an[3]),(1-an[2])*(1-an[3]),"r"]);else{var $n=parseFloat(an[0]);an=[$n,$n,$n,"r"]}for(var kr="#",ai=0;ai<3;ai++)kr+=("0"+Math.floor(255*parseFloat(an[ai])).toString(16)).slice(-2);return kr},QA=Ct.__private__.encodeColorString=function(ct){var an;typeof ct=="string"&&(ct={ch1:ct});var $n=ct.ch1,kr=ct.ch2,ai=ct.ch3,ha=ct.ch4,Ua=ct.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof $n=="string"&&$n.charAt(0)!=="#"){var Es=new zm($n);if(Es.ok)$n=Es.toHex();else if(!/^\d*\.?\d*$/.test($n))throw new Error('Invalid color "'+$n+'" passed to jsPDF.encodeColorString.')}if(typeof $n=="string"&&/^#[0-9A-Fa-f]{3}$/.test($n)&&($n="#"+$n[1]+$n[1]+$n[2]+$n[2]+$n[3]+$n[3]),typeof $n=="string"&&/^#[0-9A-Fa-f]{6}$/.test($n)){var Ts=parseInt($n.substr(1),16);$n=Ts>>16&255,kr=Ts>>8&255,ai=255&Ts}if(kr===void 0||ha===void 0&&$n===kr&&kr===ai)an=typeof $n=="string"?$n+" "+Ua[0]:ct.precision===2?yn($n/255)+" "+Ua[0]:Gn($n/255)+" "+Ua[0];else if(ha===void 0||(0,he.Z)(ha)==="object"){if(ha&&!isNaN(ha.a)&&ha.a===0)return["1.","1.","1.",Ua[1]].join(" ");an=typeof $n=="string"?[$n,kr,ai,Ua[1]].join(" "):ct.precision===2?[yn($n/255),yn(kr/255),yn(ai/255),Ua[1]].join(" "):[Gn($n/255),Gn(kr/255),Gn(ai/255),Ua[1]].join(" ")}else an=typeof $n=="string"?[$n,kr,ai,ha,Ua[2]].join(" "):ct.precision===2?[yn($n),yn(kr),yn(ai),yn(ha),Ua[2]].join(" "):[Gn($n),Gn(kr),Gn(ai),Gn(ha),Ua[2]].join(" ");return an},Jf=Ct.__private__.getFilters=function(){return nt},mh=Ct.__private__.putStream=function(ct){var an=(ct=ct||{}).data||"",$n=ct.filters||Jf(),kr=ct.alreadyAppliedFilters||[],ai=ct.addLength1||!1,ha=an.length,Ua=ct.objectId,Es=function(Jc){return Jc};if(Et!==null&&Ua===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Et!==null&&(Es=mA.encryptor(Ua,0));var Ts={};$n===!0&&($n=["FlateEncode"]);var Ml=ct.additionalKeyValues||[],Xl=(Ts=Ls.API.processDataByFilters!==void 0?Ls.API.processDataByFilters(an,$n):{data:an,reverseChain:[]}).reverseChain+(Array.isArray(kr)?kr.join(" "):kr.toString());if(Ts.data.length!==0&&(Ml.push({key:"Length",value:Ts.data.length}),ai===!0&&Ml.push({key:"Length1",value:ha})),Xl.length!=0)if(Xl.split("/").length-1==1)Ml.push({key:"Filter",value:Xl});else{Ml.push({key:"Filter",value:"["+Xl+"]"});for(var Fs=0;Fs<Ml.length;Fs+=1)if(Ml[Fs].key==="DecodeParms"){for(var kd=[],iA=0;iA<Ts.reverseChain.split("/").length-1;iA+=1)kd.push("null");kd.push(Ml[Fs].value),Ml[Fs].value="["+kd.join(" ")+"]"}}jn("<<");for(var id=0;id<Ml.length;id++)jn("/"+Ml[id].key+" "+Ml[id].value);jn(">>"),Ts.data.length!==0&&(jn("stream"),jn(Es(Ts.data)),jn("endstream"))},Np=Ct.__private__.putPage=function(ct){var an=ct.number,$n=ct.data,kr=ct.objId,ai=ct.contentsObjId;Xc(kr,!0),jn("<</Type /Page"),jn("/Parent "+ct.rootDictionaryObjId+" 0 R"),jn("/Resources "+ct.resourceDictionaryObjId+" 0 R"),jn("/MediaBox ["+parseFloat(Yr(ct.mediaBox.bottomLeftX))+" "+parseFloat(Yr(ct.mediaBox.bottomLeftY))+" "+Yr(ct.mediaBox.topRightX)+" "+Yr(ct.mediaBox.topRightY)+"]"),ct.cropBox!==null&&jn("/CropBox ["+Yr(ct.cropBox.bottomLeftX)+" "+Yr(ct.cropBox.bottomLeftY)+" "+Yr(ct.cropBox.topRightX)+" "+Yr(ct.cropBox.topRightY)+"]"),ct.bleedBox!==null&&jn("/BleedBox ["+Yr(ct.bleedBox.bottomLeftX)+" "+Yr(ct.bleedBox.bottomLeftY)+" "+Yr(ct.bleedBox.topRightX)+" "+Yr(ct.bleedBox.topRightY)+"]"),ct.trimBox!==null&&jn("/TrimBox ["+Yr(ct.trimBox.bottomLeftX)+" "+Yr(ct.trimBox.bottomLeftY)+" "+Yr(ct.trimBox.topRightX)+" "+Yr(ct.trimBox.topRightY)+"]"),ct.artBox!==null&&jn("/ArtBox ["+Yr(ct.artBox.bottomLeftX)+" "+Yr(ct.artBox.bottomLeftY)+" "+Yr(ct.artBox.topRightX)+" "+Yr(ct.artBox.topRightY)+"]"),typeof ct.userUnit=="number"&&ct.userUnit!==1&&jn("/UserUnit "+ct.userUnit),vc.publish("putPage",{objId:kr,pageContext:cl[an],pageNumber:an,page:$n}),jn("/Contents "+ai+" 0 R"),jn(">>"),jn("endobj");var ha=$n.join(`
`);return ar===Br&&(ha+=`
Q`),Xc(ai,!0),mh({data:ha,filters:Jf(),objectId:ai}),jn("endobj"),kr},p0=Ct.__private__.putPages=function(){var ct,an,$n=[];for(ct=1;ct<=Rl;ct++)cl[ct].objId=rc(),cl[ct].contentsObjId=rc();for(ct=1;ct<=Rl;ct++)$n.push(Np({number:ct,data:so[ct],objId:cl[ct].objId,contentsObjId:cl[ct].contentsObjId,mediaBox:cl[ct].mediaBox,cropBox:cl[ct].cropBox,bleedBox:cl[ct].bleedBox,trimBox:cl[ct].trimBox,artBox:cl[ct].artBox,userUnit:cl[ct].userUnit,rootDictionaryObjId:h0,resourceDictionaryObjId:ph}));Xc(h0,!0),jn("<</Type /Pages");var kr="/Kids [";for(an=0;an<Rl;an++)kr+=$n[an]+" 0 R ";jn(kr+"]"),jn("/Count "+Rl),jn(">>"),jn("endobj"),vc.publish("postPutPages")},Op=function(ct){vc.publish("putFont",{font:ct,out:jn,newObject:Pd,putStream:mh}),ct.isAlreadyPutted!==!0&&(ct.objectNumber=Pd(),jn("<<"),jn("/Type /Font"),jn("/BaseFont /"+RA(ct.postScriptName)),jn("/Subtype /Type1"),typeof ct.encoding=="string"&&jn("/Encoding /"+ct.encoding),jn("/FirstChar 32"),jn("/LastChar 255"),jn(">>"),jn("endobj"))},Tp=function(ct){ct.objectNumber=Pd();var an=[];an.push({key:"Type",value:"/XObject"}),an.push({key:"Subtype",value:"/Form"}),an.push({key:"BBox",value:"["+[Yr(ct.x),Yr(ct.y),Yr(ct.x+ct.width),Yr(ct.y+ct.height)].join(" ")+"]"}),an.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"});var $n=ct.pages[1].join(`
`);mh({data:$n,additionalKeyValues:an,objectId:ct.objectNumber}),jn("endobj")},gm=function(ct,an){an||(an=21);var $n=Pd(),kr=function(Ua,Es){var Ts,Ml=[],Xl=1/(Es-1);for(Ts=0;Ts<1;Ts+=Xl)Ml.push(Ts);if(Ml.push(1),Ua[0].offset!=0){var Fs={offset:0,color:Ua[0].color};Ua.unshift(Fs)}if(Ua[Ua.length-1].offset!=1){var kd={offset:1,color:Ua[Ua.length-1].color};Ua.push(kd)}for(var iA="",id=0,Jc=0;Jc<Ml.length;Jc++){for(Ts=Ml[Jc];Ts>Ua[id+1].offset;)id++;var aA=Ua[id].offset,KA=(Ts-aA)/(Ua[id+1].offset-aA),Y0=Ua[id].color,Wh=Ua[id+1].color;iA+=Pr(Math.round((1-KA)*Y0[0]+KA*Wh[0]).toString(16))+Pr(Math.round((1-KA)*Y0[1]+KA*Wh[1]).toString(16))+Pr(Math.round((1-KA)*Y0[2]+KA*Wh[2]).toString(16))}return iA.trim()}(ct.colors,an),ai=[];ai.push({key:"FunctionType",value:"0"}),ai.push({key:"Domain",value:"[0.0 1.0]"}),ai.push({key:"Size",value:"["+an+"]"}),ai.push({key:"BitsPerSample",value:"8"}),ai.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ai.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),mh({data:kr,additionalKeyValues:ai,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:$n}),jn("endobj"),ct.objectNumber=Pd(),jn("<< /ShadingType "+ct.type),jn("/ColorSpace /DeviceRGB");var ha="/Coords ["+Yr(parseFloat(ct.coords[0]))+" "+Yr(parseFloat(ct.coords[1]))+" ";ct.type===2?ha+=Yr(parseFloat(ct.coords[2]))+" "+Yr(parseFloat(ct.coords[3])):ha+=Yr(parseFloat(ct.coords[2]))+" "+Yr(parseFloat(ct.coords[3]))+" "+Yr(parseFloat(ct.coords[4]))+" "+Yr(parseFloat(ct.coords[5])),jn(ha+="]"),ct.matrix&&jn("/Matrix ["+ct.matrix.toString()+"]"),jn("/Function "+$n+" 0 R"),jn("/Extend [true true]"),jn(">>"),jn("endobj")},Pp=function(ct,an){var $n=rc(),kr=Pd();an.push({resourcesOid:$n,objectOid:kr}),ct.objectNumber=kr;var ai=[];ai.push({key:"Type",value:"/Pattern"}),ai.push({key:"PatternType",value:"1"}),ai.push({key:"PaintType",value:"1"}),ai.push({key:"TilingType",value:"1"}),ai.push({key:"BBox",value:"["+ct.boundingBox.map(Yr).join(" ")+"]"}),ai.push({key:"XStep",value:Yr(ct.xStep)}),ai.push({key:"YStep",value:Yr(ct.yStep)}),ai.push({key:"Resources",value:$n+" 0 R"}),ct.matrix&&ai.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"}),mh({data:ct.stream,additionalKeyValues:ai,objectId:ct.objectNumber}),jn("endobj")},Ym=function(ct){for(var an in ct.objectNumber=Pd(),jn("<<"),ct)switch(an){case"opacity":jn("/ca "+yn(ct[an]));break;case"stroke-opacity":jn("/CA "+yn(ct[an]))}jn(">>"),jn("endobj")},Xm=function(ct){Xc(ct.resourcesOid,!0),jn("<<"),jn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var an in jn("/Font <<"),mu)mu.hasOwnProperty(an)&&(en===!1||en===!0&&sn.hasOwnProperty(an))&&jn("/"+an+" "+mu[an].objectNumber+" 0 R");jn(">>")}(),function(){if(Object.keys(Ys).length>0){for(var an in jn("/Shading <<"),Ys)Ys.hasOwnProperty(an)&&Ys[an]instanceof l0&&Ys[an].objectNumber>=0&&jn("/"+an+" "+Ys[an].objectNumber+" 0 R");vc.publish("putShadingPatternDict"),jn(">>")}}(),function(an){if(Object.keys(Ys).length>0){for(var $n in jn("/Pattern <<"),Ys)Ys.hasOwnProperty($n)&&Ys[$n]instanceof Ct.TilingPattern&&Ys[$n].objectNumber>=0&&Ys[$n].objectNumber<an&&jn("/"+$n+" "+Ys[$n].objectNumber+" 0 R");vc.publish("putTilingPatternDict"),jn(">>")}}(ct.objectOid),function(){if(Object.keys(kl).length>0){var an;for(an in jn("/ExtGState <<"),kl)kl.hasOwnProperty(an)&&kl[an].objectNumber>=0&&jn("/"+an+" "+kl[an].objectNumber+" 0 R");vc.publish("putGStateDict"),jn(">>")}}(),function(){for(var an in jn("/XObject <<"),pA)pA.hasOwnProperty(an)&&pA[an].objectNumber>=0&&jn("/"+an+" "+pA[an].objectNumber+" 0 R");vc.publish("putXobjectDict"),jn(">>")}(),jn(">>"),jn("endobj")},wg=function(ct){bu[ct.fontName]=bu[ct.fontName]||{},bu[ct.fontName][ct.fontStyle]=ct.id},xg=function(ct,an,$n,kr,ai){var ha={id:"F"+(Object.keys(mu).length+1).toString(10),postScriptName:ct,fontName:an,fontStyle:$n,encoding:kr,isStandardFont:ai||!1,metadata:{}};return vc.publish("addFont",{font:ha,instance:this}),mu[ha.id]=ha,wg(ha),ha.id},If=Ct.__private__.pdfEscape=Ct.pdfEscape=function(ct,an){return function($n,kr){var ai,ha,Ua,Es,Ts,Ml,Xl,Fs,kd;if(Ua=(kr=kr||{}).sourceEncoding||"Unicode",Ts=kr.outputEncoding,(kr.autoencode||Ts)&&mu[Os].metadata&&mu[Os].metadata[Ua]&&mu[Os].metadata[Ua].encoding&&(Es=mu[Os].metadata[Ua].encoding,!Ts&&mu[Os].encoding&&(Ts=mu[Os].encoding),!Ts&&Es.codePages&&(Ts=Es.codePages[0]),typeof Ts=="string"&&(Ts=Es[Ts]),Ts)){for(Xl=!1,Ml=[],ai=0,ha=$n.length;ai<ha;ai++)(Fs=Ts[$n.charCodeAt(ai)])?Ml.push(String.fromCharCode(Fs)):Ml.push($n[ai]),Ml[ai].charCodeAt(0)>>8&&(Xl=!0);$n=Ml.join("")}for(ai=$n.length;Xl===void 0&&ai!==0;)$n.charCodeAt(ai-1)>>8&&(Xl=!0),ai--;if(!Xl)return $n;for(Ml=kr.noBOM?[]:[254,255],ai=0,ha=$n.length;ai<ha;ai++){if((kd=(Fs=$n.charCodeAt(ai))>>8)>>8)throw new Error("Character at position "+ai+" of string '"+$n+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ml.push(kd),Ml.push(Fs-(kd<<8))}return String.fromCharCode.apply(void 0,Ml)}(ct,an).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Rp=Ct.__private__.beginPage=function(ct){so[++Rl]=[],cl[Rl]={objId:0,contentsObjId:0,userUnit:Number(Ge),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ct[0]),topRightY:Number(ct[1])}},vm(Rl),Gs(so[rr])},Jm=function(ct,an){var $n,kr,ai;switch(te=an||te,typeof ct=="string"&&($n=wn(ct.toLowerCase()),Array.isArray($n)&&(kr=$n[0],ai=$n[1])),Array.isArray(ct)&&(kr=ct[0]*nu,ai=ct[1]*nu),isNaN(kr)&&(kr=ge[0],ai=ge[1]),(kr>14400||ai>14400)&&(hu.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),kr=Math.min(14400,kr),ai=Math.min(14400,ai)),ge=[kr,ai],te.substr(0,1)){case"l":ai>kr&&(ge=[ai,kr]);break;case"p":kr>ai&&(ge=[ai,kr])}Rp(ge),Yl(Bm),jn(Sm),zp!==0&&jn(zp+" J"),ng!==0&&jn(ng+" j"),vc.publish("addPage",{pageNumber:Rl})},qm=function(ct){ct>0&&ct<=Rl&&(so.splice(ct,1),cl.splice(ct,1),Rl--,rr>Rl&&(rr=Rl),this.setPage(rr))},vm=function(ct){ct>0&&ct<=Rl&&(rr=ct)},ym=Ct.__private__.getNumberOfPages=Ct.getNumberOfPages=function(){return so.length-1},$m=function(ct,an,$n){var kr,ai=void 0;return $n=$n||{},ct=ct!==void 0?ct:mu[Os].fontName,an=an!==void 0?an:mu[Os].fontStyle,kr=ct.toLowerCase(),bu[kr]!==void 0&&bu[kr][an]!==void 0?ai=bu[kr][an]:bu[ct]!==void 0&&bu[ct][an]!==void 0?ai=bu[ct][an]:$n.disableWarning===!1&&hu.warn("Unable to look up font label for font '"+ct+"', '"+an+"'. Refer to getFontList() for available fonts."),ai||$n.noFallback||(ai=bu.times[an])==null&&(ai=bu.times.normal),ai},lf=Ct.__private__.putInfo=function(){var ct=Pd(),an=function(kr){return kr};for(var $n in Et!==null&&(an=mA.encryptor(ct,0)),jn("<<"),jn("/Producer ("+If(an("jsPDF "+Ls.version))+")"),yu)yu.hasOwnProperty($n)&&yu[$n]&&jn("/"+$n.substr(0,1).toUpperCase()+$n.substr(1)+" ("+If(an(yu[$n]))+")");jn("/CreationDate ("+If(an(Fi))+")"),jn(">>"),jn("endobj")},m0=Ct.__private__.putCatalog=function(ct){var an=(ct=ct||{}).rootDictionaryObjId||h0;switch(Pd(),jn("<<"),jn("/Type /Catalog"),jn("/Pages "+an+" 0 R"),ul||(ul="fullwidth"),ul){case"fullwidth":jn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":jn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":jn("/OpenAction [3 0 R /Fit]");break;case"original":jn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var $n=""+ul;$n.substr($n.length-1)==="%"&&(ul=parseInt(ul)/100),typeof ul=="number"&&jn("/OpenAction [3 0 R /XYZ null null "+yn(ul)+"]")}switch(Pu||(Pu="continuous"),Pu){case"continuous":jn("/PageLayout /OneColumn");break;case"single":jn("/PageLayout /SinglePage");break;case"two":case"twoleft":jn("/PageLayout /TwoColumnLeft");break;case"tworight":jn("/PageLayout /TwoColumnRight")}il&&jn("/PageMode /"+il),vc.publish("putCatalog"),jn(">>"),jn("endobj")},bm=Ct.__private__.putTrailer=function(){jn("trailer"),jn("<<"),jn("/Size "+(ti+1)),jn("/Root "+ti+" 0 R"),jn("/Info "+(ti-1)+" 0 R"),Et!==null&&jn("/Encrypt "+mA.oid+" 0 R"),jn("/ID [ <"+zi+"> <"+zi+"> ]"),jn(">>")},Rd=Ct.__private__.putHeader=function(){jn("%PDF-"+Hn),jn("%\xBA\xDF\xAC\xE0")},eg=Ct.__private__.putXRef=function(){var ct="0000000000";jn("xref"),jn("0 "+(ti+1)),jn("0000000000 65535 f ");for(var an=1;an<=ti;an++)typeof pi[an]=="function"?jn((ct+pi[an]()).slice(-10)+" 00000 n "):pi[an]!==void 0?jn((ct+pi[an]).slice(-10)+" 00000 n "):jn("0000000000 00000 n ")},g0=Ct.__private__.buildDocument=function(){var ct;ti=0,Ui=0,Ti=[],pi=[],ya=[],h0=rc(),ph=rc(),Gs(Ti),vc.publish("buildDocument"),Rd(),p0(),function(){vc.publish("putAdditionalObjects");for(var $n=0;$n<ya.length;$n++){var kr=ya[$n];Xc(kr.objId,!0),jn(kr.content),jn("endobj")}vc.publish("postPutAdditionalObjects")}(),ct=[],function(){for(var $n in mu)mu.hasOwnProperty($n)&&(en===!1||en===!0&&sn.hasOwnProperty($n))&&Op(mu[$n])}(),function(){var $n;for($n in kl)kl.hasOwnProperty($n)&&Ym(kl[$n])}(),function(){for(var $n in pA)pA.hasOwnProperty($n)&&Tp(pA[$n])}(),function($n){var kr;for(kr in Ys)Ys.hasOwnProperty(kr)&&(Ys[kr]instanceof l0?gm(Ys[kr]):Ys[kr]instanceof u0&&Pp(Ys[kr],$n))}(ct),vc.publish("putResources"),ct.forEach(Xm),Xm({resourcesOid:ph,objectOid:Number.MAX_SAFE_INTEGER}),vc.publish("postPutResources"),Et!==null&&(mA.oid=Pd(),jn("<<"),jn("/Filter /Standard"),jn("/V "+mA.v),jn("/R "+mA.r),jn("/U <"+mA.toHexString(mA.U)+">"),jn("/O <"+mA.toHexString(mA.O)+">"),jn("/P "+mA.P),jn(">>"),jn("endobj")),lf(),m0();var an=Ui;return eg(),bm(),jn("startxref"),jn(""+an),jn("%%EOF"),Gs(so[rr]),Ti.join(`
`)},Up=Ct.__private__.getBlob=function(ct){return new Blob([pu(ct)],{type:"application/pdf"})},Cg=Ct.output=Ct.__private__.output=(Yf=function(ct,an){switch(typeof(an=an||{})=="string"?an={filename:an}:an.filename=an.filename||"generated.pdf",ct){case void 0:return g0();case"save":Ct.save(an.filename);break;case"arraybuffer":return pu(g0());case"blob":return Up(g0());case"bloburi":case"bloburl":if(Us.URL!==void 0&&typeof Us.URL.createObjectURL=="function")return Us.URL&&Us.URL.createObjectURL(Up(g0()))||void 0;hu.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var $n="",kr=g0();try{$n=gc(kr)}catch(iA){$n=gc(unescape(encodeURIComponent(kr)))}return"data:application/pdf;filename="+an.filename+";base64,"+$n;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Us)==="[object Window]"){var ai="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ha=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';an.pdfObjectUrl&&(ai=an.pdfObjectUrl,ha="");var Ua='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+ai+'"'+ha+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(an)+");<\/script></body></html>",Es=Us.open();return Es!==null&&Es.document.write(Ua),Es}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Us)==="[object Window]"){var Ts='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(an.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+an.filename+'" width="500px" height="400px" /></body></html>',Ml=Us.open();if(Ml!==null){Ml.document.write(Ts);var Xl=this;Ml.document.documentElement.querySelector("#pdfViewer").onload=function(){Ml.document.title=an.filename,Ml.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Xl.output("bloburl"))}}return Ml}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Us)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Fs='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",an)+'"></iframe></body></html>',kd=Us.open();if(kd!==null&&(kd.document.write(Fs),kd.document.title=an.filename),kd||typeof safari=="undefined")return kd;break;case"datauri":case"dataurl":return Us.document.location.href=this.output("datauristring",an);default:return null}},Yf.foo=function(){try{return Yf.apply(this,arguments)}catch($n){var ct=$n.stack||"";~ct.indexOf(" at ")&&(ct=ct.split(" at ")[1]);var an="Error in function "+ct.split(`
`)[0].split("<")[0]+": "+$n.message;if(!Us.console)throw new Error(an);Us.console.error(an,$n),Us.alert&&alert(an)}},Yf.foo.bar=Yf,Yf.foo),uf=function(ct){return Array.isArray(Dp)===!0&&Dp.indexOf(ct)>-1};switch(de){case"pt":nu=1;break;case"mm":nu=72/25.4;break;case"cm":nu=72/2.54;break;case"in":nu=72;break;case"px":nu=uf("px_scaling")==1?.75:96/72;break;case"pc":case"em":nu=12;break;case"ex":nu=6;break;default:if(typeof de!="number")throw new Error("Invalid unit: "+de);nu=de}var mA=null;Na(),Ci();var v0=Ct.__private__.getPageInfo=Ct.getPageInfo=function(ct){if(isNaN(ct)||ct%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:cl[ct].objId,pageNumber:ct,pageContext:cl[ct]}},Bg=Ct.__private__.getPageInfoByObjId=function(ct){if(isNaN(ct)||ct%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var an in cl)if(cl[an].objId===ct)break;return v0(an)},wm=Ct.__private__.getCurrentPageInfo=Ct.getCurrentPageInfo=function(){return{objId:cl[rr].objId,pageNumber:rr,pageContext:cl[rr]}};Ct.addPage=function(){return Jm.apply(this,arguments),this},Ct.setPage=function(){return vm.apply(this,arguments),Gs.call(this,so[rr]),this},Ct.insertPage=function(ct){return this.addPage(),this.movePage(rr,ct),this},Ct.movePage=function(ct,an){var $n,kr;if(ct>an){$n=so[ct],kr=cl[ct];for(var ai=ct;ai>an;ai--)so[ai]=so[ai-1],cl[ai]=cl[ai-1];so[an]=$n,cl[an]=kr,this.setPage(an)}else if(ct<an){$n=so[ct],kr=cl[ct];for(var ha=ct;ha<an;ha++)so[ha]=so[ha+1],cl[ha]=cl[ha+1];so[an]=$n,cl[an]=kr,this.setPage(an)}return this},Ct.deletePage=function(){return qm.apply(this,arguments),this},Ct.__private__.text=Ct.text=function(ct,an,$n,kr,ai){var ha,Ua,Es,Ts,Ml,Xl,Fs,kd,iA,id=(kr=kr||{}).scope||this;if(typeof ct=="number"&&typeof an=="number"&&(typeof $n=="string"||Array.isArray($n))){var Jc=$n;$n=an,an=ct,ct=Jc}if(arguments[3]instanceof vl==0?(Es=arguments[4],Ts=arguments[5],(0,he.Z)(Fs=arguments[3])==="object"&&Fs!==null||(typeof Es=="string"&&(Ts=Es,Es=null),typeof Fs=="string"&&(Ts=Fs,Fs=null),typeof Fs=="number"&&(Es=Fs,Fs=null),kr={flags:Fs,angle:Es,align:Ts})):(sr("The transform parameter of text() with a Matrix value"),iA=ai),isNaN(an)||isNaN($n)||ct==null)throw new Error("Invalid arguments passed to jsPDF.text");if(ct.length===0)return id;var aA,KA="",Y0=typeof kr.lineHeightFactor=="number"?kr.lineHeightFactor:jp,Wh=id.internal.scaleFactor;function ql(Fc){return Fc=Fc.split(" ").join(Array(kr.TabLen||9).join(" ")),If(Fc,Fs)}function Zh(Fc){for(var qc,Jd=Fc.concat(),gA=[],q0=Jd.length;q0--;)typeof(qc=Jd.shift())=="string"?gA.push(qc):Array.isArray(Fc)&&(qc.length===1||qc[1]===void 0&&qc[2]===void 0)?gA.push(qc[0]):gA.push([qc[0],qc[1],qc[2]]);return gA}function Vh(Fc,qc){var Jd;if(typeof Fc=="string")Jd=qc(Fc)[0];else if(Array.isArray(Fc)){for(var gA,q0,sg=Fc.concat(),wh=[],Lg=sg.length;Lg--;)typeof(gA=sg.shift())=="string"?wh.push(qc(gA)[0]):Array.isArray(gA)&&typeof gA[0]=="string"&&(q0=qc(gA[0],gA[1],gA[2]),wh.push([q0[0],q0[1],q0[2]]));Jd=wh}return Jd}var x0=!1,gh=!0;if(typeof ct=="string")x0=!0;else if(Array.isArray(ct)){var X0=ct.concat();Ua=[];for(var hp,Xd=X0.length;Xd--;)(typeof(hp=X0.shift())!="string"||Array.isArray(hp)&&typeof hp[0]!="string")&&(gh=!1);x0=gh}if(x0===!1)throw new Error('Type of text must be string or Array. "'+ct+'" is not recognized.');typeof ct=="string"&&(ct=ct.match(/[\r?\n]/)?ct.split(/\r\n|\r|\n/g):[ct]);var Wp=to/id.internal.scaleFactor,pp=Wp*(Y0-1);switch(kr.baseline){case"bottom":$n-=pp;break;case"top":$n+=Wp-pp;break;case"hanging":$n+=Wp-2*pp;break;case"middle":$n+=Wp/2-pp}if((Xl=kr.maxWidth||0)>0&&(typeof ct=="string"?ct=id.splitTextToSize(ct,Xl):Object.prototype.toString.call(ct)==="[object Array]"&&(ct=ct.reduce(function(Fc,qc){return Fc.concat(id.splitTextToSize(qc,Xl))},[]))),ha={text:ct,x:an,y:$n,options:kr,mutex:{pdfEscape:If,activeFontKey:Os,fonts:mu,activeFontSize:to}},vc.publish("preProcessText",ha),ct=ha.text,Es=(kr=ha.options).angle,iA instanceof vl==0&&Es&&typeof Es=="number"){Es*=Math.PI/180,kr.rotationDirection===0&&(Es=-Es),ar===Br&&(Es=-Es);var ag=Math.cos(Es),Ul=Math.sin(Es);iA=new vl(ag,Ul,-Ul,ag,0,0)}else Es&&Es instanceof vl&&(iA=Es);ar!==Br||iA||(iA=K0),(Ml=kr.charSpace||y0)!==void 0&&(KA+=Yr(_r(Ml))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(kd=kr.horizontalScale)!==void 0&&(KA+=Yr(100*kd)+` Tz
`),kr.lang;var oA=-1,qf=kr.renderingMode!==void 0?kr.renderingMode:kr.stroke,C0=id.internal.getCurrentPageInfo().pageContext;switch(qf){case 0:case!1:case"fill":oA=0;break;case 1:case!0:case"stroke":oA=1;break;case 2:case"fillThenStroke":oA=2;break;case 3:case"invisible":oA=3;break;case 4:case"fillAndAddForClipping":oA=4;break;case 5:case"strokeAndAddPathForClipping":oA=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":oA=6;break;case 7:case"addToPathForClipping":oA=7}var Mg=C0.usedRenderingMode!==void 0?C0.usedRenderingMode:-1;oA!==-1?KA+=oA+` Tr
`:Mg!==-1&&(KA+=`0 Tr
`),oA!==-1&&(C0.usedRenderingMode=oA),Ts=kr.align||"left";var Wu,Zp=to*Y0,yd=id.internal.pageSize.getWidth(),_g=mu[Os];Ml=kr.charSpace||y0,Xl=kr.maxWidth||0,Fs=Object.assign({autoencode:!0,noBOM:!0},kr.flags);var mp=[],Vp=function(Fc){return id.getStringUnitWidth(Fc,{font:_g,charSpace:Ml,fontSize:to,doKerning:!1})*to/Wh};if(Object.prototype.toString.call(ct)==="[object Array]"){var cf;Ua=Zh(ct),Ts!=="left"&&(Wu=Ua.map(Vp));var $f,Gp=0;if(Ts==="right"){an-=Wu[0],ct=[],Xd=Ua.length;for(var gp=0;gp<Xd;gp++)gp===0?($f=zh(an),cf=Kh($n)):($f=_r(Gp-Wu[gp]),cf=-Zp),ct.push([Ua[gp],$f,cf]),Gp=Wu[gp]}else if(Ts==="center"){an-=Wu[0]/2,ct=[],Xd=Ua.length;for(var B0=0;B0<Xd;B0++)B0===0?($f=zh(an),cf=Kh($n)):($f=_r((Gp-Wu[B0])/2),cf=-Zp),ct.push([Ua[B0],$f,cf]),Gp=Wu[B0]}else if(Ts==="left"){ct=[],Xd=Ua.length;for(var S0=0;S0<Xd;S0++)ct.push(Ua[S0])}else if(Ts==="justify"&&_g.encoding==="Identity-H"){ct=[],Xd=Ua.length,Xl=Xl!==0?Xl:yd;for(var km=0,Md=0;Md<Xd;Md++)if(cf=Md===0?Kh($n):-Zp,$f=Md===0?zh(an):km,Md<Xd-1){var Ig=_r((Xl-Wu[Md])/(Ua[Md].split(" ").length-1)),vh=Ua[Md].split(" ");ct.push([vh[0]+" ",$f,cf]),km=0;for(var yh=1;yh<vh.length;yh++){var Yp=(Vp(vh[yh-1]+" "+vh[yh])-Vp(vh[yh]))*Wh+Ig;yh==vh.length-1?ct.push([vh[yh],Yp,0]):ct.push([vh[yh]+" ",Yp,0]),km-=Yp}}else ct.push([Ua[Md],$f,cf]);ct.push(["",km,0])}else{if(Ts!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(ct=[],Xd=Ua.length,Xl=Xl!==0?Xl:yd,Md=0;Md<Xd;Md++){cf=Md===0?Kh($n):-Zp,$f=Md===0?zh(an):0;var Mm=Ua[Md].split(" ").length-1,og=Mm>0?(Xl-Wu[Md])/Mm:0;Md<Xd-1?mp.push(Yr(_r(og))):mp.push(0),ct.push([Ua[Md],$f,cf])}}}(typeof kr.R2L=="boolean"?kr.R2L:Ks)===!0&&(ct=Vh(ct,function(Fc,qc,Jd){return[Fc.split("").reverse().join(""),qc,Jd]})),ha={text:ct,x:an,y:$n,options:kr,mutex:{pdfEscape:If,activeFontKey:Os,fonts:mu,activeFontSize:to}},vc.publish("postProcessText",ha),ct=ha.text,aA=ha.mutex.isHex||!1;var _m=mu[Os].encoding;_m!=="WinAnsiEncoding"&&_m!=="StandardEncoding"||(ct=Vh(ct,function(Fc,qc,Jd){return[ql(Fc),qc,Jd]})),Ua=Zh(ct),ct=[];for(var J0,vp,Zu,yp=Array.isArray(Ua[0])?1:0,bp="",Xp=function(Fc,qc,Jd){var gA="";return Jd instanceof vl?(Jd=typeof kr.angle=="number"?z0(Jd,new vl(1,0,0,1,Fc,qc)):z0(new vl(1,0,0,1,Fc,qc),Jd),ar===Br&&(Jd=z0(new vl(1,0,0,-1,0,0),Jd)),gA=Jd.join(" ")+` Tm
`):gA=Yr(Fc)+" "+Yr(qc)+` Td
`,gA},bh=0;bh<Ua.length;bh++){switch(bp="",yp){case 1:Zu=(aA?"<":"(")+Ua[bh][0]+(aA?">":")"),J0=parseFloat(Ua[bh][1]),vp=parseFloat(Ua[bh][2]);break;case 0:Zu=(aA?"<":"(")+Ua[bh]+(aA?">":")"),J0=zh(an),vp=Kh($n)}mp!==void 0&&mp[bh]!==void 0&&(bp=mp[bh]+` Tw
`),bh===0?ct.push(bp+Xp(J0,vp,iA)+Zu):yp===0?ct.push(bp+Zu):yp===1&&ct.push(bp+Xp(J0,vp,iA)+Zu)}ct=yp===0?ct.join(` Tj
T* `):ct.join(` Tj
`),ct+=` Tj
`;var E0=`BT
/`;return E0+=Os+" "+to+` Tf
`,E0+=Yr(to*Y0)+` TL
`,E0+=Qp+`
`,E0+=KA,E0+=ct,jn(E0+="ET"),sn[Os]=!0,id};var Xg=Ct.__private__.clip=Ct.clip=function(ct){return jn(ct==="evenodd"?"W*":"W"),this};Ct.clipEvenOdd=function(){return Xg("evenodd")},Ct.__private__.discardPath=Ct.discardPath=function(){return jn("n"),this};var jh=Ct.__private__.isValidStyle=function(ct){var an=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(ct)!==-1&&(an=!0),an};Ct.__private__.setDefaultPathOperation=Ct.setDefaultPathOperation=function(ct){return jh(ct)&&(ft=ct),this};var Sg=Ct.__private__.getStyle=Ct.getStyle=function(ct){var an=ft;switch(ct){case"D":case"S":an="S";break;case"F":an="f";break;case"FD":case"DF":an="B";break;case"f":case"f*":case"B":case"B*":an=ct}return an},Eg=Ct.close=function(){return jn("h"),this};Ct.stroke=function(){return jn("S"),this},Ct.fill=function(ct){return hf("f",ct),this},Ct.fillEvenOdd=function(ct){return hf("f*",ct),this},Ct.fillStroke=function(ct){return hf("B",ct),this},Ct.fillStrokeEvenOdd=function(ct){return hf("B*",ct),this};var hf=function(ct,an){(0,he.Z)(an)==="object"?vd(an,ct):jn(ct)},Ku=function(ct){ct===null||ar===Br&&ct===void 0||(ct=Sg(ct),jn(ct))};function zA(ct,an,$n,kr,ai){var ha=new u0(an||this.boundingBox,$n||this.xStep,kr||this.yStep,this.gState,ai||this.matrix);ha.stream=this.stream;var Ua=ct+"$$"+this.cloneIndex+++"$$";return Gf(Ua,ha),ha}var vd=function(ct,an){var $n=Yc[ct.key],kr=Ys[$n];if(kr instanceof l0)jn("q"),jn(xm(an)),kr.gState&&Ct.setGState(kr.gState),jn(ct.matrix.toString()+" cm"),jn("/"+$n+" sh"),jn("Q");else if(kr instanceof u0){var ai=new vl(1,0,0,-1,0,fp());ct.matrix&&(ai=ai.multiply(ct.matrix||K0),$n=zA.call(kr,ct.key,ct.boundingBox,ct.xStep,ct.yStep,ai).id),jn("q"),jn("/Pattern cs"),jn("/"+$n+" scn"),kr.gState&&Ct.setGState(kr.gState),jn(an),jn("Q")}},xm=function(ct){switch(ct){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Cm=Ct.moveTo=function(ct,an){return jn(Yr(_r(ct))+" "+Yr(Er(an))+" m"),this},Hp=Ct.lineTo=function(ct,an){return jn(Yr(_r(ct))+" "+Yr(Er(an))+" l"),this},Qh=Ct.curveTo=function(ct,an,$n,kr,ai,ha){return jn([Yr(_r(ct)),Yr(Er(an)),Yr(_r($n)),Yr(Er(kr)),Yr(_r(ai)),Yr(Er(ha)),"c"].join(" ")),this};Ct.__private__.line=Ct.line=function(ct,an,$n,kr,ai){if(isNaN(ct)||isNaN(an)||isNaN($n)||isNaN(kr)||!jh(ai))throw new Error("Invalid arguments passed to jsPDF.line");return ar===Ir?this.lines([[$n-ct,kr-an]],ct,an,[1,1],ai||"S"):this.lines([[$n-ct,kr-an]],ct,an,[1,1]).stroke()},Ct.__private__.lines=Ct.lines=function(ct,an,$n,kr,ai,ha){var Ua,Es,Ts,Ml,Xl,Fs,kd,iA,id,Jc,aA,KA;if(typeof ct=="number"&&(KA=$n,$n=an,an=ct,ct=KA),kr=kr||[1,1],ha=ha||!1,isNaN(an)||isNaN($n)||!Array.isArray(ct)||!Array.isArray(kr)||!jh(ai)||typeof ha!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Cm(an,$n),Ua=kr[0],Es=kr[1],Ml=ct.length,Jc=an,aA=$n,Ts=0;Ts<Ml;Ts++)(Xl=ct[Ts]).length===2?(Jc=Xl[0]*Ua+Jc,aA=Xl[1]*Es+aA,Hp(Jc,aA)):(Fs=Xl[0]*Ua+Jc,kd=Xl[1]*Es+aA,iA=Xl[2]*Ua+Jc,id=Xl[3]*Es+aA,Jc=Xl[4]*Ua+Jc,aA=Xl[5]*Es+aA,Qh(Fs,kd,iA,id,Jc,aA));return ha&&Eg(),Ku(ai),this},Ct.path=function(ct){for(var an=0;an<ct.length;an++){var $n=ct[an],kr=$n.c;switch($n.op){case"m":Cm(kr[0],kr[1]);break;case"l":Hp(kr[0],kr[1]);break;case"c":Qh.apply(this,kr);break;case"h":Eg()}}return this},Ct.__private__.rect=Ct.rect=function(ct,an,$n,kr,ai){if(isNaN(ct)||isNaN(an)||isNaN($n)||isNaN(kr)||!jh(ai))throw new Error("Invalid arguments passed to jsPDF.rect");return ar===Ir&&(kr=-kr),jn([Yr(_r(ct)),Yr(Er(an)),Yr(_r($n)),Yr(_r(kr)),"re"].join(" ")),Ku(ai),this},Ct.__private__.triangle=Ct.triangle=function(ct,an,$n,kr,ai,ha,Ua){if(isNaN(ct)||isNaN(an)||isNaN($n)||isNaN(kr)||isNaN(ai)||isNaN(ha)||!jh(Ua))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[$n-ct,kr-an],[ai-$n,ha-kr],[ct-ai,an-ha]],ct,an,[1,1],Ua,!0),this},Ct.__private__.roundedRect=Ct.roundedRect=function(ct,an,$n,kr,ai,ha,Ua){if(isNaN(ct)||isNaN(an)||isNaN($n)||isNaN(kr)||isNaN(ai)||isNaN(ha)||!jh(Ua))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Es=4/3*(Math.SQRT2-1);return ai=Math.min(ai,.5*$n),ha=Math.min(ha,.5*kr),this.lines([[$n-2*ai,0],[ai*Es,0,ai,ha-ha*Es,ai,ha],[0,kr-2*ha],[0,ha*Es,-ai*Es,ha,-ai,ha],[2*ai-$n,0],[-ai*Es,0,-ai,-ha*Es,-ai,-ha],[0,2*ha-kr],[0,-ha*Es,ai*Es,-ha,ai,-ha]],ct+ai,an,[1,1],Ua,!0),this},Ct.__private__.ellipse=Ct.ellipse=function(ct,an,$n,kr,ai){if(isNaN(ct)||isNaN(an)||isNaN($n)||isNaN(kr)||!jh(ai))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ha=4/3*(Math.SQRT2-1)*$n,Ua=4/3*(Math.SQRT2-1)*kr;return Cm(ct+$n,an),Qh(ct+$n,an-Ua,ct+ha,an-kr,ct,an-kr),Qh(ct-ha,an-kr,ct-$n,an-Ua,ct-$n,an),Qh(ct-$n,an+Ua,ct-ha,an+kr,ct,an+kr),Qh(ct+ha,an+kr,ct+$n,an+Ua,ct+$n,an),Ku(ai),this},Ct.__private__.circle=Ct.circle=function(ct,an,$n,kr){if(isNaN(ct)||isNaN(an)||isNaN($n)||!jh(kr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(ct,an,$n,$n,kr)},Ct.setFont=function(ct,an,$n){return $n&&(an=Wi(an,$n)),Os=$m(ct,an,{disableWarning:!1}),this};var Jg=Ct.__private__.getFont=Ct.getFont=function(){return mu[$m.apply(Ct,arguments)]};Ct.__private__.getFontList=Ct.getFontList=function(){var ct,an,$n={};for(ct in bu)if(bu.hasOwnProperty(ct))for(an in $n[ct]=[],bu[ct])bu[ct].hasOwnProperty(an)&&$n[ct].push(an);return $n},Ct.addFont=function(ct,an,$n,kr,ai){var ha=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ha.indexOf(arguments[3])!==-1?ai=arguments[3]:arguments[3]&&ha.indexOf(arguments[3])==-1&&($n=Wi($n,kr)),xg.call(this,ct,an,$n,ai=ai||"Identity-H")};var jp,Bm=E.lineWidth||.200025,qg=Ct.__private__.getLineWidth=Ct.getLineWidth=function(){return Bm},Yl=Ct.__private__.setLineWidth=Ct.setLineWidth=function(ct){return Bm=ct,jn(Yr(_r(ct))+" w"),this};Ct.__private__.setLineDash=Ls.API.setLineDash=Ls.API.setLineDashPattern=function(ct,an){if(ct=ct||[],an=an||0,isNaN(an)||!Array.isArray(ct))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return ct=ct.map(function($n){return Yr(_r($n))}).join(" "),an=Yr(_r(an)),jn("["+ct+"] "+an+" d"),this};var $g=Ct.__private__.getLineHeight=Ct.getLineHeight=function(){return to*jp};Ct.__private__.getLineHeight=Ct.getLineHeight=function(){return to*jp};var ev=Ct.__private__.setLineHeightFactor=Ct.setLineHeightFactor=function(ct){return typeof(ct=ct||1.15)=="number"&&(jp=ct),this},tv=Ct.__private__.getLineHeightFactor=Ct.getLineHeightFactor=function(){return jp};ev(E.lineHeight);var zh=Ct.__private__.getHorizontalCoordinate=function(ct){return _r(ct)},Kh=Ct.__private__.getVerticalCoordinate=function(ct){return ar===Br?ct:cl[rr].mediaBox.topRightY-cl[rr].mediaBox.bottomLeftY-_r(ct)},nv=Ct.__private__.getHorizontalCoordinateString=Ct.getHorizontalCoordinateString=function(ct){return Yr(zh(ct))},tg=Ct.__private__.getVerticalCoordinateString=Ct.getVerticalCoordinateString=function(ct){return Yr(Kh(ct))},Sm=E.strokeColor||"0 G";Ct.__private__.getStrokeColor=Ct.getDrawColor=function(){return Xf(Sm)},Ct.__private__.setStrokeColor=Ct.setDrawColor=function(ct,an,$n,kr){return Sm=QA({ch1:ct,ch2:an,ch3:$n,ch4:kr,pdfColorType:"draw",precision:2}),jn(Sm),this};var Ap=E.fillColor||"0 g";Ct.__private__.getFillColor=Ct.getFillColor=function(){return Xf(Ap)},Ct.__private__.setFillColor=Ct.setFillColor=function(ct,an,$n,kr){return Ap=QA({ch1:ct,ch2:an,ch3:$n,ch4:kr,pdfColorType:"fill",precision:2}),jn(Ap),this};var Qp=E.textColor||"0 g",rv=Ct.__private__.getTextColor=Ct.getTextColor=function(){return Xf(Qp)};Ct.__private__.setTextColor=Ct.setTextColor=function(ct,an,$n,kr){return Qp=QA({ch1:ct,ch2:an,ch3:$n,ch4:kr,pdfColorType:"text",precision:3}),this};var y0=E.charSpace,Fg=Ct.__private__.getCharSpace=Ct.getCharSpace=function(){return parseFloat(y0||0)};Ct.__private__.setCharSpace=Ct.setCharSpace=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return y0=ct,this};var zp=0;Ct.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},Ct.__private__.setLineCap=Ct.setLineCap=function(ct){var an=Ct.CapJoinStyles[ct];if(an===void 0)throw new Error("Line cap style of '"+ct+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return zp=an,jn(an+" J"),this};var ng=0;Ct.__private__.setLineJoin=Ct.setLineJoin=function(ct){var an=Ct.CapJoinStyles[ct];if(an===void 0)throw new Error("Line join style of '"+ct+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ng=an,jn(an+" j"),this},Ct.__private__.setLineMiterLimit=Ct.__private__.setMiterLimit=Ct.setLineMiterLimit=Ct.setMiterLimit=function(ct){if(ct=ct||0,isNaN(ct))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return jn(Yr(_r(ct))+" M"),this},Ct.GState=kp,Ct.setGState=function(ct){(ct=typeof ct=="string"?kl[Gl[ct]]:kg(null,ct)).equals(Oc)||(jn("/"+ct.id+" gs"),Oc=ct)};var kg=function(ct,an){if(!ct||!Gl[ct]){var $n=!1;for(var kr in kl)if(kl.hasOwnProperty(kr)&&kl[kr].equals(an)){$n=!0;break}if($n)an=kl[kr];else{var ai="GS"+(Object.keys(kl).length+1).toString(10);kl[ai]=an,an.id=ai}return ct&&(Gl[ct]=an.id),vc.publish("addGState",an),an}};Ct.addGState=function(ct,an){return kg(ct,an),this},Ct.saveGraphicsState=function(){return jn("q"),gd.push({key:Os,size:to,color:Qp}),this},Ct.restoreGraphicsState=function(){jn("Q");var ct=gd.pop();return Os=ct.key,to=ct.size,Qp=ct.color,Oc=null,this},Ct.setCurrentTransformationMatrix=function(ct){return jn(ct.toString()+" cm"),this},Ct.comment=function(ct){return jn("#"+ct),this};var W0=function(ct,an){var $n=ct||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return $n},set:function(ha){isNaN(ha)||($n=parseFloat(ha))}});var kr=an||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return kr},set:function(ha){isNaN(ha)||(kr=parseFloat(ha))}});var ai="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ai},set:function(ha){ai=ha.toString()}}),this},b0=function(ct,an,$n,kr){W0.call(this,ct,an),this.type="rect";var ai=$n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ai},set:function(Ua){isNaN(Ua)||(ai=parseFloat(Ua))}});var ha=kr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ha},set:function(Ua){isNaN(Ua)||(ha=parseFloat(Ua))}}),this},pf=function(){this.page=Rl,this.currentPage=rr,this.pages=so.slice(0),this.pagesContext=cl.slice(0),this.x=Ws,this.y=Yd,this.matrix=qu,this.width=Em(rr),this.height=rg(rr),this.outputDestination=Zo,this.id="",this.objectNumber=-1};pf.prototype.restore=function(){Rl=this.page,rr=this.currentPage,cl=this.pagesContext,so=this.pages,Ws=this.x,Yd=this.y,qu=this.matrix,Fm(rr,this.width),w0(rr,this.height),Zo=this.outputDestination};var Kp=function(ct,an,$n,kr,ai){A0.push(new pf),Rl=rr=0,so=[],Ws=ct,Yd=an,qu=ai,Rp([$n,kr])};for(var Z0 in Ct.beginFormObject=function(ct,an,$n,kr,ai){return Kp(ct,an,$n,kr,ai),this},Ct.endFormObject=function(ct){return function(an){if(Q0[an])A0.pop().restore();else{var $n=new pf,kr="Xo"+(Object.keys(pA).length+1).toString(10);$n.id=kr,Q0[an]=kr,pA[kr]=$n,vc.publish("addFormObject",$n),A0.pop().restore()}}(ct),this},Ct.doFormObject=function(ct,an){var $n=pA[Q0[ct]];return jn("q"),jn(an.toString()+" cm"),jn("/"+$n.id+" Do"),jn("Q"),this},Ct.getFormObject=function(ct){var an=pA[Q0[ct]];return{x:an.x,y:an.y,width:an.width,height:an.height,matrix:an.matrix}},Ct.save=function(ct,an){return ct=ct||"generated.pdf",(an=an||{}).returnPromise=an.returnPromise||!1,an.returnPromise===!1?(Ph(Up(g0()),ct),typeof Ph.unload=="function"&&Us.setTimeout&&setTimeout(Ph.unload,911),this):new Promise(function($n,kr){try{var ai=Ph(Up(g0()),ct);typeof Ph.unload=="function"&&Us.setTimeout&&setTimeout(Ph.unload,911),$n(ai)}catch(ha){kr(ha.message)}})},Ls.API)Ls.API.hasOwnProperty(Z0)&&(Z0==="events"&&Ls.API.events.length?function(ct,an){var $n,kr,ai;for(ai=an.length-1;ai!==-1;ai--)$n=an[ai][0],kr=an[ai][1],ct.subscribe.apply(ct,[$n].concat(typeof kr=="function"?[kr]:kr))}(vc,Ls.API.events):Ct[Z0]=Ls.API[Z0]);function Em(ct){return cl[ct].mediaBox.topRightX-cl[ct].mediaBox.bottomLeftX}function Fm(ct,an){cl[ct].mediaBox.topRightX=an+cl[ct].mediaBox.bottomLeftX}function rg(ct){return cl[ct].mediaBox.topRightY-cl[ct].mediaBox.bottomLeftY}function w0(ct,an){cl[ct].mediaBox.topRightY=an+cl[ct].mediaBox.bottomLeftY}var V0=Ct.getPageWidth=function(ct){return Em(ct=ct||rr)/nu},G0=Ct.setPageWidth=function(ct,an){Fm(ct,an*nu)},fp=Ct.getPageHeight=function(ct){return rg(ct=ct||rr)/nu},ig=Ct.setPageHeight=function(ct,an){w0(ct,an*nu)};return Ct.internal={pdfEscape:If,getStyle:Sg,getFont:Jg,getFontSize:qo,getCharSpace:Fg,getTextColor:rv,getLineHeight:$g,getLineHeightFactor:tv,getLineWidth:qg,write:Xo,getHorizontalCoordinate:zh,getVerticalCoordinate:Kh,getCoordinateString:nv,getVerticalCoordinateString:tg,collections:{},newObject:Pd,newAdditionalObject:f0,newObjectDeferred:rc,newObjectDeferredBegin:Xc,getFilters:Jf,putStream:mh,events:vc,scaleFactor:nu,pageSize:{getWidth:function(){return V0(rr)},setWidth:function(ct){G0(rr,ct)},getHeight:function(){return fp(rr)},setHeight:function(ct){ig(rr,ct)}},encryptionOptions:Et,encryption:mA,getEncryptor:function(ct){return Et!==null?mA.encryptor(ct,0):function(an){return an}},output:Cg,getNumberOfPages:ym,get pages(){return so},out:jn,f2:yn,f3:Gn,getPageInfo:v0,getPageInfoByObjId:Bg,getCurrentPageInfo:wm,getPDFVersion:In,Point:W0,Rectangle:b0,Matrix:vl,hasHotfix:uf},Object.defineProperty(Ct.internal.pageSize,"width",{get:function(){return V0(rr)},set:function(ct){G0(rr,ct)},enumerable:!0,configurable:!0}),Object.defineProperty(Ct.internal.pageSize,"height",{get:function(){return fp(rr)},set:function(ct){ig(rr,ct)},enumerable:!0,configurable:!0}),function(ct){for(var an=0,$n=gl.length;an<$n;an++){var kr=xg.call(this,ct[an][0],ct[an][1],ct[an][2],gl[an][3],!0);en===!1&&(sn[kr]=!0);var ai=ct[an][0].split("-");wg({id:kr,fontName:ai[0],fontStyle:ai[1]||""})}vc.publish("addFonts",{fonts:mu,dictionary:bu})}.call(Ct,gl),Os="F1",Jm(ge,te),vc.publish("initialized"),Ct}Ah.prototype.lsbFirstWord=function(E){return String.fromCharCode(255&E,E>>8&255,E>>16&255,E>>24&255)},Ah.prototype.toHexString=function(E){return E.split("").map(function(ne){return("0"+(255&ne.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Ah.prototype.hexToBytes=function(E){for(var ne=[],te=0;te<E.length;te+=2)ne.push(String.fromCharCode(parseInt(E.substr(te,2),16)));return ne.join("")},Ah.prototype.processOwnerPassword=function(E,ne){return Gd(H0(ne).substr(0,5),E)},Ah.prototype.encryptor=function(E,ne){var te=H0(this.encryptionKey+String.fromCharCode(255&E,E>>8&255,E>>16&255,255&ne,ne>>8&255)).substr(0,10);return function(de){return Gd(te,de)}},kp.prototype.equals=function(E){var ne,te="id,objectNumber,equals";if(!E||(0,he.Z)(E)!==(0,he.Z)(this))return!1;var de=0;for(ne in this)if(!(te.indexOf(ne)>=0)){if(this.hasOwnProperty(ne)&&!E.hasOwnProperty(ne)||this[ne]!==E[ne])return!1;de++}for(ne in E)E.hasOwnProperty(ne)&&te.indexOf(ne)<0&&de--;return de===0},Ls.API={events:[]},Ls.version="3.0.4";var Qc=Ls.API,j0=1,Rh=function(E){return E.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},kf=function(E){return E.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ll=function(E){return E.toFixed(2)},c0=function(E){return E.toFixed(5)};Qc.__acroform__={};var UA=function(E,ne){E.prototype=Object.create(ne.prototype),E.prototype.constructor=E},pm=function(E){return E*j0},Qf=function(E){var ne=new ea,te=xo.internal.getHeight(E)||0,de=xo.internal.getWidth(E)||0;return ne.BBox=[0,0,Number(ll(de)),Number(ll(te))],ne},jg=Qc.__acroform__.setBit=function(E,ne){if(E=E||0,ne=ne||0,isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return E|1<<ne},Qg=Qc.__acroform__.clearBit=function(E,ne){if(E=E||0,ne=ne||0,isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return E&~(1<<ne)},zg=Qc.__acroform__.getBit=function(E,ne){if(isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return E&1<<ne?1:0},Fd=Qc.__acroform__.getBitForPdf=function(E,ne){if(isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return zg(E,ne-1)},Ee=Qc.__acroform__.setBitForPdf=function(E,ne){if(isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return jg(E,ne-1)},be=Qc.__acroform__.clearBitForPdf=function(E,ne){if(isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Qg(E,ne-1)},De=Qc.__acroform__.calculateCoordinates=function(E,ne){var te=ne.internal.getHorizontalCoordinate,de=ne.internal.getVerticalCoordinate,ge=E[0],Ce=E[1],nt=E[2],Ge=E[3],ot={};return ot.lowerLeft_X=te(ge)||0,ot.lowerLeft_Y=de(Ce+Ge)||0,ot.upperRight_X=te(ge+nt)||0,ot.upperRight_Y=de(Ce)||0,[Number(ll(ot.lowerLeft_X)),Number(ll(ot.lowerLeft_Y)),Number(ll(ot.upperRight_X)),Number(ll(ot.upperRight_Y))]},Ie=function(E){if(E.appearanceStreamContent)return E.appearanceStreamContent;if(E.V||E.DV){var ne=[],te=E._V||E.DV,de=yt(E,te),ge=E.scope.internal.getFont(E.fontName,E.fontStyle).id;ne.push("/Tx BMC"),ne.push("q"),ne.push("BT"),ne.push(E.scope.__private__.encodeColorString(E.color)),ne.push("/"+ge+" "+ll(de.fontSize)+" Tf"),ne.push("1 0 0 1 0 0 Tm"),ne.push(de.text),ne.push("ET"),ne.push("Q"),ne.push("EMC");var Ce=Qf(E);return Ce.scope=E.scope,Ce.stream=ne.join(`
`),Ce}},yt=function(E,ne){var te=E.fontSize===0?E.maxFontSize:E.fontSize,de={text:"",fontSize:""},ge=(ne=(ne=ne.substr(0,1)=="("?ne.substr(1):ne).substr(ne.length-1)==")"?ne.substr(0,ne.length-1):ne).split(" ");ge=E.multiline?ge.map(function(yn){return yn.split(`
`)}):ge.map(function(yn){return[yn]});var Ce=te,nt=xo.internal.getHeight(E)||0;nt=nt<0?-nt:nt;var Ge=xo.internal.getWidth(E)||0;Ge=Ge<0?-Ge:Ge;var ot=function(yn,Gn,_r){if(yn+1<ge.length){var Er=Gn+" "+ge[yn+1][0];return Kt(Er,E,_r).width<=Ge-4}return!1};Ce++;e:for(;Ce>0;){ne="",Ce--;var ft,Et,en=Kt("3",E,Ce).height,sn=E.multiline?nt-Ce:(nt-en)/2,Ct=sn+=2,Hn=0,In=0,Zn=0;if(Ce<=0){ne=`(...) Tj
`,ne+="% Width of Text: "+Kt(ne,E,Ce=12).width+", FieldWidth:"+Ge+`
`;break}for(var wn="",Ir=0,Br=0;Br<ge.length;Br++)if(ge.hasOwnProperty(Br)){var ar=!1;if(ge[Br].length!==1&&Zn!==ge[Br].length-1){if((en+2)*(Ir+2)+2>nt)continue e;wn+=ge[Br][Zn],ar=!0,In=Br,Br--}else{wn=(wn+=ge[Br][Zn]+" ").substr(wn.length-1)==" "?wn.substr(0,wn.length-1):wn;var wi=parseInt(Br),ta=ot(wi,wn,Ce),Wi=Br>=ge.length-1;if(ta&&!Wi){wn+=" ",Zn=0;continue}if(ta||Wi){if(Wi)In=wi;else if(E.multiline&&(en+2)*(Ir+2)+2>nt)continue e}else{if(!E.multiline||(en+2)*(Ir+2)+2>nt)continue e;In=wi}}for(var Yr="",sr=Hn;sr<=In;sr++){var ci=ge[sr];if(E.multiline){if(sr===In){Yr+=ci[Zn]+" ",Zn=(Zn+1)%ci.length;continue}if(sr===Hn){Yr+=ci[ci.length-1]+" ";continue}}Yr+=ci[0]+" "}switch(Yr=Yr.substr(Yr.length-1)==" "?Yr.substr(0,Yr.length-1):Yr,Et=Kt(Yr,E,Ce).width,E.textAlign){case"right":ft=Ge-Et-2;break;case"center":ft=(Ge-Et)/2;break;default:ft=2}ne+=ll(ft)+" "+ll(Ct)+` Td
`,ne+="("+Rh(Yr)+`) Tj
`,ne+=-ll(ft)+` 0 Td
`,Ct=-(Ce+2),Et=0,Hn=ar?In:In+1,Ir++,wn=""}break}return de.text=ne,de.fontSize=Ce,de},Kt=function(E,ne,te){var de=ne.scope.internal.getFont(ne.fontName,ne.fontStyle),ge=ne.scope.getStringUnitWidth(E,{font:de,fontSize:parseFloat(te),charSpace:0})*parseFloat(te);return{height:ne.scope.getStringUnitWidth("3",{font:de,fontSize:parseFloat(te),charSpace:0})*parseFloat(te)*1.5,width:ge}},un={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Pn=function(E,ne){var te={type:"reference",object:E};ne.internal.getPageInfo(E.page).pageContext.annotations.find(function(de){return de.type===te.type&&de.object===te.object})===void 0&&ne.internal.getPageInfo(E.page).pageContext.annotations.push(te)},Rn=function(E,ne){if(ne.scope=E,E.internal!==void 0&&(E.internal.acroformPlugin===void 0||E.internal.acroformPlugin.isInitialized===!1)){if(eo.FieldNum=0,E.internal.acroformPlugin=JSON.parse(JSON.stringify(un)),E.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");j0=E.internal.scaleFactor,E.internal.acroformPlugin.acroFormDictionaryRoot=new ns,E.internal.acroformPlugin.acroFormDictionaryRoot.scope=E,E.internal.acroformPlugin.acroFormDictionaryRoot._eventID=E.internal.events.subscribe("postPutResources",function(){(function(te){te.internal.events.unsubscribe(te.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete te.internal.acroformPlugin.acroFormDictionaryRoot._eventID,te.internal.acroformPlugin.printedOut=!0})(E)}),E.internal.events.subscribe("buildDocument",function(){(function(te){te.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var de=te.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var ge in de)if(de.hasOwnProperty(ge)){var Ce=de[ge];Ce.objId=void 0,Ce.hasAnnotation&&Pn(Ce,te)}})(E)}),E.internal.events.subscribe("putCatalog",function(){(function(te){if(te.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");te.internal.write("/AcroForm "+te.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(E)}),E.internal.events.subscribe("postPutPages",function(te){(function(de,ge){var Ce=!de;for(var nt in de||(ge.internal.newObjectDeferredBegin(ge.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),ge.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),de=de||ge.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(de.hasOwnProperty(nt)){var Ge=de[nt],ot=[],ft=Ge.Rect;if(Ge.Rect&&(Ge.Rect=De(Ge.Rect,ge)),ge.internal.newObjectDeferredBegin(Ge.objId,!0),Ge.DA=xo.createDefaultAppearanceStream(Ge),(0,he.Z)(Ge)==="object"&&typeof Ge.getKeyValueListForStream=="function"&&(ot=Ge.getKeyValueListForStream()),Ge.Rect=ft,Ge.hasAppearanceStream&&!Ge.appearanceStreamContent){var Et=Ie(Ge);ot.push({key:"AP",value:"<</N "+Et+">>"}),ge.internal.acroformPlugin.xForms.push(Et)}if(Ge.appearanceStreamContent){var en="";for(var sn in Ge.appearanceStreamContent)if(Ge.appearanceStreamContent.hasOwnProperty(sn)){var Ct=Ge.appearanceStreamContent[sn];if(en+="/"+sn+" ",en+="<<",Object.keys(Ct).length>=1||Array.isArray(Ct)){for(var nt in Ct)if(Ct.hasOwnProperty(nt)){var Hn=Ct[nt];typeof Hn=="function"&&(Hn=Hn.call(ge,Ge)),en+="/"+nt+" "+Hn+" ",ge.internal.acroformPlugin.xForms.indexOf(Hn)>=0||ge.internal.acroformPlugin.xForms.push(Hn)}}else typeof(Hn=Ct)=="function"&&(Hn=Hn.call(ge,Ge)),en+="/"+nt+" "+Hn,ge.internal.acroformPlugin.xForms.indexOf(Hn)>=0||ge.internal.acroformPlugin.xForms.push(Hn);en+=">>"}ot.push({key:"AP",value:`<<
`+en+">>"})}ge.internal.putStream({additionalKeyValues:ot,objectId:Ge.objId}),ge.internal.out("endobj")}Ce&&function(In,Zn){for(var wn in In)if(In.hasOwnProperty(wn)){var Ir=wn,Br=In[wn];Zn.internal.newObjectDeferredBegin(Br.objId,!0),(0,he.Z)(Br)==="object"&&typeof Br.putStream=="function"&&Br.putStream(),delete In[Ir]}}(ge.internal.acroformPlugin.xForms,ge)})(te,E)}),E.internal.acroformPlugin.isInitialized=!0}},zr=Qc.__acroform__.arrayToPdfArray=function(E,ne,te){var de=function(nt){return nt};if(Array.isArray(E)){for(var ge="[",Ce=0;Ce<E.length;Ce++)switch(Ce!==0&&(ge+=" "),(0,he.Z)(E[Ce])){case"boolean":case"number":case"object":ge+=E[Ce].toString();break;case"string":E[Ce].substr(0,1)!=="/"?(ne!==void 0&&te&&(de=te.internal.getEncryptor(ne)),ge+="("+Rh(de(E[Ce].toString()))+")"):ge+=E[Ce].toString()}return ge+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},qr=function(E,ne,te){var de=function(ge){return ge};return ne!==void 0&&te&&(de=te.internal.getEncryptor(ne)),(E=E||"").toString(),"("+Rh(de(E))+")"},ri=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(E){this._objId=E}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ri.prototype.toString=function(){return this.objId+" 0 R"},ri.prototype.putStream=function(){var E=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:E,objectId:this.objId}),this.scope.internal.out("endobj")},ri.prototype.getKeyValueListForStream=function(){var E=[],ne=Object.getOwnPropertyNames(this).filter(function(Ce){return Ce!="content"&&Ce!="appearanceStreamContent"&&Ce!="scope"&&Ce!="objId"&&Ce.substring(0,1)!="_"});for(var te in ne)if(Object.getOwnPropertyDescriptor(this,ne[te]).configurable===!1){var de=ne[te],ge=this[de];ge&&(Array.isArray(ge)?E.push({key:de,value:zr(ge,this.objId,this.scope)}):ge instanceof ri?(ge.scope=this.scope,E.push({key:de,value:ge.objId+" 0 R"})):typeof ge!="function"&&E.push({key:de,value:ge}))}return E};var ea=function(){ri.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var E,ne=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return ne},set:function(te){ne=te}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(te){E=te.trim()},get:function(){return E||null}})};UA(ea,ri);var ns=function(){ri.call(this);var E,ne=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return ne.length>0?ne:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return ne}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(E){var te=function(de){return de};return this.scope&&(te=this.scope.internal.getEncryptor(this.objId)),"("+Rh(te(E))+")"}},set:function(te){E=te}})};UA(ns,ri);var eo=function E(){ri.call(this);var ne=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return ne},set:function(wn){if(isNaN(wn))throw new Error('Invalid value "'+wn+'" for attribute F supplied.');ne=wn}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Fd(ne,3)},set:function(wn){wn?this.F=Ee(ne,3):this.F=be(ne,3)}});var te=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return te},set:function(wn){if(isNaN(wn))throw new Error('Invalid value "'+wn+'" for attribute Ff supplied.');te=wn}});var de=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(de.length!==0)return de},set:function(wn){de=wn!==void 0?wn:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!de||isNaN(de[0])?0:de[0]},set:function(wn){de[0]=wn}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!de||isNaN(de[1])?0:de[1]},set:function(wn){de[1]=wn}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!de||isNaN(de[2])?0:de[2]},set:function(wn){de[2]=wn}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!de||isNaN(de[3])?0:de[3]},set:function(wn){de[3]=wn}});var ge="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return ge},set:function(wn){switch(wn){case"/Btn":case"/Tx":case"/Ch":case"/Sig":ge=wn;break;default:throw new Error('Invalid value "'+wn+'" for attribute FT supplied.')}}});var Ce=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Ce||Ce.length<1){if(this instanceof Yo)return;Ce="FieldObject"+E.FieldNum++}var wn=function(Ir){return Ir};return this.scope&&(wn=this.scope.internal.getEncryptor(this.objId)),"("+Rh(wn(Ce))+")"},set:function(wn){Ce=wn.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Ce},set:function(wn){Ce=wn}});var nt="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return nt},set:function(wn){nt=wn}});var Ge="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Ge},set:function(wn){Ge=wn}});var ot=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ot},set:function(wn){ot=wn}});var ft=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return ft===void 0?50/j0:ft},set:function(wn){ft=wn}});var Et="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Et},set:function(wn){Et=wn}});var en="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!en||this instanceof Yo||this instanceof Dl))return qr(en,this.objId,this.scope)},set:function(wn){wn=wn.toString(),en=wn}});var sn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(sn)return this instanceof dl==0?qr(sn,this.objId,this.scope):sn},set:function(wn){wn=wn.toString(),sn=this instanceof dl==0?wn.substr(0,1)==="("?kf(wn.substr(1,wn.length-2)):kf(wn):wn}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof dl==1?kf(sn.substr(1,sn.length-1)):sn},set:function(wn){wn=wn.toString(),sn=this instanceof dl==1?"/"+wn:wn}});var Ct=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(Ct)return Ct},set:function(wn){this.V=wn}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Ct)return this instanceof dl==0?qr(Ct,this.objId,this.scope):Ct},set:function(wn){wn=wn.toString(),Ct=this instanceof dl==0?wn.substr(0,1)==="("?kf(wn.substr(1,wn.length-2)):kf(wn):wn}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof dl==1?kf(Ct.substr(1,Ct.length-1)):Ct},set:function(wn){wn=wn.toString(),Ct=this instanceof dl==1?"/"+wn:wn}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var Hn,In=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return In},set:function(wn){wn=!!wn,In=wn}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Hn)return Hn},set:function(wn){Hn=wn}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,1)},set:function(wn){wn?this.Ff=Ee(this.Ff,1):this.Ff=be(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,2)},set:function(wn){wn?this.Ff=Ee(this.Ff,2):this.Ff=be(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,3)},set:function(wn){wn?this.Ff=Ee(this.Ff,3):this.Ff=be(this.Ff,3)}});var Zn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Zn!==null)return Zn},set:function(wn){if([0,1,2].indexOf(wn)===-1)throw new Error('Invalid value "'+wn+'" for attribute Q supplied.');Zn=wn}}),Object.defineProperty(this,"textAlign",{get:function(){var wn;switch(Zn){case 0:default:wn="left";break;case 1:wn="center";break;case 2:wn="right"}return wn},configurable:!0,enumerable:!0,set:function(wn){switch(wn){case"right":case 2:Zn=2;break;case"center":case 1:Zn=1;break;default:Zn=0}}})};UA(eo,ri);var No=function(){eo.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var E=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return E},set:function(te){E=te}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return E},set:function(te){E=te}});var ne=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return zr(ne,this.objId,this.scope)},set:function(te){var de,ge;ge=[],typeof(de=te)=="string"&&(ge=function(Ce,nt,Ge){Ge||(Ge=1);for(var ot,ft=[];ot=nt.exec(Ce);)ft.push(ot[Ge]);return ft}(de,/\((.*?)\)/g)),ne=ge}}),this.getOptions=function(){return ne},this.setOptions=function(te){ne=te,this.sort&&ne.sort()},this.addOption=function(te){te=(te=te||"").toString(),ne.push(te),this.sort&&ne.sort()},this.removeOption=function(te,de){for(de=de||!1,te=(te=te||"").toString();ne.indexOf(te)!==-1&&(ne.splice(ne.indexOf(te),1),de!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,18)},set:function(te){te?this.Ff=Ee(this.Ff,18):this.Ff=be(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,19)},set:function(te){this.combo===!0&&(te?this.Ff=Ee(this.Ff,19):this.Ff=be(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,20)},set:function(te){te?(this.Ff=Ee(this.Ff,20),ne.sort()):this.Ff=be(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,22)},set:function(te){te?this.Ff=Ee(this.Ff,22):this.Ff=be(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,23)},set:function(te){te?this.Ff=Ee(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,27)},set:function(te){te?this.Ff=Ee(this.Ff,27):this.Ff=be(this.Ff,27)}}),this.hasAppearanceStream=!1};UA(No,eo);var El=function(){No.call(this),this.fontName="helvetica",this.combo=!1};UA(El,No);var ds=function(){El.call(this),this.combo=!0};UA(ds,El);var ls=function(){ds.call(this),this.edit=!0};UA(ls,ds);var dl=function(){eo.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,15)},set:function(te){te?this.Ff=Ee(this.Ff,15):this.Ff=be(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,16)},set:function(te){te?this.Ff=Ee(this.Ff,16):this.Ff=be(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,17)},set:function(te){te?this.Ff=Ee(this.Ff,17):this.Ff=be(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,26)},set:function(te){te?this.Ff=Ee(this.Ff,26):this.Ff=be(this.Ff,26)}});var E,ne={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var te=function(Ce){return Ce};if(this.scope&&(te=this.scope.internal.getEncryptor(this.objId)),Object.keys(ne).length!==0){var de,ge=[];for(de in ge.push("<<"),ne)ge.push("/"+de+" ("+Rh(te(ne[de]))+")");return ge.push(">>"),ge.join(`
`)}},set:function(te){(0,he.Z)(te)==="object"&&(ne=te)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return ne.CA||""},set:function(te){typeof te=="string"&&(ne.CA=te)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return E},set:function(te){E=te}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return E.substr(1,E.length-1)},set:function(te){E="/"+te}})};UA(dl,eo);var zl=function(){dl.call(this),this.pushButton=!0};UA(zl,dl);var nl=function(){dl.call(this),this.radio=!0,this.pushButton=!1;var E=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return E},set:function(ne){E=ne!==void 0?ne:[]}})};UA(nl,dl);var Yo=function(){var E,ne;eo.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return E},set:function(ge){E=ge}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ge){ne=ge}});var te,de={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var ge=function(Ge){return Ge};this.scope&&(ge=this.scope.internal.getEncryptor(this.objId));var Ce,nt=[];for(Ce in nt.push("<<"),de)nt.push("/"+Ce+" ("+Rh(ge(de[Ce]))+")");return nt.push(">>"),nt.join(`
`)},set:function(ge){(0,he.Z)(ge)==="object"&&(de=ge)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return de.CA||""},set:function(ge){typeof ge=="string"&&(de.CA=ge)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return te},set:function(ge){te=ge}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return te.substr(1,te.length-1)},set:function(ge){te="/"+ge}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=xo.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};UA(Yo,eo),nl.prototype.setAppearance=function(E){if(!("createAppearanceStream"in E)||!("getCA"in E))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var ne in this.Kids)if(this.Kids.hasOwnProperty(ne)){var te=this.Kids[ne];te.appearanceStreamContent=E.createAppearanceStream(te.optionName),te.caption=E.getCA()}},nl.prototype.createOption=function(E){var ne=new Yo;return ne.Parent=this,ne.optionName=E,this.Kids.push(ne),nA.call(this.scope,ne),ne};var uu=function(){dl.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=xo.CheckBox.createAppearanceStream()};UA(uu,dl);var Dl=function(){eo.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,13)},set:function(ne){ne?this.Ff=Ee(this.Ff,13):this.Ff=be(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,21)},set:function(ne){ne?this.Ff=Ee(this.Ff,21):this.Ff=be(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,23)},set:function(ne){ne?this.Ff=Ee(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,24)},set:function(ne){ne?this.Ff=Ee(this.Ff,24):this.Ff=be(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,25)},set:function(ne){ne?this.Ff=Ee(this.Ff,25):this.Ff=be(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,26)},set:function(ne){ne?this.Ff=Ee(this.Ff,26):this.Ff=be(this.Ff,26)}});var E=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return E},set:function(ne){E=ne}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return E},set:function(ne){Number.isInteger(ne)&&(E=ne)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};UA(Dl,eo);var Al=function(){Dl.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Fd(this.Ff,14)},set:function(E){E?this.Ff=Ee(this.Ff,14):this.Ff=be(this.Ff,14)}}),this.password=!0};UA(Al,Dl);var xo={CheckBox:{createAppearanceStream:function(){return{N:{On:xo.CheckBox.YesNormal},D:{On:xo.CheckBox.YesPushDown,Off:xo.CheckBox.OffPushDown}}},YesPushDown:function(E){var ne=Qf(E);ne.scope=E.scope;var te=[],de=E.scope.internal.getFont(E.fontName,E.fontStyle).id,ge=E.scope.__private__.encodeColorString(E.color),Ce=yt(E,E.caption);return te.push("0.749023 g"),te.push("0 0 "+ll(xo.internal.getWidth(E))+" "+ll(xo.internal.getHeight(E))+" re"),te.push("f"),te.push("BMC"),te.push("q"),te.push("0 0 1 rg"),te.push("/"+de+" "+ll(Ce.fontSize)+" Tf "+ge),te.push("BT"),te.push(Ce.text),te.push("ET"),te.push("Q"),te.push("EMC"),ne.stream=te.join(`
`),ne},YesNormal:function(E){var ne=Qf(E);ne.scope=E.scope;var te=E.scope.internal.getFont(E.fontName,E.fontStyle).id,de=E.scope.__private__.encodeColorString(E.color),ge=[],Ce=xo.internal.getHeight(E),nt=xo.internal.getWidth(E),Ge=yt(E,E.caption);return ge.push("1 g"),ge.push("0 0 "+ll(nt)+" "+ll(Ce)+" re"),ge.push("f"),ge.push("q"),ge.push("0 0 1 rg"),ge.push("0 0 "+ll(nt-1)+" "+ll(Ce-1)+" re"),ge.push("W"),ge.push("n"),ge.push("0 g"),ge.push("BT"),ge.push("/"+te+" "+ll(Ge.fontSize)+" Tf "+de),ge.push(Ge.text),ge.push("ET"),ge.push("Q"),ne.stream=ge.join(`
`),ne},OffPushDown:function(E){var ne=Qf(E);ne.scope=E.scope;var te=[];return te.push("0.749023 g"),te.push("0 0 "+ll(xo.internal.getWidth(E))+" "+ll(xo.internal.getHeight(E))+" re"),te.push("f"),ne.stream=te.join(`
`),ne}},RadioButton:{Circle:{createAppearanceStream:function(E){var ne={D:{Off:xo.RadioButton.Circle.OffPushDown},N:{}};return ne.N[E]=xo.RadioButton.Circle.YesNormal,ne.D[E]=xo.RadioButton.Circle.YesPushDown,ne},getCA:function(){return"l"},YesNormal:function(E){var ne=Qf(E);ne.scope=E.scope;var te=[],de=xo.internal.getWidth(E)<=xo.internal.getHeight(E)?xo.internal.getWidth(E)/4:xo.internal.getHeight(E)/4;de=Number((.9*de).toFixed(5));var ge=xo.internal.Bezier_C,Ce=Number((de*ge).toFixed(5));return te.push("q"),te.push("1 0 0 1 "+c0(xo.internal.getWidth(E)/2)+" "+c0(xo.internal.getHeight(E)/2)+" cm"),te.push(de+" 0 m"),te.push(de+" "+Ce+" "+Ce+" "+de+" 0 "+de+" c"),te.push("-"+Ce+" "+de+" -"+de+" "+Ce+" -"+de+" 0 c"),te.push("-"+de+" -"+Ce+" -"+Ce+" -"+de+" 0 -"+de+" c"),te.push(Ce+" -"+de+" "+de+" -"+Ce+" "+de+" 0 c"),te.push("f"),te.push("Q"),ne.stream=te.join(`
`),ne},YesPushDown:function(E){var ne=Qf(E);ne.scope=E.scope;var te=[],de=xo.internal.getWidth(E)<=xo.internal.getHeight(E)?xo.internal.getWidth(E)/4:xo.internal.getHeight(E)/4;de=Number((.9*de).toFixed(5));var ge=Number((2*de).toFixed(5)),Ce=Number((ge*xo.internal.Bezier_C).toFixed(5)),nt=Number((de*xo.internal.Bezier_C).toFixed(5));return te.push("0.749023 g"),te.push("q"),te.push("1 0 0 1 "+c0(xo.internal.getWidth(E)/2)+" "+c0(xo.internal.getHeight(E)/2)+" cm"),te.push(ge+" 0 m"),te.push(ge+" "+Ce+" "+Ce+" "+ge+" 0 "+ge+" c"),te.push("-"+Ce+" "+ge+" -"+ge+" "+Ce+" -"+ge+" 0 c"),te.push("-"+ge+" -"+Ce+" -"+Ce+" -"+ge+" 0 -"+ge+" c"),te.push(Ce+" -"+ge+" "+ge+" -"+Ce+" "+ge+" 0 c"),te.push("f"),te.push("Q"),te.push("0 g"),te.push("q"),te.push("1 0 0 1 "+c0(xo.internal.getWidth(E)/2)+" "+c0(xo.internal.getHeight(E)/2)+" cm"),te.push(de+" 0 m"),te.push(de+" "+nt+" "+nt+" "+de+" 0 "+de+" c"),te.push("-"+nt+" "+de+" -"+de+" "+nt+" -"+de+" 0 c"),te.push("-"+de+" -"+nt+" -"+nt+" -"+de+" 0 -"+de+" c"),te.push(nt+" -"+de+" "+de+" -"+nt+" "+de+" 0 c"),te.push("f"),te.push("Q"),ne.stream=te.join(`
`),ne},OffPushDown:function(E){var ne=Qf(E);ne.scope=E.scope;var te=[],de=xo.internal.getWidth(E)<=xo.internal.getHeight(E)?xo.internal.getWidth(E)/4:xo.internal.getHeight(E)/4;de=Number((.9*de).toFixed(5));var ge=Number((2*de).toFixed(5)),Ce=Number((ge*xo.internal.Bezier_C).toFixed(5));return te.push("0.749023 g"),te.push("q"),te.push("1 0 0 1 "+c0(xo.internal.getWidth(E)/2)+" "+c0(xo.internal.getHeight(E)/2)+" cm"),te.push(ge+" 0 m"),te.push(ge+" "+Ce+" "+Ce+" "+ge+" 0 "+ge+" c"),te.push("-"+Ce+" "+ge+" -"+ge+" "+Ce+" -"+ge+" 0 c"),te.push("-"+ge+" -"+Ce+" -"+Ce+" -"+ge+" 0 -"+ge+" c"),te.push(Ce+" -"+ge+" "+ge+" -"+Ce+" "+ge+" 0 c"),te.push("f"),te.push("Q"),ne.stream=te.join(`
`),ne}},Cross:{createAppearanceStream:function(E){var ne={D:{Off:xo.RadioButton.Cross.OffPushDown},N:{}};return ne.N[E]=xo.RadioButton.Cross.YesNormal,ne.D[E]=xo.RadioButton.Cross.YesPushDown,ne},getCA:function(){return"8"},YesNormal:function(E){var ne=Qf(E);ne.scope=E.scope;var te=[],de=xo.internal.calculateCross(E);return te.push("q"),te.push("1 1 "+ll(xo.internal.getWidth(E)-2)+" "+ll(xo.internal.getHeight(E)-2)+" re"),te.push("W"),te.push("n"),te.push(ll(de.x1.x)+" "+ll(de.x1.y)+" m"),te.push(ll(de.x2.x)+" "+ll(de.x2.y)+" l"),te.push(ll(de.x4.x)+" "+ll(de.x4.y)+" m"),te.push(ll(de.x3.x)+" "+ll(de.x3.y)+" l"),te.push("s"),te.push("Q"),ne.stream=te.join(`
`),ne},YesPushDown:function(E){var ne=Qf(E);ne.scope=E.scope;var te=xo.internal.calculateCross(E),de=[];return de.push("0.749023 g"),de.push("0 0 "+ll(xo.internal.getWidth(E))+" "+ll(xo.internal.getHeight(E))+" re"),de.push("f"),de.push("q"),de.push("1 1 "+ll(xo.internal.getWidth(E)-2)+" "+ll(xo.internal.getHeight(E)-2)+" re"),de.push("W"),de.push("n"),de.push(ll(te.x1.x)+" "+ll(te.x1.y)+" m"),de.push(ll(te.x2.x)+" "+ll(te.x2.y)+" l"),de.push(ll(te.x4.x)+" "+ll(te.x4.y)+" m"),de.push(ll(te.x3.x)+" "+ll(te.x3.y)+" l"),de.push("s"),de.push("Q"),ne.stream=de.join(`
`),ne},OffPushDown:function(E){var ne=Qf(E);ne.scope=E.scope;var te=[];return te.push("0.749023 g"),te.push("0 0 "+ll(xo.internal.getWidth(E))+" "+ll(xo.internal.getHeight(E))+" re"),te.push("f"),ne.stream=te.join(`
`),ne}}},createDefaultAppearanceStream:function(E){var ne=E.scope.internal.getFont(E.fontName,E.fontStyle).id,te=E.scope.__private__.encodeColorString(E.color);return"/"+ne+" "+E.fontSize+" Tf "+te}};xo.internal={Bezier_C:.551915024494,calculateCross:function(E){var ne=xo.internal.getWidth(E),te=xo.internal.getHeight(E),de=Math.min(ne,te);return{x1:{x:(ne-de)/2,y:(te-de)/2+de},x2:{x:(ne-de)/2+de,y:(te-de)/2},x3:{x:(ne-de)/2,y:(te-de)/2},x4:{x:(ne-de)/2+de,y:(te-de)/2+de}}}},xo.internal.getWidth=function(E){var ne=0;return(0,he.Z)(E)==="object"&&(ne=pm(E.Rect[2])),ne},xo.internal.getHeight=function(E){var ne=0;return(0,he.Z)(E)==="object"&&(ne=pm(E.Rect[3])),ne};var nA=Qc.addField=function(E){if(Rn(this,E),!(E instanceof eo))throw new Error("Invalid argument passed to jsPDF.addField.");var ne;return(ne=E).scope.internal.acroformPlugin.printedOut&&(ne.scope.internal.acroformPlugin.printedOut=!1,ne.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),ne.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ne),E.page=E.scope.internal.getCurrentPageInfo().pageNumber,this};Qc.AcroFormChoiceField=No,Qc.AcroFormListBox=El,Qc.AcroFormComboBox=ds,Qc.AcroFormEditBox=ls,Qc.AcroFormButton=dl,Qc.AcroFormPushButton=zl,Qc.AcroFormRadioButton=nl,Qc.AcroFormCheckBox=uu,Qc.AcroFormTextField=Dl,Qc.AcroFormPasswordField=Al,Qc.AcroFormAppearance=xo,Qc.AcroForm={ChoiceField:No,ListBox:El,ComboBox:ds,EditBox:ls,Button:dl,PushButton:zl,RadioButton:nl,CheckBox:uu,TextField:Dl,PasswordField:Al,Appearance:xo},Ls.AcroForm={ChoiceField:No,ListBox:El,ComboBox:ds,EditBox:ls,Button:dl,PushButton:zl,RadioButton:nl,CheckBox:uu,TextField:Dl,PasswordField:Al,Appearance:xo};var HA=Ls.AcroForm;function eu(E){return E.reduce(function(ne,te,de){return ne[te]=de,ne},{})}(function(E){var ne="addImage_";E.__addimage__={};var te="UNKNOWN",de={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},ge=E.__addimage__.getImageFileTypeByImageData=function(yn,Gn){var _r,Er,Fi,zi,Xi,Ci=te;if((Gn=Gn||te)==="RGBA"||yn.data!==void 0&&yn.data instanceof Uint8ClampedArray&&"height"in yn&&"width"in yn)return"RGBA";if(ta(yn))for(Xi in de)for(Fi=de[Xi],_r=0;_r<Fi.length;_r+=1){for(zi=!0,Er=0;Er<Fi[_r].length;Er+=1)if(Fi[_r][Er]!==void 0&&Fi[_r][Er]!==yn[Er]){zi=!1;break}if(zi===!0){Ci=Xi;break}}else for(Xi in de)for(Fi=de[Xi],_r=0;_r<Fi.length;_r+=1){for(zi=!0,Er=0;Er<Fi[_r].length;Er+=1)if(Fi[_r][Er]!==void 0&&Fi[_r][Er]!==yn.charCodeAt(Er)){zi=!1;break}if(zi===!0){Ci=Xi;break}}return Ci===te&&Gn!==te&&(Ci=Gn),Ci},Ce=function yn(Gn){for(var _r=this.internal.write,Er=this.internal.putStream,Fi=(0,this.internal.getFilters)();Fi.indexOf("FlateEncode")!==-1;)Fi.splice(Fi.indexOf("FlateEncode"),1);Gn.objectId=this.internal.newObject();var zi=[];if(zi.push({key:"Type",value:"/XObject"}),zi.push({key:"Subtype",value:"/Image"}),zi.push({key:"Width",value:Gn.width}),zi.push({key:"Height",value:Gn.height}),Gn.colorSpace===wn.INDEXED?zi.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Gn.palette.length/3-1)+" "+("sMask"in Gn&&Gn.sMask!==void 0?Gn.objectId+2:Gn.objectId+1)+" 0 R]"}):(zi.push({key:"ColorSpace",value:"/"+Gn.colorSpace}),Gn.colorSpace===wn.DEVICE_CMYK&&zi.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),zi.push({key:"BitsPerComponent",value:Gn.bitsPerComponent}),"decodeParameters"in Gn&&Gn.decodeParameters!==void 0&&zi.push({key:"DecodeParms",value:"<<"+Gn.decodeParameters+">>"}),"transparency"in Gn&&Array.isArray(Gn.transparency)&&Gn.transparency.length>0){for(var Xi="",Ci=0,Gi=Gn.transparency.length;Ci<Gi;Ci++)Xi+=Gn.transparency[Ci]+" "+Gn.transparency[Ci]+" ";zi.push({key:"Mask",value:"["+Xi+"]"})}Gn.sMask!==void 0&&zi.push({key:"SMask",value:Gn.objectId+1+" 0 R"});var fo=Gn.filter!==void 0?["/"+Gn.filter]:void 0;if(Er({data:Gn.data,additionalKeyValues:zi,alreadyAppliedFilters:fo,objectId:Gn.objectId}),_r("endobj"),"sMask"in Gn&&Gn.sMask!==void 0){var Na,hn=(Na=Gn.sMaskBitsPerComponent)!==null&&Na!==void 0?Na:Gn.bitsPerComponent,rr={width:Gn.width,height:Gn.height,colorSpace:"DeviceGray",bitsPerComponent:hn,data:Gn.sMask};"filter"in Gn&&(rr.decodeParameters="/Predictor ".concat(Gn.predictor," /Colors 1 /BitsPerComponent ").concat(hn," /Columns ").concat(Gn.width),rr.filter=Gn.filter),yn.call(this,rr)}if(Gn.colorSpace===wn.INDEXED){var hr=this.internal.newObject();Er({data:Yr(new Uint8Array(Gn.palette)),objectId:hr}),_r("endobj")}},nt=function(){var yn=this.internal.collections[ne+"images"];for(var Gn in yn)Ce.call(this,yn[Gn])},Ge=function(){var yn,Gn=this.internal.collections[ne+"images"],_r=this.internal.write;for(var Er in Gn)_r("/I"+(yn=Gn[Er]).index,yn.objectId,"0","R")},ot=function(){this.internal.collections[ne+"images"]||(this.internal.collections[ne+"images"]={},this.internal.events.subscribe("putResources",nt),this.internal.events.subscribe("putXobjectDict",Ge))},ft=function(){var yn=this.internal.collections[ne+"images"];return ot.call(this),yn},Et=function(){return Object.keys(this.internal.collections[ne+"images"]).length},en=function(yn){return typeof E["process"+yn.toUpperCase()]=="function"},sn=function(yn){return(0,he.Z)(yn)==="object"&&yn.nodeType===1},Ct=function(yn,Gn){if(yn.nodeName==="IMG"&&yn.hasAttribute("src")){var _r=""+yn.getAttribute("src");if(_r.indexOf("data:image/")===0)return ba(unescape(_r).split("base64,").pop());var Er=E.loadFile(_r,!0);if(Er!==void 0)return Er}if(yn.nodeName==="CANVAS"){if(yn.width===0||yn.height===0)throw new Error("Given canvas must have data. Canvas width: "+yn.width+", height: "+yn.height);var Fi;switch(Gn){case"PNG":Fi="image/png";break;case"WEBP":Fi="image/webp";break;default:Fi="image/jpeg"}return ba(yn.toDataURL(Fi,1).split("base64,").pop())}},Hn=function(yn){var Gn=this.internal.collections[ne+"images"];if(Gn){for(var _r in Gn)if(yn===Gn[_r].alias)return Gn[_r]}},In=function(yn,Gn,_r){return yn||Gn||(yn=-96,Gn=-96),yn<0&&(yn=-1*_r.width*72/yn/this.internal.scaleFactor),Gn<0&&(Gn=-1*_r.height*72/Gn/this.internal.scaleFactor),yn===0&&(yn=Gn*_r.width/_r.height),Gn===0&&(Gn=yn*_r.height/_r.width),[yn,Gn]},Zn=function(yn,Gn,_r,Er,Fi,zi){var Xi=In.call(this,_r,Er,Fi),Ci=this.internal.getCoordinateString,Gi=this.internal.getVerticalCoordinateString,fo=ft.call(this);if(_r=Xi[0],Er=Xi[1],fo[Fi.index]=Fi,zi){zi*=Math.PI/180;var Na=Math.cos(zi),hn=Math.sin(zi),rr=function(Pr){return Pr.toFixed(4)},hr=[rr(Na),rr(hn),rr(-1*hn),rr(Na),0,0,"cm"]}this.internal.write("q"),zi?(this.internal.write([1,"0","0",1,Ci(yn),Gi(Gn+Er),"cm"].join(" ")),this.internal.write(hr.join(" ")),this.internal.write([Ci(_r),"0","0",Ci(Er),"0","0","cm"].join(" "))):this.internal.write([Ci(_r),"0","0",Ci(Er),Ci(yn),Gi(Gn+Er),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Fi.index+" Do"),this.internal.write("Q")},wn=E.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};E.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Ir=E.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Br=E.__addimage__.sHashCode=function(yn){var Gn,_r,Er=0;if(typeof yn=="string")for(_r=yn.length,Gn=0;Gn<_r;Gn++)Er=(Er<<5)-Er+yn.charCodeAt(Gn),Er|=0;else if(ta(yn))for(_r=yn.byteLength/2,Gn=0;Gn<_r;Gn++)Er=(Er<<5)-Er+yn[Gn],Er|=0;return Er},ar=E.__addimage__.validateStringAsBase64=function(yn){(yn=yn||"").toString().trim();var Gn=!0;return yn.length===0&&(Gn=!1),yn.length%4!=0&&(Gn=!1),/^[A-Za-z0-9+/]+$/.test(yn.substr(0,yn.length-2))===!1&&(Gn=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(yn.substr(-2))===!1&&(Gn=!1),Gn},wi=E.__addimage__.extractImageFromDataUrl=function(yn){if(yn==null||!(yn=yn.trim()).startsWith("data:"))return null;var Gn=yn.indexOf(",");return Gn<0?null:yn.substring(0,Gn).trim().endsWith("base64")?yn.substring(Gn+1):null};E.__addimage__.isArrayBuffer=function(yn){return yn instanceof ArrayBuffer};var ta=E.__addimage__.isArrayBufferView=function(yn){return yn instanceof Int8Array||yn instanceof Uint8Array||yn instanceof Uint8ClampedArray||yn instanceof Int16Array||yn instanceof Uint16Array||yn instanceof Int32Array||yn instanceof Uint32Array||yn instanceof Float32Array||yn instanceof Float64Array},Wi=E.__addimage__.binaryStringToUint8Array=function(yn){for(var Gn=yn.length,_r=new Uint8Array(Gn),Er=0;Er<Gn;Er++)_r[Er]=yn.charCodeAt(Er);return _r},Yr=E.__addimage__.arrayBufferToBinaryString=function(yn){for(var Gn="",_r=ta(yn)?yn:new Uint8Array(yn),Er=0;Er<_r.length;Er+=8192)Gn+=String.fromCharCode.apply(null,_r.subarray(Er,Er+8192));return Gn};E.addImage=function(){var yn,Gn,_r,Er,Fi,zi,Xi,Ci,Gi;if(typeof arguments[1]=="number"?(Gn=te,_r=arguments[1],Er=arguments[2],Fi=arguments[3],zi=arguments[4],Xi=arguments[5],Ci=arguments[6],Gi=arguments[7]):(Gn=arguments[1],_r=arguments[2],Er=arguments[3],Fi=arguments[4],zi=arguments[5],Xi=arguments[6],Ci=arguments[7],Gi=arguments[8]),(0,he.Z)(yn=arguments[0])==="object"&&!sn(yn)&&"imageData"in yn){var fo=yn;yn=fo.imageData,Gn=fo.format||Gn||te,_r=fo.x||_r||0,Er=fo.y||Er||0,Fi=fo.w||fo.width||Fi,zi=fo.h||fo.height||zi,Xi=fo.alias||Xi,Ci=fo.compression||Ci,Gi=fo.rotation||fo.angle||Gi}var Na=this.internal.getFilters();if(Ci===void 0&&Na.indexOf("FlateEncode")!==-1&&(Ci="SLOW"),isNaN(_r)||isNaN(Er))throw new Error("Invalid coordinates passed to jsPDF.addImage");ot.call(this);var hn=sr.call(this,yn,Gn,Xi,Ci);return Zn.call(this,_r,Er,Fi,zi,hn,Gi),this};var sr=function(yn,Gn,_r,Er){var Fi,zi,Xi;if(typeof yn=="string"&&ge(yn)===te){yn=unescape(yn);var Ci=ci(yn,!1);(Ci!==""||(Ci=E.loadFile(yn,!0))!==void 0)&&(yn=Ci)}if(sn(yn)&&(yn=Ct(yn,Gn)),Gn=ge(yn,Gn),!en(Gn))throw new Error("addImage does not support files of type '"+Gn+"', please ensure that a plugin for '"+Gn+"' support is added.");if(((Xi=_r)==null||Xi.length===0)&&(_r=function(Gi){return typeof Gi=="string"||ta(Gi)?Br(Gi):ta(Gi.data)?Br(Gi.data):null}(yn)),(Fi=Hn.call(this,_r))||(yn instanceof Uint8Array||Gn==="RGBA"||(zi=yn,yn=Wi(yn)),Fi=this["process"+Gn.toUpperCase()](yn,Et.call(this),_r,function(Gi){return Gi&&typeof Gi=="string"&&(Gi=Gi.toUpperCase()),Gi in E.image_compression?Gi:Ir.NONE}(Er),zi)),!Fi)throw new Error("An unknown error occurred whilst processing the image.");return Fi},ci=E.__addimage__.convertBase64ToBinaryString=function(yn,Gn){Gn=typeof Gn!="boolean"||Gn;var _r,Er="";if(typeof yn=="string"){var Fi;_r=(Fi=wi(yn))!==null&&Fi!==void 0?Fi:yn;try{Er=ba(_r)}catch(zi){if(Gn)throw ar(_r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+zi.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Er};E.getImageProperties=function(yn){var Gn,_r,Er="";if(sn(yn)&&(yn=Ct(yn)),typeof yn=="string"&&ge(yn)===te&&((Er=ci(yn,!1))===""&&(Er=E.loadFile(yn)||""),yn=Er),_r=ge(yn),!en(_r))throw new Error("addImage does not support files of type '"+_r+"', please ensure that a plugin for '"+_r+"' support is added.");if(yn instanceof Uint8Array||(yn=Wi(yn)),!(Gn=this["process"+_r.toUpperCase()](yn)))throw new Error("An unknown error occurred whilst processing the image");return Gn.fileType=_r,Gn}})(Ls.API),function(E){var ne=function(te){if(te!==void 0&&te!="")return!0};Ls.API.events.push(["addPage",function(te){this.internal.getPageInfo(te.pageNumber).pageContext.annotations=[]}]),E.events.push(["putPage",function(te){for(var de,ge,Ce,nt=this.internal.getCoordinateString,Ge=this.internal.getVerticalCoordinateString,ot=this.internal.getPageInfoByObjId(te.objId),ft=te.pageContext.annotations,Et=!1,en=0;en<ft.length&&!Et;en++)switch((de=ft[en]).type){case"link":(ne(de.options.url)||ne(de.options.pageNumber))&&(Et=!0);break;case"reference":case"text":case"freetext":Et=!0}if(Et!=0){this.internal.write("/Annots [");for(var sn=0;sn<ft.length;sn++){de=ft[sn];var Ct=this.internal.pdfEscape,Hn=this.internal.getEncryptor(te.objId);switch(de.type){case"reference":this.internal.write(" "+de.object.objId+" 0 R ");break;case"text":var In=this.internal.newAdditionalObject(),Zn=this.internal.newAdditionalObject(),wn=this.internal.getEncryptor(In.objId),Ir=de.title||"Note";Ce="<</Type /Annot /Subtype /Text "+(ge="/Rect ["+nt(de.bounds.x)+" "+Ge(de.bounds.y+de.bounds.h)+" "+nt(de.bounds.x+de.bounds.w)+" "+Ge(de.bounds.y)+"] ")+"/Contents ("+Ct(wn(de.contents))+")",Ce+=" /Popup "+Zn.objId+" 0 R",Ce+=" /P "+ot.objId+" 0 R",Ce+=" /T ("+Ct(wn(Ir))+") >>",In.content=Ce;var Br=In.objId+" 0 R";Ce="<</Type /Annot /Subtype /Popup "+(ge="/Rect ["+nt(de.bounds.x+30)+" "+Ge(de.bounds.y+de.bounds.h)+" "+nt(de.bounds.x+de.bounds.w+30)+" "+Ge(de.bounds.y)+"] ")+" /Parent "+Br,de.open&&(Ce+=" /Open true"),Ce+=" >>",Zn.content=Ce,this.internal.write(In.objId,"0 R",Zn.objId,"0 R");break;case"freetext":ge="/Rect ["+nt(de.bounds.x)+" "+Ge(de.bounds.y)+" "+nt(de.bounds.x+de.bounds.w)+" "+Ge(de.bounds.y+de.bounds.h)+"] ";var ar=de.color||"#000000";Ce="<</Type /Annot /Subtype /FreeText "+ge+"/Contents ("+Ct(Hn(de.contents))+")",Ce+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+ar+")",Ce+=" /Border [0 0 0]",Ce+=" >>",this.internal.write(Ce);break;case"link":if(de.options.name){var wi=this.annotations._nameMap[de.options.name];de.options.pageNumber=wi.page,de.options.top=wi.y}else de.options.top||(de.options.top=0);if(ge="/Rect ["+de.finalBounds.x+" "+de.finalBounds.y+" "+de.finalBounds.w+" "+de.finalBounds.h+"] ",Ce="",de.options.url)Ce="<</Type /Annot /Subtype /Link "+ge+"/Border [0 0 0] /A <</S /URI /URI ("+Ct(Hn(de.options.url))+") >>";else if(de.options.pageNumber)switch(Ce="<</Type /Annot /Subtype /Link "+ge+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(de.options.pageNumber).objId+" 0 R",de.options.magFactor=de.options.magFactor||"XYZ",de.options.magFactor){case"Fit":Ce+=" /Fit]";break;case"FitH":Ce+=" /FitH "+de.options.top+"]";break;case"FitV":de.options.left=de.options.left||0,Ce+=" /FitV "+de.options.left+"]";break;default:var ta=Ge(de.options.top);de.options.left=de.options.left||0,de.options.zoom===void 0&&(de.options.zoom=0),Ce+=" /XYZ "+de.options.left+" "+ta+" "+de.options.zoom+"]"}Ce!=""&&(Ce+=" >>",this.internal.write(Ce))}}this.internal.write("]")}}]),E.createAnnotation=function(te){var de=this.internal.getCurrentPageInfo();switch(te.type){case"link":this.link(te.bounds.x,te.bounds.y,te.bounds.w,te.bounds.h,te);break;case"text":case"freetext":de.pageContext.annotations.push(te)}},E.link=function(te,de,ge,Ce,nt){var Ge=this.internal.getCurrentPageInfo(),ot=this.internal.getCoordinateString,ft=this.internal.getVerticalCoordinateString;Ge.pageContext.annotations.push({finalBounds:{x:ot(te),y:ft(de),w:ot(te+ge),h:ft(de+Ce)},options:nt,type:"link"})},E.textWithLink=function(te,de,ge,Ce){var nt,Ge,ot=this.getTextWidth(te),ft=this.internal.getLineHeight()/this.internal.scaleFactor;if(Ce.maxWidth!==void 0){Ge=Ce.maxWidth;var Et=this.splitTextToSize(te,Ge).length;nt=Math.ceil(ft*Et)}else Ge=ot,nt=ft;return this.text(te,de,ge,Ce),ge+=.2*ft,Ce.align==="center"&&(de-=ot/2),Ce.align==="right"&&(de-=ot),this.link(de,ge-ft,Ge,nt,Ce),ot},E.getTextWidth=function(te){var de=this.internal.getFontSize();return this.getStringUnitWidth(te)*de/this.internal.scaleFactor}}(Ls.API),function(E){var ne={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},te={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},de={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ge=[1570,1571,1573,1575];E.__arabicParser__={};var Ce=E.__arabicParser__.isInArabicSubstitutionA=function(In){return ne[In.charCodeAt(0)]!==void 0},nt=E.__arabicParser__.isArabicLetter=function(In){return typeof In=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(In)},Ge=E.__arabicParser__.isArabicEndLetter=function(In){return nt(In)&&Ce(In)&&ne[In.charCodeAt(0)].length<=2},ot=E.__arabicParser__.isArabicAlfLetter=function(In){return nt(In)&&ge.indexOf(In.charCodeAt(0))>=0};E.__arabicParser__.arabicLetterHasIsolatedForm=function(In){return nt(In)&&Ce(In)&&ne[In.charCodeAt(0)].length>=1};var ft=E.__arabicParser__.arabicLetterHasFinalForm=function(In){return nt(In)&&Ce(In)&&ne[In.charCodeAt(0)].length>=2};E.__arabicParser__.arabicLetterHasInitialForm=function(In){return nt(In)&&Ce(In)&&ne[In.charCodeAt(0)].length>=3};var Et=E.__arabicParser__.arabicLetterHasMedialForm=function(In){return nt(In)&&Ce(In)&&ne[In.charCodeAt(0)].length==4},en=E.__arabicParser__.resolveLigatures=function(In){var Zn=0,wn=te,Ir="",Br=0;for(Zn=0;Zn<In.length;Zn+=1)wn[In.charCodeAt(Zn)]!==void 0?(Br++,typeof(wn=wn[In.charCodeAt(Zn)])=="number"&&(Ir+=String.fromCharCode(wn),wn=te,Br=0),Zn===In.length-1&&(wn=te,Ir+=In.charAt(Zn-(Br-1)),Zn-=Br-1,Br=0)):(wn=te,Ir+=In.charAt(Zn-Br),Zn-=Br,Br=0);return Ir};E.__arabicParser__.isArabicDiacritic=function(In){return In!==void 0&&de[In.charCodeAt(0)]!==void 0};var sn=E.__arabicParser__.getCorrectForm=function(In,Zn,wn){return nt(In)?Ce(In)===!1?-1:!ft(In)||!nt(Zn)&&!nt(wn)||!nt(wn)&&Ge(Zn)||Ge(In)&&!nt(Zn)||Ge(In)&&ot(Zn)||Ge(In)&&Ge(Zn)?0:Et(In)&&nt(Zn)&&!Ge(Zn)&&nt(wn)&&ft(wn)?3:Ge(In)||!nt(wn)?1:2:-1},Ct=function(In){var Zn=0,wn=0,Ir=0,Br="",ar="",wi="",ta=(In=In||"").split("\\s+"),Wi=[];for(Zn=0;Zn<ta.length;Zn+=1){for(Wi.push(""),wn=0;wn<ta[Zn].length;wn+=1)Br=ta[Zn][wn],ar=ta[Zn][wn-1],wi=ta[Zn][wn+1],nt(Br)?(Ir=sn(Br,ar,wi),Wi[Zn]+=Ir!==-1?String.fromCharCode(ne[Br.charCodeAt(0)][Ir]):Br):Wi[Zn]+=Br;Wi[Zn]=en(Wi[Zn])}return Wi.join(" ")},Hn=E.__arabicParser__.processArabic=E.processArabic=function(){var In,Zn=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,wn=[];if(Array.isArray(Zn)){var Ir=0;for(wn=[],Ir=0;Ir<Zn.length;Ir+=1)Array.isArray(Zn[Ir])?wn.push([Ct(Zn[Ir][0]),Zn[Ir][1],Zn[Ir][2]]):wn.push([Ct(Zn[Ir])]);In=wn}else In=Ct(Zn);return typeof arguments[0]=="string"?In:(arguments[0].text=In,arguments[0])};E.events.push(["preProcessText",Hn])}(Ls.API),Ls.API.autoPrint=function(E){var ne;return(E=E||{}).variant=E.variant||"non-conform",E.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){ne=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ne+" 0 R")})),this},function(E){var ne=function(){var te=void 0;Object.defineProperty(this,"pdf",{get:function(){return te},set:function(Ge){te=Ge}});var de=150;Object.defineProperty(this,"width",{get:function(){return de},set:function(Ge){de=isNaN(Ge)||Number.isInteger(Ge)===!1||Ge<0?150:Ge,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=de+1)}});var ge=300;Object.defineProperty(this,"height",{get:function(){return ge},set:function(Ge){ge=isNaN(Ge)||Number.isInteger(Ge)===!1||Ge<0?300:Ge,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ge+1)}});var Ce=[];Object.defineProperty(this,"childNodes",{get:function(){return Ce},set:function(Ge){Ce=Ge}});var nt={};Object.defineProperty(this,"style",{get:function(){return nt},set:function(Ge){nt=Ge}}),Object.defineProperty(this,"parentNode",{})};ne.prototype.getContext=function(te,de){var ge;if((te=te||"2d")!=="2d")return null;for(ge in de)this.pdf.context2d.hasOwnProperty(ge)&&(this.pdf.context2d[ge]=de[ge]);return this.pdf.context2d._canvas=this,this.pdf.context2d},ne.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},E.events.push(["initialized",function(){this.canvas=new ne,this.canvas.pdf=this}])}(Ls.API),function(E){var ne={left:0,top:0,bottom:0,right:0},te=!1,de=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},ne),this.internal.__cell__.margins.width=this.getPageWidth(),ge.call(this))},ge=function(){this.internal.__cell__.lastCell=new Ce,this.internal.__cell__.pages=1},Ce=function(){var ot=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ot},set:function(In){ot=In}});var ft=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ft},set:function(In){ft=In}});var Et=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Et},set:function(In){Et=In}});var en=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return en},set:function(In){en=In}});var sn=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return sn},set:function(In){sn=In}});var Ct=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Ct},set:function(In){Ct=In}});var Hn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Hn},set:function(In){Hn=In}}),this};Ce.prototype.clone=function(){return new Ce(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Ce.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},E.setHeaderFunction=function(ot){return de.call(this),this.internal.__cell__.headerFunction=typeof ot=="function"?ot:void 0,this},E.getTextDimensions=function(ot,ft){de.call(this);var Et=(ft=ft||{}).fontSize||this.getFontSize(),en=ft.font||this.getFont(),sn=ft.scaleFactor||this.internal.scaleFactor,Ct=0,Hn=0,In=0,Zn=this;if(!Array.isArray(ot)&&typeof ot!="string"){if(typeof ot!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ot=String(ot)}var wn=ft.maxWidth;wn>0?typeof ot=="string"?ot=this.splitTextToSize(ot,wn):Object.prototype.toString.call(ot)==="[object Array]"&&(ot=ot.reduce(function(Br,ar){return Br.concat(Zn.splitTextToSize(ar,wn))},[])):ot=Array.isArray(ot)?ot:[ot];for(var Ir=0;Ir<ot.length;Ir++)Ct<(In=this.getStringUnitWidth(ot[Ir],{font:en})*Et)&&(Ct=In);return Ct!==0&&(Hn=ot.length),{w:Ct/=sn,h:Math.max((Hn*Et*this.getLineHeightFactor()-Et*(this.getLineHeightFactor()-1))/sn,0)}},E.cellAddPage=function(){de.call(this),this.addPage();var ot=this.internal.__cell__.margins||ne;return this.internal.__cell__.lastCell=new Ce(ot.left,ot.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var nt=E.cell=function(){var ot;ot=arguments[0]instanceof Ce?arguments[0]:new Ce(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),de.call(this);var ft=this.internal.__cell__.lastCell,Et=this.internal.__cell__.padding,en=this.internal.__cell__.margins||ne,sn=this.internal.__cell__.tableHeaderRow,Ct=this.internal.__cell__.printHeaders;return ft.lineNumber!==void 0&&(ft.lineNumber===ot.lineNumber?(ot.x=(ft.x||0)+(ft.width||0),ot.y=ft.y||0):ft.y+ft.height+ot.height+en.bottom>this.getPageHeight()?(this.cellAddPage(),ot.y=en.top,Ct&&sn&&(this.printHeaderRow(ot.lineNumber,!0),ot.y+=sn[0].height)):ot.y=ft.y+ft.height||ot.y),ot.text[0]!==void 0&&(this.rect(ot.x,ot.y,ot.width,ot.height,te===!0?"FD":void 0),ot.align==="right"?this.text(ot.text,ot.x+ot.width-Et,ot.y+Et,{align:"right",baseline:"top"}):ot.align==="center"?this.text(ot.text,ot.x+ot.width/2,ot.y+Et,{align:"center",baseline:"top",maxWidth:ot.width-Et-Et}):this.text(ot.text,ot.x+Et,ot.y+Et,{align:"left",baseline:"top",maxWidth:ot.width-Et-Et})),this.internal.__cell__.lastCell=ot,this};E.table=function(ot,ft,Et,en,sn){if(de.call(this),!Et)throw new Error("No data for PDF table.");var Ct,Hn,In,Zn,wn=[],Ir=[],Br=[],ar={},wi={},ta=[],Wi=[],Yr=(sn=sn||{}).autoSize||!1,sr=sn.printHeaders!==!1,ci=sn.css&&sn.css["font-size"]!==void 0?16*sn.css["font-size"]:sn.fontSize||12,yn=sn.margins||Object.assign({width:this.getPageWidth()},ne),Gn=typeof sn.padding=="number"?sn.padding:3,_r=sn.headerBackgroundColor||"#c8c8c8",Er=sn.headerTextColor||"#000";if(ge.call(this),this.internal.__cell__.printHeaders=sr,this.internal.__cell__.margins=yn,this.internal.__cell__.table_font_size=ci,this.internal.__cell__.padding=Gn,this.internal.__cell__.headerBackgroundColor=_r,this.internal.__cell__.headerTextColor=Er,this.setFontSize(ci),en==null)Ir=wn=Object.keys(Et[0]),Br=wn.map(function(){return"left"});else if(Array.isArray(en)&&(0,he.Z)(en[0])==="object")for(wn=en.map(function(fo){return fo.name}),Ir=en.map(function(fo){return fo.prompt||fo.name||""}),Br=en.map(function(fo){return fo.align||"left"}),Ct=0;Ct<en.length;Ct+=1)wi[en[Ct].name]=.7499990551181103*en[Ct].width;else Array.isArray(en)&&typeof en[0]=="string"&&(Ir=wn=en,Br=wn.map(function(){return"left"}));if(Yr||Array.isArray(en)&&typeof en[0]=="string")for(Ct=0;Ct<wn.length;Ct+=1){for(ar[Zn=wn[Ct]]=Et.map(function(fo){return fo[Zn]}),this.setFont(void 0,"bold"),ta.push(this.getTextDimensions(Ir[Ct],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Hn=ar[Zn],this.setFont(void 0,"normal"),In=0;In<Hn.length;In+=1)ta.push(this.getTextDimensions(Hn[In],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);wi[Zn]=Math.max.apply(null,ta)+Gn+Gn,ta=[]}if(sr){var Fi={};for(Ct=0;Ct<wn.length;Ct+=1)Fi[wn[Ct]]={},Fi[wn[Ct]].text=Ir[Ct],Fi[wn[Ct]].align=Br[Ct];var zi=Ge.call(this,Fi,wi);Wi=wn.map(function(fo){return new Ce(ot,ft,wi[fo],zi,Fi[fo].text,void 0,Fi[fo].align)}),this.setTableHeaderRow(Wi),this.printHeaderRow(1,!1)}var Xi=en.reduce(function(fo,Na){return fo[Na.name]=Na.align,fo},{});for(Ct=0;Ct<Et.length;Ct+=1){"rowStart"in sn&&sn.rowStart instanceof Function&&sn.rowStart({row:Ct,data:Et[Ct]},this);var Ci=Ge.call(this,Et[Ct],wi);for(In=0;In<wn.length;In+=1){var Gi=Et[Ct][wn[In]];"cellStart"in sn&&sn.cellStart instanceof Function&&sn.cellStart({row:Ct,col:In,data:Gi},this),nt.call(this,new Ce(ot,ft,wi[wn[In]],Ci,Gi,Ct+2,Xi[wn[In]]))}}return this.internal.__cell__.table_x=ot,this.internal.__cell__.table_y=ft,this};var Ge=function(ot,ft){var Et=this.internal.__cell__.padding,en=this.internal.__cell__.table_font_size,sn=this.internal.scaleFactor;return Object.keys(ot).map(function(Ct){var Hn=ot[Ct];return this.splitTextToSize(Hn.hasOwnProperty("text")?Hn.text:Hn,ft[Ct]-Et-Et)},this).map(function(Ct){return this.getLineHeightFactor()*Ct.length*en/sn+Et+Et},this).reduce(function(Ct,Hn){return Math.max(Ct,Hn)},0)};E.setTableHeaderRow=function(ot){de.call(this),this.internal.__cell__.tableHeaderRow=ot},E.printHeaderRow=function(ot,ft){if(de.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var Et;if(te=!0,typeof this.internal.__cell__.headerFunction=="function"){var en=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Ce(en[0],en[1],en[2],en[3],void 0,-1)}this.setFont(void 0,"bold");for(var sn=[],Ct=0;Ct<this.internal.__cell__.tableHeaderRow.length;Ct+=1){Et=this.internal.__cell__.tableHeaderRow[Ct].clone(),ft&&(Et.y=this.internal.__cell__.margins.top||0,sn.push(Et)),Et.lineNumber=ot;var Hn=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),nt.call(this,Et),this.setTextColor(Hn)}sn.length>0&&this.setTableHeaderRow(sn),this.setFont(void 0,"normal"),te=!1}}(Ls.API);var rA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Uh=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],OA=eu(Uh),jA=[100,200,300,400,500,600,700,800,900],zf=eu(jA);function Mf(E){var ne=E.family.replace(/"|'/g,"").toLowerCase(),te=function(Ce){return rA[Ce=Ce||"normal"]?Ce:"normal"}(E.style),de=function(Ce){return Ce?typeof Ce=="number"?Ce>=100&&Ce<=900&&Ce%100==0?Ce:400:/^\d00$/.test(Ce)?parseInt(Ce):Ce==="bold"?700:400:400}(E.weight),ge=function(Ce){return typeof OA[Ce=Ce||"normal"]=="number"?Ce:"normal"}(E.stretch);return{family:ne,style:te,weight:de,stretch:ge,src:E.src||[],ref:E.ref||{name:ne,style:[ge,te,de].join(" ")}}}function Kf(E,ne,te,de){var ge;for(ge=te;ge>=0&&ge<ne.length;ge+=de)if(E[ne[ge]])return E[ne[ge]];for(ge=te;ge>=0&&ge<ne.length;ge-=de)if(E[ne[ge]])return E[ne[ge]]}var fh={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},of={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function hh(E){return[E.stretch,E.style,E.weight,E.family].join(" ")}function d0(E){return E.trimLeft()}function _f(E,ne){for(var te=0;te<E.length;){if(E.charAt(te)===ne)return[E.substring(0,te),E.substring(te+1)];te+=1}return null}function Hh(E){var ne=E.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return ne===null?null:[ne[0],E.substring(ne[0].length)]}var hA,fv,Mp,_p,hg,hv,Kg,pv,Wg=["times"];function pg(E,ne,te,de,ge){var Ce=4,nt=gv;switch(ge){case Ls.API.image_compression.FAST:Ce=1,nt=mv;break;case Ls.API.image_compression.MEDIUM:Ce=6,nt=mm;break;case Ls.API.image_compression.SLOW:Ce=9,nt=Zg}E=function(ot,ft,Et,en){for(var sn,Ct=ot.length/ft,Hn=new Uint8Array(ot.length+Ct),In=[Vv,mv,gv,mm,Zg],Zn=0;Zn<Ct;Zn+=1){var wn=Zn*ft,Ir=ot.subarray(wn,wn+ft);if(en)Hn.set(en(Ir,Et,sn),wn+Zn);else{for(var Br=In.length,ar=[],wi=0;wi<Br;wi+=1)ar[wi]=In[wi](Ir,Et,sn);var ta=Zm(ar.concat());Hn.set(ar[ta],wn+Zn)}sn=Ir}return Hn}(E,ne,Math.ceil(te*de/8),nt);var Ge=Ea(E,{level:Ce});return Ls.API.__addimage__.arrayBufferToBinaryString(Ge)}function Vv(E){var ne=Array.apply([],E);return ne.unshift(0),ne}function mv(E,ne){var te=E.length,de=[];de[0]=1;for(var ge=0;ge<te;ge+=1){var Ce=E[ge-ne]||0;de[ge+1]=E[ge]-Ce+256&255}return de}function gv(E,ne,te){var de=E.length,ge=[];ge[0]=2;for(var Ce=0;Ce<de;Ce+=1){var nt=te&&te[Ce]||0;ge[Ce+1]=E[Ce]-nt+256&255}return ge}function mm(E,ne,te){var de=E.length,ge=[];ge[0]=3;for(var Ce=0;Ce<de;Ce+=1){var nt=E[Ce-ne]||0,Ge=te&&te[Ce]||0;ge[Ce+1]=E[Ce]+256-(nt+Ge>>>1)&255}return ge}function Zg(E,ne,te){var de=E.length,ge=[];ge[0]=4;for(var Ce=0;Ce<de;Ce+=1){var nt=mg(E[Ce-ne]||0,te&&te[Ce]||0,te&&te[Ce-ne]||0);ge[Ce+1]=E[Ce]-nt+256&255}return ge}function mg(E,ne,te){if(E===ne&&ne===te)return E;var de=Math.abs(ne-te),ge=Math.abs(E-te),Ce=Math.abs(E+ne-te-te);return de<=ge&&de<=Ce?E:ge<=Ce?ne:te}function Zm(E){var ne=E.map(function(te){return te.reduce(function(de,ge){return de+Math.abs(ge)},0)});return ne.indexOf(Math.min.apply(null,ne))}function gg(E,ne,te){var de=ne*te,ge=Math.floor(de/8),Ce=16-(de-8*ge+te),nt=(1<<te)-1;return Vm(E,ge)>>Ce&nt}function Ip(E,ne,te,de){var ge=te*de,Ce=Math.floor(ge/8),nt=16-(ge-8*Ce+de),Ge=(1<<de)-1,ot=(ne&Ge)<<nt;(function(ft,Et,en){if(Et+1<ft.byteLength)ft.setUint16(Et,en,!1);else{var sn=en>>8&255;ft.setUint8(Et,sn)}})(E,Ce,Vm(E,Ce)&~(Ge<<nt)&65535|ot)}function Vm(E,ne){return ne+1<E.byteLength?E.getUint16(ne,!1):E.getUint8(ne)<<8}function Vg(E){var ne=0;if(E[ne++]!==71||E[ne++]!==73||E[ne++]!==70||E[ne++]!==56||(E[ne++]+1&253)!=56||E[ne++]!==97)throw new Error("Invalid GIF 87a/89a header.");var te=E[ne++]|E[ne++]<<8,de=E[ne++]|E[ne++]<<8,ge=E[ne++],Ce=ge>>7,nt=1<<1+(7&ge);E[ne++],E[ne++];var Ge=null,ot=null;Ce&&(Ge=ne,ot=nt,ne+=3*nt);var ft=!0,Et=[],en=0,sn=null,Ct=0,Hn=null;for(this.width=te,this.height=de;ft&&ne<E.length;)switch(E[ne++]){case 33:switch(E[ne++]){case 255:if(E[ne]!==11||E[ne+1]==78&&E[ne+2]==69&&E[ne+3]==84&&E[ne+4]==83&&E[ne+5]==67&&E[ne+6]==65&&E[ne+7]==80&&E[ne+8]==69&&E[ne+9]==50&&E[ne+10]==46&&E[ne+11]==48&&E[ne+12]==3&&E[ne+13]==1&&E[ne+16]==0)ne+=14,Hn=E[ne++]|E[ne++]<<8,ne++;else for(ne+=12;;){if(!((yn=E[ne++])>=0))throw Error("Invalid block size");if(yn===0)break;ne+=yn}break;case 249:if(E[ne++]!==4||E[ne+4]!==0)throw new Error("Invalid graphics extension block.");var In=E[ne++];en=E[ne++]|E[ne++]<<8,sn=E[ne++],1&In||(sn=null),Ct=In>>2&7,ne++;break;case 254:for(;;){if(!((yn=E[ne++])>=0))throw Error("Invalid block size");if(yn===0)break;ne+=yn}break;default:throw new Error("Unknown graphic control label: 0x"+E[ne-1].toString(16))}break;case 44:var Zn=E[ne++]|E[ne++]<<8,wn=E[ne++]|E[ne++]<<8,Ir=E[ne++]|E[ne++]<<8,Br=E[ne++]|E[ne++]<<8,ar=E[ne++],wi=ar>>6&1,ta=1<<1+(7&ar),Wi=Ge,Yr=ot,sr=!1;ar>>7&&(sr=!0,Wi=ne,Yr=ta,ne+=3*ta);var ci=ne;for(ne++;;){var yn;if(!((yn=E[ne++])>=0))throw Error("Invalid block size");if(yn===0)break;ne+=yn}Et.push({x:Zn,y:wn,width:Ir,height:Br,has_local_palette:sr,palette_offset:Wi,palette_size:Yr,data_offset:ci,data_length:ne-ci,transparent_index:sn,interlaced:!!wi,delay:en,disposal:Ct});break;case 59:ft=!1;break;default:throw new Error("Unknown gif block: 0x"+E[ne-1].toString(16))}this.numFrames=function(){return Et.length},this.loopCount=function(){return Hn},this.frameInfo=function(Gn){if(Gn<0||Gn>=Et.length)throw new Error("Frame index out of range.");return Et[Gn]},this.decodeAndBlitFrameBGRA=function(Gn,_r){var Er=this.frameInfo(Gn),Fi=Er.width*Er.height,zi=new Uint8Array(Fi);vv(E,Er.data_offset,zi,Fi);var Xi=Er.palette_offset,Ci=Er.transparent_index;Ci===null&&(Ci=256);var Gi=Er.width,fo=te-Gi,Na=Gi,hn=4*(Er.y*te+Er.x),rr=4*((Er.y+Er.height)*te+Er.x),hr=hn,Pr=4*fo;Er.interlaced===!0&&(Pr+=4*te*7);for(var ti=8,pi=0,Ti=zi.length;pi<Ti;++pi){var Ui=zi[pi];if(Na===0&&(Na=Gi,(hr+=Pr)>=rr&&(Pr=4*fo+4*te*(ti-1),hr=hn+(Gi+fo)*(ti<<1),ti>>=1)),Ui===Ci)hr+=4;else{var ya=E[Xi+3*Ui],so=E[Xi+3*Ui+1],Uo=E[Xi+3*Ui+2];_r[hr++]=Uo,_r[hr++]=so,_r[hr++]=ya,_r[hr++]=255}--Na}},this.decodeAndBlitFrameRGBA=function(Gn,_r){var Er=this.frameInfo(Gn),Fi=Er.width*Er.height,zi=new Uint8Array(Fi);vv(E,Er.data_offset,zi,Fi);var Xi=Er.palette_offset,Ci=Er.transparent_index;Ci===null&&(Ci=256);var Gi=Er.width,fo=te-Gi,Na=Gi,hn=4*(Er.y*te+Er.x),rr=4*((Er.y+Er.height)*te+Er.x),hr=hn,Pr=4*fo;Er.interlaced===!0&&(Pr+=4*te*7);for(var ti=8,pi=0,Ti=zi.length;pi<Ti;++pi){var Ui=zi[pi];if(Na===0&&(Na=Gi,(hr+=Pr)>=rr&&(Pr=4*fo+4*te*(ti-1),hr=hn+(Gi+fo)*(ti<<1),ti>>=1)),Ui===Ci)hr+=4;else{var ya=E[Xi+3*Ui],so=E[Xi+3*Ui+1],Uo=E[Xi+3*Ui+2];_r[hr++]=ya,_r[hr++]=so,_r[hr++]=Uo,_r[hr++]=255}--Na}}}function vv(E,ne,te,de){for(var ge=E[ne++],Ce=1<<ge,nt=Ce+1,Ge=nt+1,ot=ge+1,ft=(1<<ot)-1,Et=0,en=0,sn=0,Ct=E[ne++],Hn=new Int32Array(4096),In=null;;){for(;Et<16&&Ct!==0;)en|=E[ne++]<<Et,Et+=8,Ct===1?Ct=E[ne++]:--Ct;if(Et<ot)break;var Zn=en&ft;if(en>>=ot,Et-=ot,Zn!==Ce){if(Zn===nt)break;for(var wn=Zn<Ge?Zn:In,Ir=0,Br=wn;Br>Ce;)Br=Hn[Br]>>8,++Ir;var ar=Br;if(sn+Ir+(wn!==Zn?1:0)>de)return void hu.log("Warning, gif stream longer than expected.");te[sn++]=ar;var wi=sn+=Ir;for(wn!==Zn&&(te[sn++]=ar),Br=wn;Ir--;)Br=Hn[Br],te[--wi]=255&Br,Br>>=8;In!==null&&Ge<4096&&(Hn[Ge++]=In<<8|ar,Ge>=ft+1&&ot<12&&(++ot,ft=ft<<1|1)),In=Zn}else Ge=nt+1,ft=(1<<(ot=ge+1))-1,In=null}return sn!==de&&hu.log("Warning, gif stream shorter than expected."),te}function Gg(E){var ne,te,de,ge,Ce,nt=Math.floor,Ge=new Array(64),ot=new Array(64),ft=new Array(64),Et=new Array(64),en=new Array(65535),sn=new Array(65535),Ct=new Array(64),Hn=new Array(64),In=[],Zn=0,wn=7,Ir=new Array(64),Br=new Array(64),ar=new Array(64),wi=new Array(256),ta=new Array(2048),Wi=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Yr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],sr=[0,1,2,3,4,5,6,7,8,9,10,11],ci=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],yn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Gn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],_r=[0,1,2,3,4,5,6,7,8,9,10,11],Er=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Fi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function zi(hn,rr){for(var hr=0,Pr=0,ti=new Array,pi=1;pi<=16;pi++){for(var Ti=1;Ti<=hn[pi];Ti++)ti[rr[Pr]]=[],ti[rr[Pr]][0]=hr,ti[rr[Pr]][1]=pi,Pr++,hr++;hr*=2}return ti}function Xi(hn){for(var rr=hn[0],hr=hn[1]-1;hr>=0;)rr&1<<hr&&(Zn|=1<<wn),hr--,--wn<0&&(Zn==255?(Ci(255),Ci(0)):Ci(Zn),wn=7,Zn=0)}function Ci(hn){In.push(hn)}function Gi(hn){Ci(hn>>8&255),Ci(255&hn)}function fo(hn,rr,hr,Pr,ti){for(var pi,Ti=ti[0],Ui=ti[240],ya=function(to,ul){var qo,Ks,il,Tu,Pu,Fl,_u,yu,Os,nu,Ws=0;for(Os=0;Os<8;++Os){qo=to[Ws],Ks=to[Ws+1],il=to[Ws+2],Tu=to[Ws+3],Pu=to[Ws+4],Fl=to[Ws+5],_u=to[Ws+6];var Yd=qo+(yu=to[Ws+7]),qu=qo-yu,mu=Ks+_u,bu=Ks-_u,gd=il+Fl,Ys=il-Fl,Yc=Tu+Pu,kl=Tu-Pu,Gl=Yd+Yc,Oc=Yd-Yc,Rl=mu+gd,cl=mu-gd;to[Ws]=Gl+Rl,to[Ws+4]=Gl-Rl;var vc=.707106781*(cl+Oc);to[Ws+2]=Oc+vc,to[Ws+6]=Oc-vc;var Dp=.382683433*((Gl=kl+Ys)-(cl=bu+qu)),pA=.5411961*Gl+Dp,Q0=1.306562965*cl+Dp,A0=.707106781*(Rl=Ys+bu),vl=qu+A0,z0=qu-A0;to[Ws+5]=z0+pA,to[Ws+3]=z0-pA,to[Ws+1]=vl+Q0,to[Ws+7]=vl-Q0,Ws+=8}for(Ws=0,Os=0;Os<8;++Os){qo=to[Ws],Ks=to[Ws+8],il=to[Ws+16],Tu=to[Ws+24],Pu=to[Ws+32],Fl=to[Ws+40],_u=to[Ws+48];var K0=qo+(yu=to[Ws+56]),Gf=qo-yu,Yf=Ks+_u,Pd=Ks-_u,rc=il+Fl,Xc=il-Fl,f0=Tu+Pu,h0=Tu-Pu,ph=K0+f0,Xf=K0-f0,QA=Yf+rc,Jf=Yf-rc;to[Ws]=ph+QA,to[Ws+32]=ph-QA;var mh=.707106781*(Jf+Xf);to[Ws+16]=Xf+mh,to[Ws+48]=Xf-mh;var Np=.382683433*((ph=h0+Xc)-(Jf=Pd+Gf)),p0=.5411961*ph+Np,Op=1.306562965*Jf+Np,Tp=.707106781*(QA=Xc+Pd),gm=Gf+Tp,Pp=Gf-Tp;to[Ws+40]=Pp+p0,to[Ws+24]=Pp-p0,to[Ws+8]=gm+Op,to[Ws+56]=gm-Op,Ws++}for(Os=0;Os<64;++Os)nu=to[Os]*ul[Os],Ct[Os]=nu>0?nu+.5|0:nu-.5|0;return Ct}(hn,rr),so=0;so<64;++so)Hn[Wi[so]]=ya[so];var Uo=Hn[0]-hr;hr=Hn[0],Uo==0?Xi(Pr[0]):(Xi(Pr[sn[pi=32767+Uo]]),Xi(en[pi]));for(var Zo=63;Zo>0&&Hn[Zo]==0;)Zo--;if(Zo==0)return Xi(Ti),hr;for(var Gs,jn=1;jn<=Zo;){for(var Xo=jn;Hn[jn]==0&&jn<=Zo;)++jn;var pu=jn-Xo;if(pu>=16){Gs=pu>>4;for(var gl=1;gl<=Gs;++gl)Xi(Ui);pu&=15}pi=32767+Hn[jn],Xi(ti[(pu<<4)+sn[pi]]),Xi(en[pi]),jn++}return Zo!=63&&Xi(Ti),hr}function Na(hn){hn=Math.min(Math.max(hn,1),100),Ce!=hn&&(function(rr){for(var hr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Pr=0;Pr<64;Pr++){var ti=nt((hr[Pr]*rr+50)/100);ti=Math.min(Math.max(ti,1),255),Ge[Wi[Pr]]=ti}for(var pi=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Ti=0;Ti<64;Ti++){var Ui=nt((pi[Ti]*rr+50)/100);Ui=Math.min(Math.max(Ui,1),255),ot[Wi[Ti]]=Ui}for(var ya=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],so=0,Uo=0;Uo<8;Uo++)for(var Zo=0;Zo<8;Zo++)ft[so]=1/(Ge[Wi[so]]*ya[Uo]*ya[Zo]*8),Et[so]=1/(ot[Wi[so]]*ya[Uo]*ya[Zo]*8),so++}(hn<50?Math.floor(5e3/hn):Math.floor(200-2*hn)),Ce=hn)}this.encode=function(hn,rr){rr&&Na(rr),In=new Array,Zn=0,wn=7,Gi(65496),Gi(65504),Gi(16),Ci(74),Ci(70),Ci(73),Ci(70),Ci(0),Ci(1),Ci(1),Ci(0),Gi(1),Gi(1),Ci(0),Ci(0),function(){Gi(65499),Gi(132),Ci(0);for(var Ks=0;Ks<64;Ks++)Ci(Ge[Ks]);Ci(1);for(var il=0;il<64;il++)Ci(ot[il])}(),function(Ks,il){Gi(65472),Gi(17),Ci(8),Gi(il),Gi(Ks),Ci(3),Ci(1),Ci(17),Ci(0),Ci(2),Ci(17),Ci(1),Ci(3),Ci(17),Ci(1)}(hn.width,hn.height),function(){Gi(65476),Gi(418),Ci(0);for(var Ks=0;Ks<16;Ks++)Ci(Yr[Ks+1]);for(var il=0;il<=11;il++)Ci(sr[il]);Ci(16);for(var Tu=0;Tu<16;Tu++)Ci(ci[Tu+1]);for(var Pu=0;Pu<=161;Pu++)Ci(yn[Pu]);Ci(1);for(var Fl=0;Fl<16;Fl++)Ci(Gn[Fl+1]);for(var _u=0;_u<=11;_u++)Ci(_r[_u]);Ci(17);for(var yu=0;yu<16;yu++)Ci(Er[yu+1]);for(var Os=0;Os<=161;Os++)Ci(Fi[Os])}(),Gi(65498),Gi(12),Ci(3),Ci(1),Ci(0),Ci(2),Ci(17),Ci(3),Ci(17),Ci(0),Ci(63),Ci(0);var hr=0,Pr=0,ti=0;Zn=0,wn=7,this.encode.displayName="_encode_";for(var pi,Ti,Ui,ya,so,Uo,Zo,Gs,jn,Xo=hn.data,pu=hn.width,gl=hn.height,to=4*pu,ul=0;ul<gl;){for(pi=0;pi<to;){for(so=to*ul+pi,Zo=-1,Gs=0,jn=0;jn<64;jn++)Uo=so+(Gs=jn>>3)*to+(Zo=4*(7&jn)),ul+Gs>=gl&&(Uo-=to*(ul+1+Gs-gl)),pi+Zo>=to&&(Uo-=pi+Zo-to+4),Ti=Xo[Uo++],Ui=Xo[Uo++],ya=Xo[Uo++],Ir[jn]=(ta[Ti]+ta[Ui+256|0]+ta[ya+512|0]>>16)-128,Br[jn]=(ta[Ti+768|0]+ta[Ui+1024|0]+ta[ya+1280|0]>>16)-128,ar[jn]=(ta[Ti+1280|0]+ta[Ui+1536|0]+ta[ya+1792|0]>>16)-128;hr=fo(Ir,ft,hr,ne,de),Pr=fo(Br,Et,Pr,te,ge),ti=fo(ar,Et,ti,te,ge),pi+=32}ul+=8}if(wn>=0){var qo=[];qo[1]=wn+1,qo[0]=(1<<wn+1)-1,Xi(qo)}return Gi(65497),new Uint8Array(In)},E=E||50,function(){for(var hn=String.fromCharCode,rr=0;rr<256;rr++)wi[rr]=hn(rr)}(),ne=zi(Yr,sr),te=zi(Gn,_r),de=zi(ci,yn),ge=zi(Er,Fi),function(){for(var hn=1,rr=2,hr=1;hr<=15;hr++){for(var Pr=hn;Pr<rr;Pr++)sn[32767+Pr]=hr,en[32767+Pr]=[],en[32767+Pr][1]=hr,en[32767+Pr][0]=Pr;for(var ti=-(rr-1);ti<=-hn;ti++)sn[32767+ti]=hr,en[32767+ti]=[],en[32767+ti][1]=hr,en[32767+ti][0]=rr-1+ti;hn<<=1,rr<<=1}}(),function(){for(var hn=0;hn<256;hn++)ta[hn]=19595*hn,ta[hn+256|0]=38470*hn,ta[hn+512|0]=7471*hn+32768,ta[hn+768|0]=-11059*hn,ta[hn+1024|0]=-21709*hn,ta[hn+1280|0]=32768*hn+8421375,ta[hn+1536|0]=-27439*hn,ta[hn+1792|0]=-5329*hn}(),Na(E)}function Wf(E,ne){if(this.pos=0,this.buffer=E,this.datav=new DataView(E.buffer),this.is_with_alpha=!!ne,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Gm(E){function ne(sr){if(!sr)throw Error("assert :P")}function te(sr,ci,yn){for(var Gn=0;4>Gn;Gn++)if(sr[ci+Gn]!=yn.charCodeAt(Gn))return!0;return!1}function de(sr,ci,yn,Gn,_r){for(var Er=0;Er<_r;Er++)sr[ci+Er]=yn[Gn+Er]}function ge(sr,ci,yn,Gn){for(var _r=0;_r<Gn;_r++)sr[ci+_r]=yn}function Ce(sr){return new Int32Array(sr)}function nt(sr,ci){for(var yn=[],Gn=0;Gn<sr;Gn++)yn.push(new ci);return yn}function Ge(sr,ci){var yn=[];return function Gn(_r,Er,Fi){for(var zi=Fi[Er],Xi=0;Xi<zi&&(_r.push(Fi.length>Er+1?[]:new ci),!(Fi.length<Er+1));Xi++)Gn(_r[Xi],Er+1,Fi)}(yn,0,sr),yn}var ot=function(){var sr=this;function ci(xe,Qe){for(var st=1<<Qe-1>>>0;xe&st;)st>>>=1;return st?(xe&st-1)+st:xe}function yn(xe,Qe,st,Ot,rn){ne(!(Ot%st));do xe[Qe+(Ot-=st)]=rn;while(0<Ot)}function Gn(xe,Qe,st,Ot,rn){if(ne(2328>=rn),512>=rn)var ln=Ce(512);else if((ln=Ce(rn))==null)return 0;return function(dn,bn,kn,Dn,Sr,oi){var Yn,Vr,ii=bn,Yi=1<<kn,Ai=Ce(16),aa=Ce(16);for(ne(Sr!=0),ne(Dn!=null),ne(dn!=null),ne(0<kn),Vr=0;Vr<Sr;++Vr){if(15<Dn[Vr])return 0;++Ai[Dn[Vr]]}if(Ai[0]==Sr)return 0;for(aa[1]=0,Yn=1;15>Yn;++Yn){if(Ai[Yn]>1<<Yn)return 0;aa[Yn+1]=aa[Yn]+Ai[Yn]}for(Vr=0;Vr<Sr;++Vr)Yn=Dn[Vr],0<Dn[Vr]&&(oi[aa[Yn]++]=Vr);if(aa[15]==1)return(Dn=new _r).g=0,Dn.value=oi[0],yn(dn,ii,1,Yi,Dn),Yi;var wa,ho=-1,Wa=Yi-1,Xs=0,ks=1,xu=1,Hs=1<<kn;for(Vr=0,Yn=1,Sr=2;Yn<=kn;++Yn,Sr<<=1){if(ks+=xu<<=1,0>(xu-=Ai[Yn]))return 0;for(;0<Ai[Yn];--Ai[Yn])(Dn=new _r).g=Yn,Dn.value=oi[Vr++],yn(dn,ii+Xs,Sr,Hs,Dn),Xs=ci(Xs,Yn)}for(Yn=kn+1,Sr=2;15>=Yn;++Yn,Sr<<=1){if(ks+=xu<<=1,0>(xu-=Ai[Yn]))return 0;for(;0<Ai[Yn];--Ai[Yn]){if(Dn=new _r,(Xs&Wa)!=ho){for(ii+=Hs,wa=1<<(ho=Yn)-kn;15>ho&&!(0>=(wa-=Ai[ho]));)++ho,wa<<=1;Yi+=Hs=1<<(wa=ho-kn),dn[bn+(ho=Xs&Wa)].g=wa+kn,dn[bn+ho].value=ii-bn-ho}Dn.g=Yn-kn,Dn.value=oi[Vr++],yn(dn,ii+(Xs>>kn),Sr,Hs,Dn),Xs=ci(Xs,Yn)}}return ks!=2*aa[15]-1?0:Yi}(xe,Qe,st,Ot,rn,ln)}function _r(){this.value=this.g=0}function Er(){this.value=this.g=0}function Fi(){this.G=nt(5,_r),this.H=Ce(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=nt(Vp,Er)}function zi(xe,Qe,st,Ot){ne(xe!=null),ne(Qe!=null),ne(2147483648>Ot),xe.Ca=254,xe.I=0,xe.b=-8,xe.Ka=0,xe.oa=Qe,xe.pa=st,xe.Jd=Qe,xe.Yc=st+Ot,xe.Zc=4<=Ot?st+Ot-4+1:st,Ti(xe)}function Xi(xe,Qe){for(var st=0;0<Qe--;)st|=ya(xe,128)<<Qe;return st}function Ci(xe,Qe){var st=Xi(xe,Qe);return Ui(xe)?-st:st}function Gi(xe,Qe,st,Ot){var rn,ln=0;for(ne(xe!=null),ne(Qe!=null),ne(4294967288>Ot),xe.Sb=Ot,xe.Ra=0,xe.u=0,xe.h=0,4<Ot&&(Ot=4),rn=0;rn<Ot;++rn)ln+=Qe[st+rn]<<8*rn;xe.Ra=ln,xe.bb=Ot,xe.oa=Qe,xe.pa=st}function fo(xe){for(;8<=xe.u&&xe.bb<xe.Sb;)xe.Ra>>>=8,xe.Ra+=xe.oa[xe.pa+xe.bb]<<Gp-8>>>0,++xe.bb,xe.u-=8;Pr(xe)&&(xe.h=1,xe.u=0)}function Na(xe,Qe){if(ne(0<=Qe),!xe.h&&Qe<=$f){var st=hr(xe)&cf[Qe];return xe.u+=Qe,fo(xe),st}return xe.h=1,xe.u=0}function hn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function rr(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function hr(xe){return xe.Ra>>>(xe.u&Gp-1)>>>0}function Pr(xe){return ne(xe.bb<=xe.Sb),xe.h||xe.bb==xe.Sb&&xe.u>Gp}function ti(xe,Qe){xe.u=Qe,xe.h=Pr(xe)}function pi(xe){xe.u>=gp&&(ne(xe.u>=gp),fo(xe))}function Ti(xe){ne(xe!=null&&xe.oa!=null),xe.pa<xe.Zc?(xe.I=(xe.oa[xe.pa++]|xe.I<<8)>>>0,xe.b+=8):(ne(xe!=null&&xe.oa!=null),xe.pa<xe.Yc?(xe.b+=8,xe.I=xe.oa[xe.pa++]|xe.I<<8):xe.Ka?xe.b=0:(xe.I<<=8,xe.b+=8,xe.Ka=1))}function Ui(xe){return Xi(xe,1)}function ya(xe,Qe){var st=xe.Ca;0>xe.b&&Ti(xe);var Ot=xe.b,rn=st*Qe>>>8,ln=(xe.I>>>Ot>rn)+0;for(ln?(st-=rn,xe.I-=rn+1<<Ot>>>0):st=rn+1,Ot=st,rn=0;256<=Ot;)rn+=8,Ot>>=8;return Ot=7^rn+B0[Ot],xe.b-=Ot,xe.Ca=(st<<Ot)-1,ln}function so(xe,Qe,st){xe[Qe+0]=st>>24&255,xe[Qe+1]=st>>16&255,xe[Qe+2]=st>>8&255,xe[Qe+3]=255&st}function Uo(xe,Qe){return xe[Qe+0]|xe[Qe+1]<<8}function Zo(xe,Qe){return Uo(xe,Qe)|xe[Qe+2]<<16}function Gs(xe,Qe){return Uo(xe,Qe)|Uo(xe,Qe+2)<<16}function jn(xe,Qe){var st=1<<Qe;return ne(xe!=null),ne(0<Qe),xe.X=Ce(st),xe.X==null?0:(xe.Mb=32-Qe,xe.Xa=Qe,1)}function Xo(xe,Qe){ne(xe!=null),ne(Qe!=null),ne(xe.Xa==Qe.Xa),de(Qe.X,0,xe.X,0,1<<Qe.Xa)}function pu(){this.X=[],this.Xa=this.Mb=0}function gl(xe,Qe,st,Ot){ne(st!=null),ne(Ot!=null);var rn=st[0],ln=Ot[0];return rn==0&&(rn=(xe*ln+Qe/2)/Qe),ln==0&&(ln=(Qe*rn+xe/2)/xe),0>=rn||0>=ln?0:(st[0]=rn,Ot[0]=ln,1)}function to(xe,Qe){return xe+(1<<Qe)-1>>>Qe}function ul(xe,Qe){return((4278255360&xe)+(4278255360&Qe)>>>0&4278255360)+((16711935&xe)+(16711935&Qe)>>>0&16711935)>>>0}function qo(xe,Qe){sr[Qe]=function(st,Ot,rn,ln,dn,bn,kn){var Dn;for(Dn=0;Dn<dn;++Dn){var Sr=sr[xe](bn[kn+Dn-1],rn,ln+Dn);bn[kn+Dn]=ul(st[Ot+Dn],Sr)}}}function Ks(){this.ud=this.hd=this.jd=0}function il(xe,Qe){return((4278124286&(xe^Qe))>>>1)+(xe&Qe)>>>0}function Tu(xe){return 0<=xe&&256>xe?xe:0>xe?0:255<xe?255:void 0}function Pu(xe,Qe){return Tu(xe+(xe-Qe+.5>>1))}function Fl(xe,Qe,st){return Math.abs(Qe-st)-Math.abs(xe-st)}function _u(xe,Qe,st,Ot,rn,ln,dn){for(Ot=ln[dn-1],st=0;st<rn;++st)ln[dn+st]=Ot=ul(xe[Qe+st],Ot)}function yu(xe,Qe,st,Ot,rn){var ln;for(ln=0;ln<st;++ln){var dn=xe[Qe+ln],bn=dn>>8&255,kn=16711935&(kn=(kn=16711935&dn)+((bn<<16)+bn));Ot[rn+ln]=(4278255360&dn)+kn>>>0}}function Os(xe,Qe){Qe.jd=255&xe,Qe.hd=xe>>8&255,Qe.ud=xe>>16&255}function nu(xe,Qe,st,Ot,rn,ln){var dn;for(dn=0;dn<Ot;++dn){var bn=Qe[st+dn],kn=bn>>>8,Dn=bn,Sr=255&(Sr=(Sr=bn>>>16)+((xe.jd<<24>>24)*(kn<<24>>24)>>>5));Dn=255&(Dn=(Dn+=(xe.hd<<24>>24)*(kn<<24>>24)>>>5)+((xe.ud<<24>>24)*(Sr<<24>>24)>>>5)),rn[ln+dn]=(4278255360&bn)+(Sr<<16)+Dn}}function Ws(xe,Qe,st,Ot,rn){sr[Qe]=function(ln,dn,bn,kn,Dn,Sr,oi,Yn,Vr){for(kn=oi;kn<Yn;++kn)for(oi=0;oi<Vr;++oi)Dn[Sr++]=rn(bn[Ot(ln[dn++])])},sr[xe]=function(ln,dn,bn,kn,Dn,Sr,oi){var Yn=8>>ln.b,Vr=ln.Ea,ii=ln.K[0],Yi=ln.w;if(8>Yn)for(ln=(1<<ln.b)-1,Yi=(1<<Yn)-1;dn<bn;++dn){var Ai,aa=0;for(Ai=0;Ai<Vr;++Ai)Ai&ln||(aa=Ot(kn[Dn++])),Sr[oi++]=rn(ii[aa&Yi]),aa>>=Yn}else sr["VP8LMapColor"+st](kn,Dn,ii,Yi,Sr,oi,dn,bn,Vr)}}function Yd(xe,Qe,st,Ot,rn){for(st=Qe+st;Qe<st;){var ln=xe[Qe++];Ot[rn++]=ln>>16&255,Ot[rn++]=ln>>8&255,Ot[rn++]=255&ln}}function qu(xe,Qe,st,Ot,rn){for(st=Qe+st;Qe<st;){var ln=xe[Qe++];Ot[rn++]=ln>>16&255,Ot[rn++]=ln>>8&255,Ot[rn++]=255&ln,Ot[rn++]=ln>>24&255}}function mu(xe,Qe,st,Ot,rn){for(st=Qe+st;Qe<st;){var ln=(dn=xe[Qe++])>>16&240|dn>>12&15,dn=240&dn|dn>>28&15;Ot[rn++]=ln,Ot[rn++]=dn}}function bu(xe,Qe,st,Ot,rn){for(st=Qe+st;Qe<st;){var ln=(dn=xe[Qe++])>>16&248|dn>>13&7,dn=dn>>5&224|dn>>3&31;Ot[rn++]=ln,Ot[rn++]=dn}}function gd(xe,Qe,st,Ot,rn){for(st=Qe+st;Qe<st;){var ln=xe[Qe++];Ot[rn++]=255&ln,Ot[rn++]=ln>>8&255,Ot[rn++]=ln>>16&255}}function Ys(xe,Qe,st,Ot,rn,ln){if(ln==0)for(st=Qe+st;Qe<st;)so(Ot,((ln=xe[Qe++])[0]>>24|ln[1]>>8&65280|ln[2]<<8&16711680|ln[3]<<24)>>>0),rn+=32;else de(Ot,rn,xe,Qe,st)}function Yc(xe,Qe){sr[Qe][0]=sr[xe+"0"],sr[Qe][1]=sr[xe+"1"],sr[Qe][2]=sr[xe+"2"],sr[Qe][3]=sr[xe+"3"],sr[Qe][4]=sr[xe+"4"],sr[Qe][5]=sr[xe+"5"],sr[Qe][6]=sr[xe+"6"],sr[Qe][7]=sr[xe+"7"],sr[Qe][8]=sr[xe+"8"],sr[Qe][9]=sr[xe+"9"],sr[Qe][10]=sr[xe+"10"],sr[Qe][11]=sr[xe+"11"],sr[Qe][12]=sr[xe+"12"],sr[Qe][13]=sr[xe+"13"],sr[Qe][14]=sr[xe+"0"],sr[Qe][15]=sr[xe+"0"]}function kl(xe){return xe==sv||xe==F0||xe==Ud||xe==$p}function Gl(){this.eb=[],this.size=this.A=this.fb=0}function Oc(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Rl(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Gl,this.f.kb=new Oc,this.sd=null}function cl(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function vc(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Dp(xe){return alert("todo:WebPSamplerProcessPlane"),xe.T}function pA(xe,Qe){var st=xe.T,Ot=Qe.ba.f.RGBA,rn=Ot.eb,ln=Ot.fb+xe.ka*Ot.A,dn=xh[Qe.ba.S],bn=xe.y,kn=xe.O,Dn=xe.f,Sr=xe.N,oi=xe.ea,Yn=xe.W,Vr=Qe.cc,ii=Qe.dc,Yi=Qe.Mc,Ai=Qe.Nc,aa=xe.ka,wa=xe.ka+xe.T,ho=xe.U,Wa=ho+1>>1;for(aa==0?dn(bn,kn,null,null,Dn,Sr,oi,Yn,Dn,Sr,oi,Yn,rn,ln,null,null,ho):(dn(Qe.ec,Qe.fc,bn,kn,Vr,ii,Yi,Ai,Dn,Sr,oi,Yn,rn,ln-Ot.A,rn,ln,ho),++st);aa+2<wa;aa+=2)Vr=Dn,ii=Sr,Yi=oi,Ai=Yn,Sr+=xe.Rc,Yn+=xe.Rc,ln+=2*Ot.A,dn(bn,(kn+=2*xe.fa)-xe.fa,bn,kn,Vr,ii,Yi,Ai,Dn,Sr,oi,Yn,rn,ln-Ot.A,rn,ln,ho);return kn+=xe.fa,xe.j+wa<xe.o?(de(Qe.ec,Qe.fc,bn,kn,ho),de(Qe.cc,Qe.dc,Dn,Sr,Wa),de(Qe.Mc,Qe.Nc,oi,Yn,Wa),st--):1&wa||dn(bn,kn,null,null,Dn,Sr,oi,Yn,Dn,Sr,oi,Yn,rn,ln+Ot.A,null,null,ho),st}function Q0(xe,Qe,st){var Ot=xe.F,rn=[xe.J];if(Ot!=null){var ln=xe.U,dn=Qe.ba.S,bn=dn==Lm||dn==Ud;Qe=Qe.ba.f.RGBA;var kn=[0],Dn=xe.ka;kn[0]=xe.T,xe.Kb&&(Dn==0?--kn[0]:(--Dn,rn[0]-=xe.width),xe.j+xe.ka+xe.T==xe.o&&(kn[0]=xe.o-xe.j-Dn));var Sr=Qe.eb;Dn=Qe.fb+Dn*Qe.A,xe=iv(Ot,rn[0],xe.width,ln,kn,Sr,Dn+(bn?0:3),Qe.A),ne(st==kn),xe&&kl(dn)&&lg(Sr,Dn,bn,ln,kn,Qe.A)}return 0}function A0(xe){var Qe=xe.ma,st=Qe.ba.S,Ot=11>st,rn=st==Rg||st==ug||st==Lm||st==ov||st==12||kl(st);if(Qe.memory=null,Qe.Ib=null,Qe.Jb=null,Qe.Nd=null,!yd(Qe.Oa,xe,rn?11:12))return 0;if(rn&&kl(st)&&Zh(),xe.da)alert("todo:use_scaling");else{if(Ot){if(Qe.Ib=Dp,xe.Kb){if(st=xe.U+1>>1,Qe.memory=Ce(xe.U+2*st),Qe.memory==null)return 0;Qe.ec=Qe.memory,Qe.fc=0,Qe.cc=Qe.ec,Qe.dc=Qe.fc+xe.U,Qe.Mc=Qe.cc,Qe.Nc=Qe.dc+st,Qe.Ib=pA,Zh()}}else alert("todo:EmitYUV");rn&&(Qe.Jb=Q0,Ot&&Wh())}if(Ot&&!pn){for(xe=0;256>xe;++xe)Kn[xe]=89858*(xe-128)+tt>>ye,Ha[xe]=-22014*(xe-128)+tt,di[xe]=-45773*(xe-128),nr[xe]=113618*(xe-128)+tt>>ye;for(xe=ut;xe<gt;++xe)Qe=76283*(xe-16)+tt>>ye,li[xe-ut]=lf(Qe,255),na[xe-ut]=lf(Qe+8>>4,15);pn=1}return 1}function vl(xe){var Qe=xe.ma,st=xe.U,Ot=xe.T;return ne(!(1&xe.ka)),0>=st||0>=Ot?0:(st=Qe.Ib(xe,Qe),Qe.Jb!=null&&Qe.Jb(xe,Qe,st),Qe.Dc+=st,1)}function z0(xe){xe.ma.memory=null}function K0(xe,Qe,st,Ot){return Na(xe,8)!=47?0:(Qe[0]=Na(xe,14)+1,st[0]=Na(xe,14)+1,Ot[0]=Na(xe,1),Na(xe,3)!=0?0:!xe.h)}function Gf(xe,Qe){if(4>xe)return xe+1;var st=xe-2>>1;return(2+(1&xe)<<st)+Na(Qe,st)+1}function Yf(xe,Qe){return 120<Qe?Qe-120:1<=(st=((st=Nv[Qe-1])>>4)*xe+(8-(15&st)))?st:1;var st}function Pd(xe,Qe,st){var Ot=hr(st),rn=xe[Qe+=255&Ot].g-8;return 0<rn&&(ti(st,st.u+8),Ot=hr(st),Qe+=xe[Qe].value,Qe+=Ot&(1<<rn)-1),ti(st,st.u+xe[Qe].g),xe[Qe].value}function rc(xe,Qe,st){return st.g+=xe.g,st.value+=xe.value<<Qe>>>0,ne(8>=st.g),xe.g}function Xc(xe,Qe,st){var Ot=xe.xc;return ne((Qe=Ot==0?0:xe.vc[xe.md*(st>>Ot)+(Qe>>Ot)])<xe.Wb),xe.Ya[Qe]}function f0(xe,Qe,st,Ot){var rn=xe.ab,ln=xe.c*Qe,dn=xe.C;Qe=dn+Qe;var bn=st,kn=Ot;for(Ot=xe.Ta,st=xe.Ua;0<rn--;){var Dn=xe.gc[rn],Sr=dn,oi=Qe,Yn=bn,Vr=kn,ii=(kn=Ot,bn=st,Dn.Ea);switch(ne(Sr<oi),ne(oi<=Dn.nc),Dn.hc){case 2:Md(Yn,Vr,(oi-Sr)*ii,kn,bn);break;case 0:var Yi=Sr,Ai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(Ot,st,bn,kn,ln)}function h0(xe,Qe){var st=xe.V,Ot=xe.Ba+xe.c*xe.C,rn=Qe-xe.C;if(ne(Qe<=xe.l.o),ne(16>=rn),0<rn){var ln=xe.l,dn=xe.Ta,bn=xe.Ua,kn=ln.width;if(f0(xe,rn,st,Ot),rn=bn=[bn],ne((st=xe.C)<(Ot=Qe)),ne(ln.v<ln.va),Ot>ln.o&&(Ot=ln.o),st<ln.j){var Dn=ln.j-st;st=ln.j,rn[0]+=Dn*kn}if(st>=Ot?st=0:(rn[0]+=4*ln.v,ln.ka=st-ln.j,ln.U=ln.va-ln.v,ln.T=Ot-st,st=1),st){if(bn=bn[0],11>(st=xe.ca).S){var Sr=st.f.RGBA,oi=(Ot=st.S,rn=ln.U,ln=ln.T,Dn=Sr.eb,Sr.A),Yn=ln;for(Sr=Sr.fb+xe.Ma*Sr.A;0<Yn--;){var Vr=dn,ii=bn,Yi=rn,Ai=Dn,aa=Sr;switch(Ot){case Pg:_m(Vr,ii,Yi,Ai,aa);break;case Rg:J0(Vr,ii,Yi,Ai,aa);break;case sv:J0(Vr,ii,Yi,Ai,aa),lg(Ai,aa,0,Yi,1,0);break;case Iv:yp(Vr,ii,Yi,Ai,aa);break;case ug:Ys(Vr,ii,Yi,Ai,aa,1);break;case F0:Ys(Vr,ii,Yi,Ai,aa,1),lg(Ai,aa,0,Yi,1,0);break;case Lm:Ys(Vr,ii,Yi,Ai,aa,0);break;case Ud:Ys(Vr,ii,Yi,Ai,aa,0),lg(Ai,aa,1,Yi,1,0);break;case ov:vp(Vr,ii,Yi,Ai,aa);break;case $p:vp(Vr,ii,Yi,Ai,aa),Ev(Ai,aa,Yi,1,0);break;case wu:Zu(Vr,ii,Yi,Ai,aa);break;default:ne(0)}bn+=kn,Sr+=oi}xe.Ma+=ln}else alert("todo:EmitRescaledRowsYUVA");ne(xe.Ma<=st.height)}}xe.C=Qe,ne(xe.C<=xe.i)}function ph(xe){var Qe;if(0<xe.ua)return 0;for(Qe=0;Q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e.wd,xe.$=xe.xd,0<xe.s.ua&&Xo(xe.s.vb,xe.s.Wa);else{if(Dn.h)break e;dn!=null&&dn(xe,bn>ln?ln:bn),xe.a=0,xe.$=oi-st}return 1}return xe.a=3,0}function mh(xe){ne(xe!=null),xe.vc=null,xe.yc=null,xe.Ya=null;var Qe=xe.Wa;Qe!=null&&(Qe.X=null),xe.vb=null,ne(xe!=null)}function Np(){var xe=new Ml;return xe==null?null:(xe.a=0,xe.xb=a1,Yc("Predictor","VP8LPredictors"),Yc("Predictor","VP8LPredictors_C"),Yc("PredictorAdd","VP8LPredictorsAdd"),Yc("PredictorAdd","VP8LPredictorsAdd_C"),Md=yu,og=nu,_m=Yd,J0=qu,vp=mu,Zu=bu,yp=gd,sr.VP8LMapColor32b=vh,sr.VP8LMapColor8b=Yp,xe)}function p0(xe,Qe,st,Ot,rn){var ln=1,dn=[xe],bn=[Qe],kn=Ot.m,Dn=Ot.s,Sr=null,oi=0;e:for(;;){if(st)for(;ln&&Na(kn,1);){var Yn=dn,Vr=bn,ii=Ot,Yi=1,Ai=ii.m,aa=ii.gc[ii.ab],wa=Na(Ai,2);if(ii.Oc&1<<wa)ln=0;else{switch(ii.Oc|=1<<wa,aa.hc=wa,aa.Ea=Yn[0],aa.nc=Vr[0],aa.K=[null],++ii.ab,ne(4>=ii.ab),wa){case 0:case 1:aa.b=Na(Ai,3)+2,Yi=p0(to(aa.Ea,aa.b),to(aa.nc,aa.b),0,ii,aa.K),aa.K=aa.K[0];break;case 3:var ho,Wa=Na(Ai,8)+1,Xs=16<Wa?0:4<Wa?1:2<Wa?2:3;if(Yn[0]=to(aa.Ea,Xs),aa.b=Xs,ho=Yi=p0(Wa,1,0,ii,aa.K)){var ks,xu=Wa,Hs=aa,ic=1<<(8>>Hs.b),WA=Ce(ic);if(WA==null)ho=0;else{var Cu=Hs.K[0],js=Hs.w;for(WA[0]=Hs.K[0][0],ks=1;ks<1*xu;++ks)WA[ks]=ul(Cu[js+ks],WA[ks-1]);for(;ks<4*ic;++ks)WA[ks]=0;Hs.K[0]=null,Hs.K[0]=WA,ho=1}}Yi=ho;break;case 2:break;default:ne(0)}ln=Yi}}if(dn=dn[0],bn=bn[0],ln&&Na(kn,1)&&!(ln=1<=(oi=Na(kn,4))&&11>=oi)){Ot.a=3;break e}var Go;if(Go=ln)t:{var vA,cu,dc,_d=Ot,mf=dn,th=bn,sA=oi,Lf=st,nh=_d.m,ZA=_d.s,yc=[null],$c=1,lA=0,ed=Ov[sA];n:for(;;){if(Lf&&Na(nh,1)){var gf=Na(nh,3)+2,ep=to(mf,gf),yA=to(th,gf),Ch=ep*yA;if(!p0(ep,yA,0,_d,yc))break n;for(yc=yc[0],ZA.xc=gf,vA=0;vA<Ch;++vA){var fd=yc[vA]>>8&65535;yc[vA]=fd,fd>=$c&&($c=fd+1)}}if(nh.h)break n;for(cu=0;5>cu;++cu){var VA=em[cu];!cu&&0<sA&&(VA+=1<<sA),lA<VA&&(lA=VA)}var Yh=nt($c*ed,_r),rh=$c,Xh=nt(rh,Fi);if(Xh==null)var Jh=null;else ne(65536>=rh),Jh=Xh;var Bh=Ce(lA);if(Jh==null||Bh==null||Yh==null){_d.a=1;break n}var qh=Yh;for(vA=dc=0;vA<$c;++vA){var bd=Jh[vA],$h=bd.G,tp=bd.H,dg=0,nm=1,vf=0;for(cu=0;5>cu;++cu){VA=em[cu],$h[cu]=qh,tp[cu]=dc,!cu&&0<sA&&(VA+=1<<sA);i:{var Rv,o1=VA,Uv=_d,uv=Bh,Ay=qh,fy=dc,s1=0,Om=Uv.m,hy=Na(Om,1);if(ge(uv,0,0,o1),hy){var py=Na(Om,1)+1,my=Na(Om,1),v1=Na(Om,my==0?1:8);uv[v1]=1,py==2&&(uv[v1=Na(Om,8)]=1);var Hv=1}else{var y1=Ce(19),b1=Na(Om,4)+4;if(19<b1){Uv.a=3;var jv=0;break i}for(Rv=0;Rv<b1;++Rv)y1[Dv[Rv]]=Na(Om,3);var l1=void 0,cv=void 0,w1=Uv,gy=y1,Qv=o1,x1=uv,u1=0,Tm=w1.m,C1=8,B1=nt(128,_r);r:for(;Gn(B1,0,7,gy,19);){if(Na(Tm,1)){var vy=2+2*Na(Tm,3);if((l1=2+Na(Tm,vy))>Qv)break r}else l1=Qv;for(cv=0;cv<Qv&&l1--;){pi(Tm);var S1=B1[0+(127&hr(Tm))];ti(Tm,Tm.u+S1.g);var Ug=S1.value;if(16>Ug)x1[cv++]=Ug,Ug!=0&&(C1=Ug);else{var yy=Ug==16,E1=Ug-16,by=cg[E1],F1=Na(Tm,$0[E1])+by;if(cv+F1>Qv)break r;for(var wy=yy?C1:0;0<F1--;)x1[cv++]=wy}}u1=1;break r}u1||(w1.a=3),Hv=u1}(Hv=Hv&&!Om.h)&&(s1=Gn(Ay,fy,8,uv,o1)),Hv&&s1!=0?jv=s1:(Uv.a=3,jv=0)}if(jv==0)break n;if(nm&&Lv[cu]==1&&(nm=qh[dc].g==0),dg+=qh[dc].g,dc+=jv,3>=cu){var dv,c1=Bh[0];for(dv=1;dv<VA;++dv)Bh[dv]>c1&&(c1=Bh[dv]);vf+=c1}}if(bd.nd=nm,bd.Qb=0,nm&&(bd.qb=($h[3][tp[3]+0].value<<24|$h[1][tp[1]+0].value<<16|$h[2][tp[2]+0].value)>>>0,dg==0&&256>$h[0][tp[0]+0].value&&(bd.Qb=1,bd.qb+=$h[0][tp[0]+0].value<<8)),bd.jc=!bd.Qb&&6>vf,bd.jc){var zv,rm=bd;for(zv=0;zv<Vp;++zv){var Pm=zv,Rm=rm.pd[Pm],Kv=rm.G[0][rm.H[0]+Pm];256<=Kv.value?(Rm.g=Kv.g+256,Rm.value=Kv.value):(Rm.g=0,Rm.value=0,Pm>>=rc(Kv,8,Rm),Pm>>=rc(rm.G[1][rm.H[1]+Pm],16,Rm),Pm>>=rc(rm.G[2][rm.H[2]+Pm],0,Rm),rc(rm.G[3][rm.H[3]+Pm],24,Rm))}}}ZA.vc=yc,ZA.Wb=$c,ZA.Ya=Jh,ZA.yc=Yh,Go=1;break t}Go=0}if(!(ln=Go)){Ot.a=3;break e}if(0<oi){if(Dn.ua=1<<oi,!jn(Dn.Wa,oi)){Ot.a=1,ln=0;break e}}else Dn.ua=0;var d1=Ot,k1=dn,xy=bn,A1=d1.s,f1=A1.xc;if(d1.c=k1,d1.i=xy,A1.md=to(k1,f1),A1.wc=f1==0?-1:(1<<f1)-1,st){Ot.xb=m1;break e}if((Sr=Ce(dn*bn))==null){Ot.a=1,ln=0;break e}ln=(ln=Jf(Ot,Sr,0,dn,bn,bn,null))&&!kn.h;break e}return ln?(rn!=null?rn[0]=Sr:(ne(Sr==null),ne(st)),Ot.$=0,st||mh(Dn)):mh(Dn),ln}function Op(xe,Qe){var st=xe.c*xe.i,Ot=st+Qe+16*Qe;return ne(xe.c<=Qe),xe.V=Ce(Ot),xe.V==null?(xe.Ta=null,xe.Ua=0,xe.a=1,0):(xe.Ta=xe.V,xe.Ua=xe.Ba+st+Qe,1)}function Tp(xe,Qe){var st=xe.C,Ot=Qe-st,rn=xe.V,ln=xe.Ba+xe.c*st;for(ne(Qe<=xe.l.o);0<Ot;){var dn=16<Ot?16:Ot,bn=xe.l.ma,kn=xe.l.width,Dn=kn*dn,Sr=bn.ca,oi=bn.tb+kn*st,Yn=xe.Ta,Vr=xe.Ua;f0(xe,dn,rn,ln),Fv(Yn,Vr,Sr,oi,Dn),Xf(bn,st,st+dn,Sr,oi,kn),Ot-=dn,rn+=dn*xe.c,st+=dn}ne(st==Qe),xe.C=xe.Ma=Qe}function gm(){this.ub=this.yd=this.td=this.Rb=0}function Pp(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ym(){this.Fb=this.Bb=this.Cb=0,this.Zb=Ce(4),this.Lb=Ce(4)}function Xm(){this.Yb=function(){var xe=[];return function Qe(st,Ot,rn){for(var ln=rn[Ot],dn=0;dn<ln&&(st.push(rn.length>Ot+1?[]:0),!(rn.length<Ot+1));dn++)Qe(st[dn],Ot+1,rn)}(xe,0,[3,11]),xe}()}function wg(){this.jb=Ce(3),this.Wc=Ge([4,8],Xm),this.Xc=Ge([4,17],Xm)}function xg(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Ce(4),this.od=new Ce(4)}function If(){this.ld=this.La=this.dd=this.tc=0}function Rp(){this.Na=this.la=0}function Jm(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function qm(){this.ad=Ce(384),this.Za=0,this.Ob=Ce(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function vm(){this.uc=this.M=this.Nb=0,this.wa=Array(new If),this.Y=0,this.ya=Array(new qm),this.aa=0,this.l=new m0}function ym(){this.y=Ce(16),this.f=Ce(8),this.ea=Ce(8)}function $m(){this.cb=this.a=0,this.sc="",this.m=new hn,this.Od=new gm,this.Kc=new Pp,this.ed=new xg,this.Qa=new Ym,this.Ic=this.$c=this.Aa=0,this.D=new vm,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=nt(8,hn),this.ia=0,this.pb=nt(4,Jm),this.Pa=new wg,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ym),this.Hd=0,this.rb=Array(new Rp),this.sb=0,this.wa=Array(new If),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new qm),this.L=this.aa=0,this.gd=Ge([4,2],If),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function lf(xe,Qe){return 0>xe?0:xe>Qe?Qe:xe}function m0(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function bm(){var xe=new $m;return xe!=null&&(xe.a=0,xe.sc="OK",xe.cb=0,xe.Xb=0,Nm||(Nm=Up)),xe}function Rd(xe,Qe,st){return xe.a==0&&(xe.a=Qe,xe.sc=st,xe.cb=0),0}function eg(xe,Qe,st){return 3<=st&&xe[Qe+0]==157&&xe[Qe+1]==1&&xe[Qe+2]==42}function g0(xe,Qe){if(xe==null)return 0;if(xe.a=0,xe.sc="OK",Qe==null)return Rd(xe,2,"null VP8Io passed to VP8GetHeaders()");var st=Qe.data,Ot=Qe.w,rn=Qe.ha;if(4>rn)return Rd(xe,7,"Truncated header.");var ln=st[Ot+0]|st[Ot+1]<<8|st[Ot+2]<<16,dn=xe.Od;if(dn.Rb=!(1&ln),dn.td=ln>>1&7,dn.yd=ln>>4&1,dn.ub=ln>>5,3<dn.td)return Rd(xe,3,"Incorrect keyframe parameters.");if(!dn.yd)return Rd(xe,4,"Frame not displayable.");Ot+=3,rn-=3;var bn=xe.Kc;if(dn.Rb){if(7>rn)return Rd(xe,7,"cannot parse picture header");if(!eg(st,Ot,rn))return Rd(xe,3,"Bad code word");bn.c=16383&(st[Ot+4]<<8|st[Ot+3]),bn.Td=st[Ot+4]>>6,bn.i=16383&(st[Ot+6]<<8|st[Ot+5]),bn.Ud=st[Ot+6]>>6,Ot+=7,rn-=7,xe.za=bn.c+15>>4,xe.Ub=bn.i+15>>4,Qe.width=bn.c,Qe.height=bn.i,Qe.Da=0,Qe.j=0,Qe.v=0,Qe.va=Qe.width,Qe.o=Qe.height,Qe.da=0,Qe.ib=Qe.width,Qe.hb=Qe.height,Qe.U=Qe.width,Qe.T=Qe.height,ge((ln=xe.Pa).jb,0,255,ln.jb.length),ne((ln=xe.Qa)!=null),ln.Cb=0,ln.Bb=0,ln.Fb=1,ge(ln.Zb,0,0,ln.Zb.length),ge(ln.Lb,0,0,ln.Lb)}if(dn.ub>rn)return Rd(xe,7,"bad partition length");zi(ln=xe.m,st,Ot,dn.ub),Ot+=dn.ub,rn-=dn.ub,dn.Rb&&(bn.Ld=Ui(ln),bn.Kd=Ui(ln)),bn=xe.Qa;var kn,Dn=xe.Pa;if(ne(ln!=null),ne(bn!=null),bn.Cb=Ui(ln),bn.Cb){if(bn.Bb=Ui(ln),Ui(ln)){for(bn.Fb=Ui(ln),kn=0;4>kn;++kn)bn.Zb[kn]=Ui(ln)?Ci(ln,7):0;for(kn=0;4>kn;++kn)bn.Lb[kn]=Ui(ln)?Ci(ln,6):0}if(bn.Bb)for(kn=0;3>kn;++kn)Dn.jb[kn]=Ui(ln)?Xi(ln,8):255}else bn.Bb=0;if(ln.Ka)return Rd(xe,3,"cannot parse segment header");if((bn=xe.ed).zd=Ui(ln),bn.Tb=Xi(ln,6),bn.wb=Xi(ln,3),bn.Pc=Ui(ln),bn.Pc&&Ui(ln)){for(Dn=0;4>Dn;++Dn)Ui(ln)&&(bn.vd[Dn]=Ci(ln,6));for(Dn=0;4>Dn;++Dn)Ui(ln)&&(bn.od[Dn]=Ci(ln,6))}if(xe.L=bn.Tb==0?0:bn.zd?1:2,ln.Ka)return Rd(xe,3,"cannot parse filter header");var Sr=rn;if(rn=kn=Ot,Ot=kn+Sr,bn=Sr,xe.Xb=(1<<Xi(xe.m,2))-1,Sr<3*(Dn=xe.Xb))st=7;else{for(kn+=3*Dn,bn-=3*Dn,Sr=0;Sr<Dn;++Sr){var oi=st[rn+0]|st[rn+1]<<8|st[rn+2]<<16;oi>bn&&(oi=bn),zi(xe.Jc[+Sr],st,kn,oi),kn+=oi,bn-=oi,rn+=3}zi(xe.Jc[+Dn],st,kn,bn),st=kn<Ot?0:5}if(st!=0)return Rd(xe,st,"cannot parse partitions");for(st=Xi(kn=xe.m,7),rn=Ui(kn)?Ci(kn,4):0,Ot=Ui(kn)?Ci(kn,4):0,bn=Ui(kn)?Ci(kn,4):0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-xe[rn-1];for(Ot=0;Ot<st;++Ot){var bn,kn=ln,Dn=dn+xe[Qe-1];for(bn=0;bn<st;++bn)xe[Qe+bn]=kn[Dn+xe[rn+bn]];Qe+=32}}function zA(xe,Qe){Ku(xe,Qe,4)}function vd(xe,Qe){Ku(xe,Qe,8)}function xm(xe,Qe){Ku(xe,Qe,16)}function Cm(xe,Qe){var st;for(st=0;16>st;++st)de(xe,Qe+32*st,xe,Qe-32,16)}function Hp(xe,Qe){var st;for(st=16;0<st;--st)ge(xe,Qe,xe[Qe-1],16),Qe+=32}function Qh(xe,Qe,st){var Ot;for(Ot=0;16>Ot;++Ot)ge(Qe,st+32*Ot,xe,16)}function Jg(xe,Qe){var st,Ot=16;for(st=0;16>st;++st)Ot+=xe[Qe-1+32*st]+xe[Qe+st-32];Qh(Ot>>5,xe,Qe)}function jp(xe,Qe){var st,Ot=8;for(st=0;16>st;++st)Ot+=xe[Qe-1+32*st];Qh(Ot>>4,xe,Qe)}function Bm(xe,Qe){var st,Ot=8;for(st=0;16>st;++st)Ot+=xe[Qe+st-32];Qh(Ot>>4,xe,Qe)}function qg(xe,Qe){Qh(128,xe,Qe)}function Yl(xe,Qe,st){return xe+2*Qe+st+2>>2}function $g(xe,Qe){var st,Ot=Qe-32;for(Ot=new Uint8Array([Yl(xe[Ot-1],xe[Ot+0],xe[Ot+1]),Yl(xe[Ot+0],xe[Ot+1],xe[Ot+2]),Yl(xe[Ot+1],xe[Ot+2],xe[Ot+3]),Yl(xe[Ot+2],xe[Ot+3],xe[Ot+4])]),st=0;4>st;++st)de(xe,Qe+32*st,Ot,0,Ot.length)}function ev(xe,Qe){var st=xe[Qe-1],Ot=xe[Qe-1+32],rn=xe[Qe-1+64],ln=xe[Qe-1+96];so(xe,Qe+0,16843009*Yl(xe[Qe-1-32],st,Ot)),so(xe,Qe+32,16843009*Yl(st,Ot,rn)),so(xe,Qe+64,16843009*Yl(Ot,rn,ln)),so(xe,Qe+96,16843009*Yl(rn,ln,ln))}function t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xe[Qe+1+64]=Yl(rn,ln,ln),xe[Qe+3+64]=xe[Qe+2+64]=xe[Qe+0+96]=xe[Qe+1+96]=xe[Qe+2+96]=xe[Qe+3+96]=ln}function Ap(xe,Qe){var st=xe[Qe-1+0],Ot=xe[Qe-1+32],rn=xe[Qe-1+64],ln=xe[Qe-1+96],dn=xe[Qe-1-32],bn=xe[Qe+0-32],kn=xe[Qe+1-32],Dn=xe[Qe+2-32];xe[Qe+0+0]=xe[Qe+2+32]=st+dn+1>>1,xe[Qe+0+32]=xe[Qe+2+64]=Ot+st+1>>1,xe[Qe+0+64]=xe[Qe+2+96]=rn+Ot+1>>1,xe[Qe+0+96]=ln+rn+1>>1,xe[Qe+3+0]=Yl(bn,kn,Dn),xe[Qe+2+0]=Yl(dn,bn,kn),xe[Qe+1+0]=xe[Qe+3+32]=Yl(st,dn,bn),xe[Qe+1+32]=xe[Qe+3+64]=Yl(Ot,st,dn),xe[Qe+1+64]=xe[Qe+3+96]=Yl(rn,Ot,st),xe[Qe+1+96]=Yl(ln,rn,Ot)}function Qp(xe,Qe){var st;for(st=0;8>st;++st)de(xe,Qe+32*st,xe,Qe-32,8)}function rv(xe,Qe){var st;for(st=0;8>st;++st)ge(xe,Qe,xe[Qe-1],8),Qe+=32}function y0(xe,Qe,st){var Ot;for(Ot=0;8>Ot;++Ot)ge(Qe,st+32*Ot,xe,8)}function Fg(xe,Qe){var st,Ot=8;for(st=0;8>st;++st)Ot+=xe[Qe+st-32]+xe[Qe-1+32*st];y0(Ot>>4,xe,Qe)}function zp(xe,Qe){var st,Ot=4;for(st=0;8>st;++st)Ot+=xe[Qe+st-32];y0(Ot>>3,xe,Qe)}function ng(xe,Qe){var st,Ot=4;for(st=0;8>st;++st)Ot+=xe[Qe-1+32*st];y0(Ot>>3,xe,Qe)}function kg(xe,Qe){y0(128,xe,Qe)}function W0(xe,Qe,st){var Ot=xe[Qe-st],rn=xe[Qe+0],ln=3*(rn-Ot)+qp[1020+xe[Qe-2*st]-xe[Qe+st]],dn=Tg[112+(ln+4>>3)];xe[Qe-st]=eh[255+Ot+Tg[112+(ln+3>>3)]],xe[Qe+0]=eh[255+rn-dn]}function b0(xe,Qe,st,Ot){var rn=xe[Qe+0],ln=xe[Qe+st];return qd[255+xe[Qe-2*st]-xe[Qe-st]]>Ot||qd[255+ln-rn]>Ot}function pf(xe,Qe,st,Ot){return 4*qd[255+xe[Qe-st]-xe[Qe+0]]+qd[255+xe[Qe-2*st]-xe[Qe+st]]<=Ot}function Kp(xe,Qe,st,Ot,rn){var ln=xe[Qe-3*st],dn=xe[Qe-2*st],bn=xe[Qe-st],kn=xe[Qe+0],Dn=xe[Qe+st],Sr=xe[Qe+2*st],oi=xe[Qe+3*st];return 4*qd[255+bn-kn]+qd[255+dn-Dn]>Ot?0:qd[255+xe[Qe-4*st]-ln]<=rn&&qd[255+ln-dn]<=rn&&qd[255+dn-bn]<=rn&&qd[255+oi-Sr]<=rn&&qd[255+Sr-Dn]<=rn&&qd[255+Dn-kn]<=rn}function Z0(xe,Qe,st,Ot){var rn=2*Ot+1;for(Ot=0;16>Ot;++Ot)pf(xe,Qe+Ot,st,rn)&&W0(xe,Qe+Ot,st)}function Em(xe,Qe,st,Ot){var rn=2*Ot+1;for(Ot=0;16>Ot;++Ot)pf(xe,Qe+Ot*st,1,rn)&&W0(xe,Qe+Ot*st,1)}function Fm(xe,Qe,st,Ot){var rn;for(rn=3;0<rn;--rn)Z0(xe,Qe+=4*st,st,Ot)}function rg(xe,Qe,st,Ot){var rn;for(rn=3;0<rn;--rn)Em(xe,Qe+=4,st,Ot)}function w0(xe,Qe,st,Ot,rn,ln,dn,bn){for(ln=2*ln+1;0<rn--;){if(Kp(xe,Qe,st,ln,dn))if(b0(xe,Qe,st,bn))W0(xe,Qe,st);else{var kn=xe,Dn=Qe,Sr=st,oi=kn[Dn-2*Sr],Yn=kn[Dn-Sr],Vr=kn[Dn+0],ii=kn[Dn+Sr],Yi=kn[Dn+2*Sr],Ai=27*(wa=qp[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4*rn,rn,1,8,ln,dn,bn),V0(st,Ot+4*rn,rn,1,8,ln,dn,bn)}function ai(xe,Qe,st,Ot,rn,ln,dn,bn){V0(xe,Qe+4,1,rn,8,ln,dn,bn),V0(st,Ot+4,1,rn,8,ln,dn,bn)}function ha(){this.ba=new Rl,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new vc,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Ua(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Es(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ts(){this.ua=0,this.Wa=new pu,this.vb=new pu,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Fi,this.yc=new _r}function Ml(){this.xb=this.a=0,this.l=new m0,this.ca=new Rl,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new rr,this.Pb=0,this.wd=new rr,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ts,this.ab=0,this.gc=nt(4,Es),this.Oc=0}function Xl(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new m0,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Fs(xe,Qe,st,Ot,rn,ln,dn){for(xe=xe==null?0:xe[Qe+0],Qe=0;Qe<dn;++Qe)rn[ln+Qe]=xe+st[Ot+Qe]&255,xe=rn[ln+Qe]}function kd(xe,Qe,st,Ot,rn,ln,dn){var bn;if(xe==null)Fs(null,null,st,Ot,rn,ln,dn);else for(bn=0;bn<dn;++bn)rn[ln+bn]=xe[Qe+bn]+st[Ot+bn]&255}function iA(xe,Qe,st,Ot,rn,ln,dn){if(xe==null)Fs(null,null,st,Ot,rn,ln,dn);else{var bn,kn=xe[Qe+0],Dn=kn,Sr=kn;for(bn=0;bn<dn;++bn)Dn=Sr+(kn=xe[Qe+bn])-Dn,Sr=st[Ot+bn]+(-256&Dn?0>Dn?0:255:Dn)&255,Dn=kn,rn[ln+bn]=Sr}}function id(xe,Qe,st,Ot){var rn=Qe.width,ln=Qe.o;if(ne(xe!=null&&Qe!=null),0>st||0>=Ot||st+Ot>ln)return null;if(!xe.Cc){if(xe.ga==null){var dn;if(xe.ga=new Xl,(dn=xe.ga==null)||(dn=Qe.width*Qe.o,ne(xe.Gb.length==0),xe.Gb=Ce(dn),xe.Uc=0,xe.Gb==null?dn=0:(xe.mb=xe.Gb,xe.nb=xe.Uc,xe.rc=null,dn=1),dn=!dn),!dn){dn=xe.ga;var bn=xe.Fa,kn=xe.P,Dn=xe.qc,Sr=xe.mb,oi=xe.nb,Yn=kn+1,Vr=Dn-1,ii=dn.l;if(ne(bn!=null&&Sr!=null&&Qe!=null),xp[0]=null,xp[1]=Fs,xp[2]=kd,xp[3]=iA,dn.ca=Sr,dn.tb=oi,dn.c=Qe.width,dn.i=Qe.height,ne(0<dn.c&&0<dn.i),1>=Dn)Qe=0;else if(dn.$a=3&bn[kn+0],dn.Z=bn[kn+0]>>2&3,dn.Lc=bn[kn+0]>>4&3,kn=bn[kn+0]>>6&3,0>dn.$a||1<dn.$a||4<=dn.Z||1<dn.Lc||kn)Qe=0;else if(ii.put=vl,ii.ac=A0,ii.bc=z0,ii.ma=dn,ii.width=Qe.width,ii.height=Qe.height,ii.Da=Qe.Da,ii.v=Qe.v,ii.va=Qe.va,ii.j=Qe.j,ii.o=Qe.o,dn.$a)e:{ne(dn.$a==1),Qe=Np();t:for(;;){if(Qe==null){Qe=0;break e}if(ne(dn!=null),dn.mc=Qe,Qe.c=dn.c,Qe.i=dn.i,Qe.l=dn.l,Qe.l.ma=dn,Qe.l.width=dn.c,Qe.l.height=dn.i,Qe.a=0,Gi(Qe.m,bn,Yn,Vr),!p0(dn.c,dn.i,1,Qe,null)||(Qe.ab==1&&Qe.gc[0].hc==3&&ph(Qe.s)?(dn.ic=1,bn=Qe.c*Qe.i,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}Yi=Gf(Yi-256,Sr);var Xs,ks=Pd(Wa.G[4],Wa.H[4],Sr);if(pi(Sr),!(Ai>=(ks=Yf(Vr,ks=Gf(ks,Sr)))&&aa-Ai>=Yi)){ii=0;break t}for(Xs=0;Xs<Yi;++Xs)bn[Yn+Ai+Xs]=bn[Yn+Ai+Xs-ks];for(Ai+=Yi,Dn+=Yi;Dn>=Vr;)Dn-=Vr,++kn<=Qe&&!(kn%16)&&QA(dn,kn);Ai<wa&&Dn&ho&&(Wa=Xc(oi,Dn,kn))}ne(Sr.h==Pr(Sr))}QA(dn,kn>Qe?Qe:kn);break t}!ii||Sr.h&&Ai<aa?(ii=0,dn.a=Sr.h?5:3):dn.$=Ai,Qe=ii}else Qe=Jf(dn,dn.V,dn.Ba,dn.c,dn.i,Qe,Tp);if(!Qe){Ot=0;break e}}st+Ot>=ln&&(xe.Cc=1),Ot=1}if(!Ot)return null;if(xe.Cc&&((Ot=xe.ga)!=null&&(Ot.mc=null),xe.ga=null,0<xe.Ga))return alert("todo:WebPDequantizeLevels"),null}return xe.nb+st*rn}function Jc(xe,Qe,st,Ot,rn,ln){for(;0<rn--;){var dn,bn=xe,kn=Qe+(st?1:0),Dn=xe,Sr=Qe+(st?0:3);for(dn=0;dn<Ot;++dn){var oi=Dn[Sr+4*dn];oi!=255&&(oi*=32897,bn[kn+4*dn+0]=bn[kn+4*dn+0]*oi>>23,bn[kn+4*dn+1]=bn[kn+4*dn+1]*oi>>23,bn[kn+4*dn+2]=bn[kn+4*dn+2]*oi>>23)}Qe+=ln}}function aA(xe,Qe,st,Ot,rn){for(;0<Ot--;){var ln;for(ln=0;ln<st;++ln){var dn=xe[Qe+2*ln+0],bn=15&(Dn=xe[Qe+2*ln+1]),kn=4369*bn,Dn=(240&Dn|Dn>>4)*kn>>16;xe[Qe+2*ln+0]=(240&dn|dn>>4)*kn>>16&240|(15&dn|dn<<4)*kn>>16>>4&15,xe[Qe+2*ln+1]=240&Dn|bn}Qe+=rn}}function KA(xe,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&Hs,Hs>>16,aa,wa+(ho-1)*st)))}}function Zh(){xh[Pg]=g1,xh[Rg]=y,xh[Iv]=a,xh[ug]=b,xh[Lm]=z,xh[ov]=re,xh[wu]=pe,xh[sv]=y,xh[F0]=b,xh[Ud]=z,xh[$p]=re}function Vh(xe){return xe&~qt?0>xe?0:255:xe>>_t}function x0(xe,Qe){return Vh((19077*xe>>8)+(26149*Qe>>8)-14234)}function gh(xe,Qe,st){return Vh((19077*xe>>8)-(6419*Qe>>8)-(13320*st>>8)+8708)}function X0(xe,Qe){return Vh((19077*xe>>8)+(33050*Qe>>8)-17685)}function hp(xe,Qe,st,Ot,rn){Ot[rn+0]=x0(xe,st),Ot[rn+1]=gh(xe,Qe,st),Ot[rn+2]=X0(xe,Qe)}function Xd(xe,Qe,st,Ot,rn){Ot[rn+0]=X0(xe,Qe),Ot[rn+1]=gh(xe,Qe,st),Ot[rn+2]=x0(xe,st)}function Wp(xe,Qe,st,Ot,rn){var ln=gh(xe,Qe,st);Qe=ln<<3&224|X0(xe,Qe)>>3,Ot[rn+0]=248&x0(xe,st)|ln>>5,Ot[rn+1]=Qe}function pp(xe,Qe,st,Ot,rn){var ln=240&X0(xe,Qe)|15;Ot[rn+0]=240&x0(xe,st)|gh(xe,Qe,st)>>4,Ot[rn+1]=ln}function ag(xe,Qe,st,Ot,rn){Ot[rn+0]=255,hp(xe,Qe,st,Ot,rn+1)}function Ul(xe,Qe,st,Ot,rn){Xd(xe,Qe,st,Ot,rn),Ot[rn+3]=255}function oA(xe,Qe,st,Ot,rn){hp(xe,Qe,st,Ot,rn),Ot[rn+3]=255}function qf(xe,Qe,st){sr[xe]=function(Ot,rn,ln,dn,bn,kn,Dn,Sr,oi){for(var Yn=Sr+(-2&oi)*st;Sr!=Yn;)Qe(Ot[rn+0],ln[dn+0],bn[kn+0],Dn,Sr),Qe(Ot[rn+1],ln[dn+0],bn[kn+0],Dn,Sr+st),rn+=2,++dn,++kn,Sr+=2*st;1&oi&&Qe(Ot[rn+0],ln[dn+0],bn[kn+0],Dn,Sr)}}function C0(xe,Qe,st){return st==0?xe==0?Qe==0?6:5:Qe==0?4:0:st}function Mg(xe,Qe,st,Ot,rn){switch(xe>>>30){case 3:Xp(Qe,st,Ot,rn,0);break;case 2:bh(Qe,st,Ot,rn);break;case 1:Fc(Qe,st,Ot,rn)}}function Wu(xe,Qe){var st,Ot,rn=Qe.M,ln=Qe.Nb,dn=xe.oc,bn=xe.pc+40,kn=xe.oc,Dn=xe.pc+584,Sr=xe.oc,oi=xe.pc+600;for(st=0;16>st;++st)dn[bn+32*st-1]=129;for(st=0;8>st;++st)kn[Dn+32*st-1]=129,Sr[oi+32*st-1]=129;for(0<rn?dn[bn-1-32]=kn[Dn-1-32]=Sr[oi-1-32]=129:(ge(dn,bn-32-1,127,21),ge(kn,Dn-32-1,127,9),ge(Sr,oi-32-1,127,9)),Ot=0;Ot<xe.za;++Ot){var Yn=Qe.ya[Qe.aa+Ot];if(0<Ot){for(st=-1;16>st;++st)de(dn,bn+32*st-4,dn,bn+32*st+12,4);for(st=-1;8>st;++st)de(kn,Dn+32*st-4,kn,Dn+32*st+4,4),de(Sr,oi+32*st-4,Sr,oi+32*st+4,4)}var Vr=xe.Gd,ii=xe.Hd+Ot,Yi=Yn.ad,Ai=Yn.Hc;if(0<rn&&(de(dn,bn-32,Vr[ii].y,0,16),de(kn,Dn-32,Vr[ii].f,0,8),de(Sr,oi-32,Vr[ii].ea,0,8)),Yn.Za){var aa=dn,wa=bn-32+16;for(0<rn&&(Ot>=xe.za-1?ge(aa,wa,Vr[ii].y[15],4):de(aa,wa,Vr[ii+1].y,0,4)),st=0;4>st;st++)aa[wa+128+st]=aa[wa+256+st]=aa[wa+384+st]=aa[wa+0+st];for(st=0;16>st;++st,Ai<<=2)aa=dn,wa=bn+Ka[st],Gh[Yn.Ob[st]](aa,wa),Mg(Ai,Yi,16*+st,aa,wa)}else if(aa=C0(Ot,rn,Yn.Ob[0]),wp[aa](dn,bn),Ai!=0)for(st=0;16>st;++st,Ai<<=2)Mg(Ai,Yi,16*+st,dn,bn+Ka[st]);for(st=Yn.Gc,aa=C0(Ot,rn,Yn.Dd),df[aa](kn,Dn),df[aa](Sr,oi),Ai=Yi,aa=kn,wa=Dn,255&(Yn=0|st)&&(170&Yn?E0(Ai,256,aa,wa):qc(Ai,256,aa,wa)),Yn=Sr,Ai=oi,255&(st>>=8)&&(170&st?E0(Yi,320,Yn,Ai):qc(Yi,320,Yn,Ai)),rn<xe.Ub-1&&(de(Vr[ii].y,0,dn,bn+480,16),de(Vr[ii].f,0,kn,Dn+224,8),de(Vr[ii].ea,0,Sr,oi+224,8)),st=8*ln*xe.B,Vr=xe.sa,ii=xe.ta+16*Ot+16*ln*xe.R,Yi=xe.qa,Yn=xe.ra+8*Ot+st,Ai=xe.Ha,aa=xe.Ia+8*Ot+st,st=0;16>st;++st)de(Vr,ii+st*xe.R,dn,bn+32*st,16);for(st=0;8>st;++st)de(Yi,Yn+st*xe.B,kn,Dn+32*st,8),de(Ai,aa+st*xe.B,Sr,oi+32*st,8)}}function Zp(xe,Qe,st,Ot,rn,ln,dn,bn,kn){var Dn=[0],Sr=[0],oi=0,Yn=kn!=null?kn.kd:0,Vr=kn!=null?kn:new Ua;if(xe==null||12>st)return 7;Vr.data=xe,Vr.w=Qe,Vr.ha=st,Qe=[Qe],st=[st],Vr.gb=[Vr.gb];e:{var ii=Qe,Yi=st,Ai=Vr.gb;if(ne(xe!=null),ne(Yi!=null),ne(Ai!=null),Ai[0]=0,12<=Yi[0]&&!te(xe,ii[0],"RIFF")){if(te(xe,ii[0]+8,"WEBP")){Ai=3;break e}var aa=Gs(xe,ii[0]+4);if(12>aa||4294967286<aa){Ai=3;break e}if(Yn&&aa>Yi[0]-8){Ai=7;break e}Ai[0]=aa,ii[0]+=12,Yi[0]-=12}Ai=0}if(Ai!=0)return Ai;for(aa=0<Vr.gb[0],st=st[0];;){e:{var wa=xe;Yi=Qe,Ai=st;var ho=Dn,Wa=Sr,Xs=ii=[0];if((Hs=oi=[oi])[0]=0,8>Ai[0])Ai=7;else{if(!te(wa,Yi[0],"VP8X")){if(Gs(wa,Yi[0]+4)!=10){Ai=3;break e}if(18>Ai[0]){Ai=7;break e}var ks=Gs(wa,Yi[0]+8),xu=1+Zo(wa,Yi[0]+12);if(2147483648<=xu*(wa=1+Zo(wa,Yi[0]+15))){Ai=3;break e}Xs!=null&&(Xs[0]=ks),ho!=null&&(ho[0]=xu),Wa!=null&&(Wa[0]=wa),Yi[0]+=18,Ai[0]-=18,Hs[0]=1}Ai=0}}if(oi=oi[0],ii=ii[0],Ai!=0)return Ai;if(Yi=!!(2&ii),!aa&&oi)return 3;if(ln!=null&&(ln[0]=!!(16&ii)),dn!=null&&(dn[0]=Yi),bn!=null&&(bn[0]=0),dn=Dn[0],ii=Sr[0],oi&&Yi&&kn==null){Ai=0;break}if(4>st){Ai=7;break}if(aa&&oi||!aa&&!oi&&!te(xe,Qe[0],"ALPH")){st=[st],Vr.na=[Vr.na],Vr.P=[Vr.P],Vr.Sa=[Vr.Sa];e:{ks=xe,Ai=Qe,aa=st;var Hs=Vr.gb;ho=Vr.na,Wa=Vr.P,Xs=Vr.Sa,xu=22,ne(ks!=null),ne(aa!=null),wa=Ai[0];var ic=aa[0];for(ne(ho!=null),ne(Xs!=null),ho[0]=null,Wa[0]=null,Xs[0]=0;;){if(Ai[0]=wa,aa[0]=ic,8>ic){Ai=7;break e}var WA=Gs(ks,wa+4);if(4294967286<WA){Ai=3;break e}var Cu=8+WA+1&-2;if(xu+=Cu,0<Hs&&xu>Hs){Ai=3;break e}if(!te(ks,wa,"VP8 ")||!te(ks,wa,"VP8L")){Ai=0;break e}if(ic[0]<Cu){Ai=7;break e}te(ks,wa,"ALPH")||(ho[0]=ks,Wa[0]=wa+8,Xs[0]=WA),wa+=Cu,ic-=Cu}}if(st=st[0],Vr.na=Vr.na[0],Vr.P=Vr.P[0],Vr.Sa=Vr.Sa[0],Ai!=0)break}st=[st],Vr.Ja=[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))return 3;kn!=null&&(kn[0]=Vr,kn.offset=Qe-kn.w,ne(4294967286>Qe-kn.w),ne(kn.offset==kn.ha-st));break}return Ai==0||Ai==7&&oi&&kn==null?(ln!=null&&(ln[0]|=Vr.na!=null&&0<Vr.na.length),Ot!=null&&(Ot[0]=dn),rn!=null&&(rn[0]=ii),0):Ai}function yd(xe,Qe,st){var Ot=Qe.width,rn=Qe.height,ln=0,dn=0,bn=Ot,kn=rn;if(Qe.Da=xe!=null&&0<xe.Da,Qe.Da&&(bn=xe.cd,kn=xe.bd,ln=xe.v,dn=xe.j,11>st||(ln&=-2,dn&=-2),0>ln||0>dn||0>=bn||0>=kn||ln+bn>Ot||dn+kn>rn))return 0;if(Qe.v=ln,Qe.j=dn,Qe.va=ln+bn,Qe.o=dn+kn,Qe.U=bn,Qe.T=kn,Qe.da=xe!=null&&0<xe.da,Qe.da){if(!gl(bn,kn,st=[xe.ib],ln=[xe.hb]))return 0;Qe.ib=st[0],Qe.hb=ln[0]}return Qe.ob=xe!=null&&xe.ob,Qe.Kb=xe==null||!xe.Sd,Qe.da&&(Qe.ob=Qe.ib<3*Ot/4&&Qe.hb<3*rn/4,Qe.Kb=0),1}function _g(xe){if(xe==null)return 2;if(11>xe.S){var Qe=xe.f.RGBA;Qe.fb+=(xe.height-1)*Qe.A,Qe.A=-Qe.A}else Qe=xe.f.kb,xe=xe.height,Qe.O+=(xe-1)*Qe.fa,Qe.fa=-Qe.fa,Qe.N+=(xe-1>>1)*Qe.Ab,Qe.Ab=-Qe.Ab,Qe.W+=(xe-1>>1)*Qe.Db,Qe.Db=-Qe.Db,Qe.F!=null&&(Qe.J+=(xe-1)*Qe.lb,Qe.lb=-Qe.lb);return 0}function mp(xe,Qe,st,Ot){if(Ot==null||0>=xe||0>=Qe)return 2;if(st!=null){if(st.Da){var rn=st.cd,ln=st.bd,dn=-2&st.v,bn=-2&st.j;if(0>dn||0>bn||0>=rn||0>=ln||dn+rn>xe||bn+ln>Qe)return 2;xe=rn,Q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0:2}}return xe!=0||st!=null&&st.fd&&(xe=_g(Ot)),xe}var Vp=64,cf=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],$f=24,Gp=32,gp=8,B0=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];qo("Predictor0","PredictorAdd0"),sr.Predictor0=function(){return 4278190080},sr.Predictor1=function(xe){return xe},sr.Predictor2=function(xe,Qe,st){return Qe[st+0]},sr.Predictor3=function(xe,Qe,st){return Qe[st+1]},sr.Predictor4=function(xe,Qe,st){return Qe[st-1]},sr.Predictor5=function(xe,Qe,st){return il(il(xe,Qe[st+1]),Qe[st+0])},sr.Predictor6=function(xe,Qe,st){return il(xe,Qe[st-1])},sr.Predictor7=function(xe,Qe,st){return il(xe,Qe[st+0])},sr.Predictor8=function(xe,Qe,st){return il(Qe[st-1],Qe[st+0])},sr.Predictor9=function(xe,Qe,st){return il(Qe[st+0],Qe[st+1])},sr.Predictor10=function(xe,Qe,st){return il(il(xe,Qe[st-1]),il(Qe[st+0],Qe[st+1]))},sr.Predictor11=function(xe,Qe,st){var Ot=Qe[st+0];return 0>=Fl(Ot>>24&255,xe>>24&255,(Qe=Qe[st-1])>>24&255)+Fl(Ot>>16&255,xe>>16&255,Qe>>16&255)+Fl(Ot>>8&255,xe>>8&255,Qe>>8&255)+Fl(255&Ot,255&xe,255&Qe)?Ot:xe},sr.Predictor12=function(xe,Qe,st){var Ot=Qe[st+0];return(Tu((xe>>24&255)+(Ot>>24&255)-((Qe=Qe[st-1])>>24&255))<<24|Tu((xe>>16&255)+(Ot>>16&255)-(Qe>>16&255))<<16|Tu((xe>>8&255)+(Ot>>8&255)-(Qe>>8&255))<<8|Tu((255&xe)+(255&Ot)-(255&Qe)))>>>0},sr.Predictor13=function(xe,Qe,st){var Ot=Qe[st-1];return(Pu((xe=il(xe,Qe[st+0]))>>24&255,Ot>>24&255)<<24|Pu(xe>>16&255,Ot>>16&255)<<16|Pu(xe>>8&255,Ot>>8&255)<<8|Pu(255&xe,255&Ot))>>>0};var S0=sr.PredictorAdd0;sr.PredictorAdd1=_u,qo("Predictor2","PredictorAdd2"),qo("Predictor3","PredictorAdd3"),qo("Predictor4","PredictorAdd4"),qo("Predictor5","PredictorAdd5"),qo("Predictor6","PredictorAdd6"),qo("Predictor7","PredictorAdd7"),qo("Predictor8","PredictorAdd8"),qo("Predictor9","PredictorAdd9"),qo("Predictor10","PredictorAdd10"),qo("Predictor11","PredictorAdd11"),qo("Predictor12","PredictorAdd12"),qo("Predictor13","PredictorAdd13");var km=sr.PredictorAdd2;Ws("ColorIndexInverseTransform","MapARGB","32b",function(xe){return xe>>8&255},function(xe){return xe}),Ws("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(xe){return xe},function(xe){return xe>>8&255});var Md,Ig=sr.ColorIndexInverseTransform,vh=sr.MapARGB,yh=sr.VP8LColorIndexInverseTransformAlpha,Yp=sr.MapAlpha,Mm=sr.VP8LPredictorsAdd=[];Mm.length=16,(sr.VP8LPredictors=[]).length=16,(sr.VP8LPredictorsAdd_C=[]).length=16,(sr.VP8LPredictors_C=[]).length=16;var og,_m,J0,vp,Zu,yp,bp,Xp,bh,E0,Fc,qc,Jd,gA,q0,sg,wh,Lg,Bv,Im,Sv,Dg,Ng,Jp,lg,Ev,iv,Fv,kv=Ce(511),Mv=Ce(2041),_v=Ce(225),av=Ce(767),Og=0,qp=Mv,Tg=_v,eh=av,qd=kv,Pg=0,Rg=1,Iv=2,ug=3,Lm=4,ov=5,wu=6,sv=7,F0=8,Ud=9,$p=10,$0=[2,3,7],cg=[3,3,11],em=[280,256,256,256,40],Lv=[0,1,1,1,0],Dv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Nv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Ov=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Tv=8,lv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Dm=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Nm=null,e1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],t1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],tm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],n1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Pv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],r1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],i1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],wp=[],Gh=[],df=[],m1=1,a1=2,xp=[],xh=[];ql("UpsampleRgbLinePair",hp,3),ql("UpsampleBgrLinePair",Xd,3),ql("UpsampleRgbaLinePair",oA,4),ql("UpsampleBgraLinePair",Ul,4),ql("UpsampleArgbLinePair",ag,4),ql("UpsampleRgba4444LinePair",pp,2),ql("UpsampleRgb565LinePair",Wp,2);var g1=sr.UpsampleRgbLinePair,a=sr.UpsampleBgrLinePair,y=sr.UpsampleRgbaLinePair,b=sr.UpsampleBgraLinePair,z=sr.UpsampleArgbLinePair,re=sr.UpsampleRgba4444LinePair,pe=sr.UpsampleRgb565LinePair,ye=16,tt=1<<ye-1,ut=-227,gt=482,_t=6,qt=(256<<_t)-1,pn=0,Kn=Ce(256),nr=Ce(256),di=Ce(256),Ha=Ce(256),li=Ce(gt-ut),na=Ce(gt-ut);qf("YuvToRgbRow",hp,3),qf("YuvToBgrRow",Xd,3),qf("YuvToRgbaRow",oA,4),qf("YuvToBgraRow",Ul,4),qf("YuvToArgbRow",ag,4),qf("YuvToRgba4444Row",pp,2),qf("YuvToRgb565Row",Wp,2);var Ka=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],fa=[0,2,8],Vo=[8,7,6,4,4,2,2,2,1,1,1,1],vs=1;this.WebPDecodeRGBA=function(xe,Qe,st,Ot,rn){var ln=Rg,dn=new ha,bn=new Rl;dn.ba=bn,bn.S=ln,bn.width=[bn.width],bn.height=[bn.height];var kn=bn.width,Dn=bn.height,Sr=new cl;if(Sr==null||xe==null)var oi=2;else ne(Sr!=null),oi=Zp(xe,Qe,st,Sr.width,Sr.height,Sr.Pd,Sr.Qd,Sr.format,null);if(oi!=0?kn=0:(kn!=null&&(kn[0]=Sr.width[0]),Dn!=null&&(Dn[0]=Sr.height[0]),kn=1),kn){bn.width=bn.width[0],bn.height=bn.height[0],Ot!=null&&(Ot[0]=bn.width),rn!=null&&(rn[0]=bn.height);e:{if(Ot=new m0,(rn=new Ua).data=xe,rn.w=Qe,rn.ha=st,rn.kd=1,Qe=[0],ne(rn!=null),((xe=Zp(rn.data,rn.w,rn.ha,null,null,null,Qe,null,rn))==0||xe==7)&&Qe[0]&&(xe=4),(Qe=xe)==0){if(ne(dn!=null),Ot.data=rn.data,Ot.w=rn.w+rn.offset,Ot.ha=rn.ha-rn.offset,Ot.put=vl,Ot.ac=A0,Ot.bc=z0,Ot.ma=dn,rn.xa){if((xe=Np())==null){dn=1;break e}if(function(Yn,Vr){var ii=[0],Yi=[0],Ai=[0];t:for(;;){if(Yn==null)return 0;if(Vr==null)return Yn.a=2,0;if(Yn.l=Vr,Yn.a=0,Gi(Yn.m,Vr.data,Vr.w,Vr.ha),!K0(Yn.m,ii,Yi,Ai)){Yn.a=3;break t}if(Yn.xb=a1,Vr.width=ii[0],Vr.height=Yi[0],!p0(ii[0],Yi[0],1,Yn,null))break t;return 1}return ne(Yn.a!=0),0}(xe,Ot)){if(Ot=(Qe=mp(Ot.width,Ot.height,dn.Oa,dn.ba))==0){t:{Ot=xe;n:for(;;){if(Ot==null){Ot=0;break t}if(ne(Ot.s.yc!=null),ne(Ot.s.Ya!=null),ne(0<Ot.s.Wb),ne((st=Ot.l)!=null),ne((rn=st.ma)!=null),Ot.xb!=0){if(Ot.ca=rn.ba,Ot.tb=rn.tb,ne(Ot.ca!=null),!yd(rn.Oa,st,ug)){Ot.a=2;break n}if(!Op(Ot,st.width)||st.da)break n;if((st.da||kl(Ot.ca.S))&&Wh(),11>Ot.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ot.ca.f.kb.F!=null&&Wh()),Ot.Pb&&0<Ot.s.ua&&Ot.s.vb.X==null&&!jn(Ot.s.vb,Ot.s.Wa.Xa)){Ot.a=1;break n}Ot.xb=0}if(!Jf(Ot,Ot.V,Ot.Ba,Ot.c,Ot.i,st.o,h0))break n;rn.Dc=Ot.Ma,Ot=1;break t}ne(Ot.a!=0),Ot=0}Ot=!Ot}Ot&&(Qe=xe.a)}else Qe=xe.a}else{if((xe=new bm)==null){dn=1;break e}if(xe.Fa=rn.na,xe.P=rn.P,xe.qc=rn.Sa,g0(xe,Ot)){if((Qe=mp(Ot.width,Ot.height,dn.Oa,dn.ba))==0){if(xe.Aa=0,st=dn.Oa,ne((rn=xe)!=null),st!=null){if(0<(kn=0>(kn=st.Md)?0:100<kn?255:255*kn/100)){for(Dn=Sr=0;4>Dn;++Dn)12>(oi=rn.pb[Dn]).lc&&(oi.ia=kn*Vo[0>oi.lc?0:oi.lc]>>3),Sr|=oi.ia;Sr&&(alert("todo:VP8InitRandom"),rn.ia=1)}rn.Ga=st.Id,100<rn.Ga?rn.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lA,bd+4,qh,rh),q0(tp,dg,nm,vf,$h,bd+4,qh,rh)),Xh.La&&(wh(Jh,Bh,lA,bd,qh,rh),Bv(tp,dg,nm,vf,$h,bd,qh,rh))}}if(js.ia&&alert("todo:DitherRow"),Go.put!=null){if(ed=16*fd,fd=16*(fd+1),VA?(Go.y=js.sa,Go.O=js.ta+$c,Go.f=js.qa,Go.N=js.ra+Ch,Go.ea=js.Ha,Go.W=js.Ia+Ch):(ed-=yc,Go.y=mf,Go.O=th,Go.f=sA,Go.N=dc,Go.ea=Lf,Go.W=nh),ZA||(fd-=yc),fd>Go.o&&(fd=Go.o),Go.F=null,Go.J=null,js.Fa!=null&&0<js.Fa.length&&ed<fd&&(Go.J=id(js,Go,ed,fd-ed),Go.F=js.mb,Go.F==null&&Go.F.length==0)){vA=Rd(js,3,"Could not decode alpha data.");break t}ed<Go.j&&(yc=Go.j-ed,ed=Go.j,ne(!(1&yc)),Go.O+=js.R*yc,Go.N+=js.B*(yc>>1),Go.W+=js.B*(yc>>1),Go.F!=null&&(Go.J+=Go.width*yc)),ed<fd&&(Go.O+=Go.v,Go.N+=Go.v>>1,Go.W+=Go.v>>1,Go.F!=null&&(Go.J+=Go.v),Go.ka=ed-Go.j,Go.U=Go.va-Go.v,Go.T=fd-ed,vA=Go.put(Go))}Cu+1!=js.Ic||ZA||(de(js.sa,js.ta-cu,mf,th+16*js.R,cu),de(js.qa,js.ra-_d,sA,dc+8*js.B,_d),de(js.Ha,js.Ia-_d,Lf,nh+8*js.B,_d))}if(!vA)return Rd(ic,6,"Output aborted.")}return 1}(Yn,Vr)),Vr.bc!=null&&Vr.bc(Vr),ii&=1}return ii?(Yn.cb=0,ii):0})(xe,Ot)||(Qe=xe.a)}}else Qe=xe.a}Qe==0&&dn.Oa!=null&&dn.Oa.fd&&(Qe=_g(dn.ba))}dn=Qe}ln=dn!=0?null:11>ln?bn.f.RGBA.eb:bn.f.kb.y}else ln=null;return ln};var os=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function ft(sr,ci){for(var yn="",Gn=0;Gn<4;Gn++)yn+=String.fromCharCode(sr[ci++]);return yn}function Et(sr,ci){return sr[ci+0]|sr[ci+1]<<8}function en(sr,ci){return(sr[ci+0]|sr[ci+1]<<8|sr[ci+2]<<16)>>>0}function sn(sr,ci){return(sr[ci+0]|sr[ci+1]<<8|sr[ci+2]<<16|sr[ci+3]<<24)>>>0}new ot;var Ct=[0],Hn=[0],In=[],Zn=new ot,wn=E,Ir=function(sr,ci){var yn={},Gn=0,_r=!1,Er=0,Fi=0;if(yn.frames=[],!function(hn,rr){for(var hr=0;hr<4;hr++)if(hn[rr+hr]!="RIFF".charCodeAt(hr))return!0;return!1}(sr,ci)){for(sn(sr,ci+=4),ci+=8;ci<sr.length;){var zi=ft(sr,ci),Xi=sn(sr,ci+=4);ci+=4;var Ci=Xi+(1&Xi);switch(zi){case"VP8 ":case"VP8L":yn.frames[Gn]===void 0&&(yn.frames[Gn]={}),(Na=yn.frames[Gn]).src_off=_r?Fi:ci-8,Na.src_size=Er+Xi+8,Gn++,_r&&(_r=!1,Er=0,Fi=0);break;case"VP8X":(Na=yn.header={}).feature_flags=sr[ci];var Gi=ci+4;Na.canvas_width=1+en(sr,Gi),Gi+=3,Na.canvas_height=1+en(sr,Gi),Gi+=3;break;case"ALPH":_r=!0,Er=Ci+8,Fi=ci-8;break;case"ANIM":(Na=yn.header).bgcolor=sn(sr,ci),Gi=ci+4,Na.loop_count=Et(sr,Gi),Gi+=2;break;case"ANMF":var fo,Na;(Na=yn.frames[Gn]={}).offset_x=2*en(sr,ci),ci+=3,Na.offset_y=2*en(sr,ci),ci+=3,Na.width=1+en(sr,ci),ci+=3,Na.height=1+en(sr,ci),ci+=3,Na.duration=en(sr,ci),ci+=3,fo=sr[ci++],Na.dispose=1&fo,Na.blend=fo>>1&1}zi!="ANMF"&&(ci+=Ci)}return yn}}(wn,0);Ir.response=wn,Ir.rgbaoutput=!0,Ir.dataurl=!1;var Br=Ir.header?Ir.header:null,ar=Ir.frames?Ir.frames:null;if(Br){Br.loop_counter=Br.loop_count,Ct=[Br.canvas_height],Hn=[Br.canvas_width];for(var wi=0;wi<ar.length&&ar[wi].blend!=0;wi++);}var ta=ar[0],Wi=Zn.WebPDecodeRGBA(wn,ta.src_off,ta.src_size,Hn,Ct);ta.rgba=Wi,ta.imgwidth=Hn[0],ta.imgheight=Ct[0];for(var Yr=0;Yr<Hn[0]*Ct[0]*4;Yr++)In[Yr]=Wi[Yr];return this.width=Hn,this.height=Ct,this.data=In,this}(function(E){var ne,te,de,ge,Ce,nt,Ge,ot,ft,Et=function(hn){return hn=hn||{},this.isStrokeTransparent=hn.isStrokeTransparent||!1,this.strokeOpacity=hn.strokeOpacity||1,this.strokeStyle=hn.strokeStyle||"#000000",this.fillStyle=hn.fillStyle||"#000000",this.isFillTransparent=hn.isFillTransparent||!1,this.fillOpacity=hn.fillOpacity||1,this.font=hn.font||"10px sans-serif",this.textBaseline=hn.textBaseline||"alphabetic",this.textAlign=hn.textAlign||"left",this.lineWidth=hn.lineWidth||1,this.lineJoin=hn.lineJoin||"miter",this.lineCap=hn.lineCap||"butt",this.path=hn.path||[],this.transform=hn.transform!==void 0?hn.transform.clone():new ot,this.globalCompositeOperation=hn.globalCompositeOperation||"normal",this.globalAlpha=hn.globalAlpha||1,this.clip_path=hn.clip_path||[],this.currentPoint=hn.currentPoint||new nt,this.miterLimit=hn.miterLimit||10,this.lastPoint=hn.lastPoint||new nt,this.lineDashOffset=hn.lineDashOffset||0,this.lineDash=hn.lineDash||[],this.margin=hn.margin||[0,0,0,0],this.prevPageLastElemOffset=hn.prevPageLastElemOffset||0,this.ignoreClearRect=typeof hn.ignoreClearRect!="boolean"||hn.ignoreClearRect,this};E.events.push(["initialized",function(){this.context2d=new en(this),ne=this.internal.f2,te=this.internal.getCoordinateString,de=this.internal.getVerticalCoordinateString,ge=this.internal.getHorizontalCoordinate,Ce=this.internal.getVerticalCoordinate,nt=this.internal.Point,Ge=this.internal.Rectangle,ot=this.internal.Matrix,ft=new Et}]);var en=function(hn){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var rr=hn;Object.defineProperty(this,"pdf",{get:function(){return rr}});var hr=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return hr},set:function(jn){hr=!!jn}});var Pr=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Pr},set:function(jn){Pr=!!jn}});var ti=0;Object.defineProperty(this,"posX",{get:function(){return ti},set:function(jn){isNaN(jn)||(ti=jn)}});var pi=0;Object.defineProperty(this,"posY",{get:function(){return pi},set:function(jn){isNaN(jn)||(pi=jn)}}),Object.defineProperty(this,"margin",{get:function(){return ft.margin},set:function(jn){var Xo;typeof jn=="number"?Xo=[jn,jn,jn,jn]:((Xo=new Array(4))[0]=jn[0],Xo[1]=jn.length>=2?jn[1]:Xo[0],Xo[2]=jn.length>=3?jn[2]:Xo[0],Xo[3]=jn.length>=4?jn[3]:Xo[1]),ft.margin=Xo}});var Ti=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Ti},set:function(jn){Ti=jn}});var Ui=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ui},set:function(jn){Ui=jn}});var ya=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ya},set:function(jn){ya=jn}}),Object.defineProperty(this,"ctx",{get:function(){return ft},set:function(jn){jn instanceof Et&&(ft=jn)}}),Object.defineProperty(this,"path",{get:function(){return ft.path},set:function(jn){ft.path=jn}});var so=[];Object.defineProperty(this,"ctxStack",{get:function(){return so},set:function(jn){so=jn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(jn){var Xo;Xo=sn(jn),this.ctx.fillStyle=Xo.style,this.ctx.isFillTransparent=Xo.a===0,this.ctx.fillOpacity=Xo.a,this.pdf.setFillColor(Xo.r,Xo.g,Xo.b,{a:Xo.a}),this.pdf.setTextColor(Xo.r,Xo.g,Xo.b,{a:Xo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(jn){var Xo=sn(jn);this.ctx.strokeStyle=Xo.style,this.ctx.isStrokeTransparent=Xo.a===0,this.ctx.strokeOpacity=Xo.a,Xo.a===0?this.pdf.setDrawColor(255,255,255):(Xo.a,this.pdf.setDrawColor(Xo.r,Xo.g,Xo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(jn){["butt","round","square"].indexOf(jn)!==-1&&(this.ctx.lineCap=jn,this.pdf.setLineCap(jn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(jn){isNaN(jn)||(this.ctx.lineWidth=jn,this.pdf.setLineWidth(jn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(jn){["bevel","round","miter"].indexOf(jn)!==-1&&(this.ctx.lineJoin=jn,this.pdf.setLineJoin(jn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(jn){isNaN(jn)||(this.ctx.miterLimit=jn,this.pdf.setMiterLimit(jn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(jn){this.ctx.textBaseline=jn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(jn){["right","end","center","left","start"].indexOf(jn)!==-1&&(this.ctx.textAlign=jn)}});var Uo=null,Zo=null,Gs=null;Object.defineProperty(this,"fontFaces",{get:function(){return Gs},set:function(jn){Uo=null,Zo=null,Gs=jn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(jn){var Xo;if(this.ctx.font=jn,(Xo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(jn))!==null){var pu=Xo[1];Xo[2];var gl=Xo[3],to=Xo[4];Xo[5];var ul=Xo[6],qo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(to)[2];to=Math.floor(qo==="px"?parseFloat(to)*this.pdf.internal.scaleFactor:qo==="em"?parseFloat(to)*this.pdf.getFontSize():parseFloat(to)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(to);var Ks=function(Ws){var Yd,qu,mu=[],bu=Ws.trim();if(bu==="")return Wg;if(bu in of)return[of[bu]];for(;bu!=="";){switch(qu=null,Yd=(bu=d0(bu)).charAt(0)){case'"':case"'":qu=_f(bu.substring(1),Yd);break;default:qu=Hh(bu)}if(qu===null||(mu.push(qu[0]),(bu=d0(qu[1]))!==""&&bu.charAt(0)!==","))return Wg;bu=bu.replace(/^,/,"")}return mu}(ul);if(this.fontFaces){var il=function(Ws,Yd){var qu=Ws.getFontList(),mu=JSON.stringify(qu);if(Uo===null||Zo!==mu){var bu=function(gd){var Ys=[];return Object.keys(gd).forEach(function(Yc){gd[Yc].forEach(function(kl){var Gl=null;switch(kl){case"bold":Gl={family:Yc,weight:"bold"};break;case"italic":Gl={family:Yc,style:"italic"};break;case"bolditalic":Gl={family:Yc,weight:"bold",style:"italic"};break;case"":case"normal":Gl={family:Yc}}Gl!==null&&(Gl.ref={name:Yc,style:kl},Ys.push(Gl))})}),Ys}(qu);Uo=function(gd){for(var Ys={},Yc=0;Yc<gd.length;++Yc){var kl=Mf(gd[Yc]),Gl=kl.family,Oc=kl.stretch,Rl=kl.style,cl=kl.weight;Ys[Gl]=Ys[Gl]||{},Ys[Gl][Oc]=Ys[Gl][Oc]||{},Ys[Gl][Oc][Rl]=Ys[Gl][Oc][Rl]||{},Ys[Gl][Oc][Rl][cl]=kl}return Ys}(bu.concat(Yd)),Zo=mu}return Uo}(this.pdf,this.fontFaces),Tu=Ks.map(function(Ws){return{family:Ws,stretch:"normal",weight:gl,style:pu}}),Pu=function(Ws,Yd,qu){for(var mu=(qu=qu||{}).defaultFontFamily||"times",bu=Object.assign({},fh,qu.genericFontFamilies||{}),gd=null,Ys=null,Yc=0;Yc<Yd.length;++Yc)if(bu[(gd=Mf(Yd[Yc])).family]&&(gd.family=bu[gd.family]),Ws.hasOwnProperty(gd.family)){Ys=Ws[gd.family];break}if(!(Ys=Ys||Ws[mu]))throw new Error("Could not find a font-family for the rule '"+hh(gd)+"' and default family '"+mu+"'.");if(Ys=function(kl,Gl){if(Gl[kl])return Gl[kl];var Oc=OA[kl],Rl=Oc<=OA.normal?-1:1,cl=Kf(Gl,Uh,Oc,Rl);if(!cl)throw new Error("Could not find a matching font-stretch value for "+kl);return cl}(gd.stretch,Ys),Ys=function(kl,Gl){if(Gl[kl])return Gl[kl];for(var Oc=rA[kl],Rl=0;Rl<Oc.length;++Rl)if(Gl[Oc[Rl]])return Gl[Oc[Rl]];throw new Error("Could not find a matching font-style for "+kl)}(gd.style,Ys),!(Ys=function(kl,Gl){if(Gl[kl])return Gl[kl];if(kl===400&&Gl[500])return Gl[500];if(kl===500&&Gl[400])return Gl[400];var Oc=zf[kl],Rl=Kf(Gl,jA,Oc,kl<400?-1:1);if(!Rl)throw new Error("Could not find a matching font-weight for value "+kl);return Rl}(gd.weight,Ys)))throw new Error("Failed to resolve a font for the rule '"+hh(gd)+"'.");return Ys}(il,Tu);this.pdf.setFont(Pu.ref.name,Pu.ref.style)}else{var Fl="";(gl==="bold"||parseInt(gl,10)>=700||pu==="bold")&&(Fl="bold"),pu==="italic"&&(Fl+="italic"),Fl.length===0&&(Fl="normal");for(var _u="",yu={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Os=0;Os<Ks.length;Os++){if(this.pdf.internal.getFont(Ks[Os],Fl,{noFallback:!0,disableWarning:!0})!==void 0){_u=Ks[Os];break}if(Fl==="bolditalic"&&this.pdf.internal.getFont(Ks[Os],"bold",{noFallback:!0,disableWarning:!0})!==void 0)_u=Ks[Os],Fl="bold";else if(this.pdf.internal.getFont(Ks[Os],"normal",{noFallback:!0,disableWarning:!0})!==void 0){_u=Ks[Os],Fl="normal";break}}if(_u===""){for(var nu=0;nu<Ks.length;nu++)if(yu[Ks[nu]]){_u=yu[Ks[nu]];break}}_u=_u===""?"Times":_u,this.pdf.setFont(_u,Fl)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(jn){this.ctx.globalCompositeOperation=jn}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(jn){this.ctx.globalAlpha=jn}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(jn){this.ctx.lineDashOffset=jn,Na.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(jn){this.ctx.lineDash=jn,Na.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(jn){this.ctx.ignoreClearRect=!!jn}})};en.prototype.setLineDash=function(hn){this.lineDash=hn},en.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},en.prototype.fill=function(){ar.call(this,"fill",!1)},en.prototype.stroke=function(){ar.call(this,"stroke",!1)},en.prototype.beginPath=function(){this.path=[{type:"begin"}]},en.prototype.moveTo=function(hn,rr){if(isNaN(hn)||isNaN(rr))throw hu.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var hr=this.ctx.transform.applyToPoint(new nt(hn,rr));this.path.push({type:"mt",x:hr.x,y:hr.y}),this.ctx.lastPoint=new nt(hn,rr)},en.prototype.closePath=function(){var hn=new nt(0,0),rr=0;for(rr=this.path.length-1;rr!==-1;rr--)if(this.path[rr].type==="begin"&&(0,he.Z)(this.path[rr+1])==="object"&&typeof this.path[rr+1].x=="number"){hn=new nt(this.path[rr+1].x,this.path[rr+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new nt(hn.x,hn.y)},en.prototype.lineTo=function(hn,rr){if(isNaN(hn)||isNaN(rr))throw hu.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var hr=this.ctx.transform.applyToPoint(new nt(hn,rr));this.path.push({type:"lt",x:hr.x,y:hr.y}),this.ctx.lastPoint=new nt(hr.x,hr.y)},en.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),ar.call(this,null,!0)},en.prototype.quadraticCurveTo=function(hn,rr,hr,Pr){if(isNaN(hr)||isNaN(Pr)||isNaN(hn)||isNaN(rr))throw hu.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ti=this.ctx.transform.applyToPoint(new nt(hr,Pr)),pi=this.ctx.transform.applyToPoint(new nt(hn,rr));this.path.push({type:"qct",x1:pi.x,y1:pi.y,x:ti.x,y:ti.y}),this.ctx.lastPoint=new nt(ti.x,ti.y)},en.prototype.bezierCurveTo=function(hn,rr,hr,Pr,ti,pi){if(isNaN(ti)||isNaN(pi)||isNaN(hn)||isNaN(rr)||isNaN(hr)||isNaN(Pr))throw hu.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Ti=this.ctx.transform.applyToPoint(new nt(ti,pi)),Ui=this.ctx.transform.applyToPoint(new nt(hn,rr)),ya=this.ctx.transform.applyToPoint(new nt(hr,Pr));this.path.push({type:"bct",x1:Ui.x,y1:Ui.y,x2:ya.x,y2:ya.y,x:Ti.x,y:Ti.y}),this.ctx.lastPoint=new nt(Ti.x,Ti.y)},en.prototype.arc=function(hn,rr,hr,Pr,ti,pi){if(isNaN(hn)||isNaN(rr)||isNaN(hr)||isNaN(Pr)||isNaN(ti))throw hu.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(pi=!!pi,!this.ctx.transform.isIdentity){var Ti=this.ctx.transform.applyToPoint(new nt(hn,rr));hn=Ti.x,rr=Ti.y;var Ui=this.ctx.transform.applyToPoint(new nt(0,hr)),ya=this.ctx.transform.applyToPoint(new nt(0,0));hr=Math.sqrt(Math.pow(Ui.x-ya.x,2)+Math.pow(Ui.y-ya.y,2))}Math.abs(ti-Pr)>=2*Math.PI&&(Pr=0,ti=2*Math.PI),this.path.push({type:"arc",x:hn,y:rr,radius:hr,startAngle:Pr,endAngle:ti,counterclockwise:pi})},en.prototype.arcTo=function(hn,rr,hr,Pr,ti){throw new Error("arcTo not implemented.")},en.prototype.rect=function(hn,rr,hr,Pr){if(isNaN(hn)||isNaN(rr)||isNaN(hr)||isNaN(Pr))throw hu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(hn,rr),this.lineTo(hn+hr,rr),this.lineTo(hn+hr,rr+Pr),this.lineTo(hn,rr+Pr),this.lineTo(hn,rr),this.lineTo(hn+hr,rr),this.lineTo(hn,rr)},en.prototype.fillRect=function(hn,rr,hr,Pr){if(isNaN(hn)||isNaN(rr)||isNaN(hr)||isNaN(Pr))throw hu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Ct.call(this)){var ti={};this.lineCap!=="butt"&&(ti.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ti.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(hn,rr,hr,Pr),this.fill(),ti.hasOwnProperty("lineCap")&&(this.lineCap=ti.lineCap),ti.hasOwnProperty("lineJoin")&&(this.lineJoin=ti.lineJoin)}},en.prototype.strokeRect=function(hn,rr,hr,Pr){if(isNaN(hn)||isNaN(rr)||isNaN(hr)||isNaN(Pr))throw hu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Hn.call(this)||(this.beginPath(),this.rect(hn,rr,hr,Pr),this.stroke())},en.prototype.clearRect=function(hn,rr,hr,Pr){if(isNaN(hn)||isNaN(rr)||isNaN(hr)||isNaN(Pr))throw hu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(hn,rr,hr,Pr))},en.prototype.save=function(hn){hn=typeof hn!="boolean"||hn;for(var rr=this.pdf.internal.getCurrentPageInfo().pageNumber,hr=0;hr<this.pdf.internal.getNumberOfPages();hr++)this.pdf.setPage(hr+1),this.pdf.internal.out("q");if(this.pdf.setPage(rr),hn){this.ctx.fontSize=this.pdf.internal.getFontSize();var Pr=new Et(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Pr}},en.prototype.restore=function(hn){hn=typeof hn!="boolean"||hn;for(var rr=this.pdf.internal.getCurrentPageInfo().pageNumber,hr=0;hr<this.pdf.internal.getNumberOfPages();hr++)this.pdf.setPage(hr+1),this.pdf.internal.out("Q");this.pdf.setPage(rr),hn&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},en.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var sn=function(hn){var rr,hr,Pr,ti;if(hn.isCanvasGradient===!0&&(hn=hn.getColor()),!hn)return{r:0,g:0,b:0,a:0,style:hn};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(hn))rr=0,hr=0,Pr=0,ti=0;else{var pi=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(hn);if(pi!==null)rr=parseInt(pi[1]),hr=parseInt(pi[2]),Pr=parseInt(pi[3]),ti=1;else if((pi=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(hn))!==null)rr=parseInt(pi[1]),hr=parseInt(pi[2]),Pr=parseInt(pi[3]),ti=parseFloat(pi[4]);else{if(ti=1,typeof hn=="string"&&hn.charAt(0)!=="#"){var Ti=new zm(hn);hn=Ti.ok?Ti.toHex():"#000000"}hn.length===4?(rr=hn.substring(1,2),rr+=rr,hr=hn.substring(2,3),hr+=hr,Pr=hn.substring(3,4),Pr+=Pr):(rr=hn.substring(1,3),hr=hn.substring(3,5),Pr=hn.substring(5,7)),rr=parseInt(rr,16),hr=parseInt(hr,16),Pr=parseInt(Pr,16)}}return{r:rr,g:hr,b:Pr,a:ti,style:hn}},Ct=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Hn=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};en.prototype.fillText=function(hn,rr,hr,Pr){if(isNaN(rr)||isNaN(hr)||typeof hn!="string")throw hu.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Pr=isNaN(Pr)?void 0:Pr,!Ct.call(this)){var ti=Ci(this.ctx.transform.rotation),pi=this.ctx.transform.scaleX;Gn.call(this,{text:hn,x:rr,y:hr,scale:pi,angle:ti,align:this.textAlign,maxWidth:Pr})}},en.prototype.strokeText=function(hn,rr,hr,Pr){if(isNaN(rr)||isNaN(hr)||typeof hn!="string")throw hu.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Hn.call(this)){Pr=isNaN(Pr)?void 0:Pr;var ti=Ci(this.ctx.transform.rotation),pi=this.ctx.transform.scaleX;Gn.call(this,{text:hn,x:rr,y:hr,scale:pi,renderingMode:"stroke",angle:ti,align:this.textAlign,maxWidth:Pr})}},en.prototype.measureText=function(hn){if(typeof hn!="string")throw hu.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var rr=this.pdf,hr=this.pdf.internal.scaleFactor,Pr=rr.internal.getFontSize(),ti=rr.getStringUnitWidth(hn)*Pr/rr.internal.scaleFactor;return new function(pi){var Ti=(pi=pi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Ti}}),this}({width:ti*=Math.round(96*hr/72*1e4)/1e4})},en.prototype.scale=function(hn,rr){if(isNaN(hn)||isNaN(rr))throw hu.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var hr=new ot(hn,0,0,rr,0,0);this.ctx.transform=this.ctx.transform.multiply(hr)},en.prototype.rotate=function(hn){if(isNaN(hn))throw hu.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var rr=new ot(Math.cos(hn),Math.sin(hn),-Math.sin(hn),Math.cos(hn),0,0);this.ctx.transform=this.ctx.transform.multiply(rr)},en.prototype.translate=function(hn,rr){if(isNaN(hn)||isNaN(rr))throw hu.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var hr=new ot(1,0,0,1,hn,rr);this.ctx.transform=this.ctx.transform.multiply(hr)},en.prototype.transform=function(hn,rr,hr,Pr,ti,pi){if(isNaN(hn)||isNaN(rr)||isNaN(hr)||isNaN(Pr)||isNaN(ti)||isNaN(pi))throw hu.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Ti=new ot(hn,rr,hr,Pr,ti,pi);this.ctx.transform=this.ctx.transform.multiply(Ti)},en.prototype.setTransform=function(hn,rr,hr,Pr,ti,pi){hn=isNaN(hn)?1:hn,rr=isNaN(rr)?0:rr,hr=isNaN(hr)?0:hr,Pr=isNaN(Pr)?1:Pr,ti=isNaN(ti)?0:ti,pi=isNaN(pi)?0:pi,this.ctx.transform=new ot(hn,rr,hr,Pr,ti,pi)};var In=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};en.prototype.drawImage=function(hn,rr,hr,Pr,ti,pi,Ti,Ui,ya){var so=this.pdf.getImageProperties(hn),Uo=1,Zo=1,Gs=1,jn=1;Pr!==void 0&&Ui!==void 0&&(Gs=Ui/Pr,jn=ya/ti,Uo=so.width/Pr*Ui/Pr,Zo=so.height/ti*ya/ti),pi===void 0&&(pi=rr,Ti=hr,rr=0,hr=0),Pr!==void 0&&Ui===void 0&&(Ui=Pr,ya=ti),Pr===void 0&&Ui===void 0&&(Ui=so.width,ya=so.height);var Xo=this.ctx.transform.decompose(),pu=Ci(Xo.rotate.shx),gl=new ot,to=(gl=(gl=(gl=gl.multiply(Xo.translate)).multiply(Xo.skew)).multiply(Xo.scale)).applyToRectangle(new Ge(pi-rr*Gs,Ti-hr*jn,Pr*Uo,ti*Zo));if(this.autoPaging){for(var ul,qo=Zn.call(this,to),Ks=[],il=0;il<qo.length;il+=1)Ks.indexOf(qo[il])===-1&&Ks.push(qo[il]);Br(Ks);for(var Tu=Ks[0],Pu=Ks[Ks.length-1],Fl=Tu;Fl<Pu+1;Fl++){this.pdf.setPage(Fl);var _u=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],yu=Fl===1?this.posY+this.margin[0]:this.margin[0],Os=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],nu=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ws=Fl===1?0:Os+(Fl-2)*nu;if(this.ctx.clip_path.length!==0){var Yd=this.path;ul=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ir(ul,this.posX+this.margin[3],-Ws+yu+this.ctx.prevPageLastElemOffset),wi.call(this,"fill",!0),this.path=Yd}var qu=JSON.parse(JSON.stringify(to));qu=Ir([qu],this.posX+this.margin[3],-Ws+yu+this.ctx.prevPageLastElemOffset)[0];var mu=(Fl>Tu||Fl<Pu)&&In.call(this);mu&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],_u,nu,null).clip().discardPath()),this.pdf.addImage(hn,"JPEG",qu.x,qu.y,qu.w,qu.h,null,null,pu),mu&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(hn,"JPEG",to.x,to.y,to.w,to.h,null,null,pu)};var Zn=function(hn,rr,hr){var Pr=[];rr=rr||this.pdf.internal.pageSize.width,hr=hr||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ti=this.posY+this.ctx.prevPageLastElemOffset;switch(hn.type){default:case"mt":case"lt":Pr.push(Math.floor((hn.y+ti)/hr)+1);break;case"arc":Pr.push(Math.floor((hn.y+ti-hn.radius)/hr)+1),Pr.push(Math.floor((hn.y+ti+hn.radius)/hr)+1);break;case"qct":var pi=Gi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,hn.x1,hn.y1,hn.x,hn.y);Pr.push(Math.floor((pi.y+ti)/hr)+1),Pr.push(Math.floor((pi.y+pi.h+ti)/hr)+1);break;case"bct":var Ti=fo(this.ctx.lastPoint.x,this.ctx.lastPoint.y,hn.x1,hn.y1,hn.x2,hn.y2,hn.x,hn.y);Pr.push(Math.floor((Ti.y+ti)/hr)+1),Pr.push(Math.floor((Ti.y+Ti.h+ti)/hr)+1);break;case"rect":Pr.push(Math.floor((hn.y+ti)/hr)+1),Pr.push(Math.floor((hn.y+hn.h+ti)/hr)+1)}for(var Ui=0;Ui<Pr.length;Ui+=1)for(;this.pdf.internal.getNumberOfPages()<Pr[Ui];)wn.call(this);return Pr},wn=function(){var hn=this.fillStyle,rr=this.strokeStyle,hr=this.font,Pr=this.lineCap,ti=this.lineWidth,pi=this.lineJoin;this.pdf.addPage(),this.fillStyle=hn,this.strokeStyle=rr,this.font=hr,this.lineCap=Pr,this.lineWidth=ti,this.lineJoin=pi},Ir=function(hn,rr,hr){for(var Pr=0;Pr<hn.length;Pr++)switch(hn[Pr].type){case"bct":hn[Pr].x2+=rr,hn[Pr].y2+=hr;case"qct":hn[Pr].x1+=rr,hn[Pr].y1+=hr;default:hn[Pr].x+=rr,hn[Pr].y+=hr}return hn},Br=function(hn){return hn.sort(function(rr,hr){return rr-hr})},ar=function(hn,rr){var hr=this.fillStyle,Pr=this.strokeStyle,ti=this.lineCap,pi=this.lineWidth,Ti=Math.abs(pi*this.ctx.transform.scaleX),Ui=this.lineJoin;if(this.autoPaging){for(var ya,so,Uo=JSON.parse(JSON.stringify(this.path)),Zo=JSON.parse(JSON.stringify(this.path)),Gs=[],jn=0;jn<Zo.length;jn++)if(Zo[jn].x!==void 0)for(var Xo=Zn.call(this,Zo[jn]),pu=0;pu<Xo.length;pu+=1)Gs.indexOf(Xo[pu])===-1&&Gs.push(Xo[pu]);for(var gl=0;gl<Gs.length;gl++)for(;this.pdf.internal.getNumberOfPages()<Gs[gl];)wn.call(this);Br(Gs);for(var to=Gs[0],ul=Gs[Gs.length-1],qo=to;qo<ul+1;qo++){this.pdf.setPage(qo),this.fillStyle=hr,this.strokeStyle=Pr,this.lineCap=ti,this.lineWidth=Ti,this.lineJoin=Ui;var Ks=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],il=qo===1?this.posY+this.margin[0]:this.margin[0],Tu=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Pu=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Fl=qo===1?0:Tu+(qo-2)*Pu;if(this.ctx.clip_path.length!==0){var _u=this.path;ya=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ir(ya,this.posX+this.margin[3],-Fl+il+this.ctx.prevPageLastElemOffset),wi.call(this,hn,!0),this.path=_u}if(so=JSON.parse(JSON.stringify(Uo)),this.path=Ir(so,this.posX+this.margin[3],-Fl+il+this.ctx.prevPageLastElemOffset),rr===!1||qo===0){var yu=(qo>to||qo<ul)&&In.call(this);yu&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ks,Pu,null).clip().discardPath()),wi.call(this,hn,rr),yu&&this.pdf.restoreGraphicsState()}this.lineWidth=pi}this.path=Uo}else this.lineWidth=Ti,wi.call(this,hn,rr),this.lineWidth=pi},wi=function(hn,rr){if((hn!=="stroke"||rr||!Hn.call(this))&&(hn==="stroke"||rr||!Ct.call(this))){for(var hr,Pr,ti=[],pi=this.path,Ti=0;Ti<pi.length;Ti++){var Ui=pi[Ti];switch(Ui.type){case"begin":ti.push({begin:!0});break;case"close":ti.push({close:!0});break;case"mt":ti.push({start:Ui,deltas:[],abs:[]});break;case"lt":var ya=ti.length;if(pi[Ti-1]&&!isNaN(pi[Ti-1].x)&&(hr=[Ui.x-pi[Ti-1].x,Ui.y-pi[Ti-1].y],ya>0)){for(;ya>=0;ya--)if(ti[ya-1].close!==!0&&ti[ya-1].begin!==!0){ti[ya-1].deltas.push(hr),ti[ya-1].abs.push(Ui);break}}break;case"bct":hr=[Ui.x1-pi[Ti-1].x,Ui.y1-pi[Ti-1].y,Ui.x2-pi[Ti-1].x,Ui.y2-pi[Ti-1].y,Ui.x-pi[Ti-1].x,Ui.y-pi[Ti-1].y],ti[ti.length-1].deltas.push(hr);break;case"qct":var so=pi[Ti-1].x+2/3*(Ui.x1-pi[Ti-1].x),Uo=pi[Ti-1].y+2/3*(Ui.y1-pi[Ti-1].y),Zo=Ui.x+2/3*(Ui.x1-Ui.x),Gs=Ui.y+2/3*(Ui.y1-Ui.y),jn=Ui.x,Xo=Ui.y;hr=[so-pi[Ti-1].x,Uo-pi[Ti-1].y,Zo-pi[Ti-1].x,Gs-pi[Ti-1].y,jn-pi[Ti-1].x,Xo-pi[Ti-1].y],ti[ti.length-1].deltas.push(hr);break;case"arc":ti.push({deltas:[],abs:[],arc:!0}),Array.isArray(ti[ti.length-1].abs)&&ti[ti.length-1].abs.push(Ui)}}Pr=rr?null:hn==="stroke"?"stroke":"fill";for(var pu=!1,gl=0;gl<ti.length;gl++)if(ti[gl].arc)for(var to=ti[gl].abs,ul=0;ul<to.length;ul++){var qo=to[ul];qo.type==="arc"?Yr.call(this,qo.x,qo.y,qo.radius,qo.startAngle,qo.endAngle,qo.counterclockwise,void 0,rr,!pu):_r.call(this,qo.x,qo.y),pu=!0}else if(ti[gl].close===!0)this.pdf.internal.out("h"),pu=!1;else if(ti[gl].begin!==!0){var Ks=ti[gl].start.x,il=ti[gl].start.y;Er.call(this,ti[gl].deltas,Ks,il),pu=!0}Pr&&sr.call(this,Pr),rr&&ci.call(this)}},ta=function(hn){var rr=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,hr=rr*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return hn-hr;case"top":return hn+rr-hr;case"hanging":return hn+rr-2*hr;case"middle":return hn+rr/2-hr;default:return hn}},Wi=function(hn){return hn+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};en.prototype.createLinearGradient=function(){var hn=function(){};return hn.colorStops=[],hn.addColorStop=function(rr,hr){this.colorStops.push([rr,hr])},hn.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},hn.isCanvasGradient=!0,hn},en.prototype.createPattern=function(){return this.createLinearGradient()},en.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Yr=function(hn,rr,hr,Pr,ti,pi,Ti,Ui,ya){for(var so=zi.call(this,hr,Pr,ti,pi),Uo=0;Uo<so.length;Uo++){var Zo=so[Uo];Uo===0&&(ya?yn.call(this,Zo.x1+hn,Zo.y1+rr):_r.call(this,Zo.x1+hn,Zo.y1+rr)),Fi.call(this,hn,rr,Zo.x2,Zo.y2,Zo.x3,Zo.y3,Zo.x4,Zo.y4)}Ui?ci.call(this):sr.call(this,Ti)},sr=function(hn){switch(hn){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},ci=function(){this.pdf.clip(),this.pdf.discardPath()},yn=function(hn,rr){this.pdf.internal.out(te(hn)+" "+de(rr)+" m")},Gn=function(hn){var rr;switch(hn.align){case"right":case"end":rr="right";break;case"center":rr="center";break;default:rr="left"}var hr,Pr,ti,pi=this.pdf.getTextDimensions(hn.text),Ti=ta.call(this,hn.y),Ui=Wi.call(this,Ti)-pi.h,ya=this.ctx.transform.applyToPoint(new nt(hn.x,Ti));if(this.autoPaging){var so=this.ctx.transform.decompose(),Uo=new ot;Uo=(Uo=(Uo=Uo.multiply(so.translate)).multiply(so.skew)).multiply(so.scale);for(var Zo=this.ctx.transform.applyToRectangle(new Ge(hn.x,Ti,pi.w,pi.h)),Gs=Uo.applyToRectangle(new Ge(hn.x,Ui,pi.w,pi.h)),jn=Zn.call(this,Gs),Xo=[],pu=0;pu<jn.length;pu+=1)Xo.indexOf(jn[pu])===-1&&Xo.push(jn[pu]);Br(Xo);for(var gl=Xo[0],to=Xo[Xo.length-1],ul=gl;ul<to+1;ul++){this.pdf.setPage(ul);var qo=ul===1?this.posY+this.margin[0]:this.margin[0],Ks=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],il=this.pdf.internal.pageSize.height-this.margin[2],Tu=il-this.margin[0],Pu=this.pdf.internal.pageSize.width-this.margin[1],Fl=Pu-this.margin[3],_u=ul===1?0:Ks+(ul-2)*Tu;if(this.ctx.clip_path.length!==0){var yu=this.path;hr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ir(hr,this.posX+this.margin[3],-1*_u+qo),wi.call(this,"fill",!0),this.path=yu}var Os=Ir([JSON.parse(JSON.stringify(Gs))],this.posX+this.margin[3],-_u+qo+this.ctx.prevPageLastElemOffset)[0];hn.scale>=.01&&(Pr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pr*hn.scale),ti=this.lineWidth,this.lineWidth=ti*hn.scale);var nu=this.autoPaging!=="text";if(nu||Os.y+Os.h<=il){if(nu||Os.y>=qo&&Os.x<=Pu){var Ws=nu?hn.text:this.pdf.splitTextToSize(hn.text,hn.maxWidth||Pu-Os.x)[0],Yd=Ir([JSON.parse(JSON.stringify(Zo))],this.posX+this.margin[3],-_u+qo+this.ctx.prevPageLastElemOffset)[0],qu=nu&&(ul>gl||ul<to)&&In.call(this);qu&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Fl,Tu,null).clip().discardPath()),this.pdf.text(Ws,Yd.x,Yd.y,{angle:hn.angle,align:rr,renderingMode:hn.renderingMode}),qu&&this.pdf.restoreGraphicsState()}}else Os.y<il&&(this.ctx.prevPageLastElemOffset+=il-Os.y);hn.scale>=.01&&(this.pdf.setFontSize(Pr),this.lineWidth=ti)}}else hn.scale>=.01&&(Pr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pr*hn.scale),ti=this.lineWidth,this.lineWidth=ti*hn.scale),this.pdf.text(hn.text,ya.x+this.posX,ya.y+this.posY,{angle:hn.angle,align:rr,renderingMode:hn.renderingMode,maxWidth:hn.maxWidth}),hn.scale>=.01&&(this.pdf.setFontSize(Pr),this.lineWidth=ti)},_r=function(hn,rr,hr,Pr){hr=hr||0,Pr=Pr||0,this.pdf.internal.out(te(hn+hr)+" "+de(rr+Pr)+" l")},Er=function(hn,rr,hr){return this.pdf.lines(hn,rr,hr,null,null)},Fi=function(hn,rr,hr,Pr,ti,pi,Ti,Ui){this.pdf.internal.out([ne(ge(hr+hn)),ne(Ce(Pr+rr)),ne(ge(ti+hn)),ne(Ce(pi+rr)),ne(ge(Ti+hn)),ne(Ce(Ui+rr)),"c"].join(" "))},zi=function(hn,rr,hr,Pr){for(var ti=2*Math.PI,pi=Math.PI/2;rr>hr;)rr-=ti;var Ti=Math.abs(hr-rr);Ti<ti&&Pr&&(Ti=ti-Ti);for(var Ui=[],ya=Pr?-1:1,so=rr;Ti>1e-5;){var Uo=so+ya*Math.min(Ti,pi);Ui.push(Xi.call(this,hn,so,Uo)),Ti-=Math.abs(Uo-so),so=Uo}return Ui},Xi=function(hn,rr,hr){var Pr=(hr-rr)/2,ti=hn*Math.cos(Pr),pi=hn*Math.sin(Pr),Ti=ti,Ui=-pi,ya=Ti*Ti+Ui*Ui,so=ya+Ti*ti+Ui*pi,Uo=4/3*(Math.sqrt(2*ya*so)-so)/(Ti*pi-Ui*ti),Zo=Ti-Uo*Ui,Gs=Ui+Uo*Ti,jn=Zo,Xo=-Gs,pu=Pr+rr,gl=Math.cos(pu),to=Math.sin(pu);return{x1:hn*Math.cos(rr),y1:hn*Math.sin(rr),x2:Zo*gl-Gs*to,y2:Zo*to+Gs*gl,x3:jn*gl-Xo*to,y3:jn*to+Xo*gl,x4:hn*Math.cos(hr),y4:hn*Math.sin(hr)}},Ci=function(hn){return 180*hn/Math.PI},Gi=function(hn,rr,hr,Pr,ti,pi){var Ti=hn+.5*(hr-hn),Ui=rr+.5*(Pr-rr),ya=ti+.5*(hr-ti),so=pi+.5*(Pr-pi),Uo=Math.min(hn,ti,Ti,ya),Zo=Math.max(hn,ti,Ti,ya),Gs=Math.min(rr,pi,Ui,so),jn=Math.max(rr,pi,Ui,so);return new Ge(Uo,Gs,Zo-Uo,jn-Gs)},fo=function(hn,rr,hr,Pr,ti,pi,Ti,Ui){var ya,so,Uo,Zo,Gs,jn,Xo,pu,gl,to,ul,qo,Ks,il,Tu=hr-hn,Pu=Pr-rr,Fl=ti-hr,_u=pi-Pr,yu=Ti-ti,Os=Ui-pi;for(so=0;so<41;so++)gl=(Xo=(Uo=hn+(ya=so/40)*Tu)+ya*((Gs=hr+ya*Fl)-Uo))+ya*(Gs+ya*(ti+ya*yu-Gs)-Xo),to=(pu=(Zo=rr+ya*Pu)+ya*((jn=Pr+ya*_u)-Zo))+ya*(jn+ya*(pi+ya*Os-jn)-pu),so==0?(ul=gl,qo=to,Ks=gl,il=to):(ul=Math.min(ul,gl),qo=Math.min(qo,to),Ks=Math.max(Ks,gl),il=Math.max(il,to));return new Ge(Math.round(ul),Math.round(qo),Math.round(Ks-ul),Math.round(il-qo))},Na=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var hn,rr,hr=(hn=this.ctx.lineDash,rr=this.ctx.lineDashOffset,JSON.stringify({lineDash:hn,lineDashOffset:rr}));this.prevLineDash!==hr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=hr)}}})(Ls.API),function(E){var ne=function(nt){var Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn;for(/[^\x00-\xFF]/.test(nt),ot=[],ft=0,Et=(nt+=Ge="\0\0\0\0".slice(nt.length%4||4)).length;Et>ft;ft+=4)(en=(nt.charCodeAt(ft)<<24)+(nt.charCodeAt(ft+1)<<16)+(nt.charCodeAt(ft+2)<<8)+nt.charCodeAt(ft+3))!==0?(sn=(en=((en=((en=((en=(en-(Zn=en%85))/85)-(In=en%85))/85)-(Hn=en%85))/85)-(Ct=en%85))/85)%85,ot.push(sn+33,Ct+33,Hn+33,In+33,Zn+33)):ot.push(122);return function(wn,Ir){for(var Br=Ir;Br>0;Br--)wn.pop()}(ot,Ge.length),String.fromCharCode.apply(String,ot)+"~>"},te=function(nt){var Ge,ot,ft,Et,en,sn=String,Ct="length",Hn=255,In="charCodeAt",Zn="slice",wn="replace";for(nt[Zn](-2),nt=nt[Zn](0,-2)[wn](/\s/g,"")[wn]("z","!!!!!"),ft=[],Et=0,en=(nt+=Ge="uuuuu"[Zn](nt[Ct]%5||5))[Ct];en>Et;Et+=5)ot=52200625*(nt[In](Et)-33)+614125*(nt[In](Et+1)-33)+7225*(nt[In](Et+2)-33)+85*(nt[In](Et+3)-33)+(nt[In](Et+4)-33),ft.push(Hn&ot>>24,Hn&ot>>16,Hn&ot>>8,Hn&ot);return function(Ir,Br){for(var ar=Br;ar>0;ar--)Ir.pop()}(ft,Ge[Ct]),sn.fromCharCode.apply(sn,ft)},de=function(nt){return nt.split("").map(function(Ge){return("0"+Ge.charCodeAt().toString(16)).slice(-2)}).join("")+">"},ge=function(nt){var Ge=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((nt=nt.replace(/\s/g,"")).indexOf(">")!==-1&&(nt=nt.substr(0,nt.indexOf(">"))),nt.length%2&&(nt+="0"),Ge.test(nt)===!1)return"";for(var ot="",ft=0;ft<nt.length;ft+=2)ot+=String.fromCharCode("0x"+(nt[ft]+nt[ft+1]));return ot},Ce=function(nt){for(var Ge=new Uint8Array(nt.length),ot=nt.length;ot--;)Ge[ot]=nt.charCodeAt(ot);return(Ge=Ea(Ge)).reduce(function(ft,Et){return ft+String.fromCharCode(Et)},"")};E.processDataByFilters=function(nt,Ge){var ot=0,ft=nt||"",Et=[];for(typeof(Ge=Ge||[])=="string"&&(Ge=[Ge]),ot=0;ot<Ge.length;ot+=1)switch(Ge[ot]){case"ASCII85Decode":case"/ASCII85Decode":ft=te(ft),Et.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ft=ne(ft),Et.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ft=ge(ft),Et.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ft=de(ft),Et.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ft=Ce(ft),Et.push("/FlateDecode");break;default:throw new Error('The filter: "'+Ge[ot]+'" is not implemented')}return{data:ft,reverseChain:Et.reverse().join(" ")}}}(Ls.API),function(E){E.loadFile=function(ne,te,de){return function(ge,Ce,nt){Ce=Ce!==!1,nt=typeof nt=="function"?nt:function(){};var Ge=void 0;try{Ge=function(ot,ft,Et){var en=new XMLHttpRequest,sn=0,Ct=function(Hn){var In=Hn.length,Zn=[],wn=String.fromCharCode;for(sn=0;sn<In;sn+=1)Zn.push(wn(255&Hn.charCodeAt(sn)));return Zn.join("")};if(en.open("GET",ot,!ft),en.overrideMimeType("text/plain; charset=x-user-defined"),ft===!1&&(en.onload=function(){en.status===200?Et(Ct(this.responseText)):Et(void 0)}),en.send(null),ft&&en.status===200)return Ct(en.responseText)}(ge,Ce,nt)}catch(ot){}return Ge}(ne,te,de)},E.loadImageFile=E.loadFile}(Ls.API),function(E){function ne(){return(Us.html2canvas?Promise.resolve(Us.html2canvas):Promise.resolve().then(ce.t.bind(ce,64270,23))).catch(function(Ge){return Promise.reject(new Error("Could not load html2canvas: "+Ge))}).then(function(Ge){return Ge.default?Ge.default:Ge})}function te(){return(Us.DOMPurify?Promise.resolve(Us.DOMPurify):ce.e(85911).then(ce.bind(ce,85911))).catch(function(Ge){return Promise.reject(new Error("Could not load dompurify: "+Ge))}).then(function(Ge){return Ge.default?Ge.default:Ge})}var de=function(Ge){var ot=(0,he.Z)(Ge);return ot==="undefined"?"undefined":ot==="string"||Ge instanceof String?"string":ot==="number"||Ge instanceof Number?"number":ot==="function"||Ge instanceof Function?"function":Ge&&Ge.constructor===Array?"array":Ge&&Ge.nodeType===1?"element":ot==="object"?"object":"unknown"},ge=function(Ge,ot){var ft=document.createElement(Ge);for(var Et in ot.className&&(ft.className=ot.className),ot.innerHTML&&ot.dompurify&&(ft.innerHTML=ot.dompurify.sanitize(ot.innerHTML)),ot.style)ft.style[Et]=ot.style[Et];return ft},Ce=function Ge(ot,ft){for(var Et=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),en=ot.firstChild;en;en=en.nextSibling)ft!==!0&&en.nodeType===1&&en.nodeName==="SCRIPT"||Et.appendChild(Ge(en,ft));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(Et.width=ot.width,Et.height=ot.height,Et.getContext("2d").drawImage(ot,0,0)):ot.nodeName!=="TEXTAREA"&&ot.nodeName!=="SELECT"||(Et.value=ot.value),Et.addEventListener("load",function(){Et.scrollTop=ot.scrollTop,Et.scrollLeft=ot.scrollLeft},!0)),Et},nt=function Ge(ot){var ft=Object.assign(Ge.convert(Promise.resolve()),JSON.parse(JSON.stringify(Ge.template))),Et=Ge.convert(Promise.resolve(),ft);return(Et=Et.setProgress(1,Ge,1,[Ge])).set(ot)};(nt.prototype=Object.create(Promise.prototype)).constructor=nt,nt.convert=function(Ge,ot){return Ge.__proto__=ot||nt.prototype,Ge},nt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},nt.prototype.from=function(Ge,ot){return this.then(function(){switch(ot=ot||function(ft){switch(de(ft)){case"string":return"string";case"element":return ft.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Ge),ot){case"string":return this.then(te).then(function(ft){return this.set({src:ge("div",{innerHTML:Ge,dompurify:ft})})});case"element":return this.set({src:Ge});case"canvas":return this.set({canvas:Ge});case"img":return this.set({img:Ge});default:return this.error("Unknown source type.")}})},nt.prototype.to=function(Ge){switch(Ge){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},nt.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var Ge={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},ot=Ce(this.prop.src,this.opt.html2canvas.javascriptEnabled);ot.tagName==="BODY"&&(Ge.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=ge("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=ge("div",{className:"html2pdf__container",style:Ge}),this.prop.container.appendChild(ot),this.prop.container.firstChild.appendChild(ge("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},nt.prototype.toCanvas=function(){var Ge=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ge).then(ne).then(function(ot){var ft=Object.assign({},this.opt.html2canvas);return delete ft.onrendered,ot(this.prop.container,ft)}).then(function(ot){(this.opt.html2canvas.onrendered||function(){})(ot),this.prop.canvas=ot,document.body.removeChild(this.prop.overlay)})},nt.prototype.toContext2d=function(){var Ge=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ge).then(ne).then(function(ot){var ft=this.opt.jsPDF,Et=this.opt.fontFaces,en=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,sn=Object.assign({async:!0,allowTaint:!0,scale:en,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete sn.onrendered,ft.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,ft.context2d.posX=this.opt.x,ft.context2d.posY=this.opt.y,ft.context2d.margin=this.opt.margin,ft.context2d.fontFaces=Et,Et)for(var Ct=0;Ct<Et.length;++Ct){var Hn=Et[Ct],In=Hn.src.find(function(Zn){return Zn.format==="truetype"});In&&ft.addFont(In.url,Hn.ref.name,Hn.ref.style)}return sn.windowHeight=sn.windowHeight||0,sn.windowHeight=sn.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):sn.windowHeight,ft.context2d.save(!0),ot(this.prop.container,sn)}).then(function(ot){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(ot),this.prop.canvas=ot,document.body.removeChild(this.prop.overlay)})},nt.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Ge=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Ge})},nt.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},nt.prototype.output=function(Ge,ot,ft){return(ft=ft||"pdf").toLowerCase()==="img"||ft.toLowerCase()==="image"?this.outputImg(Ge,ot):this.outputPdf(Ge,ot)},nt.prototype.outputPdf=function(Ge,ot){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Ge,ot)})},nt.prototype.outputImg=function(Ge){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Ge){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+Ge+'" is not supported.'}})},nt.prototype.save=function(Ge){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Ge?{filename:Ge}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},nt.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},nt.prototype.set=function(Ge){if(de(Ge)!=="object")return this;var ot=Object.keys(Ge||{}).map(function(ft){if(ft in nt.template.prop)return function(){this.prop[ft]=Ge[ft]};switch(ft){case"margin":return this.setMargin.bind(this,Ge.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ge.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ge.pageSize);default:return function(){this.opt[ft]=Ge[ft]}}},this);return this.then(function(){return this.thenList(ot)})},nt.prototype.get=function(Ge,ot){return this.then(function(){var ft=Ge in nt.template.prop?this.prop[Ge]:this.opt[Ge];return ot?ot(ft):ft})},nt.prototype.setMargin=function(Ge){return this.then(function(){switch(de(Ge)){case"number":Ge=[Ge,Ge,Ge,Ge];case"array":if(Ge.length===2&&(Ge=[Ge[0],Ge[1],Ge[0],Ge[1]]),Ge.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ge}).then(this.setPageSize)},nt.prototype.setPageSize=function(Ge){function ot(ft,Et){return Math.floor(ft*Et/72*96)}return this.then(function(){(Ge=Ge||Ls.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Ge.inner={width:Ge.width-this.opt.margin[1]-this.opt.margin[3],height:Ge.height-this.opt.margin[0]-this.opt.margin[2]},Ge.inner.px={width:ot(Ge.inner.width,Ge.k),height:ot(Ge.inner.height,Ge.k)},Ge.inner.ratio=Ge.inner.height/Ge.inner.width),this.prop.pageSize=Ge})},nt.prototype.setProgress=function(Ge,ot,ft,Et){return Ge!=null&&(this.progress.val=Ge),ot!=null&&(this.progress.state=ot),ft!=null&&(this.progress.n=ft),Et!=null&&(this.progress.stack=Et),this.progress.ratio=this.progress.val/this.progress.state,this},nt.prototype.updateProgress=function(Ge,ot,ft,Et){return this.setProgress(Ge?this.progress.val+Ge:null,ot||null,ft?this.progress.n+ft:null,Et?this.progress.stack.concat(Et):null)},nt.prototype.then=function(Ge,ot){var ft=this;return this.thenCore(Ge,ot,function(Et,en){return ft.updateProgress(null,null,1,[Et]),Promise.prototype.then.call(this,function(sn){return ft.updateProgress(null,Et),sn}).then(Et,en).then(function(sn){return ft.updateProgress(1),sn})})},nt.prototype.thenCore=function(Ge,ot,ft){ft=ft||Promise.prototype.then;var Et=this;Ge&&(Ge=Ge.bind(Et)),ot&&(ot=ot.bind(Et));var en=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?Et:nt.convert(Object.assign({},Et),Promise.prototype),sn=ft.call(en,Ge,ot);return nt.convert(sn,Et.__proto__)},nt.prototype.thenExternal=function(Ge,ot){return Promise.prototype.then.call(this,Ge,ot)},nt.prototype.thenList=function(Ge){var ot=this;return Ge.forEach(function(ft){ot=ot.thenCore(ft)}),ot},nt.prototype.catch=function(Ge){Ge&&(Ge=Ge.bind(this));var ot=Promise.prototype.catch.call(this,Ge);return nt.convert(ot,this)},nt.prototype.catchExternal=function(Ge){return Promise.prototype.catch.call(this,Ge)},nt.prototype.error=function(Ge){return this.then(function(){throw new Error(Ge)})},nt.prototype.using=nt.prototype.set,nt.prototype.saveAs=nt.prototype.save,nt.prototype.export=nt.prototype.output,nt.prototype.run=nt.prototype.then,Ls.getPageSize=function(Ge,ot,ft){if((0,he.Z)(Ge)==="object"){var Et=Ge;Ge=Et.orientation,ot=Et.unit||ot,ft=Et.format||ft}ot=ot||"mm",ft=ft||"a4",Ge=(""+(Ge||"P")).toLowerCase();var en,sn=(""+ft).toLowerCase(),Ct={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(ot){case"pt":en=1;break;case"mm":en=72/25.4;break;case"cm":en=72/2.54;break;case"in":en=72;break;case"px":en=.75;break;case"pc":case"em":en=12;break;case"ex":en=6;break;default:throw"Invalid unit: "+ot}var Hn,In=0,Zn=0;if(Ct.hasOwnProperty(sn))In=Ct[sn][1]/en,Zn=Ct[sn][0]/en;else try{In=ft[1],Zn=ft[0]}catch(wn){throw new Error("Invalid format: "+ft)}if(Ge==="p"||Ge==="portrait")Ge="p",Zn>In&&(Hn=Zn,Zn=In,In=Hn);else{if(Ge!=="l"&&Ge!=="landscape")throw"Invalid orientation: "+Ge;Ge="l",In>Zn&&(Hn=Zn,Zn=In,In=Hn)}return{width:Zn,height:In,unit:ot,k:en,orientation:Ge}},E.html=function(Ge,ot){(ot=ot||{}).callback=ot.callback||function(){},ot.html2canvas=ot.html2canvas||{},ot.html2canvas.canvas=ot.html2canvas.canvas||this.canvas,ot.jsPDF=ot.jsPDF||this,ot.fontFaces=ot.fontFaces?ot.fontFaces.map(Mf):null;var ft=new nt(ot);return ot.worker?ft:ft.from(Ge).doCallback()}}(Ls.API),Ls.API.addJS=function(E){return Mp=E,this.internal.events.subscribe("postPutResources",function(){hA=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(hA+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),fv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Mp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){hA!==void 0&&fv!==void 0&&this.internal.out("/Names <</JavaScript "+hA+" 0 R>>")}),this},function(E){var ne;E.events.push(["postPutResources",function(){var te=this,de=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var ge=te.outline.render().split(/\r\n/),Ce=0;Ce<ge.length;Ce++){var nt=ge[Ce],Ge=de.exec(nt);if(Ge!=null){var ot=Ge[1];te.internal.newObjectDeferredBegin(ot,!1)}te.internal.write(nt)}if(this.outline.createNamedDestinations){var ft=this.internal.pages.length,Et=[];for(Ce=0;Ce<ft;Ce++){var en=te.internal.newObject();Et.push(en);var sn=te.internal.getPageInfo(Ce+1);te.internal.write("<< /D["+sn.objId+" 0 R /XYZ null null null]>> endobj")}var Ct=te.internal.newObject();for(te.internal.write("<< /Names [ "),Ce=0;Ce<Et.length;Ce++)te.internal.write("(page_"+(Ce+1)+")"+Et[Ce]+" 0 R");te.internal.write(" ] >>","endobj"),ne=te.internal.newObject(),te.internal.write("<< /Dests "+Ct+" 0 R"),te.internal.write(">>","endobj")}}]),E.events.push(["putCatalog",function(){var te=this;te.outline.root.children.length>0&&(te.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&te.internal.write("/Names "+ne+" 0 R"))}]),E.events.push(["initialized",function(){var te=this;te.outline={createNamedDestinations:!1,root:{children:[]}},te.outline.add=function(de,ge,Ce){var nt={title:ge,options:Ce,children:[]};return de==null&&(de=this.root),de.children.push(nt),nt},te.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=te,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},te.outline.genIds_r=function(de){de.id=te.internal.newObjectDeferred();for(var ge=0;ge<de.children.length;ge++)this.genIds_r(de.children[ge])},te.outline.renderRoot=function(de){this.objStart(de),this.line("/Type /Outlines"),de.children.length>0&&(this.line("/First "+this.makeRef(de.children[0])),this.line("/Last "+this.makeRef(de.children[de.children.length-1]))),this.line("/Count "+this.count_r({count:0},de)),this.objEnd()},te.outline.renderItems=function(de){for(var ge=this.ctx.pdf.internal.getVerticalCoordinateString,Ce=0;Ce<de.children.length;Ce++){var nt=de.children[Ce];this.objStart(nt),this.line("/Title "+this.makeString(nt.title)),this.line("/Parent "+this.makeRef(de)),Ce>0&&this.line("/Prev "+this.makeRef(de.children[Ce-1])),Ce<de.children.length-1&&this.line("/Next "+this.makeRef(de.children[Ce+1])),nt.children.length>0&&(this.line("/First "+this.makeRef(nt.children[0])),this.line("/Last "+this.makeRef(nt.children[nt.children.length-1])));var Ge=this.count=this.count_r({count:0},nt);if(Ge>0&&this.line("/Count "+Ge),nt.options&&nt.options.pageNumber){var ot=te.internal.getPageInfo(nt.options.pageNumber);this.line("/Dest ["+ot.objId+" 0 R /XYZ 0 "+ge(0)+" 0]")}this.objEnd()}for(var ft=0;ft<de.children.length;ft++)this.renderItems(de.children[ft])},te.outline.line=function(de){this.ctx.val+=de+`\r
`},te.outline.makeRef=function(de){return de.id+" 0 R"},te.outline.makeString=function(de){return"("+te.internal.pdfEscape(de)+")"},te.outline.objStart=function(de){this.ctx.val+=`\r
`+de.id+` 0 obj\r
<<\r
`},te.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},te.outline.count_r=function(de,ge){for(var Ce=0;Ce<ge.children.length;Ce++)de.count++,this.count_r(de,ge.children[Ce]);return de.count}}])}(Ls.API),function(E){var ne=[192,193,194,195,196,197,198,199];E.processJPEG=function(te,de,ge,Ce,nt,Ge){var ot,ft=this.decode.DCT_DECODE,Et=null;if(typeof te=="string"||this.__addimage__.isArrayBuffer(te)||this.__addimage__.isArrayBufferView(te)){switch(te=nt||te,te=this.__addimage__.isArrayBuffer(te)?new Uint8Array(te):te,ot=function(en){for(var sn,Ct=256*en.charCodeAt(4)+en.charCodeAt(5),Hn=en.length,In={width:0,height:0,numcomponents:1},Zn=4;Zn<Hn;Zn+=2){if(Zn+=Ct,ne.indexOf(en.charCodeAt(Zn+1))!==-1){sn=256*en.charCodeAt(Zn+5)+en.charCodeAt(Zn+6),In={width:256*en.charCodeAt(Zn+7)+en.charCodeAt(Zn+8),height:sn,numcomponents:en.charCodeAt(Zn+9)};break}Ct=256*en.charCodeAt(Zn+2)+en.charCodeAt(Zn+3)}return In}(te=this.__addimage__.isArrayBufferView(te)?this.__addimage__.arrayBufferToBinaryString(te):te),ot.numcomponents){case 1:Ge=this.color_spaces.DEVICE_GRAY;break;case 4:Ge=this.color_spaces.DEVICE_CMYK;break;case 3:Ge=this.color_spaces.DEVICE_RGB}Et={data:te,width:ot.width,height:ot.height,colorSpace:Ge,bitsPerComponent:8,filter:ft,index:de,alias:ge}}return Et}}(Ls.API),Ls.API.processPNG=function(E,ne,te,de){if(this.__addimage__.isArrayBuffer(E)&&(E=new Uint8Array(E)),this.__addimage__.isArrayBufferView(E)){var ge,Ce=lu(E,{checkCrc:!0}),nt=Ce.width,Ge=Ce.height,ot=Ce.channels,ft=Ce.palette,Et=Ce.depth;ge=ft&&ot===1?function(Yr){for(var sr=Yr.width,ci=Yr.height,yn=Yr.data,Gn=Yr.palette,_r=Yr.depth,Er=!1,Fi=[],zi=[],Xi=void 0,Ci=!1,Gi=0,fo=0;fo<Gn.length;fo++){var Na=(0,po.Z)(Gn[fo],4),hn=Na[0],rr=Na[1],hr=Na[2],Pr=Na[3];Fi.push(hn,rr,hr),Pr!=null&&(Pr===0?(Gi++,zi.length<1&&zi.push(fo)):Pr<255&&(Ci=!0))}if(Ci||Gi>1){Er=!0,zi=void 0;var ti=sr*ci;Xi=new Uint8Array(ti);for(var pi=new DataView(yn.buffer),Ti=0;Ti<ti;Ti++){var Ui=gg(pi,Ti,_r),ya=(0,po.Z)(Gn[Ui],4)[3];Xi[Ti]=ya}}else Gi===0&&(zi=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:Er?8:void 0,colorBytes:yn,alphaBytes:Xi,needSMask:Er,palette:Fi,mask:zi}}(Ce):ot===2||ot===4?function(Yr){for(var sr=Yr.data,ci=Yr.width,yn=Yr.height,Gn=Yr.channels,_r=Yr.depth,Er=Gn===2?"DeviceGray":"DeviceRGB",Fi=Gn-1,zi=ci*yn,Xi=Fi,Ci=zi*Xi,Gi=1*zi,fo=Math.ceil(Ci*_r/8),Na=Math.ceil(Gi*_r/8),hn=new Uint8Array(fo),rr=new Uint8Array(Na),hr=new DataView(sr.buffer),Pr=new DataView(hn.buffer),ti=new DataView(rr.buffer),pi=!1,Ti=0;Ti<zi;Ti++){for(var Ui=Ti*Gn,ya=0;ya<Xi;ya++)Ip(Pr,gg(hr,Ui+ya,_r),Ti*Xi+ya,_r);var so=gg(hr,Ui+Xi,_r);so<(1<<_r)-1&&(pi=!0),Ip(ti,so,1*Ti,_r)}return{colorSpace:Er,colorsPerPixel:Fi,sMaskBitsPerComponent:pi?_r:void 0,colorBytes:hn,alphaBytes:rr,needSMask:pi}}(Ce):function(Yr){var sr=Yr.data,ci=Yr.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:ci,colorsPerPixel:ci==="DeviceGray"?1:3,colorBytes:sr instanceof Uint16Array?function(yn){for(var Gn=yn.length,_r=new Uint8Array(2*Gn),Er=new DataView(_r.buffer,_r.byteOffset,_r.byteLength),Fi=0;Fi<Gn;Fi++)Er.setUint16(2*Fi,yn[Fi],!1);return _r}(sr):sr,needSMask:!1}}(Ce);var en,sn,Ct,Hn=ge,In=Hn.colorSpace,Zn=Hn.colorsPerPixel,wn=Hn.sMaskBitsPerComponent,Ir=Hn.colorBytes,Br=Hn.alphaBytes,ar=Hn.needSMask,wi=Hn.palette,ta=Hn.mask,Wi=null;return de!==Ls.API.image_compression.NONE&&typeof Ea=="function"?(Wi=function(Yr){var sr;switch(Yr){case Ls.API.image_compression.FAST:sr=11;break;case Ls.API.image_compression.MEDIUM:sr=13;break;case Ls.API.image_compression.SLOW:sr=14;break;default:sr=12}return sr}(de),en=this.decode.FLATE_DECODE,sn="/Predictor ".concat(Wi," /Colors ").concat(Zn," /BitsPerComponent ").concat(Et," /Columns ").concat(nt),E=pg(Ir,Math.ceil(nt*Zn*Et/8),Zn,Et,de),ar&&(Ct=pg(Br,Math.ceil(nt*wn/8),1,wn,de))):(en=void 0,sn=void 0,E=Ir,ar&&(Ct=Br)),(this.__addimage__.isArrayBuffer(E)||this.__addimage__.isArrayBufferView(E))&&(E=this.__addimage__.arrayBufferToBinaryString(E)),(Ct&&this.__addimage__.isArrayBuffer(Ct)||this.__addimage__.isArrayBufferView(Ct))&&(Ct=this.__addimage__.arrayBufferToBinaryString(Ct)),{alias:te,data:E,index:ne,filter:en,decodeParameters:sn,transparency:ta,palette:wi,sMask:Ct,predictor:Wi,width:nt,height:Ge,bitsPerComponent:Et,sMaskBitsPerComponent:wn,colorSpace:In}}},function(E){E.processGIF89A=function(ne,te,de,ge){var Ce=new Vg(ne),nt=Ce.width,Ge=Ce.height,ot=[];Ce.decodeAndBlitFrameRGBA(0,ot);var ft={data:ot,width:nt,height:Ge},Et=new Gg(100).encode(ft,100);return E.processJPEG.call(this,Et,te,de,ge)},E.processGIF87A=E.processGIF89A}(Ls.API),Wf.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var E=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(E);for(var ne=0;ne<E;ne++){var te=this.datav.getUint8(this.pos++,!0),de=this.datav.getUint8(this.pos++,!0),ge=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0);this.palette[ne]={red:ge,green:de,blue:te,quad:Ce}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Wf.prototype.parseBGR=function(){this.pos=this.offset;try{var E="bit"+this.bitPP,ne=this.width*this.height*4;this.data=new Uint8Array(ne),this[E]()}catch(te){hu.log("bit decode error:"+te)}},Wf.prototype.bit1=function(){var E,ne=Math.ceil(this.width/8),te=ne%4;for(E=this.height-1;E>=0;E--){for(var de=this.bottom_up?E:this.height-1-E,ge=0;ge<ne;ge++)for(var Ce=this.datav.getUint8(this.pos++,!0),nt=de*this.width*4+8*ge*4,Ge=0;Ge<8&&8*ge+Ge<this.width;Ge++){var ot=this.palette[Ce>>7-Ge&1];this.data[nt+4*Ge]=ot.blue,this.data[nt+4*Ge+1]=ot.green,this.data[nt+4*Ge+2]=ot.red,this.data[nt+4*Ge+3]=255}te!==0&&(this.pos+=4-te)}},Wf.prototype.bit4=function(){for(var E=Math.ceil(this.width/2),ne=E%4,te=this.height-1;te>=0;te--){for(var de=this.bottom_up?te:this.height-1-te,ge=0;ge<E;ge++){var Ce=this.datav.getUint8(this.pos++,!0),nt=de*this.width*4+2*ge*4,Ge=Ce>>4,ot=15&Ce,ft=this.palette[Ge];if(this.data[nt]=ft.blue,this.data[nt+1]=ft.green,this.data[nt+2]=ft.red,this.data[nt+3]=255,2*ge+1>=this.width)break;ft=this.palette[ot],this.data[nt+4]=ft.blue,this.data[nt+4+1]=ft.green,this.data[nt+4+2]=ft.red,this.data[nt+4+3]=255}ne!==0&&(this.pos+=4-ne)}},Wf.prototype.bit8=function(){for(var E=this.width%4,ne=this.height-1;ne>=0;ne--){for(var te=this.bottom_up?ne:this.height-1-ne,de=0;de<this.width;de++){var ge=this.datav.getUint8(this.pos++,!0),Ce=te*this.width*4+4*de;if(ge<this.palette.length){var nt=this.palette[ge];this.data[Ce]=nt.red,this.data[Ce+1]=nt.green,this.data[Ce+2]=nt.blue,this.data[Ce+3]=255}else this.data[Ce]=255,this.data[Ce+1]=255,this.data[Ce+2]=255,this.data[Ce+3]=255}E!==0&&(this.pos+=4-E)}},Wf.prototype.bit15=function(){for(var E=this.width%3,ne=parseInt("11111",2),te=this.height-1;te>=0;te--){for(var de=this.bottom_up?te:this.height-1-te,ge=0;ge<this.width;ge++){var Ce=this.datav.getUint16(this.pos,!0);this.pos+=2;var nt=(Ce&ne)/ne*255|0,Ge=(Ce>>5&ne)/ne*255|0,ot=(Ce>>10&ne)/ne*255|0,ft=Ce>>15?255:0,Et=de*this.width*4+4*ge;this.data[Et]=ot,this.data[Et+1]=Ge,this.data[Et+2]=nt,this.data[Et+3]=ft}this.pos+=E}},Wf.prototype.bit16=function(){for(var E=this.width%3,ne=parseInt("11111",2),te=parseInt("111111",2),de=this.height-1;de>=0;de--){for(var ge=this.bottom_up?de:this.height-1-de,Ce=0;Ce<this.width;Ce++){var nt=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ge=(nt&ne)/ne*255|0,ot=(nt>>5&te)/te*255|0,ft=(nt>>11)/ne*255|0,Et=ge*this.width*4+4*Ce;this.data[Et]=ft,this.data[Et+1]=ot,this.data[Et+2]=Ge,this.data[Et+3]=255}this.pos+=E}},Wf.prototype.bit24=function(){for(var E=this.height-1;E>=0;E--){for(var ne=this.bottom_up?E:this.height-1-E,te=0;te<this.width;te++){var de=this.datav.getUint8(this.pos++,!0),ge=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),nt=ne*this.width*4+4*te;this.data[nt]=Ce,this.data[nt+1]=ge,this.data[nt+2]=de,this.data[nt+3]=255}this.pos+=this.width%4}},Wf.prototype.bit32=function(){for(var E=this.height-1;E>=0;E--)for(var ne=this.bottom_up?E:this.height-1-E,te=0;te<this.width;te++){var de=this.datav.getUint8(this.pos++,!0),ge=this.datav.getUint8(this.pos++,!0),Ce=this.datav.getUint8(this.pos++,!0),nt=this.datav.getUint8(this.pos++,!0),Ge=ne*this.width*4+4*te;this.data[Ge]=Ce,this.data[Ge+1]=ge,this.data[Ge+2]=de,this.data[Ge+3]=nt}},Wf.prototype.getData=function(){return this.data},function(E){E.processBMP=function(ne,te,de,ge){var Ce=new Wf(ne,!1),nt=Ce.width,Ge=Ce.height,ot={data:Ce.getData(),width:nt,height:Ge},ft=new Gg(100).encode(ot,100);return E.processJPEG.call(this,ft,te,de,ge)}}(Ls.API),Gm.prototype.getData=function(){return this.data},function(E){E.processWEBP=function(ne,te,de,ge){var Ce=new Gm(ne),nt=Ce.width,Ge=Ce.height,ot={data:Ce.getData(),width:nt,height:Ge},ft=new Gg(100).encode(ot,100);return E.processJPEG.call(this,ft,te,de,ge)}}(Ls.API),Ls.API.processRGBA=function(E,ne,te){for(var de=E.data,ge=de.length,Ce=new Uint8Array(ge/4*3),nt=new Uint8Array(ge/4),Ge=0,ot=0,ft=0;ft<ge;ft+=4){var Et=de[ft],en=de[ft+1],sn=de[ft+2],Ct=de[ft+3];Ce[Ge++]=Et,Ce[Ge++]=en,Ce[Ge++]=sn,nt[ot++]=Ct}var Hn=this.__addimage__.arrayBufferToBinaryString(Ce);return{alpha:this.__addimage__.arrayBufferToBinaryString(nt),data:Hn,index:ne,alias:te,colorSpace:"DeviceRGB",bitsPerComponent:8,width:E.width,height:E.height}},Ls.API.setLanguage=function(E){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[E]!==void 0&&(this.internal.languageSettings.languageCode=E,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},_p=Ls.API,hg=_p.getCharWidthsArray=function(E,ne){var te,de,ge=(ne=ne||{}).font||this.internal.getFont(),Ce=ne.fontSize||this.internal.getFontSize(),nt=ne.charSpace||this.internal.getCharSpace(),Ge=ne.widths?ne.widths:ge.metadata.Unicode.widths,ot=Ge.fof?Ge.fof:1,ft=ne.kerning?ne.kerning:ge.metadata.Unicode.kerning,Et=ft.fof?ft.fof:1,en=ne.doKerning!==!1,sn=0,Ct=E.length,Hn=0,In=Ge[0]||ot,Zn=[];for(te=0;te<Ct;te++)de=E.charCodeAt(te),typeof ge.metadata.widthOfString=="function"?Zn.push((ge.metadata.widthOfGlyph(ge.metadata.characterToGlyph(de))+nt*(1e3/Ce)||0)/1e3):(sn=en&&(0,he.Z)(ft[de])==="object"&&!isNaN(parseInt(ft[de][Hn],10))?ft[de][Hn]/Et:0,Zn.push((Ge[de]||In)/ot+sn)),Hn=de;return Zn},hv=_p.getStringUnitWidth=function(E,ne){var te=(ne=ne||{}).fontSize||this.internal.getFontSize(),de=ne.font||this.internal.getFont(),ge=ne.charSpace||this.internal.getCharSpace();return _p.processArabic&&(E=_p.processArabic(E)),typeof de.metadata.widthOfString=="function"?de.metadata.widthOfString(E,te,ge)/te:hg.apply(this,arguments).reduce(function(Ce,nt){return Ce+nt},0)},Kg=function(E,ne,te,de){for(var ge=[],Ce=0,nt=E.length,Ge=0;Ce!==nt&&Ge+ne[Ce]<te;)Ge+=ne[Ce],Ce++;ge.push(E.slice(0,Ce));var ot=Ce;for(Ge=0;Ce!==nt;)Ge+ne[Ce]>de&&(ge.push(E.slice(ot,Ce)),Ge=0,ot=Ce),Ge+=ne[Ce],Ce++;return ot!==Ce&&ge.push(E.slice(ot,Ce)),ge},pv=function(E,ne,te){te||(te={});var de,ge,Ce,nt,Ge,ot,ft,Et=[],en=[Et],sn=te.textIndent||0,Ct=0,Hn=0,In=E.split(" "),Zn=hg.apply(this,[" ",te])[0];if(ot=te.lineIndent===-1?In[0].length+2:te.lineIndent||0){var wn=Array(ot).join(" "),Ir=[];In.map(function(ar){(ar=ar.split(/\s*\n/)).length>1?Ir=Ir.concat(ar.map(function(wi,ta){return(ta&&wi.length?`
`:"")+wi})):Ir.push(ar[0])}),In=Ir,ot=hv.apply(this,[wn,te])}for(Ce=0,nt=In.length;Ce<nt;Ce++){var Br=0;if(de=In[Ce],ot&&de[0]==`
`&&(de=de.substr(1),Br=1),sn+Ct+(Hn=(ge=hg.apply(this,[de,te])).reduce(function(ar,wi){return ar+wi},0))>ne||Br){if(Hn>ne){for(Ge=Kg.apply(this,[de,ge,ne-(sn+Ct),ne]),Et.push(Ge.shift()),Et=[Ge.pop()];Ge.length;)en.push([Ge.shift()]);Hn=ge.slice(de.length-(Et[0]?Et[0].length:0)).reduce(function(ar,wi){return ar+wi},0)}else Et=[de];en.push(Et),sn=Hn+ot,Ct=Zn}else Et.push(de),sn+=Ct+Hn,Ct=Zn}return ft=ot?function(ar,wi){return(wi?wn:"")+ar.join(" ")}:function(ar){return ar.join(" ")},en.map(ft)},_p.splitTextToSize=function(E,ne,te){var de,ge=(te=te||{}).fontSize||this.internal.getFontSize(),Ce=function(Et){if(Et.widths&&Et.kerning)return{widths:Et.widths,kerning:Et.kerning};var en=this.internal.getFont(Et.fontName,Et.fontStyle),sn="Unicode";return en.metadata[sn]?{widths:en.metadata[sn].widths||{0:1},kerning:en.metadata[sn].kerning||{}}:{font:en.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,te);de=Array.isArray(E)?E:String(E).split(/\r?\n/);var nt=1*this.internal.scaleFactor*ne/ge;Ce.textIndent=te.textIndent?1*te.textIndent*this.internal.scaleFactor/ge:0,Ce.lineIndent=te.lineIndent;var Ge,ot,ft=[];for(Ge=0,ot=de.length;Ge<ot;Ge++)ft=ft.concat(pv.apply(this,[de[Ge],nt,Ce]));return ft},function(E){E.__fontmetrics__=E.__fontmetrics__||{};for(var ne="0123456789abcdef",te="klmnopqrstuvwxyz",de={},ge={},Ce=0;Ce<16;Ce++)de[te[Ce]]=ne[Ce],ge[ne[Ce]]=te[Ce];var nt=function(sn){return"0x"+parseInt(sn,10).toString(16)},Ge=E.__fontmetrics__.compress=function(sn){var Ct,Hn,In,Zn,wn=["{"];for(var Ir in sn){if(Ct=sn[Ir],isNaN(parseInt(Ir,10))?Hn="'"+Ir+"'":(Ir=parseInt(Ir,10),Hn=(Hn=nt(Ir).slice(2)).slice(0,-1)+ge[Hn.slice(-1)]),typeof Ct=="number")Ct<0?(In=nt(Ct).slice(3),Zn="-"):(In=nt(Ct).slice(2),Zn=""),In=Zn+In.slice(0,-1)+ge[In.slice(-1)];else{if((0,he.Z)(Ct)!=="object")throw new Error("Don't know what to do with value type "+(0,he.Z)(Ct)+".");In=Ge(Ct)}wn.push(Hn+In)}return wn.push("}"),wn.join("")},ot=E.__fontmetrics__.uncompress=function(sn){if(typeof sn!="string")throw new Error("Invalid argument passed to uncompress.");for(var Ct,Hn,In,Zn,wn={},Ir=1,Br=wn,ar=[],wi="",ta="",Wi=sn.length-1,Yr=1;Yr<Wi;Yr+=1)(Zn=sn[Yr])=="'"?Ct?(In=Ct.join(""),Ct=void 0):Ct=[]:Ct?Ct.push(Zn):Zn=="{"?(ar.push([Br,In]),Br={},In=void 0):Zn=="}"?((Hn=ar.pop())[0][Hn[1]]=Br,In=void 0,Br=Hn[0]):Zn=="-"?Ir=-1:In===void 0?de.hasOwnProperty(Zn)?(wi+=de[Zn],In=parseInt(wi,16)*Ir,Ir=1,wi=""):wi+=Zn:de.hasOwnProperty(Zn)?(ta+=de[Zn],Br[In]=parseInt(ta,16)*Ir,Ir=1,In=void 0,ta=""):ta+=Zn;return wn},ft={codePages:["WinAnsiEncoding"],WinAnsiEncoding:ot("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Et={Unicode:{Courier:ft,"Courier-Bold":ft,"Courier-BoldOblique":ft,"Courier-Oblique":ft,Helvetica:ft,"Helvetica-Bold":ft,"Helvetica-BoldOblique":ft,"Helvetica-Oblique":ft,"Times-Roman":ft,"Times-Bold":ft,"Times-BoldItalic":ft,"Times-Italic":ft}},en={Unicode:{"Courier-Oblique":ot("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ot("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":ot("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:ot("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":ot("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":ot("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:ot("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:ot("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":ot("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:ot("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":ot("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":ot("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":ot("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":ot("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};E.events.push(["addFont",function(sn){var Ct=sn.font,Hn=en.Unicode[Ct.postScriptName];Hn&&(Ct.metadata.Unicode={},Ct.metadata.Unicode.widths=Hn.widths,Ct.metadata.Unicode.kerning=Hn.kerning);var In=Et.Unicode[Ct.postScriptName];In&&(Ct.metadata.Unicode.encoding=In,Ct.encoding=In.codePages[0])}])}(Ls.API),function(E){var ne=function(te){for(var de=te.length,ge=new Uint8Array(de),Ce=0;Ce<de;Ce++)ge[Ce]=te.charCodeAt(Ce);return ge};E.API.events.push(["addFont",function(te){var de=void 0,ge=te.font,Ce=te.instance;if(!ge.isStandardFont){if(Ce===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ge.postScriptName+"').");if(typeof(de=Ce.existsFileInVFS(ge.postScriptName)===!1?Ce.loadFile(ge.postScriptName):Ce.getFileFromVFS(ge.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ge.postScriptName+"').");(function(nt,Ge){Ge=/^\x00\x01\x00\x00/.test(Ge)?ne(Ge):ne(ba(Ge)),nt.metadata=E.API.TTFFont.open(Ge),nt.metadata.Unicode=nt.metadata.Unicode||{encoding:{},kerning:{},widths:[]},nt.metadata.glyIdsUsed=[0]})(ge,de)}}])}(Ls),Ls.API.addSvgAsImage=function(E,ne,te,de,ge,Ce,nt,Ge){if(isNaN(ne)||isNaN(te))throw hu.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(de)||isNaN(ge))throw hu.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var ot=document.createElement("canvas");ot.width=de,ot.height=ge;var ft=ot.getContext("2d");ft.fillStyle="#fff",ft.fillRect(0,0,ot.width,ot.height);var Et={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},en=this;return(Us.canvg?Promise.resolve(Us.canvg):ce.e(63754).then(ce.bind(ce,63754))).catch(function(sn){return Promise.reject(new Error("Could not load canvg: "+sn))}).then(function(sn){return sn.default?sn.default:sn}).then(function(sn){return sn.fromString(ft,E,Et)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(sn){return sn.render(Et)}).then(function(){en.addImage(ot.toDataURL("image/jpeg",1),ne,te,de,ge,nt,Ge)})},Ls.API.putTotalPages=function(E){var ne,te=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(ne=new RegExp(E,"g"),te=this.internal.getNumberOfPages()):(ne=new RegExp(this.pdfEscape16(E,this.internal.getFont()),"g"),te=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var de=1;de<=this.internal.getNumberOfPages();de++)for(var ge=0;ge<this.internal.pages[de].length;ge++)this.internal.pages[de][ge]=this.internal.pages[de][ge].replace(ne,te);return this},Ls.API.viewerPreferences=function(E,ne){var te;E=E||{},ne=ne||!1;var de,ge,Ce,nt={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Ge=Object.keys(nt),ot=[],ft=0,Et=0,en=0;function sn(Hn,In){var Zn,wn=!1;for(Zn=0;Zn<Hn.length;Zn+=1)Hn[Zn]===In&&(wn=!0);return wn}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(nt)),this.internal.viewerpreferences.isSubscribed=!1),te=this.internal.viewerpreferences.configuration,E==="reset"||ne===!0){var Ct=Ge.length;for(en=0;en<Ct;en+=1)te[Ge[en]].value=te[Ge[en]].defaultValue,te[Ge[en]].explicitSet=!1}if((0,he.Z)(E)==="object"){for(ge in E)if(Ce=E[ge],sn(Ge,ge)&&Ce!==void 0){if(te[ge].type==="boolean"&&typeof Ce=="boolean")te[ge].value=Ce;else if(te[ge].type==="name"&&sn(te[ge].valueSet,Ce))te[ge].value=Ce;else if(te[ge].type==="integer"&&Number.isInteger(Ce))te[ge].value=Ce;else if(te[ge].type==="array"){for(ft=0;ft<Ce.length;ft+=1)if(de=!0,Ce[ft].length===1&&typeof Ce[ft][0]=="number")ot.push(String(Ce[ft]-1));else if(Ce[ft].length>1){for(Et=0;Et<Ce[ft].length;Et+=1)typeof Ce[ft][Et]!="number"&&(de=!1);de===!0&&ot.push([Ce[ft][0]-1,Ce[ft][1]-1].join(" "))}te[ge].value="["+ot.join(" ")+"]"}else te[ge].value=te[ge].defaultValue;te[ge].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Hn,In=[];for(Hn in te)te[Hn].explicitSet===!0&&(te[Hn].type==="name"?In.push("/"+Hn+" /"+te[Hn].value):In.push("/"+Hn+" "+te[Hn].value));In.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+In.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=te,this},function(E){var ne=function(){var de='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',ge=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Ce=unescape(encodeURIComponent(de)),nt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Ge=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),ot=unescape(encodeURIComponent("</x:xmpmeta>")),ft=Ce.length+nt.length+Ge.length+ge.length+ot.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+ft+" >>"),this.internal.write("stream"),this.internal.write(ge+Ce+nt+Ge+ot),this.internal.write("endstream"),this.internal.write("endobj")},te=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};E.addMetadata=function(de,ge){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:de,namespaceuri:ge||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",te),this.internal.events.subscribe("postPutResources",ne)),this}}(Ls.API),function(E){var ne=E.API,te=ne.pdfEscape16=function(Ce,nt){for(var Ge,ot=nt.metadata.Unicode.widths,ft=["","0","00","000","0000"],Et=[""],en=0,sn=Ce.length;en<sn;++en){if(Ge=nt.metadata.characterToGlyph(Ce.charCodeAt(en)),nt.metadata.glyIdsUsed.push(Ge),nt.metadata.toUnicode[Ge]=Ce.charCodeAt(en),ot.indexOf(Ge)==-1&&(ot.push(Ge),ot.push([parseInt(nt.metadata.widthOfGlyph(Ge),10)])),Ge=="0")return Et.join("");Ge=Ge.toString(16),Et.push(ft[4-Ge.length],Ge)}return Et.join("")},de=function(Ce){var nt,Ge,ot,ft,Et,en,sn;for(Et=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,ot=[],en=0,sn=(Ge=Object.keys(Ce).sort(function(Ct,Hn){return Ct-Hn})).length;en<sn;en++)nt=Ge[en],ot.length>=100&&(Et+=`
`+ot.length+` beginbfchar
`+ot.join(`
`)+`
endbfchar`,ot=[]),Ce[nt]!==void 0&&Ce[nt]!==null&&typeof Ce[nt].toString=="function"&&(ft=("0000"+Ce[nt].toString(16)).slice(-4),nt=("0000"+(+nt).toString(16)).slice(-4),ot.push("<"+nt+"><"+ft+">"));return ot.length&&(Et+=`
`+ot.length+` beginbfchar
`+ot.join(`
`)+`
endbfchar
`),Et+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};ne.events.push(["putFont",function(Ce){(function(nt){var Ge=nt.font,ot=nt.out,ft=nt.newObject,Et=nt.putStream;if(Ge.metadata instanceof E.API.TTFFont&&Ge.encoding==="Identity-H"){for(var en=Ge.metadata.Unicode.widths,sn=Ge.metadata.subset.encode(Ge.metadata.glyIdsUsed,1),Ct="",Hn=0;Hn<sn.length;Hn++)Ct+=String.fromCharCode(sn[Hn]);var In=ft();Et({data:Ct,addLength1:!0,objectId:In}),ot("endobj");var Zn=ft();Et({data:de(Ge.metadata.toUnicode),addLength1:!0,objectId:Zn}),ot("endobj");var wn=ft();ot("<<"),ot("/Type /FontDescriptor"),ot("/FontName /"+RA(Ge.fontName)),ot("/FontFile2 "+In+" 0 R"),ot("/FontBBox "+E.API.PDFObject.convert(Ge.metadata.bbox)),ot("/Flags "+Ge.metadata.flags),ot("/StemV "+Ge.metadata.stemV),ot("/ItalicAngle "+Ge.metadata.italicAngle),ot("/Ascent "+Ge.metadata.ascender),ot("/Descent "+Ge.metadata.decender),ot("/CapHeight "+Ge.metadata.capHeight),ot(">>"),ot("endobj");var Ir=ft();ot("<<"),ot("/Type /Font"),ot("/BaseFont /"+RA(Ge.fontName)),ot("/FontDescriptor "+wn+" 0 R"),ot("/W "+E.API.PDFObject.convert(en)),ot("/CIDToGIDMap /Identity"),ot("/DW 1000"),ot("/Subtype /CIDFontType2"),ot("/CIDSystemInfo"),ot("<<"),ot("/Supplement 0"),ot("/Registry (Adobe)"),ot("/Ordering ("+Ge.encoding+")"),ot(">>"),ot(">>"),ot("endobj"),Ge.objectNumber=ft(),ot("<<"),ot("/Type /Font"),ot("/Subtype /Type0"),ot("/ToUnicode "+Zn+" 0 R"),ot("/BaseFont /"+RA(Ge.fontName)),ot("/Encoding /"+Ge.encoding),ot("/DescendantFonts ["+Ir+" 0 R]"),ot(">>"),ot("endobj"),Ge.isAlreadyPutted=!0}})(Ce)}]),ne.events.push(["putFont",function(Ce){(function(nt){var Ge=nt.font,ot=nt.out,ft=nt.newObject,Et=nt.putStream;if(Ge.metadata instanceof E.API.TTFFont&&Ge.encoding==="WinAnsiEncoding"){for(var en=Ge.metadata.rawData,sn="",Ct=0;Ct<en.length;Ct++)sn+=String.fromCharCode(en[Ct]);var Hn=ft();Et({data:sn,addLength1:!0,objectId:Hn}),ot("endobj");var In=ft();Et({data:de(Ge.metadata.toUnicode),addLength1:!0,objectId:In}),ot("endobj");var Zn=ft();ot("<<"),ot("/Descent "+Ge.metadata.decender),ot("/CapHeight "+Ge.metadata.capHeight),ot("/StemV "+Ge.metadata.stemV),ot("/Type /FontDescriptor"),ot("/FontFile2 "+Hn+" 0 R"),ot("/Flags 96"),ot("/FontBBox "+E.API.PDFObject.convert(Ge.metadata.bbox)),ot("/FontName /"+RA(Ge.fontName)),ot("/ItalicAngle "+Ge.metadata.italicAngle),ot("/Ascent "+Ge.metadata.ascender),ot(">>"),ot("endobj"),Ge.objectNumber=ft();for(var wn=0;wn<Ge.metadata.hmtx.widths.length;wn++)Ge.metadata.hmtx.widths[wn]=parseInt(Ge.metadata.hmtx.widths[wn]*(1e3/Ge.metadata.head.unitsPerEm));ot("<</Subtype/TrueType/Type/Font/ToUnicode "+In+" 0 R/BaseFont/"+RA(Ge.fontName)+"/FontDescriptor "+Zn+" 0 R/Encoding/"+Ge.encoding+" /FirstChar 29 /LastChar 255 /Widths "+E.API.PDFObject.convert(Ge.metadata.hmtx.widths)+">>"),ot("endobj"),Ge.isAlreadyPutted=!0}})(Ce)}]);var ge=function(Ce){var nt,Ge=Ce.text||"",ot=Ce.x,ft=Ce.y,Et=Ce.options||{},en=Ce.mutex||{},sn=en.pdfEscape,Ct=en.activeFontKey,Hn=en.fonts,In=Ct,Zn="",wn=0,Ir="",Br=Hn[In].encoding;if(Hn[In].encoding!=="Identity-H")return{text:Ge,x:ot,y:ft,options:Et,mutex:en};for(Ir=Ge,In=Ct,Array.isArray(Ge)&&(Ir=Ge[0]),wn=0;wn<Ir.length;wn+=1)Hn[In].metadata.hasOwnProperty("cmap")&&(nt=Hn[In].metadata.cmap.unicode.codeMap[Ir[wn].charCodeAt(0)]),nt||Ir[wn].charCodeAt(0)<256&&Hn[In].metadata.hasOwnProperty("Unicode")?Zn+=Ir[wn]:Zn+="";var ar="";return parseInt(In.slice(1))<14||Br==="WinAnsiEncoding"?ar=sn(Zn,In).split("").map(function(wi){return wi.charCodeAt(0).toString(16)}).join(""):Br==="Identity-H"&&(ar=te(Zn,Hn[In])),en.isHex=!0,{text:ar,x:ot,y:ft,options:Et,mutex:en}};ne.events.push(["postProcessText",function(Ce){var nt=Ce.text||"",Ge=[],ot={text:nt,x:Ce.x,y:Ce.y,options:Ce.options,mutex:Ce.mutex};if(Array.isArray(nt)){var ft=0;for(ft=0;ft<nt.length;ft+=1)Array.isArray(nt[ft])&&nt[ft].length===3?Ge.push([ge(Object.assign({},ot,{text:nt[ft][0]})).text,nt[ft][1],nt[ft][2]]):Ge.push(ge(Object.assign({},ot,{text:nt[ft]})).text);Ce.text=Ge}else Ce.text=ge(Object.assign({},ot,{text:nt})).text}])}(Ls),function(E){var ne=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};E.existsFileInVFS=function(te){return ne.call(this),this.internal.vFS[te]!==void 0},E.addFileToVFS=function(te,de){return ne.call(this),this.internal.vFS[te]=de,this},E.getFileFromVFS=function(te){return ne.call(this),this.internal.vFS[te]!==void 0?this.internal.vFS[te]:null}}(Ls.API),function(E){E.__bidiEngine__=E.prototype.__bidiEngine__=function(de){var ge,Ce,nt,Ge,ot,ft,Et,en=ne,sn=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],Ct=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],Hn={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},In={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Zn=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],wn=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Ir=!1,Br=0;this.__bidiEngine__={};var ar=function(yn){var Gn=yn.charCodeAt(),_r=Gn>>8,Er=In[_r];return Er!==void 0?en[256*Er+(255&Gn)]:_r===252||_r===253?"AL":wn.test(_r)?"L":_r===8?"R":"N"},wi=function(yn){for(var Gn,_r=0;_r<yn.length;_r++){if((Gn=ar(yn.charAt(_r)))==="L")return!1;if(Gn==="R")return!0}return!1},ta=function(yn,Gn,_r,Er){var Fi,zi,Xi,Ci,Gi=Gn[Er];switch(Gi){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ir=!1;break;case"N":case"AN":break;case"EN":Ir&&(Gi="AN");break;case"AL":Ir=!0,Gi="R";break;case"WS":case"BN":Gi="N";break;case"CS":Er<1||Er+1>=Gn.length||(Fi=_r[Er-1])!=="EN"&&Fi!=="AN"||(zi=Gn[Er+1])!=="EN"&&zi!=="AN"?Gi="N":Ir&&(zi="AN"),Gi=zi===Fi?zi:"N";break;case"ES":Gi=(Fi=Er>0?_r[Er-1]:"B")==="EN"&&Er+1<Gn.length&&Gn[Er+1]==="EN"?"EN":"N";break;case"ET":if(Er>0&&_r[Er-1]==="EN"){Gi="EN";break}if(Ir){Gi="N";break}for(Xi=Er+1,Ci=Gn.length;Xi<Ci&&Gn[Xi]==="ET";)Xi++;Gi=Xi<Ci&&Gn[Xi]==="EN"?"EN":"N";break;case"NSM":if(nt&&!Ge){for(Ci=Gn.length,Xi=Er+1;Xi<Ci&&Gn[Xi]==="NSM";)Xi++;if(Xi<Ci){var fo=yn[Er],Na=fo>=1425&&fo<=2303||fo===64286;if(Fi=Gn[Xi],Na&&(Fi==="R"||Fi==="AL")){Gi="R";break}}}Gi=Er<1||(Fi=Gn[Er-1])==="B"?"N":_r[Er-1];break;case"B":Ir=!1,ge=!0,Gi=Br;break;case"S":Ce=!0,Gi="N"}return Gi},Wi=function(yn,Gn,_r){var Er=yn.split("");return _r&&Yr(Er,_r,{hiLevel:Br}),Er.reverse(),Gn&&Gn.reverse(),Er.join("")},Yr=function(yn,Gn,_r){var Er,Fi,zi,Xi,Ci,Gi=-1,fo=yn.length,Na=0,hn=[],rr=Br?Ct:sn,hr=[];for(Ir=!1,ge=!1,Ce=!1,Fi=0;Fi<fo;Fi++)hr[Fi]=ar(yn[Fi]);for(zi=0;zi<fo;zi++){if(Ci=Na,hn[zi]=ta(yn,hr,hn,zi),Er=240&(Na=rr[Ci][Hn[hn[zi]]]),Na&=15,Gn[zi]=Xi=rr[Na][5],Er>0)if(Er===16){for(Fi=Gi;Fi<zi;Fi++)Gn[Fi]=1;Gi=-1}else Gi=-1;if(rr[Na][6])Gi===-1&&(Gi=zi);else if(Gi>-1){for(Fi=Gi;Fi<zi;Fi++)Gn[Fi]=Xi;Gi=-1}hr[zi]==="B"&&(Gn[zi]=0),_r.hiLevel|=Xi}Ce&&function(Pr,ti,pi){for(var Ti=0;Ti<pi;Ti++)if(Pr[Ti]==="S"){ti[Ti]=Br;for(var Ui=Ti-1;Ui>=0&&Pr[Ui]==="WS";Ui--)ti[Ui]=Br}}(hr,Gn,fo)},sr=function(yn,Gn,_r,Er,Fi){if(!(Fi.hiLevel<yn)){if(yn===1&&Br===1&&!ge)return Gn.reverse(),void(_r&&_r.reverse());for(var zi,Xi,Ci,Gi,fo=Gn.length,Na=0;Na<fo;){if(Er[Na]>=yn){for(Ci=Na+1;Ci<fo&&Er[Ci]>=yn;)Ci++;for(Gi=Na,Xi=Ci-1;Gi<Xi;Gi++,Xi--)zi=Gn[Gi],Gn[Gi]=Gn[Xi],Gn[Xi]=zi,_r&&(zi=_r[Gi],_r[Gi]=_r[Xi],_r[Xi]=zi);Na=Ci}Na++}}},ci=function(yn,Gn,_r){var Er=yn.split(""),Fi={hiLevel:Br};return _r||(_r=[]),Yr(Er,_r,Fi),function(zi,Xi,Ci){if(Ci.hiLevel!==0&&Et)for(var Gi,fo=0;fo<zi.length;fo++)Xi[fo]===1&&(Gi=Zn.indexOf(zi[fo]))>=0&&(zi[fo]=Zn[Gi+1])}(Er,_r,Fi),sr(2,Er,Gn,_r,Fi),sr(1,Er,Gn,_r,Fi),Er.join("")};return this.__bidiEngine__.doBidiReorder=function(yn,Gn,_r){if(function(Fi,zi){if(zi)for(var Xi=0;Xi<Fi.length;Xi++)zi[Xi]=Xi;Ge===void 0&&(Ge=wi(Fi)),ft===void 0&&(ft=wi(Fi))}(yn,Gn),nt||!ot||ft)if(nt&&ot&&Ge^ft)Br=Ge?1:0,yn=Wi(yn,Gn,_r);else if(!nt&&ot&&ft)Br=Ge?1:0,yn=ci(yn,Gn,_r),yn=Wi(yn,Gn);else if(!nt||Ge||ot||ft){if(nt&&!ot&&Ge^ft)yn=Wi(yn,Gn),Ge?(Br=0,yn=ci(yn,Gn,_r)):(Br=1,yn=ci(yn,Gn,_r),yn=Wi(yn,Gn));else if(nt&&Ge&&!ot&&ft)Br=1,yn=ci(yn,Gn,_r),yn=Wi(yn,Gn);else if(!nt&&!ot&&Ge^ft){var Er=Et;Ge?(Br=1,yn=ci(yn,Gn,_r),Br=0,Et=!1,yn=ci(yn,Gn,_r),Et=Er):(Br=0,yn=ci(yn,Gn,_r),yn=Wi(yn,Gn),Br=1,Et=!1,yn=ci(yn,Gn,_r),Et=Er,yn=Wi(yn,Gn))}}else Br=0,yn=ci(yn,Gn,_r);else Br=Ge?1:0,yn=ci(yn,Gn,_r);return yn},this.__bidiEngine__.setOptions=function(yn){yn&&(nt=yn.isInputVisual,ot=yn.isOutputVisual,Ge=yn.isInputRtl,ft=yn.isOutputRtl,Et=yn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(de),this.__bidiEngine__};var ne=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],te=new E.__bidiEngine__({isInputVisual:!0});E.API.events.push(["postProcessText",function(de){var ge=de.text;de.x,de.y;var Ce=de.options||{};de.mutex,Ce.lang;var nt=[];if(Ce.isInputVisual=typeof Ce.isInputVisual!="boolean"||Ce.isInputVisual,te.setOptions(Ce),Object.prototype.toString.call(ge)==="[object Array]"){var Ge=0;for(nt=[],Ge=0;Ge<ge.length;Ge+=1)Object.prototype.toString.call(ge[Ge])==="[object Array]"?nt.push([te.doBidiReorder(ge[Ge][0]),ge[Ge][1],ge[Ge][2]]):nt.push([te.doBidiReorder(ge[Ge])]);de.text=nt}else de.text=te.doBidiReorder(ge);te.setOptions({isInputVisual:!0})}])}(Ls),Ls.API.TTFFont=function(){function E(ne){var te;if(this.rawData=ne,te=this.contents=new dp(ne),this.contents.pos=4,te.readString(4)==="ttcf")throw new Error("TTCF not supported.");te.pos=0,this.parse(),this.subset=new Cv(this),this.registerTTF()}return E.open=function(ne){return new E(ne)},E.prototype.parse=function(){return this.directory=new Gv(this.contents),this.head=new yv(this),this.name=new yg(this),this.cmap=new vg(this),this.toUnicode={},this.hhea=new bv(this),this.maxp=new qv(this),this.hmtx=new Ad(this),this.post=new Vf(this),this.os2=new Xv(this),this.loca=new $v(this),this.glyf=new xv(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},E.prototype.registerTTF=function(){var ne,te,de,ge,Ce;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var nt,Ge,ot,ft;for(ft=[],nt=0,Ge=(ot=this.bbox).length;nt<Ge;nt++)ne=ot[nt],ft.push(Math.round(ne*this.scaleFactor));return ft}.call(this),this.stemV=0,this.post.exists?(de=255&(ge=this.post.italic_angle),32768&(te=ge>>16)&&(te=-(1+(65535^te))),this.italicAngle=+(te+"."+de)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(Ce=this.familyClass)===1||Ce===2||Ce===3||Ce===4||Ce===5||Ce===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},E.prototype.characterToGlyph=function(ne){var te;return((te=this.cmap.unicode)!=null?te.codeMap[ne]:void 0)||0},E.prototype.widthOfGlyph=function(ne){var te;return te=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(ne).advance*te},E.prototype.widthOfString=function(ne,te,de){var ge,Ce,nt,Ge;for(nt=0,Ce=0,Ge=(ne=""+ne).length;0<=Ge?Ce<Ge:Ce>Ge;Ce=0<=Ge?++Ce:--Ce)ge=ne.charCodeAt(Ce),nt+=this.widthOfGlyph(this.characterToGlyph(ge))+de*(1e3/te)||0;return nt*(te/1e3)},E.prototype.lineHeight=function(ne,te){var de;return te==null&&(te=!1),de=te?this.lineGap:0,(this.ascender+de-this.decender)/1e3*ne},E}();var sf,dp=function(){function E(ne){this.data=ne!=null?ne:[],this.pos=0,this.length=this.data.length}return E.prototype.readByte=function(){return this.data[this.pos++]},E.prototype.writeByte=function(ne){return this.data[this.pos++]=ne},E.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},E.prototype.writeUInt32=function(ne){return this.writeByte(ne>>>24&255),this.writeByte(ne>>16&255),this.writeByte(ne>>8&255),this.writeByte(255&ne)},E.prototype.readInt32=function(){var ne;return(ne=this.readUInt32())>=2147483648?ne-4294967296:ne},E.prototype.writeInt32=function(ne){return ne<0&&(ne+=4294967296),this.writeUInt32(ne)},E.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},E.prototype.writeUInt16=function(ne){return this.writeByte(ne>>8&255),this.writeByte(255&ne)},E.prototype.readInt16=function(){var ne;return(ne=this.readUInt16())>=32768?ne-65536:ne},E.prototype.writeInt16=function(ne){return ne<0&&(ne+=65536),this.writeUInt16(ne)},E.prototype.readString=function(ne){var te,de;for(de=[],te=0;0<=ne?te<ne:te>ne;te=0<=ne?++te:--te)de[te]=String.fromCharCode(this.readByte());return de.join("")},E.prototype.writeString=function(ne){var te,de,ge;for(ge=[],te=0,de=ne.length;0<=de?te<de:te>de;te=0<=de?++te:--te)ge.push(this.writeByte(ne.charCodeAt(te)));return ge},E.prototype.readShort=function(){return this.readInt16()},E.prototype.writeShort=function(ne){return this.writeInt16(ne)},E.prototype.readLongLong=function(){var ne,te,de,ge,Ce,nt,Ge,ot;return ne=this.readByte(),te=this.readByte(),de=this.readByte(),ge=this.readByte(),Ce=this.readByte(),nt=this.readByte(),Ge=this.readByte(),ot=this.readByte(),128&ne?-1*(72057594037927940*(255^ne)+281474976710656*(255^te)+1099511627776*(255^de)+4294967296*(255^ge)+16777216*(255^Ce)+65536*(255^nt)+256*(255^Ge)+(255^ot)+1):72057594037927940*ne+281474976710656*te+1099511627776*de+4294967296*ge+16777216*Ce+65536*nt+256*Ge+ot},E.prototype.writeLongLong=function(ne){var te,de;return te=Math.floor(ne/4294967296),de=4294967295&ne,this.writeByte(te>>24&255),this.writeByte(te>>16&255),this.writeByte(te>>8&255),this.writeByte(255&te),this.writeByte(de>>24&255),this.writeByte(de>>16&255),this.writeByte(de>>8&255),this.writeByte(255&de)},E.prototype.readInt=function(){return this.readInt32()},E.prototype.writeInt=function(ne){return this.writeInt32(ne)},E.prototype.read=function(ne){var te,de;for(te=[],de=0;0<=ne?de<ne:de>ne;de=0<=ne?++de:--de)te.push(this.readByte());return te},E.prototype.write=function(ne){var te,de,ge,Ce;for(Ce=[],de=0,ge=ne.length;de<ge;de++)te=ne[de],Ce.push(this.writeByte(te));return Ce},E}(),Gv=function(){var E;function ne(te){var de,ge,Ce;for(this.scalarType=te.readInt(),this.tableCount=te.readShort(),this.searchRange=te.readShort(),this.entrySelector=te.readShort(),this.rangeShift=te.readShort(),this.tables={},ge=0,Ce=this.tableCount;0<=Ce?ge<Ce:ge>Ce;ge=0<=Ce?++ge:--ge)de={tag:te.readString(4),checksum:te.readInt(),offset:te.readInt(),length:te.readInt()},this.tables[de.tag]=de}return ne.prototype.encode=function(te){var de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In;for(In in Ct=Object.keys(te).length,ot=Math.log(2),en=16*Math.floor(Math.log(Ct)/ot),nt=Math.floor(en/ot),Et=16*Ct-en,(ge=new dp).writeInt(this.scalarType),ge.writeShort(Ct),ge.writeShort(en),ge.writeShort(nt),ge.writeShort(Et),Ce=16*Ct,ft=ge.pos+Ce,Ge=null,Hn=[],te)for(sn=te[In],ge.writeString(In),ge.writeInt(E(sn)),ge.writeInt(ft),ge.writeInt(sn.length),Hn=Hn.concat(sn),In==="head"&&(Ge=ft),ft+=sn.length;ft%4;)Hn.push(0),ft++;return ge.write(Hn),de=2981146554-E(ge.data),ge.pos=Ge+8,ge.writeUInt32(de),ge.data},E=function(te){var de,ge,Ce,nt;for(te=wv.call(te);te.length%4;)te.push(0);for(Ce=new dp(te),ge=0,de=0,nt=te.length;de<nt;de=de+=4)ge+=Ce.readUInt32();return 4294967295&ge},ne}(),Yv={}.hasOwnProperty,Zf=function(E,ne){for(var te in ne)Yv.call(ne,te)&&(E[te]=ne[te]);function de(){this.constructor=E}return de.prototype=ne.prototype,E.prototype=new de,E.__super__=ne.prototype,E};sf=function(){function E(ne){var te;this.file=ne,te=this.file.directory.tables[this.tag],this.exists=!!te,te&&(this.offset=te.offset,this.length=te.length,this.parse(this.file.contents))}return E.prototype.parse=function(){},E.prototype.encode=function(){},E.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},E}();var yv=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="head",E.prototype.parse=function(ne){return ne.pos=this.offset,this.version=ne.readInt(),this.revision=ne.readInt(),this.checkSumAdjustment=ne.readInt(),this.magicNumber=ne.readInt(),this.flags=ne.readShort(),this.unitsPerEm=ne.readShort(),this.created=ne.readLongLong(),this.modified=ne.readLongLong(),this.xMin=ne.readShort(),this.yMin=ne.readShort(),this.xMax=ne.readShort(),this.yMax=ne.readShort(),this.macStyle=ne.readShort(),this.lowestRecPPEM=ne.readShort(),this.fontDirectionHint=ne.readShort(),this.indexToLocFormat=ne.readShort(),this.glyphDataFormat=ne.readShort()},E.prototype.encode=function(ne){var te;return(te=new dp).writeInt(this.version),te.writeInt(this.revision),te.writeInt(this.checkSumAdjustment),te.writeInt(this.magicNumber),te.writeShort(this.flags),te.writeShort(this.unitsPerEm),te.writeLongLong(this.created),te.writeLongLong(this.modified),te.writeShort(this.xMin),te.writeShort(this.yMin),te.writeShort(this.xMax),te.writeShort(this.yMax),te.writeShort(this.macStyle),te.writeShort(this.lowestRecPPEM),te.writeShort(this.fontDirectionHint),te.writeShort(ne),te.writeShort(this.glyphDataFormat),te.data},E}(),Yg=function(){function E(ne,te){var de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn,wn,Ir,Br;switch(this.platformID=ne.readUInt16(),this.encodingID=ne.readShort(),this.offset=te+ne.readInt(),en=ne.pos,ne.pos=this.offset,this.format=ne.readUInt16(),this.length=ne.readUInt16(),this.language=ne.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(ot=0;ot<256;++ot)this.codeMap[ot]=ne.readByte();break;case 4:for(Ct=ne.readUInt16(),sn=Ct/2,ne.pos+=6,Ce=function(){var ar,wi;for(wi=[],ot=ar=0;0<=sn?ar<sn:ar>sn;ot=0<=sn?++ar:--ar)wi.push(ne.readUInt16());return wi}(),ne.pos+=2,In=function(){var ar,wi;for(wi=[],ot=ar=0;0<=sn?ar<sn:ar>sn;ot=0<=sn?++ar:--ar)wi.push(ne.readUInt16());return wi}(),ft=function(){var ar,wi;for(wi=[],ot=ar=0;0<=sn?ar<sn:ar>sn;ot=0<=sn?++ar:--ar)wi.push(ne.readUInt16());return wi}(),Et=function(){var ar,wi;for(wi=[],ot=ar=0;0<=sn?ar<sn:ar>sn;ot=0<=sn?++ar:--ar)wi.push(ne.readUInt16());return wi}(),ge=(this.length-ne.pos+this.offset)/2,Ge=function(){var ar,wi;for(wi=[],ot=ar=0;0<=ge?ar<ge:ar>ge;ot=0<=ge?++ar:--ar)wi.push(ne.readUInt16());return wi}(),ot=wn=0,Br=Ce.length;wn<Br;ot=++wn)for(Zn=Ce[ot],de=Ir=Hn=In[ot];Hn<=Zn?Ir<=Zn:Ir>=Zn;de=Hn<=Zn?++Ir:--Ir)Et[ot]===0?nt=de+ft[ot]:(nt=Ge[Et[ot]/2+(de-Hn)-(sn-ot)]||0)!==0&&(nt+=ft[ot]),this.codeMap[de]=65535&nt}ne.pos=en}return E.encode=function(ne,te){var de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn,wn,Ir,Br,ar,wi,ta,Wi,Yr,sr,ci,yn,Gn,_r,Er,Fi,zi,Xi,Ci,Gi,fo,Na,hn,rr,hr,Pr,ti,pi,Ti,Ui,ya,so,Uo;switch(Er=new dp,nt=Object.keys(ne).sort(function(Zo,Gs){return Zo-Gs}),te){case"macroman":for(In=0,Zn=function(){var Zo=[];for(Hn=0;Hn<256;++Hn)Zo.push(0);return Zo}(),Ir={0:0},Ce={},Fi=0,Gi=nt.length;Fi<Gi;Fi++)Ir[Ui=ne[ge=nt[Fi]]]==null&&(Ir[Ui]=++In),Ce[ge]={old:ne[ge],new:Ir[ne[ge]]},Zn[ge]=Ir[ne[ge]];return Er.writeUInt16(1),Er.writeUInt16(0),Er.writeUInt32(12),Er.writeUInt16(0),Er.writeUInt16(262),Er.writeUInt16(0),Er.write(Zn),{charMap:Ce,subtable:Er.data,maxGlyphID:In+1};case"unicode":for(Gn=[],en=[],Br=0,Ir={},de={},wn=ft=null,zi=0,fo=nt.length;zi<fo;zi++)Ir[wi=ne[ge=nt[zi]]]==null&&(Ir[wi]=++Br),de[ge]={old:wi,new:Ir[wi]},Ge=Ir[wi]-ge,wn!=null&&Ge===ft||(wn&&en.push(wn),Gn.push(ge),ft=Ge),wn=ge;for(wn&&en.push(wn),en.push(65535),Gn.push(65535),ci=2*(sr=Gn.length),Yr=2*Math.pow(Math.log(sr)/Math.LN2,2),sn=Math.log(Yr/2)/Math.LN2,Wi=2*sr-Yr,ot=[],ta=[],Ct=[],Hn=Xi=0,Na=Gn.length;Xi<Na;Hn=++Xi){if(yn=Gn[Hn],Et=en[Hn],yn===65535){ot.push(0),ta.push(0);break}if(yn-(_r=de[yn].new)>=32768)for(ot.push(0),ta.push(2*(Ct.length+sr-Hn)),ge=Ci=yn;yn<=Et?Ci<=Et:Ci>=Et;ge=yn<=Et?++Ci:--Ci)Ct.push(de[ge].new);else ot.push(_r-yn),ta.push(0)}for(Er.writeUInt16(3),Er.writeUInt16(1),Er.writeUInt32(12),Er.writeUInt16(4),Er.writeUInt16(16+8*sr+2*Ct.length),Er.writeUInt16(0),Er.writeUInt16(ci),Er.writeUInt16(Yr),Er.writeUInt16(sn),Er.writeUInt16(Wi),pi=0,hn=en.length;pi<hn;pi++)ge=en[pi],Er.writeUInt16(ge);for(Er.writeUInt16(0),Ti=0,rr=Gn.length;Ti<rr;Ti++)ge=Gn[Ti],Er.writeUInt16(ge);for(ya=0,hr=ot.length;ya<hr;ya++)Ge=ot[ya],Er.writeUInt16(Ge);for(so=0,Pr=ta.length;so<Pr;so++)ar=ta[so],Er.writeUInt16(ar);for(Uo=0,ti=Ct.length;Uo<ti;Uo++)In=Ct[Uo],Er.writeUInt16(In);return{charMap:de,subtable:Er.data,maxGlyphID:Br+1}}},E}(),vg=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="cmap",E.prototype.parse=function(ne){var te,de,ge;for(ne.pos=this.offset,this.version=ne.readUInt16(),ge=ne.readUInt16(),this.tables=[],this.unicode=null,de=0;0<=ge?de<ge:de>ge;de=0<=ge?++de:--de)te=new Yg(ne,this.offset),this.tables.push(te),te.isUnicode&&this.unicode==null&&(this.unicode=te);return!0},E.encode=function(ne,te){var de,ge;return te==null&&(te="macroman"),de=Yg.encode(ne,te),(ge=new dp).writeUInt16(0),ge.writeUInt16(1),de.table=ge.data.concat(de.subtable),de},E}(),bv=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="hhea",E.prototype.parse=function(ne){return ne.pos=this.offset,this.version=ne.readInt(),this.ascender=ne.readShort(),this.decender=ne.readShort(),this.lineGap=ne.readShort(),this.advanceWidthMax=ne.readShort(),this.minLeftSideBearing=ne.readShort(),this.minRightSideBearing=ne.readShort(),this.xMaxExtent=ne.readShort(),this.caretSlopeRise=ne.readShort(),this.caretSlopeRun=ne.readShort(),this.caretOffset=ne.readShort(),ne.pos+=8,this.metricDataFormat=ne.readShort(),this.numberOfMetrics=ne.readUInt16()},E}(),Xv=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="OS/2",E.prototype.parse=function(ne){if(ne.pos=this.offset,this.version=ne.readUInt16(),this.averageCharWidth=ne.readShort(),this.weightClass=ne.readUInt16(),this.widthClass=ne.readUInt16(),this.type=ne.readShort(),this.ySubscriptXSize=ne.readShort(),this.ySubscriptYSize=ne.readShort(),this.ySubscriptXOffset=ne.readShort(),this.ySubscriptYOffset=ne.readShort(),this.ySuperscriptXSize=ne.readShort(),this.ySuperscriptYSize=ne.readShort(),this.ySuperscriptXOffset=ne.readShort(),this.ySuperscriptYOffset=ne.readShort(),this.yStrikeoutSize=ne.readShort(),this.yStrikeoutPosition=ne.readShort(),this.familyClass=ne.readShort(),this.panose=function(){var te,de;for(de=[],te=0;te<10;++te)de.push(ne.readByte());return de}(),this.charRange=function(){var te,de;for(de=[],te=0;te<4;++te)de.push(ne.readInt());return de}(),this.vendorID=ne.readString(4),this.selection=ne.readShort(),this.firstCharIndex=ne.readShort(),this.lastCharIndex=ne.readShort(),this.version>0&&(this.ascent=ne.readShort(),this.descent=ne.readShort(),this.lineGap=ne.readShort(),this.winAscent=ne.readShort(),this.winDescent=ne.readShort(),this.codePageRange=function(){var te,de;for(de=[],te=0;te<2;te=++te)de.push(ne.readInt());return de}(),this.version>1))return this.xHeight=ne.readShort(),this.capHeight=ne.readShort(),this.defaultChar=ne.readShort(),this.breakChar=ne.readShort(),this.maxContext=ne.readShort()},E}(),Vf=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="post",E.prototype.parse=function(ne){var te,de,ge;switch(ne.pos=this.offset,this.format=ne.readInt(),this.italicAngle=ne.readInt(),this.underlinePosition=ne.readShort(),this.underlineThickness=ne.readShort(),this.isFixedPitch=ne.readInt(),this.minMemType42=ne.readInt(),this.maxMemType42=ne.readInt(),this.minMemType1=ne.readInt(),this.maxMemType1=ne.readInt(),this.format){case 65536:case 196608:break;case 131072:var Ce;for(de=ne.readUInt16(),this.glyphNameIndex=[],Ce=0;0<=de?Ce<de:Ce>de;Ce=0<=de?++Ce:--Ce)this.glyphNameIndex.push(ne.readUInt16());for(this.names=[],ge=[];ne.pos<this.offset+this.length;)te=ne.readByte(),ge.push(this.names.push(ne.readString(te)));return ge;case 151552:return de=ne.readUInt16(),this.offsets=ne.read(de);case 262144:return this.map=function(){var nt,Ge,ot;for(ot=[],Ce=nt=0,Ge=this.file.maxp.numGlyphs;0<=Ge?nt<Ge:nt>Ge;Ce=0<=Ge?++nt:--nt)ot.push(ne.readUInt32());return ot}.call(this)}},E}(),Jv=function(E,ne){this.raw=E,this.length=E.length,this.platformID=ne.platformID,this.encodingID=ne.encodingID,this.languageID=ne.languageID},yg=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="name",E.prototype.parse=function(ne){var te,de,ge,Ce,nt,Ge,ot,ft,Et,en,sn;for(ne.pos=this.offset,ne.readShort(),te=ne.readShort(),Ge=ne.readShort(),de=[],Ce=0;0<=te?Ce<te:Ce>te;Ce=0<=te?++Ce:--Ce)de.push({platformID:ne.readShort(),encodingID:ne.readShort(),languageID:ne.readShort(),nameID:ne.readShort(),length:ne.readShort(),offset:this.offset+Ge+ne.readShort()});for(ot={},Ce=Et=0,en=de.length;Et<en;Ce=++Et)ge=de[Ce],ne.pos=ge.offset,ft=ne.readString(ge.length),nt=new Jv(ft,ge),ot[sn=ge.nameID]==null&&(ot[sn]=[]),ot[ge.nameID].push(nt);this.strings=ot,this.copyright=ot[0],this.fontFamily=ot[1],this.fontSubfamily=ot[2],this.uniqueSubfamily=ot[3],this.fontName=ot[4],this.version=ot[5];try{this.postscriptName=ot[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(Ct){this.postscriptName=ot[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ot[7],this.manufacturer=ot[8],this.designer=ot[9],this.description=ot[10],this.vendorUrl=ot[11],this.designerUrl=ot[12],this.license=ot[13],this.licenseUrl=ot[14],this.preferredFamily=ot[15],this.preferredSubfamily=ot[17],this.compatibleFull=ot[18],this.sampleText=ot[19]},E}(),qv=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="maxp",E.prototype.parse=function(ne){return ne.pos=this.offset,this.version=ne.readInt(),this.numGlyphs=ne.readUInt16(),this.maxPoints=ne.readUInt16(),this.maxContours=ne.readUInt16(),this.maxCompositePoints=ne.readUInt16(),this.maxComponentContours=ne.readUInt16(),this.maxZones=ne.readUInt16(),this.maxTwilightPoints=ne.readUInt16(),this.maxStorage=ne.readUInt16(),this.maxFunctionDefs=ne.readUInt16(),this.maxInstructionDefs=ne.readUInt16(),this.maxStackElements=ne.readUInt16(),this.maxSizeOfInstructions=ne.readUInt16(),this.maxComponentElements=ne.readUInt16(),this.maxComponentDepth=ne.readUInt16()},E}(),Ad=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="hmtx",E.prototype.parse=function(ne){var te,de,ge,Ce,nt,Ge,ot;for(ne.pos=this.offset,this.metrics=[],te=0,Ge=this.file.hhea.numberOfMetrics;0<=Ge?te<Ge:te>Ge;te=0<=Ge?++te:--te)this.metrics.push({advance:ne.readUInt16(),lsb:ne.readInt16()});for(ge=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var ft,Et;for(Et=[],te=ft=0;0<=ge?ft<ge:ft>ge;te=0<=ge?++ft:--ft)Et.push(ne.readInt16());return Et}(),this.widths=function(){var ft,Et,en,sn;for(sn=[],ft=0,Et=(en=this.metrics).length;ft<Et;ft++)Ce=en[ft],sn.push(Ce.advance);return sn}.call(this),de=this.widths[this.widths.length-1],ot=[],te=nt=0;0<=ge?nt<ge:nt>ge;te=0<=ge?++nt:--nt)ot.push(this.widths.push(de));return ot},E.prototype.forGlyph=function(ne){return ne in this.metrics?this.metrics[ne]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[ne-this.metrics.length]}},E}(),wv=[].slice,xv=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="glyf",E.prototype.parse=function(){return this.cache={}},E.prototype.glyphFor=function(ne){var te,de,ge,Ce,nt,Ge,ot,ft,Et,en;return ne in this.cache?this.cache[ne]:(Ce=this.file.loca,te=this.file.contents,de=Ce.indexOf(ne),(ge=Ce.lengthOf(ne))===0?this.cache[ne]=null:(te.pos=this.offset+de,nt=(Ge=new dp(te.read(ge))).readShort(),ft=Ge.readShort(),en=Ge.readShort(),ot=Ge.readShort(),Et=Ge.readShort(),this.cache[ne]=nt===-1?new bg(Ge,ft,en,ot,Et):new Lp(Ge,nt,ft,en,ot,Et),this.cache[ne]))},E.prototype.encode=function(ne,te,de){var ge,Ce,nt,Ge,ot;for(nt=[],Ce=[],Ge=0,ot=te.length;Ge<ot;Ge++)ge=ne[te[Ge]],Ce.push(nt.length),ge&&(nt=nt.concat(ge.encode(de)));return Ce.push(nt.length),{table:nt,offsets:Ce}},E}(),Lp=function(){function E(ne,te,de,ge,Ce,nt){this.raw=ne,this.numberOfContours=te,this.xMin=de,this.yMin=ge,this.xMax=Ce,this.yMax=nt,this.compound=!1}return E.prototype.encode=function(){return this.raw.data},E}(),bg=function(){function E(ne,te,de,ge,Ce){var nt,Ge;for(this.raw=ne,this.xMin=te,this.yMin=de,this.xMax=ge,this.yMax=Ce,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],nt=this.raw;Ge=nt.readShort(),this.glyphOffsets.push(nt.pos),this.glyphIDs.push(nt.readUInt16()),32&Ge;)nt.pos+=1&Ge?4:2,128&Ge?nt.pos+=8:64&Ge?nt.pos+=4:8&Ge&&(nt.pos+=2)}return E.prototype.encode=function(){var ne,te,de;for(te=new dp(wv.call(this.raw.data)),ne=0,de=this.glyphIDs.length;ne<de;++ne)te.pos=this.glyphOffsets[ne];return te.data},E}(),$v=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return Zf(E,sf),E.prototype.tag="loca",E.prototype.parse=function(ne){var te,de;return ne.pos=this.offset,te=this.file.head.indexToLocFormat,this.offsets=te===0?function(){var ge,Ce;for(Ce=[],de=0,ge=this.length;de<ge;de+=2)Ce.push(2*ne.readUInt16());return Ce}.call(this):function(){var ge,Ce;for(Ce=[],de=0,ge=this.length;de<ge;de+=4)Ce.push(ne.readUInt32());return Ce}.call(this)},E.prototype.indexOf=function(ne){return this.offsets[ne]},E.prototype.lengthOf=function(ne){return this.offsets[ne+1]-this.offsets[ne]},E.prototype.encode=function(ne,te){for(var de=new Uint32Array(this.offsets.length),ge=0,Ce=0,nt=0;nt<de.length;++nt)if(de[nt]=ge,Ce<te.length&&te[Ce]==nt){++Ce,de[nt]=ge;var Ge=this.offsets[nt],ot=this.offsets[nt+1]-Ge;ot>0&&(ge+=ot)}for(var ft=new Array(4*de.length),Et=0;Et<de.length;++Et)ft[4*Et+3]=255&de[Et],ft[4*Et+2]=(65280&de[Et])>>8,ft[4*Et+1]=(16711680&de[Et])>>16,ft[4*Et]=(4278190080&de[Et])>>24;return ft},E}(),Cv=function(){function E(ne){this.font=ne,this.subset={},this.unicodes={},this.next=33}return E.prototype.generateCmap=function(){var ne,te,de,ge,Ce;for(te in ge=this.font.cmap.tables[0].codeMap,ne={},Ce=this.subset)de=Ce[te],ne[te]=ge[de];return ne},E.prototype.glyphsFor=function(ne){var te,de,ge,Ce,nt,Ge,ot;for(ge={},nt=0,Ge=ne.length;nt<Ge;nt++)ge[Ce=ne[nt]]=this.font.glyf.glyphFor(Ce);for(Ce in te=[],ge)(de=ge[Ce])!=null&&de.compound&&te.push.apply(te,de.glyphIDs);if(te.length>0)for(Ce in ot=this.glyphsFor(te))de=ot[Ce],ge[Ce]=de;return ge},E.prototype.encode=function(ne,te){var de,ge,Ce,nt,Ge,ot,ft,Et,en,sn,Ct,Hn,In,Zn,wn;for(ge in de=vg.encode(this.generateCmap(),"unicode"),nt=this.glyphsFor(ne),Ct={0:0},wn=de.charMap)Ct[(ot=wn[ge]).old]=ot.new;for(Hn in sn=de.maxGlyphID,nt)Hn in Ct||(Ct[Hn]=sn++);return Et=function(Ir){var Br,ar;for(Br in ar={},Ir)ar[Ir[Br]]=Br;return ar}(Ct),en=Object.keys(Et).sort(function(Ir,Br){return Ir-Br}),In=function(){var Ir,Br,ar;for(ar=[],Ir=0,Br=en.length;Ir<Br;Ir++)Ge=en[Ir],ar.push(Et[Ge]);return ar}(),Ce=this.font.glyf.encode(nt,In,Ct),ft=this.font.loca.encode(Ce.offsets,In),Zn={cmap:this.font.cmap.raw(),glyf:Ce.table,loca:ft,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(te)},this.font.os2.exists&&(Zn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Zn)},E}();Ls.API.PDFObject=function(){var E;function ne(){}return E=function(te,de){return(Array(de+1).join("0")+te).slice(-de)},ne.convert=function(te){var de,ge,Ce,nt;if(Array.isArray(te))return"["+function(){var Ge,ot,ft;for(ft=[],Ge=0,ot=te.length;Ge<ot;Ge++)de=te[Ge],ft.push(ne.convert(de));return ft}().join(" ")+"]";if(typeof te=="string")return"/"+te;if(te!=null&&te.isString)return"("+te+")";if(te instanceof Date)return"(D:"+E(te.getUTCFullYear(),4)+E(te.getUTCMonth(),2)+E(te.getUTCDate(),2)+E(te.getUTCHours(),2)+E(te.getUTCMinutes(),2)+E(te.getUTCSeconds(),2)+"Z)";if({}.toString.call(te)==="[object Object]"){for(ge in Ce=["<<"],te)nt=te[ge],Ce.push("/"+ge+" "+ne.convert(nt));return Ce.push(">>"),Ce.join(`
`)}return""+te},ne}()},86129:function(Tn,Xt,ce){var he=ce(19208).lW,Me=ce(97671);(function(Ue){Tn.exports=Ue()})(function(){return function Ue(At,Ne,Le){function ve(fe,ze){if(!Ne[fe]){if(!At[fe]){var Be=void 0;if(!ze&&Be)return require(fe,!0);if(Ae)return Ae(fe,!0);var _e=new Error("Cannot find module '"+fe+"'");throw _e.code="MODULE_NOT_FOUND",_e}var Oe=Ne[fe]={exports:{}};At[fe][0].call(Oe.exports,function(He){var ke=At[fe][1][He];return ve(ke||He)},Oe,Oe.exports,Ue,At,Ne,Le)}return Ne[fe].exports}for(var Ae=void 0,we=0;we<Le.length;we++)ve(Le[we]);return ve}({1:[function(Ue,At,Ne){"use strict";var Le=Ue("./utils"),ve=Ue("./support"),Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Ne.encode=function(we){for(var fe,ze,Be,_e,Oe,He,ke,Te=[],Pe=0,Xe=we.length,Ke=Xe,qe=Le.getTypeOf(we)!=="string";Pe<we.length;)Ke=Xe-Pe,Be=qe?(fe=we[Pe++],ze=Pe<Xe?we[Pe++]:0,Pe<Xe?we[Pe++]:0):(fe=we.charCodeAt(Pe++),ze=Pe<Xe?we.charCodeAt(Pe++):0,Pe<Xe?we.charCodeAt(Pe++):0),_e=fe>>2,Oe=(3&fe)<<4|ze>>4,He=1<Ke?(15&ze)<<2|Be>>6:64,ke=2<Ke?63&Be:64,Te.push(Ae.charAt(_e)+Ae.charAt(Oe)+Ae.charAt(He)+Ae.charAt(ke));return Te.join("")},Ne.decode=function(we){var fe,ze,Be,_e,Oe,He,ke=0,Te=0,Pe="data:";if(we.substr(0,Pe.length)===Pe)throw new Error("Invalid base64 input, it looks like a data url.");var Xe,Ke=3*(we=we.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(we.charAt(we.length-1)===Ae.charAt(64)&&Ke--,we.charAt(we.length-2)===Ae.charAt(64)&&Ke--,Ke%1!=0)throw new Error("Invalid base64 input, bad content length.");for(Xe=ve.uint8array?new Uint8Array(0|Ke):new Array(0|Ke);ke<we.length;)fe=Ae.indexOf(we.charAt(ke++))<<2|(_e=Ae.indexOf(we.charAt(ke++)))>>4,ze=(15&_e)<<4|(Oe=Ae.indexOf(we.charAt(ke++)))>>2,Be=(3&Oe)<<6|(He=Ae.indexOf(we.charAt(ke++))),Xe[Te++]=fe,Oe!==64&&(Xe[Te++]=ze),He!==64&&(Xe[Te++]=Be);return Xe}},{"./support":30,"./utils":32}],2:[function(Ue,At,Ne){"use strict";var Le=Ue("./external"),ve=Ue("./stream/DataWorker"),Ae=Ue("./stream/Crc32Probe"),we=Ue("./stream/DataLengthProbe");function fe(ze,Be,_e,Oe,He){this.compressedSize=ze,this.uncompressedSize=Be,this.crc32=_e,this.compression=Oe,this.compressedContent=He}fe.prototype={getContentWorker:function(){var ze=new ve(Le.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new we("data_length")),Be=this;return ze.on("end",function(){if(this.streamInfo.data_length!==Be.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),ze},getCompressedWorker:function(){return new ve(Le.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},fe.createWorkerFrom=function(ze,Be,_e){return ze.pipe(new Ae).pipe(new we("uncompressedSize")).pipe(Be.compressWorker(_e)).pipe(new we("compressedSize")).withStreamInfo("compression",Be)},At.exports=fe},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(Ue,At,Ne){"use strict";var Le=Ue("./stream/GenericWorker");Ne.STORE={magic:"\0\0",compressWorker:function(){return new Le("STORE compression")},uncompressWorker:function(){return new Le("STORE decompression")}},Ne.DEFLATE=Ue("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(Ue,At,Ne){"use strict";var Le=Ue("./utils"),ve=function(){for(var Ae,we=[],fe=0;fe<256;fe++){Ae=fe;for(var ze=0;ze<8;ze++)Ae=1&Ae?3988292384^Ae>>>1:Ae>>>1;we[fe]=Ae}return we}();At.exports=function(Ae,we){return Ae!==void 0&&Ae.length?Le.getTypeOf(Ae)!=="string"?function(fe,ze,Be,_e){var Oe=ve,He=_e+Be;fe^=-1;for(var ke=_e;ke<He;ke++)fe=fe>>>8^Oe[255&(fe^ze[ke])];return-1^fe}(0|we,Ae,Ae.length,0):function(fe,ze,Be,_e){var Oe=ve,He=_e+Be;fe^=-1;for(var ke=_e;ke<He;ke++)fe=fe>>>8^Oe[255&(fe^ze.charCodeAt(ke))];return-1^fe}(0|we,Ae,Ae.length,0):0}},{"./utils":32}],5:[function(Ue,At,Ne){"use strict";Ne.base64=!1,Ne.binary=!1,Ne.dir=!1,Ne.createFolders=!0,Ne.date=null,Ne.compression=null,Ne.compressionOptions=null,Ne.comment=null,Ne.unixPermissions=null,Ne.dosPermissions=null},{}],6:[function(Ue,At,Ne){"use strict";var Le=null;Le=typeof Promise!="undefined"?Promise:Ue("lie"),At.exports={Promise:Le}},{lie:37}],7:[function(Ue,At,Ne){"use strict";var Le=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",ve=Ue("pako"),Ae=Ue("./utils"),we=Ue("./stream/GenericWorker"),fe=Le?"uint8array":"array";function ze(Be,_e){we.call(this,"FlateWorker/"+Be),this._pako=null,this._pakoAction=Be,this._pakoOptions=_e,this.meta={}}Ne.magic="\b\0",Ae.inherits(ze,we),ze.prototype.processChunk=function(Be){this.meta=Be.meta,this._pako===null&&this._createPako(),this._pako.push(Ae.transformTo(fe,Be.data),!1)},ze.prototype.flush=function(){we.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},ze.prototype.cleanUp=function(){we.prototype.cleanUp.call(this),this._pako=null},ze.prototype._createPako=function(){this._pako=new ve[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var Be=this;this._pako.onData=function(_e){Be.push({data:_e,meta:Be.meta})}},Ne.compressWorker=function(Be){return new ze("Deflate",Be)},Ne.uncompressWorker=function(){return new ze("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(Ue,At,Ne){"use strict";function Le(Oe,He){var ke,Te="";for(ke=0;ke<He;ke++)Te+=String.fromCharCode(255&Oe),Oe>>>=8;return Te}function ve(Oe,He,ke,Te,Pe,Xe){var Ke,qe,We=Oe.file,Ze=Oe.compression,$e=Xe!==fe.utf8encode,rt=Ae.transformTo("string",Xe(We.name)),ht=Ae.transformTo("string",fe.utf8encode(We.name)),dt=We.comment,xt=Ae.transformTo("string",Xe(dt)),Je=Ae.transformTo("string",fe.utf8encode(dt)),Lt=ht.length!==We.name.length,Re=Je.length!==dt.length,Rt="",Ft="",bt="",Tt=We.dir,wt=We.date,it={crc32:0,compressedSize:0,uncompressedSize:0};He&&!ke||(it.crc32=Oe.crc32,it.compressedSize=Oe.compressedSize,it.uncompressedSize=Oe.uncompressedSize);var je=0;He&&(je|=8),$e||!Lt&&!Re||(je|=2048);var at=0,Yt=0;Tt&&(at|=16),Pe==="UNIX"?(Yt=798,at|=function(St,Qt){var cn=St;return St||(cn=Qt?16893:33204),(65535&cn)<<16}(We.unixPermissions,Tt)):(Yt=20,at|=function(St){return 63&(St||0)}(We.dosPermissions)),Ke=wt.getUTCHours(),Ke<<=6,Ke|=wt.getUTCMinutes(),Ke<<=5,Ke|=wt.getUTCSeconds()/2,qe=wt.getUTCFullYear()-1980,qe<<=4,qe|=wt.getUTCMonth()+1,qe<<=5,qe|=wt.getUTCDate(),Lt&&(Ft=Le(1,1)+Le(ze(rt),4)+ht,Rt+="up"+Le(Ft.length,2)+Ft),Re&&(bt=Le(1,1)+Le(ze(xt),4)+Je,Rt+="uc"+Le(bt.length,2)+bt);var Vt="";return Vt+=`
\0`,Vt+=Le(je,2),Vt+=Ze.magic,Vt+=Le(Ke,2),Vt+=Le(qe,2),Vt+=Le(it.crc32,4),Vt+=Le(it.compressedSize,4),Vt+=Le(it.uncompressedSize,4),Vt+=Le(rt.length,2),Vt+=Le(Rt.length,2),{fileRecord:Be.LOCAL_FILE_HEADER+Vt+rt+Rt,dirRecord:Be.CENTRAL_FILE_HEADER+Le(Yt,2)+Vt+Le(xt.length,2)+"\0\0\0\0"+Le(at,4)+Le(Te,4)+rt+Rt+xt}}var Ae=Ue("../utils"),we=Ue("../stream/GenericWorker"),fe=Ue("../utf8"),ze=Ue("../crc32"),Be=Ue("../signature");function _e(Oe,He,ke,Te){we.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=He,this.zipPlatform=ke,this.encodeFileName=Te,this.streamFiles=Oe,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Ae.inherits(_e,we),_e.prototype.push=function(Oe){var He=Oe.meta.percent||0,ke=this.entriesCount,Te=this._sources.length;this.accumulate?this.contentBuffer.push(Oe):(this.bytesWritten+=Oe.data.length,we.prototype.push.call(this,{data:Oe.data,meta:{currentFile:this.currentFile,percent:ke?(He+100*(ke-Te-1))/ke:100}}))},_e.prototype.openedSource=function(Oe){this.currentSourceOffset=this.bytesWritten,this.currentFile=Oe.file.name;var He=this.streamFiles&&!Oe.file.dir;if(He){var ke=ve(Oe,He,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:ke.fileRecord,meta:{percent:0}})}else this.accumulate=!0},_e.prototype.closedSource=function(Oe){this.accumulate=!1;var He=this.streamFiles&&!Oe.file.dir,ke=ve(Oe,He,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(ke.dirRecord),He)this.push({data:function(Te){return Be.DATA_DESCRIPTOR+Le(Te.crc32,4)+Le(Te.compressedSize,4)+Le(Te.uncompressedSize,4)}(Oe),meta:{percent:100}});else for(this.push({data:ke.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},_e.prototype.flush=function(){for(var Oe=this.bytesWritten,He=0;He<this.dirRecords.length;He++)this.push({data:this.dirRecords[He],meta:{percent:100}});var ke=this.bytesWritten-Oe,Te=function(Pe,Xe,Ke,qe,We){var Ze=Ae.transformTo("string",We(qe));return Be.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Le(Pe,2)+Le(Pe,2)+Le(Xe,4)+Le(Ke,4)+Le(Ze.length,2)+Ze}(this.dirRecords.length,ke,Oe,this.zipComment,this.encodeFileName);this.push({data:Te,meta:{percent:100}})},_e.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},_e.prototype.registerPrevious=function(Oe){this._sources.push(Oe);var He=this;return Oe.on("data",function(ke){He.processChunk(ke)}),Oe.on("end",function(){He.closedSource(He.previous.streamInfo),He._sources.length?He.prepareNextSource():He.end()}),Oe.on("error",function(ke){He.error(ke)}),this},_e.prototype.resume=function(){return!!we.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},_e.prototype.error=function(Oe){var He=this._sources;if(!we.prototype.error.call(this,Oe))return!1;for(var ke=0;ke<He.length;ke++)try{He[ke].error(Oe)}catch(Te){}return!0},_e.prototype.lock=function(){we.prototype.lock.call(this);for(var Oe=this._sources,He=0;He<Oe.length;He++)Oe[He].lock()},At.exports=_e},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(Ue,At,Ne){"use strict";var Le=Ue("../compressions"),ve=Ue("./ZipFileWorker");Ne.generateWorker=function(Ae,we,fe){var ze=new ve(we.streamFiles,fe,we.platform,we.encodeFileName),Be=0;try{Ae.forEach(function(_e,Oe){Be++;var He=function(Xe,Ke){var qe=Xe||Ke,We=Le[qe];if(!We)throw new Error(qe+" is not a valid compression method !");return We}(Oe.options.compression,we.compression),ke=Oe.options.compressionOptions||we.compressionOptions||{},Te=Oe.dir,Pe=Oe.date;Oe._compressWorker(He,ke).withStreamInfo("file",{name:_e,dir:Te,date:Pe,comment:Oe.comment||"",unixPermissions:Oe.unixPermissions,dosPermissions:Oe.dosPermissions}).pipe(ze)}),ze.entriesCount=Be}catch(_e){ze.error(_e)}return ze}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(Ue,At,Ne){"use strict";function Le(){if(!(this instanceof Le))return new Le;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var ve=new Le;for(var Ae in this)typeof this[Ae]!="function"&&(ve[Ae]=this[Ae]);return ve}}(Le.prototype=Ue("./object")).loadAsync=Ue("./load"),Le.support=Ue("./support"),Le.defaults=Ue("./defaults"),Le.version="3.10.1",Le.loadAsync=function(ve,Ae){return new Le().loadAsync(ve,Ae)},Le.external=Ue("./external"),At.exports=Le},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(Ue,At,Ne){"use strict";var Le=Ue("./utils"),ve=Ue("./external"),Ae=Ue("./utf8"),we=Ue("./zipEntries"),fe=Ue("./stream/Crc32Probe"),ze=Ue("./nodejsUtils");function Be(_e){return new ve.Promise(function(Oe,He){var ke=_e.decompressed.getContentWorker().pipe(new fe);ke.on("error",function(Te){He(Te)}).on("end",function(){ke.streamInfo.crc32!==_e.decompressed.crc32?He(new Error("Corrupted zip : CRC32 mismatch")):Oe()}).resume()})}At.exports=function(_e,Oe){var He=this;return Oe=Le.extend(Oe||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Ae.utf8decode}),ze.isNode&&ze.isStream(_e)?ve.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Le.prepareContent("the loaded zip file",_e,!0,Oe.optimizedBinaryString,Oe.base64).then(function(ke){var Te=new we(Oe);return Te.load(ke),Te}).then(function(ke){var Te=[ve.Promise.resolve(ke)],Pe=ke.files;if(Oe.checkCRC32)for(var Xe=0;Xe<Pe.length;Xe++)Te.push(Be(Pe[Xe]));return ve.Promise.all(Te)}).then(function(ke){for(var Te=ke.shift(),Pe=Te.files,Xe=0;Xe<Pe.length;Xe++){var Ke=Pe[Xe],qe=Ke.fileNameStr,We=Le.resolve(Ke.fileNameStr);He.file(We,Ke.decompressed,{binary:!0,optimizedBinaryString:!0,date:Ke.date,dir:Ke.dir,comment:Ke.fileCommentStr.length?Ke.fileCommentStr:null,unixPermissions:Ke.unixPermissions,dosPermissions:Ke.dosPermissions,createFolders:Oe.createFolders}),Ke.dir||(He.file(We).unsafeOriginalName=qe)}return Te.zipComment.length&&(He.comment=Te.zipComment),He})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils"),ve=Ue("../stream/GenericWorker");function Ae(we,fe){ve.call(this,"Nodejs stream input adapter for "+we),this._upstreamEnded=!1,this._bindStream(fe)}Le.inherits(Ae,ve),Ae.prototype._bindStream=function(we){var fe=this;(this._stream=we).pause(),we.on("data",function(ze){fe.push({data:ze,meta:{percent:0}})}).on("error",function(ze){fe.isPaused?this.generatedError=ze:fe.error(ze)}).on("end",function(){fe.isPaused?fe._upstreamEnded=!0:fe.end()})},Ae.prototype.pause=function(){return!!ve.prototype.pause.call(this)&&(this._stream.pause(),!0)},Ae.prototype.resume=function(){return!!ve.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},At.exports=Ae},{"../stream/GenericWorker":28,"../utils":32}],13:[function(Ue,At,Ne){"use strict";var Le=Ue("readable-stream").Readable;function ve(Ae,we,fe){Le.call(this,we),this._helper=Ae;var ze=this;Ae.on("data",function(Be,_e){ze.push(Be)||ze._helper.pause(),fe&&fe(_e)}).on("error",function(Be){ze.emit("error",Be)}).on("end",function(){ze.push(null)})}Ue("../utils").inherits(ve,Le),ve.prototype._read=function(){this._helper.resume()},At.exports=ve},{"../utils":32,"readable-stream":16}],14:[function(Ue,At,Ne){"use strict";At.exports={isNode:typeof he!="undefined",newBufferFrom:function(Le,ve){if(he.from&&he.from!==Uint8Array.from)return he.from(Le,ve);if(typeof Le=="number")throw new Error('The "data" argument must not be a number');return new he(Le,ve)},allocBuffer:function(Le){if(he.alloc)return he.alloc(Le);var ve=new he(Le);return ve.fill(0),ve},isBuffer:function(Le){return he.isBuffer(Le)},isStream:function(Le){return Le&&typeof Le.on=="function"&&typeof Le.pause=="function"&&typeof Le.resume=="function"}}},{}],15:[function(Ue,At,Ne){"use strict";function Le(We,Ze,$e){var rt,ht=Ae.getTypeOf(Ze),dt=Ae.extend($e||{},ze);dt.date=dt.date||new Date,dt.compression!==null&&(dt.compression=dt.compression.toUpperCase()),typeof dt.unixPermissions=="string"&&(dt.unixPermissions=parseInt(dt.unixPermissions,8)),dt.unixPermissions&&16384&dt.unixPermissions&&(dt.dir=!0),dt.dosPermissions&&16&dt.dosPermissions&&(dt.dir=!0),dt.dir&&(We=Pe(We)),dt.createFolders&&(rt=Te(We))&&Xe.call(this,rt,!0);var xt=ht==="string"&&dt.binary===!1&&dt.base64===!1;$e&&$e.binary!==void 0||(dt.binary=!xt),(Ze instanceof Be&&Ze.uncompressedSize===0||dt.dir||!Ze||Ze.length===0)&&(dt.base64=!1,dt.binary=!0,Ze="",dt.compression="STORE",ht="string");var Je=null;Je=Ze instanceof Be||Ze instanceof we?Ze:He.isNode&&He.isStream(Ze)?new ke(We,Ze):Ae.prepareContent(We,Ze,dt.binary,dt.optimizedBinaryString,dt.base64);var Lt=new _e(We,Je,dt);this.files[We]=Lt}var ve=Ue("./utf8"),Ae=Ue("./utils"),we=Ue("./stream/GenericWorker"),fe=Ue("./stream/StreamHelper"),ze=Ue("./defaults"),Be=Ue("./compressedObject"),_e=Ue("./zipObject"),Oe=Ue("./generate"),He=Ue("./nodejsUtils"),ke=Ue("./nodejs/NodejsStreamInputAdapter"),Te=function(We){We.slice(-1)==="/"&&(We=We.substring(0,We.length-1));var Ze=We.lastIndexOf("/");return 0<Ze?We.substring(0,Ze):""},Pe=function(We){return We.slice(-1)!=="/"&&(We+="/"),We},Xe=function(We,Ze){return Ze=Ze!==void 0?Ze:ze.createFolders,We=Pe(We),this.files[We]||Le.call(this,We,null,{dir:!0,createFolders:Ze}),this.files[We]};function Ke(We){return Object.prototype.toString.call(We)==="[object RegExp]"}var qe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(We){var Ze,$e,rt;for(Ze in this.files)rt=this.files[Ze],($e=Ze.slice(this.root.length,Ze.length))&&Ze.slice(0,this.root.length)===this.root&&We($e,rt)},filter:function(We){var Ze=[];return this.forEach(function($e,rt){We($e,rt)&&Ze.push(rt)}),Ze},file:function(We,Ze,$e){if(arguments.length!==1)return We=this.root+We,Le.call(this,We,Ze,$e),this;if(Ke(We)){var rt=We;return this.filter(function(dt,xt){return!xt.dir&&rt.test(dt)})}var ht=this.files[this.root+We];return ht&&!ht.dir?ht:null},folder:function(We){if(!We)return this;if(Ke(We))return this.filter(function(ht,dt){return dt.dir&&We.test(ht)});var Ze=this.root+We,$e=Xe.call(this,Ze),rt=this.clone();return rt.root=$e.name,rt},remove:function(We){We=this.root+We;var Ze=this.files[We];if(Ze||(We.slice(-1)!=="/"&&(We+="/"),Ze=this.files[We]),Ze&&!Ze.dir)delete this.files[We];else for(var $e=this.filter(function(ht,dt){return dt.name.slice(0,We.length)===We}),rt=0;rt<$e.length;rt++)delete this.files[$e[rt].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(We){var Ze,$e={};try{if(($e=Ae.extend(We||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ve.utf8encode})).type=$e.type.toLowerCase(),$e.compression=$e.compression.toUpperCase(),$e.type==="binarystring"&&($e.type="string"),!$e.type)throw new Error("No output type specified.");Ae.checkSupport($e.type),$e.platform!=="darwin"&&$e.platform!=="freebsd"&&$e.platform!=="linux"&&$e.platform!=="sunos"||($e.platform="UNIX"),$e.platform==="win32"&&($e.platform="DOS");var rt=$e.comment||this.comment||"";Ze=Oe.generateWorker(this,$e,rt)}catch(ht){(Ze=new we("error")).error(ht)}return new fe(Ze,$e.type||"string",$e.mimeType)},generateAsync:function(We,Ze){return this.generateInternalStream(We).accumulate(Ze)},generateNodeStream:function(We,Ze){return(We=We||{}).type||(We.type="nodebuffer"),this.generateInternalStream(We).toNodejsStream(Ze)}};At.exports=qe},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(Ue,At,Ne){"use strict";At.exports=Ue("stream")},{stream:void 0}],17:[function(Ue,At,Ne){"use strict";var Le=Ue("./DataReader");function ve(Ae){Le.call(this,Ae);for(var we=0;we<this.data.length;we++)Ae[we]=255&Ae[we]}Ue("../utils").inherits(ve,Le),ve.prototype.byteAt=function(Ae){return this.data[this.zero+Ae]},ve.prototype.lastIndexOfSignature=function(Ae){for(var we=Ae.charCodeAt(0),fe=Ae.charCodeAt(1),ze=Ae.charCodeAt(2),Be=Ae.charCodeAt(3),_e=this.length-4;0<=_e;--_e)if(this.data[_e]===we&&this.data[_e+1]===fe&&this.data[_e+2]===ze&&this.data[_e+3]===Be)return _e-this.zero;return-1},ve.prototype.readAndCheckSignature=function(Ae){var we=Ae.charCodeAt(0),fe=Ae.charCodeAt(1),ze=Ae.charCodeAt(2),Be=Ae.charCodeAt(3),_e=this.readData(4);return we===_e[0]&&fe===_e[1]&&ze===_e[2]&&Be===_e[3]},ve.prototype.readData=function(Ae){if(this.checkOffset(Ae),Ae===0)return[];var we=this.data.slice(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,we},At.exports=ve},{"../utils":32,"./DataReader":18}],18:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils");function ve(Ae){this.data=Ae,this.length=Ae.length,this.index=0,this.zero=0}ve.prototype={checkOffset:function(Ae){this.checkIndex(this.index+Ae)},checkIndex:function(Ae){if(this.length<this.zero+Ae||Ae<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+Ae+"). Corrupted zip ?")},setIndex:function(Ae){this.checkIndex(Ae),this.index=Ae},skip:function(Ae){this.setIndex(this.index+Ae)},byteAt:function(){},readInt:function(Ae){var we,fe=0;for(this.checkOffset(Ae),we=this.index+Ae-1;we>=this.index;we--)fe=(fe<<8)+this.byteAt(we);return this.index+=Ae,fe},readString:function(Ae){return Le.transformTo("string",this.readData(Ae))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var Ae=this.readInt(4);return new Date(Date.UTC(1980+(Ae>>25&127),(Ae>>21&15)-1,Ae>>16&31,Ae>>11&31,Ae>>5&63,(31&Ae)<<1))}},At.exports=ve},{"../utils":32}],19:[function(Ue,At,Ne){"use strict";var Le=Ue("./Uint8ArrayReader");function ve(Ae){Le.call(this,Ae)}Ue("../utils").inherits(ve,Le),ve.prototype.readData=function(Ae){this.checkOffset(Ae);var we=this.data.slice(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,we},At.exports=ve},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(Ue,At,Ne){"use strict";var Le=Ue("./DataReader");function ve(Ae){Le.call(this,Ae)}Ue("../utils").inherits(ve,Le),ve.prototype.byteAt=function(Ae){return this.data.charCodeAt(this.zero+Ae)},ve.prototype.lastIndexOfSignature=function(Ae){return this.data.lastIndexOf(Ae)-this.zero},ve.prototype.readAndCheckSignature=function(Ae){return Ae===this.readData(4)},ve.prototype.readData=function(Ae){this.checkOffset(Ae);var we=this.data.slice(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,we},At.exports=ve},{"../utils":32,"./DataReader":18}],21:[function(Ue,At,Ne){"use strict";var Le=Ue("./ArrayReader");function ve(Ae){Le.call(this,Ae)}Ue("../utils").inherits(ve,Le),ve.prototype.readData=function(Ae){if(this.checkOffset(Ae),Ae===0)return new Uint8Array(0);var we=this.data.subarray(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,we},At.exports=ve},{"../utils":32,"./ArrayReader":17}],22:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils"),ve=Ue("../support"),Ae=Ue("./ArrayReader"),we=Ue("./StringReader"),fe=Ue("./NodeBufferReader"),ze=Ue("./Uint8ArrayReader");At.exports=function(Be){var _e=Le.getTypeOf(Be);return Le.checkSupport(_e),_e!=="string"||ve.uint8array?_e==="nodebuffer"?new fe(Be):ve.uint8array?new ze(Le.transformTo("uint8array",Be)):new Ae(Le.transformTo("array",Be)):new we(Be)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(Ue,At,Ne){"use strict";Ne.LOCAL_FILE_HEADER="PK",Ne.CENTRAL_FILE_HEADER="PK",Ne.CENTRAL_DIRECTORY_END="PK",Ne.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",Ne.ZIP64_CENTRAL_DIRECTORY_END="PK",Ne.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(Ue,At,Ne){"use strict";var Le=Ue("./GenericWorker"),ve=Ue("../utils");function Ae(we){Le.call(this,"ConvertWorker to "+we),this.destType=we}ve.inherits(Ae,Le),Ae.prototype.processChunk=function(we){this.push({data:ve.transformTo(this.destType,we.data),meta:we.meta})},At.exports=Ae},{"../utils":32,"./GenericWorker":28}],25:[function(Ue,At,Ne){"use strict";var Le=Ue("./GenericWorker"),ve=Ue("../crc32");function Ae(){Le.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Ue("../utils").inherits(Ae,Le),Ae.prototype.processChunk=function(we){this.streamInfo.crc32=ve(we.data,this.streamInfo.crc32||0),this.push(we)},At.exports=Ae},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils"),ve=Ue("./GenericWorker");function Ae(we){ve.call(this,"DataLengthProbe for "+we),this.propName=we,this.withStreamInfo(we,0)}Le.inherits(Ae,ve),Ae.prototype.processChunk=function(we){if(we){var fe=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=fe+we.data.length}ve.prototype.processChunk.call(this,we)},At.exports=Ae},{"../utils":32,"./GenericWorker":28}],27:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils"),ve=Ue("./GenericWorker");function Ae(we){ve.call(this,"DataWorker");var fe=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,we.then(function(ze){fe.dataIsReady=!0,fe.data=ze,fe.max=ze&&ze.length||0,fe.type=Le.getTypeOf(ze),fe.isPaused||fe._tickAndRepeat()},function(ze){fe.error(ze)})}Le.inherits(Ae,ve),Ae.prototype.cleanUp=function(){ve.prototype.cleanUp.call(this),this.data=null},Ae.prototype.resume=function(){return!!ve.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Le.delay(this._tickAndRepeat,[],this)),!0)},Ae.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Le.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},Ae.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var we=null,fe=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":we=this.data.substring(this.index,fe);break;case"uint8array":we=this.data.subarray(this.index,fe);break;case"array":case"nodebuffer":we=this.data.slice(this.index,fe)}return this.index=fe,this.push({data:we,meta:{percent:this.max?this.index/this.max*100:0}})},At.exports=Ae},{"../utils":32,"./GenericWorker":28}],28:[function(Ue,At,Ne){"use strict";function Le(ve){this.name=ve||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}Le.prototype={push:function(ve){this.emit("data",ve)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(ve){this.emit("error",ve)}return!0},error:function(ve){return!this.isFinished&&(this.isPaused?this.generatedError=ve:(this.isFinished=!0,this.emit("error",ve),this.previous&&this.previous.error(ve),this.cleanUp()),!0)},on:function(ve,Ae){return this._listeners[ve].push(Ae),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(ve,Ae){if(this._listeners[ve])for(var we=0;we<this._listeners[ve].length;we++)this._listeners[ve][we].call(this,Ae)},pipe:function(ve){return ve.registerPrevious(this)},registerPrevious:function(ve){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=ve.streamInfo,this.mergeStreamInfo(),this.previous=ve;var Ae=this;return ve.on("data",function(we){Ae.processChunk(we)}),ve.on("end",function(){Ae.end()}),ve.on("error",function(we){Ae.error(we)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var ve=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),ve=!0),this.previous&&this.previous.resume(),!ve},flush:function(){},processChunk:function(ve){this.push(ve)},withStreamInfo:function(ve,Ae){return this.extraStreamInfo[ve]=Ae,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var ve in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,ve)&&(this.streamInfo[ve]=this.extraStreamInfo[ve])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var ve="Worker "+this.name;return this.previous?this.previous+" -> "+ve:ve}},At.exports=Le},{}],29:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils"),ve=Ue("./ConvertWorker"),Ae=Ue("./GenericWorker"),we=Ue("../base64"),fe=Ue("../support"),ze=Ue("../external"),Be=null;if(fe.nodestream)try{Be=Ue("../nodejs/NodejsStreamOutputAdapter")}catch(He){}function _e(He,ke){return new ze.Promise(function(Te,Pe){var Xe=[],Ke=He._internalType,qe=He._outputType,We=He._mimeType;He.on("data",function(Ze,$e){Xe.push(Ze),ke&&ke($e)}).on("error",function(Ze){Xe=[],Pe(Ze)}).on("end",function(){try{var Ze=function($e,rt,ht){switch($e){case"blob":return Le.newBlob(Le.transformTo("arraybuffer",rt),ht);case"base64":return we.encode(rt);default:return Le.transformTo($e,rt)}}(qe,function($e,rt){var ht,dt=0,xt=null,Je=0;for(ht=0;ht<rt.length;ht++)Je+=rt[ht].length;switch($e){case"string":return rt.join("");case"array":return Array.prototype.concat.apply([],rt);case"uint8array":for(xt=new Uint8Array(Je),ht=0;ht<rt.length;ht++)xt.set(rt[ht],dt),dt+=rt[ht].length;return xt;case"nodebuffer":return he.concat(rt);default:throw new Error("concat : unsupported type '"+$e+"'")}}(Ke,Xe),We);Te(Ze)}catch($e){Pe($e)}Xe=[]}).resume()})}function Oe(He,ke,Te){var Pe=ke;switch(ke){case"blob":case"arraybuffer":Pe="uint8array";break;case"base64":Pe="string"}try{this._internalType=Pe,this._outputType=ke,this._mimeType=Te,Le.checkSupport(Pe),this._worker=He.pipe(new ve(Pe)),He.lock()}catch(Xe){this._worker=new Ae("error"),this._worker.error(Xe)}}Oe.prototype={accumulate:function(He){return _e(this,He)},on:function(He,ke){var Te=this;return He==="data"?this._worker.on(He,function(Pe){ke.call(Te,Pe.data,Pe.meta)}):this._worker.on(He,function(){Le.delay(ke,arguments,Te)}),this},resume:function(){return Le.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(He){if(Le.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new Be(this,{objectMode:this._outputType!=="nodebuffer"},He)}},At.exports=Oe},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(Ue,At,Ne){"use strict";if(Ne.base64=!0,Ne.array=!0,Ne.string=!0,Ne.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",Ne.nodebuffer=typeof he!="undefined",Ne.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")Ne.blob=!1;else{var Le=new ArrayBuffer(0);try{Ne.blob=new Blob([Le],{type:"application/zip"}).size===0}catch(Ae){try{var ve=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);ve.append(Le),Ne.blob=ve.getBlob("application/zip").size===0}catch(we){Ne.blob=!1}}}try{Ne.nodestream=!!Ue("readable-stream").Readable}catch(Ae){Ne.nodestream=!1}},{"readable-stream":16}],31:[function(Ue,At,Ne){"use strict";for(var Le=Ue("./utils"),ve=Ue("./support"),Ae=Ue("./nodejsUtils"),we=Ue("./stream/GenericWorker"),fe=new Array(256),ze=0;ze<256;ze++)fe[ze]=252<=ze?6:248<=ze?5:240<=ze?4:224<=ze?3:192<=ze?2:1;fe[254]=fe[254]=1;function Be(){we.call(this,"utf-8 decode"),this.leftOver=null}function _e(){we.call(this,"utf-8 encode")}Ne.utf8encode=function(Oe){return ve.nodebuffer?Ae.newBufferFrom(Oe,"utf-8"):function(He){var ke,Te,Pe,Xe,Ke,qe=He.length,We=0;for(Xe=0;Xe<qe;Xe++)(64512&(Te=He.charCodeAt(Xe)))==55296&&Xe+1<qe&&(64512&(Pe=He.charCodeAt(Xe+1)))==56320&&(Te=65536+(Te-55296<<10)+(Pe-56320),Xe++),We+=Te<128?1:Te<2048?2:Te<65536?3:4;for(ke=ve.uint8array?new Uint8Array(We):new Array(We),Xe=Ke=0;Ke<We;Xe++)(64512&(Te=He.charCodeAt(Xe)))==55296&&Xe+1<qe&&(64512&(Pe=He.charCodeAt(Xe+1)))==56320&&(Te=65536+(Te-55296<<10)+(Pe-56320),Xe++),Te<128?ke[Ke++]=Te:(Te<2048?ke[Ke++]=192|Te>>>6:(Te<65536?ke[Ke++]=224|Te>>>12:(ke[Ke++]=240|Te>>>18,ke[Ke++]=128|Te>>>12&63),ke[Ke++]=128|Te>>>6&63),ke[Ke++]=128|63&Te);return ke}(Oe)},Ne.utf8decode=function(Oe){return ve.nodebuffer?Le.transformTo("nodebuffer",Oe).toString("utf-8"):function(He){var ke,Te,Pe,Xe,Ke=He.length,qe=new Array(2*Ke);for(ke=Te=0;ke<Ke;)if((Pe=He[ke++])<128)qe[Te++]=Pe;else if(4<(Xe=fe[Pe]))qe[Te++]=65533,ke+=Xe-1;else{for(Pe&=Xe===2?31:Xe===3?15:7;1<Xe&&ke<Ke;)Pe=Pe<<6|63&He[ke++],Xe--;1<Xe?qe[Te++]=65533:Pe<65536?qe[Te++]=Pe:(Pe-=65536,qe[Te++]=55296|Pe>>10&1023,qe[Te++]=56320|1023&Pe)}return qe.length!==Te&&(qe.subarray?qe=qe.subarray(0,Te):qe.length=Te),Le.applyFromCharCode(qe)}(Oe=Le.transformTo(ve.uint8array?"uint8array":"array",Oe))},Le.inherits(Be,we),Be.prototype.processChunk=function(Oe){var He=Le.transformTo(ve.uint8array?"uint8array":"array",Oe.data);if(this.leftOver&&this.leftOver.length){if(ve.uint8array){var ke=He;(He=new Uint8Array(ke.length+this.leftOver.length)).set(this.leftOver,0),He.set(ke,this.leftOver.length)}else He=this.leftOver.concat(He);this.leftOver=null}var Te=function(Xe,Ke){var qe;for((Ke=Ke||Xe.length)>Xe.length&&(Ke=Xe.length),qe=Ke-1;0<=qe&&(192&Xe[qe])==128;)qe--;return qe<0||qe===0?Ke:qe+fe[Xe[qe]]>Ke?qe:Ke}(He),Pe=He;Te!==He.length&&(ve.uint8array?(Pe=He.subarray(0,Te),this.leftOver=He.subarray(Te,He.length)):(Pe=He.slice(0,Te),this.leftOver=He.slice(Te,He.length))),this.push({data:Ne.utf8decode(Pe),meta:Oe.meta})},Be.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Ne.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},Ne.Utf8DecodeWorker=Be,Le.inherits(_e,we),_e.prototype.processChunk=function(Oe){this.push({data:Ne.utf8encode(Oe.data),meta:Oe.meta})},Ne.Utf8EncodeWorker=_e},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(Ue,At,Ne){"use strict";var Le=Ue("./support"),ve=Ue("./base64"),Ae=Ue("./nodejsUtils"),we=Ue("./external");function fe(ke){return ke}function ze(ke,Te){for(var Pe=0;Pe<ke.length;++Pe)Te[Pe]=255&ke.charCodeAt(Pe);return Te}Ue("setimmediate"),Ne.newBlob=function(ke,Te){Ne.checkSupport("blob");try{return new Blob([ke],{type:Te})}catch(Xe){try{var Pe=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Pe.append(ke),Pe.getBlob(Te)}catch(Ke){throw new Error("Bug : can't construct the Blob.")}}};var Be={stringifyByChunk:function(ke,Te,Pe){var Xe=[],Ke=0,qe=ke.length;if(qe<=Pe)return String.fromCharCode.apply(null,ke);for(;Ke<qe;)Te==="array"||Te==="nodebuffer"?Xe.push(String.fromCharCode.apply(null,ke.slice(Ke,Math.min(Ke+Pe,qe)))):Xe.push(String.fromCharCode.apply(null,ke.subarray(Ke,Math.min(Ke+Pe,qe)))),Ke+=Pe;return Xe.join("")},stringifyByChar:function(ke){for(var Te="",Pe=0;Pe<ke.length;Pe++)Te+=String.fromCharCode(ke[Pe]);return Te},applyCanBeUsed:{uint8array:function(){try{return Le.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(ke){return!1}}(),nodebuffer:function(){try{return Le.nodebuffer&&String.fromCharCode.apply(null,Ae.allocBuffer(1)).length===1}catch(ke){return!1}}()}};function _e(ke){var Te=65536,Pe=Ne.getTypeOf(ke),Xe=!0;if(Pe==="uint8array"?Xe=Be.applyCanBeUsed.uint8array:Pe==="nodebuffer"&&(Xe=Be.applyCanBeUsed.nodebuffer),Xe)for(;1<Te;)try{return Be.stringifyByChunk(ke,Pe,Te)}catch(Ke){Te=Math.floor(Te/2)}return Be.stringifyByChar(ke)}function Oe(ke,Te){for(var Pe=0;Pe<ke.length;Pe++)Te[Pe]=ke[Pe];return Te}Ne.applyFromCharCode=_e;var He={};He.string={string:fe,array:function(ke){return ze(ke,new Array(ke.length))},arraybuffer:function(ke){return He.string.uint8array(ke).buffer},uint8array:function(ke){return ze(ke,new Uint8Array(ke.length))},nodebuffer:function(ke){return ze(ke,Ae.allocBuffer(ke.length))}},He.array={string:_e,array:fe,arraybuffer:function(ke){return new Uint8Array(ke).buffer},uint8array:function(ke){return new Uint8Array(ke)},nodebuffer:function(ke){return Ae.newBufferFrom(ke)}},He.arraybuffer={string:function(ke){return _e(new Uint8Array(ke))},array:function(ke){return Oe(new Uint8Array(ke),new Array(ke.byteLength))},arraybuffer:fe,uint8array:function(ke){return new Uint8Array(ke)},nodebuffer:function(ke){return Ae.newBufferFrom(new Uint8Array(ke))}},He.uint8array={string:_e,array:function(ke){return Oe(ke,new Array(ke.length))},arraybuffer:function(ke){return ke.buffer},uint8array:fe,nodebuffer:function(ke){return Ae.newBufferFrom(ke)}},He.nodebuffer={string:_e,array:function(ke){return Oe(ke,new Array(ke.length))},arraybuffer:function(ke){return He.nodebuffer.uint8array(ke).buffer},uint8array:function(ke){return Oe(ke,new Uint8Array(ke.length))},nodebuffer:fe},Ne.transformTo=function(ke,Te){if(Te=Te||"",!ke)return Te;Ne.checkSupport(ke);var Pe=Ne.getTypeOf(Te);return He[Pe][ke](Te)},Ne.resolve=function(ke){for(var Te=ke.split("/"),Pe=[],Xe=0;Xe<Te.length;Xe++){var Ke=Te[Xe];Ke==="."||Ke===""&&Xe!==0&&Xe!==Te.length-1||(Ke===".."?Pe.pop():Pe.push(Ke))}return Pe.join("/")},Ne.getTypeOf=function(ke){return typeof ke=="string"?"string":Object.prototype.toString.call(ke)==="[object Array]"?"array":Le.nodebuffer&&Ae.isBuffer(ke)?"nodebuffer":Le.uint8array&&ke instanceof Uint8Array?"uint8array":Le.arraybuffer&&ke instanceof ArrayBuffer?"arraybuffer":void 0},Ne.checkSupport=function(ke){if(!Le[ke.toLowerCase()])throw new Error(ke+" is not supported by this platform")},Ne.MAX_VALUE_16BITS=65535,Ne.MAX_VALUE_32BITS=-1,Ne.pretty=function(ke){var Te,Pe,Xe="";for(Pe=0;Pe<(ke||"").length;Pe++)Xe+="\\x"+((Te=ke.charCodeAt(Pe))<16?"0":"")+Te.toString(16).toUpperCase();return Xe},Ne.delay=function(ke,Te,Pe){setImmediate(function(){ke.apply(Pe||null,Te||[])})},Ne.inherits=function(ke,Te){function Pe(){}Pe.prototype=Te.prototype,ke.prototype=new Pe},Ne.extend=function(){var ke,Te,Pe={};for(ke=0;ke<arguments.length;ke++)for(Te in arguments[ke])Object.prototype.hasOwnProperty.call(arguments[ke],Te)&&Pe[Te]===void 0&&(Pe[Te]=arguments[ke][Te]);return Pe},Ne.prepareContent=function(ke,Te,Pe,Xe,Ke){return we.Promise.resolve(Te).then(function(qe){return Le.blob&&(qe instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(qe))!==-1)&&typeof FileReader!="undefined"?new we.Promise(function(We,Ze){var $e=new FileReader;$e.onload=function(rt){We(rt.target.result)},$e.onerror=function(rt){Ze(rt.target.error)},$e.readAsArrayBuffer(qe)}):qe}).then(function(qe){var We=Ne.getTypeOf(qe);return We?(We==="arraybuffer"?qe=Ne.transformTo("uint8array",qe):We==="string"&&(Ke?qe=ve.decode(qe):Pe&&Xe!==!0&&(qe=function(Ze){return ze(Ze,Le.uint8array?new Uint8Array(Ze.length):new Array(Ze.length))}(qe))),qe):we.Promise.reject(new Error("Can't read the data of '"+ke+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(Ue,At,Ne){"use strict";var Le=Ue("./reader/readerFor"),ve=Ue("./utils"),Ae=Ue("./signature"),we=Ue("./zipEntry"),fe=Ue("./support");function ze(Be){this.files=[],this.loadOptions=Be}ze.prototype={checkSignature:function(Be){if(!this.reader.readAndCheckSignature(Be)){this.reader.index-=4;var _e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ve.pretty(_e)+", expected "+ve.pretty(Be)+")")}},isSignature:function(Be,_e){var Oe=this.reader.index;this.reader.setIndex(Be);var He=this.reader.readString(4)===_e;return this.reader.setIndex(Oe),He},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var Be=this.reader.readData(this.zipCommentLength),_e=fe.uint8array?"uint8array":"array",Oe=ve.transformTo(_e,Be);this.zipComment=this.loadOptions.decodeFileName(Oe)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var Be,_e,Oe,He=this.zip64EndOfCentralSize-44;0<He;)Be=this.reader.readInt(2),_e=this.reader.readInt(4),Oe=this.reader.readData(_e),this.zip64ExtensibleData[Be]={id:Be,length:_e,value:Oe}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var Be,_e;for(Be=0;Be<this.files.length;Be++)_e=this.files[Be],this.reader.setIndex(_e.localHeaderOffset),this.checkSignature(Ae.LOCAL_FILE_HEADER),_e.readLocalPart(this.reader),_e.handleUTF8(),_e.processAttributes()},readCentralDir:function(){var Be;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Ae.CENTRAL_FILE_HEADER);)(Be=new we({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(Be);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var Be=this.reader.lastIndexOfSignature(Ae.CENTRAL_DIRECTORY_END);if(Be<0)throw this.isSignature(0,Ae.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(Be);var _e=Be;if(this.checkSignature(Ae.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ve.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ve.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ve.MAX_VALUE_16BITS||this.centralDirRecords===ve.MAX_VALUE_16BITS||this.centralDirSize===ve.MAX_VALUE_32BITS||this.centralDirOffset===ve.MAX_VALUE_32BITS){if(this.zip64=!0,(Be=this.reader.lastIndexOfSignature(Ae.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(Be),this.checkSignature(Ae.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Ae.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Ae.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Ae.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var Oe=this.centralDirOffset+this.centralDirSize;this.zip64&&(Oe+=20,Oe+=12+this.zip64EndOfCentralSize);var He=_e-Oe;if(0<He)this.isSignature(_e,Ae.CENTRAL_FILE_HEADER)||(this.reader.zero=He);else if(He<0)throw new Error("Corrupted zip: missing "+Math.abs(He)+" bytes.")},prepareReader:function(Be){this.reader=Le(Be)},load:function(Be){this.prepareReader(Be),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},At.exports=ze},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(Ue,At,Ne){"use strict";var Le=Ue("./reader/readerFor"),ve=Ue("./utils"),Ae=Ue("./compressedObject"),we=Ue("./crc32"),fe=Ue("./utf8"),ze=Ue("./compressions"),Be=Ue("./support");function _e(Oe,He){this.options=Oe,this.loadOptions=He}_e.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(Oe){var He,ke;if(Oe.skip(22),this.fileNameLength=Oe.readInt(2),ke=Oe.readInt(2),this.fileName=Oe.readData(this.fileNameLength),Oe.skip(ke),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((He=function(Te){for(var Pe in ze)if(Object.prototype.hasOwnProperty.call(ze,Pe)&&ze[Pe].magic===Te)return ze[Pe];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+ve.pretty(this.compressionMethod)+" unknown (inner file : "+ve.transformTo("string",this.fileName)+")");this.decompressed=new Ae(this.compressedSize,this.uncompressedSize,this.crc32,He,Oe.readData(this.compressedSize))},readCentralPart:function(Oe){this.versionMadeBy=Oe.readInt(2),Oe.skip(2),this.bitFlag=Oe.readInt(2),this.compressionMethod=Oe.readString(2),this.date=Oe.readDate(),this.crc32=Oe.readInt(4),this.compressedSize=Oe.readInt(4),this.uncompressedSize=Oe.readInt(4);var He=Oe.readInt(2);if(this.extraFieldsLength=Oe.readInt(2),this.fileCommentLength=Oe.readInt(2),this.diskNumberStart=Oe.readInt(2),this.internalFileAttributes=Oe.readInt(2),this.externalFileAttributes=Oe.readInt(4),this.localHeaderOffset=Oe.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");Oe.skip(He),this.readExtraFields(Oe),this.parseZIP64ExtraField(Oe),this.fileComment=Oe.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var Oe=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),Oe==0&&(this.dosPermissions=63&this.externalFileAttributes),Oe==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var Oe=Le(this.extraFields[1].value);this.uncompressedSize===ve.MAX_VALUE_32BITS&&(this.uncompressedSize=Oe.readInt(8)),this.compressedSize===ve.MAX_VALUE_32BITS&&(this.compressedSize=Oe.readInt(8)),this.localHeaderOffset===ve.MAX_VALUE_32BITS&&(this.localHeaderOffset=Oe.readInt(8)),this.diskNumberStart===ve.MAX_VALUE_32BITS&&(this.diskNumberStart=Oe.readInt(4))}},readExtraFields:function(Oe){var He,ke,Te,Pe=Oe.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});Oe.index+4<Pe;)He=Oe.readInt(2),ke=Oe.readInt(2),Te=Oe.readData(ke),this.extraFields[He]={id:He,length:ke,value:Te};Oe.setIndex(Pe)},handleUTF8:function(){var Oe=Be.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=fe.utf8decode(this.fileName),this.fileCommentStr=fe.utf8decode(this.fileComment);else{var He=this.findExtraFieldUnicodePath();if(He!==null)this.fileNameStr=He;else{var ke=ve.transformTo(Oe,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(ke)}var Te=this.findExtraFieldUnicodeComment();if(Te!==null)this.fileCommentStr=Te;else{var Pe=ve.transformTo(Oe,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Pe)}}},findExtraFieldUnicodePath:function(){var Oe=this.extraFields[28789];if(Oe){var He=Le(Oe.value);return He.readInt(1)!==1||we(this.fileName)!==He.readInt(4)?null:fe.utf8decode(He.readData(Oe.length-5))}return null},findExtraFieldUnicodeComment:function(){var Oe=this.extraFields[25461];if(Oe){var He=Le(Oe.value);return He.readInt(1)!==1||we(this.fileComment)!==He.readInt(4)?null:fe.utf8decode(He.readData(Oe.length-5))}return null}},At.exports=_e},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(Ue,At,Ne){"use strict";function Le(He,ke,Te){this.name=He,this.dir=Te.dir,this.date=Te.date,this.comment=Te.comment,this.unixPermissions=Te.unixPermissions,this.dosPermissions=Te.dosPermissions,this._data=ke,this._dataBinary=Te.binary,this.options={compression:Te.compression,compressionOptions:Te.compressionOptions}}var ve=Ue("./stream/StreamHelper"),Ae=Ue("./stream/DataWorker"),we=Ue("./utf8"),fe=Ue("./compressedObject"),ze=Ue("./stream/GenericWorker");Le.prototype={internalStream:function(He){var ke=null,Te="string";try{if(!He)throw new Error("No output type specified.");var Pe=(Te=He.toLowerCase())==="string"||Te==="text";Te!=="binarystring"&&Te!=="text"||(Te="string"),ke=this._decompressWorker();var Xe=!this._dataBinary;Xe&&!Pe&&(ke=ke.pipe(new we.Utf8EncodeWorker)),!Xe&&Pe&&(ke=ke.pipe(new we.Utf8DecodeWorker))}catch(Ke){(ke=new ze("error")).error(Ke)}return new ve(ke,Te,"")},async:function(He,ke){return this.internalStream(He).accumulate(ke)},nodeStream:function(He,ke){return this.internalStream(He||"nodebuffer").toNodejsStream(ke)},_compressWorker:function(He,ke){if(this._data instanceof fe&&this._data.compression.magic===He.magic)return this._data.getCompressedWorker();var Te=this._decompressWorker();return this._dataBinary||(Te=Te.pipe(new we.Utf8EncodeWorker)),fe.createWorkerFrom(Te,He,ke)},_decompressWorker:function(){return this._data instanceof fe?this._data.getContentWorker():this._data instanceof ze?this._data:new Ae(this._data)}};for(var Be=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],_e=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Oe=0;Oe<Be.length;Oe++)Le.prototype[Be[Oe]]=_e;At.exports=Le},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(Ue,At,Ne){(function(Le){"use strict";var ve,Ae,we=Le.MutationObserver||Le.WebKitMutationObserver;if(we){var fe=0,ze=new we(He),Be=Le.document.createTextNode("");ze.observe(Be,{characterData:!0}),ve=function(){Be.data=fe=++fe%2}}else if(Le.setImmediate||Le.MessageChannel===void 0)ve="document"in Le&&"onreadystatechange"in Le.document.createElement("script")?function(){var ke=Le.document.createElement("script");ke.onreadystatechange=function(){He(),ke.onreadystatechange=null,ke.parentNode.removeChild(ke),ke=null},Le.document.documentElement.appendChild(ke)}:function(){setTimeout(He,0)};else{var _e=new Le.MessageChannel;_e.port1.onmessage=He,ve=function(){_e.port2.postMessage(0)}}var Oe=[];function He(){var ke,Te;Ae=!0;for(var Pe=Oe.length;Pe;){for(Te=Oe,Oe=[],ke=-1;++ke<Pe;)Te[ke]();Pe=Oe.length}Ae=!1}At.exports=function(ke){Oe.push(ke)!==1||Ae||ve()}}).call(this,typeof ce.g!="undefined"?ce.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(Ue,At,Ne){"use strict";var Le=Ue("immediate");function ve(){}var Ae={},we=["REJECTED"],fe=["FULFILLED"],ze=["PENDING"];function Be(Pe){if(typeof Pe!="function")throw new TypeError("resolver must be a function");this.state=ze,this.queue=[],this.outcome=void 0,Pe!==ve&&ke(this,Pe)}function _e(Pe,Xe,Ke){this.promise=Pe,typeof Xe=="function"&&(this.onFulfilled=Xe,this.callFulfilled=this.otherCallFulfilled),typeof Ke=="function"&&(this.onRejected=Ke,this.callRejected=this.otherCallRejected)}function Oe(Pe,Xe,Ke){Le(function(){var qe;try{qe=Xe(Ke)}catch(We){return Ae.reject(Pe,We)}qe===Pe?Ae.reject(Pe,new TypeError("Cannot resolve promise with itself")):Ae.resolve(Pe,qe)})}function He(Pe){var Xe=Pe&&Pe.then;if(Pe&&(typeof Pe=="object"||typeof Pe=="function")&&typeof Xe=="function")return function(){Xe.apply(Pe,arguments)}}function ke(Pe,Xe){var Ke=!1;function qe($e){Ke||(Ke=!0,Ae.reject(Pe,$e))}function We($e){Ke||(Ke=!0,Ae.resolve(Pe,$e))}var Ze=Te(function(){Xe(We,qe)});Ze.status==="error"&&qe(Ze.value)}function Te(Pe,Xe){var Ke={};try{Ke.value=Pe(Xe),Ke.status="success"}catch(qe){Ke.status="error",Ke.value=qe}return Ke}(At.exports=Be).prototype.finally=function(Pe){if(typeof Pe!="function")return this;var Xe=this.constructor;return this.then(function(Ke){return Xe.resolve(Pe()).then(function(){return Ke})},function(Ke){return Xe.resolve(Pe()).then(function(){throw Ke})})},Be.prototype.catch=function(Pe){return this.then(null,Pe)},Be.prototype.then=function(Pe,Xe){if(typeof Pe!="function"&&this.state===fe||typeof Xe!="function"&&this.state===we)return this;var Ke=new this.constructor(ve);return this.state!==ze?Oe(Ke,this.state===fe?Pe:Xe,this.outcome):this.queue.push(new _e(Ke,Pe,Xe)),Ke},_e.prototype.callFulfilled=function(Pe){Ae.resolve(this.promise,Pe)},_e.prototype.otherCallFulfilled=function(Pe){Oe(this.promise,this.onFulfilled,Pe)},_e.prototype.callRejected=function(Pe){Ae.reject(this.promise,Pe)},_e.prototype.otherCallRejected=function(Pe){Oe(this.promise,this.onRejected,Pe)},Ae.resolve=function(Pe,Xe){var Ke=Te(He,Xe);if(Ke.status==="error")return Ae.reject(Pe,Ke.value);var qe=Ke.value;if(qe)ke(Pe,qe);else{Pe.state=fe,Pe.outcome=Xe;for(var We=-1,Ze=Pe.queue.length;++We<Ze;)Pe.queue[We].callFulfilled(Xe)}return Pe},Ae.reject=function(Pe,Xe){Pe.state=we,Pe.outcome=Xe;for(var Ke=-1,qe=Pe.queue.length;++Ke<qe;)Pe.queue[Ke].callRejected(Xe);return Pe},Be.resolve=function(Pe){return Pe instanceof this?Pe:Ae.resolve(new this(ve),Pe)},Be.reject=function(Pe){var Xe=new this(ve);return Ae.reject(Xe,Pe)},Be.all=function(Pe){var Xe=this;if(Object.prototype.toString.call(Pe)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Ke=Pe.length,qe=!1;if(!Ke)return this.resolve([]);for(var We=new Array(Ke),Ze=0,$e=-1,rt=new this(ve);++$e<Ke;)ht(Pe[$e],$e);return rt;function ht(dt,xt){Xe.resolve(dt).then(function(Je){We[xt]=Je,++Ze!==Ke||qe||(qe=!0,Ae.resolve(rt,We))},function(Je){qe||(qe=!0,Ae.reject(rt,Je))})}},Be.race=function(Pe){var Xe=this;if(Object.prototype.toString.call(Pe)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Ke=Pe.length,qe=!1;if(!Ke)return this.resolve([]);for(var We=-1,Ze=new this(ve);++We<Ke;)$e=Pe[We],Xe.resolve($e).then(function(rt){qe||(qe=!0,Ae.resolve(Ze,rt))},function(rt){qe||(qe=!0,Ae.reject(Ze,rt))});var $e;return Ze}},{immediate:36}],38:[function(Ue,At,Ne){"use strict";var Le={};(0,Ue("./lib/utils/common").assign)(Le,Ue("./lib/deflate"),Ue("./lib/inflate"),Ue("./lib/zlib/constants")),At.exports=Le},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(Ue,At,Ne){"use strict";var Le=Ue("./zlib/deflate"),ve=Ue("./utils/common"),Ae=Ue("./utils/strings"),we=Ue("./zlib/messages"),fe=Ue("./zlib/zstream"),ze=Object.prototype.toString,Be=0,_e=-1,Oe=0,He=8;function ke(Pe){if(!(this instanceof ke))return new ke(Pe);this.options=ve.assign({level:_e,method:He,chunkSize:16384,windowBits:15,memLevel:8,strategy:Oe,to:""},Pe||{});var Xe=this.options;Xe.raw&&0<Xe.windowBits?Xe.windowBits=-Xe.windowBits:Xe.gzip&&0<Xe.windowBits&&Xe.windowBits<16&&(Xe.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new fe,this.strm.avail_out=0;var Ke=Le.deflateInit2(this.strm,Xe.level,Xe.method,Xe.windowBits,Xe.memLevel,Xe.strategy);if(Ke!==Be)throw new Error(we[Ke]);if(Xe.header&&Le.deflateSetHeader(this.strm,Xe.header),Xe.dictionary){var qe;if(qe=typeof Xe.dictionary=="string"?Ae.string2buf(Xe.dictionary):ze.call(Xe.dictionary)==="[object ArrayBuffer]"?new Uint8Array(Xe.dictionary):Xe.dictionary,(Ke=Le.deflateSetDictionary(this.strm,qe))!==Be)throw new Error(we[Ke]);this._dict_set=!0}}function Te(Pe,Xe){var Ke=new ke(Xe);if(Ke.push(Pe,!0),Ke.err)throw Ke.msg||we[Ke.err];return Ke.result}ke.prototype.push=function(Pe,Xe){var Ke,qe,We=this.strm,Ze=this.options.chunkSize;if(this.ended)return!1;qe=Xe===~~Xe?Xe:Xe===!0?4:0,typeof Pe=="string"?We.input=Ae.string2buf(Pe):ze.call(Pe)==="[object ArrayBuffer]"?We.input=new Uint8Array(Pe):We.input=Pe,We.next_in=0,We.avail_in=We.input.length;do{if(We.avail_out===0&&(We.output=new ve.Buf8(Ze),We.next_out=0,We.avail_out=Ze),(Ke=Le.deflate(We,qe))!==1&&Ke!==Be)return this.onEnd(Ke),!(this.ended=!0);We.avail_out!==0&&(We.avail_in!==0||qe!==4&&qe!==2)||(this.options.to==="string"?this.onData(Ae.buf2binstring(ve.shrinkBuf(We.output,We.next_out))):this.onData(ve.shrinkBuf(We.output,We.next_out)))}while((0<We.avail_in||We.avail_out===0)&&Ke!==1);return qe===4?(Ke=Le.deflateEnd(this.strm),this.onEnd(Ke),this.ended=!0,Ke===Be):qe!==2||(this.onEnd(Be),!(We.avail_out=0))},ke.prototype.onData=function(Pe){this.chunks.push(Pe)},ke.prototype.onEnd=function(Pe){Pe===Be&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ve.flattenChunks(this.chunks)),this.chunks=[],this.err=Pe,this.msg=this.strm.msg},Ne.Deflate=ke,Ne.deflate=Te,Ne.deflateRaw=function(Pe,Xe){return(Xe=Xe||{}).raw=!0,Te(Pe,Xe)},Ne.gzip=function(Pe,Xe){return(Xe=Xe||{}).gzip=!0,Te(Pe,Xe)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(Ue,At,Ne){"use strict";var Le=Ue("./zlib/inflate"),ve=Ue("./utils/common"),Ae=Ue("./utils/strings"),we=Ue("./zlib/constants"),fe=Ue("./zlib/messages"),ze=Ue("./zlib/zstream"),Be=Ue("./zlib/gzheader"),_e=Object.prototype.toString;function Oe(ke){if(!(this instanceof Oe))return new Oe(ke);this.options=ve.assign({chunkSize:16384,windowBits:0,to:""},ke||{});var Te=this.options;Te.raw&&0<=Te.windowBits&&Te.windowBits<16&&(Te.windowBits=-Te.windowBits,Te.windowBits===0&&(Te.windowBits=-15)),!(0<=Te.windowBits&&Te.windowBits<16)||ke&&ke.windowBits||(Te.windowBits+=32),15<Te.windowBits&&Te.windowBits<48&&!(15&Te.windowBits)&&(Te.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ze,this.strm.avail_out=0;var Pe=Le.inflateInit2(this.strm,Te.windowBits);if(Pe!==we.Z_OK)throw new Error(fe[Pe]);this.header=new Be,Le.inflateGetHeader(this.strm,this.header)}function He(ke,Te){var Pe=new Oe(Te);if(Pe.push(ke,!0),Pe.err)throw Pe.msg||fe[Pe.err];return Pe.result}Oe.prototype.push=function(ke,Te){var Pe,Xe,Ke,qe,We,Ze,$e=this.strm,rt=this.options.chunkSize,ht=this.options.dictionary,dt=!1;if(this.ended)return!1;Xe=Te===~~Te?Te:Te===!0?we.Z_FINISH:we.Z_NO_FLUSH,typeof ke=="string"?$e.input=Ae.binstring2buf(ke):_e.call(ke)==="[object ArrayBuffer]"?$e.input=new Uint8Array(ke):$e.input=ke,$e.next_in=0,$e.avail_in=$e.input.length;do{if($e.avail_out===0&&($e.output=new ve.Buf8(rt),$e.next_out=0,$e.avail_out=rt),(Pe=Le.inflate($e,we.Z_NO_FLUSH))===we.Z_NEED_DICT&&ht&&(Ze=typeof ht=="string"?Ae.string2buf(ht):_e.call(ht)==="[object ArrayBuffer]"?new Uint8Array(ht):ht,Pe=Le.inflateSetDictionary(this.strm,Ze)),Pe===we.Z_BUF_ERROR&&dt===!0&&(Pe=we.Z_OK,dt=!1),Pe!==we.Z_STREAM_END&&Pe!==we.Z_OK)return this.onEnd(Pe),!(this.ended=!0);$e.next_out&&($e.avail_out!==0&&Pe!==we.Z_STREAM_END&&($e.avail_in!==0||Xe!==we.Z_FINISH&&Xe!==we.Z_SYNC_FLUSH)||(this.options.to==="string"?(Ke=Ae.utf8border($e.output,$e.next_out),qe=$e.next_out-Ke,We=Ae.buf2string($e.output,Ke),$e.next_out=qe,$e.avail_out=rt-qe,qe&&ve.arraySet($e.output,$e.output,Ke,qe,0),this.onData(We)):this.onData(ve.shrinkBuf($e.output,$e.next_out)))),$e.avail_in===0&&$e.avail_out===0&&(dt=!0)}while((0<$e.avail_in||$e.avail_out===0)&&Pe!==we.Z_STREAM_END);return Pe===we.Z_STREAM_END&&(Xe=we.Z_FINISH),Xe===we.Z_FINISH?(Pe=Le.inflateEnd(this.strm),this.onEnd(Pe),this.ended=!0,Pe===we.Z_OK):Xe!==we.Z_SYNC_FLUSH||(this.onEnd(we.Z_OK),!($e.avail_out=0))},Oe.prototype.onData=function(ke){this.chunks.push(ke)},Oe.prototype.onEnd=function(ke){ke===we.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ve.flattenChunks(this.chunks)),this.chunks=[],this.err=ke,this.msg=this.strm.msg},Ne.Inflate=Oe,Ne.inflate=He,Ne.inflateRaw=function(ke,Te){return(Te=Te||{}).raw=!0,He(ke,Te)},Ne.ungzip=He},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(Ue,At,Ne){"use strict";var Le=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";Ne.assign=function(we){for(var fe=Array.prototype.slice.call(arguments,1);fe.length;){var ze=fe.shift();if(ze){if(typeof ze!="object")throw new TypeError(ze+"must be non-object");for(var Be in ze)ze.hasOwnProperty(Be)&&(we[Be]=ze[Be])}}return we},Ne.shrinkBuf=function(we,fe){return we.length===fe?we:we.subarray?we.subarray(0,fe):(we.length=fe,we)};var ve={arraySet:function(we,fe,ze,Be,_e){if(fe.subarray&&we.subarray)we.set(fe.subarray(ze,ze+Be),_e);else for(var Oe=0;Oe<Be;Oe++)we[_e+Oe]=fe[ze+Oe]},flattenChunks:function(we){var fe,ze,Be,_e,Oe,He;for(fe=Be=0,ze=we.length;fe<ze;fe++)Be+=we[fe].length;for(He=new Uint8Array(Be),fe=_e=0,ze=we.length;fe<ze;fe++)Oe=we[fe],He.set(Oe,_e),_e+=Oe.length;return He}},Ae={arraySet:function(we,fe,ze,Be,_e){for(var Oe=0;Oe<Be;Oe++)we[_e+Oe]=fe[ze+Oe]},flattenChunks:function(we){return[].concat.apply([],we)}};Ne.setTyped=function(we){we?(Ne.Buf8=Uint8Array,Ne.Buf16=Uint16Array,Ne.Buf32=Int32Array,Ne.assign(Ne,ve)):(Ne.Buf8=Array,Ne.Buf16=Array,Ne.Buf32=Array,Ne.assign(Ne,Ae))},Ne.setTyped(Le)},{}],42:[function(Ue,At,Ne){"use strict";var Le=Ue("./common"),ve=!0,Ae=!0;try{String.fromCharCode.apply(null,[0])}catch(Be){ve=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Be){Ae=!1}for(var we=new Le.Buf8(256),fe=0;fe<256;fe++)we[fe]=252<=fe?6:248<=fe?5:240<=fe?4:224<=fe?3:192<=fe?2:1;function ze(Be,_e){if(_e<65537&&(Be.subarray&&Ae||!Be.subarray&&ve))return String.fromCharCode.apply(null,Le.shrinkBuf(Be,_e));for(var Oe="",He=0;He<_e;He++)Oe+=String.fromCharCode(Be[He]);return Oe}we[254]=we[254]=1,Ne.string2buf=function(Be){var _e,Oe,He,ke,Te,Pe=Be.length,Xe=0;for(ke=0;ke<Pe;ke++)(64512&(Oe=Be.charCodeAt(ke)))==55296&&ke+1<Pe&&(64512&(He=Be.charCodeAt(ke+1)))==56320&&(Oe=65536+(Oe-55296<<10)+(He-56320),ke++),Xe+=Oe<128?1:Oe<2048?2:Oe<65536?3:4;for(_e=new Le.Buf8(Xe),ke=Te=0;Te<Xe;ke++)(64512&(Oe=Be.charCodeAt(ke)))==55296&&ke+1<Pe&&(64512&(He=Be.charCodeAt(ke+1)))==56320&&(Oe=65536+(Oe-55296<<10)+(He-56320),ke++),Oe<128?_e[Te++]=Oe:(Oe<2048?_e[Te++]=192|Oe>>>6:(Oe<65536?_e[Te++]=224|Oe>>>12:(_e[Te++]=240|Oe>>>18,_e[Te++]=128|Oe>>>12&63),_e[Te++]=128|Oe>>>6&63),_e[Te++]=128|63&Oe);return _e},Ne.buf2binstring=function(Be){return ze(Be,Be.length)},Ne.binstring2buf=function(Be){for(var _e=new Le.Buf8(Be.length),Oe=0,He=_e.length;Oe<He;Oe++)_e[Oe]=Be.charCodeAt(Oe);return _e},Ne.buf2string=function(Be,_e){var Oe,He,ke,Te,Pe=_e||Be.length,Xe=new Array(2*Pe);for(Oe=He=0;Oe<Pe;)if((ke=Be[Oe++])<128)Xe[He++]=ke;else if(4<(Te=we[ke]))Xe[He++]=65533,Oe+=Te-1;else{for(ke&=Te===2?31:Te===3?15:7;1<Te&&Oe<Pe;)ke=ke<<6|63&Be[Oe++],Te--;1<Te?Xe[He++]=65533:ke<65536?Xe[He++]=ke:(ke-=65536,Xe[He++]=55296|ke>>10&1023,Xe[He++]=56320|1023&ke)}return ze(Xe,He)},Ne.utf8border=function(Be,_e){var Oe;for((_e=_e||Be.length)>Be.length&&(_e=Be.length),Oe=_e-1;0<=Oe&&(192&Be[Oe])==128;)Oe--;return Oe<0||Oe===0?_e:Oe+we[Be[Oe]]>_e?Oe:_e}},{"./common":41}],43:[function(Ue,At,Ne){"use strict";At.exports=function(Le,ve,Ae,we){for(var fe=65535&Le|0,ze=Le>>>16&65535|0,Be=0;Ae!==0;){for(Ae-=Be=2e3<Ae?2e3:Ae;ze=ze+(fe=fe+ve[we++]|0)|0,--Be;);fe%=65521,ze%=65521}return fe|ze<<16|0}},{}],44:[function(Ue,At,Ne){"use strict";At.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(Ue,At,Ne){"use strict";var Le=function(){for(var ve,Ae=[],we=0;we<256;we++){ve=we;for(var fe=0;fe<8;fe++)ve=1&ve?3988292384^ve>>>1:ve>>>1;Ae[we]=ve}return Ae}();At.exports=function(ve,Ae,we,fe){var ze=Le,Be=fe+we;ve^=-1;for(var _e=fe;_e<Be;_e++)ve=ve>>>8^ze[255&(ve^Ae[_e])];return-1^ve}},{}],46:[function(Ue,At,Ne){"use strict";var Le,ve=Ue("../utils/common"),Ae=Ue("./trees"),we=Ue("./adler32"),fe=Ue("./crc32"),ze=Ue("./messages"),Be=0,_e=4,Oe=0,He=-2,ke=-1,Te=4,Pe=2,Xe=8,Ke=9,qe=286,We=30,Ze=19,$e=2*qe+1,rt=15,ht=3,dt=258,xt=dt+ht+1,Je=42,Lt=113,Re=1,Rt=2,Ft=3,bt=4;function Tt(Se,Fe){return Se.msg=ze[Fe],Fe}function wt(Se){return(Se<<1)-(4<Se?9:0)}function it(Se){for(var Fe=Se.length;0<=--Fe;)Se[Fe]=0}function je(Se){var Fe=Se.state,ie=Fe.pending;ie>Se.avail_out&&(ie=Se.avail_out),ie!==0&&(ve.arraySet(Se.output,Fe.pending_buf,Fe.pending_out,ie,Se.next_out),Se.next_out+=ie,Fe.pending_out+=ie,Se.total_out+=ie,Se.avail_out-=ie,Fe.pending-=ie,Fe.pending===0&&(Fe.pending_out=0))}function at(Se,Fe){Ae._tr_flush_block(Se,0<=Se.block_start?Se.block_start:-1,Se.strstart-Se.block_start,Fe),Se.block_start=Se.strstart,je(Se.strm)}function Yt(Se,Fe){Se.pending_buf[Se.pending++]=Fe}function Vt(Se,Fe){Se.pending_buf[Se.pending++]=Fe>>>8&255,Se.pending_buf[Se.pending++]=255&Fe}function St(Se,Fe){var ie,ae,se=Se.max_chain_length,oe=Se.strstart,Ye=Se.prev_length,vt=Se.nice_match,et=Se.strstart>Se.w_size-xt?Se.strstart-(Se.w_size-xt):0,lt=Se.window,Pt=Se.w_mask,Mt=Se.prev,kt=Se.strstart+dt,$t=lt[oe+Ye-1],Sn=lt[oe+Ye];Se.prev_length>=Se.good_match&&(se>>=2),vt>Se.lookahead&&(vt=Se.lookahead);do if(lt[(ie=Fe)+Ye]===Sn&&lt[ie+Ye-1]===$t&&lt[ie]===lt[oe]&&lt[++ie]===lt[oe+1]){oe+=2,ie++;do;while(lt[++oe]===lt[++ie]&&lt[++oe]===lt[++ie]&&lt[++oe]===lt[++ie]&&lt[++oe]===lt[++ie]&&lt[++oe]===lt[++ie]&&lt[++oe]===lt[++ie]&&lt[++oe]===lt[++ie]&&lt[++oe]===lt[++ie]&&oe<kt);if(ae=dt-(kt-oe),oe=kt-dt,Ye<ae){if(Se.match_start=Fe,vt<=(Ye=ae))break;$t=lt[oe+Ye-1],Sn=lt[oe+Ye]}}while((Fe=Mt[Fe&Pt])>et&&--se!=0);return Ye<=Se.lookahead?Ye:Se.lookahead}function Qt(Se){var Fe,ie,ae,se,oe,Ye,vt,et,lt,Pt,Mt=Se.w_size;do{if(se=Se.window_size-Se.lookahead-Se.strstart,Se.strstart>=Mt+(Mt-xt)){for(ve.arraySet(Se.window,Se.window,Mt,Mt,0),Se.match_start-=Mt,Se.strstart-=Mt,Se.block_start-=Mt,Fe=ie=Se.hash_size;ae=Se.head[--Fe],Se.head[Fe]=Mt<=ae?ae-Mt:0,--ie;);for(Fe=ie=Mt;ae=Se.prev[--Fe],Se.prev[Fe]=Mt<=ae?ae-Mt:0,--ie;);se+=Mt}if(Se.strm.avail_in===0)break;if(Ye=Se.strm,vt=Se.window,et=Se.strstart+Se.lookahead,lt=se,Pt=void 0,Pt=Ye.avail_in,lt<Pt&&(Pt=lt),ie=Pt===0?0:(Ye.avail_in-=Pt,ve.arraySet(vt,Ye.input,Ye.next_in,Pt,et),Ye.state.wrap===1?Ye.adler=we(Ye.adler,vt,Pt,et):Ye.state.wrap===2&&(Ye.adler=fe(Ye.adler,vt,Pt,et)),Ye.next_in+=Pt,Ye.total_in+=Pt,Pt),Se.lookahead+=ie,Se.lookahead+Se.insert>=ht)for(oe=Se.strstart-Se.insert,Se.ins_h=Se.window[oe],Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[oe+1])&Se.hash_mask;Se.insert&&(Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[oe+ht-1])&Se.hash_mask,Se.prev[oe&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=oe,oe++,Se.insert--,!(Se.lookahead+Se.insert<ht)););}while(Se.lookahead<xt&&Se.strm.avail_in!==0)}function cn(Se,Fe){for(var ie,ae;;){if(Se.lookahead<xt){if(Qt(Se),Se.lookahead<xt&&Fe===Be)return Re;if(Se.lookahead===0)break}if(ie=0,Se.lookahead>=ht&&(Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[Se.strstart+ht-1])&Se.hash_mask,ie=Se.prev[Se.strstart&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=Se.strstart),ie!==0&&Se.strstart-ie<=Se.w_size-xt&&(Se.match_length=St(Se,ie)),Se.match_length>=ht)if(ae=Ae._tr_tally(Se,Se.strstart-Se.match_start,Se.match_length-ht),Se.lookahead-=Se.match_length,Se.match_length<=Se.max_lazy_match&&Se.lookahead>=ht){for(Se.match_length--;Se.strstart++,Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[Se.strstart+ht-1])&Se.hash_mask,ie=Se.prev[Se.strstart&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=Se.strstart,--Se.match_length!=0;);Se.strstart++}else Se.strstart+=Se.match_length,Se.match_length=0,Se.ins_h=Se.window[Se.strstart],Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[Se.strstart+1])&Se.hash_mask;else ae=Ae._tr_tally(Se,0,Se.window[Se.strstart]),Se.lookahead--,Se.strstart++;if(ae&&(at(Se,!1),Se.strm.avail_out===0))return Re}return Se.insert=Se.strstart<ht-1?Se.strstart:ht-1,Fe===_e?(at(Se,!0),Se.strm.avail_out===0?Ft:bt):Se.last_lit&&(at(Se,!1),Se.strm.avail_out===0)?Re:Rt}function Nn(Se,Fe){for(var ie,ae,se;;){if(Se.lookahead<xt){if(Qt(Se),Se.lookahead<xt&&Fe===Be)return Re;if(Se.lookahead===0)break}if(ie=0,Se.lookahead>=ht&&(Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[Se.strstart+ht-1])&Se.hash_mask,ie=Se.prev[Se.strstart&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=Se.strstart),Se.prev_length=Se.match_length,Se.prev_match=Se.match_start,Se.match_length=ht-1,ie!==0&&Se.prev_length<Se.max_lazy_match&&Se.strstart-ie<=Se.w_size-xt&&(Se.match_length=St(Se,ie),Se.match_length<=5&&(Se.strategy===1||Se.match_length===ht&&4096<Se.strstart-Se.match_start)&&(Se.match_length=ht-1)),Se.prev_length>=ht&&Se.match_length<=Se.prev_length){for(se=Se.strstart+Se.lookahead-ht,ae=Ae._tr_tally(Se,Se.strstart-1-Se.prev_match,Se.prev_length-ht),Se.lookahead-=Se.prev_length-1,Se.prev_length-=2;++Se.strstart<=se&&(Se.ins_h=(Se.ins_h<<Se.hash_shift^Se.window[Se.strstart+ht-1])&Se.hash_mask,ie=Se.prev[Se.strstart&Se.w_mask]=Se.head[Se.ins_h],Se.head[Se.ins_h]=Se.strstart),--Se.prev_length!=0;);if(Se.match_available=0,Se.match_length=ht-1,Se.strstart++,ae&&(at(Se,!1),Se.strm.avail_out===0))return Re}else if(Se.match_available){if((ae=Ae._tr_tally(Se,0,Se.window[Se.strstart-1]))&&at(Se,!1),Se.strstart++,Se.lookahead--,Se.strm.avail_out===0)return Re}else Se.match_available=1,Se.strstart++,Se.lookahead--}return Se.match_available&&(ae=Ae._tr_tally(Se,0,Se.window[Se.strstart-1]),Se.match_available=0),Se.insert=Se.strstart<ht-1?Se.strstart:ht-1,Fe===_e?(at(Se,!0),Se.strm.avail_out===0?Ft:bt):Se.last_lit&&(at(Se,!1),Se.strm.avail_out===0)?Re:Rt}function fn(Se,Fe,ie,ae,se){this.good_length=Se,this.max_lazy=Fe,this.nice_length=ie,this.max_chain=ae,this.func=se}function Ln(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Xe,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ve.Buf16(2*$e),this.dyn_dtree=new ve.Buf16(2*(2*We+1)),this.bl_tree=new ve.Buf16(2*(2*Ze+1)),it(this.dyn_ltree),it(this.dyn_dtree),it(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ve.Buf16(rt+1),this.heap=new ve.Buf16(2*qe+1),it(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ve.Buf16(2*qe+1),it(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Cn(Se){var Fe;return Se&&Se.state?(Se.total_in=Se.total_out=0,Se.data_type=Pe,(Fe=Se.state).pending=0,Fe.pending_out=0,Fe.wrap<0&&(Fe.wrap=-Fe.wrap),Fe.status=Fe.wrap?Je:Lt,Se.adler=Fe.wrap===2?0:1,Fe.last_flush=Be,Ae._tr_init(Fe),Oe):Tt(Se,He)}function Bn(Se){var Fe=Cn(Se);return Fe===Oe&&function(ie){ie.window_size=2*ie.w_size,it(ie.head),ie.max_lazy_match=Le[ie.level].max_lazy,ie.good_match=Le[ie.level].good_length,ie.nice_match=Le[ie.level].nice_length,ie.max_chain_length=Le[ie.level].max_chain,ie.strstart=0,ie.block_start=0,ie.lookahead=0,ie.insert=0,ie.match_length=ie.prev_length=ht-1,ie.match_available=0,ie.ins_h=0}(Se.state),Fe}function gn(Se,Fe,ie,ae,se,oe){if(!Se)return He;var Ye=1;if(Fe===ke&&(Fe=6),ae<0?(Ye=0,ae=-ae):15<ae&&(Ye=2,ae-=16),se<1||Ke<se||ie!==Xe||ae<8||15<ae||Fe<0||9<Fe||oe<0||Te<oe)return Tt(Se,He);ae===8&&(ae=9);var vt=new Ln;return(Se.state=vt).strm=Se,vt.wrap=Ye,vt.gzhead=null,vt.w_bits=ae,vt.w_size=1<<vt.w_bits,vt.w_mask=vt.w_size-1,vt.hash_bits=se+7,vt.hash_size=1<<vt.hash_bits,vt.hash_mask=vt.hash_size-1,vt.hash_shift=~~((vt.hash_bits+ht-1)/ht),vt.window=new ve.Buf8(2*vt.w_size),vt.head=new ve.Buf16(vt.hash_size),vt.prev=new ve.Buf16(vt.w_size),vt.lit_bufsize=1<<se+6,vt.pending_buf_size=4*vt.lit_bufsize,vt.pending_buf=new ve.Buf8(vt.pending_buf_size),vt.d_buf=1*vt.lit_bufsize,vt.l_buf=3*vt.lit_bufsize,vt.level=Fe,vt.strategy=oe,vt.method=ie,Bn(Se)}Le=[new fn(0,0,0,0,function(Se,Fe){var ie=65535;for(ie>Se.pending_buf_size-5&&(ie=Se.pending_buf_size-5);;){if(Se.lookahead<=1){if(Qt(Se),Se.lookahead===0&&Fe===Be)return Re;if(Se.lookahead===0)break}Se.strstart+=Se.lookahead,Se.lookahead=0;var ae=Se.block_start+ie;if((Se.strstart===0||Se.strstart>=ae)&&(Se.lookahead=Se.strstart-ae,Se.strstart=ae,at(Se,!1),Se.strm.avail_out===0)||Se.strstart-Se.block_start>=Se.w_size-xt&&(at(Se,!1),Se.strm.avail_out===0))return Re}return Se.insert=0,Fe===_e?(at(Se,!0),Se.strm.avail_out===0?Ft:bt):(Se.strstart>Se.block_start&&(at(Se,!1),Se.strm.avail_out),Re)}),new fn(4,4,8,4,cn),new fn(4,5,16,8,cn),new fn(4,6,32,32,cn),new fn(4,4,16,16,Nn),new fn(8,16,32,32,Nn),new fn(8,16,128,128,Nn),new fn(8,32,128,256,Nn),new fn(32,128,258,1024,Nn),new fn(32,258,258,4096,Nn)],Ne.deflateInit=function(Se,Fe){return gn(Se,Fe,Xe,15,8,0)},Ne.deflateInit2=gn,Ne.deflateReset=Bn,Ne.deflateResetKeep=Cn,Ne.deflateSetHeader=function(Se,Fe){return Se&&Se.state?Se.state.wrap!==2?He:(Se.state.gzhead=Fe,Oe):He},Ne.deflate=function(Se,Fe){var ie,ae,se,oe;if(!Se||!Se.state||5<Fe||Fe<0)return Se?Tt(Se,He):He;if(ae=Se.state,!Se.output||!Se.input&&Se.avail_in!==0||ae.status===666&&Fe!==_e)return Tt(Se,Se.avail_out===0?-5:He);if(ae.strm=Se,ie=ae.last_flush,ae.last_flush=Fe,ae.status===Je)if(ae.wrap===2)Se.adler=0,Yt(ae,31),Yt(ae,139),Yt(ae,8),ae.gzhead?(Yt(ae,(ae.gzhead.text?1:0)+(ae.gzhead.hcrc?2:0)+(ae.gzhead.extra?4:0)+(ae.gzhead.name?8:0)+(ae.gzhead.comment?16:0)),Yt(ae,255&ae.gzhead.time),Yt(ae,ae.gzhead.time>>8&255),Yt(ae,ae.gzhead.time>>16&255),Yt(ae,ae.gzhead.time>>24&255),Yt(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),Yt(ae,255&ae.gzhead.os),ae.gzhead.extra&&ae.gzhead.extra.length&&(Yt(ae,255&ae.gzhead.extra.length),Yt(ae,ae.gzhead.extra.length>>8&255)),ae.gzhead.hcrc&&(Se.adler=fe(Se.adler,ae.pending_buf,ae.pending,0)),ae.gzindex=0,ae.status=69):(Yt(ae,0),Yt(ae,0),Yt(ae,0),Yt(ae,0),Yt(ae,0),Yt(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),Yt(ae,3),ae.status=Lt);else{var Ye=Xe+(ae.w_bits-8<<4)<<8;Ye|=(2<=ae.strategy||ae.level<2?0:ae.level<6?1:ae.level===6?2:3)<<6,ae.strstart!==0&&(Ye|=32),Ye+=31-Ye%31,ae.status=Lt,Vt(ae,Ye),ae.strstart!==0&&(Vt(ae,Se.adler>>>16),Vt(ae,65535&Se.adler)),Se.adler=1}if(ae.status===69)if(ae.gzhead.extra){for(se=ae.pending;ae.gzindex<(65535&ae.gzhead.extra.length)&&(ae.pending!==ae.pending_buf_size||(ae.gzhead.hcrc&&ae.pending>se&&(Se.adler=fe(Se.adler,ae.pending_buf,ae.pending-se,se)),je(Se),se=ae.pending,ae.pending!==ae.pending_buf_size));)Yt(ae,255&ae.gzhead.extra[ae.gzindex]),ae.gzindex++;ae.gzhead.hcrc&&ae.pending>se&&(Se.adler=fe(Se.adler,ae.pending_buf,ae.pending-se,se)),ae.gzindex===ae.gzhead.extra.length&&(ae.gzindex=0,ae.status=73)}else ae.status=73;if(ae.status===73)if(ae.gzhead.name){se=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>se&&(Se.adler=fe(Se.adler,ae.pending_buf,ae.pending-se,se)),je(Se),se=ae.pending,ae.pending===ae.pending_buf_size)){oe=1;break}oe=ae.gzindex<ae.gzhead.name.length?255&ae.gzhead.name.charCodeAt(ae.gzindex++):0,Yt(ae,oe)}while(oe!==0);ae.gzhead.hcrc&&ae.pending>se&&(Se.adler=fe(Se.adler,ae.pending_buf,ae.pending-se,se)),oe===0&&(ae.gzindex=0,ae.status=91)}else ae.status=91;if(ae.status===91)if(ae.gzhead.comment){se=ae.pending;do{if(ae.pending===ae.pending_buf_size&&(ae.gzhead.hcrc&&ae.pending>se&&(Se.adler=fe(Se.adler,ae.pending_buf,ae.pending-se,se)),je(Se),se=ae.pending,ae.pending===ae.pending_buf_size)){oe=1;break}oe=ae.gzindex<ae.gzhead.comment.length?255&ae.gzhead.comment.charCodeAt(ae.gzindex++):0,Yt(ae,oe)}while(oe!==0);ae.gzhead.hcrc&&ae.pending>se&&(Se.adler=fe(Se.adler,ae.pending_buf,ae.pending-se,se)),oe===0&&(ae.status=103)}else ae.status=103;if(ae.status===103&&(ae.gzhead.hcrc?(ae.pending+2>ae.pending_buf_size&&je(Se),ae.pending+2<=ae.pending_buf_size&&(Yt(ae,255&Se.adler),Yt(ae,Se.adler>>8&255),Se.adler=0,ae.status=Lt)):ae.status=Lt),ae.pending!==0){if(je(Se),Se.avail_out===0)return ae.last_flush=-1,Oe}else if(Se.avail_in===0&&wt(Fe)<=wt(ie)&&Fe!==_e)return Tt(Se,-5);if(ae.status===666&&Se.avail_in!==0)return Tt(Se,-5);if(Se.avail_in!==0||ae.lookahead!==0||Fe!==Be&&ae.status!==666){var vt=ae.strategy===2?function(et,lt){for(var Pt;;){if(et.lookahead===0&&(Qt(et),et.lookahead===0)){if(lt===Be)return Re;break}if(et.match_length=0,Pt=Ae._tr_tally(et,0,et.window[et.strstart]),et.lookahead--,et.strstart++,Pt&&(at(et,!1),et.strm.avail_out===0))return Re}return et.insert=0,lt===_e?(at(et,!0),et.strm.avail_out===0?Ft:bt):et.last_lit&&(at(et,!1),et.strm.avail_out===0)?Re:Rt}(ae,Fe):ae.strategy===3?function(et,lt){for(var Pt,Mt,kt,$t,Sn=et.window;;){if(et.lookahead<=dt){if(Qt(et),et.lookahead<=dt&&lt===Be)return Re;if(et.lookahead===0)break}if(et.match_length=0,et.lookahead>=ht&&0<et.strstart&&(Mt=Sn[kt=et.strstart-1])===Sn[++kt]&&Mt===Sn[++kt]&&Mt===Sn[++kt]){$t=et.strstart+dt;do;while(Mt===Sn[++kt]&&Mt===Sn[++kt]&&Mt===Sn[++kt]&&Mt===Sn[++kt]&&Mt===Sn[++kt]&&Mt===Sn[++kt]&&Mt===Sn[++kt]&&Mt===Sn[++kt]&&kt<$t);et.match_length=dt-($t-kt),et.match_length>et.lookahead&&(et.match_length=et.lookahead)}if(et.match_length>=ht?(Pt=Ae._tr_tally(et,1,et.match_length-ht),et.lookahead-=et.match_length,et.strstart+=et.match_length,et.match_length=0):(Pt=Ae._tr_tally(et,0,et.window[et.strstart]),et.lookahead--,et.strstart++),Pt&&(at(et,!1),et.strm.avail_out===0))return Re}return et.insert=0,lt===_e?(at(et,!0),et.strm.avail_out===0?Ft:bt):et.last_lit&&(at(et,!1),et.strm.avail_out===0)?Re:Rt}(ae,Fe):Le[ae.level].func(ae,Fe);if(vt!==Ft&&vt!==bt||(ae.status=666),vt===Re||vt===Ft)return Se.avail_out===0&&(ae.last_flush=-1),Oe;if(vt===Rt&&(Fe===1?Ae._tr_align(ae):Fe!==5&&(Ae._tr_stored_block(ae,0,0,!1),Fe===3&&(it(ae.head),ae.lookahead===0&&(ae.strstart=0,ae.block_start=0,ae.insert=0))),je(Se),Se.avail_out===0))return ae.last_flush=-1,Oe}return Fe!==_e?Oe:ae.wrap<=0?1:(ae.wrap===2?(Yt(ae,255&Se.adler),Yt(ae,Se.adler>>8&255),Yt(ae,Se.adler>>16&255),Yt(ae,Se.adler>>24&255),Yt(ae,255&Se.total_in),Yt(ae,Se.total_in>>8&255),Yt(ae,Se.total_in>>16&255),Yt(ae,Se.total_in>>24&255)):(Vt(ae,Se.adler>>>16),Vt(ae,65535&Se.adler)),je(Se),0<ae.wrap&&(ae.wrap=-ae.wrap),ae.pending!==0?Oe:1)},Ne.deflateEnd=function(Se){var Fe;return Se&&Se.state?(Fe=Se.state.status)!==Je&&Fe!==69&&Fe!==73&&Fe!==91&&Fe!==103&&Fe!==Lt&&Fe!==666?Tt(Se,He):(Se.state=null,Fe===Lt?Tt(Se,-3):Oe):He},Ne.deflateSetDictionary=function(Se,Fe){var ie,ae,se,oe,Ye,vt,et,lt,Pt=Fe.length;if(!Se||!Se.state||(oe=(ie=Se.state).wrap)===2||oe===1&&ie.status!==Je||ie.lookahead)return He;for(oe===1&&(Se.adler=we(Se.adler,Fe,Pt,0)),ie.wrap=0,Pt>=ie.w_size&&(oe===0&&(it(ie.head),ie.strstart=0,ie.block_start=0,ie.insert=0),lt=new ve.Buf8(ie.w_size),ve.arraySet(lt,Fe,Pt-ie.w_size,ie.w_size,0),Fe=lt,Pt=ie.w_size),Ye=Se.avail_in,vt=Se.next_in,et=Se.input,Se.avail_in=Pt,Se.next_in=0,Se.input=Fe,Qt(ie);ie.lookahead>=ht;){for(ae=ie.strstart,se=ie.lookahead-(ht-1);ie.ins_h=(ie.ins_h<<ie.hash_shift^ie.window[ae+ht-1])&ie.hash_mask,ie.prev[ae&ie.w_mask]=ie.head[ie.ins_h],ie.head[ie.ins_h]=ae,ae++,--se;);ie.strstart=ae,ie.lookahead=ht-1,Qt(ie)}return ie.strstart+=ie.lookahead,ie.block_start=ie.strstart,ie.insert=ie.lookahead,ie.lookahead=0,ie.match_length=ie.prev_length=ht-1,ie.match_available=0,Se.next_in=vt,Se.input=et,Se.avail_in=Ye,ie.wrap=oe,Oe},Ne.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(Ue,At,Ne){"use strict";At.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(Ue,At,Ne){"use strict";At.exports=function(Le,ve){var Ae,we,fe,ze,Be,_e,Oe,He,ke,Te,Pe,Xe,Ke,qe,We,Ze,$e,rt,ht,dt,xt,Je,Lt,Re,Rt;Ae=Le.state,we=Le.next_in,Re=Le.input,fe=we+(Le.avail_in-5),ze=Le.next_out,Rt=Le.output,Be=ze-(ve-Le.avail_out),_e=ze+(Le.avail_out-257),Oe=Ae.dmax,He=Ae.wsize,ke=Ae.whave,Te=Ae.wnext,Pe=Ae.window,Xe=Ae.hold,Ke=Ae.bits,qe=Ae.lencode,We=Ae.distcode,Ze=(1<<Ae.lenbits)-1,$e=(1<<Ae.distbits)-1;e:do{Ke<15&&(Xe+=Re[we++]<<Ke,Ke+=8,Xe+=Re[we++]<<Ke,Ke+=8),rt=qe[Xe&Ze];t:for(;;){if(Xe>>>=ht=rt>>>24,Ke-=ht,(ht=rt>>>16&255)===0)Rt[ze++]=65535&rt;else{if(!(16&ht)){if(!(64&ht)){rt=qe[(65535&rt)+(Xe&(1<<ht)-1)];continue t}if(32&ht){Ae.mode=12;break e}Le.msg="invalid literal/length code",Ae.mode=30;break e}dt=65535&rt,(ht&=15)&&(Ke<ht&&(Xe+=Re[we++]<<Ke,Ke+=8),dt+=Xe&(1<<ht)-1,Xe>>>=ht,Ke-=ht),Ke<15&&(Xe+=Re[we++]<<Ke,Ke+=8,Xe+=Re[we++]<<Ke,Ke+=8),rt=We[Xe&$e];n:for(;;){if(Xe>>>=ht=rt>>>24,Ke-=ht,!(16&(ht=rt>>>16&255))){if(!(64&ht)){rt=We[(65535&rt)+(Xe&(1<<ht)-1)];continue n}Le.msg="invalid distance code",Ae.mode=30;break e}if(xt=65535&rt,Ke<(ht&=15)&&(Xe+=Re[we++]<<Ke,(Ke+=8)<ht&&(Xe+=Re[we++]<<Ke,Ke+=8)),Oe<(xt+=Xe&(1<<ht)-1)){Le.msg="invalid distance too far back",Ae.mode=30;break e}if(Xe>>>=ht,Ke-=ht,(ht=ze-Be)<xt){if(ke<(ht=xt-ht)&&Ae.sane){Le.msg="invalid distance too far back",Ae.mode=30;break e}if(Lt=Pe,(Je=0)===Te){if(Je+=He-ht,ht<dt){for(dt-=ht;Rt[ze++]=Pe[Je++],--ht;);Je=ze-xt,Lt=Rt}}else if(Te<ht){if(Je+=He+Te-ht,(ht-=Te)<dt){for(dt-=ht;Rt[ze++]=Pe[Je++],--ht;);if(Je=0,Te<dt){for(dt-=ht=Te;Rt[ze++]=Pe[Je++],--ht;);Je=ze-xt,Lt=Rt}}}else if(Je+=Te-ht,ht<dt){for(dt-=ht;Rt[ze++]=Pe[Je++],--ht;);Je=ze-xt,Lt=Rt}for(;2<dt;)Rt[ze++]=Lt[Je++],Rt[ze++]=Lt[Je++],Rt[ze++]=Lt[Je++],dt-=3;dt&&(Rt[ze++]=Lt[Je++],1<dt&&(Rt[ze++]=Lt[Je++]))}else{for(Je=ze-xt;Rt[ze++]=Rt[Je++],Rt[ze++]=Rt[Je++],Rt[ze++]=Rt[Je++],2<(dt-=3););dt&&(Rt[ze++]=Rt[Je++],1<dt&&(Rt[ze++]=Rt[Je++]))}break}}break}}while(we<fe&&ze<_e);we-=dt=Ke>>3,Xe&=(1<<(Ke-=dt<<3))-1,Le.next_in=we,Le.next_out=ze,Le.avail_in=we<fe?fe-we+5:5-(we-fe),Le.avail_out=ze<_e?_e-ze+257:257-(ze-_e),Ae.hold=Xe,Ae.bits=Ke}},{}],49:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils/common"),ve=Ue("./adler32"),Ae=Ue("./crc32"),we=Ue("./inffast"),fe=Ue("./inftrees"),ze=1,Be=2,_e=0,Oe=-2,He=1,ke=852,Te=592;function Pe(Je){return(Je>>>24&255)+(Je>>>8&65280)+((65280&Je)<<8)+((255&Je)<<24)}function Xe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Le.Buf16(320),this.work=new Le.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ke(Je){var Lt;return Je&&Je.state?(Lt=Je.state,Je.total_in=Je.total_out=Lt.total=0,Je.msg="",Lt.wrap&&(Je.adler=1&Lt.wrap),Lt.mode=He,Lt.last=0,Lt.havedict=0,Lt.dmax=32768,Lt.head=null,Lt.hold=0,Lt.bits=0,Lt.lencode=Lt.lendyn=new Le.Buf32(ke),Lt.distcode=Lt.distdyn=new Le.Buf32(Te),Lt.sane=1,Lt.back=-1,_e):Oe}function qe(Je){var Lt;return Je&&Je.state?((Lt=Je.state).wsize=0,Lt.whave=0,Lt.wnext=0,Ke(Je)):Oe}function We(Je,Lt){var Re,Rt;return Je&&Je.state?(Rt=Je.state,Lt<0?(Re=0,Lt=-Lt):(Re=1+(Lt>>4),Lt<48&&(Lt&=15)),Lt&&(Lt<8||15<Lt)?Oe:(Rt.window!==null&&Rt.wbits!==Lt&&(Rt.window=null),Rt.wrap=Re,Rt.wbits=Lt,qe(Je))):Oe}function Ze(Je,Lt){var Re,Rt;return Je?(Rt=new Xe,(Je.state=Rt).window=null,(Re=We(Je,Lt))!==_e&&(Je.state=null),Re):Oe}var $e,rt,ht=!0;function dt(Je){if(ht){var Lt;for($e=new Le.Buf32(512),rt=new Le.Buf32(32),Lt=0;Lt<144;)Je.lens[Lt++]=8;for(;Lt<256;)Je.lens[Lt++]=9;for(;Lt<280;)Je.lens[Lt++]=7;for(;Lt<288;)Je.lens[Lt++]=8;for(fe(ze,Je.lens,0,288,$e,0,Je.work,{bits:9}),Lt=0;Lt<32;)Je.lens[Lt++]=5;fe(Be,Je.lens,0,32,rt,0,Je.work,{bits:5}),ht=!1}Je.lencode=$e,Je.lenbits=9,Je.distcode=rt,Je.distbits=5}function xt(Je,Lt,Re,Rt){var Ft,bt=Je.state;return bt.window===null&&(bt.wsize=1<<bt.wbits,bt.wnext=0,bt.whave=0,bt.window=new Le.Buf8(bt.wsize)),Rt>=bt.wsize?(Le.arraySet(bt.window,Lt,Re-bt.wsize,bt.wsize,0),bt.wnext=0,bt.whave=bt.wsize):(Rt<(Ft=bt.wsize-bt.wnext)&&(Ft=Rt),Le.arraySet(bt.window,Lt,Re-Rt,Ft,bt.wnext),(Rt-=Ft)?(Le.arraySet(bt.window,Lt,Re-Rt,Rt,0),bt.wnext=Rt,bt.whave=bt.wsize):(bt.wnext+=Ft,bt.wnext===bt.wsize&&(bt.wnext=0),bt.whave<bt.wsize&&(bt.whave+=Ft))),0}Ne.inflateReset=qe,Ne.inflateReset2=We,Ne.inflateResetKeep=Ke,Ne.inflateInit=function(Je){return Ze(Je,15)},Ne.inflateInit2=Ze,Ne.inflate=function(Je,Lt){var Re,Rt,Ft,bt,Tt,wt,it,je,at,Yt,Vt,St,Qt,cn,Nn,fn,Ln,Cn,Bn,gn,Se,Fe,ie,ae,se=0,oe=new Le.Buf8(4),Ye=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Je||!Je.state||!Je.output||!Je.input&&Je.avail_in!==0)return Oe;(Re=Je.state).mode===12&&(Re.mode=13),Tt=Je.next_out,Ft=Je.output,it=Je.avail_out,bt=Je.next_in,Rt=Je.input,wt=Je.avail_in,je=Re.hold,at=Re.bits,Yt=wt,Vt=it,Fe=_e;e:for(;;)switch(Re.mode){case He:if(Re.wrap===0){Re.mode=13;break}for(;at<16;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(2&Re.wrap&&je===35615){oe[Re.check=0]=255&je,oe[1]=je>>>8&255,Re.check=Ae(Re.check,oe,2,0),at=je=0,Re.mode=2;break}if(Re.flags=0,Re.head&&(Re.head.done=!1),!(1&Re.wrap)||(((255&je)<<8)+(je>>8))%31){Je.msg="incorrect header check",Re.mode=30;break}if((15&je)!=8){Je.msg="unknown compression method",Re.mode=30;break}if(at-=4,Se=8+(15&(je>>>=4)),Re.wbits===0)Re.wbits=Se;else if(Se>Re.wbits){Je.msg="invalid window size",Re.mode=30;break}Re.dmax=1<<Se,Je.adler=Re.check=1,Re.mode=512&je?10:12,at=je=0;break;case 2:for(;at<16;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(Re.flags=je,(255&Re.flags)!=8){Je.msg="unknown compression method",Re.mode=30;break}if(57344&Re.flags){Je.msg="unknown header flags set",Re.mode=30;break}Re.head&&(Re.head.text=je>>8&1),512&Re.flags&&(oe[0]=255&je,oe[1]=je>>>8&255,Re.check=Ae(Re.check,oe,2,0)),at=je=0,Re.mode=3;case 3:for(;at<32;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}Re.head&&(Re.head.time=je),512&Re.flags&&(oe[0]=255&je,oe[1]=je>>>8&255,oe[2]=je>>>16&255,oe[3]=je>>>24&255,Re.check=Ae(Re.check,oe,4,0)),at=je=0,Re.mode=4;case 4:for(;at<16;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}Re.head&&(Re.head.xflags=255&je,Re.head.os=je>>8),512&Re.flags&&(oe[0]=255&je,oe[1]=je>>>8&255,Re.check=Ae(Re.check,oe,2,0)),at=je=0,Re.mode=5;case 5:if(1024&Re.flags){for(;at<16;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}Re.length=je,Re.head&&(Re.head.extra_len=je),512&Re.flags&&(oe[0]=255&je,oe[1]=je>>>8&255,Re.check=Ae(Re.check,oe,2,0)),at=je=0}else Re.head&&(Re.head.extra=null);Re.mode=6;case 6:if(1024&Re.flags&&(wt<(St=Re.length)&&(St=wt),St&&(Re.head&&(Se=Re.head.extra_len-Re.length,Re.head.extra||(Re.head.extra=new Array(Re.head.extra_len)),Le.arraySet(Re.head.extra,Rt,bt,St,Se)),512&Re.flags&&(Re.check=Ae(Re.check,Rt,St,bt)),wt-=St,bt+=St,Re.length-=St),Re.length))break e;Re.length=0,Re.mode=7;case 7:if(2048&Re.flags){if(wt===0)break e;for(St=0;Se=Rt[bt+St++],Re.head&&Se&&Re.length<65536&&(Re.head.name+=String.fromCharCode(Se)),Se&&St<wt;);if(512&Re.flags&&(Re.check=Ae(Re.check,Rt,St,bt)),wt-=St,bt+=St,Se)break e}else Re.head&&(Re.head.name=null);Re.length=0,Re.mode=8;case 8:if(4096&Re.flags){if(wt===0)break e;for(St=0;Se=Rt[bt+St++],Re.head&&Se&&Re.length<65536&&(Re.head.comment+=String.fromCharCode(Se)),Se&&St<wt;);if(512&Re.flags&&(Re.check=Ae(Re.check,Rt,St,bt)),wt-=St,bt+=St,Se)break e}else Re.head&&(Re.head.comment=null);Re.mode=9;case 9:if(512&Re.flags){for(;at<16;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(je!==(65535&Re.check)){Je.msg="header crc mismatch",Re.mode=30;break}at=je=0}Re.head&&(Re.head.hcrc=Re.flags>>9&1,Re.head.done=!0),Je.adler=Re.check=0,Re.mode=12;break;case 10:for(;at<32;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}Je.adler=Re.check=Pe(je),at=je=0,Re.mode=11;case 11:if(Re.havedict===0)return Je.next_out=Tt,Je.avail_out=it,Je.next_in=bt,Je.avail_in=wt,Re.hold=je,Re.bits=at,2;Je.adler=Re.check=1,Re.mode=12;case 12:if(Lt===5||Lt===6)break e;case 13:if(Re.last){je>>>=7&at,at-=7&at,Re.mode=27;break}for(;at<3;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}switch(Re.last=1&je,at-=1,3&(je>>>=1)){case 0:Re.mode=14;break;case 1:if(dt(Re),Re.mode=20,Lt!==6)break;je>>>=2,at-=2;break e;case 2:Re.mode=17;break;case 3:Je.msg="invalid block type",Re.mode=30}je>>>=2,at-=2;break;case 14:for(je>>>=7&at,at-=7&at;at<32;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if((65535&je)!=(je>>>16^65535)){Je.msg="invalid stored block lengths",Re.mode=30;break}if(Re.length=65535&je,at=je=0,Re.mode=15,Lt===6)break e;case 15:Re.mode=16;case 16:if(St=Re.length){if(wt<St&&(St=wt),it<St&&(St=it),St===0)break e;Le.arraySet(Ft,Rt,bt,St,Tt),wt-=St,bt+=St,it-=St,Tt+=St,Re.length-=St;break}Re.mode=12;break;case 17:for(;at<14;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(Re.nlen=257+(31&je),je>>>=5,at-=5,Re.ndist=1+(31&je),je>>>=5,at-=5,Re.ncode=4+(15&je),je>>>=4,at-=4,286<Re.nlen||30<Re.ndist){Je.msg="too many length or distance symbols",Re.mode=30;break}Re.have=0,Re.mode=18;case 18:for(;Re.have<Re.ncode;){for(;at<3;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}Re.lens[Ye[Re.have++]]=7&je,je>>>=3,at-=3}for(;Re.have<19;)Re.lens[Ye[Re.have++]]=0;if(Re.lencode=Re.lendyn,Re.lenbits=7,ie={bits:Re.lenbits},Fe=fe(0,Re.lens,0,19,Re.lencode,0,Re.work,ie),Re.lenbits=ie.bits,Fe){Je.msg="invalid code lengths set",Re.mode=30;break}Re.have=0,Re.mode=19;case 19:for(;Re.have<Re.nlen+Re.ndist;){for(;fn=(se=Re.lencode[je&(1<<Re.lenbits)-1])>>>16&255,Ln=65535&se,!((Nn=se>>>24)<=at);){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(Ln<16)je>>>=Nn,at-=Nn,Re.lens[Re.have++]=Ln;else{if(Ln===16){for(ae=Nn+2;at<ae;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(je>>>=Nn,at-=Nn,Re.have===0){Je.msg="invalid bit length repeat",Re.mode=30;break}Se=Re.lens[Re.have-1],St=3+(3&je),je>>>=2,at-=2}else if(Ln===17){for(ae=Nn+3;at<ae;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}at-=Nn,Se=0,St=3+(7&(je>>>=Nn)),je>>>=3,at-=3}else{for(ae=Nn+7;at<ae;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}at-=Nn,Se=0,St=11+(127&(je>>>=Nn)),je>>>=7,at-=7}if(Re.have+St>Re.nlen+Re.ndist){Je.msg="invalid bit length repeat",Re.mode=30;break}for(;St--;)Re.lens[Re.have++]=Se}}if(Re.mode===30)break;if(Re.lens[256]===0){Je.msg="invalid code -- missing end-of-block",Re.mode=30;break}if(Re.lenbits=9,ie={bits:Re.lenbits},Fe=fe(ze,Re.lens,0,Re.nlen,Re.lencode,0,Re.work,ie),Re.lenbits=ie.bits,Fe){Je.msg="invalid literal/lengths set",Re.mode=30;break}if(Re.distbits=6,Re.distcode=Re.distdyn,ie={bits:Re.distbits},Fe=fe(Be,Re.lens,Re.nlen,Re.ndist,Re.distcode,0,Re.work,ie),Re.distbits=ie.bits,Fe){Je.msg="invalid distances set",Re.mode=30;break}if(Re.mode=20,Lt===6)break e;case 20:Re.mode=21;case 21:if(6<=wt&&258<=it){Je.next_out=Tt,Je.avail_out=it,Je.next_in=bt,Je.avail_in=wt,Re.hold=je,Re.bits=at,we(Je,Vt),Tt=Je.next_out,Ft=Je.output,it=Je.avail_out,bt=Je.next_in,Rt=Je.input,wt=Je.avail_in,je=Re.hold,at=Re.bits,Re.mode===12&&(Re.back=-1);break}for(Re.back=0;fn=(se=Re.lencode[je&(1<<Re.lenbits)-1])>>>16&255,Ln=65535&se,!((Nn=se>>>24)<=at);){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(fn&&!(240&fn)){for(Cn=Nn,Bn=fn,gn=Ln;fn=(se=Re.lencode[gn+((je&(1<<Cn+Bn)-1)>>Cn)])>>>16&255,Ln=65535&se,!(Cn+(Nn=se>>>24)<=at);){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}je>>>=Cn,at-=Cn,Re.back+=Cn}if(je>>>=Nn,at-=Nn,Re.back+=Nn,Re.length=Ln,fn===0){Re.mode=26;break}if(32&fn){Re.back=-1,Re.mode=12;break}if(64&fn){Je.msg="invalid literal/length code",Re.mode=30;break}Re.extra=15&fn,Re.mode=22;case 22:if(Re.extra){for(ae=Re.extra;at<ae;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}Re.length+=je&(1<<Re.extra)-1,je>>>=Re.extra,at-=Re.extra,Re.back+=Re.extra}Re.was=Re.length,Re.mode=23;case 23:for(;fn=(se=Re.distcode[je&(1<<Re.distbits)-1])>>>16&255,Ln=65535&se,!((Nn=se>>>24)<=at);){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(!(240&fn)){for(Cn=Nn,Bn=fn,gn=Ln;fn=(se=Re.distcode[gn+((je&(1<<Cn+Bn)-1)>>Cn)])>>>16&255,Ln=65535&se,!(Cn+(Nn=se>>>24)<=at);){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}je>>>=Cn,at-=Cn,Re.back+=Cn}if(je>>>=Nn,at-=Nn,Re.back+=Nn,64&fn){Je.msg="invalid distance code",Re.mode=30;break}Re.offset=Ln,Re.extra=15&fn,Re.mode=24;case 24:if(Re.extra){for(ae=Re.extra;at<ae;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}Re.offset+=je&(1<<Re.extra)-1,je>>>=Re.extra,at-=Re.extra,Re.back+=Re.extra}if(Re.offset>Re.dmax){Je.msg="invalid distance too far back",Re.mode=30;break}Re.mode=25;case 25:if(it===0)break e;if(St=Vt-it,Re.offset>St){if((St=Re.offset-St)>Re.whave&&Re.sane){Je.msg="invalid distance too far back",Re.mode=30;break}Qt=St>Re.wnext?(St-=Re.wnext,Re.wsize-St):Re.wnext-St,St>Re.length&&(St=Re.length),cn=Re.window}else cn=Ft,Qt=Tt-Re.offset,St=Re.length;for(it<St&&(St=it),it-=St,Re.length-=St;Ft[Tt++]=cn[Qt++],--St;);Re.length===0&&(Re.mode=21);break;case 26:if(it===0)break e;Ft[Tt++]=Re.length,it--,Re.mode=21;break;case 27:if(Re.wrap){for(;at<32;){if(wt===0)break e;wt--,je|=Rt[bt++]<<at,at+=8}if(Vt-=it,Je.total_out+=Vt,Re.total+=Vt,Vt&&(Je.adler=Re.check=Re.flags?Ae(Re.check,Ft,Vt,Tt-Vt):ve(Re.check,Ft,Vt,Tt-Vt)),Vt=it,(Re.flags?je:Pe(je))!==Re.check){Je.msg="incorrect data check",Re.mode=30;break}at=je=0}Re.mode=28;case 28:if(Re.wrap&&Re.flags){for(;at<32;){if(wt===0)break e;wt--,je+=Rt[bt++]<<at,at+=8}if(je!==(4294967295&Re.total)){Je.msg="incorrect length check",Re.mode=30;break}at=je=0}Re.mode=29;case 29:Fe=1;break e;case 30:Fe=-3;break e;case 31:return-4;case 32:default:return Oe}return Je.next_out=Tt,Je.avail_out=it,Je.next_in=bt,Je.avail_in=wt,Re.hold=je,Re.bits=at,(Re.wsize||Vt!==Je.avail_out&&Re.mode<30&&(Re.mode<27||Lt!==4))&&xt(Je,Je.output,Je.next_out,Vt-Je.avail_out)?(Re.mode=31,-4):(Yt-=Je.avail_in,Vt-=Je.avail_out,Je.total_in+=Yt,Je.total_out+=Vt,Re.total+=Vt,Re.wrap&&Vt&&(Je.adler=Re.check=Re.flags?Ae(Re.check,Ft,Vt,Je.next_out-Vt):ve(Re.check,Ft,Vt,Je.next_out-Vt)),Je.data_type=Re.bits+(Re.last?64:0)+(Re.mode===12?128:0)+(Re.mode===20||Re.mode===15?256:0),(Yt==0&&Vt===0||Lt===4)&&Fe===_e&&(Fe=-5),Fe)},Ne.inflateEnd=function(Je){if(!Je||!Je.state)return Oe;var Lt=Je.state;return Lt.window&&(Lt.window=null),Je.state=null,_e},Ne.inflateGetHeader=function(Je,Lt){var Re;return Je&&Je.state&&2&(Re=Je.state).wrap?((Re.head=Lt).done=!1,_e):Oe},Ne.inflateSetDictionary=function(Je,Lt){var Re,Rt=Lt.length;return Je&&Je.state?(Re=Je.state).wrap!==0&&Re.mode!==11?Oe:Re.mode===11&&ve(1,Lt,Rt,0)!==Re.check?-3:xt(Je,Lt,Rt,Rt)?(Re.mode=31,-4):(Re.havedict=1,_e):Oe},Ne.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils/common"),ve=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Ae=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],we=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],fe=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];At.exports=function(ze,Be,_e,Oe,He,ke,Te,Pe){var Xe,Ke,qe,We,Ze,$e,rt,ht,dt,xt=Pe.bits,Je=0,Lt=0,Re=0,Rt=0,Ft=0,bt=0,Tt=0,wt=0,it=0,je=0,at=null,Yt=0,Vt=new Le.Buf16(16),St=new Le.Buf16(16),Qt=null,cn=0;for(Je=0;Je<=15;Je++)Vt[Je]=0;for(Lt=0;Lt<Oe;Lt++)Vt[Be[_e+Lt]]++;for(Ft=xt,Rt=15;1<=Rt&&Vt[Rt]===0;Rt--);if(Rt<Ft&&(Ft=Rt),Rt===0)return He[ke++]=20971520,He[ke++]=20971520,Pe.bits=1,0;for(Re=1;Re<Rt&&Vt[Re]===0;Re++);for(Ft<Re&&(Ft=Re),Je=wt=1;Je<=15;Je++)if(wt<<=1,(wt-=Vt[Je])<0)return-1;if(0<wt&&(ze===0||Rt!==1))return-1;for(St[1]=0,Je=1;Je<15;Je++)St[Je+1]=St[Je]+Vt[Je];for(Lt=0;Lt<Oe;Lt++)Be[_e+Lt]!==0&&(Te[St[Be[_e+Lt]]++]=Lt);if($e=ze===0?(at=Qt=Te,19):ze===1?(at=ve,Yt-=257,Qt=Ae,cn-=257,256):(at=we,Qt=fe,-1),Je=Re,Ze=ke,Tt=Lt=je=0,qe=-1,We=(it=1<<(bt=Ft))-1,ze===1&&852<it||ze===2&&592<it)return 1;for(;;){for(rt=Je-Tt,dt=Te[Lt]<$e?(ht=0,Te[Lt]):Te[Lt]>$e?(ht=Qt[cn+Te[Lt]],at[Yt+Te[Lt]]):(ht=96,0),Xe=1<<Je-Tt,Re=Ke=1<<bt;He[Ze+(je>>Tt)+(Ke-=Xe)]=rt<<24|ht<<16|dt|0,Ke!==0;);for(Xe=1<<Je-1;je&Xe;)Xe>>=1;if(Xe!==0?(je&=Xe-1,je+=Xe):je=0,Lt++,--Vt[Je]==0){if(Je===Rt)break;Je=Be[_e+Te[Lt]]}if(Ft<Je&&(je&We)!==qe){for(Tt===0&&(Tt=Ft),Ze+=Re,wt=1<<(bt=Je-Tt);bt+Tt<Rt&&!((wt-=Vt[bt+Tt])<=0);)bt++,wt<<=1;if(it+=1<<bt,ze===1&&852<it||ze===2&&592<it)return 1;He[qe=je&We]=Ft<<24|bt<<16|Ze-ke|0}}return je!==0&&(He[Ze+je]=Je-Tt<<24|64<<16|0),Pe.bits=Ft,0}},{"../utils/common":41}],51:[function(Ue,At,Ne){"use strict";At.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(Ue,At,Ne){"use strict";var Le=Ue("../utils/common"),ve=0,Ae=1;function we(se){for(var oe=se.length;0<=--oe;)se[oe]=0}var fe=0,ze=29,Be=256,_e=Be+1+ze,Oe=30,He=19,ke=2*_e+1,Te=15,Pe=16,Xe=7,Ke=256,qe=16,We=17,Ze=18,$e=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],rt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ht=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],dt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],xt=new Array(2*(_e+2));we(xt);var Je=new Array(2*Oe);we(Je);var Lt=new Array(512);we(Lt);var Re=new Array(256);we(Re);var Rt=new Array(ze);we(Rt);var Ft,bt,Tt,wt=new Array(Oe);function it(se,oe,Ye,vt,et){this.static_tree=se,this.extra_bits=oe,this.extra_base=Ye,this.elems=vt,this.max_length=et,this.has_stree=se&&se.length}function je(se,oe){this.dyn_tree=se,this.max_code=0,this.stat_desc=oe}function at(se){return se<256?Lt[se]:Lt[256+(se>>>7)]}function Yt(se,oe){se.pending_buf[se.pending++]=255&oe,se.pending_buf[se.pending++]=oe>>>8&255}function Vt(se,oe,Ye){se.bi_valid>Pe-Ye?(se.bi_buf|=oe<<se.bi_valid&65535,Yt(se,se.bi_buf),se.bi_buf=oe>>Pe-se.bi_valid,se.bi_valid+=Ye-Pe):(se.bi_buf|=oe<<se.bi_valid&65535,se.bi_valid+=Ye)}function St(se,oe,Ye){Vt(se,Ye[2*oe],Ye[2*oe+1])}function Qt(se,oe){for(var Ye=0;Ye|=1&se,se>>>=1,Ye<<=1,0<--oe;);return Ye>>>1}function cn(se,oe,Ye){var vt,et,lt=new Array(Te+1),Pt=0;for(vt=1;vt<=Te;vt++)lt[vt]=Pt=Pt+Ye[vt-1]<<1;for(et=0;et<=oe;et++){var Mt=se[2*et+1];Mt!==0&&(se[2*et]=Qt(lt[Mt]++,Mt))}}function Nn(se){var oe;for(oe=0;oe<_e;oe++)se.dyn_ltree[2*oe]=0;for(oe=0;oe<Oe;oe++)se.dyn_dtree[2*oe]=0;for(oe=0;oe<He;oe++)se.bl_tree[2*oe]=0;se.dyn_ltree[2*Ke]=1,se.opt_len=se.static_len=0,se.last_lit=se.matches=0}function fn(se){8<se.bi_valid?Yt(se,se.bi_buf):0<se.bi_valid&&(se.pending_buf[se.pending++]=se.bi_buf),se.bi_buf=0,se.bi_valid=0}function Ln(se,oe,Ye,vt){var et=2*oe,lt=2*Ye;return se[et]<se[lt]||se[et]===se[lt]&&vt[oe]<=vt[Ye]}function Cn(se,oe,Ye){for(var vt=se.heap[Ye],et=Ye<<1;et<=se.heap_len&&(et<se.heap_len&&Ln(oe,se.heap[et+1],se.heap[et],se.depth)&&et++,!Ln(oe,vt,se.heap[et],se.depth));)se.heap[Ye]=se.heap[et],Ye=et,et<<=1;se.heap[Ye]=vt}function Bn(se,oe,Ye){var vt,et,lt,Pt,Mt=0;if(se.last_lit!==0)for(;vt=se.pending_buf[se.d_buf+2*Mt]<<8|se.pending_buf[se.d_buf+2*Mt+1],et=se.pending_buf[se.l_buf+Mt],Mt++,vt===0?St(se,et,oe):(St(se,(lt=Re[et])+Be+1,oe),(Pt=$e[lt])!==0&&Vt(se,et-=Rt[lt],Pt),St(se,lt=at(--vt),Ye),(Pt=rt[lt])!==0&&Vt(se,vt-=wt[lt],Pt)),Mt<se.last_lit;);St(se,Ke,oe)}function gn(se,oe){var Ye,vt,et,lt=oe.dyn_tree,Pt=oe.stat_desc.static_tree,Mt=oe.stat_desc.has_stree,kt=oe.stat_desc.elems,$t=-1;for(se.heap_len=0,se.heap_max=ke,Ye=0;Ye<kt;Ye++)lt[2*Ye]!==0?(se.heap[++se.heap_len]=$t=Ye,se.depth[Ye]=0):lt[2*Ye+1]=0;for(;se.heap_len<2;)lt[2*(et=se.heap[++se.heap_len]=$t<2?++$t:0)]=1,se.depth[et]=0,se.opt_len--,Mt&&(se.static_len-=Pt[2*et+1]);for(oe.max_code=$t,Ye=se.heap_len>>1;1<=Ye;Ye--)Cn(se,lt,Ye);for(et=kt;Ye=se.heap[1],se.heap[1]=se.heap[se.heap_len--],Cn(se,lt,1),vt=se.heap[1],se.heap[--se.heap_max]=Ye,se.heap[--se.heap_max]=vt,lt[2*et]=lt[2*Ye]+lt[2*vt],se.depth[et]=(se.depth[Ye]>=se.depth[vt]?se.depth[Ye]:se.depth[vt])+1,lt[2*Ye+1]=lt[2*vt+1]=et,se.heap[1]=et++,Cn(se,lt,1),2<=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],function(Sn,Bt){var nn,tn,zt,pt,Wt,vn,xn=Bt.dyn_tree,Wn=Bt.max_code,br=Bt.stat_desc.static_tree,Lr=Bt.stat_desc.has_stree,jr=Bt.stat_desc.extra_bits,Qr=Bt.stat_desc.extra_base,vr=Bt.stat_desc.max_length,Ar=0;for(pt=0;pt<=Te;pt++)Sn.bl_count[pt]=0;for(xn[2*Sn.heap[Sn.heap_max]+1]=0,nn=Sn.heap_max+1;nn<ke;nn++)vr<(pt=xn[2*xn[2*(tn=Sn.heap[nn])+1]+1]+1)&&(pt=vr,Ar++),xn[2*tn+1]=pt,Wn<tn||(Sn.bl_count[pt]++,Wt=0,Qr<=tn&&(Wt=jr[tn-Qr]),vn=xn[2*tn],Sn.opt_len+=vn*(pt+Wt),Lr&&(Sn.static_len+=vn*(br[2*tn+1]+Wt)));if(Ar!==0){do{for(pt=vr-1;Sn.bl_count[pt]===0;)pt--;Sn.bl_count[pt]--,Sn.bl_count[pt+1]+=2,Sn.bl_count[vr]--,Ar-=2}while(0<Ar);for(pt=vr;pt!==0;pt--)for(tn=Sn.bl_count[pt];tn!==0;)Wn<(zt=Sn.heap[--nn])||(xn[2*zt+1]!==pt&&(Sn.opt_len+=(pt-xn[2*zt+1])*xn[2*zt],xn[2*zt+1]=pt),tn--)}}(se,oe),cn(lt,$t,se.bl_count)}function Se(se,oe,Ye){var vt,et,lt=-1,Pt=oe[1],Mt=0,kt=7,$t=4;for(Pt===0&&(kt=138,$t=3),oe[2*(Ye+1)+1]=65535,vt=0;vt<=Ye;vt++)et=Pt,Pt=oe[2*(vt+1)+1],++Mt<kt&&et===Pt||(Mt<$t?se.bl_tree[2*et]+=Mt:et!==0?(et!==lt&&se.bl_tree[2*et]++,se.bl_tree[2*qe]++):Mt<=10?se.bl_tree[2*We]++:se.bl_tree[2*Ze]++,lt=et,$t=(Mt=0)===Pt?(kt=138,3):et===Pt?(kt=6,3):(kt=7,4))}function Fe(se,oe,Ye){var vt,et,lt=-1,Pt=oe[1],Mt=0,kt=7,$t=4;for(Pt===0&&(kt=138,$t=3),vt=0;vt<=Ye;vt++)if(et=Pt,Pt=oe[2*(vt+1)+1],!(++Mt<kt&&et===Pt)){if(Mt<$t)for(;St(se,et,se.bl_tree),--Mt!=0;);else et!==0?(et!==lt&&(St(se,et,se.bl_tree),Mt--),St(se,qe,se.bl_tree),Vt(se,Mt-3,2)):Mt<=10?(St(se,We,se.bl_tree),Vt(se,Mt-3,3)):(St(se,Ze,se.bl_tree),Vt(se,Mt-11,7));lt=et,$t=(Mt=0)===Pt?(kt=138,3):et===Pt?(kt=6,3):(kt=7,4)}}we(wt);var ie=!1;function ae(se,oe,Ye,vt){Vt(se,(fe<<1)+(vt?1:0),3),function(et,lt,Pt,Mt){fn(et),Mt&&(Yt(et,Pt),Yt(et,~Pt)),Le.arraySet(et.pending_buf,et.window,lt,Pt,et.pending),et.pending+=Pt}(se,oe,Ye,!0)}Ne._tr_init=function(se){ie||(function(){var oe,Ye,vt,et,lt,Pt=new Array(Te+1);for(et=vt=0;et<ze-1;et++)for(Rt[et]=vt,oe=0;oe<1<<$e[et];oe++)Re[vt++]=et;for(Re[vt-1]=et,et=lt=0;et<16;et++)for(wt[et]=lt,oe=0;oe<1<<rt[et];oe++)Lt[lt++]=et;for(lt>>=7;et<Oe;et++)for(wt[et]=lt<<7,oe=0;oe<1<<rt[et]-7;oe++)Lt[256+lt++]=et;for(Ye=0;Ye<=Te;Ye++)Pt[Ye]=0;for(oe=0;oe<=143;)xt[2*oe+1]=8,oe++,Pt[8]++;for(;oe<=255;)xt[2*oe+1]=9,oe++,Pt[9]++;for(;oe<=279;)xt[2*oe+1]=7,oe++,Pt[7]++;for(;oe<=287;)xt[2*oe+1]=8,oe++,Pt[8]++;for(cn(xt,_e+1,Pt),oe=0;oe<Oe;oe++)Je[2*oe+1]=5,Je[2*oe]=Qt(oe,5);Ft=new it(xt,$e,Be+1,_e,Te),bt=new it(Je,rt,0,Oe,Te),Tt=new it(new Array(0),ht,0,He,Xe)}(),ie=!0),se.l_desc=new je(se.dyn_ltree,Ft),se.d_desc=new je(se.dyn_dtree,bt),se.bl_desc=new je(se.bl_tree,Tt),se.bi_buf=0,se.bi_valid=0,Nn(se)},Ne._tr_stored_block=ae,Ne._tr_flush_block=function(se,oe,Ye,vt){var et,lt,Pt=0;0<se.level?(se.strm.data_type===2&&(se.strm.data_type=function(Mt){var kt,$t=4093624447;for(kt=0;kt<=31;kt++,$t>>>=1)if(1&$t&&Mt.dyn_ltree[2*kt]!==0)return ve;if(Mt.dyn_ltree[18]!==0||Mt.dyn_ltree[20]!==0||Mt.dyn_ltree[26]!==0)return Ae;for(kt=32;kt<Be;kt++)if(Mt.dyn_ltree[2*kt]!==0)return Ae;return ve}(se)),gn(se,se.l_desc),gn(se,se.d_desc),Pt=function(Mt){var kt;for(Se(Mt,Mt.dyn_ltree,Mt.l_desc.max_code),Se(Mt,Mt.dyn_dtree,Mt.d_desc.max_code),gn(Mt,Mt.bl_desc),kt=He-1;3<=kt&&Mt.bl_tree[2*dt[kt]+1]===0;kt--);return Mt.opt_len+=3*(kt+1)+5+5+4,kt}(se),et=se.opt_len+3+7>>>3,(lt=se.static_len+3+7>>>3)<=et&&(et=lt)):et=lt=Ye+5,Ye+4<=et&&oe!==-1?ae(se,oe,Ye,vt):se.strategy===4||lt===et?(Vt(se,2+(vt?1:0),3),Bn(se,xt,Je)):(Vt(se,4+(vt?1:0),3),function(Mt,kt,$t,Sn){var Bt;for(Vt(Mt,kt-257,5),Vt(Mt,$t-1,5),Vt(Mt,Sn-4,4),Bt=0;Bt<Sn;Bt++)Vt(Mt,Mt.bl_tree[2*dt[Bt]+1],3);Fe(Mt,Mt.dyn_ltree,kt-1),Fe(Mt,Mt.dyn_dtree,$t-1)}(se,se.l_desc.max_code+1,se.d_desc.max_code+1,Pt+1),Bn(se,se.dyn_ltree,se.dyn_dtree)),Nn(se),vt&&fn(se)},Ne._tr_tally=function(se,oe,Ye){return se.pending_buf[se.d_buf+2*se.last_lit]=oe>>>8&255,se.pending_buf[se.d_buf+2*se.last_lit+1]=255&oe,se.pending_buf[se.l_buf+se.last_lit]=255&Ye,se.last_lit++,oe===0?se.dyn_ltree[2*Ye]++:(se.matches++,oe--,se.dyn_ltree[2*(Re[Ye]+Be+1)]++,se.dyn_dtree[2*at(oe)]++),se.last_lit===se.lit_bufsize-1},Ne._tr_align=function(se){Vt(se,2,3),St(se,Ke,xt),function(oe){oe.bi_valid===16?(Yt(oe,oe.bi_buf),oe.bi_buf=0,oe.bi_valid=0):8<=oe.bi_valid&&(oe.pending_buf[oe.pending++]=255&oe.bi_buf,oe.bi_buf>>=8,oe.bi_valid-=8)}(se)}},{"../utils/common":41}],53:[function(Ue,At,Ne){"use strict";At.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(Ue,At,Ne){(function(Le){(function(ve,Ae){"use strict";if(!ve.setImmediate){var we,fe,ze,Be,_e=1,Oe={},He=!1,ke=ve.document,Te=Object.getPrototypeOf&&Object.getPrototypeOf(ve);Te=Te&&Te.setTimeout?Te:ve,we={}.toString.call(ve.process)==="[object process]"?function(qe){Me.nextTick(function(){Xe(qe)})}:function(){if(ve.postMessage&&!ve.importScripts){var qe=!0,We=ve.onmessage;return ve.onmessage=function(){qe=!1},ve.postMessage("","*"),ve.onmessage=We,qe}}()?(Be="setImmediate$"+Math.random()+"$",ve.addEventListener?ve.addEventListener("message",Ke,!1):ve.attachEvent("onmessage",Ke),function(qe){ve.postMessage(Be+qe,"*")}):ve.MessageChannel?((ze=new MessageChannel).port1.onmessage=function(qe){Xe(qe.data)},function(qe){ze.port2.postMessage(qe)}):ke&&"onreadystatechange"in ke.createElement("script")?(fe=ke.documentElement,function(qe){var We=ke.createElement("script");We.onreadystatechange=function(){Xe(qe),We.onreadystatechange=null,fe.removeChild(We),We=null},fe.appendChild(We)}):function(qe){setTimeout(Xe,0,qe)},Te.setImmediate=function(qe){typeof qe!="function"&&(qe=new Function(""+qe));for(var We=new Array(arguments.length-1),Ze=0;Ze<We.length;Ze++)We[Ze]=arguments[Ze+1];var $e={callback:qe,args:We};return Oe[_e]=$e,we(_e),_e++},Te.clearImmediate=Pe}function Pe(qe){delete Oe[qe]}function Xe(qe){if(He)setTimeout(Xe,0,qe);else{var We=Oe[qe];if(We){He=!0;try{(function(Ze){var $e=Ze.callback,rt=Ze.args;switch(rt.length){case 0:$e();break;case 1:$e(rt[0]);break;case 2:$e(rt[0],rt[1]);break;case 3:$e(rt[0],rt[1],rt[2]);break;default:$e.apply(Ae,rt)}})(We)}finally{Pe(qe),He=!1}}}}function Ke(qe){qe.source===ve&&typeof qe.data=="string"&&qe.data.indexOf(Be)===0&&Xe(+qe.data.slice(Be.length))}})(typeof self=="undefined"?Le===void 0?this:Le:self)}).call(this,typeof ce.g!="undefined"?ce.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},2859:function(Tn,Xt,ce){"use strict";ce.d(Xt,{hP:function(){return gn}});var he=function(Se,Fe){return(he=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ae){ie.__proto__=ae}||function(ie,ae){for(var se in ae)Object.prototype.hasOwnProperty.call(ae,se)&&(ie[se]=ae[se])})(Se,Fe)};function Me(Se,Fe){function ie(){this.constructor=Se}he(Se,Fe),Se.prototype=Fe===null?Object.create(Fe):(ie.prototype=Fe.prototype,new ie)}function Ue(Se,Fe,ie,ae){return new(ie||(ie=Promise))(function(se,oe){function Ye(lt){try{et(ae.next(lt))}catch(Pt){oe(Pt)}}function vt(lt){try{et(ae.throw(lt))}catch(Pt){oe(Pt)}}function et(lt){var Pt;lt.done?se(lt.value):(Pt=lt.value,Pt instanceof ie?Pt:new ie(function(Mt){Mt(Pt)})).then(Ye,vt)}et((ae=ae.apply(Se,Fe||[])).next())})}function At(Se,Fe){var ie,ae,se,oe,Ye={label:0,sent:function(){if(1&se[0])throw se[1];return se[1]},trys:[],ops:[]};return oe={next:vt(0),throw:vt(1),return:vt(2)},typeof Symbol=="function"&&(oe[Symbol.iterator]=function(){return this}),oe;function vt(et){return function(lt){return function(Pt){if(ie)throw new TypeError("Generator is already executing.");for(;Ye;)try{if(ie=1,ae&&(se=2&Pt[0]?ae.return:Pt[0]?ae.throw||((se=ae.return)&&se.call(ae),0):ae.next)&&!(se=se.call(ae,Pt[1])).done)return se;switch(ae=0,se&&(Pt=[2&Pt[0],se.value]),Pt[0]){case 0:case 1:se=Pt;break;case 4:return Ye.label++,{value:Pt[1],done:!1};case 5:Ye.label++,ae=Pt[1],Pt=[0];continue;case 7:Pt=Ye.ops.pop(),Ye.trys.pop();continue;default:if(se=Ye.trys,!((se=se.length>0&&se[se.length-1])||Pt[0]!==6&&Pt[0]!==2)){Ye=0;continue}if(Pt[0]===3&&(!se||Pt[1]>se[0]&&Pt[1]<se[3])){Ye.label=Pt[1];break}if(Pt[0]===6&&Ye.label<se[1]){Ye.label=se[1],se=Pt;break}if(se&&Ye.label<se[2]){Ye.label=se[2],Ye.ops.push(Pt);break}se[2]&&Ye.ops.pop(),Ye.trys.pop();continue}Pt=Fe.call(Se,Ye)}catch(Mt){Pt=[6,Mt],ae=0}finally{ie=se=0}if(5&Pt[0])throw Pt[1];return{value:Pt[0]?Pt[1]:void 0,done:!0}}([et,lt])}}}function Ne(){for(var Se=0,Fe=0,ie=arguments.length;Fe<ie;Fe++)Se+=arguments[Fe].length;var ae=Array(Se),se=0;for(Fe=0;Fe<ie;Fe++)for(var oe=arguments[Fe],Ye=0,vt=oe.length;Ye<vt;Ye++,se++)ae[se]=oe[Ye];return ae}var Le=function(){function Se(){}return Se.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Se.setAttributes=function(Fe,ie){for(var ae=0,se=ie;ae<se.length;ae++){var oe=se[ae],Ye=oe[0],vt=oe[1];Fe.setAttribute(Ye,vt)}},Se.createRect=function(Fe,ie,ae){var se=document.createElementNS("http://www.w3.org/2000/svg","rect");return se.setAttribute("width",Fe.toString()),se.setAttribute("height",ie.toString()),ae&&Se.setAttributes(se,ae),se},Se.createLine=function(Fe,ie,ae,se,oe){var Ye=document.createElementNS("http://www.w3.org/2000/svg","line");return Ye.setAttribute("x1",Fe.toString()),Ye.setAttribute("y1",ie.toString()),Ye.setAttribute("x2",ae.toString()),Ye.setAttribute("y2",se.toString()),oe&&Se.setAttributes(Ye,oe),Ye},Se.createPolygon=function(Fe,ie){var ae=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ae.setAttribute("points",Fe),ie&&Se.setAttributes(ae,ie),ae},Se.createCircle=function(Fe,ie){var ae=document.createElementNS("http://www.w3.org/2000/svg","circle");return ae.setAttribute("cx",(Fe/2).toString()),ae.setAttribute("cy",(Fe/2).toString()),ae.setAttribute("r",Fe.toString()),ie&&Se.setAttributes(ae,ie),ae},Se.createEllipse=function(Fe,ie,ae){var se=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return se.setAttribute("cx",(Fe/2).toString()),se.setAttribute("cy",(ie/2).toString()),se.setAttribute("rx",(Fe/2).toString()),se.setAttribute("ry",(ie/2).toString()),ae&&Se.setAttributes(se,ae),se},Se.createGroup=function(Fe){var ie=document.createElementNS("http://www.w3.org/2000/svg","g");return Fe&&Se.setAttributes(ie,Fe),ie},Se.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Se.createMarker=function(Fe,ie,ae,se,oe,Ye,vt){var et=document.createElementNS("http://www.w3.org/2000/svg","marker");return Se.setAttributes(et,[["id",Fe],["orient",ie],["markerWidth",ae.toString()],["markerHeight",se.toString()],["refX",oe.toString()],["refY",Ye.toString()]]),et.appendChild(vt),et},Se.createText=function(Fe){var ie=document.createElementNS("http://www.w3.org/2000/svg","text");return ie.setAttribute("x","0"),ie.setAttribute("y","0"),Fe&&Se.setAttributes(ie,Fe),ie},Se.createTSpan=function(Fe,ie){var ae=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ae.textContent=Fe,ie&&Se.setAttributes(ae,ie),ae},Se.createImage=function(Fe){var ie=document.createElementNS("http://www.w3.org/2000/svg","image");return Fe&&Se.setAttributes(ie,Fe),ie},Se.createPoint=function(Fe,ie){var ae=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ae.x=Fe,ae.y=ie,ae},Se.createPath=function(Fe,ie){var ae=document.createElementNS("http://www.w3.org/2000/svg","path");return ae.setAttribute("d",Fe),ie&&Se.setAttributes(ae,ie),ae},Se}(),ve=function(){function Se(){}return Se.addKey=function(Fe){Se.key=Fe},Object.defineProperty(Se,"isLicensed",{get:function(){return!!Se.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Se.key)},enumerable:!1,configurable:!0}),Se}(),Ae=function(){function Se(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Se.prototype.rasterize=function(Fe,ie,ae){var se=this;return new Promise(function(oe){var Ye=ae!==void 0?ae:document.createElement("canvas");Fe===null&&(se.markersOnly=!0,se.naturalSize=!1);var vt=document.createElementNS("http://www.w3.org/2000/svg","svg");vt.setAttribute("xmlns","http://www.w3.org/2000/svg"),vt.setAttribute("width",ie.width.baseVal.valueAsString),vt.setAttribute("height",ie.height.baseVal.valueAsString),vt.setAttribute("viewBox","0 0 "+ie.viewBox.baseVal.width.toString()+" "+ie.viewBox.baseVal.height.toString()),vt.innerHTML=ie.innerHTML,se.naturalSize===!0?(vt.width.baseVal.value=Fe.naturalWidth,vt.height.baseVal.value=Fe.naturalHeight):se.width!==void 0&&se.height!==void 0&&(vt.width.baseVal.value=se.width,vt.height.baseVal.value=se.height),Ye.width=vt.width.baseVal.value,Ye.height=vt.height.baseVal.value;var et=vt.outerHTML,lt=Ye.getContext("2d");se.markersOnly!==!0&&lt.drawImage(Fe,0,0,Ye.width,Ye.height);var Pt=window.URL,Mt=new Image(Ye.width,Ye.height);Mt.setAttribute("crossOrigin","anonymous");var kt=new Blob([et],{type:"image/svg+xml"}),$t=Pt.createObjectURL(kt);Mt.onload=function(){lt.drawImage(Mt,0,0),Pt.revokeObjectURL($t);var Sn=Ye.toDataURL(se.imageType,se.imageQuality);oe(Sn)},Mt.src=$t})},Se}(),we=function(){},fe=function(){function Se(Fe){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+Fe+"_"}return Object.defineProperty(Se.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Se.prototype.addClass=function(Fe){return this.styleSheet===void 0&&this.addStyleSheet(),Fe.name=""+this.classNamePrefix+Fe.localName,this.classes.push(Fe),this.styleSheet.sheet.insertRule("."+Fe.name+" {"+Fe.style+"}",this.styleSheet.sheet.cssRules.length),Fe},Se.prototype.addRule=function(Fe){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(Fe),this.styleSheet.sheet.insertRule(Fe.selector+" {"+Fe.style+"}",this.styleSheet.sheet.cssRules.length)},Se.prototype.addStyleSheet=function(){var Fe;this.styleSheet=document.createElement("style"),((Fe=this.styleSheetRoot)!==null&&Fe!==void 0?Fe:document.head).appendChild(this.styleSheet),this.addRule(new ze("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new ze("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new ze("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new Be("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new Be("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},Se.prototype.removeStyleSheet=function(){var Fe;this.styleSheet&&(((Fe=this.styleSheetRoot)!==null&&Fe!==void 0?Fe:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Se}(),ze=function(Se,Fe){this.selector=Se,this.style=Fe},Be=function(Se,Fe){this.localName=Se,this.style=Fe},_e=function(){function Se(Fe,ie,ae,se,oe){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=Fe,this.displayMode=ie,this.markerItems=ae,this.uiStyleSettings=se,this.styles=oe,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Se.prototype.show=function(Fe){var ie=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=Fe,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ae=document.createElement("div");ae.className=this.toolbarBlockStyleClass.name,ae.style.whiteSpace="nowrap",this.uiContainer.appendChild(ae),this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(ae,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(oe){var Ye=document.createElement("div");Ye.className=""+ie.toolbarButtonStyleClass.name,Ye.setAttribute("data-type-name",oe.typeName),Ye.innerHTML=oe.icon,Ye.addEventListener("click",function(){ie.markerToolbarButtonClicked(Ye,oe)}),ie.buttons.push(Ye),ie.markerButtons.push(Ye)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var se=document.createElement("div");se.className=this.toolbarBlockStyleClass.name,se.style.whiteSpace="nowrap",se.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(se),this.addActionButton(se,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(se,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Se.prototype.addButtonClickListener=function(Fe){this.buttonClickListeners.push(Fe)},Se.prototype.removeButtonClickListener=function(Fe){this.buttonClickListeners.indexOf(Fe)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(Fe),1)},Se.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Se.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var Fe=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ie=0;ie<this.markerButtons.length;ie++)ie<Fe||ie===Fe&&this.markerButtons.length-1===Fe?this.markerButtonBlock.appendChild(this.markerButtons[ie]):(ie===Fe&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ie]))}},Se.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},Se.prototype.resetButtonStyles=function(){var Fe=this;this.buttons.forEach(function(ie){ie.className=ie.className.replace(Fe.uiStyleSettings.toolbarButtonStyleColorsClassName?Fe.uiStyleSettings.toolbarButtonStyleColorsClassName:Fe.toolbarButtonStyleColorsClass.name,"").trim(),ie.className=ie.className.replace(Fe.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?Fe.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:Fe.toolbarActiveButtonStyleColorsClass.name,"").trim(),ie.className+=" "+(Fe.uiStyleSettings.toolbarButtonStyleColorsClassName?Fe.uiStyleSettings.toolbarButtonStyleColorsClassName:Fe.toolbarButtonStyleColorsClass.name)})},Se.prototype.addActionButton=function(Fe,ie,ae){var se=this,oe=document.createElement("div");switch(oe.className=""+this.toolbarButtonStyleClass.name,oe.innerHTML=ie,oe.setAttribute("data-action",ae),oe.addEventListener("click",function(){se.actionToolbarButtonClicked(oe,ae)}),ae){case"select":oe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":oe.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":oe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":oe.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":oe.style.fill=this.uiStyleSettings.closeButtonColor}Fe.appendChild(oe),this.buttons.push(oe)},Se.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Be("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new Be("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Be("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Be("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new Be("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var Fe=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Be("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*Fe)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*Fe)+`px;
padding: `+Fe+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Be("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Be("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ze("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new ze("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},Se.prototype.markerToolbarButtonClicked=function(Fe,ie){this.setActiveButton(Fe),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("marker",ie)}),this.markerButtonOverflowBlock.style.display="none"},Se.prototype.actionToolbarButtonClicked=function(Fe,ie){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("action",ie)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Se.prototype.setActiveButton=function(Fe){this.resetButtonStyles(),Fe.className=Fe.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),Fe.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Se.prototype.setActiveMarkerButton=function(Fe){var ie=this.markerButtons.find(function(ae){return ae.getAttribute("data-type-name")===Fe});ie&&this.setActiveButton(ie)},Se.prototype.setCurrentMarker=function(Fe){var ie=this;this.currentMarker=Fe,this.buttons.filter(function(ae){return/delete|notes/.test(ae.getAttribute("data-action"))}).forEach(function(ae){ie.currentMarker===void 0?(ae.style.fillOpacity="0.4",ae.style.pointerEvents="none"):(ae.style.fillOpacity="1",ae.style.pointerEvents="all")})},Se}(),Oe=function(){function Se(Fe,ie,ae,se){this.panels=[],this.panelButtons=[],this.markerjsContainer=Fe,this.displayMode=ie,this.uiStyleSettings=ae,this.styles=se,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Se.prototype.addStyles=function(){var Fe;this.toolboxStyleClass=this.styles.addClass(new Be("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new Be("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var ie=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Be("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Be("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Be("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new Be("toolbox-panel-row_colors",`
background-color: `+((Fe=this.uiStyleSettings.toolboxBackgroundColor)!==null&&Fe!==void 0?Fe:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Be("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
padding: `+ie+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Be("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Be("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new ze("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ze("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},Se.prototype.show=function(Fe){var ie;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=Fe,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Se.prototype.setPanelButtons=function(Fe){var ie,ae,se=this;this.panels=Fe,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ae=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ae!==void 0?ae:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(oe){var Ye;oe.uiStyleSettings=se.uiStyleSettings;var vt=document.createElement("div");vt.className=se.toolboxButtonStyleClass.name+" "+((Ye=se.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ye!==void 0?Ye:se.toolboxButtonStyleColorsClass.name),vt.innerHTML=oe.icon,vt.title=oe.title,vt.addEventListener("click",function(){se.panelButtonClick(oe)}),se.panelButtons.push(vt),se.buttonRow.appendChild(vt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Se.prototype.panelButtonClick=function(Fe){var ie=this,ae=-1;if(Fe!==this.activePanel){ae=this.panels.indexOf(Fe),this.panelRow.innerHTML="";var se=Fe.getUi();se.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(se),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=Fe}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ie.displayMode==="inline"?ie.panelRow.style.display="none":ie.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(oe,Ye){var vt,et;oe.className=ie.toolboxButtonStyleClass.name+" "+(Ye===ae?""+((vt=ie.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&vt!==void 0?vt:ie.toolboxActiveButtonStyleColorsClass.name):""+((et=ie.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&et!==void 0?et:ie.toolboxButtonStyleColorsClass.name))})},Se}(),He=function(Se,Fe){this.title=Se,this.icon=Fe},ke=function(Se){function Fe(ie,ae,se,oe){var Ye=Se.call(this,ie,oe||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return Ye.colors=[],Ye.addTransparent=!1,Ye.colorBoxes=[],Ye.colors=ae,Ye.currentColor=se,Ye.setCurrentColor=Ye.setCurrentColor.bind(Ye),Ye.getColorBox=Ye.getColorBox.bind(Ye),Ye}return Me(Fe,Se),Fe.prototype.getUi=function(){var ie=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.whiteSpace="nowrap",this.colors.forEach(function(se){var oe=ie.getColorBox(se);ae.appendChild(oe),ie.colorBoxes.push(oe)}),ae},Fe.prototype.getColorBox=function(ie){var ae=this,se=this.uiStyleSettings.toolbarHeight/4,oe=this.uiStyleSettings.toolbarHeight-se,Ye=document.createElement("div");Ye.style.display="inline-block",Ye.style.boxSizing="content-box",Ye.style.width=oe-2+"px",Ye.style.height=oe-2+"px",Ye.style.padding="1px",Ye.style.marginRight="2px",Ye.style.marginBottom="2px",Ye.style.borderWidth="2px",Ye.style.borderStyle="solid",Ye.style.borderRadius=(oe+2)/2+"px",Ye.style.borderColor=ie===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Ye.addEventListener("click",function(){ae.setCurrentColor(ie,Ye)});var vt=document.createElement("div");return vt.style.display="inline-block",vt.style.width=oe-2+"px",vt.style.height=oe-2+"px",vt.style.backgroundColor=ie,vt.style.borderRadius=oe/2+"px",ie==="transparent"&&(vt.style.fill=this.uiStyleSettings.toolboxAccentColor,vt.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),Ye.appendChild(vt),Ye},Fe.prototype.setCurrentColor=function(ie,ae){var se=this;this.currentColor=ie,this.colorBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ie)},Fe}(He),Te=function(){function Se(Fe,ie,ae){this._state="new",this._isSelected=!1,this._container=Fe,this._overlayContainer=ie,this.globalSettings=ae,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Se.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Se.prototype.ownsTarget=function(Fe){return!1},Object.defineProperty(Se.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Se.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Se.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Se.prototype.pointerDown=function(Fe,ie){},Se.prototype.dblClick=function(Fe,ie){},Se.prototype.manipulate=function(Fe){},Se.prototype.pointerUp=function(Fe){this.stateChanged()},Se.prototype.dispose=function(){},Se.prototype.addMarkerVisualToContainer=function(Fe){this.container.childNodes.length>0?this.container.insertBefore(Fe,this.container.childNodes[0]):this.container.appendChild(Fe)},Se.prototype.getState=function(){return{typeName:Se.typeName,state:this.state,notes:this.notes}},Se.prototype.restoreState=function(Fe){this._state=Fe.state,this.notes=Fe.notes},Se.prototype.scale=function(Fe,ie){},Se.prototype.colorChanged=function(Fe){this.onColorChanged&&this.onColorChanged(Fe),this.stateChanged()},Se.prototype.fillColorChanged=function(Fe){this.onFillColorChanged&&this.onFillColorChanged(Fe),this.stateChanged()},Se.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var Fe=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),Fe.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(Fe)&&this.onStateChanged(this)}},Se.typeName="MarkerBase",Se}(),Pe=function(){function Se(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Se.prototype.findGripByVisual=function(Fe){return this.topLeft.ownsTarget(Fe)?this.topLeft:this.topCenter.ownsTarget(Fe)?this.topCenter:this.topRight.ownsTarget(Fe)?this.topRight:this.centerLeft.ownsTarget(Fe)?this.centerLeft:this.centerRight.ownsTarget(Fe)?this.centerRight:this.bottomLeft.ownsTarget(Fe)?this.bottomLeft:this.bottomCenter.ownsTarget(Fe)?this.bottomCenter:this.bottomRight.ownsTarget(Fe)?this.bottomRight:void 0},Se}(),Xe=function(){function Se(){this.GRIP_SIZE=10,this.visual=Le.createGroup(),this.visual.appendChild(Le.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Le.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Se.prototype.ownsTarget=function(Fe){return Fe===this.visual||Fe===this.visual.childNodes[0]||Fe===this.visual.childNodes[1]},Se}(),Ke=function(){function Se(){}return Se.toITransformMatrix=function(Fe){return{a:Fe.a,b:Fe.b,c:Fe.c,d:Fe.d,e:Fe.e,f:Fe.f}},Se.toSVGMatrix=function(Fe,ie){return Fe.a=ie.a,Fe.b=ie.b,Fe.c=ie.c,Fe.d=ie.d,Fe.e=ie.e,Fe.f=ie.f,Fe},Se}(),qe=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.left=0,oe.top=0,oe.width=0,oe.height=0,oe.defaultSize={x:50,y:20},oe.offsetX=0,oe.offsetY=0,oe.rotationAngle=0,oe.CB_DISTANCE=10,oe._suppressMarkerCreateEvent=!1,oe.container.transform.baseVal.appendItem(Le.createTransform()),oe.setupControlBox(),oe}return Me(Fe,Se),Object.defineProperty(Fe.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"visual",{get:function(){return this._visual},set:function(ie){this._visual=ie;var ae=Le.createTransform();this._visual.transform.baseVal.appendItem(ae)},enumerable:!1,configurable:!0}),Fe.prototype.ownsTarget=function(ie){return!!Se.prototype.ownsTarget.call(this,ie)||!!(this.controlGrips.findGripByVisual(ie)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ie))},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.state==="new"&&(this.left=ie.x,this.top=ie.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var se=this.unrotatePoint(ie);if(this.manipulationStartX=se.x,this.manipulationStartY=se.y,this.offsetX=se.x-this.left,this.offsetY=se.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ae),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ae)){this.activeGrip=this.rotatorGrip;var oe=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=oe.x-this.width/2,this.top=oe.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Ye=this.container.transform.baseVal.getItem(0);Ye.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ye,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},Fe.prototype.pointerUp=function(ie){var ae=this.state;Se.prototype.pointerUp.call(this,ie),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ie),this._state="select",ae==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},Fe.prototype.moveVisual=function(ie){this.visual.style.transform="translate("+ie.x+"px, "+ie.y+"px)"},Fe.prototype.manipulate=function(ie){var ae=this.unrotatePoint(ie);this.state==="creating"?this.resize(ie):this.state==="move"?(this.left=this.manipulationStartLeft+(ae.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ae.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ae):this.state==="rotate"&&this.rotate(ie)},Fe.prototype.resize=function(ie){var ae=this.manipulationStartLeft,se=this.manipulationStartWidth,oe=this.manipulationStartTop,Ye=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ae=this.manipulationStartLeft+ie.x-this.manipulationStartX,se=this.manipulationStartWidth+this.manipulationStartLeft-ae;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:se=this.manipulationStartWidth+ie.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:oe=this.manipulationStartTop+ie.y-this.manipulationStartY,Ye=this.manipulationStartHeight+this.manipulationStartTop-oe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Ye=this.manipulationStartHeight+ie.y-this.manipulationStartY}se>=0?(this.left=ae,this.width=se):(this.left=ae+se,this.width=-se),Ye>=0?(this.top=oe,this.height=Ye):(this.top=oe+Ye,this.height=-Ye),this.setSize()},Fe.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},Fe.prototype.rotate=function(ie){if(Math.abs(ie.x-this.centerX)>.1){var ae=Math.sign(ie.x-this.centerX);this.rotationAngle=180*Math.atan((ie.y-this.centerY)/(ie.x-this.centerX))/Math.PI+90*ae,this.applyRotation()}},Fe.prototype.applyRotation=function(){var ie=this.container.transform.baseVal.getItem(0);ie.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ie,0)},Fe.prototype.rotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ae=this.container.getCTM(),se=Le.createPoint(ie.x,ie.y);return{x:(se=se.matrixTransform(ae)).x,y:se.y}},Fe.prototype.unrotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ae=this.container.getCTM();ae=ae.inverse();var se=Le.createPoint(ie.x,ie.y);return{x:(se=se.matrixTransform(ae)).x,y:se.y}},Fe.prototype.select=function(){Se.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Fe.prototype.deselect=function(){Se.prototype.deselect.call(this),this.controlBox.style.display="none"},Fe.prototype.setupControlBox=function(){this.controlBox=Le.createGroup();var ie=Le.createTransform();ie.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ie),this.container.appendChild(this.controlBox),this.controlRect=Le.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=Le.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Pe,this.addControlGrips(),this.controlBox.style.display="none"},Fe.prototype.adjustControlBox=function(){var ie=this.controlBox.transform.baseVal.getItem(0);ie.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ie,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},Fe.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},Fe.prototype.createGrip=function(){var ie=new Xe;return ie.visual.transform.baseVal.appendItem(Le.createTransform()),this.controlBox.appendChild(ie.visual),ie},Fe.prototype.positionGrips=function(){var ie=this.controlGrips.topLeft.GRIP_SIZE,ae=-ie/2,se=ae,oe=(this.width+this.CB_DISTANCE)/2-ie/2,Ye=(this.height+this.CB_DISTANCE)/2-ie/2,vt=this.height+this.CB_DISTANCE-ie/2,et=this.width+this.CB_DISTANCE-ie/2;this.positionGrip(this.controlGrips.topLeft.visual,ae,se),this.positionGrip(this.controlGrips.topCenter.visual,oe,se),this.positionGrip(this.controlGrips.topRight.visual,et,se),this.positionGrip(this.controlGrips.centerLeft.visual,ae,Ye),this.positionGrip(this.controlGrips.centerRight.visual,et,Ye),this.positionGrip(this.controlGrips.bottomLeft.visual,ae,vt),this.positionGrip(this.controlGrips.bottomCenter.visual,oe,vt),this.positionGrip(this.controlGrips.bottomRight.visual,et,vt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,oe,se-3*this.CB_DISTANCE)},Fe.prototype.positionGrip=function(ie,ae,se){var oe=ie.transform.baseVal.getItem(0);oe.setTranslate(ae,se),ie.transform.baseVal.replaceItem(oe,0)},Fe.prototype.hideControlBox=function(){this.controlBox.style.display="none"},Fe.prototype.showControlBox=function(){this.controlBox.style.display=""},Fe.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ke.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ke.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Se.prototype.getState.call(this))},Fe.prototype.restoreState=function(ie){Se.prototype.restoreState.call(this,ie);var ae=ie;this.left=ae.left,this.top=ae.top,this.width=ae.width,this.height=ae.height,this.rotationAngle=ae.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ae.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ae.containerTransformMatrix))},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae);var se=this.rotatePoint({x:this.left,y:this.top}),oe=this.unrotatePoint({x:se.x*ie,y:se.y*ae});this.left=oe.x,this.top=oe.y,this.width=this.width*ie,this.height=this.height*ae,this.adjustControlBox()},Fe}(Te),We=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.fillColor="transparent",oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.opacity=1,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setFillColor=oe.setFillColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.createVisual=oe.createVisual.bind(oe),oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},Fe.prototype.createVisual=function(){this.visual=Le.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},Fe.prototype.manipulate=function(ie){Se.prototype.manipulate.call(this,ie)},Fe.prototype.resize=function(ie){Se.prototype.resize.call(this,ie),this.setSize()},Fe.prototype.setSize=function(){Se.prototype.setSize.call(this),Le.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},Fe.prototype.pointerUp=function(ie){Se.prototype.pointerUp.call(this,ie),this.setSize()},Fe.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&Le.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},Fe.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&Le.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},Fe.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&Le.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Fe.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&Le.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Fe.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Se.prototype.getState.call(this))},Fe.prototype.restoreState=function(ie){var ae=ie;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),Se.prototype.restoreState.call(this,ie),this.setSize()},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae),this.setSize()},Fe.title="Rectangle marker",Fe}(qe),Ze=function(Se){function Fe(ie,ae,se,oe){var Ye=Se.call(this,ie,oe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Ye.widths=[],Ye.widthBoxes=[],Ye.widths=ae,Ye.currentWidth=se,Ye.setCurrentWidth=Ye.setCurrentWidth.bind(Ye),Ye}return Me(Fe,Se),Fe.prototype.getUi=function(){var ie=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.widths.forEach(function(se){var oe=document.createElement("div");oe.style.display="flex",oe.style.flexGrow="2",oe.style.alignItems="center",oe.style.justifyContent="space-between",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.borderColor=se===ie.currentWidth?ie.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){ie.setCurrentWidth(se,oe)}),ae.appendChild(oe);var Ye=document.createElement("div");Ye.innerText=se.toString(),Ye.style.marginRight="5px",oe.appendChild(Ye);var vt=document.createElement("div");vt.style.minHeight="20px",vt.style.flexGrow="2",vt.style.display="flex",vt.style.alignItems="center";var et=document.createElement("hr");et.style.minWidth="20px",et.style.border="0px",et.style.borderTop=se+"px solid "+ie.uiStyleSettings.toolboxColor,et.style.flexGrow="2",vt.appendChild(et),oe.appendChild(vt),ie.widthBoxes.push(oe)}),ae},Fe.prototype.setCurrentWidth=function(ie,ae){var se=this;this.currentWidth=ie,this.widthBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},Fe}(He),$e=function(Se){function Fe(ie,ae,se,oe){var Ye=Se.call(this,ie,oe||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return Ye.styles=[],Ye.styleBoxes=[],Ye.styles=ae,Ye.currentStyle=se,Ye.setCurrentStyle=Ye.setCurrentStyle.bind(Ye),Ye}return Me(Fe,Se),Fe.prototype.getUi=function(){var ie=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.styles.forEach(function(se){var oe=document.createElement("div");oe.style.display="flex",oe.style.alignItems="center",oe.style.justifyContent="space-between",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.overflow="hidden",oe.style.maxWidth=100/ie.styles.length-5+"%",oe.style.borderColor=se===ie.currentStyle?ie.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){ie.setCurrentStyle(se,oe)}),ae.appendChild(oe);var Ye=document.createElement("div");Ye.style.minHeight="20px",Ye.style.flexGrow="2",Ye.style.overflow="hidden";var vt=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ie.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(se!==""?'stroke-dasharray="'+se+'"':"")+` />
</svg>`;Ye.innerHTML=vt,oe.appendChild(Ye),ie.styleBoxes.push(oe)}),ae},Fe.prototype.setCurrentStyle=function(ie,ae){var se=this;this.currentStyle=ie,this.styleBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},Fe}(He),rt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.strokeColor=se.defaultColor,oe.strokeWidth=se.defaultStrokeWidth,oe.strokeDasharray=se.defaultStrokeDasharray,oe.strokePanel=new ke("Line color",se.defaultColorSet,se.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.strokeWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new $e("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe}return Me(Fe,Se),Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Se.prototype.getState.call(this);return ie.typeName=Fe.typeName,ie},Fe.typeName="FrameMarker",Fe.title="Frame marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',Fe}(We),ht=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},dt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.x1=0,oe.y1=0,oe.x2=0,oe.y2=0,oe.defaultLength=50,oe.manipulationStartX=0,oe.manipulationStartY=0,oe.manipulationStartX1=0,oe.manipulationStartY1=0,oe.manipulationStartX2=0,oe.manipulationStartY2=0,oe.setupControlBox(),oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!!Se.prototype.ownsTarget.call(this,ie)||!(!this.grip1.ownsTarget(ie)&&!this.grip2.ownsTarget(ie))},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.manipulationStartX=ie.x,this.manipulationStartY=ie.y,this.state==="new"&&(this.x1=ie.x,this.y1=ie.y,this.x2=ie.x,this.y2=ie.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ae)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ae)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},Fe.prototype.pointerUp=function(ie){var ae=this.state;Se.prototype.pointerUp.call(this,ie),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(ie),this._state="select",ae==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},Fe.prototype.adjustVisual=function(){},Fe.prototype.manipulate=function(ie){this.state==="creating"?this.resize(ie):this.state==="move"?(this.x1=this.manipulationStartX1+ie.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ie.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ie.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ie.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ie)},Fe.prototype.resize=function(ie){switch(this.activeGrip){case this.grip1:this.x1=ie.x,this.y1=ie.y;break;case this.grip2:case void 0:this.x2=ie.x,this.y2=ie.y}this.adjustVisual(),this.adjustControlBox()},Fe.prototype.select=function(){Se.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Fe.prototype.deselect=function(){Se.prototype.deselect.call(this),this.controlBox.style.display="none"},Fe.prototype.setupControlBox=function(){this.controlBox=Le.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},Fe.prototype.adjustControlBox=function(){this.positionGrips()},Fe.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},Fe.prototype.createGrip=function(){var ie=new Xe;return ie.visual.transform.baseVal.appendItem(Le.createTransform()),this.controlBox.appendChild(ie.visual),ie},Fe.prototype.positionGrips=function(){var ie=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ie/2,this.y1-ie/2),this.positionGrip(this.grip2.visual,this.x2-ie/2,this.y2-ie/2)},Fe.prototype.positionGrip=function(ie,ae,se){var oe=ie.transform.baseVal.getItem(0);oe.setTranslate(ae,se),ie.transform.baseVal.replaceItem(oe,0)},Fe.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Se.prototype.getState.call(this))},Fe.prototype.restoreState=function(ie){Se.prototype.restoreState.call(this,ie);var ae=ie;this.x1=ae.x1,this.y1=ae.y1,this.x2=ae.x2,this.y2=ae.y2},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae),this.x1=this.x1*ie,this.y1=this.y1*ae,this.x2=this.x2*ie,this.y2=this.y2*ae,this.adjustVisual(),this.adjustControlBox()},Fe}(Te),xt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.strokeColor=se.defaultColor,oe.strokeWidth=se.defaultStrokeWidth,oe.strokeDasharray=se.defaultStrokeDasharray,oe.strokePanel=new ke("Line color",se.defaultColorSet,se.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.strokeWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new $e("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorLine&&ie!==this.visibleLine)},Fe.prototype.createVisual=function(){this.visual=Le.createGroup(),this.selectorLine=Le.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Le.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},Fe.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),Le.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Le.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Le.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Fe.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},Fe.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},Fe.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Se.prototype.getState.call(this));return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){Se.prototype.restoreState.call(this,ie);var ae=ie;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.createVisual(),this.adjustVisual()},Fe.typeName="LineMarker",Fe.title="Line marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',Fe}(dt),Je=function(Se){function Fe(ie,ae,se,oe){var Ye=Se.call(this,ie,oe||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return Ye.fonts=[],Ye.fontBoxes=[],Ye.fonts=ae,Ye.currentFont=se,Ye.setCurrentFont=Ye.setCurrentFont.bind(Ye),Ye}return Me(Fe,Se),Fe.prototype.getUi=function(){var ie=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.flexGrow="2",this.fonts.forEach(function(se){var oe=document.createElement("div");oe.style.display="inline-block",oe.style.alignItems="center",oe.style.justifyContent="space-between",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.overflow="hidden",oe.style.maxWidth=100/ie.fonts.length-5+"%",oe.style.borderColor=se===ie.currentFont?ie.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){ie.setCurrentFont(se,oe)}),ae.appendChild(oe);var Ye=document.createElement("div");Ye.style.display="flex",Ye.style.minHeight="20px",Ye.style.flexGrow="2",Ye.style.fontFamily=se,Ye.style.overflow="hidden";var vt=document.createElement("div");vt.style.whiteSpace="nowrap",vt.style.overflow="hidden",vt.style.textOverflow="ellipsis",vt.innerHTML="The quick brown fox jumps over the lazy dog",Ye.appendChild(vt),oe.appendChild(Ye),ie.fontBoxes.push(oe)}),ae},Fe.prototype.setCurrentFont=function(ie,ae){var se=this;this.currentFont=ie,this.fontBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},Fe}(He),Lt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.color="transparent",oe.padding=5,oe.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",oe.text=oe.DEFAULT_TEXT,oe.isMoved=!1,oe.color=se.defaultColor,oe.fontFamily=se.defaultFontFamily,oe.defaultSize={x:100,y:30},oe.setColor=oe.setColor.bind(oe),oe.setFont=oe.setFont.bind(oe),oe.renderText=oe.renderText.bind(oe),oe.sizeText=oe.sizeText.bind(oe),oe.textEditDivClicked=oe.textEditDivClicked.bind(oe),oe.showTextEditor=oe.showTextEditor.bind(oe),oe.setSize=oe.setSize.bind(oe),oe.positionTextEditor=oe.positionTextEditor.bind(oe),oe.colorPanel=new ke("Color",se.defaultColorSet,se.defaultColor),oe.colorPanel.onColorChanged=oe.setColor,oe.fontFamilyPanel=new Je("Font",se.defaultFontFamilies,se.defaultFontFamily),oe.fontFamilyPanel.onFontChanged=oe.setFont,oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){if(Se.prototype.ownsTarget.call(this,ie)||ie===this.visual||ie===this.textElement||ie===this.bgRectangle)return!0;var ae=!1;return this.textElement.childNodes.forEach(function(se){se===ie&&(ae=!0)}),ae},Fe.prototype.createVisual=function(){this.visual=Le.createGroup(),this.bgRectangle=Le.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Le.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Le.createTransform()),this.textElement.transform.baseVal.appendItem(Le.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},Fe.prototype.renderText=function(){var ie=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ae){ie.textElement.appendChild(Le.createTSpan(ae.trim()===""?" ":ae.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},Fe.prototype.getTextScale=function(){var ie=this.textElement.getBBox(),ae=1;if(ie.width>0&&ie.height>0){var se=(1*this.width-this.width*this.padding*2/100)/ie.width,oe=(1*this.height-this.height*this.padding*2/100)/ie.height;ae=Math.min(se,oe)}return ae},Fe.prototype.getTextPosition=function(ie){var ae=this.textElement.getBBox(),se=0,oe=0;return ae.width>0&&ae.height>0&&(se=(this.width-ae.width*ie)/2,oe=this.height/2-ae.height*ie/2),{x:se,y:oe}},Fe.prototype.sizeText=function(){var ie=this.textElement.getBBox(),ae=this.getTextScale(),se=this.getTextPosition(ae);se.y-=ie.y*ae,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+se.x+"px, "+se.y+"px) scale("+ae+", "+ae+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(se.x,se.y),this.textElement.transform.baseVal.getItem(1).setScale(ae,ae))},Fe.prototype.manipulate=function(ie){Se.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},Fe.prototype.resize=function(ie){Se.prototype.resize.call(this,ie),this.isMoved=!0,this.setSize(),this.sizeText()},Fe.prototype.setSize=function(){Se.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Le.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Le.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},Fe.prototype.pointerUp=function(ie){var ae=this.state;ae==="creating"&&(this._suppressMarkerCreateEvent=!0),Se.prototype.pointerUp.call(this,ie),this.setSize(),(ae==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},Fe.prototype.showTextEditor=function(){var ie=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ae){ae.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ae=Number.parseFloat(ie.textEditor.style.fontSize);ie.textEditor.clientWidth>=Number.parseInt(ie.textEditor.style.maxWidth)&&ae>.9;)ae-=.1,ie.textEditor.style.fontSize=Math.max(ae,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ae){if(ae.clipboardData){var se=ae.clipboardData.getData("text"),oe=window.getSelection();if(!oe.rangeCount)return!1;oe.deleteFromDocument(),oe.getRangeAt(0).insertNode(document.createTextNode(se)),ae.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ie.textEditDivClicked(ie.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},Fe.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ie=this.getTextScale(),ae=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),se=this.textElement.getBBox(),oe={x:se.width*ie,y:se.height*ie};ae.x-=oe.x/2,ae.y-=oe.y/2,this.textEditor.style.top=ae.y+"px",this.textEditor.style.left=ae.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ae.x+"px",this.textEditor.style.fontSize=Math.max(16*ie,12)+"px",this.textElement.style.display="none"}},Fe.prototype.textEditDivClicked=function(ie){this.text=ie.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},Fe.prototype.select=function(){Se.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},Fe.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Se.prototype.deselect.call(this)},Fe.prototype.dblClick=function(ie,ae){Se.prototype.dblClick.call(this,ie,ae),this.showTextEditor()},Fe.prototype.setColor=function(ie){this.textElement&&Le.setAttributes(this.textElement,[["fill",ie]]),this.color=ie,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ie)},Fe.prototype.setFont=function(ie){this.textElement&&Le.setAttributes(this.textElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},Fe.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},Fe.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Se.prototype.getState.call(this));return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){var ae=ie;this.color=ae.color,this.fontFamily=ae.fontFamily,this.padding=ae.padding,this.text=ae.text,this.createVisual(),Se.prototype.restoreState.call(this,ie),this.setSize()},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae),this.setSize(),this.sizeText(),this.positionTextEditor()},Fe.typeName="TextMarker",Fe.title="Text marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',Fe}(qe),Re=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.color="transparent",oe.lineWidth=3,oe.drawing=!1,oe.pixelRatio=1,oe.color=se.defaultColor,oe.lineWidth=se.defaultStrokeWidth,oe.pixelRatio=se.freehandPixelRatio,oe.setColor=oe.setColor.bind(oe),oe.addCanvas=oe.addCanvas.bind(oe),oe.finishCreation=oe.finishCreation.bind(oe),oe.setLineWidth=oe.setLineWidth.bind(oe),oe.colorPanel=new ke("Color",se.defaultColorSet,se.defaultColor),oe.colorPanel.onColorChanged=oe.setColor,oe.lineWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.lineWidthPanel.onWidthChanged=oe.setLineWidth,oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.drawingImage)},Fe.prototype.createVisual=function(){this.visual=Le.createGroup(),this.drawingImage=Le.createImage(),this.visual.appendChild(this.drawingImage);var ie=Le.createTransform();this.visual.transform.baseVal.appendItem(ie),this.addMarkerVisualToContainer(this.visual)},Fe.prototype.pointerDown=function(ie,ae){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(ie.x,ie.y),this.drawing=!0):Se.prototype.pointerDown.call(this,ie,ae)},Fe.prototype.manipulate=function(ie){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ie.x,ie.y),this.canvasContext.stroke()):Se.prototype.manipulate.call(this,ie)},Fe.prototype.resize=function(ie){Se.prototype.resize.call(this,ie),Le.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Le.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},Fe.prototype.pointerUp=function(ie){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Se.prototype.pointerUp.call(this,ie)},Fe.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},Fe.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Se.prototype.select.call(this)},Fe.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Se.prototype.deselect.call(this)},Fe.prototype.finishCreation=function(){for(var ie=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ae=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],se=ae[0],oe=ae[1],Ye=ae[2],vt=ae[3],et=!1,lt=0;lt<this.canvasElement.height;lt++)for(var Pt=0;Pt<this.canvasElement.width;Pt++)ie.data[lt*this.canvasElement.width*4+4*Pt+3]>0&&(et=!0,lt<oe&&(oe=lt),Pt<se&&(se=Pt),lt>vt&&(vt=lt),Pt>Ye&&(Ye=Pt));if(et){this.left=se/this.pixelRatio,this.top=oe/this.pixelRatio,this.width=(Ye-se)/this.pixelRatio,this.height=(vt-oe)/this.pixelRatio;var Mt=document.createElement("canvas");Mt.width=Ye-se,Mt.height=vt-oe,Mt.getContext("2d").putImageData(this.canvasContext.getImageData(se,oe,Ye-se,vt-oe),0,0),this.drawingImgUrl=Mt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},Fe.prototype.setDrawingImage=function(){Le.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Le.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},Fe.prototype.setColor=function(ie){this.color=ie,this.colorChanged(ie)},Fe.prototype.setLineWidth=function(ie){this.lineWidth=ie},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Object.assign({drawingImgUrl:this.drawingImgUrl},Se.prototype.getState.call(this));return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){this.createVisual(),Se.prototype.restoreState.call(this,ie),this.drawingImgUrl=ie.drawingImgUrl,this.setDrawingImage()},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae),this.setDrawingImage()},Fe.typeName="FreehandMarker",Fe.title="Freehand marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',Fe}(qe),Rt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,se||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return oe.typeBoxes=[],oe.currentType=ae,oe.setCurrentType=oe.setCurrentType.bind(oe),oe}return Me(Fe,Se),Fe.prototype.getUi=function(){var ie=this,ae=document.createElement("div");ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2";for(var se=function(vt){var et="both";switch(vt){case 0:et="both";break;case 1:et="start";break;case 2:et="end";break;case 3:et="none"}var lt=document.createElement("div");if(lt.style.display="flex",lt.style.flexGrow="2",lt.style.alignItems="center",lt.style.justifyContent="space-between",lt.style.padding="5px",lt.style.borderWidth="2px",lt.style.borderStyle="solid",lt.style.borderColor=et===oe.currentType?oe.uiStyleSettings.toolboxAccentColor:"transparent",lt.addEventListener("click",function(){ie.setCurrentType(et,lt)}),ae.appendChild(lt),et==="both"||et==="start"){var Pt=document.createElement("div");Pt.style.display="flex",Pt.style.alignItems="center",Pt.style.minHeight="20px",Pt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(oe.uiStyleSettings!==void 0?oe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Pt.style.marginLeft="5px",lt.appendChild(Pt)}var Mt=document.createElement("div");Mt.style.display="flex",Mt.style.alignItems="center",Mt.style.minHeight="20px",Mt.style.flexGrow="2";var kt=document.createElement("hr");if(kt.style.minWidth="20px",kt.style.border="0px",kt.style.borderTop="3px solid "+(oe.uiStyleSettings!==void 0?oe.uiStyleSettings.toolboxColor:"#eeeeee"),kt.style.flexGrow="2",Mt.appendChild(kt),lt.appendChild(Mt),et==="both"||et==="end"){var $t=document.createElement("div");$t.style.display="flex",$t.style.alignItems="center",$t.style.minHeight="20px",$t.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(oe.uiStyleSettings!==void 0?oe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,$t.style.marginRight="5px",lt.appendChild($t)}oe.typeBoxes.push(lt)},oe=this,Ye=0;Ye<4;Ye++)se(Ye);return ae},Fe.prototype.setCurrentType=function(ie,ae){var se=this;this.currentType=ie,this.typeBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},Fe}(He),Ft=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.arrowType="end",oe.arrowBaseHeight=10,oe.arrowBaseWidth=10,oe.getArrowPoints=oe.getArrowPoints.bind(oe),oe.setArrowType=oe.setArrowType.bind(oe),oe.arrowTypePanel=new Rt("Arrow type","end"),oe.arrowTypePanel.onArrowTypeChanged=oe.setArrowType,oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.arrow1&&ie!==this.arrow2)},Fe.prototype.getArrowPoints=function(ie,ae){var se=this.arrowBaseWidth+2*this.strokeWidth,oe=this.arrowBaseHeight+2*this.strokeWidth;return ie-se/2+","+(ae+oe/2)+" "+ie+","+(ae-oe/2)+" "+(ie+se/2)+","+(ae+oe/2)},Fe.prototype.createTips=function(){this.arrow1=Le.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Le.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Le.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Le.createTransform()),this.visual.appendChild(this.arrow2)},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.state==="creating"&&this.createTips()},Fe.prototype.adjustVisual=function(){if(Se.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",Le.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Le.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ie=0;Math.abs(this.x1-this.x2)>.1&&(ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ae=this.arrow1.transform.baseVal.getItem(0);ae.setRotate(ie,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ae,0);var se=this.arrow2.transform.baseVal.getItem(0);se.setRotate(ie+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(se,0)}},Fe.prototype.setArrowType=function(ie){this.arrowType=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Object.assign({arrowType:this.arrowType},Se.prototype.getState.call(this));return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){Se.prototype.restoreState.call(this,ie);var ae=ie;this.arrowType=ae.arrowType,this.createTips(),this.adjustVisual()},Fe.typeName="ArrowMarker",Fe.title="Arrow marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',Fe}(xt),bt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.fillColor=se.defaultFillColor,oe.strokeWidth=0,oe.fillPanel=new ke("Color",se.defaultColorSet,se.defaultFillColor),oe.fillPanel.onColorChanged=oe.setFillColor,oe}return Me(Fe,Se),Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Se.prototype.getState.call(this);return ie.typeName=Fe.typeName,ie},Fe.typeName="CoverMarker",Fe.title="Cover marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',Fe}(We),Tt=function(Se){function Fe(ie,ae,se,oe){var Ye=Se.call(this,ie,oe||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return Ye.opacities=[],Ye.opacityBoxes=[],Ye.opacities=ae,Ye.currentOpacity=se,Ye.setCurrentOpacity=Ye.setCurrentOpacity.bind(Ye),Ye}return Me(Fe,Se),Fe.prototype.getUi=function(){var ie=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",ae.style.justifyContent="space-between",this.opacities.forEach(function(se){var oe=document.createElement("div");oe.style.display="flex",oe.style.alignItems="center",oe.style.justifyContent="center",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.borderColor=se===ie.currentOpacity?ie.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){ie.setCurrentOpacity(se,oe)}),ae.appendChild(oe);var Ye=document.createElement("div");Ye.innerText=100*se+"%",oe.appendChild(Ye),ie.opacityBoxes.push(oe)}),ae},Fe.prototype.setCurrentOpacity=function(ie,ae){var se=this;this.currentOpacity=ie,this.opacityBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},Fe}(He),wt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.setOpacity=oe.setOpacity.bind(oe),oe.fillColor=se.defaultHighlightColor,oe.strokeWidth=0,oe.opacity=se.defaultHighlightOpacity,oe.fillPanel=new ke("Color",se.defaultColorSet,oe.fillColor),oe.fillPanel.onColorChanged=oe.setFillColor,oe.opacityPanel=new Tt("Opacity",se.defaultOpacitySteps,oe.opacity),oe.opacityPanel.onOpacityChanged=oe.setOpacity,oe}return Me(Fe,Se),Fe.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&Le.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Se.prototype.getState.call(this);return ie.typeName=Fe.typeName,ie},Fe.typeName="HighlightMarker",Fe.title="Highlight marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',Fe}(bt),it='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',je='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',at=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.bgColor="transparent",oe.tipPosition={x:0,y:0},oe.tipBase1Position={x:0,y:0},oe.tipBase2Position={x:0,y:0},oe.tipMoving=!1,oe.color=se.defaultStrokeColor,oe.bgColor=se.defaultFillColor,oe.fontFamily=se.defaultFontFamily,oe.defaultSize={x:100,y:30},oe.setBgColor=oe.setBgColor.bind(oe),oe.getTipPoints=oe.getTipPoints.bind(oe),oe.positionTip=oe.positionTip.bind(oe),oe.setTipPoints=oe.setTipPoints.bind(oe),oe.colorPanel=new ke("Text color",se.defaultColorSet,oe.color,it),oe.colorPanel.onColorChanged=oe.setColor,oe.bgColorPanel=new ke("Fill color",se.defaultColorSet,oe.bgColor,je),oe.bgColorPanel.onColorChanged=oe.setBgColor,oe.fontFamilyPanel=new Je("Font",se.defaultFontFamilies,se.defaultFontFamily),oe.fontFamilyPanel.onFontChanged=oe.setFont,oe.tipGrip=new Xe,oe.tipGrip.visual.transform.baseVal.appendItem(Le.createTransform()),oe.controlBox.appendChild(oe.tipGrip.visual),oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return Se.prototype.ownsTarget.call(this,ie)||this.tipGrip.ownsTarget(ie)||this.tip===ie},Fe.prototype.createTip=function(){Le.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Le.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},Fe.prototype.pointerDown=function(ie,ae){this.state==="new"&&Se.prototype.pointerDown.call(this,ie,ae),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ae)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Se.prototype.pointerDown.call(this,ie,ae)},Fe.prototype.pointerUp=function(ie){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Se.prototype.pointerUp.call(this,ie);else{var ae=this.state==="creating";Se.prototype.pointerUp.call(this,ie),this.setTipPoints(ae),this.positionTip()}},Fe.prototype.manipulate=function(ie){if(this.tipMoving){var ae=this.unrotatePoint(ie);this.tipPosition={x:ae.x-this.manipulationStartLeft,y:ae.y-this.manipulationStartTop},this.positionTip()}else Se.prototype.manipulate.call(this,ie)},Fe.prototype.setBgColor=function(ie){this.bgRectangle&&this.tip&&(Le.setAttributes(this.bgRectangle,[["fill",ie]]),Le.setAttributes(this.tip,[["fill",ie]])),this.bgColor=ie,this.fillColorChanged(ie)},Fe.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},Fe.prototype.setTipPoints=function(ie){ie===void 0&&(ie=!1);var ae=Math.min(this.height/2,15),se=this.height/5;ie&&(this.tipPosition={x:ae+se/2,y:this.height+20});var oe=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?oe<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(se=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:0},this.tipBase2Position={x:ae+se,y:0}):(this.tipBase1Position={x:0,y:ae},this.tipBase2Position={x:0,y:ae+se}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?oe<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(se=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-se,y:0},this.tipBase2Position={x:this.width-ae,y:0}):(this.tipBase1Position={x:this.width,y:ae},this.tipBase2Position={x:this.width,y:ae+se}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?oe<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(se=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-se,y:this.height},this.tipBase2Position={x:this.width-ae,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ae-se},this.tipBase2Position={x:this.width,y:this.height-ae}):oe<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(se=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:this.height},this.tipBase2Position={x:ae+se,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ae},this.tipBase2Position={x:0,y:this.height-ae-se})},Fe.prototype.resize=function(ie){Se.prototype.resize.call(this,ie),this.positionTip()},Fe.prototype.positionTip=function(){Le.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ie=this.tipGrip.visual.transform.baseVal.getItem(0);ie.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ie,0)},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Fe.prototype.select=function(){this.positionTip(),Se.prototype.select.call(this)},Fe.prototype.getState=function(){var ie=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Se.prototype.getState.call(this));return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){var ae=ie;this.bgColor=ae.bgColor,this.tipPosition=ae.tipPosition,Se.prototype.restoreState.call(this,ie),this.createTip(),this.setTipPoints()},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae),this.tipPosition={x:this.tipPosition.x*ie,y:this.tipPosition.y*ae},this.positionTip()},Fe.typeName="CalloutMarker",Fe.title="Callout marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',Fe}(Lt),Yt=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.fillColor="transparent",oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.opacity=1,oe.strokeColor=se.defaultColor,oe.strokeWidth=se.defaultStrokeWidth,oe.strokeDasharray=se.defaultStrokeDasharray,oe.fillColor=se.defaultFillColor,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setFillColor=oe.setFillColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.setOpacity=oe.setOpacity.bind(oe),oe.createVisual=oe.createVisual.bind(oe),oe.strokePanel=new ke("Line color",Ne(se.defaultColorSet,["transparent"]),se.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.fillPanel=new ke("Fill color",Ne(se.defaultColorSet,["transparent"]),oe.fillColor,je),oe.fillPanel.onColorChanged=oe.setFillColor,oe.strokeWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new $e("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe.opacityPanel=new Tt("Opacity",se.defaultOpacitySteps,oe.opacity),oe.opacityPanel.onOpacityChanged=oe.setOpacity,oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},Fe.prototype.createVisual=function(){this.visual=Le.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},Fe.prototype.manipulate=function(ie){Se.prototype.manipulate.call(this,ie)},Fe.prototype.resize=function(ie){Se.prototype.resize.call(this,ie),this.setSize()},Fe.prototype.setSize=function(){Se.prototype.setSize.call(this),Le.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},Fe.prototype.pointerUp=function(ie){Se.prototype.pointerUp.call(this,ie),this.setSize()},Fe.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&Le.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},Fe.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&Le.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},Fe.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&Le.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Fe.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&Le.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Fe.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&Le.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Se.prototype.getState.call(this));return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){var ae=ie;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),Se.prototype.restoreState.call(this,ie),this.setSize()},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae),this.setSize()},Fe.typeName="EllipseMarker",Fe.title="Ellipse marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',Fe}(qe),Vt=function(Se){function Fe(ie,ae,se){return Se.call(this,ie,ae,se)||this}return Me(Fe,Se),Object.defineProperty(Fe.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.tip1&&ie!==this.tip2)},Fe.prototype.createTips=function(){this.tip1=Le.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(Le.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Le.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(Le.createTransform()),this.visual.appendChild(this.tip2)},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.state==="creating"&&this.createTips()},Fe.prototype.adjustVisual=function(){if(Se.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Le.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Le.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ae=this.tip1.transform.baseVal.getItem(0);ae.setRotate(ie,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ae,0);var se=this.tip2.transform.baseVal.getItem(0);se.setRotate(ie+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(se,0)}},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Se.prototype.getState.call(this);return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){Se.prototype.restoreState.call(this,ie),this.createTips(),this.adjustVisual()},Fe.typeName="MeasurementMarker",Fe.title="Measurement marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',Fe}(xt),St=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.strokePanel.colors=se.defaultColorSet,oe.fillColor="transparent",oe}return Me(Fe,Se),Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Se.prototype.getState.call(this);return ie.typeName=Fe.typeName,ie},Fe.typeName="EllipseFrameMarker",Fe.title="Ellipse frame marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',Fe}(Yt),Qt=function(){function Se(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Se.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Se.prototype.addUndoStep=function(Fe){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(Fe)||(this.undoStack.push(Fe),JSON.stringify(this.lastRedoStep)!==JSON.stringify(Fe)&&this.redoStack.splice(0,this.redoStack.length))},Se.prototype.replaceLastUndoStep=function(Fe){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=Fe)},Se.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Se.prototype.undo=function(){if(this.undoStack.length>1){var Fe=this.undoStack.pop();return Fe!==void 0&&this.redoStack.push(Fe),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Se.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Se}(),cn=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.curveX=0,oe.curveY=0,oe.manipulationStartCurveX=0,oe.manipulationStartCurveY=0,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.positionGrips=oe.positionGrips.bind(oe),oe.addControlGrips=oe.addControlGrips.bind(oe),oe.adjustVisual=oe.adjustVisual.bind(oe),oe.setupControlBox=oe.setupControlBox.bind(oe),oe.resize=oe.resize.bind(oe),oe.strokeColor=se.defaultColor,oe.strokeWidth=se.defaultStrokeWidth,oe.strokeDasharray=se.defaultStrokeDasharray,oe.strokePanel=new ke("Line color",se.defaultColorSet,se.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.strokeWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new $e("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorCurve&&ie!==this.visibleCurve&&!this.curveGrip.ownsTarget(ie))},Fe.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},Fe.prototype.createVisual=function(){this.visual=Le.createGroup(),this.selectorCurve=Le.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Le.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ie.x,this.curveY=ie.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ae)&&(this.activeGrip=this.curveGrip,this._state="resize")},Fe.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Le.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Le.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Le.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Fe.prototype.setupControlBox=function(){Se.prototype.setupControlBox.call(this),this.curveControlLine1=Le.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Le.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},Fe.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Se.prototype.addControlGrips.call(this)},Fe.prototype.positionGrips=function(){Se.prototype.positionGrips.call(this);var ie=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ie/2,this.curveY-ie/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},Fe.prototype.manipulate=function(ie){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ie.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ie.y-this.manipulationStartY),Se.prototype.manipulate.call(this,ie)},Fe.prototype.resize=function(ie){this.activeGrip===this.curveGrip&&(this.curveX=ie.x,this.curveY=ie.y),Se.prototype.resize.call(this,ie),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},Fe.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},Fe.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},Fe.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual()},Fe.prototype.scale=function(ie,ae){this.curveX=this.curveX*ie,this.curveY=this.curveY*ae,Se.prototype.scale.call(this,ie,ae)},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Se.prototype.getState.call(this));return ie.typeName=Fe.typeName,ie},Fe.prototype.restoreState=function(ie){Se.prototype.restoreState.call(this,ie);var ae=ie;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.curveX=ae.curveX,this.curveY=ae.curveY,this.createVisual(),this.adjustVisual()},Fe.typeName="CurveMarker",Fe.title="Curve marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',Fe}(dt),Nn=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,ae,se)||this;return oe.fillColor="transparent",oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.textColor="transparent",oe.fontSize="1rem",oe.isMoved=!1,oe.captionText="Caption",oe.PADDING=5,oe.captionBoxWidth=0,oe.captionBoxHeight=0,oe.strokeColor=se.defaultColor,oe.strokeWidth=se.defaultStrokeWidth,oe.strokeDasharray=se.defaultStrokeDasharray,oe.fillColor=se.defaultFillColor,oe.textColor=se.defaultStrokeColor,oe.fontFamily=se.defaultFontFamily,oe.fontSize=se.defaultCaptionFontSize,oe.captionText=se.defaultCaptionText,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setFillColor=oe.setFillColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.createVisual=oe.createVisual.bind(oe),oe.sizeCaption=oe.sizeCaption.bind(oe),oe.setCaptionText=oe.setCaptionText.bind(oe),oe.showTextEditor=oe.showTextEditor.bind(oe),oe.positionTextEditor=oe.positionTextEditor.bind(oe),oe.finishTextEditing=oe.finishTextEditing.bind(oe),oe.setFont=oe.setFont.bind(oe),oe.setTextColor=oe.setTextColor.bind(oe),oe.strokePanel=new ke("Line color",Ne(se.defaultColorSet,["transparent"]),oe.strokeColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.fillPanel=new ke("Fill color",Ne(se.defaultColorSet,["transparent"]),oe.fillColor,je),oe.fillPanel.onColorChanged=oe.setFillColor,oe.strokeWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new $e("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe.fontFamilyPanel=new Je("Font",se.defaultFontFamilies,se.defaultFontFamily),oe.fontFamilyPanel.onFontChanged=oe.setFont,oe.textColorPanel=new ke("Text color",se.defaultColorSet,oe.textColor,it),oe.textColorPanel.onColorChanged=oe.setTextColor,oe}return Me(Fe,Se),Fe.prototype.ownsTarget=function(ie){return!(!Se.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.frame&&ie!==this.captionBg&&ie!==this.captionElement)},Fe.prototype.createVisual=function(){this.visual=Le.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Le.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Le.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=Le.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},Fe.prototype.setCaptionText=function(ie){this.captionText=ie,this.captionElement.textContent=this.captionText,this.sizeCaption()},Fe.prototype.pointerDown=function(ie,ae){Se.prototype.pointerDown.call(this,ie,ae),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},Fe.prototype.manipulate=function(ie){Se.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},Fe.prototype.resize=function(ie){Se.prototype.resize.call(this,ie),this.setSize()},Fe.prototype.sizeCaption=function(){var ie=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ie.width+2*this.PADDING,this.captionBoxHeight=ie.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Le.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),Le.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},Fe.prototype.showTextEditor=function(){var ie=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ae){ae.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ae){ae.key==="Enter"&&ie.finishTextEditing(ie.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},Fe.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},Fe.prototype.finishTextEditing=function(ie){this.setCaptionText(ie.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},Fe.prototype.setFont=function(ie){this.captionElement&&Le.setAttributes(this.captionElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},Fe.prototype.setTextColor=function(ie){this.captionElement&&Le.setAttributes(this.captionElement,[["fill",ie]]),this.textColor=ie,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},Fe.prototype.setSize=function(){Se.prototype.setSize.call(this),Le.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},Fe.prototype.pointerUp=function(ie){Se.prototype.pointerUp.call(this,ie),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},Fe.prototype.dblClick=function(ie,ae){Se.prototype.dblClick.call(this,ie,ae),this.showTextEditor()},Fe.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.frame&&Le.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},Fe.prototype.setFillColor=function(ie){this.fillColor=ie,this.captionBg&&Le.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},Fe.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.frame&&Le.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Fe.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.frame&&Le.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),Fe.prototype.getState=function(){var ie=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Se.prototype.getState.call(this));return ie.typeName=this.typeName,ie},Fe.prototype.restoreState=function(ie){var ae=ie;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.textColor=ae.textColor,this.fontFamily=ae.fontFamily,this.captionText=ae.captionText,this.fontSize=ae.fontSize,this.createVisual(),Se.prototype.restoreState.call(this,ie),this.setSize()},Fe.prototype.scale=function(ie,ae){Se.prototype.scale.call(this,ie,ae),this.setSize()},Fe.typeName="CaptionFrameMarker",Fe.title="Caption frame marker",Fe.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',Fe}(qe),fn=function(){function Se(Fe,ie){ie===void 0&&(ie=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=Fe,this.cancelable=ie}return Object.defineProperty(Se.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Se.prototype.preventDefault=function(){this._defaultPrevented=!0},Se}(),Ln=function(Se){function Fe(ie,ae,se){var oe=Se.call(this,ie,!1)||this;return oe.dataUrl=ae,oe.state=se,oe}return Me(Fe,Se),Fe}(fn),Cn=function(Se){function Fe(ie,ae,se){se===void 0&&(se=!1);var oe=Se.call(this,ie,se)||this;return oe.marker=ae,oe}return Me(Fe,Se),Fe}(fn),Bn=function(){function Se(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Se.prototype.addEventListener=function(Fe,ie){this[Fe].push(ie)},Se.prototype.removeEventListener=function(Fe,ie){var ae=this[Fe].indexOf(ie);ae>-1&&this[Fe].splice(ae,1)},Se}(),gn=function(){function Se(Fe){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new ht,this._isOpen=!1,this.undoRedoManager=new Qt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Bn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Se.instanceCounter++,this.styles=new fe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=Fe,this.targetRoot=document.body,this.width=Fe.clientWidth,this.height=Fe.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Se.prototype,"ALL_MARKER_TYPES",{get:function(){return[rt,Re,Ft,Lt,St,Yt,wt,at,Vt,bt,xt,cn,Nn]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[rt,Re,Ft,Lt,Yt,wt,at]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"BASIC_MARKER_TYPES",{get:function(){return[rt,Re,Ft,Lt,wt]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(Fe){var ie=this;this._availableMarkerTypes.splice(0),Fe.forEach(function(ae){if(typeof ae=="string"){var se=ie.ALL_MARKER_TYPES.find(function(oe){return oe.typeName===ae});se!==void 0&&ie._availableMarkerTypes.push(se)}else ie._availableMarkerTypes.push(ae)})},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(Fe){this._zoomLevel=Fe,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Se.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ve.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Se.prototype.show=function(){var Fe=this;this.styles.styleSheetRoot===void 0&&we.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=we.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ie){return ie(new fn(Fe))})},Se.prototype.render=function(){return Ue(this,void 0,void 0,function(){var Fe;return At(this,function(ie){switch(ie.label){case 0:return this.setCurrentMarker(),(Fe=new Ae).naturalSize=this.renderAtNaturalSize,Fe.imageType=this.renderImageType,Fe.imageQuality=this.renderImageQuality,Fe.markersOnly=this.renderMarkersOnly,Fe.width=this.renderWidth,Fe.height=this.renderHeight,[4,Fe.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ie.sent(),[4,Fe.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ie.sent()]}})})},Se.prototype.close=function(Fe){var ie=this;if(Fe===void 0&&(Fe=!1),this.isOpen){var ae=!1;Fe||this.eventListeners.beforeclose.forEach(function(se){var oe=new fn(ie,!0);se(oe),oe.defaultPrevented&&(ae=!0)}),ae||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(se){return se(new fn(ie))}),this.detachEvents(),this._isOpen=!1)}},Se.prototype.addMarkersToToolbar=function(){for(var Fe,ie=[],ae=0;ae<arguments.length;ae++)ie[ae]=arguments[ae];(Fe=this._availableMarkerTypes).push.apply(Fe,ie)},Se.prototype.addRenderEventListener=function(Fe){this.addEventListener("render",function(ie){Fe(ie.dataUrl,ie.state)})},Se.prototype.removeRenderEventListener=function(Fe){},Se.prototype.addCloseEventListener=function(Fe){this.addEventListener("close",function(){Fe()})},Se.prototype.removeCloseEventListener=function(Fe){},Se.prototype.setupResizeObserver=function(){var Fe=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){Fe.resize(Fe.target.clientWidth,Fe.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return Fe.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Se.prototype.onPopupTargetResize=function(){var Fe=1*this.target.clientWidth/this.target.clientHeight,ie=this.editorCanvas.clientWidth/Fe>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*Fe:this.editorCanvas.clientWidth,ae=ie<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/Fe;this.resize(ie,ae)},Se.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Se.prototype.resize=function(Fe,ie){this._isResizing=!0;var ae=Fe/this.imageWidth,se=ie/this.imageHeight;this.imageWidth=Math.round(Fe),this.imageHeight=Math.round(ie),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(ae,se),this._isResizing=!1},Se.prototype.scaleMarkers=function(Fe,ie){var ae,se=this;this._currentMarker&&this._currentMarker instanceof Lt?this._currentMarker.scale(Fe,ie):(ae=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(oe){oe!==se._currentMarker&&oe.scale(Fe,ie)}),ae!==void 0&&this.setCurrentMarker(ae)},Se.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},Se.prototype.setTopLeft=function(){var Fe=this.editingTarget.getBoundingClientRect(),ie=this.editorCanvas.getBoundingClientRect();this.left=Fe.left-ie.left,this.top=Fe.top-ie.top},Se.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},Se.prototype.addDefs=function(){for(var Fe,ie=[],ae=0;ae<arguments.length;ae++)ie[ae]=arguments[ae];this.defs=Le.createDefs(),this.addDefsToImage(),(Fe=this.defs).append.apply(Fe,ie)},Se.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Se.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},Se.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Se.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Se.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},Se.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Se.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},Se.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var Fe=document.createElement("a");Fe.href="https://markerjs.com/",Fe.target="_blank",Fe.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',Fe.title="Powered by marker.js",Fe.style.display="grid",Fe.style.alignItems="center",Fe.style.justifyItems="center",Fe.style.padding="3px",Fe.style.width="20px",Fe.style.height="20px",this.logoUI.appendChild(Fe),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Se.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Se.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Se.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Se.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var Fe=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Fe+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new _e(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new Oe(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Se.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Se.prototype.removeMarker=function(Fe){this.markerImage.removeChild(Fe.container),this.markers.indexOf(Fe)>-1&&this.markers.splice(this.markers.indexOf(Fe),1),Fe.dispose()},Se.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Se.prototype.toolbarButtonClicked=function(Fe,ie){if(Fe==="marker"&&ie!==void 0)this.createNewMarker(ie);else if(Fe==="action")switch(ie){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Se.prototype.deleteSelectedMarker=function(){var Fe=this;if(this._currentMarker!==void 0){var ie=!1;if(this.eventListeners.markerbeforedelete.forEach(function(se){var oe=new Cn(Fe,Fe._currentMarker,!0);se(oe),oe.defaultPrevented&&(ie=!0)}),!ie){var ae=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(se){return se(new Cn(Fe,ae))})}}},Se.prototype.clear=function(){var Fe=this,ie=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Ye){var vt=new Cn(Fe,void 0,!0);Ye(vt),vt.defaultPrevented&&(ie=!0)}),!ie)){this.setCurrentMarker();for(var ae=function(Ye){var vt=se.markers[Ye];se.setCurrentMarker(se.markers[Ye]),se._currentMarker.dispose(),se.markerImage.removeChild(se._currentMarker.container),se.markers.splice(se.markers.indexOf(se._currentMarker),1),se.eventListeners.markerdelete.forEach(function(et){return et(new Cn(Fe,vt))})},se=this,oe=this.markers.length-1;oe>=0;oe--)ae(oe);this.addUndoStep()}},Object.defineProperty(Se.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Se.prototype.showNotesEditor=function(){var Fe;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(Fe=this._currentMarker.notes)!==null&&Fe!==void 0?Fe:"",this.overlayContainer.appendChild(this.notesArea))},Se.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Se.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Se.prototype.addUndoStep=function(){var Fe=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ie=this.getState(),ae=this.undoRedoManager.getLastUndoStep();if(!ae||ae.width===ie.width&&ae.height===ie.height){var se=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ie),se<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(oe){return oe(new fn(Fe))})}else this.undoRedoManager.replaceLastUndoStep(ie),this.eventListeners.statechange.forEach(function(oe){return oe(new fn(Fe))})}},Se.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Se.prototype.undoStep=function(){var Fe=this,ie=this.undoRedoManager.undo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new fn(Fe))}))},Se.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Se.prototype.redoStep=function(){var Fe=this,ie=this.undoRedoManager.redo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new fn(Fe))}))},Se.prototype.stepZoom=function(){var Fe=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=Fe<this.zoomSteps.length-1?this.zoomSteps[Fe+1]:this.zoomSteps[0]},Se.prototype.panTo=function(Fe){this.contentDiv.scrollBy({left:this.prevPanPoint.x-Fe.x,top:this.prevPanPoint.y-Fe.y}),this.prevPanPoint=Fe},Se.prototype.startRenderAndClose=function(){return Ue(this,void 0,void 0,function(){var Fe,ie,ae=this;return At(this,function(se){switch(se.label){case 0:return[4,this.render()];case 1:return Fe=se.sent(),ie=this.getState(),this.eventListeners.render.forEach(function(oe){return oe(new Ln(ae,Fe,ie))}),this.close(!0),[2]}})})},Se.prototype.getState=function(Fe){Fe===!0&&this.setCurrentMarker();var ie={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ae){return ie.markers.push(ae.getState())}),ie},Se.prototype.restoreState=function(Fe){var ie=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);Fe.markers.forEach(function(ae){var se=ie._availableMarkerTypes.find(function(Ye){return Ye.typeName===ae.typeName});if(se!==void 0){var oe=ie.addNewMarker(se);oe.restoreState(ae),ie.markers.push(oe)}}),Fe.width&&Fe.height&&(Fe.width!==this.imageWidth||Fe.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/Fe.width,this.imageHeight/Fe.height),this.eventListeners.restorestate.forEach(function(ae){return ae(new fn(ie))})},Se.prototype.addNewMarker=function(Fe){var ie=Le.createGroup();return this.markerImage.appendChild(ie),new Fe(ie,this.overlayContainer,this.settings)},Se.prototype.createNewMarker=function(Fe){var ie,ae=this;(ie=typeof Fe=="string"?this._availableMarkerTypes.find(function(se){return se.typeName===Fe}):Fe)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ie),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(ie.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(se){return se(new Cn(ae,ae._currentMarker))}))},Se.prototype.markerCreated=function(Fe){var ie=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(Fe),this.setCurrentMarker(Fe),Fe instanceof Re&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Re):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ae){return ae(new Cn(ie,ie._currentMarker))})},Se.prototype.colorChanged=function(Fe){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=Fe,this.settings.defaultStrokeColor=Fe)},Se.prototype.fillColorChanged=function(Fe){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=Fe)},Se.prototype.markerStateChanged=function(Fe){var ie=this;this.eventListeners.markerchange.forEach(function(ae){return ae(new Cn(ie,Fe))})},Se.prototype.setCurrentMarker=function(Fe){var ie=this;this._currentMarker!==Fe&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ae){return ae(new Cn(ie,ie._currentMarker))})),this._currentMarker=Fe,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(ae){return ae(new Cn(ie,ie._currentMarker))}))},Se.prototype.onPointerDown=function(Fe){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||Fe.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ie=this.markers.find(function(ae){return ae.ownsTarget(Fe.target)});ie!==void 0?(this.setCurrentMarker(ie),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(Fe.clientX,Fe.clientY),Fe.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:Fe.clientX,y:Fe.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(Fe.clientX,Fe.clientY))},Se.prototype.onDblClick=function(Fe){if(this._isFocused||this.focus(),this.mode==="select"){var ie=this.markers.find(function(ae){return ae.ownsTarget(Fe.target)});ie!==void 0&&ie!==this._currentMarker&&this.setCurrentMarker(ie),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(Fe.clientX,Fe.clientY),Fe.target):this.setCurrentMarker()}},Se.prototype.onPointerMove=function(Fe){this.touchPoints!==1&&Fe.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||Fe.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(Fe.clientX,Fe.clientY)):this.zoomLevel>1&&this.panTo({x:Fe.clientX,y:Fe.clientY}))},Se.prototype.onPointerUp=function(Fe){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(Fe.clientX,Fe.clientY)),this.isDragging=!1,this.addUndoStep()},Se.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Se.prototype.onKeyUp=function(Fe){this._currentMarker===void 0||this.notesArea!==void 0||Fe.key!=="Delete"&&Fe.key!=="Backspace"||this.deleteSelectedMarker()},Se.prototype.clientToLocalCoordinates=function(Fe,ie){var ae=this.markerImage.getBoundingClientRect();return{x:(Fe-ae.left)/this.zoomLevel,y:(ie-ae.top)/this.zoomLevel}},Se.prototype.onWindowResize=function(){this.positionUI()},Se.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var Fe=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Fe+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Se.prototype.addLicenseKey=function(Fe){ve.addKey(Fe)},Se.prototype.addEventListener=function(Fe,ie){this.eventListeners.addEventListener(Fe,ie)},Se.prototype.removeEventListener=function(Fe,ie){this.eventListeners.removeEventListener(Fe,ie)},Se.prototype.renderState=function(Fe){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(Fe),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Se.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Se.prototype.focus=function(){var Fe=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ie){return ie(new fn(Fe))}))},Se.prototype.blur=function(){var Fe=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ie){return ie(new fn(Fe))}))},Se.instanceCounter=0,Se}()},5630:function(Tn,Xt,ce){"use strict";var he=ce(60499),Me=ce(85899),Ue=ce(18642),At=ce(72190),Ne=ce(42244),Le=ce(92310),ve=ce.n(Le),Ae=ce(18929),we=ce(59301),fe=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],ze=(0,we.forwardRef)(function(Be,_e){var Oe,He=Be.prefixCls,ke=He===void 0?"rc-checkbox":He,Te=Be.className,Pe=Be.style,Xe=Be.checked,Ke=Be.disabled,qe=Be.defaultChecked,We=qe===void 0?!1:qe,Ze=Be.type,$e=Ze===void 0?"checkbox":Ze,rt=Be.title,ht=Be.onChange,dt=(0,Ne.Z)(Be,fe),xt=(0,we.useRef)(null),Je=(0,Ae.Z)(We,{value:Xe}),Lt=(0,At.Z)(Je,2),Re=Lt[0],Rt=Lt[1];(0,we.useImperativeHandle)(_e,function(){return{focus:function(){var wt;(wt=xt.current)===null||wt===void 0||wt.focus()},blur:function(){var wt;(wt=xt.current)===null||wt===void 0||wt.blur()},input:xt.current}});var Ft=ve()(ke,Te,(Oe={},(0,Ue.Z)(Oe,"".concat(ke,"-checked"),Re),(0,Ue.Z)(Oe,"".concat(ke,"-disabled"),Ke),Oe)),bt=function(wt){Ke||("checked"in Be||Rt(wt.target.checked),ht==null||ht({target:(0,Me.Z)((0,Me.Z)({},Be),{},{type:$e,checked:wt.target.checked}),stopPropagation:function(){wt.stopPropagation()},preventDefault:function(){wt.preventDefault()},nativeEvent:wt.nativeEvent}))};return we.createElement("span",{className:Ft,title:rt,style:Pe},we.createElement("input",(0,he.Z)({},dt,{className:"".concat(ke,"-input"),ref:xt,onChange:bt,disabled:Ke,checked:!!Re,type:$e})),we.createElement("span",{className:"".concat(ke,"-inner")}))});Xt.Z=ze},31561:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return $e}});var he=ce(60499),Me=ce(18642),Ue=ce(72190),At=ce(42244),Ne=ce(35593),Le=ce(92310),ve=ce.n(Le),Ae=ce(8654),we=ce(59301),fe=ce(10228),ze=ce(16089),Be=fe.Z.ESC,_e=fe.Z.TAB;function Oe(rt){var ht=rt.visible,dt=rt.triggerRef,xt=rt.onVisibleChange,Je=rt.autoFocus,Lt=rt.overlayRef,Re=we.useRef(!1),Rt=function(){if(ht){var wt,it;(wt=dt.current)===null||wt===void 0||(it=wt.focus)===null||it===void 0||it.call(wt),xt==null||xt(!1)}},Ft=function(){var wt;return(wt=Lt.current)!==null&&wt!==void 0&&wt.focus?(Lt.current.focus(),Re.current=!0,!0):!1},bt=function(wt){switch(wt.keyCode){case Be:Rt();break;case _e:{var it=!1;Re.current||(it=Ft()),it?wt.preventDefault():Rt();break}}};we.useEffect(function(){return ht?(window.addEventListener("keydown",bt),Je&&(0,ze.Z)(Ft,3),function(){window.removeEventListener("keydown",bt),Re.current=!1}):function(){Re.current=!1}},[ht])}var He=(0,we.forwardRef)(function(rt,ht){var dt=rt.overlay,xt=rt.arrow,Je=rt.prefixCls,Lt=(0,we.useMemo)(function(){var Rt;return typeof dt=="function"?Rt=dt():Rt=dt,Rt},[dt]),Re=(0,Ae.sQ)(ht,Lt==null?void 0:Lt.ref);return we.createElement(we.Fragment,null,xt&&we.createElement("div",{className:"".concat(Je,"-arrow")}),we.cloneElement(Lt,{ref:(0,Ae.Yr)(Lt)?Re:void 0}))}),ke=He,Te={adjustX:1,adjustY:1},Pe=[0,0],Xe={topLeft:{points:["bl","tl"],overflow:Te,offset:[0,-4],targetOffset:Pe},top:{points:["bc","tc"],overflow:Te,offset:[0,-4],targetOffset:Pe},topRight:{points:["br","tr"],overflow:Te,offset:[0,-4],targetOffset:Pe},bottomLeft:{points:["tl","bl"],overflow:Te,offset:[0,4],targetOffset:Pe},bottom:{points:["tc","bc"],overflow:Te,offset:[0,4],targetOffset:Pe},bottomRight:{points:["tr","br"],overflow:Te,offset:[0,4],targetOffset:Pe}},Ke=Xe,qe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function We(rt,ht){var dt,xt=rt.arrow,Je=xt===void 0?!1:xt,Lt=rt.prefixCls,Re=Lt===void 0?"rc-dropdown":Lt,Rt=rt.transitionName,Ft=rt.animation,bt=rt.align,Tt=rt.placement,wt=Tt===void 0?"bottomLeft":Tt,it=rt.placements,je=it===void 0?Ke:it,at=rt.getPopupContainer,Yt=rt.showAction,Vt=rt.hideAction,St=rt.overlayClassName,Qt=rt.overlayStyle,cn=rt.visible,Nn=rt.trigger,fn=Nn===void 0?["hover"]:Nn,Ln=rt.autoFocus,Cn=rt.overlay,Bn=rt.children,gn=rt.onVisibleChange,Se=(0,At.Z)(rt,qe),Fe=we.useState(),ie=(0,Ue.Z)(Fe,2),ae=ie[0],se=ie[1],oe="visible"in rt?cn:ae,Ye=we.useRef(null),vt=we.useRef(null),et=we.useRef(null);we.useImperativeHandle(ht,function(){return Ye.current});var lt=function(zt){se(zt),gn==null||gn(zt)};Oe({visible:oe,triggerRef:et,onVisibleChange:lt,autoFocus:Ln,overlayRef:vt});var Pt=function(zt){var pt=rt.onOverlayClick;se(!1),pt&&pt(zt)},Mt=function(){return we.createElement(ke,{ref:vt,overlay:Cn,prefixCls:Re,arrow:Je})},kt=function(){return typeof Cn=="function"?Mt:Mt()},$t=function(){var zt=rt.minOverlayWidthMatchTrigger,pt=rt.alignPoint;return"minOverlayWidthMatchTrigger"in rt?zt:!pt},Sn=function(){var zt=rt.openClassName;return zt!==void 0?zt:"".concat(Re,"-open")},Bt=we.cloneElement(Bn,{className:ve()((dt=Bn.props)===null||dt===void 0?void 0:dt.className,oe&&Sn()),ref:(0,Ae.Yr)(Bn)?(0,Ae.sQ)(et,Bn.ref):void 0}),nn=Vt;return!nn&&fn.indexOf("contextMenu")!==-1&&(nn=["click"]),we.createElement(Ne.Z,(0,he.Z)({builtinPlacements:je},Se,{prefixCls:Re,ref:Ye,popupClassName:ve()(St,(0,Me.Z)({},"".concat(Re,"-show-arrow"),Je)),popupStyle:Qt,action:fn,showAction:Yt,hideAction:nn,popupPlacement:wt,popupAlign:bt,popupTransitionName:Rt,popupAnimation:Ft,popupVisible:oe,stretch:$t()?"minWidth":"",popup:kt(),onPopupVisibleChange:lt,onPopupClick:Pt,getPopupContainer:at}),Bt)}var Ze=we.forwardRef(We),$e=Ze},93681:function(Tn,Xt,ce){"use strict";ce.r(Xt),ce.d(Xt,{BaseInput:function(){return fe},default:function(){return Xe}});var he=ce(60499),Me=ce(85899),Ue=ce(18642),At=ce(43749),Ne=ce(92310),Le=ce.n(Ne),ve=ce(59301),Ae=ce(5643),we=function(qe){var We,Ze,$e=qe.inputElement,rt=qe.prefixCls,ht=qe.prefix,dt=qe.suffix,xt=qe.addonBefore,Je=qe.addonAfter,Lt=qe.className,Re=qe.style,Rt=qe.disabled,Ft=qe.readOnly,bt=qe.focused,Tt=qe.triggerFocus,wt=qe.allowClear,it=qe.value,je=qe.handleReset,at=qe.hidden,Yt=qe.classes,Vt=qe.classNames,St=qe.dataAttrs,Qt=qe.styles,cn=qe.components,Nn=(cn==null?void 0:cn.affixWrapper)||"span",fn=(cn==null?void 0:cn.groupWrapper)||"span",Ln=(cn==null?void 0:cn.wrapper)||"span",Cn=(cn==null?void 0:cn.groupAddon)||"span",Bn=(0,ve.useRef)(null),gn=function(Mt){var kt;(kt=Bn.current)!==null&&kt!==void 0&&kt.contains(Mt.target)&&(Tt==null||Tt())},Se=function(){var Mt;if(!wt)return null;var kt=!Rt&&!Ft&&it,$t="".concat(rt,"-clear-icon"),Sn=(0,At.Z)(wt)==="object"&&wt!==null&&wt!==void 0&&wt.clearIcon?wt.clearIcon:"\u2716";return ve.createElement("span",{onClick:je,onMouseDown:function(nn){return nn.preventDefault()},className:Le()($t,(Mt={},(0,Ue.Z)(Mt,"".concat($t,"-hidden"),!kt),(0,Ue.Z)(Mt,"".concat($t,"-has-suffix"),!!dt),Mt)),role:"button",tabIndex:-1},Sn)},Fe=(0,ve.cloneElement)($e,{value:it,hidden:at,className:Le()((We=$e.props)===null||We===void 0?void 0:We.className,!(0,Ae.X3)(qe)&&!(0,Ae.He)(qe)&&Lt)||null,style:(0,Me.Z)((0,Me.Z)({},(Ze=$e.props)===null||Ze===void 0?void 0:Ze.style),!(0,Ae.X3)(qe)&&!(0,Ae.He)(qe)?Re:{})});if((0,Ae.X3)(qe)){var ie,ae="".concat(rt,"-affix-wrapper"),se=Le()(ae,(ie={},(0,Ue.Z)(ie,"".concat(ae,"-disabled"),Rt),(0,Ue.Z)(ie,"".concat(ae,"-focused"),bt),(0,Ue.Z)(ie,"".concat(ae,"-readonly"),Ft),(0,Ue.Z)(ie,"".concat(ae,"-input-with-clear-btn"),dt&&wt&&it),ie),!(0,Ae.He)(qe)&&Lt,Yt==null?void 0:Yt.affixWrapper,Vt==null?void 0:Vt.affixWrapper),oe=(dt||wt)&&ve.createElement("span",{className:Le()("".concat(rt,"-suffix"),Vt==null?void 0:Vt.suffix),style:Qt==null?void 0:Qt.suffix},Se(),dt);Fe=ve.createElement(Nn,(0,he.Z)({className:se,style:(0,Me.Z)((0,Me.Z)({},(0,Ae.He)(qe)?void 0:Re),Qt==null?void 0:Qt.affixWrapper),hidden:!(0,Ae.He)(qe)&&at,onClick:gn},St==null?void 0:St.affixWrapper,{ref:Bn}),ht&&ve.createElement("span",{className:Le()("".concat(rt,"-prefix"),Vt==null?void 0:Vt.prefix),style:Qt==null?void 0:Qt.prefix},ht),(0,ve.cloneElement)($e,{value:it,hidden:null}),oe)}if((0,Ae.He)(qe)){var Ye="".concat(rt,"-group"),vt="".concat(Ye,"-addon"),et=Le()("".concat(rt,"-wrapper"),Ye,Yt==null?void 0:Yt.wrapper),lt=Le()("".concat(rt,"-group-wrapper"),Lt,Yt==null?void 0:Yt.group);return ve.createElement(fn,{className:lt,style:Re,hidden:at},ve.createElement(Ln,{className:et},xt&&ve.createElement(Cn,{className:vt},xt),(0,ve.cloneElement)(Fe,{hidden:null}),Je&&ve.createElement(Cn,{className:vt},Je)))}return Fe},fe=we,ze=ce(77654),Be=ce(72190),_e=ce(42244),Oe=ce(18929),He=ce(2738),ke=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Te=(0,ve.forwardRef)(function(Ke,qe){var We=Ke.autoComplete,Ze=Ke.onChange,$e=Ke.onFocus,rt=Ke.onBlur,ht=Ke.onPressEnter,dt=Ke.onKeyDown,xt=Ke.prefixCls,Je=xt===void 0?"rc-input":xt,Lt=Ke.disabled,Re=Ke.htmlSize,Rt=Ke.className,Ft=Ke.maxLength,bt=Ke.suffix,Tt=Ke.showCount,wt=Ke.type,it=wt===void 0?"text":wt,je=Ke.classes,at=Ke.classNames,Yt=Ke.styles,Vt=(0,_e.Z)(Ke,ke),St=(0,Oe.Z)(Ke.defaultValue,{value:Ke.value}),Qt=(0,Be.Z)(St,2),cn=Qt[0],Nn=Qt[1],fn=(0,ve.useState)(!1),Ln=(0,Be.Z)(fn,2),Cn=Ln[0],Bn=Ln[1],gn=(0,ve.useRef)(null),Se=function(lt){gn.current&&(0,Ae.nH)(gn.current,lt)};(0,ve.useImperativeHandle)(qe,function(){return{focus:Se,blur:function(){var lt;(lt=gn.current)===null||lt===void 0||lt.blur()},setSelectionRange:function(lt,Pt,Mt){var kt;(kt=gn.current)===null||kt===void 0||kt.setSelectionRange(lt,Pt,Mt)},select:function(){var lt;(lt=gn.current)===null||lt===void 0||lt.select()},input:gn.current}}),(0,ve.useEffect)(function(){Bn(function(et){return et&&Lt?!1:et})},[Lt]);var Fe=function(lt){Ke.value===void 0&&Nn(lt.target.value),gn.current&&(0,Ae.rJ)(gn.current,lt,Ze)},ie=function(lt){ht&&lt.key==="Enter"&&ht(lt),dt==null||dt(lt)},ae=function(lt){Bn(!0),$e==null||$e(lt)},se=function(lt){Bn(!1),rt==null||rt(lt)},oe=function(lt){Nn(""),Se(),gn.current&&(0,Ae.rJ)(gn.current,lt,Ze)},Ye=function(){var lt=(0,He.Z)(Ke,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return ve.createElement("input",(0,he.Z)({autoComplete:We},lt,{onChange:Fe,onFocus:ae,onBlur:se,onKeyDown:ie,className:Le()(Je,(0,Ue.Z)({},"".concat(Je,"-disabled"),Lt),at==null?void 0:at.input),style:Yt==null?void 0:Yt.input,ref:gn,size:Re,type:it}))},vt=function(){var lt=Number(Ft)>0;if(bt||Tt){var Pt=(0,Ae.D7)(cn),Mt=(0,ze.Z)(Pt).length,kt=(0,At.Z)(Tt)==="object"?Tt.formatter({value:Pt,count:Mt,maxLength:Ft}):"".concat(Mt).concat(lt?" / ".concat(Ft):"");return ve.createElement(ve.Fragment,null,!!Tt&&ve.createElement("span",{className:Le()("".concat(Je,"-show-count-suffix"),(0,Ue.Z)({},"".concat(Je,"-show-count-has-suffix"),!!bt),at==null?void 0:at.count),style:(0,Me.Z)({},Yt==null?void 0:Yt.count)},kt),bt)}return null};return ve.createElement(fe,(0,he.Z)({},Vt,{prefixCls:Je,className:Rt,inputElement:Ye(),handleReset:oe,value:(0,Ae.D7)(cn),focused:Cn,triggerFocus:Se,suffix:vt(),disabled:Lt,classes:je,classNames:at,styles:Yt}))}),Pe=Te,Xe=Pe},5643:function(Tn,Xt,ce){"use strict";ce.d(Xt,{D7:function(){return Ne},He:function(){return he},X3:function(){return Me},nH:function(){return At},rJ:function(){return Ue}});function he(Le){return!!(Le.addonBefore||Le.addonAfter)}function Me(Le){return!!(Le.prefix||Le.suffix||Le.allowClear)}function Ue(Le,ve,Ae,we){if(Ae){var fe=ve;if(ve.type==="click"){var ze=Le.cloneNode(!0);fe=Object.create(ve,{target:{value:ze},currentTarget:{value:ze}}),ze.value="",Ae(fe);return}if(we!==void 0){fe=Object.create(ve,{target:{value:Le},currentTarget:{value:Le}}),Le.value=we,Ae(fe);return}Ae(fe)}}function At(Le,ve){if(Le){Le.focus(ve);var Ae=ve||{},we=Ae.cursor;if(we){var fe=Le.value.length;switch(we){case"start":Le.setSelectionRange(0,0);break;case"end":Le.setSelectionRange(fe,fe);break;default:Le.setSelectionRange(0,fe)}}}}function Ne(Le){return typeof Le=="undefined"||Le===null?"":String(Le)}},15285:function(Tn,Xt,ce){"use strict";ce.d(Xt,{iz:function(){return $r},ck:function(){return mi},BW:function(){return Zr},sN:function(){return mi},Wd:function(){return Mn},ZP:function(){return oa},Xl:function(){return dt}});var he=ce(60499),Me=ce(18642),Ue=ce(85899),At=ce(77654),Ne=ce(72190),Le=ce(42244),ve=ce(92310),Ae=ce.n(ve),we=ce(83836),fe=ce(18929),ze=ce(13697),Be=ce(48736),_e=ce(59301),Oe=ce(4676),He=_e.createContext(null);function ke(mn,mr){return mn===void 0?null:"".concat(mn,"-").concat(mr)}function Te(mn){var mr=_e.useContext(He);return ke(mr,mn)}var Pe=ce(80547),Xe=["children","locked"],Ke=_e.createContext(null);function qe(mn,mr){var dr=(0,Ue.Z)({},mn);return Object.keys(mr).forEach(function(Wr){var wr=mr[Wr];wr!==void 0&&(dr[Wr]=wr)}),dr}function We(mn){var mr=mn.children,dr=mn.locked,Wr=(0,Le.Z)(mn,Xe),wr=_e.useContext(Ke),Mr=(0,Pe.Z)(function(){return qe(wr,Wr)},[wr,Wr],function(Fr,ui){return!dr&&(Fr[0]!==ui[0]||!(0,ze.Z)(Fr[1],ui[1],!0))});return _e.createElement(Ke.Provider,{value:Mr},mr)}var Ze=[],$e=_e.createContext(null);function rt(){return _e.useContext($e)}var ht=_e.createContext(Ze);function dt(mn){var mr=_e.useContext(ht);return _e.useMemo(function(){return mn!==void 0?[].concat((0,At.Z)(mr),[mn]):mr},[mr,mn])}var xt=_e.createContext(null),Je=_e.createContext({}),Lt=Je,Re=ce(29194);function Rt(mn){var mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Re.Z)(mn)){var dr=mn.nodeName.toLowerCase(),Wr=["input","select","textarea","button"].includes(dr)||mn.isContentEditable||dr==="a"&&!!mn.getAttribute("href"),wr=mn.getAttribute("tabindex"),Mr=Number(wr),Fr=null;return wr&&!Number.isNaN(Mr)?Fr=Mr:Wr&&Fr===null&&(Fr=0),Wr&&mn.disabled&&(Fr=null),Fr!==null&&(Fr>=0||mr&&Fr<0)}return!1}function Ft(mn){var mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dr=(0,At.Z)(mn.querySelectorAll("*")).filter(function(Wr){return Rt(Wr,mr)});return Rt(mn,mr)&&dr.unshift(mn),dr}var bt=null;function Tt(){bt=document.activeElement}function wt(){bt=null}function it(){if(bt)try{bt.focus()}catch(mn){}}function je(mn,mr){if(mr.keyCode===9){var dr=Ft(mn),Wr=dr[mr.shiftKey?0:dr.length-1],wr=Wr===document.activeElement||mn===document.activeElement;if(wr){var Mr=dr[mr.shiftKey?dr.length-1:0];Mr.focus(),mr.preventDefault()}}}var at=ce(10228),Yt=ce(16089),Vt=at.Z.LEFT,St=at.Z.RIGHT,Qt=at.Z.UP,cn=at.Z.DOWN,Nn=at.Z.ENTER,fn=at.Z.ESC,Ln=at.Z.HOME,Cn=at.Z.END,Bn=[Qt,cn,Vt,St];function gn(mn,mr,dr,Wr){var wr,Mr,Fr,ui,yi="prev",Hi="next",Oa="children",Qa="parent";if(mn==="inline"&&Wr===Nn)return{inlineTrigger:!0};var oo=(wr={},(0,Me.Z)(wr,Qt,yi),(0,Me.Z)(wr,cn,Hi),wr),La=(Mr={},(0,Me.Z)(Mr,Vt,dr?Hi:yi),(0,Me.Z)(Mr,St,dr?yi:Hi),(0,Me.Z)(Mr,cn,Oa),(0,Me.Z)(Mr,Nn,Oa),Mr),Da=(Fr={},(0,Me.Z)(Fr,Qt,yi),(0,Me.Z)(Fr,cn,Hi),(0,Me.Z)(Fr,Nn,Oa),(0,Me.Z)(Fr,fn,Qa),(0,Me.Z)(Fr,Vt,dr?Oa:Qa),(0,Me.Z)(Fr,St,dr?Qa:Oa),Fr),po={inline:oo,horizontal:La,vertical:Da,inlineSub:oo,horizontalSub:Da,verticalSub:Da},Za=(ui=po["".concat(mn).concat(mr?"":"Sub")])===null||ui===void 0?void 0:ui[Wr];switch(Za){case yi:return{offset:-1,sibling:!0};case Hi:return{offset:1,sibling:!0};case Qa:return{offset:-1,sibling:!1};case Oa:return{offset:1,sibling:!1};default:return null}}function Se(mn){for(var mr=mn;mr;){if(mr.getAttribute("data-menu-list"))return mr;mr=mr.parentElement}return null}function Fe(mn,mr){for(var dr=mn||document.activeElement;dr;){if(mr.has(dr))return dr;dr=dr.parentElement}return null}function ie(mn,mr){var dr=Ft(mn,!0);return dr.filter(function(Wr){return mr.has(Wr)})}function ae(mn,mr,dr){var Wr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!mn)return null;var wr=ie(mn,mr),Mr=wr.length,Fr=wr.findIndex(function(ui){return dr===ui});return Wr<0?Fr===-1?Fr=Mr-1:Fr-=1:Wr>0&&(Fr+=1),Fr=(Fr+Mr)%Mr,wr[Fr]}var se=function(mr,dr){var Wr=new Set,wr=new Map,Mr=new Map;return mr.forEach(function(Fr){var ui=document.querySelector("[data-menu-id='".concat(ke(dr,Fr),"']"));ui&&(Wr.add(ui),Mr.set(ui,Fr),wr.set(Fr,ui))}),{elements:Wr,key2element:wr,element2key:Mr}};function oe(mn,mr,dr,Wr,wr,Mr,Fr,ui,yi,Hi){var Oa=_e.useRef(),Qa=_e.useRef();Qa.current=mr;var oo=function(){Yt.Z.cancel(Oa.current)};return _e.useEffect(function(){return function(){oo()}},[]),function(La){var Da=La.which;if([].concat(Bn,[Nn,fn,Ln,Cn]).includes(Da)){var po=Mr(),Za=se(po,Wr),io=Za,va=io.elements,ka=io.key2element,Xa=io.element2key,Pa=ka.get(mr),ao=Fe(Pa,va),us=Xa.get(ao),Ya=gn(mn,Fr(us,!0).length===1,dr,Da);if(!Ya&&Da!==Ln&&Da!==Cn)return;(Bn.includes(Da)||[Ln,Cn].includes(Da))&&La.preventDefault();var fi=function(_o){if(_o){var Js=_o,Sa=_o.querySelector("a");Sa!=null&&Sa.getAttribute("href")&&(Js=Sa);var xa=Xa.get(_o);ui(xa),oo(),Oa.current=(0,Yt.Z)(function(){Qa.current===xa&&Js.focus()})}};if([Ln,Cn].includes(Da)||Ya.sibling||!ao){var Rr;!ao||mn==="inline"?Rr=wr.current:Rr=Se(ao);var Ra,_a=ie(Rr,va);Da===Ln?Ra=_a[0]:Da===Cn?Ra=_a[_a.length-1]:Ra=ae(Rr,va,ao,Ya.offset),fi(Ra)}else if(Ya.inlineTrigger)yi(us);else if(Ya.offset>0)yi(us,!0),oo(),Oa.current=(0,Yt.Z)(function(){Za=se(po,Wr);var As=ao.getAttribute("aria-controls"),_o=document.getElementById(As),Js=ae(_o,Za.elements);fi(Js)},5);else if(Ya.offset<0){var Va=Fr(us,!0),Mo=Va[Va.length-2],go=ka.get(Mo);yi(Mo,!1),fi(go)}}Hi==null||Hi(La)}}function Ye(mn){Promise.resolve().then(mn)}var vt="__RC_UTIL_PATH_SPLIT__",et=function(mr){return mr.join(vt)},lt=function(mr){return mr.split(vt)},Pt="rc-menu-more";function Mt(){var mn=_e.useState({}),mr=(0,Ne.Z)(mn,2),dr=mr[1],Wr=(0,_e.useRef)(new Map),wr=(0,_e.useRef)(new Map),Mr=_e.useState([]),Fr=(0,Ne.Z)(Mr,2),ui=Fr[0],yi=Fr[1],Hi=(0,_e.useRef)(0),Oa=(0,_e.useRef)(!1),Qa=function(){Oa.current||dr({})},oo=(0,_e.useCallback)(function(ka,Xa){var Pa=et(Xa);wr.current.set(Pa,ka),Wr.current.set(ka,Pa),Hi.current+=1;var ao=Hi.current;Ye(function(){ao===Hi.current&&Qa()})},[]),La=(0,_e.useCallback)(function(ka,Xa){var Pa=et(Xa);wr.current.delete(Pa),Wr.current.delete(ka)},[]),Da=(0,_e.useCallback)(function(ka){yi(ka)},[]),po=(0,_e.useCallback)(function(ka,Xa){var Pa=Wr.current.get(ka)||"",ao=lt(Pa);return Xa&&ui.includes(ao[0])&&ao.unshift(Pt),ao},[ui]),Za=(0,_e.useCallback)(function(ka,Xa){return ka.some(function(Pa){var ao=po(Pa,!0);return ao.includes(Xa)})},[po]),io=function(){var Xa=(0,At.Z)(Wr.current.keys());return ui.length&&Xa.push(Pt),Xa},va=(0,_e.useCallback)(function(ka){var Xa="".concat(Wr.current.get(ka)).concat(vt),Pa=new Set;return(0,At.Z)(wr.current.keys()).forEach(function(ao){ao.startsWith(Xa)&&Pa.add(wr.current.get(ao))}),Pa},[]);return _e.useEffect(function(){return function(){Oa.current=!0}},[]),{registerPath:oo,unregisterPath:La,refreshOverflowKeys:Da,isSubPathKey:Za,getKeyPath:po,getKeys:io,getSubPathKeys:va}}function kt(mn){var mr=_e.useRef(mn);mr.current=mn;var dr=_e.useCallback(function(){for(var Wr,wr=arguments.length,Mr=new Array(wr),Fr=0;Fr<wr;Fr++)Mr[Fr]=arguments[Fr];return(Wr=mr.current)===null||Wr===void 0?void 0:Wr.call.apply(Wr,[mr].concat(Mr))},[]);return mn?dr:void 0}var $t=Math.random().toFixed(5).toString().slice(2),Sn=0;function Bt(mn){var mr=(0,fe.Z)(mn,{value:mn}),dr=(0,Ne.Z)(mr,2),Wr=dr[0],wr=dr[1];return _e.useEffect(function(){Sn+=1;var Mr="".concat($t,"-").concat(Sn);wr("rc-menu-uuid-".concat(Mr))},[]),Wr}var nn=ce(38705),tn=ce(17212),zt=ce(39153),pt=ce(55401),Wt=ce(2738),vn=ce(8654);function xn(mn,mr,dr,Wr){var wr=_e.useContext(Ke),Mr=wr.activeKey,Fr=wr.onActive,ui=wr.onInactive,yi={active:Mr===mn};return mr||(yi.onMouseEnter=function(Hi){dr==null||dr({key:mn,domEvent:Hi}),Fr(mn)},yi.onMouseLeave=function(Hi){Wr==null||Wr({key:mn,domEvent:Hi}),ui(mn)}),yi}function Wn(mn){var mr=_e.useContext(Ke),dr=mr.mode,Wr=mr.rtl,wr=mr.inlineIndent;if(dr!=="inline")return null;var Mr=mn;return Wr?{paddingRight:Mr*wr}:{paddingLeft:Mr*wr}}function br(mn){var mr=mn.icon,dr=mn.props,Wr=mn.children,wr;return mr===null||mr===!1?null:(typeof mr=="function"?wr=_e.createElement(mr,(0,Ue.Z)({},dr)):typeof mr!="boolean"&&(wr=mr),wr||Wr||null)}var Lr=["item"];function jr(mn){var mr=mn.item,dr=(0,Le.Z)(mn,Lr);return Object.defineProperty(dr,"item",{get:function(){return(0,Be.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),mr}}),dr}var Qr=["title","attribute","elementRef"],vr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Ar=["active"],Tr=function(mn){(0,zt.Z)(dr,mn);var mr=(0,pt.Z)(dr);function dr(){return(0,nn.Z)(this,dr),mr.apply(this,arguments)}return(0,tn.Z)(dr,[{key:"render",value:function(){var wr=this.props,Mr=wr.title,Fr=wr.attribute,ui=wr.elementRef,yi=(0,Le.Z)(wr,Qr),Hi=(0,Wt.Z)(yi,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Be.ZP)(!Fr,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),_e.createElement(we.Z.Item,(0,he.Z)({},Fr,{title:typeof Mr=="string"?Mr:void 0},Hi,{ref:ui}))}}]),dr}(_e.Component),Bi=_e.forwardRef(function(mn,mr){var dr,Wr=mn.style,wr=mn.className,Mr=mn.eventKey,Fr=mn.warnKey,ui=mn.disabled,yi=mn.itemIcon,Hi=mn.children,Oa=mn.role,Qa=mn.onMouseEnter,oo=mn.onMouseLeave,La=mn.onClick,Da=mn.onKeyDown,po=mn.onFocus,Za=(0,Le.Z)(mn,vr),io=Te(Mr),va=_e.useContext(Ke),ka=va.prefixCls,Xa=va.onItemClick,Pa=va.disabled,ao=va.overflowDisabled,us=va.itemIcon,Ya=va.selectedKeys,fi=va.onActive,Rr=_e.useContext(Lt),Ra=Rr._internalRenderMenuItem,_a="".concat(ka,"-item"),Va=_e.useRef(),Mo=_e.useRef(),go=Pa||ui,As=(0,vn.x1)(mr,Mo),_o=dt(Mr),Js=function(ra){return{key:Mr,keyPath:(0,At.Z)(_o).reverse(),item:Va.current,domEvent:ra}},Sa=yi||us,xa=xn(Mr,go,Qa,oo),Bo=xa.active,So=(0,Le.Z)(xa,Ar),Ms=Ya.includes(Mr),er=Wn(_o.length),Qs=function(ra){if(!go){var ua=Js(ra);La==null||La(jr(ua)),Xa(ua)}},fs=function(ra){if(Da==null||Da(ra),ra.which===at.Z.ENTER){var ua=Js(ra);La==null||La(jr(ua)),Xa(ua)}},Zs=function(ra){fi(Mr),po==null||po(ra)},qs={};mn.role==="option"&&(qs["aria-selected"]=Ms);var ma=_e.createElement(Tr,(0,he.Z)({ref:Va,elementRef:As,role:Oa===null?"none":Oa||"menuitem",tabIndex:ui?null:-1,"data-menu-id":ao&&io?null:io},Za,So,qs,{component:"li","aria-disabled":ui,style:(0,Ue.Z)((0,Ue.Z)({},er),Wr),className:Ae()(_a,(dr={},(0,Me.Z)(dr,"".concat(_a,"-active"),Bo),(0,Me.Z)(dr,"".concat(_a,"-selected"),Ms),(0,Me.Z)(dr,"".concat(_a,"-disabled"),go),dr),wr),onClick:Qs,onKeyDown:fs,onFocus:Zs}),Hi,_e.createElement(br,{props:(0,Ue.Z)((0,Ue.Z)({},mn),{},{isSelected:Ms}),icon:Sa}));return Ra&&(ma=Ra(ma,mn,{selected:Ms})),ma});function $i(mn,mr){var dr=mn.eventKey,Wr=rt(),wr=dt(dr);return _e.useEffect(function(){if(Wr)return Wr.registerPath(dr,wr),function(){Wr.unregisterPath(dr,wr)}},[wr]),Wr?null:_e.createElement(Bi,(0,he.Z)({},mn,{ref:mr}))}var mi=_e.forwardRef($i),Mi=["className","children"],pa=function(mr,dr){var Wr=mr.className,wr=mr.children,Mr=(0,Le.Z)(mr,Mi),Fr=_e.useContext(Ke),ui=Fr.prefixCls,yi=Fr.mode,Hi=Fr.rtl;return _e.createElement("ul",(0,he.Z)({className:Ae()(ui,Hi&&"".concat(ui,"-rtl"),"".concat(ui,"-sub"),"".concat(ui,"-").concat(yi==="inline"?"inline":"vertical"),Wr),role:"menu"},Mr,{"data-menu-list":!0,ref:dr}),wr)},Dr=_e.forwardRef(pa);Dr.displayName="SubMenuList";var _n=Dr,no=ce(11592);function Ki(mn,mr){return(0,no.Z)(mn).map(function(dr,Wr){if(_e.isValidElement(dr)){var wr,Mr,Fr=dr.key,ui=(wr=(Mr=dr.props)===null||Mr===void 0?void 0:Mr.eventKey)!==null&&wr!==void 0?wr:Fr,yi=ui==null;yi&&(ui="tmp_key-".concat([].concat((0,At.Z)(mr),[Wr]).join("-")));var Hi={key:ui,eventKey:ui};return _e.cloneElement(dr,Hi)}return dr})}var Co=ce(35593),ro={adjustX:1,adjustY:1},Pi={topLeft:{points:["bl","tl"],overflow:ro},topRight:{points:["br","tr"],overflow:ro},bottomLeft:{points:["tl","bl"],overflow:ro},bottomRight:{points:["tr","br"],overflow:ro},leftTop:{points:["tr","tl"],overflow:ro},leftBottom:{points:["br","bl"],overflow:ro},rightTop:{points:["tl","tr"],overflow:ro},rightBottom:{points:["bl","br"],overflow:ro}},Ii={topLeft:{points:["bl","tl"],overflow:ro},topRight:{points:["br","tr"],overflow:ro},bottomLeft:{points:["tl","bl"],overflow:ro},bottomRight:{points:["tr","br"],overflow:ro},rightTop:{points:["tr","tl"],overflow:ro},rightBottom:{points:["br","bl"],overflow:ro},leftTop:{points:["tl","tr"],overflow:ro},leftBottom:{points:["bl","br"],overflow:ro}},Si=null;function gi(mn,mr,dr){if(mr)return mr;if(dr)return dr[mn]||dr.other}var Ea={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Fn(mn){var mr=mn.prefixCls,dr=mn.visible,Wr=mn.children,wr=mn.popup,Mr=mn.popupStyle,Fr=mn.popupClassName,ui=mn.popupOffset,yi=mn.disabled,Hi=mn.mode,Oa=mn.onVisibleChange,Qa=_e.useContext(Ke),oo=Qa.getPopupContainer,La=Qa.rtl,Da=Qa.subMenuOpenDelay,po=Qa.subMenuCloseDelay,Za=Qa.builtinPlacements,io=Qa.triggerSubMenuAction,va=Qa.forceSubMenuRender,ka=Qa.rootClassName,Xa=Qa.motion,Pa=Qa.defaultMotions,ao=_e.useState(!1),us=(0,Ne.Z)(ao,2),Ya=us[0],fi=us[1],Rr=La?(0,Ue.Z)((0,Ue.Z)({},Ii),Za):(0,Ue.Z)((0,Ue.Z)({},Pi),Za),Ra=Ea[Hi],_a=gi(Hi,Xa,Pa),Va=_e.useRef(_a);Hi!=="inline"&&(Va.current=_a);var Mo=(0,Ue.Z)((0,Ue.Z)({},Va.current),{},{leavedClassName:"".concat(mr,"-hidden"),removeOnLeave:!1,motionAppear:!0}),go=_e.useRef();return _e.useEffect(function(){return go.current=(0,Yt.Z)(function(){fi(dr)}),function(){Yt.Z.cancel(go.current)}},[dr]),_e.createElement(Co.Z,{prefixCls:mr,popupClassName:Ae()("".concat(mr,"-popup"),(0,Me.Z)({},"".concat(mr,"-rtl"),La),Fr,ka),stretch:Hi==="horizontal"?"minWidth":null,getPopupContainer:oo,builtinPlacements:Rr,popupPlacement:Ra,popupVisible:Ya,popup:wr,popupStyle:Mr,popupAlign:ui&&{offset:ui},action:yi?[]:[io],mouseEnterDelay:Da,mouseLeaveDelay:po,onPopupVisibleChange:Oa,forceRender:va,popupMotion:Mo,fresh:!0},Wr)}var Dt=ce(77900);function Gt(mn){var mr=mn.id,dr=mn.open,Wr=mn.keyPath,wr=mn.children,Mr="inline",Fr=_e.useContext(Ke),ui=Fr.prefixCls,yi=Fr.forceSubMenuRender,Hi=Fr.motion,Oa=Fr.defaultMotions,Qa=Fr.mode,oo=_e.useRef(!1);oo.current=Qa===Mr;var La=_e.useState(!oo.current),Da=(0,Ne.Z)(La,2),po=Da[0],Za=Da[1],io=oo.current?dr:!1;_e.useEffect(function(){oo.current&&Za(!1)},[Qa]);var va=(0,Ue.Z)({},gi(Mr,Hi,Oa));Wr.length>1&&(va.motionAppear=!1);var ka=va.onVisibleChanged;return va.onVisibleChanged=function(Xa){return!oo.current&&!Xa&&Za(!0),ka==null?void 0:ka(Xa)},po?null:_e.createElement(We,{mode:Mr,locked:!oo.current},_e.createElement(Dt.default,(0,he.Z)({visible:io},va,{forceRender:yi,removeOnLeave:!1,leavedClassName:"".concat(ui,"-hidden")}),function(Xa){var Pa=Xa.className,ao=Xa.style;return _e.createElement(_n,{id:mr,className:Pa,style:ao},wr)}))}var Zt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],jt=["active"],on=function(mr){var dr,Wr=mr.style,wr=mr.className,Mr=mr.title,Fr=mr.eventKey,ui=mr.warnKey,yi=mr.disabled,Hi=mr.internalPopupClose,Oa=mr.children,Qa=mr.itemIcon,oo=mr.expandIcon,La=mr.popupClassName,Da=mr.popupOffset,po=mr.popupStyle,Za=mr.onClick,io=mr.onMouseEnter,va=mr.onMouseLeave,ka=mr.onTitleClick,Xa=mr.onTitleMouseEnter,Pa=mr.onTitleMouseLeave,ao=(0,Le.Z)(mr,Zt),us=Te(Fr),Ya=_e.useContext(Ke),fi=Ya.prefixCls,Rr=Ya.mode,Ra=Ya.openKeys,_a=Ya.disabled,Va=Ya.overflowDisabled,Mo=Ya.activeKey,go=Ya.selectedKeys,As=Ya.itemIcon,_o=Ya.expandIcon,Js=Ya.onItemClick,Sa=Ya.onOpenChange,xa=Ya.onActive,Bo=_e.useContext(Lt),So=Bo._internalRenderSubMenuItem,Ms=_e.useContext(xt),er=Ms.isSubPathKey,Qs=dt(),fs="".concat(fi,"-submenu"),Zs=_a||yi,qs=_e.useRef(),ma=_e.useRef(),sa=Qa!=null?Qa:As,ra=oo!=null?oo:_o,ua=Ra.includes(Fr),cs=!Va&&ua,Ps=er(go,Fr),jo=xn(Fr,Zs,Xa,Pa),xs=jo.active,Cs=(0,Le.Z)(jo,jt),$s=_e.useState(!1),ru=(0,Ne.Z)($s,2),or=ru[0],Qn=ru[1],Nr=function(Ni){Zs||Qn(Ni)},Di=function(Ni){Nr(!0),io==null||io({key:Fr,domEvent:Ni})},Io=function(Ni){Nr(!1),va==null||va({key:Fr,domEvent:Ni})},lr=_e.useMemo(function(){return xs||(Rr!=="inline"?or||er([Mo],Fr):!1)},[Rr,xs,Mo,or,Fr,er]),Jn=Wn(Qs.length),Un=function(Ni){Zs||(ka==null||ka({key:Fr,domEvent:Ni}),Rr==="inline"&&Sa(Fr,!ua))},cr=kt(function(Xr){Za==null||Za(jr(Xr)),Js(Xr)}),Ur=function(Ni){Rr!=="inline"&&Sa(Fr,Ni)},bi=function(){xa(Fr)},xr=us&&"".concat(us,"-popup"),Hr=_e.createElement("div",(0,he.Z)({role:"menuitem",style:Jn,className:"".concat(fs,"-title"),tabIndex:Zs?null:-1,ref:qs,title:typeof Mr=="string"?Mr:null,"data-menu-id":Va&&us?null:us,"aria-expanded":cs,"aria-haspopup":!0,"aria-controls":xr,"aria-disabled":Zs,onClick:Un,onFocus:bi},Cs),Mr,_e.createElement(br,{icon:Rr!=="horizontal"?ra:void 0,props:(0,Ue.Z)((0,Ue.Z)({},mr),{},{isOpen:cs,isSubMenu:!0})},_e.createElement("i",{className:"".concat(fs,"-arrow")}))),ji=_e.useRef(Rr);if(Rr!=="inline"&&Qs.length>1?ji.current="vertical":ji.current=Rr,!Va){var Ji=ji.current;Hr=_e.createElement(Fn,{mode:Ji,prefixCls:fs,visible:!Hi&&cs&&Rr!=="inline",popupClassName:La,popupOffset:Da,popupStyle:po,popup:_e.createElement(We,{mode:Ji==="horizontal"?"vertical":Ji},_e.createElement(_n,{id:xr,ref:ma},Oa)),disabled:Zs,onVisibleChange:Ur},Hr)}var ca=_e.createElement(we.Z.Item,(0,he.Z)({role:"none"},ao,{component:"li",style:Wr,className:Ae()(fs,"".concat(fs,"-").concat(Rr),wr,(dr={},(0,Me.Z)(dr,"".concat(fs,"-open"),cs),(0,Me.Z)(dr,"".concat(fs,"-active"),lr),(0,Me.Z)(dr,"".concat(fs,"-selected"),Ps),(0,Me.Z)(dr,"".concat(fs,"-disabled"),Zs),dr)),onMouseEnter:Di,onMouseLeave:Io}),Hr,!Va&&_e.createElement(Gt,{id:xr,open:cs,keyPath:Qs},Oa));return So&&(ca=So(ca,mr,{selected:Ps,active:lr,open:cs,disabled:Zs})),_e.createElement(We,{onItemClick:cr,mode:Rr==="horizontal"?"vertical":Rr,itemIcon:sa,expandIcon:ra},ca)};function Mn(mn){var mr=mn.eventKey,dr=mn.children,Wr=dt(mr),wr=Ki(dr,Wr),Mr=rt();_e.useEffect(function(){if(Mr)return Mr.registerPath(mr,Wr),function(){Mr.unregisterPath(mr,Wr)}},[Wr]);var Fr;return Mr?Fr=wr:Fr=_e.createElement(on,mn,wr),_e.createElement(ht.Provider,{value:Wr},Fr)}var ir=ce(43749),qn=["className","title","eventKey","children"],pr=["children"],Gr=function(mr){var dr=mr.className,Wr=mr.title,wr=mr.eventKey,Mr=mr.children,Fr=(0,Le.Z)(mr,qn),ui=_e.useContext(Ke),yi=ui.prefixCls,Hi="".concat(yi,"-item-group");return _e.createElement("li",(0,he.Z)({role:"presentation"},Fr,{onClick:function(Qa){return Qa.stopPropagation()},className:Ae()(Hi,dr)}),_e.createElement("div",{role:"presentation",className:"".concat(Hi,"-title"),title:typeof Wr=="string"?Wr:void 0},Wr),_e.createElement("ul",{role:"group",className:"".concat(Hi,"-list")},Mr))};function Zr(mn){var mr=mn.children,dr=(0,Le.Z)(mn,pr),Wr=dt(dr.eventKey),wr=Ki(mr,Wr),Mr=rt();return Mr?wr:_e.createElement(Gr,(0,Wt.Z)(dr,["warnKey"]),wr)}function $r(mn){var mr=mn.className,dr=mn.style,Wr=_e.useContext(Ke),wr=Wr.prefixCls,Mr=rt();return Mr?null:_e.createElement("li",{role:"separator",className:Ae()("".concat(wr,"-item-divider"),mr),style:dr})}var Xn=["label","children","key","type"];function Or(mn){return(mn||[]).map(function(mr,dr){if(mr&&(0,ir.Z)(mr)==="object"){var Wr=mr,wr=Wr.label,Mr=Wr.children,Fr=Wr.key,ui=Wr.type,yi=(0,Le.Z)(Wr,Xn),Hi=Fr!=null?Fr:"tmp-".concat(dr);return Mr||ui==="group"?ui==="group"?_e.createElement(Zr,(0,he.Z)({key:Hi},yi,{title:wr}),Or(Mr)):_e.createElement(Mn,(0,he.Z)({key:Hi},yi,{title:wr}),Or(Mr)):ui==="divider"?_e.createElement($r,(0,he.Z)({key:Hi},yi)):_e.createElement(mi,(0,he.Z)({key:Hi},yi),wr)}return null}).filter(function(mr){return mr})}function ki(mn,mr,dr){var Wr=mn;return mr&&(Wr=Or(mr)),Ki(Wr,dr)}var vi=["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"],Zi=[],xi=_e.forwardRef(function(mn,mr){var dr,Wr,wr=mn,Mr=wr.prefixCls,Fr=Mr===void 0?"rc-menu":Mr,ui=wr.rootClassName,yi=wr.style,Hi=wr.className,Oa=wr.tabIndex,Qa=Oa===void 0?0:Oa,oo=wr.items,La=wr.children,Da=wr.direction,po=wr.id,Za=wr.mode,io=Za===void 0?"vertical":Za,va=wr.inlineCollapsed,ka=wr.disabled,Xa=wr.disabledOverflow,Pa=wr.subMenuOpenDelay,ao=Pa===void 0?.1:Pa,us=wr.subMenuCloseDelay,Ya=us===void 0?.1:us,fi=wr.forceSubMenuRender,Rr=wr.defaultOpenKeys,Ra=wr.openKeys,_a=wr.activeKey,Va=wr.defaultActiveFirst,Mo=wr.selectable,go=Mo===void 0?!0:Mo,As=wr.multiple,_o=As===void 0?!1:As,Js=wr.defaultSelectedKeys,Sa=wr.selectedKeys,xa=wr.onSelect,Bo=wr.onDeselect,So=wr.inlineIndent,Ms=So===void 0?24:So,er=wr.motion,Qs=wr.defaultMotions,fs=wr.triggerSubMenuAction,Zs=fs===void 0?"hover":fs,qs=wr.builtinPlacements,ma=wr.itemIcon,sa=wr.expandIcon,ra=wr.overflowedIndicator,ua=ra===void 0?"...":ra,cs=wr.overflowedIndicatorPopupClassName,Ps=wr.getPopupContainer,jo=wr.onClick,xs=wr.onOpenChange,Cs=wr.onKeyDown,$s=wr.openAnimation,ru=wr.openTransitionName,or=wr._internalRenderMenuItem,Qn=wr._internalRenderSubMenuItem,Nr=(0,Le.Z)(wr,vi),Di=_e.useMemo(function(){return ki(La,oo,Zi)},[La,oo]),Io=_e.useState(!1),lr=(0,Ne.Z)(Io,2),Jn=lr[0],Un=lr[1],cr=_e.useRef(),Ur=Bt(po),bi=Da==="rtl",xr=(0,fe.Z)(Rr,{value:Ra,postState:function(bl){return bl||Zi}}),Hr=(0,Ne.Z)(xr,2),ji=Hr[0],Ji=Hr[1],ca=function(bl){var Hl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function zc(){Ji(bl),xs==null||xs(bl)}Hl?(0,Oe.flushSync)(zc):zc()},Xr=_e.useState(ji),Ni=(0,Ne.Z)(Xr,2),ia=Ni[0],Ma=Ni[1],Oi=_e.useRef(!1),da=_e.useMemo(function(){return(io==="inline"||io==="vertical")&&va?["vertical",va]:[io,!1]},[io,va]),Lo=(0,Ne.Z)(da,2),co=Lo[0],To=Lo[1],hs=co==="inline",Bu=_e.useState(co),gu=(0,Ne.Z)(Bu,2),Su=gu[0],Cr=gu[1],yr=_e.useState(To),Eu=(0,Ne.Z)(yr,2),mo=Eu[0],Qo=Eu[1];_e.useEffect(function(){Cr(co),Qo(To),Oi.current&&(hs?Ji(ia):ca(Zi))},[co,To]);var Nl=_e.useState(0),el=(0,Ne.Z)(Nl,2),_l=el[0],al=el[1],vu=_l>=Di.length-1||Su!=="horizontal"||Xa;_e.useEffect(function(){hs&&Ma(ji)},[ji]),_e.useEffect(function(){return Oi.current=!0,function(){Oi.current=!1}},[]);var Bs=Mt(),fl=Bs.registerPath,kc=Bs.unregisterPath,qa=Bs.refreshOverflowKeys,Ho=Bs.isSubPathKey,Do=Bs.getKeyPath,zo=Bs.getKeys,ys=Bs.getSubPathKeys,bs=_e.useMemo(function(){return{registerPath:fl,unregisterPath:kc}},[fl,kc]),Ds=_e.useMemo(function(){return{isSubPathKey:Ho}},[Ho]);_e.useEffect(function(){qa(vu?Zi:Di.slice(_l+1).map(function(yl){return yl.key}))},[_l,vu]);var ol=(0,fe.Z)(_a||Va&&((dr=Di[0])===null||dr===void 0?void 0:dr.key),{value:_a}),Vs=(0,Ne.Z)(ol,2),Ol=Vs[0],ac=Vs[1],ad=kt(function(yl){ac(yl)}),Fu=kt(function(){ac(void 0)});(0,_e.useImperativeHandle)(mr,function(){return{list:cr.current,focus:function(bl){var Hl,zc=zo(),Ac=se(zc,Ur),hd=Ac.elements,Tc=Ac.key2element,Ru=Ac.element2key,Aa=ie(cr.current,hd),$o=Ol!=null?Ol:Aa[0]?Ru.get(Aa[0]):(Hl=Di.find(function(Eo){return!Eo.props.disabled}))===null||Hl===void 0?void 0:Hl.key,_i=Tc.get($o);if($o&&_i){var rs;_i==null||(rs=_i.focus)===null||rs===void 0||rs.call(_i,bl)}}}});var oc=(0,fe.Z)(Js||[],{value:Sa,postState:function(bl){return Array.isArray(bl)?bl:bl==null?Zi:[bl]}}),sc=(0,Ne.Z)(oc,2),wc=sc[0],Kl=sc[1],$d=function(bl){if(go){var Hl=bl.key,zc=wc.includes(Hl),Ac;_o?zc?Ac=wc.filter(function(Tc){return Tc!==Hl}):Ac=[].concat((0,At.Z)(wc),[Hl]):Ac=[Hl],Kl(Ac);var hd=(0,Ue.Z)((0,Ue.Z)({},bl),{},{selectedKeys:Ac});zc?Bo==null||Bo(hd):xa==null||xa(hd)}!_o&&ji.length&&Su!=="inline"&&ca(Zi)},Hd=kt(function(yl){jo==null||jo(jr(yl)),$d(yl)}),wd=kt(function(yl,bl){var Hl=ji.filter(function(Ac){return Ac!==yl});if(bl)Hl.push(yl);else if(Su!=="inline"){var zc=ys(yl);Hl=Hl.filter(function(Ac){return!zc.has(Ac)})}(0,ze.Z)(ji,Hl,!0)||ca(Hl,!0)}),eA=function(bl,Hl){var zc=Hl!=null?Hl:!ji.includes(bl);wd(bl,zc)},Mc=oe(Su,Ol,bi,Ur,cr,zo,Do,ac,eA,Cs);_e.useEffect(function(){Un(!0)},[]);var bA=_e.useMemo(function(){return{_internalRenderMenuItem:or,_internalRenderSubMenuItem:Qn}},[or,Qn]),$u=Su!=="horizontal"||Xa?Di:Di.map(function(yl,bl){return _e.createElement(We,{key:yl.key,overflowDisabled:bl>_l},yl)}),Id=_e.createElement(we.Z,(0,he.Z)({id:po,ref:cr,prefixCls:"".concat(Fr,"-overflow"),component:"ul",itemComponent:mi,className:Ae()(Fr,"".concat(Fr,"-root"),"".concat(Fr,"-").concat(Su),Hi,(Wr={},(0,Me.Z)(Wr,"".concat(Fr,"-inline-collapsed"),mo),(0,Me.Z)(Wr,"".concat(Fr,"-rtl"),bi),Wr),ui),dir:Da,style:yi,role:"menu",tabIndex:Qa,data:$u,renderRawItem:function(bl){return bl},renderRawRest:function(bl){var Hl=bl.length,zc=Hl?Di.slice(-Hl):null;return _e.createElement(Mn,{eventKey:Pt,title:ua,disabled:vu,internalPopupClose:Hl===0,popupClassName:cs},zc)},maxCount:Su!=="horizontal"||Xa?we.Z.INVALIDATE:we.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(bl){al(bl)},onKeyDown:Mc},Nr));return _e.createElement(Lt.Provider,{value:bA},_e.createElement(He.Provider,{value:Ur},_e.createElement(We,{prefixCls:Fr,rootClassName:ui,mode:Su,openKeys:ji,rtl:bi,disabled:ka,motion:Jn?er:null,defaultMotions:Jn?Qs:null,activeKey:Ol,onActive:ad,onInactive:Fu,selectedKeys:wc,inlineIndent:Ms,subMenuOpenDelay:ao,subMenuCloseDelay:Ya,forceSubMenuRender:fi,builtinPlacements:qs,triggerSubMenuAction:Zs,getPopupContainer:Ps,itemIcon:ma,expandIcon:sa,onItemClick:Hd,onOpenChange:wd},_e.createElement(xt.Provider,{value:Ds},Id),_e.createElement("div",{style:{display:"none"},"aria-hidden":!0},_e.createElement($e.Provider,{value:bs},Di)))))}),Ca=xi,si=Ca;si.Item=mi,si.SubMenu=Mn,si.ItemGroup=Zr,si.Divider=$r;var oa=si},83836:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Tt}});var he=ce(60499),Me=ce(85899),Ue=ce(72190),At=ce(42244),Ne=ce(59301),Le=ce(92310),ve=ce.n(Le),Ae=ce(29301),we=ce(34280),fe=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ze=void 0;function Be(wt,it){var je=wt.prefixCls,at=wt.invalidate,Yt=wt.item,Vt=wt.renderItem,St=wt.responsive,Qt=wt.responsiveDisabled,cn=wt.registerSize,Nn=wt.itemKey,fn=wt.className,Ln=wt.style,Cn=wt.children,Bn=wt.display,gn=wt.order,Se=wt.component,Fe=Se===void 0?"div":Se,ie=(0,At.Z)(wt,fe),ae=St&&!Bn;function se(lt){cn(Nn,lt)}Ne.useEffect(function(){return function(){se(null)}},[]);var oe=Vt&&Yt!==ze?Vt(Yt,{index:gn}):Cn,Ye;at||(Ye={opacity:ae?0:1,height:ae?0:ze,overflowY:ae?"hidden":ze,order:St?gn:ze,pointerEvents:ae?"none":ze,position:ae?"absolute":ze});var vt={};ae&&(vt["aria-hidden"]=!0);var et=Ne.createElement(Fe,(0,he.Z)({className:ve()(!at&&je,fn),style:(0,Me.Z)((0,Me.Z)({},Ye),Ln)},vt,ie,{ref:it}),oe);return St&&(et=Ne.createElement(Ae.Z,{onResize:function(Pt){var Mt=Pt.offsetWidth;se(Mt)},disabled:Qt},et)),et}var _e=Ne.forwardRef(Be);_e.displayName="Item";var Oe=_e,He=ce(6089),ke=ce(4676),Te=ce(16089);function Pe(wt){if(typeof MessageChannel=="undefined")(0,Te.Z)(wt);else{var it=new MessageChannel;it.port1.onmessage=function(){return wt()},it.port2.postMessage(void 0)}}function Xe(){var wt=Ne.useRef(null),it=function(at){wt.current||(wt.current=[],Pe(function(){(0,ke.unstable_batchedUpdates)(function(){wt.current.forEach(function(Yt){Yt()}),wt.current=null})})),wt.current.push(at)};return it}function Ke(wt,it){var je=Ne.useState(it),at=(0,Ue.Z)(je,2),Yt=at[0],Vt=at[1],St=(0,He.Z)(function(Qt){wt(function(){Vt(Qt)})});return[Yt,St]}var qe=Ne.createContext(null),We=["component"],Ze=["className"],$e=["className"],rt=function(it,je){var at=Ne.useContext(qe);if(!at){var Yt=it.component,Vt=Yt===void 0?"div":Yt,St=(0,At.Z)(it,We);return Ne.createElement(Vt,(0,he.Z)({},St,{ref:je}))}var Qt=at.className,cn=(0,At.Z)(at,Ze),Nn=it.className,fn=(0,At.Z)(it,$e);return Ne.createElement(qe.Provider,{value:null},Ne.createElement(Oe,(0,he.Z)({ref:je,className:ve()(Qt,Nn)},cn,fn)))},ht=Ne.forwardRef(rt);ht.displayName="RawItem";var dt=ht,xt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Je="responsive",Lt="invalidate";function Re(wt){return"+ ".concat(wt.length," ...")}function Rt(wt,it){var je=wt.prefixCls,at=je===void 0?"rc-overflow":je,Yt=wt.data,Vt=Yt===void 0?[]:Yt,St=wt.renderItem,Qt=wt.renderRawItem,cn=wt.itemKey,Nn=wt.itemWidth,fn=Nn===void 0?10:Nn,Ln=wt.ssr,Cn=wt.style,Bn=wt.className,gn=wt.maxCount,Se=wt.renderRest,Fe=wt.renderRawRest,ie=wt.prefix,ae=wt.suffix,se=wt.component,oe=se===void 0?"div":se,Ye=wt.itemComponent,vt=wt.onVisibleChange,et=(0,At.Z)(wt,xt),lt=Ln==="full",Pt=Xe(),Mt=Ke(Pt,null),kt=(0,Ue.Z)(Mt,2),$t=kt[0],Sn=kt[1],Bt=$t||0,nn=Ke(Pt,new Map),tn=(0,Ue.Z)(nn,2),zt=tn[0],pt=tn[1],Wt=Ke(Pt,0),vn=(0,Ue.Z)(Wt,2),xn=vn[0],Wn=vn[1],br=Ke(Pt,0),Lr=(0,Ue.Z)(br,2),jr=Lr[0],Qr=Lr[1],vr=Ke(Pt,0),Ar=(0,Ue.Z)(vr,2),Tr=Ar[0],Bi=Ar[1],$i=Ke(Pt,0),mi=(0,Ue.Z)($i,2),Mi=mi[0],pa=mi[1],Dr=(0,Ne.useState)(null),_n=(0,Ue.Z)(Dr,2),no=_n[0],Ki=_n[1],Co=(0,Ne.useState)(null),ro=(0,Ue.Z)(Co,2),Pi=ro[0],Ii=ro[1],Si=Ne.useMemo(function(){return Pi===null&&lt?Number.MAX_SAFE_INTEGER:Pi||0},[Pi,$t]),gi=(0,Ne.useState)(!1),Ea=(0,Ue.Z)(gi,2),Fn=Ea[0],Dt=Ea[1],Gt="".concat(at,"-item"),Zt=Math.max(xn,jr),jt=gn===Je,on=Vt.length&&jt,Mn=gn===Lt,ir=on||typeof gn=="number"&&Vt.length>gn,qn=(0,Ne.useMemo)(function(){var Mr=Vt;return on?$t===null&&lt?Mr=Vt:Mr=Vt.slice(0,Math.min(Vt.length,Bt/fn)):typeof gn=="number"&&(Mr=Vt.slice(0,gn)),Mr},[Vt,fn,$t,gn,on]),pr=(0,Ne.useMemo)(function(){return on?Vt.slice(Si+1):Vt.slice(qn.length)},[Vt,qn,on,Si]),Gr=(0,Ne.useCallback)(function(Mr,Fr){var ui;return typeof cn=="function"?cn(Mr):(ui=cn&&(Mr==null?void 0:Mr[cn]))!==null&&ui!==void 0?ui:Fr},[cn]),Zr=(0,Ne.useCallback)(St||function(Mr){return Mr},[St]);function $r(Mr,Fr,ui){Pi===Mr&&(Fr===void 0||Fr===no)||(Ii(Mr),ui||(Dt(Mr<Vt.length-1),vt==null||vt(Mr)),Fr!==void 0&&Ki(Fr))}function Xn(Mr,Fr){Sn(Fr.clientWidth)}function Or(Mr,Fr){pt(function(ui){var yi=new Map(ui);return Fr===null?yi.delete(Mr):yi.set(Mr,Fr),yi})}function ki(Mr,Fr){Qr(Fr),Wn(jr)}function vi(Mr,Fr){Bi(Fr)}function Zi(Mr,Fr){pa(Fr)}function xi(Mr){return zt.get(Gr(qn[Mr],Mr))}(0,we.Z)(function(){if(Bt&&typeof Zt=="number"&&qn){var Mr=Tr+Mi,Fr=qn.length,ui=Fr-1;if(!Fr){$r(0,null);return}for(var yi=0;yi<Fr;yi+=1){var Hi=xi(yi);if(lt&&(Hi=Hi||0),Hi===void 0){$r(yi-1,void 0,!0);break}if(Mr+=Hi,ui===0&&Mr<=Bt||yi===ui-1&&Mr+xi(ui)<=Bt){$r(ui,null);break}else if(Mr+Zt>Bt){$r(yi-1,Mr-Hi-Mi+jr);break}}ae&&xi(0)+Mi>Bt&&Ki(null)}},[Bt,zt,jr,Tr,Mi,Gr,qn]);var Ca=Fn&&!!pr.length,si={};no!==null&&on&&(si={position:"absolute",left:no,top:0});var oa={prefixCls:Gt,responsive:on,component:Ye,invalidate:Mn},mn=Qt?function(Mr,Fr){var ui=Gr(Mr,Fr);return Ne.createElement(qe.Provider,{key:ui,value:(0,Me.Z)((0,Me.Z)({},oa),{},{order:Fr,item:Mr,itemKey:ui,registerSize:Or,display:Fr<=Si})},Qt(Mr,Fr))}:function(Mr,Fr){var ui=Gr(Mr,Fr);return Ne.createElement(Oe,(0,he.Z)({},oa,{order:Fr,key:ui,item:Mr,renderItem:Zr,itemKey:ui,registerSize:Or,display:Fr<=Si}))},mr={order:Ca?Si:Number.MAX_SAFE_INTEGER,className:"".concat(Gt,"-rest"),registerSize:ki,display:Ca},dr=Se||Re,Wr=Fe?Ne.createElement(qe.Provider,{value:(0,Me.Z)((0,Me.Z)({},oa),mr)},Fe(pr)):Ne.createElement(Oe,(0,he.Z)({},oa,mr),typeof dr=="function"?dr(pr):dr),wr=Ne.createElement(oe,(0,he.Z)({className:ve()(!Mn&&at,Bn),style:Cn,ref:it},et),ie&&Ne.createElement(Oe,(0,he.Z)({},oa,{responsive:jt,responsiveDisabled:!on,order:-1,className:"".concat(Gt,"-prefix"),registerSize:vi,display:!0}),ie),qn.map(mn),ir?Wr:null,ae&&Ne.createElement(Oe,(0,he.Z)({},oa,{responsive:jt,responsiveDisabled:!on,order:Si,className:"".concat(Gt,"-suffix"),registerSize:Zi,display:!0,style:si}),ae));return jt?Ne.createElement(Ae.Z,{onResize:Xn,disabled:!on},wr):wr}var Ft=Ne.forwardRef(Rt);Ft.displayName="Overflow",Ft.Item=dt,Ft.RESPONSIVE=Je,Ft.INVALIDATE=Lt;var bt=Ft,Tt=bt},91735:function(Tn,Xt){"use strict";Xt.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},17115:function(Tn,Xt,ce){"use strict";ce.d(Xt,{ZP:function(){return ve}});var he=ce(72190),Me=ce(59301),Ue=ce(47273),At=0,Ne=(0,Ue.Z)();function Le(){var Ae;return Ne?(Ae=At,At+=1):Ae="TEST_OR_SSR",Ae}function ve(Ae){var we=Me.useState(),fe=(0,he.Z)(we,2),ze=fe[0],Be=fe[1];return Me.useEffect(function(){Be("rc_select_".concat(Le()))},[]),Ae||ze}},77861:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Ac:function(){return $t},Xo:function(){return jr},Wx:function(){return vr},ZP:function(){return Gt},lk:function(){return qe}});var he=ce(60499),Me=ce(77654),Ue=ce(18642),At=ce(85899),Ne=ce(72190),Le=ce(42244),ve=ce(43749),Ae=ce(18929),we=ce(48736),fe=ce(59301),ze=ce(92310),Be=ce.n(ze),_e=ce(34280),Oe=ce(49658),He=ce(10228),ke=ce(8654),Te=function(jt){var on=jt.className,Mn=jt.customizeIcon,ir=jt.customizeIconProps,qn=jt.onMouseDown,pr=jt.onClick,Gr=jt.children,Zr;return typeof Mn=="function"?Zr=Mn(ir):Zr=Mn,fe.createElement("span",{className:on,onMouseDown:function(Xn){Xn.preventDefault(),qn&&qn(Xn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:pr,"aria-hidden":!0},Zr!==void 0?Zr:fe.createElement("span",{className:Be()(on.split(/\s+/).map(function($r){return"".concat($r,"-icon")}))},Gr))},Pe=Te;function Xe(Zt,jt,on,Mn,ir){var qn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,pr=arguments.length>6?arguments[6]:void 0,Gr=arguments.length>7?arguments[7]:void 0,Zr=fe.useMemo(function(){if((0,ve.Z)(Mn)==="object")return Mn.clearIcon;if(ir)return ir},[Mn,ir]),$r=fe.useMemo(function(){return!!(!qn&&Mn&&(on.length||pr)&&!(Gr==="combobox"&&pr===""))},[Mn,qn,on.length,pr,Gr]);return{allowClear:$r,clearIcon:fe.createElement(Pe,{className:"".concat(Zt,"-clear"),onMouseDown:jt,customizeIcon:Zr},"\xD7")}}var Ke=fe.createContext(null);function qe(){return fe.useContext(Ke)}function We(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,jt=fe.useState(!1),on=(0,Ne.Z)(jt,2),Mn=on[0],ir=on[1],qn=fe.useRef(null),pr=function(){window.clearTimeout(qn.current)};fe.useEffect(function(){return pr},[]);var Gr=function($r,Xn){pr(),qn.current=window.setTimeout(function(){ir($r),Xn&&Xn()},Zt)};return[Mn,Gr,pr]}function Ze(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,jt=fe.useRef(null),on=fe.useRef(null);fe.useEffect(function(){return function(){window.clearTimeout(on.current)}},[]);function Mn(ir){(ir||jt.current===null)&&(jt.current=ir),window.clearTimeout(on.current),on.current=window.setTimeout(function(){jt.current=null},Zt)}return[function(){return jt.current},Mn]}function $e(Zt,jt,on,Mn){var ir=fe.useRef(null);ir.current={open:jt,triggerOpen:on,customizedTrigger:Mn},fe.useEffect(function(){function qn(pr){var Gr;if(!((Gr=ir.current)!==null&&Gr!==void 0&&Gr.customizedTrigger)){var Zr=pr.target;Zr.shadowRoot&&pr.composed&&(Zr=pr.composedPath()[0]||Zr),ir.current.open&&Zt().filter(function($r){return $r}).every(function($r){return!$r.contains(Zr)&&$r!==Zr})&&ir.current.triggerOpen(!1)}}return window.addEventListener("mousedown",qn),function(){return window.removeEventListener("mousedown",qn)}},[])}var rt=ce(26112),ht=ce(83836),dt=function(jt,on){var Mn,ir,qn=jt.prefixCls,pr=jt.id,Gr=jt.inputElement,Zr=jt.disabled,$r=jt.tabIndex,Xn=jt.autoFocus,Or=jt.autoComplete,ki=jt.editable,vi=jt.activeDescendantId,Zi=jt.value,xi=jt.maxLength,Ca=jt.onKeyDown,si=jt.onMouseDown,oa=jt.onChange,mn=jt.onPaste,mr=jt.onCompositionStart,dr=jt.onCompositionEnd,Wr=jt.open,wr=jt.attrs,Mr=Gr||fe.createElement("input",null),Fr=Mr,ui=Fr.ref,yi=Fr.props,Hi=yi.onKeyDown,Oa=yi.onChange,Qa=yi.onMouseDown,oo=yi.onCompositionStart,La=yi.onCompositionEnd,Da=yi.style;return(0,we.Kp)(!("maxLength"in Mr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Mr=fe.cloneElement(Mr,(0,At.Z)((0,At.Z)((0,At.Z)({type:"search"},yi),{},{id:pr,ref:(0,ke.sQ)(on,ui),disabled:Zr,tabIndex:$r,autoComplete:Or||"off",autoFocus:Xn,className:Be()("".concat(qn,"-selection-search-input"),(Mn=Mr)===null||Mn===void 0||(ir=Mn.props)===null||ir===void 0?void 0:ir.className),role:"combobox","aria-label":"Search","aria-expanded":Wr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(pr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(pr,"_list"),"aria-activedescendant":Wr?vi:void 0},wr),{},{value:ki?Zi:"",maxLength:xi,readOnly:!ki,unselectable:ki?null:"on",style:(0,At.Z)((0,At.Z)({},Da),{},{opacity:ki?null:0}),onKeyDown:function(Za){Ca(Za),Hi&&Hi(Za)},onMouseDown:function(Za){si(Za),Qa&&Qa(Za)},onChange:function(Za){oa(Za),Oa&&Oa(Za)},onCompositionStart:function(Za){mr(Za),oo&&oo(Za)},onCompositionEnd:function(Za){dr(Za),La&&La(Za)},onPaste:mn})),Mr},xt=fe.forwardRef(dt);xt.displayName="Input";var Je=xt;function Lt(Zt){return Array.isArray(Zt)?Zt:Zt!==void 0?[Zt]:[]}var Re=typeof window!="undefined"&&window.document&&window.document.documentElement,Rt=Re;function Ft(Zt){return Zt!=null}function bt(Zt){return!Zt&&Zt!==0}function Tt(Zt){return["string","number"].includes((0,ve.Z)(Zt))}function wt(Zt){var jt=void 0;return Zt&&(Tt(Zt.title)?jt=Zt.title.toString():Tt(Zt.label)&&(jt=Zt.label.toString())),jt}function it(Zt,jt){Rt?fe.useLayoutEffect(Zt,jt):fe.useEffect(Zt,jt)}function je(Zt){var jt;return(jt=Zt.key)!==null&&jt!==void 0?jt:Zt.value}var at=function(jt){jt.preventDefault(),jt.stopPropagation()},Yt=function(jt){var on=jt.id,Mn=jt.prefixCls,ir=jt.values,qn=jt.open,pr=jt.searchValue,Gr=jt.autoClearSearchValue,Zr=jt.inputRef,$r=jt.placeholder,Xn=jt.disabled,Or=jt.mode,ki=jt.showSearch,vi=jt.autoFocus,Zi=jt.autoComplete,xi=jt.activeDescendantId,Ca=jt.tabIndex,si=jt.removeIcon,oa=jt.maxTagCount,mn=jt.maxTagTextLength,mr=jt.maxTagPlaceholder,dr=mr===void 0?function(Mo){return"+ ".concat(Mo.length," ...")}:mr,Wr=jt.tagRender,wr=jt.onToggleOpen,Mr=jt.onRemove,Fr=jt.onInputChange,ui=jt.onInputPaste,yi=jt.onInputKeyDown,Hi=jt.onInputMouseDown,Oa=jt.onInputCompositionStart,Qa=jt.onInputCompositionEnd,oo=fe.useRef(null),La=(0,fe.useState)(0),Da=(0,Ne.Z)(La,2),po=Da[0],Za=Da[1],io=(0,fe.useState)(!1),va=(0,Ne.Z)(io,2),ka=va[0],Xa=va[1],Pa="".concat(Mn,"-selection"),ao=qn||Or==="multiple"&&Gr===!1||Or==="tags"?pr:"",us=Or==="tags"||Or==="multiple"&&Gr===!1||ki&&(qn||ka);it(function(){Za(oo.current.scrollWidth)},[ao]);function Ya(Mo,go,As,_o,Js){return fe.createElement("span",{className:Be()("".concat(Pa,"-item"),(0,Ue.Z)({},"".concat(Pa,"-item-disabled"),As)),title:wt(Mo)},fe.createElement("span",{className:"".concat(Pa,"-item-content")},go),_o&&fe.createElement(Pe,{className:"".concat(Pa,"-item-remove"),onMouseDown:at,onClick:Js,customizeIcon:si},"\xD7"))}function fi(Mo,go,As,_o,Js){var Sa=function(Bo){at(Bo),wr(!qn)};return fe.createElement("span",{onMouseDown:Sa},Wr({label:go,value:Mo,disabled:As,closable:_o,onClose:Js}))}function Rr(Mo){var go=Mo.disabled,As=Mo.label,_o=Mo.value,Js=!Xn&&!go,Sa=As;if(typeof mn=="number"&&(typeof As=="string"||typeof As=="number")){var xa=String(Sa);xa.length>mn&&(Sa="".concat(xa.slice(0,mn),"..."))}var Bo=function(Ms){Ms&&Ms.stopPropagation(),Mr(Mo)};return typeof Wr=="function"?fi(_o,Sa,go,Js,Bo):Ya(Mo,Sa,go,Js,Bo)}function Ra(Mo){var go=typeof dr=="function"?dr(Mo):dr;return Ya({title:go},go,!1)}var _a=fe.createElement("div",{className:"".concat(Pa,"-search"),style:{width:po},onFocus:function(){Xa(!0)},onBlur:function(){Xa(!1)}},fe.createElement(Je,{ref:Zr,open:qn,prefixCls:Mn,id:on,inputElement:null,disabled:Xn,autoFocus:vi,autoComplete:Zi,editable:us,activeDescendantId:xi,value:ao,onKeyDown:yi,onMouseDown:Hi,onChange:Fr,onPaste:ui,onCompositionStart:Oa,onCompositionEnd:Qa,tabIndex:Ca,attrs:(0,rt.Z)(jt,!0)}),fe.createElement("span",{ref:oo,className:"".concat(Pa,"-search-mirror"),"aria-hidden":!0},ao,"\xA0")),Va=fe.createElement(ht.Z,{prefixCls:"".concat(Pa,"-overflow"),data:ir,renderItem:Rr,renderRest:Ra,suffix:_a,itemKey:je,maxCount:oa});return fe.createElement(fe.Fragment,null,Va,!ir.length&&!ao&&fe.createElement("span",{className:"".concat(Pa,"-placeholder")},$r))},Vt=Yt,St=function(jt){var on=jt.inputElement,Mn=jt.prefixCls,ir=jt.id,qn=jt.inputRef,pr=jt.disabled,Gr=jt.autoFocus,Zr=jt.autoComplete,$r=jt.activeDescendantId,Xn=jt.mode,Or=jt.open,ki=jt.values,vi=jt.placeholder,Zi=jt.tabIndex,xi=jt.showSearch,Ca=jt.searchValue,si=jt.activeValue,oa=jt.maxLength,mn=jt.onInputKeyDown,mr=jt.onInputMouseDown,dr=jt.onInputChange,Wr=jt.onInputPaste,wr=jt.onInputCompositionStart,Mr=jt.onInputCompositionEnd,Fr=jt.title,ui=fe.useState(!1),yi=(0,Ne.Z)(ui,2),Hi=yi[0],Oa=yi[1],Qa=Xn==="combobox",oo=Qa||xi,La=ki[0],Da=Ca||"";Qa&&si&&!Hi&&(Da=si),fe.useEffect(function(){Qa&&Oa(!1)},[Qa,si]);var po=Xn!=="combobox"&&!Or&&!xi?!1:!!Da,Za=Fr===void 0?wt(La):Fr,io=function(){if(La)return null;var ka=po?{visibility:"hidden"}:void 0;return fe.createElement("span",{className:"".concat(Mn,"-selection-placeholder"),style:ka},vi)};return fe.createElement(fe.Fragment,null,fe.createElement("span",{className:"".concat(Mn,"-selection-search")},fe.createElement(Je,{ref:qn,prefixCls:Mn,id:ir,open:Or,inputElement:on,disabled:pr,autoFocus:Gr,autoComplete:Zr,editable:oo,activeDescendantId:$r,value:Da,onKeyDown:mn,onMouseDown:mr,onChange:function(ka){Oa(!0),dr(ka)},onPaste:Wr,onCompositionStart:wr,onCompositionEnd:Mr,tabIndex:Zi,attrs:(0,rt.Z)(jt,!0),maxLength:Qa?oa:void 0})),!Qa&&La?fe.createElement("span",{className:"".concat(Mn,"-selection-item"),title:Za,style:po?{visibility:"hidden"}:void 0},La.label):null,io())},Qt=St;function cn(Zt){return![He.Z.ESC,He.Z.SHIFT,He.Z.BACKSPACE,He.Z.TAB,He.Z.WIN_KEY,He.Z.ALT,He.Z.META,He.Z.WIN_KEY_RIGHT,He.Z.CTRL,He.Z.SEMICOLON,He.Z.EQUALS,He.Z.CAPS_LOCK,He.Z.CONTEXT_MENU,He.Z.F1,He.Z.F2,He.Z.F3,He.Z.F4,He.Z.F5,He.Z.F6,He.Z.F7,He.Z.F8,He.Z.F9,He.Z.F10,He.Z.F11,He.Z.F12].includes(Zt)}var Nn=function(jt,on){var Mn=(0,fe.useRef)(null),ir=(0,fe.useRef)(!1),qn=jt.prefixCls,pr=jt.open,Gr=jt.mode,Zr=jt.showSearch,$r=jt.tokenWithEnter,Xn=jt.autoClearSearchValue,Or=jt.onSearch,ki=jt.onSearchSubmit,vi=jt.onToggleOpen,Zi=jt.onInputKeyDown,xi=jt.domRef;fe.useImperativeHandle(on,function(){return{focus:function(){Mn.current.focus()},blur:function(){Mn.current.blur()}}});var Ca=Ze(0),si=(0,Ne.Z)(Ca,2),oa=si[0],mn=si[1],mr=function(Da){var po=Da.which;(po===He.Z.UP||po===He.Z.DOWN)&&Da.preventDefault(),Zi&&Zi(Da),po===He.Z.ENTER&&Gr==="tags"&&!ir.current&&!pr&&(ki==null||ki(Da.target.value)),cn(po)&&vi(!0)},dr=function(){mn(!0)},Wr=(0,fe.useRef)(null),wr=function(Da){Or(Da,!0,ir.current)!==!1&&vi(!0)},Mr=function(){ir.current=!0},Fr=function(Da){ir.current=!1,Gr!=="combobox"&&wr(Da.target.value)},ui=function(Da){var po=Da.target.value;if($r&&Wr.current&&/[\r\n]/.test(Wr.current)){var Za=Wr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");po=po.replace(Za,Wr.current)}Wr.current=null,wr(po)},yi=function(Da){var po=Da.clipboardData,Za=po.getData("text");Wr.current=Za},Hi=function(Da){var po=Da.target;if(po!==Mn.current){var Za=document.body.style.msTouchAction!==void 0;Za?setTimeout(function(){Mn.current.focus()}):Mn.current.focus()}},Oa=function(Da){var po=oa();Da.target!==Mn.current&&!po&&Gr!=="combobox"&&Da.preventDefault(),(Gr!=="combobox"&&(!Zr||!po)||!pr)&&(pr&&Xn!==!1&&Or("",!0,!1),vi())},Qa={inputRef:Mn,onInputKeyDown:mr,onInputMouseDown:dr,onInputChange:ui,onInputPaste:yi,onInputCompositionStart:Mr,onInputCompositionEnd:Fr},oo=Gr==="multiple"||Gr==="tags"?fe.createElement(Vt,(0,he.Z)({},jt,Qa)):fe.createElement(Qt,(0,he.Z)({},jt,Qa));return fe.createElement("div",{ref:xi,className:"".concat(qn,"-selector"),onClick:Hi,onMouseDown:Oa},oo)},fn=fe.forwardRef(Nn);fn.displayName="Selector";var Ln=fn,Cn=ce(35593),Bn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],gn=function(jt){var on=jt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:on,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:on,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:on,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:on,adjustY:1},htmlRegion:"scroll"}}},Se=function(jt,on){var Mn=jt.prefixCls,ir=jt.disabled,qn=jt.visible,pr=jt.children,Gr=jt.popupElement,Zr=jt.animation,$r=jt.transitionName,Xn=jt.dropdownStyle,Or=jt.dropdownClassName,ki=jt.direction,vi=ki===void 0?"ltr":ki,Zi=jt.placement,xi=jt.builtinPlacements,Ca=jt.dropdownMatchSelectWidth,si=jt.dropdownRender,oa=jt.dropdownAlign,mn=jt.getPopupContainer,mr=jt.empty,dr=jt.getTriggerDOMNode,Wr=jt.onPopupVisibleChange,wr=jt.onPopupMouseEnter,Mr=(0,Le.Z)(jt,Bn),Fr="".concat(Mn,"-dropdown"),ui=Gr;si&&(ui=si(Gr));var yi=fe.useMemo(function(){return xi||gn(Ca)},[xi,Ca]),Hi=Zr?"".concat(Fr,"-").concat(Zr):$r,Oa=typeof Ca=="number",Qa=fe.useMemo(function(){return Oa?null:Ca===!1?"minWidth":"width"},[Ca,Oa]),oo=Xn;Oa&&(oo=(0,At.Z)((0,At.Z)({},oo),{},{width:Ca}));var La=fe.useRef(null);return fe.useImperativeHandle(on,function(){return{getPopupElement:function(){return La.current}}}),fe.createElement(Cn.Z,(0,he.Z)({},Mr,{showAction:Wr?["click"]:[],hideAction:Wr?["click"]:[],popupPlacement:Zi||(vi==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:yi,prefixCls:Fr,popupTransitionName:Hi,popup:fe.createElement("div",{ref:La,onMouseEnter:wr},ui),stretch:Qa,popupAlign:oa,popupVisible:qn,getPopupContainer:mn,popupClassName:Be()(Or,(0,Ue.Z)({},"".concat(Fr,"-empty"),mr)),popupStyle:oo,getTriggerDOMNode:dr,onPopupVisibleChange:Wr}),pr)},Fe=fe.forwardRef(Se);Fe.displayName="SelectTrigger";var ie=Fe,ae=ce(48745);function se(Zt,jt){var on=Zt.key,Mn;return"value"in Zt&&(Mn=Zt.value),on!=null?on:Mn!==void 0?Mn:"rc-index-key-".concat(jt)}function oe(Zt,jt){var on=Zt||{},Mn=on.label,ir=on.value,qn=on.options,pr=on.groupLabel,Gr=Mn||(jt?"children":"label");return{label:Gr,value:ir||"value",options:qn||"options",groupLabel:pr||Gr}}function Ye(Zt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=jt.fieldNames,Mn=jt.childrenAsData,ir=[],qn=oe(on,!1),pr=qn.label,Gr=qn.value,Zr=qn.options,$r=qn.groupLabel;function Xn(Or,ki){Or.forEach(function(vi){if(ki||!(Zr in vi)){var Zi=vi[Gr];ir.push({key:se(vi,ir.length),groupOption:ki,data:vi,label:vi[pr],value:Zi})}else{var xi=vi[$r];xi===void 0&&Mn&&(xi=vi.label),ir.push({key:se(vi,ir.length),group:!0,data:vi,label:xi}),Xn(vi[Zr],!0)}})}return Xn(Zt,!1),ir}function vt(Zt){var jt=(0,At.Z)({},Zt);return"props"in jt||Object.defineProperty(jt,"props",{get:function(){return(0,we.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),jt}}),jt}function et(Zt,jt){if(!jt||!jt.length)return null;var on=!1;function Mn(qn,pr){var Gr=(0,ae.Z)(pr),Zr=Gr[0],$r=Gr.slice(1);if(!Zr)return[qn];var Xn=qn.split(Zr);return on=on||Xn.length>1,Xn.reduce(function(Or,ki){return[].concat((0,Me.Z)(Or),(0,Me.Z)(Mn(ki,$r)))},[]).filter(function(Or){return Or})}var ir=Mn(Zt,jt);return on?ir:null}var lt=["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"],Pt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Mt(Zt){return Zt==="tags"||Zt==="multiple"}var kt=fe.forwardRef(function(Zt,jt){var on,Mn,ir=Zt.id,qn=Zt.prefixCls,pr=Zt.className,Gr=Zt.showSearch,Zr=Zt.tagRender,$r=Zt.direction,Xn=Zt.omitDomProps,Or=Zt.displayValues,ki=Zt.onDisplayValuesChange,vi=Zt.emptyOptions,Zi=Zt.notFoundContent,xi=Zi===void 0?"Not Found":Zi,Ca=Zt.onClear,si=Zt.mode,oa=Zt.disabled,mn=Zt.loading,mr=Zt.getInputElement,dr=Zt.getRawInputElement,Wr=Zt.open,wr=Zt.defaultOpen,Mr=Zt.onDropdownVisibleChange,Fr=Zt.activeValue,ui=Zt.onActiveValueChange,yi=Zt.activeDescendantId,Hi=Zt.searchValue,Oa=Zt.autoClearSearchValue,Qa=Zt.onSearch,oo=Zt.onSearchSplit,La=Zt.tokenSeparators,Da=Zt.allowClear,po=Zt.suffixIcon,Za=Zt.clearIcon,io=Zt.OptionList,va=Zt.animation,ka=Zt.transitionName,Xa=Zt.dropdownStyle,Pa=Zt.dropdownClassName,ao=Zt.dropdownMatchSelectWidth,us=Zt.dropdownRender,Ya=Zt.dropdownAlign,fi=Zt.placement,Rr=Zt.builtinPlacements,Ra=Zt.getPopupContainer,_a=Zt.showAction,Va=_a===void 0?[]:_a,Mo=Zt.onFocus,go=Zt.onBlur,As=Zt.onKeyUp,_o=Zt.onKeyDown,Js=Zt.onMouseDown,Sa=(0,Le.Z)(Zt,lt),xa=Mt(si),Bo=(Gr!==void 0?Gr:xa)||si==="combobox",So=(0,At.Z)({},Sa);Pt.forEach(function(Do){delete So[Do]}),Xn==null||Xn.forEach(function(Do){delete So[Do]});var Ms=fe.useState(!1),er=(0,Ne.Z)(Ms,2),Qs=er[0],fs=er[1];fe.useEffect(function(){fs((0,Oe.Z)())},[]);var Zs=fe.useRef(null),qs=fe.useRef(null),ma=fe.useRef(null),sa=fe.useRef(null),ra=fe.useRef(null),ua=We(),cs=(0,Ne.Z)(ua,3),Ps=cs[0],jo=cs[1],xs=cs[2];fe.useImperativeHandle(jt,function(){var Do,zo;return{focus:(Do=sa.current)===null||Do===void 0?void 0:Do.focus,blur:(zo=sa.current)===null||zo===void 0?void 0:zo.blur,scrollTo:function(bs){var Ds;return(Ds=ra.current)===null||Ds===void 0?void 0:Ds.scrollTo(bs)}}});var Cs=fe.useMemo(function(){var Do;if(si!=="combobox")return Hi;var zo=(Do=Or[0])===null||Do===void 0?void 0:Do.value;return typeof zo=="string"||typeof zo=="number"?String(zo):""},[Hi,si,Or]),$s=si==="combobox"&&typeof mr=="function"&&mr()||null,ru=typeof dr=="function"&&dr(),or=(0,ke.x1)(qs,ru==null||(on=ru.props)===null||on===void 0?void 0:on.ref),Qn=fe.useState(!1),Nr=(0,Ne.Z)(Qn,2),Di=Nr[0],Io=Nr[1];(0,_e.Z)(function(){Io(!0)},[]);var lr=(0,Ae.Z)(!1,{defaultValue:wr,value:Wr}),Jn=(0,Ne.Z)(lr,2),Un=Jn[0],cr=Jn[1],Ur=Di?Un:!1,bi=!xi&&vi;(oa||bi&&Ur&&si==="combobox")&&(Ur=!1);var xr=bi?!1:Ur,Hr=fe.useCallback(function(Do){var zo=Do!==void 0?Do:!Ur;oa||(cr(zo),Ur!==zo&&(Mr==null||Mr(zo)))},[oa,Ur,cr,Mr]),ji=fe.useMemo(function(){return(La||[]).some(function(Do){return[`
`,`\r
`].includes(Do)})},[La]),Ji=function(zo,ys,bs){var Ds=!0,ol=zo;ui==null||ui(null);var Vs=bs?null:et(zo,La);return si!=="combobox"&&Vs&&(ol="",oo==null||oo(Vs),Hr(!1),Ds=!1),Qa&&Cs!==ol&&Qa(ol,{source:ys?"typing":"effect"}),Ds},ca=function(zo){!zo||!zo.trim()||Qa(zo,{source:"submit"})};fe.useEffect(function(){!Ur&&!xa&&si!=="combobox"&&Ji("",!1,!1)},[Ur]),fe.useEffect(function(){Un&&oa&&cr(!1),oa&&jo(!1)},[oa]);var Xr=Ze(),Ni=(0,Ne.Z)(Xr,2),ia=Ni[0],Ma=Ni[1],Oi=function(zo){var ys=ia(),bs=zo.which;if(bs===He.Z.ENTER&&(si!=="combobox"&&zo.preventDefault(),Ur||Hr(!0)),Ma(!!Cs),bs===He.Z.BACKSPACE&&!ys&&xa&&!Cs&&Or.length){for(var Ds=(0,Me.Z)(Or),ol=null,Vs=Ds.length-1;Vs>=0;Vs-=1){var Ol=Ds[Vs];if(!Ol.disabled){Ds.splice(Vs,1),ol=Ol;break}}ol&&ki(Ds,{type:"remove",values:[ol]})}for(var ac=arguments.length,ad=new Array(ac>1?ac-1:0),Fu=1;Fu<ac;Fu++)ad[Fu-1]=arguments[Fu];if(Ur&&ra.current){var oc;(oc=ra.current).onKeyDown.apply(oc,[zo].concat(ad))}_o==null||_o.apply(void 0,[zo].concat(ad))},da=function(zo){for(var ys=arguments.length,bs=new Array(ys>1?ys-1:0),Ds=1;Ds<ys;Ds++)bs[Ds-1]=arguments[Ds];if(Ur&&ra.current){var ol;(ol=ra.current).onKeyUp.apply(ol,[zo].concat(bs))}As==null||As.apply(void 0,[zo].concat(bs))},Lo=function(zo){var ys=Or.filter(function(bs){return bs!==zo});ki(ys,{type:"remove",values:[zo]})},co=fe.useRef(!1),To=function(){jo(!0),oa||(Mo&&!co.current&&Mo.apply(void 0,arguments),Va.includes("focus")&&Hr(!0)),co.current=!0},hs=function(){jo(!1,function(){co.current=!1,Hr(!1)}),!oa&&(Cs&&(si==="tags"?Qa(Cs,{source:"submit"}):si==="multiple"&&Qa("",{source:"blur"})),go&&go.apply(void 0,arguments))},Bu=[];fe.useEffect(function(){return function(){Bu.forEach(function(Do){return clearTimeout(Do)}),Bu.splice(0,Bu.length)}},[]);var gu=function(zo){var ys,bs=zo.target,Ds=(ys=ma.current)===null||ys===void 0?void 0:ys.getPopupElement();if(Ds&&Ds.contains(bs)){var ol=setTimeout(function(){var ad=Bu.indexOf(ol);if(ad!==-1&&Bu.splice(ad,1),xs(),!Qs&&!Ds.contains(document.activeElement)){var Fu;(Fu=sa.current)===null||Fu===void 0||Fu.focus()}});Bu.push(ol)}for(var Vs=arguments.length,Ol=new Array(Vs>1?Vs-1:0),ac=1;ac<Vs;ac++)Ol[ac-1]=arguments[ac];Js==null||Js.apply(void 0,[zo].concat(Ol))},Su=fe.useState({}),Cr=(0,Ne.Z)(Su,2),yr=Cr[1];function Eu(){yr({})}var mo;ru&&(mo=function(zo){Hr(zo)}),$e(function(){var Do;return[Zs.current,(Do=ma.current)===null||Do===void 0?void 0:Do.getPopupElement()]},xr,Hr,!!ru);var Qo=fe.useMemo(function(){return(0,At.Z)((0,At.Z)({},Zt),{},{notFoundContent:xi,open:Ur,triggerOpen:xr,id:ir,showSearch:Bo,multiple:xa,toggleOpen:Hr})},[Zt,xi,xr,Ur,ir,Bo,xa,Hr]),Nl=!!po||mn,el;Nl&&(el=fe.createElement(Pe,{className:Be()("".concat(qn,"-arrow"),(0,Ue.Z)({},"".concat(qn,"-arrow-loading"),mn)),customizeIcon:po,customizeIconProps:{loading:mn,searchValue:Cs,open:Ur,focused:Ps,showSearch:Bo}}));var _l=function(){var zo;Ca==null||Ca(),(zo=sa.current)===null||zo===void 0||zo.focus(),ki([],{type:"clear",values:Or}),Ji("",!1,!1)},al=Xe(qn,_l,Or,Da,Za,oa,Cs,si),vu=al.allowClear,Bs=al.clearIcon,fl=fe.createElement(io,{ref:ra}),kc=Be()(qn,pr,(Mn={},(0,Ue.Z)(Mn,"".concat(qn,"-focused"),Ps),(0,Ue.Z)(Mn,"".concat(qn,"-multiple"),xa),(0,Ue.Z)(Mn,"".concat(qn,"-single"),!xa),(0,Ue.Z)(Mn,"".concat(qn,"-allow-clear"),Da),(0,Ue.Z)(Mn,"".concat(qn,"-show-arrow"),Nl),(0,Ue.Z)(Mn,"".concat(qn,"-disabled"),oa),(0,Ue.Z)(Mn,"".concat(qn,"-loading"),mn),(0,Ue.Z)(Mn,"".concat(qn,"-open"),Ur),(0,Ue.Z)(Mn,"".concat(qn,"-customize-input"),$s),(0,Ue.Z)(Mn,"".concat(qn,"-show-search"),Bo),Mn)),qa=fe.createElement(ie,{ref:ma,disabled:oa,prefixCls:qn,visible:xr,popupElement:fl,animation:va,transitionName:ka,dropdownStyle:Xa,dropdownClassName:Pa,direction:$r,dropdownMatchSelectWidth:ao,dropdownRender:us,dropdownAlign:Ya,placement:fi,builtinPlacements:Rr,getPopupContainer:Ra,empty:vi,getTriggerDOMNode:function(){return qs.current},onPopupVisibleChange:mo,onPopupMouseEnter:Eu},ru?fe.cloneElement(ru,{ref:or}):fe.createElement(Ln,(0,he.Z)({},Zt,{domRef:qs,prefixCls:qn,inputElement:$s,ref:sa,id:ir,showSearch:Bo,autoClearSearchValue:Oa,mode:si,activeDescendantId:yi,tagRender:Zr,values:Or,open:Ur,onToggleOpen:Hr,activeValue:Fr,searchValue:Cs,onSearch:Ji,onSearchSubmit:ca,onRemove:Lo,tokenWithEnter:ji}))),Ho;return ru?Ho=qa:Ho=fe.createElement("div",(0,he.Z)({className:kc},So,{ref:Zs,onMouseDown:gu,onKeyDown:Oi,onKeyUp:da,onFocus:To,onBlur:hs}),Ps&&!Ur&&fe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Or.map(function(Do){var zo=Do.label,ys=Do.value;return["number","string"].includes((0,ve.Z)(zo))?zo:ys}).join(", "))),qa,el,vu&&Bs),fe.createElement(Ke.Provider,{value:Qo},Ho)}),$t=kt,Sn=function(Zt,jt){var on=fe.useRef({values:new Map,options:new Map}),Mn=fe.useMemo(function(){var qn=on.current,pr=qn.values,Gr=qn.options,Zr=Zt.map(function(Or){if(Or.label===void 0){var ki;return(0,At.Z)((0,At.Z)({},Or),{},{label:(ki=pr.get(Or.value))===null||ki===void 0?void 0:ki.label})}return Or}),$r=new Map,Xn=new Map;return Zr.forEach(function(Or){$r.set(Or.value,Or),Xn.set(Or.value,jt.get(Or.value)||Gr.get(Or.value))}),on.current.values=$r,on.current.options=Xn,Zr},[Zt,jt]),ir=fe.useCallback(function(qn){return jt.get(qn)||on.current.options.get(qn)},[jt]);return[Mn,ir]};function Bt(Zt,jt){return Lt(Zt).join("").toUpperCase().includes(jt)}var nn=function(Zt,jt,on,Mn,ir){return fe.useMemo(function(){if(!on||Mn===!1)return Zt;var qn=jt.options,pr=jt.label,Gr=jt.value,Zr=[],$r=typeof Mn=="function",Xn=on.toUpperCase(),Or=$r?Mn:function(vi,Zi){return ir?Bt(Zi[ir],Xn):Zi[qn]?Bt(Zi[pr!=="children"?pr:"label"],Xn):Bt(Zi[Gr],Xn)},ki=$r?function(vi){return vt(vi)}:function(vi){return vi};return Zt.forEach(function(vi){if(vi[qn]){var Zi=Or(on,ki(vi));if(Zi)Zr.push(vi);else{var xi=vi[qn].filter(function(Ca){return Or(on,ki(Ca))});xi.length&&Zr.push((0,At.Z)((0,At.Z)({},vi),{},(0,Ue.Z)({},qn,xi)))}return}Or(on,ki(vi))&&Zr.push(vi)}),Zr},[Zt,Mn,ir,on,jt])},tn=ce(17115),zt=ce(11592),pt=["children","value"],Wt=["children"];function vn(Zt){var jt=Zt,on=jt.key,Mn=jt.props,ir=Mn.children,qn=Mn.value,pr=(0,Le.Z)(Mn,pt);return(0,At.Z)({key:on,value:qn!==void 0?qn:on,children:ir},pr)}function xn(Zt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,zt.Z)(Zt).map(function(on,Mn){if(!fe.isValidElement(on)||!on.type)return null;var ir=on,qn=ir.type.isSelectOptGroup,pr=ir.key,Gr=ir.props,Zr=Gr.children,$r=(0,Le.Z)(Gr,Wt);return jt||!qn?vn(on):(0,At.Z)((0,At.Z)({key:"__RC_SELECT_GRP__".concat(pr===null?Mn:pr,"__"),label:pr},$r),{},{options:xn(Zr)})}).filter(function(on){return on})}function Wn(Zt,jt,on,Mn,ir){return fe.useMemo(function(){var qn=Zt,pr=!Zt;pr&&(qn=xn(jt));var Gr=new Map,Zr=new Map,$r=function(ki,vi,Zi){Zi&&typeof Zi=="string"&&ki.set(vi[Zi],vi)};function Xn(Or){for(var ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,vi=0;vi<Or.length;vi+=1){var Zi=Or[vi];!Zi[on.options]||ki?(Gr.set(Zi[on.value],Zi),$r(Zr,Zi,on.label),$r(Zr,Zi,Mn),$r(Zr,Zi,ir)):Xn(Zi[on.options],!0)}}return Xn(qn),{options:qn,valueOptions:Gr,labelOptions:Zr}},[Zt,jt,on,Mn,ir])}function br(Zt){var jt=fe.useRef();jt.current=Zt;var on=fe.useCallback(function(){return jt.current.apply(jt,arguments)},[]);return on}var Lr=function(){return null};Lr.isSelectOptGroup=!0;var jr=Lr,Qr=function(){return null};Qr.isSelectOption=!0;var vr=Qr,Ar=ce(80547),Tr=ce(2738),Bi=ce(48911),$i=fe.createContext(null),mi=$i;function Mi(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var pa=["disabled","title","children","style","className"];function Dr(Zt){return typeof Zt=="string"||typeof Zt=="number"}var _n=function(jt,on){var Mn=qe(),ir=Mn.prefixCls,qn=Mn.id,pr=Mn.open,Gr=Mn.multiple,Zr=Mn.mode,$r=Mn.searchValue,Xn=Mn.toggleOpen,Or=Mn.notFoundContent,ki=Mn.onPopupScroll,vi=fe.useContext(mi),Zi=vi.flattenOptions,xi=vi.onActiveValue,Ca=vi.defaultActiveFirstOption,si=vi.onSelect,oa=vi.menuItemSelectedIcon,mn=vi.rawValues,mr=vi.fieldNames,dr=vi.virtual,Wr=vi.direction,wr=vi.listHeight,Mr=vi.listItemHeight,Fr="".concat(ir,"-item"),ui=(0,Ar.Z)(function(){return Zi},[pr,Zi],function(Ya,fi){return fi[0]&&Ya[1]!==fi[1]}),yi=fe.useRef(null),Hi=function(fi){fi.preventDefault()},Oa=function(fi){yi.current&&yi.current.scrollTo(typeof fi=="number"?{index:fi}:fi)},Qa=function(fi){for(var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ra=ui.length,_a=0;_a<Ra;_a+=1){var Va=(fi+_a*Rr+Ra)%Ra,Mo=ui[Va],go=Mo.group,As=Mo.data;if(!go&&!As.disabled)return Va}return-1},oo=fe.useState(function(){return Qa(0)}),La=(0,Ne.Z)(oo,2),Da=La[0],po=La[1],Za=function(fi){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;po(fi);var Ra={source:Rr?"keyboard":"mouse"},_a=ui[fi];if(!_a){xi(null,-1,Ra);return}xi(_a.value,fi,Ra)};(0,fe.useEffect)(function(){Za(Ca!==!1?Qa(0):-1)},[ui.length,$r]);var io=fe.useCallback(function(Ya){return mn.has(Ya)&&Zr!=="combobox"},[Zr,(0,Me.Z)(mn).toString(),mn.size]);(0,fe.useEffect)(function(){var Ya=setTimeout(function(){if(!Gr&&pr&&mn.size===1){var Rr=Array.from(mn)[0],Ra=ui.findIndex(function(_a){var Va=_a.data;return Va.value===Rr});Ra!==-1&&(Za(Ra),Oa(Ra))}});if(pr){var fi;(fi=yi.current)===null||fi===void 0||fi.scrollTo(void 0)}return function(){return clearTimeout(Ya)}},[pr,$r,Zi.length]);var va=function(fi){fi!==void 0&&si(fi,{selected:!mn.has(fi)}),Gr||Xn(!1)};if(fe.useImperativeHandle(on,function(){return{onKeyDown:function(fi){var Rr=fi.which,Ra=fi.ctrlKey;switch(Rr){case He.Z.N:case He.Z.P:case He.Z.UP:case He.Z.DOWN:{var _a=0;if(Rr===He.Z.UP?_a=-1:Rr===He.Z.DOWN?_a=1:Mi()&&Ra&&(Rr===He.Z.N?_a=1:Rr===He.Z.P&&(_a=-1)),_a!==0){var Va=Qa(Da+_a,_a);Oa(Va),Za(Va,!0)}break}case He.Z.ENTER:{var Mo=ui[Da];Mo&&!Mo.data.disabled?va(Mo.value):va(void 0),pr&&fi.preventDefault();break}case He.Z.ESC:Xn(!1),pr&&fi.stopPropagation()}},onKeyUp:function(){},scrollTo:function(fi){Oa(fi)}}}),ui.length===0)return fe.createElement("div",{role:"listbox",id:"".concat(qn,"_list"),className:"".concat(Fr,"-empty"),onMouseDown:Hi},Or);var ka=Object.keys(mr).map(function(Ya){return mr[Ya]}),Xa=function(fi){return fi.label};function Pa(Ya,fi){var Rr=Ya.group;return{role:Rr?"presentation":"option",id:"".concat(qn,"_list_").concat(fi)}}var ao=function(fi){var Rr=ui[fi];if(!Rr)return null;var Ra=Rr.data||{},_a=Ra.value,Va=Rr.group,Mo=(0,rt.Z)(Ra,!0),go=Xa(Rr);return Rr?fe.createElement("div",(0,he.Z)({"aria-label":typeof go=="string"&&!Va?go:null},Mo,{key:fi},Pa(Rr,fi),{"aria-selected":io(_a)}),_a):null},us={role:"listbox",id:"".concat(qn,"_list")};return fe.createElement(fe.Fragment,null,dr&&fe.createElement("div",(0,he.Z)({},us,{style:{height:0,width:0,overflow:"hidden"}}),ao(Da-1),ao(Da),ao(Da+1)),fe.createElement(Bi.Z,{itemKey:"key",ref:yi,data:ui,height:wr,itemHeight:Mr,fullHeight:!1,onMouseDown:Hi,onScroll:ki,virtual:dr,direction:Wr,innerProps:dr?null:us},function(Ya,fi){var Rr,Ra=Ya.group,_a=Ya.groupOption,Va=Ya.data,Mo=Ya.label,go=Ya.value,As=Va.key;if(Ra){var _o,Js=(_o=Va.title)!==null&&_o!==void 0?_o:Dr(Mo)?Mo.toString():void 0;return fe.createElement("div",{className:Be()(Fr,"".concat(Fr,"-group")),title:Js},Mo!==void 0?Mo:As)}var Sa=Va.disabled,xa=Va.title,Bo=Va.children,So=Va.style,Ms=Va.className,er=(0,Le.Z)(Va,pa),Qs=(0,Tr.Z)(er,ka),fs=io(go),Zs="".concat(Fr,"-option"),qs=Be()(Fr,Zs,Ms,(Rr={},(0,Ue.Z)(Rr,"".concat(Zs,"-grouped"),_a),(0,Ue.Z)(Rr,"".concat(Zs,"-active"),Da===fi&&!Sa),(0,Ue.Z)(Rr,"".concat(Zs,"-disabled"),Sa),(0,Ue.Z)(Rr,"".concat(Zs,"-selected"),fs),Rr)),ma=Xa(Ya),sa=!oa||typeof oa=="function"||fs,ra=typeof ma=="number"?ma:ma||go,ua=Dr(ra)?ra.toString():void 0;return xa!==void 0&&(ua=xa),fe.createElement("div",(0,he.Z)({},(0,rt.Z)(Qs),dr?{}:Pa(Ya,fi),{"aria-selected":fs,className:qs,title:ua,onMouseMove:function(){Da===fi||Sa||Za(fi)},onClick:function(){Sa||va(go)},style:So}),fe.createElement("div",{className:"".concat(Zs,"-content")},ra),fe.isValidElement(oa)||fs,sa&&fe.createElement(Pe,{className:"".concat(Fr,"-option-state"),customizeIcon:oa,customizeIconProps:{isSelected:fs}},fs?"\u2713":null))}))},no=fe.forwardRef(_n);no.displayName="OptionList";var Ki=no;function Co(Zt){var jt=Zt.mode,on=Zt.options,Mn=Zt.children,ir=Zt.backfill,qn=Zt.allowClear,pr=Zt.placeholder,Gr=Zt.getInputElement,Zr=Zt.showSearch,$r=Zt.onSearch,Xn=Zt.defaultOpen,Or=Zt.autoFocus,ki=Zt.labelInValue,vi=Zt.value,Zi=Zt.inputValue,xi=Zt.optionLabelProp,Ca=isMultiple(jt),si=Zr!==void 0?Zr:Ca||jt==="combobox",oa=on||convertChildrenToData(Mn);if(warning(jt!=="tags"||oa.every(function(Wr){return!Wr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),jt==="tags"||jt==="combobox"){var mn=oa.some(function(Wr){return Wr.options?Wr.options.some(function(wr){return typeof("value"in wr?wr.value:wr.key)=="number"}):typeof("value"in Wr?Wr.value:Wr.key)=="number"});warning(!mn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(jt!=="combobox"||!xi,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(jt==="combobox"||!ir,"`backfill` only works with `combobox` mode."),warning(jt==="combobox"||!Gr,"`getInputElement` only work with `combobox` mode."),noteOnce(jt!=="combobox"||!Gr||!qn||!pr,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),$r&&!si&&jt!=="combobox"&&jt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Xn||Or,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),vi!=null){var mr=toArray(vi);warning(!ki||mr.every(function(Wr){return _typeof(Wr)==="object"&&("key"in Wr||"value"in Wr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Ca||Array.isArray(vi),"`value` should be array when `mode` is `multiple` or `tags`")}if(Mn){var dr=null;toNodeArray(Mn).some(function(Wr){if(!React.isValidElement(Wr)||!Wr.type)return!1;var wr=Wr,Mr=wr.type;if(Mr.isSelectOption)return!1;if(Mr.isSelectOptGroup){var Fr=toNodeArray(Wr.props.children).every(function(ui){return!React.isValidElement(ui)||!Wr.type||ui.type.isSelectOption?!0:(dr=ui.type,!1)});return!Fr}return dr=Mr,!0}),dr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(dr.displayName||dr.name||dr,"`.")),warning(Zi===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ro(Zt,jt){if(Zt){var on=function Mn(ir){for(var qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pr=0;pr<ir.length;pr++){var Gr=ir[pr];if(Gr[jt==null?void 0:jt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!qn&&Array.isArray(Gr[jt==null?void 0:jt.options])&&Mn(Gr[jt==null?void 0:jt.options],!0))break}};on(Zt)}}var Pi=null,Ii=["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"],Si=["inputValue"];function gi(Zt){return!Zt||(0,ve.Z)(Zt)!=="object"}var Ea=fe.forwardRef(function(Zt,jt){var on=Zt.id,Mn=Zt.mode,ir=Zt.prefixCls,qn=ir===void 0?"rc-select":ir,pr=Zt.backfill,Gr=Zt.fieldNames,Zr=Zt.inputValue,$r=Zt.searchValue,Xn=Zt.onSearch,Or=Zt.autoClearSearchValue,ki=Or===void 0?!0:Or,vi=Zt.onSelect,Zi=Zt.onDeselect,xi=Zt.dropdownMatchSelectWidth,Ca=xi===void 0?!0:xi,si=Zt.filterOption,oa=Zt.filterSort,mn=Zt.optionFilterProp,mr=Zt.optionLabelProp,dr=Zt.options,Wr=Zt.children,wr=Zt.defaultActiveFirstOption,Mr=Zt.menuItemSelectedIcon,Fr=Zt.virtual,ui=Zt.direction,yi=Zt.listHeight,Hi=yi===void 0?200:yi,Oa=Zt.listItemHeight,Qa=Oa===void 0?20:Oa,oo=Zt.value,La=Zt.defaultValue,Da=Zt.labelInValue,po=Zt.onChange,Za=(0,Le.Z)(Zt,Ii),io=(0,tn.ZP)(on),va=Mt(Mn),ka=!!(!dr&&Wr),Xa=fe.useMemo(function(){return si===void 0&&Mn==="combobox"?!1:si},[si,Mn]),Pa=fe.useMemo(function(){return oe(Gr,ka)},[JSON.stringify(Gr),ka]),ao=(0,Ae.Z)("",{value:$r!==void 0?$r:Zr,postState:function(bi){return bi||""}}),us=(0,Ne.Z)(ao,2),Ya=us[0],fi=us[1],Rr=Wn(dr,Wr,Pa,mn,mr),Ra=Rr.valueOptions,_a=Rr.labelOptions,Va=Rr.options,Mo=fe.useCallback(function(Ur){var bi=Lt(Ur);return bi.map(function(xr){var Hr,ji,Ji,ca,Xr;if(gi(xr))Hr=xr;else{var Ni;Ji=xr.key,ji=xr.label,Hr=(Ni=xr.value)!==null&&Ni!==void 0?Ni:Ji}var ia=Ra.get(Hr);if(ia){var Ma;if(ji===void 0&&(ji=ia==null?void 0:ia[mr||Pa.label]),Ji===void 0&&(Ji=(Ma=ia==null?void 0:ia.key)!==null&&Ma!==void 0?Ma:Hr),ca=ia==null?void 0:ia.disabled,Xr=ia==null?void 0:ia.title,0)var Oi}return{label:ji,value:Hr,key:Ji,disabled:ca,title:Xr}})},[Pa,mr,Ra]),go=(0,Ae.Z)(La,{value:oo}),As=(0,Ne.Z)(go,2),_o=As[0],Js=As[1],Sa=fe.useMemo(function(){var Ur,bi=Mo(_o);return Mn==="combobox"&&bt((Ur=bi[0])===null||Ur===void 0?void 0:Ur.value)?[]:bi},[_o,Mo,Mn]),xa=Sn(Sa,Ra),Bo=(0,Ne.Z)(xa,2),So=Bo[0],Ms=Bo[1],er=fe.useMemo(function(){if(!Mn&&So.length===1){var Ur=So[0];if(Ur.value===null&&(Ur.label===null||Ur.label===void 0))return[]}return So.map(function(bi){var xr;return(0,At.Z)((0,At.Z)({},bi),{},{label:(xr=bi.label)!==null&&xr!==void 0?xr:bi.value})})},[Mn,So]),Qs=fe.useMemo(function(){return new Set(So.map(function(Ur){return Ur.value}))},[So]);fe.useEffect(function(){if(Mn==="combobox"){var Ur,bi=(Ur=So[0])===null||Ur===void 0?void 0:Ur.value;fi(Ft(bi)?String(bi):"")}},[So]);var fs=br(function(Ur,bi){var xr,Hr=bi!=null?bi:Ur;return xr={},(0,Ue.Z)(xr,Pa.value,Ur),(0,Ue.Z)(xr,Pa.label,Hr),xr}),Zs=fe.useMemo(function(){if(Mn!=="tags")return Va;var Ur=(0,Me.Z)(Va),bi=function(Hr){return Ra.has(Hr)};return(0,Me.Z)(So).sort(function(xr,Hr){return xr.value<Hr.value?-1:1}).forEach(function(xr){var Hr=xr.value;bi(Hr)||Ur.push(fs(Hr,xr.label))}),Ur},[fs,Va,Ra,So,Mn]),qs=nn(Zs,Pa,Ya,Xa,mn),ma=fe.useMemo(function(){return Mn!=="tags"||!Ya||qs.some(function(Ur){return Ur[mn||"value"]===Ya})||qs.some(function(Ur){return Ur[Pa.value]===Ya})?qs:[fs(Ya)].concat((0,Me.Z)(qs))},[fs,mn,Mn,qs,Ya,Pa]),sa=fe.useMemo(function(){return oa?(0,Me.Z)(ma).sort(function(Ur,bi){return oa(Ur,bi)}):ma},[ma,oa]),ra=fe.useMemo(function(){return Ye(sa,{fieldNames:Pa,childrenAsData:ka})},[sa,Pa,ka]),ua=function(bi){var xr=Mo(bi);if(Js(xr),po&&(xr.length!==So.length||xr.some(function(Ji,ca){var Xr;return((Xr=So[ca])===null||Xr===void 0?void 0:Xr.value)!==(Ji==null?void 0:Ji.value)}))){var Hr=Da?xr:xr.map(function(Ji){return Ji.value}),ji=xr.map(function(Ji){return vt(Ms(Ji.value))});po(va?Hr:Hr[0],va?ji:ji[0])}},cs=fe.useState(null),Ps=(0,Ne.Z)(cs,2),jo=Ps[0],xs=Ps[1],Cs=fe.useState(0),$s=(0,Ne.Z)(Cs,2),ru=$s[0],or=$s[1],Qn=wr!==void 0?wr:Mn!=="combobox",Nr=fe.useCallback(function(Ur,bi){var xr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Hr=xr.source,ji=Hr===void 0?"keyboard":Hr;or(bi),pr&&Mn==="combobox"&&Ur!==null&&ji==="keyboard"&&xs(String(Ur))},[pr,Mn]),Di=function(bi,xr,Hr){var ji=function(){var co,To=Ms(bi);return[Da?{label:To==null?void 0:To[Pa.label],value:bi,key:(co=To==null?void 0:To.key)!==null&&co!==void 0?co:bi}:bi,vt(To)]};if(xr&&vi){var Ji=ji(),ca=(0,Ne.Z)(Ji,2),Xr=ca[0],Ni=ca[1];vi(Xr,Ni)}else if(!xr&&Zi&&Hr!=="clear"){var ia=ji(),Ma=(0,Ne.Z)(ia,2),Oi=Ma[0],da=Ma[1];Zi(Oi,da)}},Io=br(function(Ur,bi){var xr,Hr=va?bi.selected:!0;Hr?xr=va?[].concat((0,Me.Z)(So),[Ur]):[Ur]:xr=So.filter(function(ji){return ji.value!==Ur}),ua(xr),Di(Ur,Hr),Mn==="combobox"?xs(""):(!Mt||ki)&&(fi(""),xs(""))}),lr=function(bi,xr){ua(bi);var Hr=xr.type,ji=xr.values;(Hr==="remove"||Hr==="clear")&&ji.forEach(function(Ji){Di(Ji.value,!1,Hr)})},Jn=function(bi,xr){if(fi(bi),xs(null),xr.source==="submit"){var Hr=(bi||"").trim();if(Hr){var ji=Array.from(new Set([].concat((0,Me.Z)(Qs),[Hr])));ua(ji),Di(Hr,!0),fi("")}return}xr.source!=="blur"&&(Mn==="combobox"&&ua(bi),Xn==null||Xn(bi))},Un=function(bi){var xr=bi;Mn!=="tags"&&(xr=bi.map(function(ji){var Ji=_a.get(ji);return Ji==null?void 0:Ji.value}).filter(function(ji){return ji!==void 0}));var Hr=Array.from(new Set([].concat((0,Me.Z)(Qs),(0,Me.Z)(xr))));ua(Hr),Hr.forEach(function(ji){Di(ji,!0)})},cr=fe.useMemo(function(){var Ur=Fr!==!1&&Ca!==!1;return(0,At.Z)((0,At.Z)({},Rr),{},{flattenOptions:ra,onActiveValue:Nr,defaultActiveFirstOption:Qn,onSelect:Io,menuItemSelectedIcon:Mr,rawValues:Qs,fieldNames:Pa,virtual:Ur,direction:ui,listHeight:Hi,listItemHeight:Qa,childrenAsData:ka})},[Rr,ra,Nr,Qn,Io,Mr,Qs,Pa,Fr,Ca,Hi,Qa,ka]);return fe.createElement(mi.Provider,{value:cr},fe.createElement($t,(0,he.Z)({},Za,{id:io,prefixCls:qn,ref:jt,omitDomProps:Si,mode:Mn,displayValues:er,onDisplayValuesChange:lr,direction:ui,searchValue:Ya,onSearch:Jn,autoClearSearchValue:ki,onSearchSplit:Un,dropdownMatchSelectWidth:Ca,OptionList:Ki,emptyOptions:!ra.length,activeValue:jo,activeDescendantId:"".concat(io,"_list_").concat(ru)})))}),Fn=Ea;Fn.Option=vr,Fn.OptGroup=jr;var Dt=Fn,Gt=Dt},9296:function(Tn,Xt,ce){"use strict";ce.r(Xt),ce.d(Xt,{ResizableTextArea:function(){return xt},default:function(){return bt}});var he=ce(60499),Me=ce(85899),Ue=ce(18642),At=ce(43749),Ne=ce(72190),Le=ce(42244),ve=ce(77654),Ae=ce(92310),we=ce.n(Ae),fe=ce(93681),ze=ce(5643),Be=ce(18929),_e=ce(59301),Oe=ce(29301),He=ce(34280),ke=ce(16089),Te=`
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;
`,Pe=["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"],Xe={},Ke;function qe(Tt){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=Tt.getAttribute("id")||Tt.getAttribute("data-reactid")||Tt.getAttribute("name");if(wt&&Xe[it])return Xe[it];var je=window.getComputedStyle(Tt),at=je.getPropertyValue("box-sizing")||je.getPropertyValue("-moz-box-sizing")||je.getPropertyValue("-webkit-box-sizing"),Yt=parseFloat(je.getPropertyValue("padding-bottom"))+parseFloat(je.getPropertyValue("padding-top")),Vt=parseFloat(je.getPropertyValue("border-bottom-width"))+parseFloat(je.getPropertyValue("border-top-width")),St=Pe.map(function(cn){return"".concat(cn,":").concat(je.getPropertyValue(cn))}).join(";"),Qt={sizingStyle:St,paddingSize:Yt,borderSize:Vt,boxSizing:at};return wt&&it&&(Xe[it]=Qt),Qt}function We(Tt){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,je=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Ke||(Ke=document.createElement("textarea"),Ke.setAttribute("tab-index","-1"),Ke.setAttribute("aria-hidden","true"),document.body.appendChild(Ke)),Tt.getAttribute("wrap")?Ke.setAttribute("wrap",Tt.getAttribute("wrap")):Ke.removeAttribute("wrap");var at=qe(Tt,wt),Yt=at.paddingSize,Vt=at.borderSize,St=at.boxSizing,Qt=at.sizingStyle;Ke.setAttribute("style","".concat(Qt,";").concat(Te)),Ke.value=Tt.value||Tt.placeholder||"";var cn=void 0,Nn=void 0,fn,Ln=Ke.scrollHeight;if(St==="border-box"?Ln+=Vt:St==="content-box"&&(Ln-=Yt),it!==null||je!==null){Ke.value=" ";var Cn=Ke.scrollHeight-Yt;it!==null&&(cn=Cn*it,St==="border-box"&&(cn=cn+Yt+Vt),Ln=Math.max(cn,Ln)),je!==null&&(Nn=Cn*je,St==="border-box"&&(Nn=Nn+Yt+Vt),fn=Ln>Nn?"":"hidden",Ln=Math.min(Nn,Ln))}var Bn={height:Ln,overflowY:fn,resize:"none"};return cn&&(Bn.minHeight=cn),Nn&&(Bn.maxHeight=Nn),Bn}var Ze=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],$e=0,rt=1,ht=2,dt=_e.forwardRef(function(Tt,wt){var it=Tt,je=it.prefixCls,at=it.onPressEnter,Yt=it.defaultValue,Vt=it.value,St=it.autoSize,Qt=it.onResize,cn=it.className,Nn=it.style,fn=it.disabled,Ln=it.onChange,Cn=it.onInternalAutoSize,Bn=(0,Le.Z)(it,Ze),gn=(0,Be.Z)(Yt,{value:Vt,postState:function(jr){return jr!=null?jr:""}}),Se=(0,Ne.Z)(gn,2),Fe=Se[0],ie=Se[1],ae=function(jr){ie(jr.target.value),Ln==null||Ln(jr)},se=_e.useRef();_e.useImperativeHandle(wt,function(){return{textArea:se.current}});var oe=_e.useMemo(function(){return St&&(0,At.Z)(St)==="object"?[St.minRows,St.maxRows]:[]},[St]),Ye=(0,Ne.Z)(oe,2),vt=Ye[0],et=Ye[1],lt=!!St,Pt=function(){try{if(document.activeElement===se.current){var jr=se.current,Qr=jr.selectionStart,vr=jr.selectionEnd,Ar=jr.scrollTop;se.current.setSelectionRange(Qr,vr),se.current.scrollTop=Ar}}catch(Tr){}},Mt=_e.useState(ht),kt=(0,Ne.Z)(Mt,2),$t=kt[0],Sn=kt[1],Bt=_e.useState(),nn=(0,Ne.Z)(Bt,2),tn=nn[0],zt=nn[1],pt=function(){Sn($e)};(0,He.Z)(function(){lt&&pt()},[Vt,vt,et,lt]),(0,He.Z)(function(){if($t===$e)Sn(rt);else if($t===rt){var Lr=We(se.current,!1,vt,et);Sn(ht),zt(Lr)}else Pt()},[$t]);var Wt=_e.useRef(),vn=function(){ke.Z.cancel(Wt.current)},xn=function(jr){$t===ht&&(Qt==null||Qt(jr),St&&(vn(),Wt.current=(0,ke.Z)(function(){pt()})))};_e.useEffect(function(){return vn},[]);var Wn=lt?tn:null,br=(0,Me.Z)((0,Me.Z)({},Nn),Wn);return($t===$e||$t===rt)&&(br.overflowY="hidden",br.overflowX="hidden"),_e.createElement(Oe.Z,{onResize:xn,disabled:!(St||Qt)},_e.createElement("textarea",(0,he.Z)({},Bn,{ref:se,style:br,className:we()(je,cn,(0,Ue.Z)({},"".concat(je,"-disabled"),fn)),disabled:fn,value:Fe,onChange:ae})))}),xt=dt,Je=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Lt(Tt,wt){return(0,ve.Z)(Tt||"").slice(0,wt).join("")}function Re(Tt,wt,it,je){var at=it;return Tt?at=Lt(it,je):(0,ve.Z)(wt||"").length<it.length&&(0,ve.Z)(it||"").length>je&&(at=wt),at}var Rt=_e.forwardRef(function(Tt,wt){var it,je=Tt.defaultValue,at=Tt.value,Yt=Tt.onFocus,Vt=Tt.onBlur,St=Tt.onChange,Qt=Tt.allowClear,cn=Tt.maxLength,Nn=Tt.onCompositionStart,fn=Tt.onCompositionEnd,Ln=Tt.suffix,Cn=Tt.prefixCls,Bn=Cn===void 0?"rc-textarea":Cn,gn=Tt.classes,Se=Tt.showCount,Fe=Tt.className,ie=Tt.style,ae=Tt.disabled,se=Tt.hidden,oe=Tt.classNames,Ye=Tt.styles,vt=Tt.onResize,et=(0,Le.Z)(Tt,Je),lt=(0,Be.Z)(je,{value:at,defaultValue:je}),Pt=(0,Ne.Z)(lt,2),Mt=Pt[0],kt=Pt[1],$t=(0,_e.useRef)(null),Sn=_e.useState(!1),Bt=(0,Ne.Z)(Sn,2),nn=Bt[0],tn=Bt[1],zt=_e.useState(!1),pt=(0,Ne.Z)(zt,2),Wt=pt[0],vn=pt[1],xn=_e.useRef(),Wn=_e.useRef(0),br=_e.useState(null),Lr=(0,Ne.Z)(br,2),jr=Lr[0],Qr=Lr[1],vr=function(){var gi;(gi=$t.current)===null||gi===void 0||gi.textArea.focus()};(0,_e.useImperativeHandle)(wt,function(){return{resizableTextArea:$t.current,focus:vr,blur:function(){var gi;(gi=$t.current)===null||gi===void 0||gi.textArea.blur()}}}),(0,_e.useEffect)(function(){tn(function(Si){return!ae&&Si})},[ae]);var Ar=Number(cn)>0,Tr=function(gi){vn(!0),xn.current=Mt,Wn.current=gi.currentTarget.selectionStart,Nn==null||Nn(gi)},Bi=function(gi){vn(!1);var Ea=gi.currentTarget.value;if(Ar){var Fn,Dt=Wn.current>=cn+1||Wn.current===((Fn=xn.current)===null||Fn===void 0?void 0:Fn.length);Ea=Re(Dt,xn.current,Ea,cn)}Ea!==Mt&&(kt(Ea),(0,ze.rJ)(gi.currentTarget,gi,St,Ea)),fn==null||fn(gi)},$i=function(gi){var Ea=gi.target.value;if(!Wt&&Ar){var Fn=gi.target.selectionStart>=cn+1||gi.target.selectionStart===Ea.length||!gi.target.selectionStart;Ea=Re(Fn,Mt,Ea,cn)}kt(Ea),(0,ze.rJ)(gi.currentTarget,gi,St,Ea)},mi=function(gi){var Ea=et.onPressEnter,Fn=et.onKeyDown;gi.key==="Enter"&&Ea&&Ea(gi),Fn==null||Fn(gi)},Mi=function(gi){tn(!0),Yt==null||Yt(gi)},pa=function(gi){tn(!1),Vt==null||Vt(gi)},Dr=function(gi){var Ea;kt(""),vr(),(0,ze.rJ)((Ea=$t.current)===null||Ea===void 0?void 0:Ea.textArea,gi,St)},_n=(0,ze.D7)(Mt);!Wt&&Ar&&at==null&&(_n=Lt(_n,cn));var no=Ln,Ki;if(Se){var Co=(0,ve.Z)(_n).length;(0,At.Z)(Se)==="object"?Ki=Se.formatter({value:_n,count:Co,maxLength:cn}):Ki="".concat(Co).concat(Ar?" / ".concat(cn):""),no=_e.createElement(_e.Fragment,null,no,_e.createElement("span",{className:we()("".concat(Bn,"-data-count"),oe==null?void 0:oe.count),style:Ye==null?void 0:Ye.count},Ki))}var ro=function(gi){var Ea;vt==null||vt(gi),(Ea=$t.current)!==null&&Ea!==void 0&&Ea.textArea.style.height&&Qr(!0)},Pi=!et.autoSize&&!Se&&!Qt,Ii=_e.createElement(fe.BaseInput,{value:_n,allowClear:Qt,handleReset:Dr,suffix:no,prefixCls:Bn,classes:{affixWrapper:we()(gn==null?void 0:gn.affixWrapper,(it={},(0,Ue.Z)(it,"".concat(Bn,"-show-count"),Se),(0,Ue.Z)(it,"".concat(Bn,"-textarea-allow-clear"),Qt),it))},disabled:ae,focused:nn,className:Fe,style:(0,Me.Z)((0,Me.Z)({},ie),jr&&!Pi?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ki=="string"?Ki:void 0}},hidden:se,inputElement:_e.createElement(xt,(0,he.Z)({},et,{onKeyDown:mi,onChange:$i,onFocus:Mi,onBlur:pa,onCompositionStart:Tr,onCompositionEnd:Bi,className:oe==null?void 0:oe.textarea,style:(0,Me.Z)((0,Me.Z)({},Ye==null?void 0:Ye.textarea),{},{resize:ie==null?void 0:ie.resize}),disabled:ae,prefixCls:Bn,onResize:ro,ref:$t}))});return Ii}),Ft=Rt,bt=Ft},39417:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return rt}});var he=ce(60499),Me=ce(18642),Ue=ce(42244),At=ce(85899),Ne=ce(38705),Le=ce(17212),ve=ce(15793),Ae=ce(39153),we=ce(55401),fe=ce(92310),ze=ce.n(fe),Be=ce(26112),_e=ce(59301),Oe=ce(39378),He=function(dt){for(var xt=dt.prefixCls,Je=dt.level,Lt=dt.isStart,Re=dt.isEnd,Rt="".concat(xt,"-indent-unit"),Ft=[],bt=0;bt<Je;bt+=1){var Tt;Ft.push(_e.createElement("span",{key:bt,className:ze()(Rt,(Tt={},(0,Me.Z)(Tt,"".concat(Rt,"-start"),Lt[bt]),(0,Me.Z)(Tt,"".concat(Rt,"-end"),Re[bt]),Tt))}))}return _e.createElement("span",{"aria-hidden":"true",className:"".concat(xt,"-indent")},Ft)},ke=_e.memo(He),Te=ce(67841),Pe=ce(71430),Xe=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Ke="open",qe="close",We="---",Ze=function(ht){(0,Ae.Z)(xt,ht);var dt=(0,we.Z)(xt);function xt(){var Je;(0,Ne.Z)(this,xt);for(var Lt=arguments.length,Re=new Array(Lt),Rt=0;Rt<Lt;Rt++)Re[Rt]=arguments[Rt];return Je=dt.call.apply(dt,[this].concat(Re)),Je.state={dragNodeHighlight:!1},Je.selectHandle=void 0,Je.cacheIndent=void 0,Je.onSelectorClick=function(Ft){var bt=Je.props.context.onNodeClick;bt(Ft,(0,Pe.F)(Je.props)),Je.isSelectable()?Je.onSelect(Ft):Je.onCheck(Ft)},Je.onSelectorDoubleClick=function(Ft){var bt=Je.props.context.onNodeDoubleClick;bt(Ft,(0,Pe.F)(Je.props))},Je.onSelect=function(Ft){if(!Je.isDisabled()){var bt=Je.props.context.onNodeSelect;bt(Ft,(0,Pe.F)(Je.props))}},Je.onCheck=function(Ft){if(!Je.isDisabled()){var bt=Je.props,Tt=bt.disableCheckbox,wt=bt.checked,it=Je.props.context.onNodeCheck;if(!(!Je.isCheckable()||Tt)){var je=!wt;it(Ft,(0,Pe.F)(Je.props),je)}}},Je.onMouseEnter=function(Ft){var bt=Je.props.context.onNodeMouseEnter;bt(Ft,(0,Pe.F)(Je.props))},Je.onMouseLeave=function(Ft){var bt=Je.props.context.onNodeMouseLeave;bt(Ft,(0,Pe.F)(Je.props))},Je.onContextMenu=function(Ft){var bt=Je.props.context.onNodeContextMenu;bt(Ft,(0,Pe.F)(Je.props))},Je.onDragStart=function(Ft){var bt=Je.props.context.onNodeDragStart;Ft.stopPropagation(),Je.setState({dragNodeHighlight:!0}),bt(Ft,(0,ve.Z)(Je));try{Ft.dataTransfer.setData("text/plain","")}catch(Tt){}},Je.onDragEnter=function(Ft){var bt=Je.props.context.onNodeDragEnter;Ft.preventDefault(),Ft.stopPropagation(),bt(Ft,(0,ve.Z)(Je))},Je.onDragOver=function(Ft){var bt=Je.props.context.onNodeDragOver;Ft.preventDefault(),Ft.stopPropagation(),bt(Ft,(0,ve.Z)(Je))},Je.onDragLeave=function(Ft){var bt=Je.props.context.onNodeDragLeave;Ft.stopPropagation(),bt(Ft,(0,ve.Z)(Je))},Je.onDragEnd=function(Ft){var bt=Je.props.context.onNodeDragEnd;Ft.stopPropagation(),Je.setState({dragNodeHighlight:!1}),bt(Ft,(0,ve.Z)(Je))},Je.onDrop=function(Ft){var bt=Je.props.context.onNodeDrop;Ft.preventDefault(),Ft.stopPropagation(),Je.setState({dragNodeHighlight:!1}),bt(Ft,(0,ve.Z)(Je))},Je.onExpand=function(Ft){var bt=Je.props,Tt=bt.loading,wt=bt.context.onNodeExpand;Tt||wt(Ft,(0,Pe.F)(Je.props))},Je.setSelectHandle=function(Ft){Je.selectHandle=Ft},Je.getNodeState=function(){var Ft=Je.props.expanded;return Je.isLeaf()?null:Ft?Ke:qe},Je.hasChildren=function(){var Ft=Je.props.eventKey,bt=Je.props.context.keyEntities,Tt=(0,Te.Z)(bt,Ft)||{},wt=Tt.children;return!!(wt||[]).length},Je.isLeaf=function(){var Ft=Je.props,bt=Ft.isLeaf,Tt=Ft.loaded,wt=Je.props.context.loadData,it=Je.hasChildren();return bt===!1?!1:bt||!wt&&!it||wt&&Tt&&!it},Je.isDisabled=function(){var Ft=Je.props.disabled,bt=Je.props.context.disabled;return!!(bt||Ft)},Je.isCheckable=function(){var Ft=Je.props.checkable,bt=Je.props.context.checkable;return!bt||Ft===!1?!1:bt},Je.syncLoadData=function(Ft){var bt=Ft.expanded,Tt=Ft.loading,wt=Ft.loaded,it=Je.props.context,je=it.loadData,at=it.onNodeLoad;Tt||je&&bt&&!Je.isLeaf()&&!Je.hasChildren()&&!wt&&at((0,Pe.F)(Je.props))},Je.isDraggable=function(){var Ft=Je.props,bt=Ft.data,Tt=Ft.context.draggable;return!!(Tt&&(!Tt.nodeDraggable||Tt.nodeDraggable(bt)))},Je.renderDragHandler=function(){var Ft=Je.props.context,bt=Ft.draggable,Tt=Ft.prefixCls;return bt!=null&&bt.icon?_e.createElement("span",{className:"".concat(Tt,"-draggable-icon")},bt.icon):null},Je.renderSwitcherIconDom=function(Ft){var bt=Je.props.switcherIcon,Tt=Je.props.context.switcherIcon,wt=bt||Tt;return typeof wt=="function"?wt((0,At.Z)((0,At.Z)({},Je.props),{},{isLeaf:Ft})):wt},Je.renderSwitcher=function(){var Ft=Je.props.expanded,bt=Je.props.context.prefixCls;if(Je.isLeaf()){var Tt=Je.renderSwitcherIconDom(!0);return Tt!==!1?_e.createElement("span",{className:ze()("".concat(bt,"-switcher"),"".concat(bt,"-switcher-noop"))},Tt):null}var wt=ze()("".concat(bt,"-switcher"),"".concat(bt,"-switcher_").concat(Ft?Ke:qe)),it=Je.renderSwitcherIconDom(!1);return it!==!1?_e.createElement("span",{onClick:Je.onExpand,className:wt},it):null},Je.renderCheckbox=function(){var Ft=Je.props,bt=Ft.checked,Tt=Ft.halfChecked,wt=Ft.disableCheckbox,it=Je.props.context.prefixCls,je=Je.isDisabled(),at=Je.isCheckable();if(!at)return null;var Yt=typeof at!="boolean"?at:null;return _e.createElement("span",{className:ze()("".concat(it,"-checkbox"),bt&&"".concat(it,"-checkbox-checked"),!bt&&Tt&&"".concat(it,"-checkbox-indeterminate"),(je||wt)&&"".concat(it,"-checkbox-disabled")),onClick:Je.onCheck},Yt)},Je.renderIcon=function(){var Ft=Je.props.loading,bt=Je.props.context.prefixCls;return _e.createElement("span",{className:ze()("".concat(bt,"-iconEle"),"".concat(bt,"-icon__").concat(Je.getNodeState()||"docu"),Ft&&"".concat(bt,"-icon_loading"))})},Je.renderSelector=function(){var Ft=Je.state.dragNodeHighlight,bt=Je.props,Tt=bt.title,wt=Tt===void 0?We:Tt,it=bt.selected,je=bt.icon,at=bt.loading,Yt=bt.data,Vt=Je.props.context,St=Vt.prefixCls,Qt=Vt.showIcon,cn=Vt.icon,Nn=Vt.loadData,fn=Vt.titleRender,Ln=Je.isDisabled(),Cn="".concat(St,"-node-content-wrapper"),Bn;if(Qt){var gn=je||cn;Bn=gn?_e.createElement("span",{className:ze()("".concat(St,"-iconEle"),"".concat(St,"-icon__customize"))},typeof gn=="function"?gn(Je.props):gn):Je.renderIcon()}else Nn&&at&&(Bn=Je.renderIcon());var Se;typeof wt=="function"?Se=wt(Yt):fn?Se=fn(Yt):Se=wt;var Fe=_e.createElement("span",{className:"".concat(St,"-title")},Se);return _e.createElement("span",{ref:Je.setSelectHandle,title:typeof wt=="string"?wt:"",className:ze()("".concat(Cn),"".concat(Cn,"-").concat(Je.getNodeState()||"normal"),!Ln&&(it||Ft)&&"".concat(St,"-node-selected")),onMouseEnter:Je.onMouseEnter,onMouseLeave:Je.onMouseLeave,onContextMenu:Je.onContextMenu,onClick:Je.onSelectorClick,onDoubleClick:Je.onSelectorDoubleClick},Bn,Fe,Je.renderDropIndicator())},Je.renderDropIndicator=function(){var Ft=Je.props,bt=Ft.disabled,Tt=Ft.eventKey,wt=Je.props.context,it=wt.draggable,je=wt.dropLevelOffset,at=wt.dropPosition,Yt=wt.prefixCls,Vt=wt.indent,St=wt.dropIndicatorRender,Qt=wt.dragOverNodeKey,cn=wt.direction,Nn=!!it,fn=!bt&&Nn&&Qt===Tt,Ln=Vt!=null?Vt:Je.cacheIndent;return Je.cacheIndent=Vt,fn?St({dropPosition:at,dropLevelOffset:je,indent:Ln,prefixCls:Yt,direction:cn}):null},Je}return(0,Le.Z)(xt,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Lt=this.props.selectable,Re=this.props.context.selectable;return typeof Lt=="boolean"?Lt:Re}},{key:"render",value:function(){var Lt,Re=this.props,Rt=Re.eventKey,Ft=Re.className,bt=Re.style,Tt=Re.dragOver,wt=Re.dragOverGapTop,it=Re.dragOverGapBottom,je=Re.isLeaf,at=Re.isStart,Yt=Re.isEnd,Vt=Re.expanded,St=Re.selected,Qt=Re.checked,cn=Re.halfChecked,Nn=Re.loading,fn=Re.domRef,Ln=Re.active,Cn=Re.data,Bn=Re.onMouseMove,gn=Re.selectable,Se=(0,Ue.Z)(Re,Xe),Fe=this.props.context,ie=Fe.prefixCls,ae=Fe.filterTreeNode,se=Fe.keyEntities,oe=Fe.dropContainerKey,Ye=Fe.dropTargetKey,vt=Fe.draggingNodeKey,et=this.isDisabled(),lt=(0,Be.Z)(Se,{aria:!0,data:!0}),Pt=(0,Te.Z)(se,Rt)||{},Mt=Pt.level,kt=Yt[Yt.length-1],$t=this.isDraggable(),Sn=!et&&$t,Bt=vt===Rt,nn=gn!==void 0?{"aria-selected":!!gn}:void 0;return _e.createElement("div",(0,he.Z)({ref:fn,className:ze()(Ft,"".concat(ie,"-treenode"),(Lt={},(0,Me.Z)(Lt,"".concat(ie,"-treenode-disabled"),et),(0,Me.Z)(Lt,"".concat(ie,"-treenode-switcher-").concat(Vt?"open":"close"),!je),(0,Me.Z)(Lt,"".concat(ie,"-treenode-checkbox-checked"),Qt),(0,Me.Z)(Lt,"".concat(ie,"-treenode-checkbox-indeterminate"),cn),(0,Me.Z)(Lt,"".concat(ie,"-treenode-selected"),St),(0,Me.Z)(Lt,"".concat(ie,"-treenode-loading"),Nn),(0,Me.Z)(Lt,"".concat(ie,"-treenode-active"),Ln),(0,Me.Z)(Lt,"".concat(ie,"-treenode-leaf-last"),kt),(0,Me.Z)(Lt,"".concat(ie,"-treenode-draggable"),$t),(0,Me.Z)(Lt,"dragging",Bt),(0,Me.Z)(Lt,"drop-target",Ye===Rt),(0,Me.Z)(Lt,"drop-container",oe===Rt),(0,Me.Z)(Lt,"drag-over",!et&&Tt),(0,Me.Z)(Lt,"drag-over-gap-top",!et&&wt),(0,Me.Z)(Lt,"drag-over-gap-bottom",!et&&it),(0,Me.Z)(Lt,"filter-node",ae&&ae((0,Pe.F)(this.props))),Lt)),style:bt,draggable:Sn,"aria-grabbed":Bt,onDragStart:Sn?this.onDragStart:void 0,onDragEnter:$t?this.onDragEnter:void 0,onDragOver:$t?this.onDragOver:void 0,onDragLeave:$t?this.onDragLeave:void 0,onDrop:$t?this.onDrop:void 0,onDragEnd:$t?this.onDragEnd:void 0,onMouseMove:Bn},nn,lt),_e.createElement(ke,{prefixCls:ie,level:Mt,isStart:at,isEnd:Yt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xt}(_e.Component),$e=function(dt){return _e.createElement(Oe.k.Consumer,null,function(xt){return _e.createElement(Ze,(0,he.Z)({},dt,{context:xt}))})};$e.displayName="TreeNode",$e.isTreeNode=1;var rt=$e},39378:function(Tn,Xt,ce){"use strict";ce.d(Xt,{k:function(){return Me}});var he=ce(59301),Me=he.createContext(null)},38028:function(Tn,Xt,ce){"use strict";ce.d(Xt,{O:function(){return rt.Z},Z:function(){return Fe}});var he=ce(60499),Me=ce(18642),Ue=ce(43749),At=ce(85899),Ne=ce(77654),Le=ce(38705),ve=ce(17212),Ae=ce(15793),we=ce(39153),fe=ce(55401),ze=ce(92310),Be=ce.n(ze),_e=ce(10228),Oe=ce(26112),He=ce(48736),ke=ce(59301),Te=ce(39378);function Pe(ie){var ae=ie.dropPosition,se=ie.dropLevelOffset,oe=ie.indent,Ye={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ae){case-1:Ye.top=0,Ye.left=-se*oe;break;case 1:Ye.bottom=0,Ye.left=-se*oe;break;case 0:Ye.bottom=0,Ye.left=oe;break}return ke.createElement("div",{style:Ye})}function Xe(ie){if(ie==null)throw new TypeError("Cannot destructure "+ie)}var Ke=ce(72190),qe=ce(42244),We=ce(34280),Ze=ce(48911),$e=ce(77900),rt=ce(39417);function ht(ie,ae){var se=ke.useState(!1),oe=(0,Ke.Z)(se,2),Ye=oe[0],vt=oe[1];ke.useLayoutEffect(function(){if(Ye)return ie(),function(){ae()}},[Ye]),ke.useLayoutEffect(function(){return vt(!0),function(){vt(!1)}},[])}var dt=ce(71430),xt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Je=function(ae,se){var oe=ae.className,Ye=ae.style,vt=ae.motion,et=ae.motionNodes,lt=ae.motionType,Pt=ae.onMotionStart,Mt=ae.onMotionEnd,kt=ae.active,$t=ae.treeNodeRequiredProps,Sn=(0,qe.Z)(ae,xt),Bt=ke.useState(!0),nn=(0,Ke.Z)(Bt,2),tn=nn[0],zt=nn[1],pt=ke.useContext(Te.k),Wt=pt.prefixCls,vn=et&&lt!=="hide";(0,We.Z)(function(){et&&vn!==tn&&zt(vn)},[et]);var xn=function(){et&&Pt()},Wn=ke.useRef(!1),br=function(){et&&!Wn.current&&(Wn.current=!0,Mt())};ht(xn,br);var Lr=function(Qr){vn===Qr&&br()};return et?ke.createElement($e.default,(0,he.Z)({ref:se,visible:tn},vt,{motionAppear:lt==="show",onVisibleChanged:Lr}),function(jr,Qr){var vr=jr.className,Ar=jr.style;return ke.createElement("div",{ref:Qr,className:Be()("".concat(Wt,"-treenode-motion"),vr),style:Ar},et.map(function(Tr){var Bi=(0,he.Z)({},(Xe(Tr.data),Tr.data)),$i=Tr.title,mi=Tr.key,Mi=Tr.isStart,pa=Tr.isEnd;delete Bi.children;var Dr=(0,dt.H8)(mi,$t);return ke.createElement(rt.Z,(0,he.Z)({},Bi,Dr,{title:$i,active:kt,data:Tr.data,key:mi,isStart:Mi,isEnd:pa}))}))}):ke.createElement(rt.Z,(0,he.Z)({domRef:se,className:oe,style:Ye},Sn,{active:kt}))};Je.displayName="MotionTreeNode";var Lt=ke.forwardRef(Je),Re=Lt;function Rt(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],se=ie.length,oe=ae.length;if(Math.abs(se-oe)!==1)return{add:!1,key:null};function Ye(vt,et){var lt=new Map;vt.forEach(function(Mt){lt.set(Mt,!0)});var Pt=et.filter(function(Mt){return!lt.has(Mt)});return Pt.length===1?Pt[0]:null}return se<oe?{add:!0,key:Ye(ie,ae)}:{add:!1,key:Ye(ae,ie)}}function Ft(ie,ae,se){var oe=ie.findIndex(function(lt){return lt.key===se}),Ye=ie[oe+1],vt=ae.findIndex(function(lt){return lt.key===se});if(Ye){var et=ae.findIndex(function(lt){return lt.key===Ye.key});return ae.slice(vt+1,et)}return ae.slice(vt+1)}var bt=["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"],Tt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},wt=function(){},it="RC_TREE_MOTION_".concat(Math.random()),je={key:it},at={key:it,level:0,index:0,pos:"0",node:je,nodes:[je]},Yt={parent:null,children:[],pos:at.pos,data:je,title:null,key:it,isStart:[],isEnd:[]};function Vt(ie,ae,se,oe){return ae===!1||!se?ie:ie.slice(0,Math.ceil(se/oe)+1)}function St(ie){var ae=ie.key,se=ie.pos;return(0,dt.km)(ae,se)}function Qt(ie){for(var ae=String(ie.data.key),se=ie;se.parent;)se=se.parent,ae="".concat(se.data.key," > ").concat(ae);return ae}var cn=ke.forwardRef(function(ie,ae){var se=ie.prefixCls,oe=ie.data,Ye=ie.selectable,vt=ie.checkable,et=ie.expandedKeys,lt=ie.selectedKeys,Pt=ie.checkedKeys,Mt=ie.loadedKeys,kt=ie.loadingKeys,$t=ie.halfCheckedKeys,Sn=ie.keyEntities,Bt=ie.disabled,nn=ie.dragging,tn=ie.dragOverNodeKey,zt=ie.dropPosition,pt=ie.motion,Wt=ie.height,vn=ie.itemHeight,xn=ie.virtual,Wn=ie.focusable,br=ie.activeItem,Lr=ie.focused,jr=ie.tabIndex,Qr=ie.onKeyDown,vr=ie.onFocus,Ar=ie.onBlur,Tr=ie.onActiveChange,Bi=ie.onListChangeStart,$i=ie.onListChangeEnd,mi=(0,qe.Z)(ie,bt),Mi=ke.useRef(null),pa=ke.useRef(null);ke.useImperativeHandle(ae,function(){return{scrollTo:function(Or){Mi.current.scrollTo(Or)},getIndentWidth:function(){return pa.current.offsetWidth}}});var Dr=ke.useState(et),_n=(0,Ke.Z)(Dr,2),no=_n[0],Ki=_n[1],Co=ke.useState(oe),ro=(0,Ke.Z)(Co,2),Pi=ro[0],Ii=ro[1],Si=ke.useState(oe),gi=(0,Ke.Z)(Si,2),Ea=gi[0],Fn=gi[1],Dt=ke.useState([]),Gt=(0,Ke.Z)(Dt,2),Zt=Gt[0],jt=Gt[1],on=ke.useState(null),Mn=(0,Ke.Z)(on,2),ir=Mn[0],qn=Mn[1],pr=ke.useRef(oe);pr.current=oe;function Gr(){var Xn=pr.current;Ii(Xn),Fn(Xn),jt([]),qn(null),$i()}(0,We.Z)(function(){Ki(et);var Xn=Rt(no,et);if(Xn.key!==null)if(Xn.add){var Or=Pi.findIndex(function(si){var oa=si.key;return oa===Xn.key}),ki=Vt(Ft(Pi,oe,Xn.key),xn,Wt,vn),vi=Pi.slice();vi.splice(Or+1,0,Yt),Fn(vi),jt(ki),qn("show")}else{var Zi=oe.findIndex(function(si){var oa=si.key;return oa===Xn.key}),xi=Vt(Ft(oe,Pi,Xn.key),xn,Wt,vn),Ca=oe.slice();Ca.splice(Zi+1,0,Yt),Fn(Ca),jt(xi),qn("hide")}else Pi!==oe&&(Ii(oe),Fn(oe))},[et,oe]),ke.useEffect(function(){nn||Gr()},[nn]);var Zr=pt?Ea:oe,$r={expandedKeys:et,selectedKeys:lt,loadedKeys:Mt,loadingKeys:kt,checkedKeys:Pt,halfCheckedKeys:$t,dragOverNodeKey:tn,dropPosition:zt,keyEntities:Sn};return ke.createElement(ke.Fragment,null,Lr&&br&&ke.createElement("span",{style:Tt,"aria-live":"assertive"},Qt(br)),ke.createElement("div",null,ke.createElement("input",{style:Tt,disabled:Wn===!1||Bt,tabIndex:Wn!==!1?jr:null,onKeyDown:Qr,onFocus:vr,onBlur:Ar,value:"",onChange:wt,"aria-label":"for screen reader"})),ke.createElement("div",{className:"".concat(se,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ke.createElement("div",{className:"".concat(se,"-indent")},ke.createElement("div",{ref:pa,className:"".concat(se,"-indent-unit")}))),ke.createElement(Ze.Z,(0,he.Z)({},mi,{data:Zr,itemKey:St,height:Wt,fullHeight:!1,virtual:xn,itemHeight:vn,prefixCls:"".concat(se,"-list"),ref:Mi,onVisibleChange:function(Or,ki){var vi=new Set(Or),Zi=ki.filter(function(xi){return!vi.has(xi)});Zi.some(function(xi){return St(xi)===it})&&Gr()}}),function(Xn){var Or=Xn.pos,ki=(0,he.Z)({},(Xe(Xn.data),Xn.data)),vi=Xn.title,Zi=Xn.key,xi=Xn.isStart,Ca=Xn.isEnd,si=(0,dt.km)(Zi,Or);delete ki.key,delete ki.children;var oa=(0,dt.H8)(si,$r);return ke.createElement(Re,(0,he.Z)({},ki,oa,{title:vi,active:!!br&&Zi===br.key,pos:Or,data:Xn.data,isStart:xi,isEnd:Ca,motion:pt,motionNodes:Zi===it?Zt:null,motionType:ir,onMotionStart:Bi,onMotionEnd:Gr,treeNodeRequiredProps:$r,onMouseMove:function(){Tr(null)}}))}))});cn.displayName="NodeList";var Nn=cn,fn=ce(35654),Ln=ce(90782),Cn=ce(67841),Bn=10,gn=function(ie){(0,we.Z)(se,ie);var ae=(0,fe.Z)(se);function se(){var oe;(0,Le.Z)(this,se);for(var Ye=arguments.length,vt=new Array(Ye),et=0;et<Ye;et++)vt[et]=arguments[et];return oe=ae.call.apply(ae,[this].concat(vt)),oe.destroyed=!1,oe.delayedDragEnterLogic=void 0,oe.loadingRetryTimes={},oe.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,dt.w$)()},oe.dragStartMousePosition=null,oe.dragNode=void 0,oe.currentMouseOverDroppableNodeKey=null,oe.listRef=ke.createRef(),oe.onNodeDragStart=function(lt,Pt){var Mt=oe.state,kt=Mt.expandedKeys,$t=Mt.keyEntities,Sn=oe.props.onDragStart,Bt=Pt.props.eventKey;oe.dragNode=Pt,oe.dragStartMousePosition={x:lt.clientX,y:lt.clientY};var nn=(0,fn._5)(kt,Bt);oe.setState({draggingNodeKey:Bt,dragChildrenKeys:(0,fn.wA)(Bt,$t),indent:oe.listRef.current.getIndentWidth()}),oe.setExpandedKeys(nn),window.addEventListener("dragend",oe.onWindowDragEnd),Sn==null||Sn({event:lt,node:(0,dt.F)(Pt.props)})},oe.onNodeDragEnter=function(lt,Pt){var Mt=oe.state,kt=Mt.expandedKeys,$t=Mt.keyEntities,Sn=Mt.dragChildrenKeys,Bt=Mt.flattenNodes,nn=Mt.indent,tn=oe.props,zt=tn.onDragEnter,pt=tn.onExpand,Wt=tn.allowDrop,vn=tn.direction,xn=Pt.props,Wn=xn.pos,br=xn.eventKey,Lr=(0,Ae.Z)(oe),jr=Lr.dragNode;if(oe.currentMouseOverDroppableNodeKey!==br&&(oe.currentMouseOverDroppableNodeKey=br),!jr){oe.resetDragState();return}var Qr=(0,fn.OM)(lt,jr,Pt,nn,oe.dragStartMousePosition,Wt,Bt,$t,kt,vn),vr=Qr.dropPosition,Ar=Qr.dropLevelOffset,Tr=Qr.dropTargetKey,Bi=Qr.dropContainerKey,$i=Qr.dropTargetPos,mi=Qr.dropAllowed,Mi=Qr.dragOverNodeKey;if(Sn.indexOf(Tr)!==-1||!mi){oe.resetDragState();return}if(oe.delayedDragEnterLogic||(oe.delayedDragEnterLogic={}),Object.keys(oe.delayedDragEnterLogic).forEach(function(pa){clearTimeout(oe.delayedDragEnterLogic[pa])}),jr.props.eventKey!==Pt.props.eventKey&&(lt.persist(),oe.delayedDragEnterLogic[Wn]=window.setTimeout(function(){if(oe.state.draggingNodeKey!==null){var pa=(0,Ne.Z)(kt),Dr=(0,Cn.Z)($t,Pt.props.eventKey);Dr&&(Dr.children||[]).length&&(pa=(0,fn.L0)(kt,Pt.props.eventKey)),"expandedKeys"in oe.props||oe.setExpandedKeys(pa),pt==null||pt(pa,{node:(0,dt.F)(Pt.props),expanded:!0,nativeEvent:lt.nativeEvent})}},800)),jr.props.eventKey===Tr&&Ar===0){oe.resetDragState();return}oe.setState({dragOverNodeKey:Mi,dropPosition:vr,dropLevelOffset:Ar,dropTargetKey:Tr,dropContainerKey:Bi,dropTargetPos:$i,dropAllowed:mi}),zt==null||zt({event:lt,node:(0,dt.F)(Pt.props),expandedKeys:kt})},oe.onNodeDragOver=function(lt,Pt){var Mt=oe.state,kt=Mt.dragChildrenKeys,$t=Mt.flattenNodes,Sn=Mt.keyEntities,Bt=Mt.expandedKeys,nn=Mt.indent,tn=oe.props,zt=tn.onDragOver,pt=tn.allowDrop,Wt=tn.direction,vn=(0,Ae.Z)(oe),xn=vn.dragNode;if(xn){var Wn=(0,fn.OM)(lt,xn,Pt,nn,oe.dragStartMousePosition,pt,$t,Sn,Bt,Wt),br=Wn.dropPosition,Lr=Wn.dropLevelOffset,jr=Wn.dropTargetKey,Qr=Wn.dropContainerKey,vr=Wn.dropAllowed,Ar=Wn.dropTargetPos,Tr=Wn.dragOverNodeKey;kt.indexOf(jr)!==-1||!vr||(xn.props.eventKey===jr&&Lr===0?oe.state.dropPosition===null&&oe.state.dropLevelOffset===null&&oe.state.dropTargetKey===null&&oe.state.dropContainerKey===null&&oe.state.dropTargetPos===null&&oe.state.dropAllowed===!1&&oe.state.dragOverNodeKey===null||oe.resetDragState():br===oe.state.dropPosition&&Lr===oe.state.dropLevelOffset&&jr===oe.state.dropTargetKey&&Qr===oe.state.dropContainerKey&&Ar===oe.state.dropTargetPos&&vr===oe.state.dropAllowed&&Tr===oe.state.dragOverNodeKey||oe.setState({dropPosition:br,dropLevelOffset:Lr,dropTargetKey:jr,dropContainerKey:Qr,dropTargetPos:Ar,dropAllowed:vr,dragOverNodeKey:Tr}),zt==null||zt({event:lt,node:(0,dt.F)(Pt.props)}))}},oe.onNodeDragLeave=function(lt,Pt){oe.currentMouseOverDroppableNodeKey===Pt.props.eventKey&&!lt.currentTarget.contains(lt.relatedTarget)&&(oe.resetDragState(),oe.currentMouseOverDroppableNodeKey=null);var Mt=oe.props.onDragLeave;Mt==null||Mt({event:lt,node:(0,dt.F)(Pt.props)})},oe.onWindowDragEnd=function(lt){oe.onNodeDragEnd(lt,null,!0),window.removeEventListener("dragend",oe.onWindowDragEnd)},oe.onNodeDragEnd=function(lt,Pt){var Mt=oe.props.onDragEnd;oe.setState({dragOverNodeKey:null}),oe.cleanDragState(),Mt==null||Mt({event:lt,node:(0,dt.F)(Pt.props)}),oe.dragNode=null,window.removeEventListener("dragend",oe.onWindowDragEnd)},oe.onNodeDrop=function(lt,Pt){var Mt,kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$t=oe.state,Sn=$t.dragChildrenKeys,Bt=$t.dropPosition,nn=$t.dropTargetKey,tn=$t.dropTargetPos,zt=$t.dropAllowed;if(zt){var pt=oe.props.onDrop;if(oe.setState({dragOverNodeKey:null}),oe.cleanDragState(),nn!==null){var Wt=(0,At.Z)((0,At.Z)({},(0,dt.H8)(nn,oe.getTreeNodeRequiredProps())),{},{active:((Mt=oe.getActiveItem())===null||Mt===void 0?void 0:Mt.key)===nn,data:(0,Cn.Z)(oe.state.keyEntities,nn).node}),vn=Sn.indexOf(nn)!==-1;(0,He.ZP)(!vn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var xn=(0,fn.yx)(tn),Wn={event:lt,node:(0,dt.F)(Wt),dragNode:oe.dragNode?(0,dt.F)(oe.dragNode.props):null,dragNodesKeys:[oe.dragNode.props.eventKey].concat(Sn),dropToGap:Bt!==0,dropPosition:Bt+Number(xn[xn.length-1])};kt||pt==null||pt(Wn),oe.dragNode=null}}},oe.cleanDragState=function(){var lt=oe.state.draggingNodeKey;lt!==null&&oe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),oe.dragStartMousePosition=null,oe.currentMouseOverDroppableNodeKey=null},oe.triggerExpandActionExpand=function(lt,Pt){var Mt=oe.state,kt=Mt.expandedKeys,$t=Mt.flattenNodes,Sn=Pt.expanded,Bt=Pt.key,nn=Pt.isLeaf;if(!(nn||lt.shiftKey||lt.metaKey||lt.ctrlKey)){var tn=$t.filter(function(pt){return pt.key===Bt})[0],zt=(0,dt.F)((0,At.Z)((0,At.Z)({},(0,dt.H8)(Bt,oe.getTreeNodeRequiredProps())),{},{data:tn.data}));oe.setExpandedKeys(Sn?(0,fn._5)(kt,Bt):(0,fn.L0)(kt,Bt)),oe.onNodeExpand(lt,zt)}},oe.onNodeClick=function(lt,Pt){var Mt=oe.props,kt=Mt.onClick,$t=Mt.expandAction;$t==="click"&&oe.triggerExpandActionExpand(lt,Pt),kt==null||kt(lt,Pt)},oe.onNodeDoubleClick=function(lt,Pt){var Mt=oe.props,kt=Mt.onDoubleClick,$t=Mt.expandAction;$t==="doubleClick"&&oe.triggerExpandActionExpand(lt,Pt),kt==null||kt(lt,Pt)},oe.onNodeSelect=function(lt,Pt){var Mt=oe.state.selectedKeys,kt=oe.state,$t=kt.keyEntities,Sn=kt.fieldNames,Bt=oe.props,nn=Bt.onSelect,tn=Bt.multiple,zt=Pt.selected,pt=Pt[Sn.key],Wt=!zt;Wt?tn?Mt=(0,fn.L0)(Mt,pt):Mt=[pt]:Mt=(0,fn._5)(Mt,pt);var vn=Mt.map(function(xn){var Wn=(0,Cn.Z)($t,xn);return Wn?Wn.node:null}).filter(function(xn){return xn});oe.setUncontrolledState({selectedKeys:Mt}),nn==null||nn(Mt,{event:"select",selected:Wt,node:Pt,selectedNodes:vn,nativeEvent:lt.nativeEvent})},oe.onNodeCheck=function(lt,Pt,Mt){var kt=oe.state,$t=kt.keyEntities,Sn=kt.checkedKeys,Bt=kt.halfCheckedKeys,nn=oe.props,tn=nn.checkStrictly,zt=nn.onCheck,pt=Pt.key,Wt,vn={event:"check",node:Pt,checked:Mt,nativeEvent:lt.nativeEvent};if(tn){var xn=Mt?(0,fn.L0)(Sn,pt):(0,fn._5)(Sn,pt),Wn=(0,fn._5)(Bt,pt);Wt={checked:xn,halfChecked:Wn},vn.checkedNodes=xn.map(function(Ar){return(0,Cn.Z)($t,Ar)}).filter(function(Ar){return Ar}).map(function(Ar){return Ar.node}),oe.setUncontrolledState({checkedKeys:xn})}else{var br=(0,Ln.S)([].concat((0,Ne.Z)(Sn),[pt]),!0,$t),Lr=br.checkedKeys,jr=br.halfCheckedKeys;if(!Mt){var Qr=new Set(Lr);Qr.delete(pt);var vr=(0,Ln.S)(Array.from(Qr),{checked:!1,halfCheckedKeys:jr},$t);Lr=vr.checkedKeys,jr=vr.halfCheckedKeys}Wt=Lr,vn.checkedNodes=[],vn.checkedNodesPositions=[],vn.halfCheckedKeys=jr,Lr.forEach(function(Ar){var Tr=(0,Cn.Z)($t,Ar);if(Tr){var Bi=Tr.node,$i=Tr.pos;vn.checkedNodes.push(Bi),vn.checkedNodesPositions.push({node:Bi,pos:$i})}}),oe.setUncontrolledState({checkedKeys:Lr},!1,{halfCheckedKeys:jr})}zt==null||zt(Wt,vn)},oe.onNodeLoad=function(lt){var Pt=lt.key,Mt=new Promise(function(kt,$t){oe.setState(function(Sn){var Bt=Sn.loadedKeys,nn=Bt===void 0?[]:Bt,tn=Sn.loadingKeys,zt=tn===void 0?[]:tn,pt=oe.props,Wt=pt.loadData,vn=pt.onLoad;if(!Wt||nn.indexOf(Pt)!==-1||zt.indexOf(Pt)!==-1)return null;var xn=Wt(lt);return xn.then(function(){var Wn=oe.state.loadedKeys,br=(0,fn.L0)(Wn,Pt);vn==null||vn(br,{event:"load",node:lt}),oe.setUncontrolledState({loadedKeys:br}),oe.setState(function(Lr){return{loadingKeys:(0,fn._5)(Lr.loadingKeys,Pt)}}),kt()}).catch(function(Wn){if(oe.setState(function(Lr){return{loadingKeys:(0,fn._5)(Lr.loadingKeys,Pt)}}),oe.loadingRetryTimes[Pt]=(oe.loadingRetryTimes[Pt]||0)+1,oe.loadingRetryTimes[Pt]>=Bn){var br=oe.state.loadedKeys;(0,He.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),oe.setUncontrolledState({loadedKeys:(0,fn.L0)(br,Pt)}),kt()}$t(Wn)}),{loadingKeys:(0,fn.L0)(zt,Pt)}})});return Mt.catch(function(){}),Mt},oe.onNodeMouseEnter=function(lt,Pt){var Mt=oe.props.onMouseEnter;Mt==null||Mt({event:lt,node:Pt})},oe.onNodeMouseLeave=function(lt,Pt){var Mt=oe.props.onMouseLeave;Mt==null||Mt({event:lt,node:Pt})},oe.onNodeContextMenu=function(lt,Pt){var Mt=oe.props.onRightClick;Mt&&(lt.preventDefault(),Mt({event:lt,node:Pt}))},oe.onFocus=function(){var lt=oe.props.onFocus;oe.setState({focused:!0});for(var Pt=arguments.length,Mt=new Array(Pt),kt=0;kt<Pt;kt++)Mt[kt]=arguments[kt];lt==null||lt.apply(void 0,Mt)},oe.onBlur=function(){var lt=oe.props.onBlur;oe.setState({focused:!1}),oe.onActiveChange(null);for(var Pt=arguments.length,Mt=new Array(Pt),kt=0;kt<Pt;kt++)Mt[kt]=arguments[kt];lt==null||lt.apply(void 0,Mt)},oe.getTreeNodeRequiredProps=function(){var lt=oe.state,Pt=lt.expandedKeys,Mt=lt.selectedKeys,kt=lt.loadedKeys,$t=lt.loadingKeys,Sn=lt.checkedKeys,Bt=lt.halfCheckedKeys,nn=lt.dragOverNodeKey,tn=lt.dropPosition,zt=lt.keyEntities;return{expandedKeys:Pt||[],selectedKeys:Mt||[],loadedKeys:kt||[],loadingKeys:$t||[],checkedKeys:Sn||[],halfCheckedKeys:Bt||[],dragOverNodeKey:nn,dropPosition:tn,keyEntities:zt}},oe.setExpandedKeys=function(lt){var Pt=oe.state,Mt=Pt.treeData,kt=Pt.fieldNames,$t=(0,dt.oH)(Mt,lt,kt);oe.setUncontrolledState({expandedKeys:lt,flattenNodes:$t},!0)},oe.onNodeExpand=function(lt,Pt){var Mt=oe.state.expandedKeys,kt=oe.state,$t=kt.listChanging,Sn=kt.fieldNames,Bt=oe.props,nn=Bt.onExpand,tn=Bt.loadData,zt=Pt.expanded,pt=Pt[Sn.key];if(!$t){var Wt=Mt.indexOf(pt),vn=!zt;if((0,He.ZP)(zt&&Wt!==-1||!zt&&Wt===-1,"Expand state not sync with index check"),vn?Mt=(0,fn.L0)(Mt,pt):Mt=(0,fn._5)(Mt,pt),oe.setExpandedKeys(Mt),nn==null||nn(Mt,{node:Pt,expanded:vn,nativeEvent:lt.nativeEvent}),vn&&tn){var xn=oe.onNodeLoad(Pt);xn&&xn.then(function(){var Wn=(0,dt.oH)(oe.state.treeData,Mt,Sn);oe.setUncontrolledState({flattenNodes:Wn})}).catch(function(){var Wn=oe.state.expandedKeys,br=(0,fn._5)(Wn,pt);oe.setExpandedKeys(br)})}}},oe.onListChangeStart=function(){oe.setUncontrolledState({listChanging:!0})},oe.onListChangeEnd=function(){setTimeout(function(){oe.setUncontrolledState({listChanging:!1})})},oe.onActiveChange=function(lt){var Pt=oe.state.activeKey,Mt=oe.props.onActiveChange;Pt!==lt&&(oe.setState({activeKey:lt}),lt!==null&&oe.scrollTo({key:lt}),Mt==null||Mt(lt))},oe.getActiveItem=function(){var lt=oe.state,Pt=lt.activeKey,Mt=lt.flattenNodes;return Pt===null?null:Mt.find(function(kt){var $t=kt.key;return $t===Pt})||null},oe.offsetActiveKey=function(lt){var Pt=oe.state,Mt=Pt.flattenNodes,kt=Pt.activeKey,$t=Mt.findIndex(function(nn){var tn=nn.key;return tn===kt});$t===-1&&lt<0&&($t=Mt.length),$t=($t+lt+Mt.length)%Mt.length;var Sn=Mt[$t];if(Sn){var Bt=Sn.key;oe.onActiveChange(Bt)}else oe.onActiveChange(null)},oe.onKeyDown=function(lt){var Pt=oe.state,Mt=Pt.activeKey,kt=Pt.expandedKeys,$t=Pt.checkedKeys,Sn=Pt.fieldNames,Bt=oe.props,nn=Bt.onKeyDown,tn=Bt.checkable,zt=Bt.selectable;switch(lt.which){case _e.Z.UP:{oe.offsetActiveKey(-1),lt.preventDefault();break}case _e.Z.DOWN:{oe.offsetActiveKey(1),lt.preventDefault();break}}var pt=oe.getActiveItem();if(pt&&pt.data){var Wt=oe.getTreeNodeRequiredProps(),vn=pt.data.isLeaf===!1||!!(pt.data[Sn.children]||[]).length,xn=(0,dt.F)((0,At.Z)((0,At.Z)({},(0,dt.H8)(Mt,Wt)),{},{data:pt.data,active:!0}));switch(lt.which){case _e.Z.LEFT:{vn&&kt.includes(Mt)?oe.onNodeExpand({},xn):pt.parent&&oe.onActiveChange(pt.parent.key),lt.preventDefault();break}case _e.Z.RIGHT:{vn&&!kt.includes(Mt)?oe.onNodeExpand({},xn):pt.children&&pt.children.length&&oe.onActiveChange(pt.children[0].key),lt.preventDefault();break}case _e.Z.ENTER:case _e.Z.SPACE:{tn&&!xn.disabled&&xn.checkable!==!1&&!xn.disableCheckbox?oe.onNodeCheck({},xn,!$t.includes(Mt)):!tn&&zt&&!xn.disabled&&xn.selectable!==!1&&oe.onNodeSelect({},xn);break}}}nn==null||nn(lt)},oe.setUncontrolledState=function(lt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!oe.destroyed){var kt=!1,$t=!0,Sn={};Object.keys(lt).forEach(function(Bt){if(Bt in oe.props){$t=!1;return}kt=!0,Sn[Bt]=lt[Bt]}),kt&&(!Pt||$t)&&oe.setState((0,At.Z)((0,At.Z)({},Sn),Mt))}},oe.scrollTo=function(lt){oe.listRef.current.scrollTo(lt)},oe}return(0,ve.Z)(se,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ye=this.props.activeKey;Ye!==void 0&&Ye!==this.state.activeKey&&(this.setState({activeKey:Ye}),Ye!==null&&this.scrollTo({key:Ye}))}},{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 Ye,vt=this.state,et=vt.focused,lt=vt.flattenNodes,Pt=vt.keyEntities,Mt=vt.draggingNodeKey,kt=vt.activeKey,$t=vt.dropLevelOffset,Sn=vt.dropContainerKey,Bt=vt.dropTargetKey,nn=vt.dropPosition,tn=vt.dragOverNodeKey,zt=vt.indent,pt=this.props,Wt=pt.prefixCls,vn=pt.className,xn=pt.style,Wn=pt.showLine,br=pt.focusable,Lr=pt.tabIndex,jr=Lr===void 0?0:Lr,Qr=pt.selectable,vr=pt.showIcon,Ar=pt.icon,Tr=pt.switcherIcon,Bi=pt.draggable,$i=pt.checkable,mi=pt.checkStrictly,Mi=pt.disabled,pa=pt.motion,Dr=pt.loadData,_n=pt.filterTreeNode,no=pt.height,Ki=pt.itemHeight,Co=pt.virtual,ro=pt.titleRender,Pi=pt.dropIndicatorRender,Ii=pt.onContextMenu,Si=pt.onScroll,gi=pt.direction,Ea=pt.rootClassName,Fn=pt.rootStyle,Dt=(0,Oe.Z)(this.props,{aria:!0,data:!0}),Gt;return Bi&&((0,Ue.Z)(Bi)==="object"?Gt=Bi:typeof Bi=="function"?Gt={nodeDraggable:Bi}:Gt={}),ke.createElement(Te.k.Provider,{value:{prefixCls:Wt,selectable:Qr,showIcon:vr,icon:Ar,switcherIcon:Tr,draggable:Gt,draggingNodeKey:Mt,checkable:$i,checkStrictly:mi,disabled:Mi,keyEntities:Pt,dropLevelOffset:$t,dropContainerKey:Sn,dropTargetKey:Bt,dropPosition:nn,dragOverNodeKey:tn,indent:zt,direction:gi,dropIndicatorRender:Pi,loadData:Dr,filterTreeNode:_n,titleRender:ro,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}},ke.createElement("div",{role:"tree",className:Be()(Wt,vn,Ea,(Ye={},(0,Me.Z)(Ye,"".concat(Wt,"-show-line"),Wn),(0,Me.Z)(Ye,"".concat(Wt,"-focused"),et),(0,Me.Z)(Ye,"".concat(Wt,"-active-focused"),kt!==null),Ye)),style:Fn},ke.createElement(Nn,(0,he.Z)({ref:this.listRef,prefixCls:Wt,style:xn,data:lt,disabled:Mi,selectable:Qr,checkable:!!$i,motion:pa,dragging:Mt!==null,height:no,itemHeight:Ki,virtual:Co,focusable:br,focused:et,tabIndex:jr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ii,onScroll:Si},this.getTreeNodeRequiredProps(),Dt))))}}],[{key:"getDerivedStateFromProps",value:function(Ye,vt){var et=vt.prevProps,lt={prevProps:Ye};function Pt(br){return!et&&br in Ye||et&&et[br]!==Ye[br]}var Mt,kt=vt.fieldNames;if(Pt("fieldNames")&&(kt=(0,dt.w$)(Ye.fieldNames),lt.fieldNames=kt),Pt("treeData")?Mt=Ye.treeData:Pt("children")&&((0,He.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Mt=(0,dt.zn)(Ye.children)),Mt){lt.treeData=Mt;var $t=(0,dt.I8)(Mt,{fieldNames:kt});lt.keyEntities=(0,At.Z)((0,Me.Z)({},it,at),$t.keyEntities)}var Sn=lt.keyEntities||vt.keyEntities;if(Pt("expandedKeys")||et&&Pt("autoExpandParent"))lt.expandedKeys=Ye.autoExpandParent||!et&&Ye.defaultExpandParent?(0,fn.r7)(Ye.expandedKeys,Sn):Ye.expandedKeys;else if(!et&&Ye.defaultExpandAll){var Bt=(0,At.Z)({},Sn);delete Bt[it],lt.expandedKeys=Object.keys(Bt).map(function(br){return Bt[br].key})}else!et&&Ye.defaultExpandedKeys&&(lt.expandedKeys=Ye.autoExpandParent||Ye.defaultExpandParent?(0,fn.r7)(Ye.defaultExpandedKeys,Sn):Ye.defaultExpandedKeys);if(lt.expandedKeys||delete lt.expandedKeys,Mt||lt.expandedKeys){var nn=(0,dt.oH)(Mt||vt.treeData,lt.expandedKeys||vt.expandedKeys,kt);lt.flattenNodes=nn}if(Ye.selectable&&(Pt("selectedKeys")?lt.selectedKeys=(0,fn.BT)(Ye.selectedKeys,Ye):!et&&Ye.defaultSelectedKeys&&(lt.selectedKeys=(0,fn.BT)(Ye.defaultSelectedKeys,Ye))),Ye.checkable){var tn;if(Pt("checkedKeys")?tn=(0,fn.E6)(Ye.checkedKeys)||{}:!et&&Ye.defaultCheckedKeys?tn=(0,fn.E6)(Ye.defaultCheckedKeys)||{}:Mt&&(tn=(0,fn.E6)(Ye.checkedKeys)||{checkedKeys:vt.checkedKeys,halfCheckedKeys:vt.halfCheckedKeys}),tn){var zt=tn,pt=zt.checkedKeys,Wt=pt===void 0?[]:pt,vn=zt.halfCheckedKeys,xn=vn===void 0?[]:vn;if(!Ye.checkStrictly){var Wn=(0,Ln.S)(Wt,!0,Sn);Wt=Wn.checkedKeys,xn=Wn.halfCheckedKeys}lt.checkedKeys=Wt,lt.halfCheckedKeys=xn}}return Pt("loadedKeys")&&(lt.loadedKeys=Ye.loadedKeys),lt}}]),se}(ke.Component);gn.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:Pe,allowDrop:function(){return!0},expandAction:!1},gn.TreeNode=rt.Z;var Se=gn,Fe=Se},35654:function(Tn,Xt,ce){"use strict";ce.d(Xt,{BT:function(){return ke},E6:function(){return Xe},L0:function(){return fe},OM:function(){return He},_5:function(){return we},r7:function(){return Ke},wA:function(){return Be},yx:function(){return ze}});var he=ce(77654),Me=ce(43749),Ue=ce(48736),At=ce(59301),Ne=ce(39417),Le=ce(67841),ve=ce(71430),Ae=null;function we(qe,We){if(!qe)return[];var Ze=qe.slice(),$e=Ze.indexOf(We);return $e>=0&&Ze.splice($e,1),Ze}function fe(qe,We){var Ze=(qe||[]).slice();return Ze.indexOf(We)===-1&&Ze.push(We),Ze}function ze(qe){return qe.split("-")}function Be(qe,We){var Ze=[],$e=(0,Le.Z)(We,qe);function rt(){var ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ht.forEach(function(dt){var xt=dt.key,Je=dt.children;Ze.push(xt),rt(Je)})}return rt($e.children),Ze}function _e(qe){if(qe.parent){var We=ze(qe.pos);return Number(We[We.length-1])===qe.parent.children.length-1}return!1}function Oe(qe){var We=ze(qe.pos);return Number(We[We.length-1])===0}function He(qe,We,Ze,$e,rt,ht,dt,xt,Je,Lt){var Re,Rt=qe.clientX,Ft=qe.clientY,bt=qe.target.getBoundingClientRect(),Tt=bt.top,wt=bt.height,it=(Lt==="rtl"?-1:1)*(((rt==null?void 0:rt.x)||0)-Rt),je=(it-12)/$e,at=(0,Le.Z)(xt,Ze.props.eventKey);if(Ft<Tt+wt/2){var Yt=dt.findIndex(function(Fe){return Fe.key===at.key}),Vt=Yt<=0?0:Yt-1,St=dt[Vt].key;at=(0,Le.Z)(xt,St)}var Qt=at.key,cn=at,Nn=at.key,fn=0,Ln=0;if(!Je.includes(Qt))for(var Cn=0;Cn<je&&_e(at);Cn+=1)at=at.parent,Ln+=1;var Bn=We.props.data,gn=at.node,Se=!0;return Oe(at)&&at.level===0&&Ft<Tt+wt/2&&ht({dragNode:Bn,dropNode:gn,dropPosition:-1})&&at.key===Ze.props.eventKey?fn=-1:(cn.children||[]).length&&Je.includes(Nn)?ht({dragNode:Bn,dropNode:gn,dropPosition:0})?fn=0:Se=!1:Ln===0?je>-1.5?ht({dragNode:Bn,dropNode:gn,dropPosition:1})?fn=1:Se=!1:ht({dragNode:Bn,dropNode:gn,dropPosition:0})?fn=0:ht({dragNode:Bn,dropNode:gn,dropPosition:1})?fn=1:Se=!1:ht({dragNode:Bn,dropNode:gn,dropPosition:1})?fn=1:Se=!1,{dropPosition:fn,dropLevelOffset:Ln,dropTargetKey:at.key,dropTargetPos:at.pos,dragOverNodeKey:Nn,dropContainerKey:fn===0?null:((Re=at.parent)===null||Re===void 0?void 0:Re.key)||null,dropAllowed:Se}}function ke(qe,We){if(qe){var Ze=We.multiple;return Ze?qe.slice():qe.length?[qe[0]]:qe}}var Te=function(We){return We};function Pe(qe,We){if(!qe)return[];var Ze=We||{},$e=Ze.processProps,rt=$e===void 0?Te:$e,ht=Array.isArray(qe)?qe:[qe];return ht.map(function(dt){var xt=dt.children,Je=_objectWithoutProperties(dt,Ae),Lt=Pe(xt,We);return React.createElement(TreeNode,_extends({key:Je.key},rt(Je)),Lt)})}function Xe(qe){if(!qe)return null;var We;if(Array.isArray(qe))We={checkedKeys:qe,halfCheckedKeys:void 0};else if((0,Me.Z)(qe)==="object")We={checkedKeys:qe.checked||void 0,halfCheckedKeys:qe.halfChecked||void 0};else return(0,Ue.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return We}function Ke(qe,We){var Ze=new Set;function $e(rt){if(!Ze.has(rt)){var ht=(0,Le.Z)(We,rt);if(ht){Ze.add(rt);var dt=ht.parent,xt=ht.node;xt.disabled||dt&&$e(dt.key)}}}return(qe||[]).forEach(function(rt){$e(rt)}),(0,he.Z)(Ze)}},90782:function(Tn,Xt,ce){"use strict";ce.d(Xt,{S:function(){return ve}});var he=ce(48736),Me=ce(67841);function Ue(Ae,we){var fe=new Set;return Ae.forEach(function(ze){we.has(ze)||fe.add(ze)}),fe}function At(Ae){var we=Ae||{},fe=we.disabled,ze=we.disableCheckbox,Be=we.checkable;return!!(fe||ze)||Be===!1}function Ne(Ae,we,fe,ze){for(var Be=new Set(Ae),_e=new Set,Oe=0;Oe<=fe;Oe+=1){var He=we.get(Oe)||new Set;He.forEach(function(Xe){var Ke=Xe.key,qe=Xe.node,We=Xe.children,Ze=We===void 0?[]:We;Be.has(Ke)&&!ze(qe)&&Ze.filter(function($e){return!ze($e.node)}).forEach(function($e){Be.add($e.key)})})}for(var ke=new Set,Te=fe;Te>=0;Te-=1){var Pe=we.get(Te)||new Set;Pe.forEach(function(Xe){var Ke=Xe.parent,qe=Xe.node;if(!(ze(qe)||!Xe.parent||ke.has(Xe.parent.key))){if(ze(Xe.parent.node)){ke.add(Ke.key);return}var We=!0,Ze=!1;(Ke.children||[]).filter(function($e){return!ze($e.node)}).forEach(function($e){var rt=$e.key,ht=Be.has(rt);We&&!ht&&(We=!1),!Ze&&(ht||_e.has(rt))&&(Ze=!0)}),We&&Be.add(Ke.key),Ze&&_e.add(Ke.key),ke.add(Ke.key)}})}return{checkedKeys:Array.from(Be),halfCheckedKeys:Array.from(Ue(_e,Be))}}function Le(Ae,we,fe,ze,Be){for(var _e=new Set(Ae),Oe=new Set(we),He=0;He<=ze;He+=1){var ke=fe.get(He)||new Set;ke.forEach(function(Ke){var qe=Ke.key,We=Ke.node,Ze=Ke.children,$e=Ze===void 0?[]:Ze;!_e.has(qe)&&!Oe.has(qe)&&!Be(We)&&$e.filter(function(rt){return!Be(rt.node)}).forEach(function(rt){_e.delete(rt.key)})})}Oe=new Set;for(var Te=new Set,Pe=ze;Pe>=0;Pe-=1){var Xe=fe.get(Pe)||new Set;Xe.forEach(function(Ke){var qe=Ke.parent,We=Ke.node;if(!(Be(We)||!Ke.parent||Te.has(Ke.parent.key))){if(Be(Ke.parent.node)){Te.add(qe.key);return}var Ze=!0,$e=!1;(qe.children||[]).filter(function(rt){return!Be(rt.node)}).forEach(function(rt){var ht=rt.key,dt=_e.has(ht);Ze&&!dt&&(Ze=!1),!$e&&(dt||Oe.has(ht))&&($e=!0)}),Ze||_e.delete(qe.key),$e&&Oe.add(qe.key),Te.add(qe.key)}})}return{checkedKeys:Array.from(_e),halfCheckedKeys:Array.from(Ue(Oe,_e))}}function ve(Ae,we,fe,ze){var Be=[],_e;ze?_e=ze:_e=At;var Oe=new Set(Ae.filter(function(Pe){var Xe=!!(0,Me.Z)(fe,Pe);return Xe||Be.push(Pe),Xe})),He=new Map,ke=0;Object.keys(fe).forEach(function(Pe){var Xe=fe[Pe],Ke=Xe.level,qe=He.get(Ke);qe||(qe=new Set,He.set(Ke,qe)),qe.add(Xe),ke=Math.max(ke,Ke)}),(0,he.ZP)(!Be.length,"Tree missing follow keys: ".concat(Be.slice(0,100).map(function(Pe){return"'".concat(Pe,"'")}).join(", ")));var Te;return we===!0?Te=Ne(Oe,He,ke,_e):Te=Le(Oe,we.halfCheckedKeys,He,ke,_e),Te}},67841:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return he}});function he(Me,Ue){return Me[Ue]}},71430:function(Tn,Xt,ce){"use strict";ce.d(Xt,{F:function(){return Ke},H8:function(){return Xe},I8:function(){return Pe},km:function(){return Be},oH:function(){return ke},w$:function(){return _e},zn:function(){return He}});var he=ce(43749),Me=ce(77654),Ue=ce(85899),At=ce(42244),Ne=ce(11592),Le=ce(2738),ve=ce(48736),Ae=ce(67841),we=["children"];function fe(qe,We){return"".concat(qe,"-").concat(We)}function ze(qe){return qe&&qe.type&&qe.type.isTreeNode}function Be(qe,We){return qe!=null?qe:We}function _e(qe){var We=qe||{},Ze=We.title,$e=We._title,rt=We.key,ht=We.children,dt=Ze||"title";return{title:dt,_title:$e||[dt],key:rt||"key",children:ht||"children"}}function Oe(qe,We){var Ze=new Map;function $e(rt){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(rt||[]).forEach(function(dt){var xt=dt[We.key],Je=dt[We.children];warning(xt!=null,"Tree node must have a certain key: [".concat(ht).concat(xt,"]"));var Lt=String(xt);warning(!Ze.has(Lt)||xt===null||xt===void 0,"Same 'key' exist in the Tree: ".concat(Lt)),Ze.set(Lt,!0),$e(Je,"".concat(ht).concat(Lt," > "))})}$e(qe)}function He(qe){function We(Ze){var $e=(0,Ne.Z)(Ze);return $e.map(function(rt){if(!ze(rt))return(0,ve.ZP)(!rt,"Tree/TreeNode can only accept TreeNode as children."),null;var ht=rt.key,dt=rt.props,xt=dt.children,Je=(0,At.Z)(dt,we),Lt=(0,Ue.Z)({key:ht},Je),Re=We(xt);return Re.length&&(Lt.children=Re),Lt}).filter(function(rt){return rt})}return We(qe)}function ke(qe,We,Ze){var $e=_e(Ze),rt=$e._title,ht=$e.key,dt=$e.children,xt=new Set(We===!0?[]:We),Je=[];function Lt(Re){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Re.map(function(Ft,bt){for(var Tt=fe(Rt?Rt.pos:"0",bt),wt=Be(Ft[ht],Tt),it,je=0;je<rt.length;je+=1){var at=rt[je];if(Ft[at]!==void 0){it=Ft[at];break}}var Yt=(0,Ue.Z)((0,Ue.Z)({},(0,Le.Z)(Ft,[].concat((0,Me.Z)(rt),[ht,dt]))),{},{title:it,key:wt,parent:Rt,pos:Tt,children:null,data:Ft,isStart:[].concat((0,Me.Z)(Rt?Rt.isStart:[]),[bt===0]),isEnd:[].concat((0,Me.Z)(Rt?Rt.isEnd:[]),[bt===Re.length-1])});return Je.push(Yt),We===!0||xt.has(wt)?Yt.children=Lt(Ft[dt]||[],Yt):Yt.children=[],Yt})}return Lt(qe),Je}function Te(qe,We,Ze){var $e={};(0,he.Z)(Ze)==="object"?$e=Ze:$e={externalGetKey:Ze},$e=$e||{};var rt=$e,ht=rt.childrenPropName,dt=rt.externalGetKey,xt=rt.fieldNames,Je=_e(xt),Lt=Je.key,Re=Je.children,Rt=ht||Re,Ft;dt?typeof dt=="string"?Ft=function(wt){return wt[dt]}:typeof dt=="function"&&(Ft=function(wt){return dt(wt)}):Ft=function(wt,it){return Be(wt[Lt],it)};function bt(Tt,wt,it,je){var at=Tt?Tt[Rt]:qe,Yt=Tt?fe(it.pos,wt):"0",Vt=Tt?[].concat((0,Me.Z)(je),[Tt]):[];if(Tt){var St=Ft(Tt,Yt),Qt={node:Tt,index:wt,pos:Yt,key:St,parentPos:it.node?it.pos:null,level:it.level+1,nodes:Vt};We(Qt)}at&&at.forEach(function(cn,Nn){bt(cn,Nn,{node:Tt,pos:Yt,level:it?it.level+1:-1},Vt)})}bt(null)}function Pe(qe){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ze=We.initWrapper,$e=We.processEntity,rt=We.onProcessFinished,ht=We.externalGetKey,dt=We.childrenPropName,xt=We.fieldNames,Je=arguments.length>2?arguments[2]:void 0,Lt=ht||Je,Re={},Rt={},Ft={posEntities:Re,keyEntities:Rt};return Ze&&(Ft=Ze(Ft)||Ft),Te(qe,function(bt){var Tt=bt.node,wt=bt.index,it=bt.pos,je=bt.key,at=bt.parentPos,Yt=bt.level,Vt=bt.nodes,St={node:Tt,nodes:Vt,index:wt,key:je,pos:it,level:Yt},Qt=Be(je,it);Re[it]=St,Rt[Qt]=St,St.parent=Re[at],St.parent&&(St.parent.children=St.parent.children||[],St.parent.children.push(St)),$e&&$e(St,Ft)},{externalGetKey:Lt,childrenPropName:dt,fieldNames:xt}),rt&&rt(Ft),Ft}function Xe(qe,We){var Ze=We.expandedKeys,$e=We.selectedKeys,rt=We.loadedKeys,ht=We.loadingKeys,dt=We.checkedKeys,xt=We.halfCheckedKeys,Je=We.dragOverNodeKey,Lt=We.dropPosition,Re=We.keyEntities,Rt=(0,Ae.Z)(Re,qe),Ft={eventKey:qe,expanded:Ze.indexOf(qe)!==-1,selected:$e.indexOf(qe)!==-1,loaded:rt.indexOf(qe)!==-1,loading:ht.indexOf(qe)!==-1,checked:dt.indexOf(qe)!==-1,halfChecked:xt.indexOf(qe)!==-1,pos:String(Rt?Rt.pos:""),dragOver:Je===qe&&Lt===0,dragOverGapTop:Je===qe&&Lt===-1,dragOverGapBottom:Je===qe&&Lt===1};return Ft}function Ke(qe){var We=qe.data,Ze=qe.expanded,$e=qe.selected,rt=qe.checked,ht=qe.loaded,dt=qe.loading,xt=qe.halfChecked,Je=qe.dragOver,Lt=qe.dragOverGapTop,Re=qe.dragOverGapBottom,Rt=qe.pos,Ft=qe.active,bt=qe.eventKey,Tt=(0,Ue.Z)((0,Ue.Z)({},We),{},{expanded:Ze,selected:$e,checked:rt,loaded:ht,loading:dt,halfChecked:xt,dragOver:Je,dragOverGapTop:Lt,dragOverGapBottom:Re,pos:Rt,active:Ft,key:bt});return"props"in Tt||Object.defineProperty(Tt,"props",{get:function(){return(0,ve.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),qe}}),Tt}},8224:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Me}});var he=ce(4676);function Me(Ue,At,Ne,Le){var ve=he.unstable_batchedUpdates?function(we){he.unstable_batchedUpdates(Ne,we)}:Ne;return Ue!=null&&Ue.addEventListener&&Ue.addEventListener(At,ve,Le),{remove:function(){Ue!=null&&Ue.removeEventListener&&Ue.removeEventListener(At,ve,Le)}}}},55468:function(Tn,Xt,ce){"use strict";ce.d(Xt,{g1:function(){return ze},os:function(){return _e}});var he=/margin|padding|width|height|max|min|offset/,Me={left:!0,top:!0},Ue={cssFloat:1,styleFloat:1,float:1};function At(Oe){return Oe.nodeType===1?Oe.ownerDocument.defaultView.getComputedStyle(Oe,null):{}}function Ne(Oe,He,ke){if(He=He.toLowerCase(),ke==="auto"){if(He==="height")return Oe.offsetHeight;if(He==="width")return Oe.offsetWidth}return He in Me||(Me[He]=he.test(He)),Me[He]?parseFloat(ke)||0:ke}function Le(Oe,He){var ke=arguments.length,Te=At(Oe);return He=Ue[He]?"cssFloat"in Oe.style?"cssFloat":"styleFloat":He,ke===1?Te:Ne(Oe,He,Te[He]||Oe.style[He])}function ve(Oe,He,ke){var Te=arguments.length;if(He=Ue[He]?"cssFloat"in Oe.style?"cssFloat":"styleFloat":He,Te===3)return typeof ke=="number"&&he.test(He)&&(ke="".concat(ke,"px")),Oe.style[He]=ke,ke;for(var Pe in He)He.hasOwnProperty(Pe)&&ve(Oe,Pe,He[Pe]);return At(Oe)}function Ae(Oe){return Oe===document.body?document.documentElement.clientWidth:Oe.offsetWidth}function we(Oe){return Oe===document.body?window.innerHeight||document.documentElement.clientHeight:Oe.offsetHeight}function fe(){var Oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),He=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Oe,height:He}}function ze(){var Oe=document.documentElement.clientWidth,He=window.innerHeight||document.documentElement.clientHeight;return{width:Oe,height:He}}function Be(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function _e(Oe){var He=Oe.getBoundingClientRect(),ke=document.documentElement;return{left:He.left+(window.pageXOffset||ke.scrollLeft)-(ke.clientLeft||document.body.clientLeft||0),top:He.top+(window.pageYOffset||ke.scrollTop)-(ke.clientTop||document.body.clientTop||0)}}},24514:function(Tn,Xt,ce){"use strict";ce.d(Xt,{G:function(){return At}});var he=ce(47273),Me=function(Le){if((0,he.Z)()&&window.document.documentElement){var ve=Array.isArray(Le)?Le:[Le],Ae=window.document.documentElement;return ve.some(function(we){return we in Ae.style})}return!1},Ue=function(Le,ve){if(!Me(Le))return!1;var Ae=document.createElement("div"),we=Ae.style[Le];return Ae.style[Le]=ve,Ae.style[Le]!==we};function At(Ne,Le){return!Array.isArray(Ne)&&Le!==void 0?Ue(Ne,Le):Me(Ne)}},48911:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return gn}});var he=ce(60499),Me=ce(43749),Ue=ce(85899),At=ce(18642),Ne=ce(72190),Le=ce(42244),ve=ce(92310),Ae=ce.n(ve),we=ce(29301),fe=ce(70425),ze=ce(34280),Be=ce(59301),_e=ce(4676),Oe=Be.forwardRef(function(Se,Fe){var ie=Se.height,ae=Se.offsetY,se=Se.offsetX,oe=Se.children,Ye=Se.prefixCls,vt=Se.onInnerResize,et=Se.innerProps,lt=Se.rtl,Pt=Se.extra,Mt={},kt={display:"flex",flexDirection:"column"};return ae!==void 0&&(Mt={height:ie,position:"relative",overflow:"hidden"},kt=(0,Ue.Z)((0,Ue.Z)({},kt),{},(0,At.Z)((0,At.Z)((0,At.Z)((0,At.Z)((0,At.Z)({transform:"translateY(".concat(ae,"px)")},lt?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),Be.createElement("div",{style:Mt},Be.createElement(we.Z,{onResize:function(Sn){var Bt=Sn.offsetHeight;Bt&&vt&&vt()}},Be.createElement("div",(0,he.Z)({style:kt,className:Ae()((0,At.Z)({},"".concat(Ye,"-holder-inner"),Ye)),ref:Fe},et),oe,Pt)))});Oe.displayName="Filler";var He=Oe;function ke(Se){var Fe=Se.children,ie=Se.setRef,ae=Be.useCallback(function(se){ie(se)},[]);return Be.cloneElement(Fe,{ref:ae})}function Te(Se,Fe,ie,ae,se,oe,Ye,vt){var et=vt.getKey;return Se.slice(Fe,ie+1).map(function(lt,Pt){var Mt=Fe+Pt,kt=Ye(lt,Mt,{style:{width:ae},offsetX:se}),$t=et(lt);return Be.createElement(ke,{key:$t,setRef:function(Bt){return oe(lt,Bt)}},kt)})}function Pe(Se,Fe,ie,ae){var se=ie-Se,oe=Fe-ie,Ye=Math.min(se,oe)*2;if(ae<=Ye){var vt=Math.floor(ae/2);return ae%2?ie+vt+1:ie-vt}return se>oe?ie-(ae-oe):ie+(ae-se)}function Xe(Se,Fe,ie){var ae=Se.length,se=Fe.length,oe,Ye;if(ae===0&&se===0)return null;ae<se?(oe=Se,Ye=Fe):(oe=Fe,Ye=Se);var vt={__EMPTY_ITEM__:!0};function et(Sn){return Sn!==void 0?ie(Sn):vt}for(var lt=null,Pt=Math.abs(ae-se)!==1,Mt=0;Mt<Ye.length;Mt+=1){var kt=et(oe[Mt]),$t=et(Ye[Mt]);if(kt!==$t){lt=Mt,Pt=Pt||kt!==et(Ye[Mt+1]);break}}return lt===null?null:{index:lt,multiple:Pt}}function Ke(Se,Fe,ie){var ae=Be.useState(Se),se=(0,Ne.Z)(ae,2),oe=se[0],Ye=se[1],vt=Be.useState(null),et=(0,Ne.Z)(vt,2),lt=et[0],Pt=et[1];return Be.useEffect(function(){var Mt=Xe(oe||[],Se||[],Fe);(Mt==null?void 0:Mt.index)!==void 0&&(ie==null||ie(Mt.index),Pt(Se[Mt.index])),Ye(Se)},[Se]),[lt]}var qe=ce(16089),We=(typeof navigator=="undefined"?"undefined":(0,Me.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ze=We,$e=function(Se,Fe,ie,ae){var se=(0,Be.useRef)(!1),oe=(0,Be.useRef)(null);function Ye(){clearTimeout(oe.current),se.current=!0,oe.current=setTimeout(function(){se.current=!1},50)}var vt=(0,Be.useRef)({top:Se,bottom:Fe,left:ie,right:ae});return vt.current.top=Se,vt.current.bottom=Fe,vt.current.left=ie,vt.current.right=ae,function(et,lt){var Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Mt=et?lt<0&&vt.current.left||lt>0&&vt.current.right:lt<0&&vt.current.top||lt>0&&vt.current.bottom;return Pt&&Mt?(clearTimeout(oe.current),se.current=!1):(!Mt||se.current)&&Ye(),!se.current&&Mt}};function rt(Se,Fe,ie,ae,se,oe,Ye){var vt=(0,Be.useRef)(0),et=(0,Be.useRef)(null),lt=(0,Be.useRef)(null),Pt=(0,Be.useRef)(!1),Mt=$e(Fe,ie,ae,se);function kt(zt,pt){if(qe.Z.cancel(et.current),!Mt(!1,pt)){var Wt=zt;if(!Wt._virtualHandled)Wt._virtualHandled=!0;else return;vt.current+=pt,lt.current=pt,Ze||Wt.preventDefault(),et.current=(0,qe.Z)(function(){var vn=Pt.current?10:1;Ye(vt.current*vn,!1),vt.current=0})}}function $t(zt,pt){Ye(pt,!0),Ze||zt.preventDefault()}var Sn=(0,Be.useRef)(null),Bt=(0,Be.useRef)(null);function nn(zt){if(Se){qe.Z.cancel(Bt.current),Bt.current=(0,qe.Z)(function(){Sn.current=null},2);var pt=zt.deltaX,Wt=zt.deltaY,vn=zt.shiftKey,xn=pt,Wn=Wt;(Sn.current==="sx"||!Sn.current&&vn&&Wt&&!pt)&&(xn=Wt,Wn=0,Sn.current="sx");var br=Math.abs(xn),Lr=Math.abs(Wn);Sn.current===null&&(Sn.current=oe&&br>Lr?"x":"y"),Sn.current==="y"?kt(zt,Wn):$t(zt,xn)}}function tn(zt){Se&&(Pt.current=zt.detail===lt.current)}return[nn,tn]}function ht(Se,Fe,ie,ae){var se=Be.useMemo(function(){return[new Map,[]]},[Se,ie.id,ae]),oe=(0,Ne.Z)(se,2),Ye=oe[0],vt=oe[1],et=function(Pt){var Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pt,kt=Ye.get(Pt),$t=Ye.get(Mt);if(kt===void 0||$t===void 0)for(var Sn=Se.length,Bt=vt.length;Bt<Sn;Bt+=1){var nn,tn=Se[Bt],zt=Fe(tn);Ye.set(zt,Bt);var pt=(nn=ie.get(zt))!==null&&nn!==void 0?nn:ae;if(vt[Bt]=(vt[Bt-1]||0)+pt,zt===Pt&&(kt=Bt),zt===Mt&&($t=Bt),kt!==void 0&&$t!==void 0)break}return{top:vt[kt-1]||0,bottom:vt[$t]}};return et}var dt=ce(38705),xt=ce(17212),Je=function(){function Se(){(0,dt.Z)(this,Se),(0,At.Z)(this,"maps",void 0),(0,At.Z)(this,"id",0),(0,At.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,xt.Z)(Se,[{key:"set",value:function(ie,ae){this.diffRecords.set(ie,this.maps[ie]),this.maps[ie]=ae,this.id+=1}},{key:"get",value:function(ie){return this.maps[ie]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),Se}(),Lt=Je;function Re(Se){var Fe=parseFloat(Se);return isNaN(Fe)?0:Fe}function Rt(Se,Fe,ie){var ae=Be.useState(0),se=(0,Ne.Z)(ae,2),oe=se[0],Ye=se[1],vt=(0,Be.useRef)(new Map),et=(0,Be.useRef)(new Lt),lt=(0,Be.useRef)(0);function Pt(){lt.current+=1}function Mt(){var $t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Pt();var Sn=function(){var tn=!1;vt.current.forEach(function(zt,pt){if(zt&&zt.offsetParent){var Wt=zt.offsetHeight,vn=getComputedStyle(zt),xn=vn.marginTop,Wn=vn.marginBottom,br=Re(xn),Lr=Re(Wn),jr=Wt+br+Lr;et.current.get(pt)!==jr&&(et.current.set(pt,jr),tn=!0)}}),tn&&Ye(function(zt){return zt+1})};if($t)Sn();else{lt.current+=1;var Bt=lt.current;Promise.resolve().then(function(){Bt===lt.current&&Sn()})}}function kt($t,Sn){var Bt=Se($t),nn=vt.current.get(Bt);Sn?(vt.current.set(Bt,Sn),Mt()):vt.current.delete(Bt),!nn!=!Sn&&(Sn?Fe==null||Fe($t):ie==null||ie($t))}return(0,Be.useEffect)(function(){return Pt},[]),[kt,Mt,et.current,oe]}var Ft=14/15;function bt(Se,Fe,ie){var ae=(0,Be.useRef)(!1),se=(0,Be.useRef)(0),oe=(0,Be.useRef)(0),Ye=(0,Be.useRef)(null),vt=(0,Be.useRef)(null),et,lt=function($t){if(ae.current){var Sn=Math.ceil($t.touches[0].pageX),Bt=Math.ceil($t.touches[0].pageY),nn=se.current-Sn,tn=oe.current-Bt,zt=Math.abs(nn)>Math.abs(tn);zt?se.current=Sn:oe.current=Bt;var pt=ie(zt,zt?nn:tn,!1,$t);pt&&$t.preventDefault(),clearInterval(vt.current),pt&&(vt.current=setInterval(function(){zt?nn*=Ft:tn*=Ft;var Wt=Math.floor(zt?nn:tn);(!ie(zt,Wt,!0)||Math.abs(Wt)<=.1)&&clearInterval(vt.current)},16))}},Pt=function(){ae.current=!1,et()},Mt=function($t){et(),$t.touches.length===1&&!ae.current&&(ae.current=!0,se.current=Math.ceil($t.touches[0].pageX),oe.current=Math.ceil($t.touches[0].pageY),Ye.current=$t.target,Ye.current.addEventListener("touchmove",lt,{passive:!1}),Ye.current.addEventListener("touchend",Pt,{passive:!0}))};et=function(){Ye.current&&(Ye.current.removeEventListener("touchmove",lt),Ye.current.removeEventListener("touchend",Pt))},(0,ze.Z)(function(){return Se&&Fe.current.addEventListener("touchstart",Mt,{passive:!0}),function(){var kt;(kt=Fe.current)===null||kt===void 0||kt.removeEventListener("touchstart",Mt),et(),clearInterval(vt.current)}},[Se])}function Tt(Se){return Math.floor(Math.pow(Se,.5))}function wt(Se,Fe){var ie="touches"in Se?Se.touches[0]:Se;return ie[Fe?"pageX":"pageY"]-window[Fe?"scrollX":"scrollY"]}function it(Se,Fe,ie){Be.useEffect(function(){var ae=Fe.current;if(Se&&ae){var se=!1,oe,Ye,vt=function(){qe.Z.cancel(oe)},et=function kt(){vt(),oe=(0,qe.Z)(function(){ie(Ye),kt()})},lt=function(){se=!1,vt()},Pt=function($t){if(!($t.target.draggable||$t.button!==0)){var Sn=$t;Sn._virtualHandled||(Sn._virtualHandled=!0,se=!0)}},Mt=function($t){if(se){var Sn=wt($t,!1),Bt=ae.getBoundingClientRect(),nn=Bt.top,tn=Bt.bottom;if(Sn<=nn){var zt=nn-Sn;Ye=-Tt(zt),et()}else if(Sn>=tn){var pt=Sn-tn;Ye=Tt(pt),et()}else vt()}};return ae.addEventListener("mousedown",Pt),ae.ownerDocument.addEventListener("mouseup",lt),ae.ownerDocument.addEventListener("mousemove",Mt),ae.ownerDocument.addEventListener("dragend",lt),function(){ae.removeEventListener("mousedown",Pt),ae.ownerDocument.removeEventListener("mouseup",lt),ae.ownerDocument.removeEventListener("mousemove",Mt),ae.ownerDocument.removeEventListener("dragend",lt),vt()}}},[Se])}var je=10;function at(Se,Fe,ie,ae,se,oe,Ye,vt){var et=Be.useRef(),lt=Be.useState(null),Pt=(0,Ne.Z)(lt,2),Mt=Pt[0],kt=Pt[1];return(0,ze.Z)(function(){if(Mt&&Mt.times<je){if(!Se.current){kt(function(pa){return(0,Ue.Z)({},pa)});return}oe();var $t=Mt.targetAlign,Sn=Mt.originAlign,Bt=Mt.index,nn=Mt.offset,tn=Se.current.clientHeight,zt=!1,pt=$t,Wt=null;if(tn){for(var vn=$t||Sn,xn=0,Wn=0,br=0,Lr=Math.min(Fe.length-1,Bt),jr=0;jr<=Lr;jr+=1){var Qr=se(Fe[jr]);Wn=xn;var vr=ie.get(Qr);br=Wn+(vr===void 0?ae:vr),xn=br}for(var Ar=vn==="top"?nn:tn-nn,Tr=Lr;Tr>=0;Tr-=1){var Bi=se(Fe[Tr]),$i=ie.get(Bi);if($i===void 0){zt=!0;break}if(Ar-=$i,Ar<=0)break}switch(vn){case"top":Wt=Wn-nn;break;case"bottom":Wt=br-tn+nn;break;default:{var mi=Se.current.scrollTop,Mi=mi+tn;Wn<mi?pt="top":br>Mi&&(pt="bottom")}}Wt!==null&&Ye(Wt),Wt!==Mt.lastTop&&(zt=!0)}zt&&kt((0,Ue.Z)((0,Ue.Z)({},Mt),{},{times:Mt.times+1,targetAlign:pt,lastTop:Wt}))}},[Mt,Se.current]),function($t){if($t==null){vt();return}if(qe.Z.cancel(et.current),typeof $t=="number")Ye($t);else if($t&&(0,Me.Z)($t)==="object"){var Sn,Bt=$t.align;"index"in $t?Sn=$t.index:Sn=Fe.findIndex(function(zt){return se(zt)===$t.key});var nn=$t.offset,tn=nn===void 0?0:nn;kt({times:0,index:Sn,offset:tn,originAlign:Bt})}}}var Yt=Be.forwardRef(function(Se,Fe){var ie=Se.prefixCls,ae=Se.rtl,se=Se.scrollOffset,oe=Se.scrollRange,Ye=Se.onStartMove,vt=Se.onStopMove,et=Se.onScroll,lt=Se.horizontal,Pt=Se.spinSize,Mt=Se.containerSize,kt=Se.style,$t=Se.thumbStyle,Sn=Se.showScrollBar,Bt=Be.useState(!1),nn=(0,Ne.Z)(Bt,2),tn=nn[0],zt=nn[1],pt=Be.useState(null),Wt=(0,Ne.Z)(pt,2),vn=Wt[0],xn=Wt[1],Wn=Be.useState(null),br=(0,Ne.Z)(Wn,2),Lr=br[0],jr=br[1],Qr=!ae,vr=Be.useRef(),Ar=Be.useRef(),Tr=Be.useState(Sn),Bi=(0,Ne.Z)(Tr,2),$i=Bi[0],mi=Bi[1],Mi=Be.useRef(),pa=function(){Sn===!0||Sn===!1||(clearTimeout(Mi.current),mi(!0),Mi.current=setTimeout(function(){mi(!1)},3e3))},Dr=oe-Mt||0,_n=Mt-Pt||0,no=Be.useMemo(function(){if(se===0||Dr===0)return 0;var Fn=se/Dr;return Fn*_n},[se,Dr,_n]),Ki=function(Dt){Dt.stopPropagation(),Dt.preventDefault()},Co=Be.useRef({top:no,dragging:tn,pageY:vn,startTop:Lr});Co.current={top:no,dragging:tn,pageY:vn,startTop:Lr};var ro=function(Dt){zt(!0),xn(wt(Dt,lt)),jr(Co.current.top),Ye(),Dt.stopPropagation(),Dt.preventDefault()};Be.useEffect(function(){var Fn=function(jt){jt.preventDefault()},Dt=vr.current,Gt=Ar.current;return Dt.addEventListener("touchstart",Fn,{passive:!1}),Gt.addEventListener("touchstart",ro,{passive:!1}),function(){Dt.removeEventListener("touchstart",Fn),Gt.removeEventListener("touchstart",ro)}},[]);var Pi=Be.useRef();Pi.current=Dr;var Ii=Be.useRef();Ii.current=_n,Be.useEffect(function(){if(tn){var Fn,Dt=function(jt){var on=Co.current,Mn=on.dragging,ir=on.pageY,qn=on.startTop;qe.Z.cancel(Fn);var pr=vr.current.getBoundingClientRect(),Gr=Mt/(lt?pr.width:pr.height);if(Mn){var Zr=(wt(jt,lt)-ir)*Gr,$r=qn;!Qr&&lt?$r-=Zr:$r+=Zr;var Xn=Pi.current,Or=Ii.current,ki=Or?$r/Or:0,vi=Math.ceil(ki*Xn);vi=Math.max(vi,0),vi=Math.min(vi,Xn),Fn=(0,qe.Z)(function(){et(vi,lt)})}},Gt=function(){zt(!1),vt()};return window.addEventListener("mousemove",Dt,{passive:!0}),window.addEventListener("touchmove",Dt,{passive:!0}),window.addEventListener("mouseup",Gt,{passive:!0}),window.addEventListener("touchend",Gt,{passive:!0}),function(){window.removeEventListener("mousemove",Dt),window.removeEventListener("touchmove",Dt),window.removeEventListener("mouseup",Gt),window.removeEventListener("touchend",Gt),qe.Z.cancel(Fn)}}},[tn]),Be.useEffect(function(){return pa(),function(){clearTimeout(Mi.current)}},[se]),Be.useImperativeHandle(Fe,function(){return{delayHidden:pa}});var Si="".concat(ie,"-scrollbar"),gi={position:"absolute",visibility:$i?null:"hidden"},Ea={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return lt?(Object.assign(gi,{height:8,left:0,right:0,bottom:0}),Object.assign(Ea,(0,At.Z)({height:"100%",width:Pt},Qr?"left":"right",no))):(Object.assign(gi,(0,At.Z)({width:8,top:0,bottom:0},Qr?"right":"left",0)),Object.assign(Ea,{width:"100%",height:Pt,top:no})),Be.createElement("div",{ref:vr,className:Ae()(Si,(0,At.Z)((0,At.Z)((0,At.Z)({},"".concat(Si,"-horizontal"),lt),"".concat(Si,"-vertical"),!lt),"".concat(Si,"-visible"),$i)),style:(0,Ue.Z)((0,Ue.Z)({},gi),kt),onMouseDown:Ki,onMouseMove:pa},Be.createElement("div",{ref:Ar,className:Ae()("".concat(Si,"-thumb"),(0,At.Z)({},"".concat(Si,"-thumb-moving"),tn)),style:(0,Ue.Z)((0,Ue.Z)({},Ea),$t),onMouseDown:ro}))}),Vt=Yt,St=20;function Qt(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ie=Se/Fe*Se;return isNaN(ie)&&(ie=0),ie=Math.max(ie,St),Math.floor(ie)}var cn=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Nn=[],fn={overflowY:"auto",overflowAnchor:"none"};function Ln(Se,Fe){var ie=Se.prefixCls,ae=ie===void 0?"rc-virtual-list":ie,se=Se.className,oe=Se.height,Ye=Se.itemHeight,vt=Se.fullHeight,et=vt===void 0?!0:vt,lt=Se.style,Pt=Se.data,Mt=Se.children,kt=Se.itemKey,$t=Se.virtual,Sn=Se.direction,Bt=Se.scrollWidth,nn=Se.component,tn=nn===void 0?"div":nn,zt=Se.onScroll,pt=Se.onVirtualScroll,Wt=Se.onVisibleChange,vn=Se.innerProps,xn=Se.extraRender,Wn=Se.styles,br=Se.showScrollBar,Lr=br===void 0?"optional":br,jr=(0,Le.Z)(Se,cn),Qr=Be.useCallback(function(Sa){return typeof kt=="function"?kt(Sa):Sa==null?void 0:Sa[kt]},[kt]),vr=Rt(Qr,null,null),Ar=(0,Ne.Z)(vr,4),Tr=Ar[0],Bi=Ar[1],$i=Ar[2],mi=Ar[3],Mi=!!($t!==!1&&oe&&Ye),pa=Be.useMemo(function(){return Object.values($i.maps).reduce(function(Sa,xa){return Sa+xa},0)},[$i.id,$i.maps]),Dr=Mi&&Pt&&(Math.max(Ye*Pt.length,pa)>oe||!!Bt),_n=Sn==="rtl",no=Ae()(ae,(0,At.Z)({},"".concat(ae,"-rtl"),_n),se),Ki=Pt||Nn,Co=(0,Be.useRef)(),ro=(0,Be.useRef)(),Pi=(0,Be.useRef)(),Ii=(0,Be.useState)(0),Si=(0,Ne.Z)(Ii,2),gi=Si[0],Ea=Si[1],Fn=(0,Be.useState)(0),Dt=(0,Ne.Z)(Fn,2),Gt=Dt[0],Zt=Dt[1],jt=(0,Be.useState)(!1),on=(0,Ne.Z)(jt,2),Mn=on[0],ir=on[1],qn=function(){ir(!0)},pr=function(){ir(!1)},Gr={getKey:Qr};function Zr(Sa){Ea(function(xa){var Bo;typeof Sa=="function"?Bo=Sa(xa):Bo=Sa;var So=Qa(Bo);return Co.current.scrollTop=So,So})}var $r=(0,Be.useRef)({start:0,end:Ki.length}),Xn=(0,Be.useRef)(),Or=Ke(Ki,Qr),ki=(0,Ne.Z)(Or,1),vi=ki[0];Xn.current=vi;var Zi=Be.useMemo(function(){if(!Mi)return{scrollHeight:void 0,start:0,end:Ki.length-1,offset:void 0};if(!Dr){var Sa;return{scrollHeight:((Sa=ro.current)===null||Sa===void 0?void 0:Sa.offsetHeight)||0,start:0,end:Ki.length-1,offset:void 0}}for(var xa=0,Bo,So,Ms,er=Ki.length,Qs=0;Qs<er;Qs+=1){var fs=Ki[Qs],Zs=Qr(fs),qs=$i.get(Zs),ma=xa+(qs===void 0?Ye:qs);ma>=gi&&Bo===void 0&&(Bo=Qs,So=xa),ma>gi+oe&&Ms===void 0&&(Ms=Qs),xa=ma}return Bo===void 0&&(Bo=0,So=0,Ms=Math.ceil(oe/Ye)),Ms===void 0&&(Ms=Ki.length-1),Ms=Math.min(Ms+1,Ki.length-1),{scrollHeight:xa,start:Bo,end:Ms,offset:So}},[Dr,Mi,gi,Ki,mi,oe]),xi=Zi.scrollHeight,Ca=Zi.start,si=Zi.end,oa=Zi.offset;$r.current.start=Ca,$r.current.end=si,Be.useLayoutEffect(function(){var Sa=$i.getRecord();if(Sa.size===1){var xa=Array.from(Sa.keys())[0],Bo=Sa.get(xa),So=Ki[Ca];if(So&&Bo===void 0){var Ms=Qr(So);if(Ms===xa){var er=$i.get(xa),Qs=er-Ye;Zr(function(fs){return fs+Qs})}}}$i.resetRecord()},[xi]);var mn=Be.useState({width:0,height:oe}),mr=(0,Ne.Z)(mn,2),dr=mr[0],Wr=mr[1],wr=function(xa){Wr({width:xa.offsetWidth,height:xa.offsetHeight})},Mr=(0,Be.useRef)(),Fr=(0,Be.useRef)(),ui=Be.useMemo(function(){return Qt(dr.width,Bt)},[dr.width,Bt]),yi=Be.useMemo(function(){return Qt(dr.height,xi)},[dr.height,xi]),Hi=xi-oe,Oa=(0,Be.useRef)(Hi);Oa.current=Hi;function Qa(Sa){var xa=Sa;return Number.isNaN(Oa.current)||(xa=Math.min(xa,Oa.current)),xa=Math.max(xa,0),xa}var oo=gi<=0,La=gi>=Hi,Da=Gt<=0,po=Gt>=Bt,Za=$e(oo,La,Da,po),io=function(){return{x:_n?-Gt:Gt,y:gi}},va=(0,Be.useRef)(io()),ka=(0,fe.useEvent)(function(Sa){if(pt){var xa=(0,Ue.Z)((0,Ue.Z)({},io()),Sa);(va.current.x!==xa.x||va.current.y!==xa.y)&&(pt(xa),va.current=xa)}});function Xa(Sa,xa){var Bo=Sa;xa?((0,_e.flushSync)(function(){Zt(Bo)}),ka()):Zr(Bo)}function Pa(Sa){var xa=Sa.currentTarget.scrollTop;xa!==gi&&Zr(xa),zt==null||zt(Sa),ka()}var ao=function(xa){var Bo=xa,So=Bt?Bt-dr.width:0;return Bo=Math.max(Bo,0),Bo=Math.min(Bo,So),Bo},us=(0,fe.useEvent)(function(Sa,xa){xa?((0,_e.flushSync)(function(){Zt(function(Bo){var So=Bo+(_n?-Sa:Sa);return ao(So)})}),ka()):Zr(function(Bo){var So=Bo+Sa;return So})}),Ya=rt(Mi,oo,La,Da,po,!!Bt,us),fi=(0,Ne.Z)(Ya,2),Rr=fi[0],Ra=fi[1];bt(Mi,Co,function(Sa,xa,Bo,So){var Ms=So;return Za(Sa,xa,Bo)?!1:!Ms||!Ms._virtualHandled?(Ms&&(Ms._virtualHandled=!0),Rr({preventDefault:function(){},deltaX:Sa?xa:0,deltaY:Sa?0:xa}),!0):!1}),it(Dr,Co,function(Sa){Zr(function(xa){return xa+Sa})}),(0,ze.Z)(function(){function Sa(Bo){var So=oo&&Bo.detail<0,Ms=La&&Bo.detail>0;Mi&&!So&&!Ms&&Bo.preventDefault()}var xa=Co.current;return xa.addEventListener("wheel",Rr,{passive:!1}),xa.addEventListener("DOMMouseScroll",Ra,{passive:!0}),xa.addEventListener("MozMousePixelScroll",Sa,{passive:!1}),function(){xa.removeEventListener("wheel",Rr),xa.removeEventListener("DOMMouseScroll",Ra),xa.removeEventListener("MozMousePixelScroll",Sa)}},[Mi,oo,La]),(0,ze.Z)(function(){if(Bt){var Sa=ao(Gt);Zt(Sa),ka({x:Sa})}},[dr.width,Bt]);var _a=function(){var xa,Bo;(xa=Mr.current)===null||xa===void 0||xa.delayHidden(),(Bo=Fr.current)===null||Bo===void 0||Bo.delayHidden()},Va=at(Co,Ki,$i,Ye,Qr,function(){return Bi(!0)},Zr,_a);Be.useImperativeHandle(Fe,function(){return{nativeElement:Pi.current,getScrollInfo:io,scrollTo:function(xa){function Bo(So){return So&&(0,Me.Z)(So)==="object"&&("left"in So||"top"in So)}Bo(xa)?(xa.left!==void 0&&Zt(ao(xa.left)),Va(xa.top)):Va(xa)}}}),(0,ze.Z)(function(){if(Wt){var Sa=Ki.slice(Ca,si+1);Wt(Sa,Ki)}},[Ca,si,Ki]);var Mo=ht(Ki,Qr,$i,Ye),go=xn==null?void 0:xn({start:Ca,end:si,virtual:Dr,offsetX:Gt,offsetY:oa,rtl:_n,getSize:Mo}),As=Te(Ki,Ca,si,Bt,Gt,Tr,Mt,Gr),_o=null;oe&&(_o=(0,Ue.Z)((0,At.Z)({},et?"height":"maxHeight",oe),fn),Mi&&(_o.overflowY="hidden",Bt&&(_o.overflowX="hidden"),Mn&&(_o.pointerEvents="none")));var Js={};return _n&&(Js.dir="rtl"),Be.createElement("div",(0,he.Z)({ref:Pi,style:(0,Ue.Z)((0,Ue.Z)({},lt),{},{position:"relative"}),className:no},Js,jr),Be.createElement(we.Z,{onResize:wr},Be.createElement(tn,{className:"".concat(ae,"-holder"),style:_o,ref:Co,onScroll:Pa,onMouseEnter:_a},Be.createElement(He,{prefixCls:ae,height:xi,offsetX:Gt,offsetY:oa,scrollWidth:Bt,onInnerResize:Bi,ref:ro,innerProps:vn,rtl:_n,extra:go},As))),Dr&&xi>oe&&Be.createElement(Vt,{ref:Mr,prefixCls:ae,scrollOffset:gi,scrollRange:xi,rtl:_n,onScroll:Xa,onStartMove:qn,onStopMove:pr,spinSize:yi,containerSize:dr.height,style:Wn==null?void 0:Wn.verticalScrollBar,thumbStyle:Wn==null?void 0:Wn.verticalScrollBarThumb,showScrollBar:Lr}),Dr&&Bt>dr.width&&Be.createElement(Vt,{ref:Fr,prefixCls:ae,scrollOffset:Gt,scrollRange:Bt,rtl:_n,onScroll:Xa,onStartMove:qn,onStopMove:pr,spinSize:ui,containerSize:dr.width,horizontal:!0,style:Wn==null?void 0:Wn.horizontalScrollBar,thumbStyle:Wn==null?void 0:Wn.horizontalScrollBarThumb,showScrollBar:Lr}))}var Cn=Be.forwardRef(Ln);Cn.displayName="List";var Bn=Cn,gn=Bn},51353:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Object.defineProperty(Xt,"DraggableCore",{enumerable:!0,get:function(){return Ae.default}}),Xt.default=void 0;var he=ze(ce(59301)),Me=fe(ce(12708)),Ue=fe(ce(4676)),At=ce(14625),Ne=ce(77026),Le=ce(22013),ve=ce(80217),Ae=fe(ce(68555)),we=fe(ce(97510));function fe(Te){return Te&&Te.__esModule?Te:{default:Te}}function ze(Te,Pe){if(typeof WeakMap=="function")var Xe=new WeakMap,Ke=new WeakMap;return(ze=function(qe,We){if(!We&&qe&&qe.__esModule)return qe;var Ze,$e,rt={__proto__:null,default:qe};if(qe===null||typeof qe!="object"&&typeof qe!="function")return rt;if(Ze=We?Ke:Xe){if(Ze.has(qe))return Ze.get(qe);Ze.set(qe,rt)}for(const ht in qe)ht!=="default"&&{}.hasOwnProperty.call(qe,ht)&&(($e=(Ze=Object.defineProperty)&&Object.getOwnPropertyDescriptor(qe,ht))&&($e.get||$e.set)?Ze(rt,ht,$e):rt[ht]=qe[ht]);return rt})(Te,Pe)}function Be(){return Be=Object.assign?Object.assign.bind():function(Te){for(var Pe=1;Pe<arguments.length;Pe++){var Xe=arguments[Pe];for(var Ke in Xe)({}).hasOwnProperty.call(Xe,Ke)&&(Te[Ke]=Xe[Ke])}return Te},Be.apply(null,arguments)}function _e(Te,Pe,Xe){return(Pe=Oe(Pe))in Te?Object.defineProperty(Te,Pe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):Te[Pe]=Xe,Te}function Oe(Te){var Pe=He(Te,"string");return typeof Pe=="symbol"?Pe:Pe+""}function He(Te,Pe){if(typeof Te!="object"||!Te)return Te;var Xe=Te[Symbol.toPrimitive];if(Xe!==void 0){var Ke=Xe.call(Te,Pe||"default");if(typeof Ke!="object")return Ke;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Pe==="string"?String:Number)(Te)}class ke extends he.Component{static getDerivedStateFromProps(Pe,Xe){let{position:Ke}=Pe,{prevPropsPosition:qe}=Xe;return Ke&&(!qe||Ke.x!==qe.x||Ke.y!==qe.y)?((0,we.default)("Draggable: getDerivedStateFromProps %j",{position:Ke,prevPropsPosition:qe}),{x:Ke.x,y:Ke.y,prevPropsPosition:np({},Ke)}):null}constructor(Pe){super(Pe),_e(this,"onDragStart",(Xe,Ke)=>{if((0,we.default)("Draggable: onDragStart: %j",Ke),this.props.onStart(Xe,(0,Le.createDraggableData)(this,Ke))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),_e(this,"onDrag",(Xe,Ke)=>{if(!this.state.dragging)return!1;(0,we.default)("Draggable: onDrag: %j",Ke);const qe=(0,Le.createDraggableData)(this,Ke),We={x:qe.x,y:qe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:$e,y:rt}=We;We.x+=this.state.slackX,We.y+=this.state.slackY;const[ht,dt]=(0,Le.getBoundPosition)(this,We.x,We.y);We.x=ht,We.y=dt,We.slackX=this.state.slackX+($e-We.x),We.slackY=this.state.slackY+(rt-We.y),qe.x=We.x,qe.y=We.y,qe.deltaX=We.x-this.state.x,qe.deltaY=We.y-this.state.y}if(this.props.onDrag(Xe,qe)===!1)return!1;this.setState(We)}),_e(this,"onDragStop",(Xe,Ke)=>{if(!this.state.dragging||this.props.onStop(Xe,(0,Le.createDraggableData)(this,Ke))===!1)return!1;(0,we.default)("Draggable: onDragStop: %j",Ke);const We={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:$e,y:rt}=this.props.position;We.x=$e,We.y=rt}this.setState(We)}),this.state={dragging:!1,dragged:!1,x:Pe.position?Pe.position.x:Pe.defaultPosition.x,y:Pe.position?Pe.position.y:Pe.defaultPosition.y,prevPropsPosition:np({},Pe.position),slackX:0,slackY:0,isElementSVG:!1},Pe.position&&!(Pe.onDrag||Pe.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var Pe,Xe,Ke;return(Ke=(Xe=(Pe=this.props)==null?void 0:Pe.nodeRef)==null?void 0:Xe.current)!=null?Ke:Ue.default.findDOMNode(this)}render(){const wt=this.props,{axis:Pe,bounds:Xe,children:Ke,defaultPosition:qe,defaultClassName:We,defaultClassNameDragging:Ze,defaultClassNameDragged:$e,position:rt,positionOffset:ht,scale:dt}=wt,xt=I1(wt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Je={},Lt=null;const Rt=!!!rt||this.state.dragging,Ft=rt||qe,bt={x:(0,Le.canDragX)(this)&&Rt?this.state.x:Ft.x,y:(0,Le.canDragY)(this)&&Rt?this.state.y:Ft.y};this.state.isElementSVG?Lt=(0,Ne.createSVGTransform)(bt,ht):Je=(0,Ne.createCSSTransform)(bt,ht);const Tt=(0,At.clsx)(Ke.props.className||"",We,{[Ze]:this.state.dragging,[$e]:this.state.dragged});return he.createElement(Ae.default,Be({},xt,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),he.cloneElement(he.Children.only(Ke),{className:Tt,style:np(np({},Ke.props.style),Je),transform:Lt}))}}Xt.default=ke,_e(ke,"displayName","Draggable"),_e(ke,"propTypes",p1(np({},Ae.default.propTypes),{axis:Me.default.oneOf(["both","x","y","none"]),bounds:Me.default.oneOfType([Me.default.shape({left:Me.default.number,right:Me.default.number,top:Me.default.number,bottom:Me.default.number}),Me.default.string,Me.default.oneOf([!1])]),defaultClassName:Me.default.string,defaultClassNameDragging:Me.default.string,defaultClassNameDragged:Me.default.string,defaultPosition:Me.default.shape({x:Me.default.number,y:Me.default.number}),positionOffset:Me.default.shape({x:Me.default.oneOfType([Me.default.number,Me.default.string]),y:Me.default.oneOfType([Me.default.number,Me.default.string])}),position:Me.default.shape({x:Me.default.number,y:Me.default.number}),className:ve.dontSetMe,style:ve.dontSetMe,transform:ve.dontSetMe})),_e(ke,"defaultProps",p1(np({},Ae.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;var he=we(ce(59301)),Me=Ae(ce(12708)),Ue=Ae(ce(4676)),At=ce(77026),Ne=ce(22013),Le=ce(80217),ve=Ae(ce(97510));function Ae(ke){return ke&&ke.__esModule?ke:{default:ke}}function we(ke,Te){if(typeof WeakMap=="function")var Pe=new WeakMap,Xe=new WeakMap;return(we=function(Ke,qe){if(!qe&&Ke&&Ke.__esModule)return Ke;var We,Ze,$e={__proto__:null,default:Ke};if(Ke===null||typeof Ke!="object"&&typeof Ke!="function")return $e;if(We=qe?Xe:Pe){if(We.has(Ke))return We.get(Ke);We.set(Ke,$e)}for(const rt in Ke)rt!=="default"&&{}.hasOwnProperty.call(Ke,rt)&&((Ze=(We=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ke,rt))&&(Ze.get||Ze.set)?We($e,rt,Ze):$e[rt]=Ke[rt]);return $e})(ke,Te)}function fe(ke,Te,Pe){return(Te=ze(Te))in ke?Object.defineProperty(ke,Te,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):ke[Te]=Pe,ke}function ze(ke){var Te=Be(ke,"string");return typeof Te=="symbol"?Te:Te+""}function Be(ke,Te){if(typeof ke!="object"||!ke)return ke;var Pe=ke[Symbol.toPrimitive];if(Pe!==void 0){var Xe=Pe.call(ke,Te||"default");if(typeof Xe!="object")return Xe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(ke)}const _e={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Oe=_e.mouse;class He extends he.Component{constructor(){super(...arguments),fe(this,"dragging",!1),fe(this,"lastX",NaN),fe(this,"lastY",NaN),fe(this,"touchIdentifier",null),fe(this,"mounted",!1),fe(this,"handleDragStart",Te=>{if(this.props.onMouseDown(Te),!this.props.allowAnyClick&&typeof Te.button=="number"&&Te.button!==0)return!1;const Pe=this.findDOMNode();if(!Pe||!Pe.ownerDocument||!Pe.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:Xe}=Pe;if(this.props.disabled||!(Te.target instanceof Xe.defaultView.Node)||this.props.handle&&!(0,At.matchesSelectorAndParentsTo)(Te.target,this.props.handle,Pe)||this.props.cancel&&(0,At.matchesSelectorAndParentsTo)(Te.target,this.props.cancel,Pe))return;Te.type==="touchstart"&&!this.props.allowMobileScroll&&Te.preventDefault();const Ke=(0,At.getTouchIdentifier)(Te);this.touchIdentifier=Ke;const qe=(0,Ne.getControlPosition)(Te,Ke,this);if(qe==null)return;const{x:We,y:Ze}=qe,$e=(0,Ne.createCoreData)(this,We,Ze);(0,ve.default)("DraggableCore: handleDragStart: %j",$e),(0,ve.default)("calling",this.props.onStart),!(this.props.onStart(Te,$e)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,At.addUserSelectStyles)(Xe),this.dragging=!0,this.lastX=We,this.lastY=Ze,(0,At.addEvent)(Xe,Oe.move,this.handleDrag),(0,At.addEvent)(Xe,Oe.stop,this.handleDragStop))}),fe(this,"handleDrag",Te=>{const Pe=(0,Ne.getControlPosition)(Te,this.touchIdentifier,this);if(Pe==null)return;let{x:Xe,y:Ke}=Pe;if(Array.isArray(this.props.grid)){let Ze=Xe-this.lastX,$e=Ke-this.lastY;if([Ze,$e]=(0,Ne.snapToGrid)(this.props.grid,Ze,$e),!Ze&&!$e)return;Xe=this.lastX+Ze,Ke=this.lastY+$e}const qe=(0,Ne.createCoreData)(this,Xe,Ke);if((0,ve.default)("DraggableCore: handleDrag: %j",qe),this.props.onDrag(Te,qe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(Ze){const $e=document.createEvent("MouseEvents");$e.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop($e)}return}this.lastX=Xe,this.lastY=Ke}),fe(this,"handleDragStop",Te=>{if(!this.dragging)return;const Pe=(0,Ne.getControlPosition)(Te,this.touchIdentifier,this);if(Pe==null)return;let{x:Xe,y:Ke}=Pe;if(Array.isArray(this.props.grid)){let $e=Xe-this.lastX||0,rt=Ke-this.lastY||0;[$e,rt]=(0,Ne.snapToGrid)(this.props.grid,$e,rt),Xe=this.lastX+$e,Ke=this.lastY+rt}const qe=(0,Ne.createCoreData)(this,Xe,Ke);if(this.props.onStop(Te,qe)===!1||this.mounted===!1)return!1;const Ze=this.findDOMNode();Ze&&this.props.enableUserSelectHack&&(0,At.scheduleRemoveUserSelectStyles)(Ze.ownerDocument),(0,ve.default)("DraggableCore: handleDragStop: %j",qe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,Ze&&((0,ve.default)("DraggableCore: Removing handlers"),(0,At.removeEvent)(Ze.ownerDocument,Oe.move,this.handleDrag),(0,At.removeEvent)(Ze.ownerDocument,Oe.stop,this.handleDragStop))}),fe(this,"onMouseDown",Te=>(Oe=_e.mouse,this.handleDragStart(Te))),fe(this,"onMouseUp",Te=>(Oe=_e.mouse,this.handleDragStop(Te))),fe(this,"onTouchStart",Te=>(Oe=_e.touch,this.handleDragStart(Te))),fe(this,"onTouchEnd",Te=>(Oe=_e.touch,this.handleDragStop(Te)))}componentDidMount(){this.mounted=!0;const Te=this.findDOMNode();Te&&(0,At.addEvent)(Te,_e.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const Te=this.findDOMNode();if(Te){const{ownerDocument:Pe}=Te;(0,At.removeEvent)(Pe,_e.mouse.move,this.handleDrag),(0,At.removeEvent)(Pe,_e.touch.move,this.handleDrag),(0,At.removeEvent)(Pe,_e.mouse.stop,this.handleDragStop),(0,At.removeEvent)(Pe,_e.touch.stop,this.handleDragStop),(0,At.removeEvent)(Te,_e.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,At.scheduleRemoveUserSelectStyles)(Pe)}}findDOMNode(){var Te,Pe,Xe;return(Te=this.props)!=null&&Te.nodeRef?(Xe=(Pe=this.props)==null?void 0:Pe.nodeRef)==null?void 0:Xe.current:Ue.default.findDOMNode(this)}render(){return he.cloneElement(he.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Xt.default=He,fe(He,"displayName","DraggableCore"),fe(He,"propTypes",{allowAnyClick:Me.default.bool,allowMobileScroll:Me.default.bool,children:Me.default.node.isRequired,disabled:Me.default.bool,enableUserSelectHack:Me.default.bool,offsetParent:function(ke,Te){if(ke[Te]&&ke[Te].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Me.default.arrayOf(Me.default.number),handle:Me.default.string,cancel:Me.default.string,nodeRef:Me.default.object,onStart:Me.default.func,onDrag:Me.default.func,onStop:Me.default.func,onMouseDown:Me.default.func,scale:Me.default.number,className:Le.dontSetMe,style:Le.dontSetMe,transform:Le.dontSetMe}),fe(He,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(Tn,Xt,ce){"use strict";const{default:he,DraggableCore:Me}=ce(51353);Tn.exports=he,Tn.exports.default=he,Tn.exports.DraggableCore=Me},77026:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.addClassName=We,Xt.addEvent=ve,Xt.addUserSelectStyles=Xe,Xt.createCSSTransform=Oe,Xt.createSVGTransform=He,Xt.getTouch=Te,Xt.getTouchIdentifier=Pe,Xt.getTranslation=ke,Xt.innerHeight=ze,Xt.innerWidth=Be,Xt.matchesSelector=Ne,Xt.matchesSelectorAndParentsTo=Le,Xt.offsetXYFromParent=_e,Xt.outerHeight=we,Xt.outerWidth=fe,Xt.removeClassName=Ze,Xt.removeEvent=Ae,Xt.scheduleRemoveUserSelectStyles=Ke;var he=ce(80217),Me=Ue(ce(76172));function Ue($e,rt){if(typeof WeakMap=="function")var ht=new WeakMap,dt=new WeakMap;return(Ue=function(xt,Je){if(!Je&&xt&&xt.__esModule)return xt;var Lt,Re,Rt={__proto__:null,default:xt};if(xt===null||typeof xt!="object"&&typeof xt!="function")return Rt;if(Lt=Je?dt:ht){if(Lt.has(xt))return Lt.get(xt);Lt.set(xt,Rt)}for(const Ft in xt)Ft!=="default"&&{}.hasOwnProperty.call(xt,Ft)&&((Re=(Lt=Object.defineProperty)&&Object.getOwnPropertyDescriptor(xt,Ft))&&(Re.get||Re.set)?Lt(Rt,Ft,Re):Rt[Ft]=xt[Ft]);return Rt})($e,rt)}let At="";function Ne($e,rt){return At||(At=(0,he.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(ht){return(0,he.isFunction)($e[ht])})),(0,he.isFunction)($e[At])?$e[At](rt):!1}function Le($e,rt,ht){let dt=$e;do{if(Ne(dt,rt))return!0;if(dt===ht)return!1;dt=dt.parentNode}while(dt);return!1}function ve($e,rt,ht,dt){if(!$e)return;const xt=np({capture:!0},dt);$e.addEventListener?$e.addEventListener(rt,ht,xt):$e.attachEvent?$e.attachEvent("on"+rt,ht):$e["on"+rt]=ht}function Ae($e,rt,ht,dt){if(!$e)return;const xt=np({capture:!0},dt);$e.removeEventListener?$e.removeEventListener(rt,ht,xt):$e.detachEvent?$e.detachEvent("on"+rt,ht):$e["on"+rt]=null}function we($e){let rt=$e.clientHeight;const ht=$e.ownerDocument.defaultView.getComputedStyle($e);return rt+=(0,he.int)(ht.borderTopWidth),rt+=(0,he.int)(ht.borderBottomWidth),rt}function fe($e){let rt=$e.clientWidth;const ht=$e.ownerDocument.defaultView.getComputedStyle($e);return rt+=(0,he.int)(ht.borderLeftWidth),rt+=(0,he.int)(ht.borderRightWidth),rt}function ze($e){let rt=$e.clientHeight;const ht=$e.ownerDocument.defaultView.getComputedStyle($e);return rt-=(0,he.int)(ht.paddingTop),rt-=(0,he.int)(ht.paddingBottom),rt}function Be($e){let rt=$e.clientWidth;const ht=$e.ownerDocument.defaultView.getComputedStyle($e);return rt-=(0,he.int)(ht.paddingLeft),rt-=(0,he.int)(ht.paddingRight),rt}function _e($e,rt,ht){const xt=rt===rt.ownerDocument.body?{left:0,top:0}:rt.getBoundingClientRect(),Je=($e.clientX+rt.scrollLeft-xt.left)/ht,Lt=($e.clientY+rt.scrollTop-xt.top)/ht;return{x:Je,y:Lt}}function Oe($e,rt){const ht=ke($e,rt,"px");return{[(0,Me.browserPrefixToKey)("transform",Me.default)]:ht}}function He($e,rt){return ke($e,rt,"")}function ke($e,rt,ht){let{x:dt,y:xt}=$e,Je=`translate(${dt}${ht},${xt}${ht})`;if(rt){const Lt=`${typeof rt.x=="string"?rt.x:rt.x+ht}`,Re=`${typeof rt.y=="string"?rt.y:rt.y+ht}`;Je=`translate(${Lt}, ${Re})`+Je}return Je}function Te($e,rt){return $e.targetTouches&&(0,he.findInArray)($e.targetTouches,ht=>rt===ht.identifier)||$e.changedTouches&&(0,he.findInArray)($e.changedTouches,ht=>rt===ht.identifier)}function Pe($e){if($e.targetTouches&&$e.targetTouches[0])return $e.targetTouches[0].identifier;if($e.changedTouches&&$e.changedTouches[0])return $e.changedTouches[0].identifier}function Xe($e){if(!$e)return;let rt=$e.getElementById("react-draggable-style-el");rt||(rt=$e.createElement("style"),rt.type="text/css",rt.id="react-draggable-style-el",rt.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,rt.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,$e.getElementsByTagName("head")[0].appendChild(rt)),$e.body&&We($e.body,"react-draggable-transparent-selection")}function Ke($e){window.requestAnimationFrame?window.requestAnimationFrame(()=>{qe($e)}):qe($e)}function qe($e){if($e)try{if($e.body&&Ze($e.body,"react-draggable-transparent-selection"),$e.selection)$e.selection.empty();else{const rt=($e.defaultView||window).getSelection();rt&&rt.type!=="Caret"&&rt.removeAllRanges()}}catch(rt){}}function We($e,rt){$e.classList?$e.classList.add(rt):$e.className.match(new RegExp(`(?:^|\\s)${rt}(?!\\S)`))||($e.className+=` ${rt}`)}function Ze($e,rt){$e.classList?$e.classList.remove(rt):$e.className=$e.className.replace(new RegExp(`(?:^|\\s)${rt}(?!\\S)`,"g"),"")}},76172:function(Tn,Xt){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.browserPrefixToKey=Me,Xt.browserPrefixToStyle=Ue,Xt.default=void 0,Xt.getPrefix=he;const ce=["Moz","Webkit","O","ms"];function he(){var Ae,we;let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ve=(we=(Ae=window.document)==null?void 0:Ae.documentElement)==null?void 0:we.style;if(!ve||Le in ve)return"";for(let fe=0;fe<ce.length;fe++)if(Me(Le,ce[fe])in ve)return ce[fe];return""}function Me(Le,ve){return ve?`${ve}${At(Le)}`:Le}function Ue(Le,ve){return ve?`-${ve.toLowerCase()}-${Le}`:Le}function At(Le){let ve="",Ae=!0;for(let we=0;we<Le.length;we++)Ae?(ve+=Le[we].toUpperCase(),Ae=!1):Le[we]==="-"?Ae=!0:ve+=Le[we];return ve}var Ne=Xt.default=he()},97510:function(Tn,Xt){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=ce;function ce(){}},22013:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.canDragX=Ne,Xt.canDragY=Le,Xt.createCoreData=Ae,Xt.createDraggableData=we,Xt.getBoundPosition=Ue,Xt.getControlPosition=ve,Xt.snapToGrid=At;var he=ce(80217),Me=ce(77026);function Ue(Be,_e,Oe){if(!Be.props.bounds)return[_e,Oe];let{bounds:He}=Be.props;He=typeof He=="string"?He:fe(He);const ke=ze(Be);if(typeof He=="string"){const{ownerDocument:Te}=ke,Pe=Te.defaultView;let Xe;if(He==="parent"?Xe=ke.parentNode:Xe=ke.getRootNode().querySelector(He),!(Xe instanceof Pe.HTMLElement))throw new Error('Bounds selector "'+He+'" could not find an element.');const Ke=Xe,qe=Pe.getComputedStyle(ke),We=Pe.getComputedStyle(Ke);He={left:-ke.offsetLeft+(0,he.int)(We.paddingLeft)+(0,he.int)(qe.marginLeft),top:-ke.offsetTop+(0,he.int)(We.paddingTop)+(0,he.int)(qe.marginTop),right:(0,Me.innerWidth)(Ke)-(0,Me.outerWidth)(ke)-ke.offsetLeft+(0,he.int)(We.paddingRight)-(0,he.int)(qe.marginRight),bottom:(0,Me.innerHeight)(Ke)-(0,Me.outerHeight)(ke)-ke.offsetTop+(0,he.int)(We.paddingBottom)-(0,he.int)(qe.marginBottom)}}return(0,he.isNum)(He.right)&&(_e=Math.min(_e,He.right)),(0,he.isNum)(He.bottom)&&(Oe=Math.min(Oe,He.bottom)),(0,he.isNum)(He.left)&&(_e=Math.max(_e,He.left)),(0,he.isNum)(He.top)&&(Oe=Math.max(Oe,He.top)),[_e,Oe]}function At(Be,_e,Oe){const He=Math.round(_e/Be[0])*Be[0],ke=Math.round(Oe/Be[1])*Be[1];return[He,ke]}function Ne(Be){return Be.props.axis==="both"||Be.props.axis==="x"}function Le(Be){return Be.props.axis==="both"||Be.props.axis==="y"}function ve(Be,_e,Oe){const He=typeof _e=="number"?(0,Me.getTouch)(Be,_e):null;if(typeof _e=="number"&&!He)return null;const ke=ze(Oe),Te=Oe.props.offsetParent||ke.offsetParent||ke.ownerDocument.body;return(0,Me.offsetXYFromParent)(He||Be,Te,Oe.props.scale)}function Ae(Be,_e,Oe){const He=!(0,he.isNum)(Be.lastX),ke=ze(Be);return He?{node:ke,deltaX:0,deltaY:0,lastX:_e,lastY:Oe,x:_e,y:Oe}:{node:ke,deltaX:_e-Be.lastX,deltaY:Oe-Be.lastY,lastX:Be.lastX,lastY:Be.lastY,x:_e,y:Oe}}function we(Be,_e){const Oe=Be.props.scale;return{node:_e.node,x:Be.state.x+_e.deltaX/Oe,y:Be.state.y+_e.deltaY/Oe,deltaX:_e.deltaX/Oe,deltaY:_e.deltaY/Oe,lastX:Be.state.x,lastY:Be.state.y}}function fe(Be){return{left:Be.left,top:Be.top,right:Be.right,bottom:Be.bottom}}function ze(Be){const _e=Be.findDOMNode();if(!_e)throw new Error("<DraggableCore>: Unmounted during event!");return _e}},80217:function(Tn,Xt){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.dontSetMe=At,Xt.findInArray=ce,Xt.int=Ue,Xt.isFunction=he,Xt.isNum=Me;function ce(Ne,Le){for(let ve=0,Ae=Ne.length;ve<Ae;ve++)if(Le.apply(Le,[Ne[ve],ve,Ne]))return Ne[ve]}function he(Ne){return typeof Ne=="function"||Object.prototype.toString.call(Ne)==="[object Function]"}function Me(Ne){return typeof Ne=="number"&&!isNaN(Ne)}function Ue(Ne){return parseInt(Ne,10)}function At(Ne,Le,ve){if(Ne[Le])return new Error(`Invalid prop ${Le} passed to ${ve} - do not set this, set it on the child.`)}},62752:function(Tn,Xt){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.SizeSensorId=Xt.SensorTabIndex=Xt.SensorClassName=void 0;var ce=Xt.SizeSensorId="size-sensor-id",he=Xt.SensorClassName="size-sensor-object",Me=Xt.SensorTabIndex="-1"},25224:function(Tn,Xt){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;var ce=Xt.default=function(Me){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,At=null;return function(){for(var Ne=this,Le=arguments.length,ve=new Array(Le),Ae=0;Ae<Le;Ae++)ve[Ae]=arguments[Ae];clearTimeout(At),At=setTimeout(function(){Me.apply(Ne,ve)},Ue)}}},82196:function(Tn,Xt){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;var ce=1,he=Xt.default=function(){return"".concat(ce++)}},10413:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.ver=Xt.clear=Xt.bind=void 0;var he=ce(2963),Me=Xt.bind=function(Le,ve){var Ae=(0,he.getSensor)(Le);return Ae.bind(ve),function(){Ae.unbind(ve)}},Ue=Xt.clear=function(Le){var ve=(0,he.getSensor)(Le);(0,he.removeSensor)(ve)},At=Xt.ver="1.0.3"},2963:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.removeSensor=Xt.getSensor=Xt.Sensors=void 0;var he=At(ce(82196)),Me=ce(42065),Ue=ce(62752);function At(we){return we&&we.__esModule?we:{default:we}}var Ne=Xt.Sensors={};function Le(we){we&&Ne[we]&&delete Ne[we]}var ve=Xt.getSensor=function(fe){var ze=fe.getAttribute(Ue.SizeSensorId);if(ze&&Ne[ze])return Ne[ze];var Be=(0,he.default)();fe.setAttribute(Ue.SizeSensorId,Be);var _e=(0,Me.createSensor)(fe,function(){return Le(Be)});return Ne[Be]=_e,_e},Ae=Xt.removeSensor=function(fe){var ze=fe.element.getAttribute(Ue.SizeSensorId);fe.destroy(),Le(ze)}},42065:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.createSensor=void 0;var he=ce(38132),Me=ce(38950),Ue=Xt.createSensor=typeof ResizeObserver!="undefined"?Me.createSensor:he.createSensor},38132:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.createSensor=void 0;var he=Ue(ce(25224)),Me=ce(62752);function Ue(Ne){return Ne&&Ne.__esModule?Ne:{default:Ne}}var At=Xt.createSensor=function(Le,ve){var Ae=void 0,we=[],fe=function(){getComputedStyle(Le).position==="static"&&(Le.style.position="relative");var ke=document.createElement("object");return ke.onload=function(){ke.contentDocument.defaultView.addEventListener("resize",ze),ze()},ke.style.display="block",ke.style.position="absolute",ke.style.top="0",ke.style.left="0",ke.style.height="100%",ke.style.width="100%",ke.style.overflow="hidden",ke.style.pointerEvents="none",ke.style.zIndex="-1",ke.style.opacity="0",ke.setAttribute("class",Me.SensorClassName),ke.setAttribute("tabindex",Me.SensorTabIndex),ke.type="text/html",Le.appendChild(ke),ke.data="about:blank",ke},ze=(0,he.default)(function(){we.forEach(function(He){He(Le)})}),Be=function(ke){Ae||(Ae=fe()),we.indexOf(ke)===-1&&we.push(ke)},_e=function(){Ae&&Ae.parentNode&&(Ae.contentDocument&&Ae.contentDocument.defaultView.removeEventListener("resize",ze),Ae.parentNode.removeChild(Ae),Le.removeAttribute(Me.SizeSensorId),Ae=void 0,we=[],ve&&ve())},Oe=function(ke){var Te=we.indexOf(ke);Te!==-1&&we.splice(Te,1),we.length===0&&Ae&&_e()};return{element:Le,bind:Be,destroy:_e,unbind:Oe}}},38950:function(Tn,Xt,ce){"use strict";Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.createSensor=void 0;var he=ce(62752),Me=Ue(ce(25224));function Ue(Ne){return Ne&&Ne.__esModule?Ne:{default:Ne}}var At=Xt.createSensor=function(Le,ve){var Ae=void 0,we=[],fe=(0,Me.default)(function(){we.forEach(function(He){He(Le)})}),ze=function(){var ke=new ResizeObserver(fe);return ke.observe(Le),fe(),ke},Be=function(ke){Ae||(Ae=ze()),we.indexOf(ke)===-1&&we.push(ke)},_e=function(){Ae&&Ae.disconnect(),we=[],Ae=void 0,Le.removeAttribute(he.SizeSensorId),ve&&ve()},Oe=function(ke){var Te=we.indexOf(ke);Te!==-1&&we.splice(Te,1),we.length===0&&Ae&&_e()};return{element:Le,bind:Be,destroy:_e,unbind:Oe}}},25365:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdBoe0Tqggi5NgsLaWriWZFQEEvRHBxmL+iMo/KMg6KJSCy03mbapo1vXzCvJUstjZTM1bUzZZP6uF5M0Zwr1/nsHn/d93+/7QjBn3GhuZkm5scvRJIgODWX7sKCQT0oRGIAQorlnp+cIAAhnJghhhobvWRPjQ/rJ8eEVXIxGwcFsGBYWQUTFLrN6yCB9qpjdthA2BSGEsEd1X08NOlrPSiM4PxWJCSNL+HwfSZBMp/Mbr6+vVyyVyQm+SJYrCWea5sOmoM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ZCNOHlMSk+RkqpLtzoafGowsYQhFMNZSivcHSdXyZPFVSpX7zNwxo0nhQHOkTO0JTO0xSax4VeS0mne2rqya0nHGEieT9DFkWbnmLk7ONoi6E9uWbqT+PmOZSaO/lsyWA/CWXKYyg8dolgUU38+P91HDI7wk5OjKMpBU61yyThtCUedwcGy/IVjozd2peQrmCrkroJyu1Ne/xSQxbOJo+CklKHMbFJcQZzRgaYxLAmnlXwokwSKYWG5ciZtZA8VmMmCGKaktjEQOyzZpKguYmtHVtI8OBuvK8u/eurJkeMd8gy0WCRXJwXGMIOuukmrNHAy9uEqnM3vKRVUKSiVPr4oSDw1oiHagPu/A2kmih6OXasidlejC7CBZfyVhB0nEpKwABDSlNcZAMtzuWaaJLtLdSTdlgWRnkZ0ZcrXrMYa3z+8Lkoox+jiXAEVNEwmGaX9VwRwSFzOlg/QgTCodJDnGZQfJXtS0/1XF/UCy/pRFMknLv4B0mO7tAcV+E4LavnLlX3lTS/GLYAyLAAAAAElFTkSuQmCC"},71979:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAqCAYAAABfjB7GAAAAAXNSR0IArs4c6QAAEy5JREFUeF7tW2l0VFW2/m4FkhBmQ5iEJEwBMcgoElwMMoOg0q20ywkJQj/1MXTjoxVlkjm0QNs2AgIapNW2gRYRbGRMCDJGmWcIUxISyASBhITUfevsM9xzb91UgM567w8lrqq6de+puvs7397fHmJcPxJvGoYBGAYMw8Of2X/sGNhb+Rm9Ecedz/w8E4BpGPDQlYDpEWuYdCl9VtbD42WriOvZivwfYJrqmR0xTfo2fpxe8uvYcfpfXsuOm16Yppc+97JndqrXBPvFpleuJc6R14tntq5BX8Ov4+uz1/J7vfy+tfP572Hr8d8oP2N3T8e03yruzro/IN0D73bDCBjfYMDUy0be4S8IIA6ExwJEgsQOww4SHaHz2T9+DfspHA8DXjeQpNXLAMkQBiFjixuSsHLDSzAskNhxbkR5zPmaGVQazG5MQwDE1y0h40sj6k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5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv15Rj959hXFjFjPaNpmUbYwppVJozcK87l5npxf75JcsYdnEqca0ZSvnk+dtaV++e+dwktjz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42m3d0kEdCeeVUX/bYIBpqqaGYO8QBJ1/fODX+U8Bi9SQqU8++LS5fgldPr8m9LHTGntaz3obr9HT79TTHVjrdanhYdiI+XDOuKjsmzyk7s4gR3Cck1k3g01eiWO4KCDjzqTBnTPO3OO4PnuDo4/O2PBjNdqrjkMJeXRCmRFLMcQEVOwgJONs7WMoRk/uRNH8p72je4x+xBEn2CjyIg2UsoN2kZ8yJsK6lIEYNv61Ol0AY0s40gKDRJ6PWhVbAfnokh/+f17oKelHNP2kwROsZoa+DDnL4JaDI+U/UejzbXSaxR/K5ygXVan6UasJJiI6AV8jKgQWdQh+P8NewCBXTkFh5dNNOoB4NwLLtSc05opxCA5sQ2qkzqjlkPGndvq4I2alefyPfrwQWLWvK26J+U4VPtymGNvr6jJCkpX+Gv4bASrciDcnqMQ62IDT82UnbIvbP3v2aDjMISHRqDvhU/jScZAIuZpF7urMIRHhxMtxaDVxkP5s6/PTemjld9JmqnoUAXdp76ZqangOGXnmbuSSwINlw66vnonq757l0gHwoTNt7cz8nd3Yz4f/0XK6vduVqt42shwKRVC5U58oEJnXL9FPjpcPhFGHaBhdxW4sOsYHZjZGul8dDeXg4eBKtw86VGhGVwicBOpT6OxwMMV/3EQg6AWKIUvH5RNolA29CDT3wmNspggFJXkNUkl1IuQKnQixEgIwkJ5MjBYF/fTCG7E6XWDeW06oJpdinfW8BEx7JYaHE0aM0JdIN1IOF8WgwFO5YnABqrkUiiFDCsnyPqU9PKWXmCwc5De9OC0XNdja1QysjHUcte17BFMJCEZ5K6RCDwN/tGnKlws/cKIg8Kj4vMASYVKjdqXExZzAh8op+/5zRwrdHv1HgGwW+UeAbBb5R4BsFvlGgpcA3YPFtR3yjwDcKfKPANwp8o8A3ClyMAv8DD8nJIGmcntAAAAAASUVORK5CYII="},96908:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUV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4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3Kd3e3KWfn3xKN7UhnMuq+VnGblNKz9N1evXpOin/R/o1Gpe09ae3KX26U5/Vqj/qu44vkmtpS8aIY/3965RePUmJvaZnfphF6kvRJBkL71L6539N6c0vh01UWm9vqw0UWuS/2zI+fZ7L1Xe5z0w4/ON5qv7c6KmCdF3tcfb3oq+itPrzKqXbTym9/puUXv+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru9397W2cKXl8EVLSaWhxBVYTIuYkQyjv9ucqxyLbmLkGJG3lGgYZ+i7RWhVfFrQxpjOXAeWs/HWgZORt+N2m/4SFYXmtGgQYxURVzhA/U6Lj8J75ZGRYaZzxNe1a+gUdbulsARulI/i8GrQFj7N1oQGKsWCZMlgL1Rr6xH1+V11xu4PhUV7g9BBaroCYb+5n5AD7Nis7GGDl8lje1cCv9rZRBX9CNt9oUKSNz/kQc0fVdenPzKV1Xpn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WDnZ/XB6vTiA7UEB8QlNpHG30Ew3PIM8viGVa28CiSM16WskpraQnHMzInbKZmpmdlLr05dKxRw9sF71WH1Kx+UJRo6ofnxBe6O1tEjexMCk61P5me3GcFVsIa2cs1yar5EGzvG3FRopivTKxnuWGKOyDIdNe/+YbOM8CCLYRHqqpDMyd0p8Is4oC0STt4cZs628wWBbYnBECByU2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},55541:function(Tn){"use strict";Tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAABICAYAAACa5tCtAAAAAXNSR0IArs4c6QAAC8tJREFUeF7t3Q2MHGUdBvDnmb27trSWttfdUmltb/cKCkSNQoDQREWJwSCSIgiNEYXy0Q/lK9VAAn4gAVJQoemVgkXAUEKQKiBqUpVoimhiUBqDkd7eUVuE3t71KL167d3t/O3syd6dXO12b3b3ndlnkyYlt/O+///vHfpk5uaD1p09DWZfhW8XA5gEfSQgAQlIQAKRE2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AF9GIqzir9W8OF6nSDiOgYIv4rmFd2y86dL/bHTBkIt6KypdA7QWI7KH7025iatGTtS9GFZQroGArV86h7QrPmsx1rID5twBodqg0lSKBqAj0gN5tSKbb9KzHqCzZ4etUsEV/DUedngzeFODfAGA5gGSMWlMrEqiUQA7AejR63+OszN5KTaJxqyugYKuud1VmK9z7lvOXwuxawD5YlUk1iQQiJcBtIO9F0tuke9IitXAlFatgK4kpul+y7vazkcfXADtXV1FGdx1VeSgCAwB/iQTu4+zW34YyogZxUkDB5uSyhF+U9XbOwGD+cwAugtk5CrnwjTWikwIDILcAeBKNiac5s+UtJ6tUUaEKKNhC5YzGYIWQG8ifD9pnAS6G2XHRqFxVSqAEAfJNwLbC+CyaEs8ozEowi9lXFGwxW9By2rHd/8wAA2cBWAzaYoAnILgRXB8JuC5A5gF7FcatALYCTS9wzvuCS/b1qWMBBVsdL/7hWi/cPtDd0QKz4N641uE/lgY4E7BpAKcCmFb8e/D2b30kEJZA4S3Uth9gH4C+kb9bL8AOAO2FP2QWs9Odujw/LPj4jPMfECD1ZLk+UtgAAAAASUVORK5CYII="},26528:function(Tn,Xt,ce){"use strict";Tn.exports=ce.p+"static/detailbg.5bc9ddcf.jpg"},48136:function(Tn,Xt,ce){"use strict";var he=Object.defineProperty,Me=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,ve=(a,y,b)=>y in a?he(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,Ae=(a,y)=>{for(var b in y||(y={}))Ne.call(y,b)&&ve(a,b,y[b]);if(At)for(var b of At(y))Le.call(y,b)&&ve(a,b,y[b]);return a},we=(a,y)=>Me(a,Ue(y)),fe=a=>typeof a=="symbol"?a:a+"",ze=(a,y)=>{var b={};for(var z in a)Ne.call(a,z)&&y.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&At)for(var z of At(a))y.indexOf(z)<0&&Le.call(a,z)&&(b[z]=a[z]);return b};function Be(a){return Array.isArray(a)}var _e={en:{"keyboard.tooltip.symbols":"\u7B26\u53F7","keyboard.tooltip.greek":"\u5E0C\u814A\u5B57\u6BCD","keyboard.tooltip.numeric":"\u6570\u5B57","keyboard.tooltip.alphabetic":"\u7F57\u9A6C\u5B57\u6BCD","tooltip.cut to clipboard":"\u526A\u5207\u5230\u526A\u8D34\u677F","tooltip.copy to clipboard":"\u590D\u5236\u5230\u526A\u8D34\u677F","tooltip.paste from clipboard":"\u7C98\u8D34","tooltip.redo":"\u91CD\u505A","tooltip.toggle virtual keyboard":"\u5207\u6362\u865A\u62DF\u952E\u76D8","tooltip.undo":"\u64A4\u6D88","menu.insert matrix":"\u63D2\u5165\u77E9\u9635","menu.borders":"\u77E9\u9635\u5206\u9694\u7B26","menu.array.add row above":"\u5728\u540E\u9762\u6DFB\u52A0\u884C","menu.array.add row below":"\u5728\u524D\u9762\u6DFB\u52A0\u884C","menu.array.add column after":"\u5728\u540E\u9762\u6DFB\u52A0\u5217r","menu.array.add column before":"\u5728\u524D\u9762\u6DFB\u52A0\u5217","menu.array.delete row":"\u5220\u9664\u884C","menu.array.delete rows":"\u5220\u9664\u9009\u5B9A\u884C","menu.array.delete column":"\u5220\u9664\u5217","menu.array.delete columns":"\u5220\u9664\u9009\u5B9A\u7684\u5217","menu.mode":"\u6A21\u5F0F","menu.mode-math":"\u6570\u5B66","menu.mode-text":"\u6587\u672C","menu.mode-latex":"LaTeX","tooltip.blackboard":"\u9ED1\u677F","tooltip.bold":"\u7C97\u4F53","tooltip.italic":"\u659C\u4F53","tooltip.fraktur":"Fraktur","tooltip.script":"\u811A\u672C","tooltip.caligraphic":"\u8349\u4E66","tooltip.typewriter":"\u6253\u5B57\u673A","tooltip.roman-upright":"\u7F57\u9A6C\u76F4\u7ACB","tooltip.row-by-col":"%@ \xD7 %@","menu.font-style":"\u5B57\u4F53\u6837\u5F0F","menu.accent":"\u91CD\u97F3","menu.decoration":"\u88C5\u9970","menu.color":"\u989C\u8272","menu.background-color":"\u80CC\u666F","menu.evaluate":"\u8BA1\u7B97","menu.simplify":"\u7B80\u5316","menu.solve":"\u6C42\u89E3","menu.solve-for":"\u6C42\u89E3 %@","menu.cut":"\u526A\u5207","menu.copy":"\u590D\u5236","menu.copy-as-latex":"\u590D\u5236\u4E3A LaTeX","menu.copy-as-ascii-math":"\u590D\u5236\u4E3A ASCII Math","menu.copy-as-mathml":"\u590D\u5236\u4E3A MathML","menu.paste":"\u7C98\u8D34","menu.select-all":"\u5168\u9009","color.red":"\u7EA2\u8272","color.orange":"\u6A59\u8272","color.yellow":"\u9EC4\u8272","color.lime":"\u7EFF\u9EC4\u8272","color.green":"\u7EFF\u8272","color.teal":"\u9752\u8272","color.cyan":"\u84DD\u7EFF\u8272","color.blue":"\u84DD\u8272","color.indigo":"\u975B\u84DD\u8272","color.purple":"\u7D2B\u8272","color.magenta":"\u6D0B\u7EA2\u8272","color.black":"\u9ED1\u8272","color.dark-grey":"\u6DF1\u7070\u8272","color.grey":"\u7070\u8272","color.light-grey":"\u6D45\u7070\u8272","color.white":"\u767D\u8272"}};function Oe(){return"window"in globalThis&&"document"in globalThis}function He(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function ke(){return typeof navigator.vibrate=="function"}function Te(){var a,y;if(!Oe())return"other";const b=(y=(a=navigator.userAgentData)==null?void 0:a.platform)!=null?y:navigator.platform;return/^mac/i.test(b)?navigator.maxTouchPoints===5?"ios":"macos":/^win/i.test(b)?"windows":/android/i.test(navigator.userAgent)?"android":/iphone|ipod|ipad/i.test(navigator.userAgent)?"ios":/\bcros\b/i.test(navigator.userAgent)?"chromeos":"other"}function Pe(){if(!Oe())return!0;if(/firefox/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/firefox\/(\d+)/i);return a?parseInt(a[1])>=78:!1}if(/trident/i.test(navigator.userAgent))return!1;if(/edge/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/edg\/(\d+)/i);return a?parseInt(a[1])>=79:!1}return!0}function Xe(){return HTMLElement.prototype.hasOwnProperty("popover")}var Ke={strings:_e,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return Ke._locale||(Ke._locale=Oe()?navigator.language.slice(0,5):"en-US"),Ke._locale},set locale(a){Ke._locale=a,Ke._numberFormatter=void 0,Ke.dirty=!0},get numberFormatter(){return Ke._numberFormatter||(Ke._numberFormatter=new Intl.NumberFormat(Ke.locale)),Ke._numberFormatter},merge(a,y){if(typeof a=="string"&&y)Ke.strings[a]=Ae(Ae({},Ke.strings[a]),y),Ke.dirty=!0;else for(const b of Object.keys(a))Ke.merge(b,a[b])},get dirty(){return Ke._dirty},set dirty(a){Ke._dirty||Ke._dirty===a||(Ke._dirty=!0,setTimeout(()=>{Ke._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return Ke._subscribers.push(a),Ke._subscribers.length-1},unsubscribe(a){a<0||a>=Ke._subscribers.length||(Ke._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const z=b.getAttribute("data-l10n-tooltip");if(z){const re=qe(z);re&&b.setAttribute("data-tooltip",re)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const z=b.getAttribute("data-l10n-arial-label");if(z){const re=qe(z);re&&b.setAttribute("aria-label",re)}}}};function qe(a,...y){if(a===void 0)return;let b="";const z=Ke.locale;Ke.strings[z]&&(b=Ke.strings[z][a]);const re=z.slice(0,2);if(!b&&Ke.strings[re]&&(b=Ke.strings[re][a]),b||(b=Ke.strings.en[a]),!b)return;const pe=/(%@|%([0-9]+)\$@)/g;let ye=pe.exec(b),tt=0;for(;ye;){if(y[tt++]){const gt=ye[2]?parseInt(ye[2],10)-1:tt-1;let _t=y[gt];typeof _t=="number"&&(_t=Ke.numberFormatter.format(_t)),b=b.replace(ye[1],_t)}ye=pe.exec(b)}return b=b.replace(/%%/g,"%"),b}var We={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},Ze={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},$e={red:"#fbbbb6",orange:"#ffe0c2",yellow:"#fff1c2",lime:"#d0e8b9",green:"#bceac4",teal:"#b9f1f1",cyan:"#b8e5c9",blue:"#b6d9fb",indigo:"#d1c2f0",purple:"#e3baf8",magenta:"#f9c8e0",black:"#353535","dark-grey":"#8C8C8C",grey:"#D0D0D0","light-grey":"#F0F0F0",white:"#ffffff"},rt={red:"#d7170b",orange:"#fe8a2b",yellow:"#ffc02b",lime:"#63b215",green:"#21ba3a",teal:"#17cfcf",cyan:"#13a7ec",blue:"#0d80f2",indigo:"#63c",purple:"#a219e6",magenta:"#eb4799",black:"#000","dark-grey":"#666",grey:"#A6A6A6","light-grey":"#d4d5d2",white:"#ffffff"},ht={Red:"red",Orange:"orange",Yellow:"yellow",LimeGreen:"lime",Green:"green",TealBlue:"teal",Blue:"blue",Violet:"indigo",Purple:"purple",Magenta:"magenta",Black:"black",Gray:"grey",White:"white"},dt={Apricot:"#FBB982",Aquamarine:"#00B5BE",Bittersweet:"#C04F17",Black:"#221E1F",Blue:"#2D2F92",BlueGreen:"#00B3B8",BlueViolet:"#473992",BrickRed:"#B6321C",Brown:"#792500",BurntOrange:"#F7921D",CadetBlue:"#74729A",CarnationPink:"#F282B4",Cerulean:"#00A2E3",CornflowerBlue:"#41B0E4",Cyan:"#00AEEF",Dandelion:"#FDBC42",DarkOrchid:"#A4538A",Emerald:"#00A99D",ForestGreen:"#009B55",Fuchsia:"#8C368C",Goldenrod:"#FFDF42",Gray:"#949698",Green:"#00A64F",GreenYellow:"#DFE674",JungleGreen:"#00A99A",Lavender:"#F49EC4",Limegreen:"#8DC73E",Magenta:"#EC008C",Mahogany:"#A9341F",Maroon:"#AF3235",Melon:"#F89E7B",MidnightBlue:"#006795",Mulberry:"#A93C93",NavyBlue:"#006EB8",OliveGreen:"#3C8031",Orange:"#F58137",OrangeRed:"#ED135A",Orchid:"#AF72B0",Peach:"#F7965A",Periwinkle:"#7977B8",PineGreen:"#008B72",Plum:"#92268F",ProcessBlue:"#00B0F0",Purple:"#99479B",RawSienna:"#974006",Red:"#ED1B23",RedOrange:"#F26035",RedViolet:"#A1246B",Rhodamine:"#EF559F",RoyalBlue:"#0071BC",RoyalPurple:"#613F99",RubineRed:"#ED017D",Salmon:"#F69289",SeaGreen:"#3FBC9D",Sepia:"#671800",SkyBlue:"#46C5DD",SpringGreen:"#C6DC67",Tan:"#DA9D76",TealBlue:"#00AEB3",Thistle:"#D883B7",Turquoise:"#00B4CE",Violet:"#58429B",VioletRed:"#EF58A0",White:"#FFFFFF",WildStrawberry:"#EE2967",Yellow:"#FFF200",YellowGreen:"#98CC70",YellowOrange:"#FAA21A"};function xt(a){var y,b,z,re,pe,ye;const tt=a.split("!");let ut,gt,_t,qt=255,pn=255,Kn=255,nr=-1;const di=tt.length>0&&tt[0].startsWith("-");di&&(tt[0]=tt[0].slice(1));for(let Ha=0;Ha<tt.length;Ha++){ut=qt,gt=pn,_t=Kn;const li=(y=tt[Ha].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],na=li==null?void 0:li.toLowerCase(),Ka=li&&(ye=(pe=(re=(z=(b=rt[na])!=null?b:rt[ht[li]])!=null?z:Ze[li])!=null?re:dt[li])!=null?pe:We[li])!=null?ye:tt[Ha].trim();let fa=Ka.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(fa!=null&&fa[1]&&fa[2]&&fa[3])qt=Math.max(0,Math.min(255,Number.parseInt(fa[1],16))),pn=Math.max(0,Math.min(255,Number.parseInt(fa[2],16))),Kn=Math.max(0,Math.min(255,Number.parseInt(fa[3],16)));else if(fa=Ka.match(/^#([\da-f]{3})$/i),fa!=null&&fa[1]){const Vo=Number.parseInt(fa[1][0],16),vs=Number.parseInt(fa[1][1],16),os=Number.parseInt(fa[1][2],16);qt=Math.max(0,Math.min(255,Vo*16+Vo)),pn=Math.max(0,Math.min(255,vs*16+vs)),Kn=Math.max(0,Math.min(255,os*16+os))}else if(fa=Ka.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),fa!=null&&fa[1]&&fa[2]&&fa[3])qt=Math.max(0,Math.min(255,Number.parseInt(fa[1]))),pn=Math.max(0,Math.min(255,Number.parseInt(fa[2]))),Kn=Math.max(0,Math.min(255,Number.parseInt(fa[3])));else return;nr>=0&&(qt=(1-nr)*qt+nr*ut,pn=(1-nr)*pn+nr*gt,Kn=(1-nr)*Kn+nr*_t,nr=-1),Ha+1<tt.length&&(nr=Math.max(0,Math.min(100,Number.parseInt(tt[++Ha])))/100)}return nr>=0&&(qt=nr*qt+(1-nr)*ut,pn=nr*pn+(1-nr)*gt,Kn=nr*Kn+(1-nr)*_t),di&&(qt=255-qt,pn=255-pn,Kn=255-Kn),"#"+("00"+Math.round(qt).toString(16)).slice(-2)+("00"+Math.round(pn).toString(16)).slice(-2)+("00"+Math.round(Kn).toString(16)).slice(-2)}function Je(a){var y,b;return a=a.trim(),(b=(y=$e[a.toLowerCase()])!=null?y:$e[ht[a]])!=null?b:xt(a)}function Lt(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&y.a===void 0&&(y.a=1),y}function Re(a,y,b){return b<0&&(b+=6),b>=6&&(b-=6),b<1?(y-a)*b+a:b<3?y:b<4?(y-a)*(4-b)+a:a}function Rt(a){let[y,b,z]=[a.h,a.s,a.l];y=(y+360)%360/60,z=Math.max(0,Math.min(z,1)),b=Math.max(0,Math.min(b,1));const re=z<=.5?z*(b+1):z+b-z*b,pe=z*2-re;return{r:Math.round(255*Re(pe,re,y+2)),g:Math.round(255*Re(pe,re,y)),b:Math.round(255*Re(pe,re,y-2))}}function Ft(a){return a<0?0:a>255?255:Math.round(a)}function bt(a){const{r:y,g:b,b:z}=a;let re=((1<<24)+(Ft(y)<<16)+(Ft(b)<<8)+Ft(z)).toString(16).slice(1);return re[0]===re[1]&&re[2]===re[3]&&re[4]===re[5]&&re[6]===re[7]&&(re=re[0]+re[2]+re[4]),"#"+re}function Tt(a){let{r:y,g:b,b:z}=a;y=y/255,b=b/255,z=z/255;const re=Math.min(y,b,z),pe=Math.max(y,b,z),ye=pe-re;let tt,ut;pe===re?tt=0:y===pe?tt=(b-z)/ye:b===pe?tt=2+(z-y)/ye:z===pe&&(tt=4+(y-b)/ye),tt=Math.min(tt*60,360),tt<0&&(tt+=360);const gt=(re+pe)/2;return pe===re?ut=0:gt<=.5?ut=ye/(pe+re):ut=ye/(2-pe-re),{h:tt,s:ut,l:gt}}function wt(a){let y=Lt(a);if(!y)return a;let{h:b,s:z,l:re}=Tt(y);return z+=.1,re-=.1,bt(Rt({h:b,s:z,l:re}))}var it={60:"\\lt",62:"\\gt",111:"o",38:"\\&",123:"\\lbrace",125:"\\rbrace",91:"\\lbrack",93:"\\rbrack",58:"\\colon",160:"~",172:"\\neg",183:"\\cdot",188:"\\frac{1}{4}",189:"\\frac{1}{2}",190:"\\frac{3}{4}",8304:"^{0}",8305:"^{i}",185:"^{1}",178:"^{2}",179:"^{3}",8224:"\\dagger",8225:"\\ddagger",8230:"\\ldots",8308:"^{4}",8309:"^{5}",8310:"^{6}",8311:"^{7}",8312:"^{8}",8313:"^{9}",8314:"^{+}",8315:"^{-}",8316:"^{=}",8319:"^{n}",8320:"_{0}",8321:"_{1}",8322:"_{2}",8323:"_{3}",8324:"_{4}",8325:"_{5}",8326:"_{6}",8327:"_{7}",8328:"_{8}",8329:"_{9}",8330:"_{+}",8331:"_{-}",8332:"_{=}",8336:"_{a}",8337:"_{e}",8338:"_{o}",8339:"_{x}",8242:"\\prime",39:"\\prime",8592:"\\gets",8594:"\\to",9651:"\\triangle",9661:"\\triangledown",8715:"\\owns",8727:"\\ast",8739:"\\vert",8741:"\\Vert",8743:"\\land",8744:"\\lor",8901:"\\cdot",8904:"\\bowtie",8800:"\\ne",8804:"\\le",8805:"\\ge",8869:"\\bot",10231:"\\biconditional",10232:"\\impliedby",10233:"\\implies",10234:"\\iff",8450:"\\mathbb{C}",8469:"\\mathbb{N}",8473:"\\mathbb{P}",8474:"\\mathbb{Q}",8477:"\\mathbb{R}",8484:"\\mathbb{Z}",8461:"\\mathbb{H}",8476:"\\Re",8465:"\\Im",42:"\\ast",11036:"\\square",9633:"\\square",8720:"\\coprod",8716:"\\not\\ni",9671:"\\diamond",8846:"\\uplus",8851:"\\sqcap",8852:"\\sqcup",8768:"\\wr",8750:"\\oint",8226:"\\textbullet",8722:"-",978:"\\Upsilon"},je={119893:8462,119965:8492,119968:8496,119969:8497,119971:8459,119972:8464,119975:8466,119976:8499,119981:8475,119994:8495,119996:8458,120004:8500,120070:8493,120075:8460,120076:8465,120085:8476,120093:8488,120122:8450,120127:8461,120133:8469,120135:8473,120136:8474,120137:8477,120145:8484},at=[{start:119808,len:26,offset:65,style:"bold"},{start:119834,len:26,offset:97,style:"bold"},{start:119860,len:26,offset:65,style:"italic"},{start:119886,len:26,offset:97,style:"italic"},{start:119912,len:26,offset:65,style:"bolditalic"},{start:119938,len:26,offset:97,style:"bolditalic"},{start:119964,len:26,offset:65,variant:"script"},{start:119990,len:26,offset:97,variant:"script"},{start:120016,len:26,offset:65,variant:"script",style:"bold"},{start:120042,len:26,offset:97,variant:"script",style:"bold"},{start:120068,len:26,offset:65,variant:"fraktur"},{start:120094,len:26,offset:97,variant:"fraktur"},{start:120172,len:26,offset:65,variant:"fraktur",style:"bold"},{start:120198,len:26,offset:97,variant:"fraktur",style:"bold"},{start:120120,len:26,offset:65,variant:"double-struck"},{start:120146,len:26,offset:97,variant:"double-struck"},{start:120224,len:26,offset:65,variant:"sans-serif"},{start:120250,len:26,offset:97,variant:"sans-serif"},{start:120276,len:26,offset:65,variant:"sans-serif",style:"bold"},{start:120302,len:26,offset:97,variant:"sans-serif",style:"bold"},{start:120328,len:26,offset:65,variant:"sans-serif",style:"italic"},{start:120354,len:26,offset:97,variant:"sans-serif",style:"italic"},{start:120380,len:26,offset:65,variant:"sans-serif",style:"bolditalic"},{start:120406,len:26,offset:97,variant:"sans-serif",style:"bolditalic"},{start:120432,len:26,offset:65,variant:"monospace"},{start:120458,len:26,offset:97,variant:"monospace"},{start:120488,len:25,offset:913,style:"bold"},{start:120514,len:25,offset:945,style:"bold"},{start:120546,len:25,offset:913,style:"italic"},{start:120572,len:25,offset:945,style:"italic"},{start:120604,len:25,offset:913,style:"bolditalic"},{start:120630,len:25,offset:945,style:"bolditalic"},{start:120662,len:25,offset:913,variant:"sans-serif",style:"bold"},{start:120688,len:25,offset:945,variant:"sans-serif",style:"bold"},{start:120720,len:25,offset:913,variant:"sans-serif",style:"bolditalic"},{start:120746,len:25,offset:945,variant:"sans-serif",style:"bolditalic"},{start:120782,len:10,offset:48,variant:"main",style:"bold"},{start:120792,len:10,offset:48,variant:"double-struck"},{start:120803,len:10,offset:48,variant:"sans-serif"},{start:120812,len:10,offset:48,variant:"sans-serif",style:"bold"},{start:120822,len:10,offset:48,variant:"monospace"}];function Yt(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const z=a.codePointAt(0);if(z===void 0)return a;for(const re of at)if((!y||re.variant===y)&&(!b||re.style===b)&&z>=re.offset&&z<re.offset+re.len){const pe=re.start+z-re.offset;return String.fromCodePoint(je[pe]||pe)}return a}function Vt(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in je)if(je[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of at)if(a>=b.start&&a<b.start+b.len)return{char:String.fromCodePoint(a-b.start+b.offset),variant:b.variant,style:b.style};return{char:String.fromCodePoint(a)}}function St(a){var y;let b="";for(const z of a){if("{}<>[]$&#^_%:'\u02DC".includes(z)){b+=z;continue}const re=(y=z.codePointAt(0))!=null?y:0;let pe=it[re];if(pe)pe.startsWith("\\")?b+=pe+" ":b+=pe;else{const{char:ye,variant:tt,style:ut}=Vt(re);switch(pe=ye,tt){case"double-struck":pe=`\\mathbb{${pe}}`;break;case"fraktur":pe=`\\mathfrak{${pe}}`;break;case"script":pe=`\\mathscr{${pe}}`;break;case"sans-serif":pe=`\\mathsf{${pe}}`;break;case"monospace":pe=`\\mathtt{${pe}}`;break;case"calligraphic":pe=`\\mathcal{${pe}}`;break}switch(ut){case"bold":pe=`\\mathbf{${pe}}`;break;case"italic":pe=`\\mathit{${pe}}`;break;case"bolditalic":pe=`\\mathbfit{${pe}}`;break}b+=pe}}return b}function Qt(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var cn={},Nn=Ae({},it),fn={},Ln={},Cn={darr:"\\downarrow",dArr:"\\Downarrow",Darr:"\\Downarrow",lang:"\\langle",rang:"\\rangle",uarr:"\\uparrow",uArr:"\\Uparrow",Uarr:"\\Uparrow",N:"\\mathbb{N}",R:"\\mathbb{R}",Z:"\\mathbb{Z}",alef:"\\aleph",alefsym:"\\aleph",Alpha:"\\mathrm{A}",Beta:"\\mathrm{B}",bull:"\\bullet",Chi:"\\mathrm{X}",clubs:"\\clubsuit",cnums:"\\mathbb{C}",Complex:"\\mathbb{C}",Dagger:"\\ddagger",diamonds:"\\diamondsuit",empty:"\\emptyset",Epsilon:"\\mathrm{E}",Eta:"\\mathrm{H}",exist:"\\exists",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",Harr:"\\Leftrightarrow",hearts:"\\heartsuit",image:"\\Im",infin:"\\infty",Iota:"\\mathrm{I}",isin:"\\in",Kappa:"\\mathrm{K}",larr:"\\leftarrow",lArr:"\\Leftarrow",Larr:"\\Leftarrow",lrarr:"\\leftrightarrow",lrArr:"\\Leftrightarrow",Lrarr:"\\Leftrightarrow",Mu:"\\mathrm{M}",natnums:"\\mathbb{N}",Nu:"\\mathrm{N}",Omicron:"\\mathrm{O}",plusmn:"\\pm",rarr:"\\rightarrow",rArr:"\\Rightarrow",Rarr:"\\Rightarrow",real:"\\Re",reals:"\\mathbb{R}",Reals:"\\mathbb{R}",Rho:"\\mathrm{P}",sdot:"\\cdot",sect:"\\S",spades:"\\spadesuit",sub:"\\subset",sube:"\\subseteq",supe:"\\supseteq",Tau:"\\mathrm{T}",thetasym:"\\vartheta",weierp:"\\wp",Zeta:"\\mathrm{Z}"},Bn={varGamma:"\\mathit{\\Gamma}",varDelta:"\\mathit{\\Delta}",varTheta:"\\mathit{\\Theta}",varLambda:"\\mathit{\\Lambda}",varXi:"\\mathit{\\Xi}",varPi:"\\mathit{\\Pi}",varSigma:"\\mathit{\\Sigma}",varUpsilon:"\\mathit{\\Upsilon}",varPhi:"\\mathit{\\Phi}",varPsi:"\\mathit{\\Psi}",varOmega:"\\mathit{\\Omega}",pmod:{def:"\\quad(\\operatorname{mod}\\ #1)",args:1,expand:!1,captureSelection:!1},mod:{def:"\\quad\\operatorname{mod}\\,\\,#1",args:1,expand:!1},bmod:{def:"\\;\\mathbin{\\operatorname{mod }}",expand:!1}},gn={bra:{def:"\\mathinner{\\langle{#1}|}",args:1,captureSelection:!1},ket:{def:"\\mathinner{|{#1}\\rangle}",args:1,captureSelection:!1},braket:{def:"\\mathinner{\\langle{#1}\\rangle}",args:1,captureSelection:!1},set:{def:"\\mathinner{\\lbrace #1 \\rbrace}",args:1,captureSelection:!1},Bra:{def:"\\left\\langle #1\\right|",args:1,captureSelection:!1},Ket:{def:"\\left|#1\\right\\rangle",args:1,captureSelection:!1},Braket:{def:"\\left\\langle{#1}\\right\\rangle",args:1,captureSelection:!1},Set:{def:"\\left\\lbrace #1 \\right\\rbrace",args:1,captureSelection:!1}},Se={iff:{primitive:!0,captureSelection:!0,def:"\\;\u27FA\\;"},nicefrac:"^{#1}\\!\\!/\\!_{#2}",phase:{def:"\\enclose{phasorangle}{#1}",args:1,captureSelection:!1},rd:"\\mathrm{d}",rD:"\\mathrm{D}",doubleStruckCapitalN:"\\mathbb{N}",doubleStruckCapitalR:"\\mathbb{R}",doubleStruckCapitalQ:"\\mathbb{Q}",doubleStruckCapitalZ:"\\mathbb{Z}",doubleStruckCapitalP:"\\mathbb{P}",scriptCapitalE:"\\mathscr{E}",scriptCapitalH:"\\mathscr{H}",scriptCapitalL:"\\mathscr{L}",gothicCapitalC:"\\mathfrak{C}",gothicCapitalH:"\\mathfrak{H}",gothicCapitalI:"\\mathfrak{I}",gothicCapitalR:"\\mathfrak{R}",imaginaryI:"\\mathrm{i}",imaginaryJ:"\\mathrm{j}",exponentialE:"\\mathrm{e}",differentialD:"\\mathrm{d}",capitalDifferentialD:"\\mathrm{D}",mathstrut:{def:"\\vphantom{(}",primitive:!0},angl:"\\enclose{actuarial}{#1}",angln:"\\enclose{actuarial}{n}",anglr:"\\enclose{actuarial}{r}",anglk:"\\enclose{actuarial}{k}",mathtools:{primitive:!0,package:{ordinarycolon:":",vcentcolon:"\\mathrel{\\mathop\\ordinarycolon}",dblcolon:'{\\mathop{\\char"2237}}',coloneqq:'{\\mathop{\\char"2254}}',Coloneqq:'{\\mathop{\\char"2237\\char"3D}}',coloneq:'{\\mathop{\\char"3A\\char"2212}}',Coloneq:'{\\mathop{\\char"2237\\char"2212}}',eqqcolon:'{\\mathop{\\char"2255}}',Eqqcolon:'{\\mathop{\\char"3D\\char"2237}}',eqcolon:'{\\mathop{\\char"2239}}',Eqcolon:'{\\mathop{\\char"2212\\char"2237}}',colonapprox:'{\\mathop{\\char"003A\\char"2248}}',Colonapprox:'{\\mathop{\\char"2237\\char"2248}}',colonsim:'{\\mathop{\\char"3A\\char"223C}}',Colonsim:'{\\mathop{\\char"2237\\char"223C}}',colondash:"\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",Colondash:"\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}"}},ratio:"\\vcentcolon",coloncolon:"\\dblcolon",colonequals:"\\coloneq",coloncolonequals:"\\Coloneq",equalscolon:"\\eqcolon",equalscoloncolon:"\\Eqcolon",colonminus:"\\colondash",coloncolonminus:"\\Colondash",minuscolon:"\\dashcolon",minuscoloncolon:"\\Dashcolon",coloncolonapprox:"\\Colonapprox",coloncolonsim:"\\Colonsim",simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",simcoloncolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcoloncolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",notni:"\\mathrel{\\char`\u220C}",limsup:"\\operatorname*{lim\\,sup}",liminf:"\\operatorname*{lim\\,inf}",injlim:"\\operatorname*{inj\\,lim}",projlim:"\\operatorname*{proj\\,lim}",varlimsup:"\\operatorname*{\\overline{lim}}",varliminf:"\\operatorname*{\\underline{lim}}",varinjlim:"\\operatorname*{\\underrightarrow{lim}}",varprojlim:"\\operatorname*{\\underleftarrow{lim}}",argmin:"\\operatorname*{arg\\,min}",argmax:"\\operatorname*{arg\\,max}",plim:"\\mathop{\\operatorname{plim}}\\limits",tripledash:{def:"\\vphantom{-}\\raise{4mu}{\\mkern1.5mu\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2mu}}",expand:!0},"braket.sty":{package:gn},"amsmath.sty":{package:Bn,primitive:!0},"texvc.sty":{package:Cn,primitive:!1}},Fe={" ":32,"\\!":33,"\\#":35,"\\$":36,"\\%":37,"\\&":38,"-":45,"\\textunderscore":95,"\\euro":8364,"\\maltese":10016,"\\{":123,"\\}":125,"\\textbraceleft":123,"\\textbraceright":125,"\\lbrace":123,"\\rbrace":125,"\\lbrack":91,"\\rbrack":93,"\\nobreakspace":160,"\\ldots":8230,"\\textellipsis":8230,"\\backslash":92,"`":8216,"'":8217,"``":8220,"''":8221,"\\degree":176,"\\textasciicircum":94,"\\textasciitilde":126,"\\textasteriskcentered":42,"\\textbackslash":92,"\\textbullet":8226,"\\textdollar":36,"\\textsterling":163,"\\textdagger":8224,"\\textdaggerdbl":8225,"\u2013":8211,"\u2014":8212,"\u2018":8216,"\u2019":8217,"\u201C":8220,"\u201D":8221,'"':8221,"\\ss":223,"\\ae":230,"\\oe":339,"\\AE":198,"\\OE":338,"\\O":216,"\\i":305,"\\j":567,"\\aa":229,"\\AA":197},ie=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,ae,se;Pe()?(ae=new RegExp("\\p{Letter}","u"),se=new RegExp("[0-9\\p{Letter}]","u")):(ae=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,se=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function oe(a,y,b="mord",z){y!==void 0&&(cn[a]={definitionType:"symbol",type:b,variant:z,codepoint:y},Nn[y]||(Nn[y]=a))}function Ye(a,y,b){if(typeof a=="string"){for(let z=0;z<a.length;z++){const re=a.charAt(z);oe(re,re.codePointAt(0))}return}for(const[z,re,pe,ye]of a)oe(z,re,pe!=null?pe:y,ye!=null?ye:b)}function vt(a,y){for(let b=a;b<=y;b++)oe(String.fromCodePoint(b),b)}function et(a){var y;return(y=Ln[a])!=null?y:null}function lt(a,y){var b,z;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const re=[];for(const ye in fn)ye.startsWith(y)&&!fn[ye].infix&&re.push({match:ye,frequency:(b=fn[ye].frequency)!=null?b:0});for(const ye in cn)ye.startsWith(y)&&re.push({match:ye,frequency:(z=cn[ye].frequency)!=null?z:0});const pe=y.substring(1);for(const ye of Object.keys(a.options.macros))ye.startsWith(pe)&&re.push({match:"\\"+ye,frequency:0});return re.sort((ye,tt)=>{var ut,gt;return ye.frequency===tt.frequency?ye.match.length===tt.match.length?ye.match<tt.match?-1:1:ye.match.length-tt.match.length:((ut=tt.frequency)!=null?ut:0)-((gt=ye.frequency)!=null?gt:0)}),re.map(ye=>ye.match)}function Pt(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function Mt(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:Pt(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...Mt(b[z]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:Pt(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...Mt(b[z]))}return y}function kt(a){if(!a)return"";let y="",b=!0;for(const z of a)typeof z.value=="string"?y+=z.value:b=!1;return b?y:""}function $t(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const z of a)Ln[z]=b}function Sn(a,y,b){typeof a=="string"&&(a=[a]);const re={tabular:!0,params:Mt(y),createAtom:b};for(const pe of a)Ln[pe]=re}function Bt(a,y,b){var z,re;b||(b={});const pe={definitionType:"function",params:Mt(y),ifMode:b.ifMode,isFunction:(z=b.isFunction)!=null?z:!1,applyMode:b.applyMode,infix:(re=b.infix)!=null?re:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")fn["\\"+a]=pe;else for(const ye of a)fn["\\"+ye]=pe}var nn;function tn(a){return nn||(nn=pt(Se)),a?pt(Ae(Ae({},nn),a)):nn}function zt(a,y){var b,z,re,pe;if(typeof a=="string"){let ye=0;const tt=a;return/(^|[^\\])#1/.test(tt)&&(ye=1),/(^|[^\\])#2/.test(tt)&&(ye=2),/(^|[^\\])#3/.test(tt)&&(ye=3),/(^|[^\\])#4/.test(tt)&&(ye=4),/(^|[^\\])#5/.test(tt)&&(ye=5),/(^|[^\\])#6/.test(tt)&&(ye=6),/(^|[^\\])#7/.test(tt)&&(ye=7),/(^|[^\\])#8/.test(tt)&&(ye=8),/(^|[^\\])#9/.test(tt)&&(ye=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(z=y==null?void 0:y.captureSelection)!=null?z:!0,args:ye,def:tt}}return Ae({expand:(re=y==null?void 0:y.expand)!=null?re:!0,captureSelection:(pe=y==null?void 0:y.captureSelection)!=null?pe:!0,args:0},a)}function pt(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const z=a[b];if(z==null)delete y[b];else if(typeof z=="object"&&"package"in z)for(const re of Object.keys(z.package))y[re]=zt(z.package[re],{expand:!z.primitive,captureSelection:z.captureSelection});else y[b]=zt(z)}return y}function Wt(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=fn[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=cn[a]:Fe[a]&&(b={definitionType:"symbol",type:"mord",codepoint:Fe[a]})}else if(y==="math"){if(b=cn[a],!b&&a.length===1){const z=xn("math",a.codePointAt(0));return z.startsWith("\\")?we(Ae({},Wt(z,"math")),{command:z}):null}}else Fe[a]?b={definitionType:"symbol",type:"mord",codepoint:Fe[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function vn(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function xn(a,y){if(y===void 0)return"";if(a==="math"&&Nn[y])return Nn[y];if(a==="text"){const b=Object.keys(Fe).find(z=>Fe[z]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var Wn=[0,.68889,0,0,.72222],br=[0,.68889,0,0,.66667],Lr=[0,.68889,0,0,.77778],jr=[0,.68889,0,0,.61111],Qr=[.16667,.68889,0,0,.77778],vr=[0,.68889,0,0,.55556],Ar=[0,0,0,0,.25],Tr=[0,.825,0,0,2.33334],Bi=[0,.9,0,0,2.33334],$i=[0,.68889,0,0,.54028],mi=[-.03598,.46402,0,0,.5],Mi=[-.13313,.36687,0,0,1],pa=[.01354,.52239,0,0,1],Dr=[.01354,.52239,0,0,1.11111],_n=[0,.54986,0,0,1],no=[0,.69224,0,0,.5],Ki=[0,.43056,0,0,1],Co=[.08198,.58198,0,0,.77778],ro=[.19444,.69224,0,0,.41667],Pi=[.1808,.675,0,0,1],Ii=[.19444,.69224,0,0,.83334],Si=[.13667,.63667,0,0,1],gi=[-.064,.437,0,0,1.334],Ea=[.08167,.58167,0,0,.77778],Fn=[0,.69224,0,0,.72222],Dt=[0,.69224,0,0,.66667],Gt=[-.13313,.36687,0,0,.77778],Zt=[.06062,.54986,0,0,.77778],jt=[0,.69224,0,0,.77778],on=[.25583,.75583,0,0,.77778],Mn=[.25142,.75726,0,0,.77778],ir=[.20576,.70576,0,0,.77778],qn=[.30274,.79383,0,0,.77778],pr=[.22958,.72958,0,0,.77778],Gr=[.1808,.675,0,0,.77778],Zr=[.13667,.63667,0,0,.77778],$r=[.13597,.63597,0,0,.77778],Xn=[.03517,.54986,0,0,.77778],Or=[0,.675,0,0,.77778],ki=[.19444,.69224,0,0,.61111],vi=[0,.54986,0,0,.76042],Zi=[0,.54986,0,0,.66667],xi=[.0391,.5391,0,0,.77778],Ca=[.03517,.54986,0,0,1.33334],si=[.38569,.88569,0,0,.77778],oa=[.23222,.74111,0,0,.77778],mn=[.19444,.69224,0,0,.77778],mr=[0,.37788,0,0,.5],dr=[0,.54986,0,0,.72222],Wr=[0,.69224,0,0,.83334],wr=[.11111,.69224,0,0,.66667],Mr=[.26167,.75726,0,0,.77778],Fr=[.48256,.98256,0,0,.77778],ui=[.28481,.79383,0,0,.77778],yi=[.08167,.58167,0,0,.22222],Hi=[.08167,.58167,0,0,.38889],Oa=[0,.43056,.04028,0,.66667],Qa=[.41951,.91951,0,0,.77778],oo=[.24982,.74947,0,0,.38865],La=[.08319,.58283,0,0,.75623],Da=[0,.10803,0,0,.27764],po=[0,.47534,0,0,.50181],Za=[.18906,.47534,0,0,.50181],io=[0,.69141,0,0,.50181],va=[.24982,.74947,0,0,.27764],ka=[0,.69141,0,0,.21471],Xa=[.25,.75,0,0,.44722],Pa=[0,.64444,0,0,.575],ao=[.08556,.58556,0,0,.89444],us=[0,.69444,0,0,.89444],Ya=[0,.68611,0,0,.9],fi=[0,.68611,0,0,.86944],Rr=[.25,.75,0,0,.575],Ra=[.25,.75,0,0,.31944],_a=[0,.69444,0,0,.63889],Va=[0,.69444,0,0,.31944],Mo=[0,.44444,0,0,.63889],go=[0,.44444,0,0,.51111],As=[0,.69444,0,0,.575],_o=[.13333,.63333,0,0,.89444],Js=[0,.44444,0,0,.31944],Sa=[0,.69444,0,0,.86944],xa=[0,.68611,0,0,.69166],Bo=[0,.68611,0,0,.83055],So=[0,.68611,0,0,.89444],Ms=[0,.69444,0,0,.60278],er=[.19444,.69444,0,0,.51111],Qs=[0,.69444,0,0,.83055],fs=[-.10889,.39111,0,0,1.14999],Zs=[.19444,.69444,0,0,.575],qs=[.19444,.69444,0,0,1.14999],ma=[.19444,.69444,0,0,.70277],sa=[.05556,.75,0,0,.575],ra=[0,.68611,0,0,.95833],ua=[.08556,.58556,0,0,.76666],cs=[-.02639,.47361,0,0,.575],Ps=[0,.44444,0,0,.89444],jo=[0,.55556,0,0,.76666],xs=[-.10889,.39111,0,0,.89444],Cs=[.00222,.50222,0,0,.89444],$s=[.19667,.69667,0,0,.89444],ru=[.08556,.58556,0,0,1.14999],or=[0,.69444,0,0,.70277],Qn=[-.02778,.47222,0,0,.575],Nr=[.25,.75,0,0,.51111],Di=[-.13889,.36111,0,0,1.14999],Io=[.19444,.69444,0,0,1.02222],lr=[.12963,.69444,0,0,.89444],Jn=[.19444,.69444,0,0,.44722],Un=[0,.64444,.13167,0,.59111],cr=[.19444,.64444,.13167,0,.59111],Ur=[0,.68611,.17208,0,.8961],bi=[.19444,.44444,.105,0,.53222],xr=[0,.44444,.085,0,.82666],Hr=[0,.69444,.06709,0,.59111],ji=[0,.69444,.12945,0,.35555],Ji=[0,.69444,0,0,.94888],ca=[0,.69444,.11472,0,.59111],Xr=[0,.68611,.10778,0,.88555],Ni=[0,.69444,.07939,0,.62055],ia=[0,.69444,.12417,0,.30667],Ma=[0,.64444,.13556,0,.51111],Oi=[.19444,.64444,.13556,0,.51111],da=[0,.68333,.16389,0,.74333],Lo=[.19444,.43056,.08847,0,.46],co=[0,.43056,.07514,0,.71555],To=[0,.69444,.06646,0,.51111],hs=[0,.69444,0,0,.83129],Bu=[0,.69444,.1225,0,.51111],gu=[0,.68333,.09403,0,.76666],Su=[0,.68333,.11111,0,.76666],Cr=[0,.69444,.06961,0,.51444],yr=[0,.69444,0,0,.27778],Eu=[.25,.75,0,0,.38889],mo=[0,.64444,0,0,.5],Qo=[0,.69444,0,0,.77778],Nl=[0,.68333,0,0,.75],el=[0,.68333,0,0,.77778],_l=[0,.68333,0,0,.68056],al=[0,.68333,0,0,.72222],vu=[.25,.75,0,0,.5],Bs=[.25,.75,0,0,.27778],fl=[0,.69444,0,0,.5],kc=[0,.69444,0,0,.55556],qa=[0,.43056,0,0,.44445],Ho=[0,.43056,0,0,.5],Do=[.19444,.43056,0,0,.55556],zo=[0,.43056,0,0,.55556],ys=[.08333,.58333,0,0,.77778],bs=[0,.43056,0,0,.27778],Ds=[0,.66786,0,0,.27778],ol=[0,.69444,0,0,.75],Vs=[0,.66786,0,0,.5],Ol=[0,.68333,0,0,.625],ac=[.19444,.69444,0,0,.44445],ad=[0,.69444,0,0,.72222],Fu=[.19444,.69444,0,0,.5],oc=[.19444,.69444,0,0,1],sc=[.011,.511,0,0,1.126],wc=[.19444,.69444,0,0,.61111],Kl=[.05556,.75,0,0,.5],$d=[0,.68333,0,0,.83334],Hd=[.0391,.5391,0,0,.66667],wd=[-.05555,.44445,0,0,.5],eA=[0,.43056,0,0,.77778],Mc=[0,.55556,0,0,.66667],bA=[-.03625,.46375,0,0,.77778],$u=[-.01688,.48312,0,0,.77778],Id=[.0391,.5391,0,0,1],yl=[0,.69444,0,0,.61111],bl=[-.03472,.46528,0,0,.5],Hl=[.25,.75,0,0,.44445],zc=[-.14236,.35764,0,0,1],Ac=[.244,.744,0,0,.412],hd=[.19444,.69444,0,0,.88889],Tc=[.12963,.69444,0,0,.77778],Ru=[.19444,.69444,0,0,.38889],Aa=[.011,.511,0,0,1.638],$o=[.19444,.69444,0,0,0],_i=[0,.44444,0,0,.575],rs=[.19444,.44444,0,0,.575],Eo=[0,.68611,0,0,.75555],tu=[0,.69444,0,0,.66759],lc=[0,.68611,0,0,.80555],Kc=[0,.68611,.08229,0,.98229],Pc=[0,.68611,0,0,.76666],wA=[0,.44444,0,0,.58472],xd=[.19444,.44444,0,0,.6118],Il=[.19444,.43056,0,0,.5],Ld=[0,.68333,.02778,.08334,.76278],Cl=[0,.68333,.08125,.05556,.83125],Du=[0,.43056,0,.05556,.48472],Uu=[.19444,.43056,0,.08334,.51702],Jl=[.25,.75,0,0,.42778],hl=[0,.69444,0,0,.55],fc=[0,.69444,0,0,.73334],uc=[0,.69444,0,0,.79445],_c=[0,.69444,0,0,.51945],ec=[0,.69444,0,0,.70278],Wc=[0,.69444,0,0,.76389],Vu=[.25,.75,0,0,.34306],jd=[0,.69444,0,0,.56111],Sh=[0,.69444,0,0,.25556],od=[.19444,.45833,0,0,.56111],Dd=[0,.45833,0,0,.56111],xc=[0,.69444,0,0,.30556],iu=[0,.69444,0,0,.58056],uA=[0,.69444,0,0,.67223],yf=[0,.69444,0,0,.85556],GA=[0,.69444,0,0,.55834],sd=[0,.65556,.11156,0,.5],xA=[0,.69444,.08094,0,.70834],ih=[.17014,0,0,0,.44445],bf=[0,.69444,.0799,0,.5],M0=[0,.69444,0,0,.73752],rp=[0,.69444,.09205,0,.5],hc=[0,.69444,.09031,0,.77778],cA=[0,.69444,.07816,0,.27778],ip=[0,.69444,.00316,0,.5],Nt=[.19444,.69444,0,0,.83334],Ut=[.05556,.75,0,0,.83334],An=[0,.75,0,0,.5],En=[.125,.08333,0,0,.27778],Vn=[0,.08333,0,0,.27778],On=[0,.65556,0,0,.5],gr=[0,.69444,0,0,.47222],fr=[0,.69444,0,0,.66667],ur=[0,.69444,0,0,.59722],Jr=[0,.69444,0,0,.54167],hi=[0,.69444,0,0,.70834],ni=[.25,.75,0,0,.28889],qi=[0,.69444,0,0,.51667],Qi=[0,.44444,0,0,.44445],Vi=[.19444,.44444,0,0,.51667],ja=[0,.44444,0,0,.38333],Fa=[0,.44444,0,0,.51667],Ta=[0,.69444,0,0,.83334],Ia=[.35001,.85,0,0,.45834],$a=[.35001,.85,0,0,.57778],Ko=[.35001,.85,0,0,.41667],Jo=[.35001,.85,0,0,.58334],Fo=[0,.72222,0,0,.55556],ss=[1e-5,.6,0,0,.66667],_s=[1e-5,.6,0,0,.77778],lo=[.25001,.75,0,0,.94445],Oo=[.306,.805,.19445,0,.47222],vo=[.30612,.805,.19445,0,.47222],Ba=[.25001,.75,0,0,.83334],bo=[.35001,.85,0,0,.47222],is=[.25001,.75,0,0,1.11111],tl=[.65002,1.15,0,0,.59722],as=[.65002,1.15,0,0,.81111],za=[.65002,1.15,0,0,.47222],gs=[.65002,1.15,0,0,.66667],Ns=[0,.75,0,0,1],jl=[.55001,1.05,0,0,1.27778],Ll=[.862,1.36,.44445,0,.55556],ku=[.86225,1.36,.44445,0,.55556],Mu=[.55001,1.05,0,0,1.11111],Is=[.65002,1.15,0,0,.52778],cc=[.65002,1.15,0,0,.61111],wl=[.55001,1.05,0,0,1.51112],du=[.95003,1.45,0,0,.73611],Au=[.95003,1.45,0,0,1.04445],Ic=[.95003,1.45,0,0,.52778],wo=[.95003,1.45,0,0,.75],es=[0,.75,0,0,1.44445],ts=[.95003,1.45,0,0,.58334],Po=[1.25003,1.75,0,0,.79167],Tl=[1.25003,1.75,0,0,1.27778],Wo=[1.25003,1.75,0,0,.58334],Ss=[1.25003,1.75,0,0,.80556],sl=[0,.825,0,0,1.8889],pl=[1.25003,1.75,0,0,.63889],td=[.64502,1.155,0,0,.875],Gu=[1e-5,.6,0,0,.875],Qd=[-99e-5,.601,0,0,.66667],tc=[.64502,1.155,0,0,.66667],zd=[1e-5,.9,0,0,.88889],Ja=[.65002,1.15,0,0,.88889],Rc=[.90001,0,0,0,.88889],YA=[-.00499,.605,0,0,1.05556],xl=[0,.12,0,0,.45],la=[0,.61111,0,0,.525],Wl=[.08333,.69444,0,0,.525],Cc=[-.08056,.53055,0,0,.525],Iu=[-.05556,.55556,0,0,.525],ps=[0,.43056,0,0,.525],$l=[.22222,.43056,0,0,.525],Uc=[0,0,0,0,.525],Nd={"AMS-Regular":{32:Ar,65:Wn,66:br,67:Wn,68:Wn,69:br,70:jr,71:Lr,72:Lr,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:Lr,76:br,77:[0,.68889,0,0,.94445],78:Wn,79:Qr,80:jr,81:Qr,82:Wn,83:vr,84:br,85:Wn,86:Wn,87:[0,.68889,0,0,1],88:Wn,89:Wn,90:br,107:vr,160:Ar,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:vr,295:$i,710:Tr,732:Bi,770:Tr,771:Bi,989:Ea,1008:Oa,8245:[0,.54986,0,0,.275],8463:$i,8487:Wn,8498:vr,8502:br,8503:[0,.68889,0,0,.44445],8504:br,8513:[0,.68889,0,0,.63889],8592:mi,8594:mi,8602:Mi,8603:Mi,8606:pa,8608:pa,8610:Dr,8611:Dr,8619:_n,8620:_n,8621:[-.13313,.37788,0,0,1.38889],8622:Mi,8624:no,8625:no,8630:Ki,8631:Ki,8634:Co,8635:Co,8638:ro,8639:ro,8642:ro,8643:ro,8644:Pi,8646:Pi,8647:Pi,8648:Ii,8649:Pi,8650:Ii,8651:pa,8652:pa,8653:Mi,8654:Mi,8655:Mi,8666:Si,8667:Si,8669:[-.13313,.37788,0,0,1],8672:gi,8674:gi,8705:[0,.825,0,0,.5],8708:vr,8709:Ea,8717:[0,.43056,0,0,.42917],8722:mi,8724:[.08198,.69224,0,0,.77778],8726:Ea,8733:jt,8736:Fn,8737:Fn,8738:[.03517,.52239,0,0,.72222],8739:yi,8740:[.25142,.74111,0,0,.27778],8741:Hi,8742:[.25142,.74111,0,0,.5],8756:Dt,8757:Dt,8764:Gt,8765:[-.13313,.37788,0,0,.77778],8769:Gt,8770:bA,8774:qn,8776:$u,8778:Ea,8782:Zt,8783:Zt,8785:Co,8786:Co,8787:Co,8790:jt,8791:pr,8796:[.08198,.91667,0,0,.77778],8806:on,8807:on,8808:Mn,8809:Mn,8812:[.25583,.75583,0,0,.5],8814:ir,8815:ir,8816:qn,8817:qn,8818:pr,8819:pr,8822:Gr,8823:Gr,8828:Zr,8829:Zr,8830:pr,8831:pr,8832:ir,8833:ir,8840:qn,8841:qn,8842:$r,8843:$r,8847:Xn,8848:Xn,8858:Co,8859:Co,8861:Co,8862:Or,8863:Or,8864:Or,8865:Or,8872:[0,.69224,0,0,.61111],8873:Fn,8874:[0,.69224,0,0,.88889],8876:jr,8877:jr,8878:Wn,8879:Wn,8882:Xn,8883:Xn,8884:Zr,8885:Zr,8888:[0,.54986,0,0,1.11111],8890:Do,8891:ki,8892:ki,8901:[0,.54986,0,0,.27778],8903:Ea,8905:Ea,8906:Ea,8907:jt,8908:jt,8909:[-.03598,.46402,0,0,.77778],8910:vi,8911:vi,8912:Xn,8913:Xn,8914:Zi,8915:Zi,8916:Dt,8918:xi,8919:xi,8920:Ca,8921:Ca,8922:si,8923:si,8926:Zr,8927:Zr,8928:qn,8929:qn,8934:oa,8935:oa,8936:oa,8937:oa,8938:ir,8939:ir,8940:qn,8941:qn,8994:mn,8995:mn,9416:[.15559,.69224,0,0,.90222],9484:no,9488:no,9492:mr,9496:mr,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:Or,9633:Or,9650:dr,9651:dr,9654:Xn,9660:dr,9661:dr,9664:Xn,9674:wr,9733:[.19444,.69224,0,0,.94445],10003:Wr,10016:Wr,10731:wr,10846:[.19444,.75583,0,0,.61111],10877:Zr,10878:Zr,10885:on,10886:on,10887:$r,10888:$r,10889:Mr,10890:Mr,10891:Fr,10892:Fr,10901:Zr,10902:Zr,10933:Mn,10934:Mn,10935:Mr,10936:Mr,10937:Mr,10938:Mr,10949:on,10950:on,10955:ui,10956:ui,57350:yi,57351:Hi,57352:Ea,57353:Oa,57356:Mn,57357:Mn,57358:Qa,57359:qn,57360:qn,57361:Qa,57366:Mn,57367:Mn,57368:Mn,57369:Mn,57370:$r,57371:$r},"Caligraphic-Regular":{32:Ar,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],160:Ar},"Fraktur-Regular":{32:Ar,33:[0,.69141,0,0,.29574],34:ka,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:oo,41:oo,42:[0,.62119,0,0,.27764],43:La,44:Da,45:La,46:Da,47:[.24982,.74947,0,0,.50181],48:po,49:po,50:po,51:Za,52:Za,53:Za,54:io,55:Za,56:io,57:Za,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:va,93:va,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],160:Ar,8216:ka,8217:ka,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":{32:Ar,33:[0,.69444,0,0,.35],34:Ms,35:[.19444,.69444,0,0,.95833],36:sa,37:[.05556,.75,0,0,.95833],38:us,39:Va,40:Xa,41:Xa,42:[0,.75,0,0,.575],43:_o,44:[.19444,.15556,0,0,.31944],45:ja,46:[0,.15556,0,0,.31944],47:Rr,48:Pa,49:Pa,50:Pa,51:Pa,52:Pa,53:Pa,54:Pa,55:Pa,56:Pa,57:Pa,58:Js,59:[.19444,.44444,0,0,.31944],60:ao,61:xs,62:ao,63:[0,.69444,0,0,.54305],64:us,65:fi,66:[0,.68611,0,0,.81805],67:Bo,68:[0,.68611,0,0,.88194],69:Eo,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Ya,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:xa,77:[0,.68611,0,0,1.09166],78:Ya,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:fi,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:Ra,92:Rr,93:Ra,94:As,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:_a,99:go,100:_a,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:_a,105:Va,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:Va,109:[0,.44444,0,0,.95833],110:Mo,111:_i,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:Mo,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:go,123:Rr,124:Ra,125:Rr,126:[.35,.34444,0,0,.575],160:Ar,163:[0,.69444,0,0,.86853],168:As,172:[0,.44444,0,0,.76666],176:Sa,177:_o,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:_o,216:[.04861,.73472,0,0,.89444],223:ur,230:[0,.44444,0,0,.83055],247:_o,248:[.09722,.54167,0,0,.575],305:Js,338:[0,.68611,0,0,1.16944],339:Ps,567:[.19444,.44444,0,0,.35139],710:As,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:As,715:As,728:As,729:Va,730:Sa,732:As,733:As,915:xa,916:ra,920:So,923:lc,926:Pc,928:Ya,931:Bo,933:So,934:Bo,936:So,937:Bo,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:Va,8217:Va,8220:Ms,8221:Ms,8224:er,8225:er,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:tu,8465:Qs,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:Qs,8501:or,8592:fs,8593:Zs,8594:fs,8595:Zs,8596:fs,8597:Rr,8598:qs,8599:qs,8600:qs,8601:qs,8636:fs,8637:fs,8640:fs,8641:fs,8656:fs,8657:ma,8658:fs,8659:ma,8660:fs,8661:[.25,.75,0,0,.70277],8704:_a,8706:[0,.69444,.06389,0,.62847],8707:_a,8709:sa,8711:ra,8712:ua,8715:ua,8722:_o,8723:_o,8725:Rr,8726:Rr,8727:Qn,8728:cs,8729:cs,8730:[.18,.82,0,0,.95833],8733:Ps,8734:[0,.44444,0,0,1.14999],8736:Fn,8739:Ra,8741:Rr,8743:jo,8744:jo,8745:jo,8746:jo,8747:[.19444,.69444,.12778,0,.56875],8764:xs,8768:[.19444,.69444,0,0,.31944],8771:Cs,8776:[.02444,.52444,0,0,.89444],8781:Cs,8801:Cs,8804:$s,8805:$s,8810:ru,8811:ru,8826:ao,8827:ao,8834:ao,8835:ao,8838:$s,8839:$s,8846:jo,8849:$s,8850:$s,8851:jo,8852:jo,8853:_o,8854:_o,8855:_o,8856:_o,8857:_o,8866:or,8867:or,8868:us,8869:us,8900:cs,8901:[-.02639,.47361,0,0,.31944],8902:Qn,8968:Nr,8969:Nr,8970:Nr,8971:Nr,8994:Di,8995:Di,9651:Io,9657:Qn,9661:Io,9667:Qn,9711:qs,9824:lr,9825:lr,9826:lr,9827:lr,9837:[0,.75,0,0,.44722],9838:Jn,9839:Jn,10216:Xa,10217:Xa,10815:Ya,10927:$s,10928:$s,57376:$o},"Main-BoldItalic":{32:Ar,33:[0,.69444,.11417,0,.38611],34:Ni,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:ji,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:Un,49:Un,50:Un,51:Un,52:cr,53:Un,54:Un,55:cr,56:Un,57:Un,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:ca,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:Ur,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:Ur,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:Hr,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:bi,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:bi,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],160:Ar,168:[0,.69444,.11473,0,.59111],176:Ji,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:xr,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:xr,567:[.19444,.44444,.04611,0,.385],710:Hr,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:ji,730:Ji,732:ca,733:ca,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:Ur,931:[0,.68611,.11431,0,.82666],933:Xr,934:[0,.68611,.05632,0,.82666],936:Xr,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:ji,8217:ji,8220:[0,.69444,.16772,0,.62055],8221:Ni},"Main-Italic":{32:Ar,33:ia,34:Cr,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:ia,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:Ma,49:Ma,50:Ma,51:Ma,52:Oi,53:Ma,54:Ma,55:Oi,56:Ma,57:Ma,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Bu,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:da,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:da,79:gu,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:da,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:To,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:Lo,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:Lo,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],160:Ar,168:[0,.66786,.10474,0,.51111],176:hs,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:co,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:co,710:To,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:hs,732:[0,.66786,.11585,0,.51111],733:Bu,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:gu,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:da,931:[0,.68333,.12028,0,.71555],933:Su,934:[0,.68333,.05986,0,.71555],936:Su,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:ia,8217:ia,8220:[0,.69444,.1685,0,.51444],8221:Cr,8463:$i},"Main-Regular":{32:Ar,33:yr,34:fl,35:Nt,36:Kl,37:Ut,38:Qo,39:yr,40:Eu,41:Eu,42:An,43:ys,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:vu,48:mo,49:mo,50:mo,51:mo,52:mo,53:mo,54:mo,55:mo,56:mo,57:mo,58:bs,59:[.19444,.43056,0,0,.27778],60:xi,61:Gt,62:xi,63:gr,64:Qo,65:Nl,66:[0,.68333,0,0,.70834],67:al,68:[0,.68333,0,0,.76389],69:_l,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:Nl,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:el,76:Ol,77:[0,.68333,0,0,.91667],78:Nl,79:el,80:_l,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:al,85:Nl,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:Nl,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Bs,92:vu,93:Bs,94:fl,95:[.31,.12056,.02778,0,.5],97:Ho,98:kc,99:qa,100:kc,101:qa,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:kc,105:Ds,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:yr,109:[0,.43056,0,0,.83334],110:zo,111:Ho,112:Do,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:zo,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:qa,123:vu,124:Bs,125:vu,126:[.35,.31786,0,0,.5],160:Ar,163:[0,.69444,0,0,.76909],167:ac,168:Vs,172:[0,.43056,0,0,.66667],176:ol,177:ys,182:wc,184:ih,198:[0,.68333,0,0,.90278],215:ys,216:[.04861,.73194,0,0,.77778],223:fl,230:[0,.43056,0,0,.72222],247:ys,248:[.09722,.52778,0,0,.5],305:bs,338:[0,.68333,0,0,1.01389],339:eA,567:[.19444,.43056,0,0,.30556],710:fl,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:fl,715:fl,728:fl,729:Ds,730:ol,732:Vs,733:fl,915:Ol,916:$d,920:el,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:Nl,931:al,933:el,934:al,936:el,937:al,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:yr,8217:yr,8220:fl,8221:fl,8224:ac,8225:ac,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:$i,8465:ad,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:ad,8501:yl,8592:Mi,8593:Fu,8594:Mi,8595:Fu,8596:Mi,8597:vu,8598:oc,8599:oc,8600:oc,8601:oc,8614:[.011,.511,0,0,1],8617:sc,8618:sc,8636:Mi,8637:Mi,8640:Mi,8641:Mi,8652:[.011,.671,0,0,1],8656:Mi,8657:wc,8658:Mi,8659:wc,8660:Mi,8661:[.25,.75,0,0,.61111],8704:kc,8706:[0,.69444,.05556,.08334,.5309],8707:kc,8709:Kl,8711:$d,8712:Hd,8715:Hd,8722:ys,8723:ys,8725:vu,8726:vu,8727:bl,8728:wd,8729:wd,8730:[.2,.8,0,0,.83334],8733:eA,8734:Ki,8736:Fn,8739:Bs,8741:vu,8743:Mc,8744:Mc,8745:Mc,8746:Mc,8747:[.19444,.69444,.11111,0,.41667],8764:Gt,8768:[.19444,.69444,0,0,.27778],8771:bA,8773:[-.022,.589,0,0,1],8776:$u,8781:bA,8784:[-.133,.67,0,0,.778],8801:bA,8804:$r,8805:$r,8810:Id,8811:Id,8826:xi,8827:xi,8834:xi,8835:xi,8838:$r,8839:$r,8846:Mc,8849:$r,8850:$r,8851:Mc,8852:Mc,8853:ys,8854:ys,8855:ys,8856:ys,8857:ys,8866:yl,8867:yl,8868:Qo,8869:Qo,8872:[.249,.75,0,0,.867],8900:wd,8901:[-.05555,.44445,0,0,.27778],8902:bl,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:Hl,8969:Hl,8970:Hl,8971:Hl,8994:zc,8995:zc,9136:Ac,9137:Ac,9651:hd,9657:bl,9661:hd,9667:bl,9711:oc,9824:Tc,9825:Tc,9826:Tc,9827:Tc,9837:[0,.75,0,0,.38889],9838:Ru,9839:Ru,10216:Eu,10217:Eu,10222:Ac,10223:Ac,10229:[.011,.511,0,0,1.609],10230:Aa,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:Aa,10815:Nl,10927:$r,10928:$r,57376:$o},"Math-BoldItalic":{32:Ar,48:_i,49:_i,50:_i,51:rs,52:rs,53:rs,54:Pa,55:rs,56:Pa,57:rs,65:fi,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:Kc,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:Eo,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:tu,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:wA,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],160:Ar,915:[0,.68611,.15972,0,.65694],916:ra,920:[0,.68611,.03194,0,.86722],923:lc,926:[0,.68611,.07458,0,.84125],928:Kc,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:Pc,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:wA,960:[0,.44444,.03704,0,.68241],961:xd,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:xd,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Ar,48:Ho,49:Ho,50:Ho,51:Il,52:Il,53:Il,54:mo,55:Il,56:mo,57:Il,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:Cl,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:Ld,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:Du,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],160:Ar,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:Ld,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:Cl,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:Du,960:[0,.43056,.03588,0,.57003],961:Uu,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:Uu,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Ar,33:[0,.69444,0,0,.36667],34:GA,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:xc,40:Jl,41:Jl,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:hl,49:hl,50:hl,51:hl,52:hl,53:hl,54:hl,55:hl,56:hl,57:hl,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:_c,64:fc,65:fc,66:fc,67:ec,68:uc,69:[0,.69444,0,0,.64167],70:yl,71:fc,72:uc,73:[0,.69444,0,0,.33056],74:_c,75:Wc,76:iu,77:[0,.69444,0,0,.97778],78:uc,79:uc,80:ec,81:[.10556,.69444,0,0,.79445],82:ec,83:yl,84:fc,85:Wc,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:fc,89:[0,.69444,.0275,0,.73334],90:uA,91:Vu,93:Vu,94:hl,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:jd,99:[0,.45833,0,0,.48889],100:jd,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:jd,105:Sh,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:Sh,109:[0,.45833,0,0,.86667],110:Dd,111:[0,.45833,0,0,.55],112:od,113:od,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Dd,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],160:Ar,168:hl,176:fc,180:hl,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:hl,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:hl,729:xc,730:fc,732:hl,733:hl,915:iu,916:[0,.69444,0,0,.91667],920:yf,923:uA,926:fc,928:uc,931:uc,933:yf,934:uc,936:yf,937:uc,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:xc,8217:xc,8220:GA,8221:GA},"SansSerif-Italic":{32:Ar,33:[0,.69444,.05733,0,.31945],34:ip,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:cA,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:En,45:[0,.44444,.01946,0,.33333],46:Vn,47:[.25,.75,.13164,0,.5],48:sd,49:sd,50:sd,51:sd,52:sd,53:sd,54:sd,55:sd,56:sd,57:sd,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:fr,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:xA,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:Jr,77:[0,.69444,.08094,0,.875],78:xA,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:bf,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],160:Ar,168:[0,.67937,.06385,0,.5],176:M0,184:ih,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:bf,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:rp,715:fl,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:M0,732:[0,.67659,.08826,0,.5],733:rp,915:[0,.69444,.13372,0,.54167],916:Ta,920:[0,.69444,.07555,0,.77778],923:yl,926:[0,.69444,.12816,0,.66667],928:xA,931:[0,.69444,.11983,0,.72222],933:hc,934:[0,.69444,.04603,0,.72222],936:hc,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:cA,8217:cA,8220:[0,.69444,.14205,0,.5],8221:ip},"SansSerif-Regular":{32:Ar,33:[0,.69444,0,0,.31945],34:fl,35:Nt,36:Kl,37:Ut,38:[0,.69444,0,0,.75834],39:yr,40:Eu,41:Eu,42:An,43:ys,44:En,45:[0,.44444,0,0,.33333],46:Vn,47:vu,48:On,49:On,50:On,51:On,52:On,53:On,54:On,55:On,56:On,57:On,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:gr,64:fr,65:fr,66:fr,67:_a,68:[0,.69444,0,0,.72223],69:ur,70:[0,.69444,0,0,.56945],71:fr,72:hi,73:yr,74:gr,75:[0,.69444,0,0,.69445],76:Jr,77:[0,.69444,0,0,.875],78:hi,79:[0,.69444,0,0,.73611],80:_a,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:kc,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:fr,89:[0,.69444,.025,0,.66667],90:yl,91:ni,93:ni,94:fl,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:qi,99:Qi,100:qi,101:Qi,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:qi,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:Fa,111:[0,.44444,0,0,.5],112:Vi,113:Vi,114:[0,.44444,.01389,0,.34167],115:ja,116:[0,.57143,0,0,.36111],117:Fa,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],160:Ar,168:[0,.67937,0,0,.5],176:fr,184:ih,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:fl,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:fl,715:fl,728:fl,729:[0,.67937,0,0,.27778],730:fr,732:[0,.67659,0,0,.5],733:fl,915:Jr,916:Ta,920:Qo,923:yl,926:fr,928:hi,931:ad,933:Qo,934:ad,936:Qo,937:ad,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:yr,8217:yr,8220:fl,8221:fl},"Script-Regular":{32:Ar,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],160:Ar},"Size1-Regular":{32:Ar,40:Ia,41:Ia,47:$a,91:Ko,92:$a,93:Ko,123:Jo,125:Jo,160:Ar,710:Fo,732:Fo,770:Fo,771:Fo,8214:[-99e-5,.601,0,0,.77778],8593:ss,8595:ss,8657:_s,8659:_s,8719:lo,8720:lo,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:vo,8748:Oo,8749:Oo,8750:vo,8896:Ba,8897:Ba,8898:Ba,8899:Ba,8968:bo,8969:bo,8970:bo,8971:bo,9168:Qd,10216:bo,10217:bo,10752:is,10753:is,10754:is,10756:Ba,10758:Ba},"Size2-Regular":{32:Ar,40:tl,41:tl,47:as,91:za,92:as,93:za,123:gs,125:gs,160:Ar,710:Ns,732:Ns,770:Ns,771:Ns,8719:jl,8720:jl,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:ku,8748:Ll,8749:Ll,8750:ku,8896:Mu,8897:Mu,8898:Mu,8899:Mu,8968:Is,8969:Is,8970:Is,8971:Is,10216:cc,10217:cc,10752:wl,10753:wl,10754:wl,10756:Mu,10758:Mu},"Size3-Regular":{32:Ar,40:du,41:du,47:Au,91:Ic,92:Au,93:Ic,123:wo,125:wo,160:Ar,710:es,732:es,770:es,771:es,8730:[.95003,1.45,0,0,1],8968:ts,8969:ts,8970:ts,8971:ts,10216:wo,10217:wo},"Size4-Regular":{32:Ar,40:Po,41:Po,47:Tl,91:Wo,92:Tl,93:Wo,123:Ss,125:Ss,160:Ar,710:sl,732:sl,770:sl,771:sl,8730:[1.25003,1.75,0,0,1],8968:pl,8969:pl,8970:pl,8971:pl,9115:td,9116:Gu,9117:td,9118:td,9119:Gu,9120:td,9121:tc,9122:Qd,9123:tc,9124:tc,9125:Qd,9126:tc,9127:zd,9128:Ja,9129:Rc,9130:[0,.3,0,0,.88889],9131:zd,9132:Ja,9133:Rc,9143:[.88502,.915,0,0,1.05556],10216:Ss,10217:Ss,57344:YA,57345:YA,57680:xl,57681:xl,57682:xl,57683:xl},"Typewriter-Regular":{32:Uc,33:la,34:la,35:la,36:Wl,37:Wl,38:la,39:la,40:Wl,41:Wl,42:[0,.52083,0,0,.525],43:Cc,44:[.13889,.125,0,0,.525],45:Cc,46:[0,.125,0,0,.525],47:Wl,48:la,49:la,50:la,51:la,52:la,53:la,54:la,55:la,56:la,57:la,58:ps,59:[.13889,.43056,0,0,.525],60:Iu,61:[-.19549,.41562,0,0,.525],62:Iu,63:la,64:la,65:la,66:la,67:la,68:la,69:la,70:la,71:la,72:la,73:la,74:la,75:la,76:la,77:la,78:la,79:la,80:la,81:[.13889,.61111,0,0,.525],82:la,83:la,84:la,85:la,86:la,87:la,88:la,89:la,90:la,91:Wl,92:Wl,93:Wl,94:la,95:[.09514,0,0,0,.525],96:la,97:ps,98:la,99:ps,100:la,101:ps,102:la,103:$l,104:la,105:la,106:[.22222,.61111,0,0,.525],107:la,108:la,109:ps,110:ps,111:ps,112:$l,113:$l,114:ps,115:ps,116:[0,.55358,0,0,.525],117:ps,118:ps,119:ps,120:ps,121:$l,122:ps,123:Wl,124:Wl,125:Wl,126:la,127:la,160:Uc,176:la,184:[.19445,0,0,0,.525],305:ps,567:$l,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:la,715:la,728:la,730:la,770:la,771:la,776:la,915:la,916:la,920:la,923:la,926:la,928:la,931:la,933:la,934:la,936:la,937:la,8216:la,8217:la,8242:la,9251:[.11111,.21944,0,0,.525]}},Cd=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,Hc=10,Yu=.25,CA=1.2,Zc=.431,Xu={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[Zc,Zc,Zc],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.5,.732,.925],num2:[.394,.384,.5],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:[Yu,Yu,Yu],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]},jc=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Nu=5,Hu={"\xA0":" ","\u200B":" ",\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 ld(a,y){a===void 0&&(a=77);const b=Nd[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const z=String.fromCodePoint(a);if(z in Hu)a=Hu[z].codePointAt(0);else if(Cd.test(z))return a=77,{defaultMetrics:!0,depth:.2,height:.9,italic:0,skew:0,width:1};return{defaultMetrics:!0,depth:.2,height:.7,italic:0,skew:0,width:.8}}var dA={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"],longrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],longleftarrow:[["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],longleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],longrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],longleftrightharpoons:[["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],xleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],longleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],longRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716],longLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Kd={widehat1:[1062,239,.24],widehat2:[2364,300,.3],widehat3:[2364,360,.36],widehat4:[2364,420,.42],widecheck1:[1062,239,.24],widecheck2:[2364,300,.3],widecheck3:[2364,360,.36],widecheck4:[2364,420,.42],widetilde1:[600,260,.26],widetilde2:[1033,286,.286],widetilde3:[2339,306,.306],widetilde4:[2340,312,.34],overarc:[1061,159,.3],underarc:[1061,159,.3]},BA={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`,overarc:"M529 0c179 0 524 115 524 115 5 1 9 5 9 10 0 1-1 2-1 3l-4 22c-1 5-5 9-11 9h-2s-338-93-512-92c-174 0-513 92-513 92h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13 0 0 342-115 520-115z",underarc:`m 529 160
c -179 0 -524 -115 -524 -115
c -5 -1 -9 -5 -9 -10
c 0 -1 1 -2 1 -3
l 4 -22
c 1 -5 5 -9 11 -9
h 2
s 338 93 512 92
c 174 0 513 -92 513 -92
h 2
c 5 0 9 4 11 9
l 5 22
c 1 6 -2 12 -8 13
c 0 0 -342 115 -520 115
z
`,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`,widetilde1:`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`,widetilde2:`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`,widetilde3:`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`,widetilde4:`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`};function XA(a){if(Kd[a]){const[gt,_t,qt]=Kd[a],pn=`<span class="stretchy" style="height:${qt}em"><svg width="100%" height="${qt}em" viewBox="0 0 ${gt} ${_t}" preserveAspectRatio="none" ><path fill="currentcolor" d="${BA[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*qt/2)/100}em;min-width:0">${pn}</span>`}const[y,b,z,re]=dA[a];let pe,ye;const tt=z/1e3;y.length===3?(pe=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],ye=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(pe=["slice-1-of-2","slice-2-of-2"],ye=["xMinYMin","xMaxYMin"]):(pe=["slice-1-of-1"],ye=[re]);const ut=y.map((gt,_t)=>`<span class="${pe[_t]}" style=height:${tt}em><svg width=400em height=${tt}em viewBox="0 0 400000 ${z}" preserveAspectRatio="${ye[_t]} slice"><path fill="currentcolor" d="${BA[gt]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${tt}em;min-width:${b}em;">${ut}</span>`}function Eh(a){return dA[a]?dA[a][2]/1e3:Kd[a][2]}function Bl(a){const y=[];for(let b=0;b<a.length;b++){let z=a.charCodeAt(b);if(z===13&&a.charCodeAt(b+1)===10&&(z=10,b++),(z===13||z===12)&&(z=10),z===0&&(z=65533),z>=55296&&z<=56319){const re=a.charCodeAt(b+1);if(re>=56320&&re<=57343){const pe=z-55296,ye=re-56320;z=Cp(2,16)+pe*Cp(2,10)+ye,b++}}y.push(z)}return y}var au=8205,Lc=[[au,1],[65038,2],[127995,5],[129456,4],[917536,96]],ou,Bc=[127462,127487];function Dc(a){var y;if(ou===void 0){ou={};for(const b of Lc)for(let z=b[0];z<=b[0]+b[1]-1;z++)ou[z]=!0}return(y=ou[a])!=null?y:!1}function nc(a){return a>=Bc[0]&&a<=Bc[1]}function SA(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Bl(a);let z=0;for(;z<b.length;){const re=b[z++],pe=b[z];if(pe===au){const ye=z-1;for(z+=2;b[z]===au;)z+=2;y.push(String.fromCodePoint(...b.slice(ye,z-ye+1)))}else if(Dc(pe)){const ye=z-1;for(;Dc(b[z]);)z+=b[z]===au?2:1;y.push(String.fromCodePoint(...b.slice(ye,2*z-ye-1)))}else nc(re)?(z+=1,y.push(String.fromCodePoint(...b.slice(z-2,2)))):y.push(String.fromCodePoint(re))}return y}var ah=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=SA(a)}end(){return this.pos>=this.s.length}get(){return this.pos<this.s.length?this.s[this.pos++]:""}peek(){return this.s[this.pos]}match(a){const y=typeof this.s=="string"?a.exec(this.s.slice(this.pos)):a.exec(this.s.slice(this.pos).join(""));return y!=null&&y[0]?(this.pos+=y[0].length,y[0]):""}next(){if(this.end())return null;if(!this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]+/)||this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]/))return"<space>";const a=this.get();if(a==="\\"){if(!this.end()){let y=this.match(/^[a-zA-Z\*]+/);return y?this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]*/):y=this.get(),"\\"+y}}else{if(a==="{")return"<{>";if(a==="}")return"<}>";if(a==="^"){if(this.peek()==="^"){this.get();const y=this.match(/^(\^(\^(\^(\^[\da-f])?[\da-f])?[\da-f])?[\da-f])?[\da-f]{2}/);if(y)return String.fromCodePoint(Number.parseInt(y.slice(y.lastIndexOf("^")+1),16))}return a}else if(a==="#"){if(!this.end()){let y=!1;if(/[\d?@]/.test(this.peek())&&(y=!0,this.pos+1<this.s.length)){const b=this.s[this.pos+1];y=/[^\dA-Za-z]/.test(b)}return y?"#"+this.get():"#"}}else if(a==="$")return this.peek()==="$"?(this.get(),"<$$>"):"<$>"}return a}};function EA(a,y){var b,z,re,pe;const ye=[];let tt=a.next();if(tt&&tt!=="\\relax"){if(tt==="\\noexpand")tt=a.next(),tt&&ye.push(tt);else if(tt==="\\obeyspaces")a.obeyspaces=!0;else if(tt==="\\bgroup")ye.push("<{>");else if(tt==="\\egroup")ye.push("<}>");else if(tt==="\\string"){if(tt=a.next(),tt)if(tt.startsWith("\\"))for(const ut of tt)ye.push(ut==="\\"?"\\backslash":ut);else tt==="<{>"?ye.push("\\{"):tt==="<space>"?ye.push("~"):tt==="<}>"&&ye.push("\\}")}else if(tt==="\\csname"){for(;a.peek()==="<space>";)a.next();let ut="",gt=!1,_t=[];do{if(_t.length===0)if(/^#[\d?@]$/.test(a.peek())){const qt=a.get().slice(1);_t=FA((z=(b=y==null?void 0:y(qt))!=null?b:y==null?void 0:y("?"))!=null?z:"\\placeholder{}",y),tt=_t[0]}else tt=a.next(),_t=tt?[tt]:[];gt=_t.length===0,!gt&&tt==="\\endcsname"&&(gt=!0,_t.shift()),gt||(gt=tt==="<$>"||tt==="<$$>"||tt==="<{>"||tt==="<}>"||typeof tt=="string"&&tt.length>1&&tt.startsWith("\\")),gt||(ut+=_t.shift())}while(!gt);ut&&ye.push("\\"+ut),ye.push(..._t)}else if(tt!=="\\endcsname")if(tt.length>1&&tt.startsWith("#")){const ut=tt.slice(1);ye.push(...FA((pe=(re=y==null?void 0:y(ut))!=null?re:y==null?void 0:y("?"))!=null?pe:"\\placeholder{}",y))}else ye.push(tt)}return ye}function FA(a,y=null){const b=[];let z="";for(const ye of a.toString().split(/\r?\n/)){z&&b.push(z),z=" ";const tt=ye.match(/((?:\\%)|[^%])*/);tt!==null&&b.push(tt[0])}const re=new ah(St(b.join(""))),pe=[];do pe.push(...EA(re,y));while(!re.end());return pe}function ml(a){let y="";const b=[];for(const z of a)z&&(y&&/^[a-zA-Z\*]/.test(z)&&b.push(y),b.push(z),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(z)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(z)?" ":"");return b.join("")}function ju(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:ml([a,...y.map(b=>`{${b}}`)])}function AA(a){return ml(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var kA=class Av{constructor(y){Av._registry[y]=this}static createAtom(y,b,z){return Av._registry[y].createAtom(b,Wt(b,y),z)}static serialize(y,b){var z;if(!y||y.length===0)return"";if((z=b.skipStyles)!=null&&z){const re=[];for(const pe of e0(y)){const ye=Av._registry[pe[0].mode];re.push(...ye.serialize(pe,b))}return ml(re)}return ml(Df(y,b))}static getFont(y,b,z){return Av._registry[y].getFont(b,z)}};kA._registry={};var ud=kA;function e0(a){const y=[];let b=[],z="NONE";for(const re of a)re.type!=="first"&&(re.mode!==z?(b.length>0&&y.push(b),b=[re],z=re.mode):b.push(re));return b.length>0&&y.push(b),y}function pc(a,y){const b=[];let z=[],re;for(const pe of a)if(pe.type!=="first"&&pe.style){let ye;y==="variant"?(ye=pe.style.variant,pe.style.variantStyle&&pe.style.variantStyle!=="up"&&(ye+="-"+pe.style.variantStyle)):ye=pe.style[y],ye===re?z.push(pe):(z.length>0&&b.push(z),z=[pe],re=ye)}return z.length>0&&b.push(z),b}function Fh(a,y){var b;const{parent:z}=a[0],re=z==null?void 0:z.computedStyle.color,pe=[];for(const ye of e0(a)){const tt=y.defaultMode;for(const ut of pc(ye,"color")){const gt=ut[0].computedStyle,_t=ud._registry[ut[0].mode].serialize(ut,we(Ae({},y),{defaultMode:tt==="text"?"text":"math"}));!y.skipStyles&&gt.color&&gt.color!=="none"&&(!z||re!==gt.color)?pe.push(ju("\\textcolor",(b=gt.verbatimColor)!=null?b:gt.color,ml(_t))):pe.push(ml(_t))}}return pe}function t0(a,y){const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.backgroundColor;return pc(a,"backgroundColor").map(re=>{var pe;if(re.length>0||re[0].type!=="box"){const ye=re[0].computedStyle;if(ye.backgroundColor&&ye.backgroundColor!=="none"&&(!b||z!==ye.backgroundColor))return ju("\\colorbox",(pe=ye.verbatimBackgroundColor)!=null?pe:ye.backgroundColor,ml(Fh(re,we(Ae({},y),{defaultMode:"text"}))))}return ml(Fh(re,y))})}function Df(a,y){if(a.length===0)return[];const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.fontSize,re=[];for(const pe of pc(a,"fontSize")){const ye=pe[0].computedStyle.fontSize,tt=t0(pe,y);tt&&(ye&&ye!=="auto"&&(!b||z!==ye)?re.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][ye],...tt):re.push(...tt))}return re}function oh(a){return a?{mord:"ord",mbin:"bin",mop:"op",mrel:"rel",mopen:"open",mclose:"close",mpunct:"punct",minner:"inner",spacing:"ignore",latex:"latex",composition:"inner",error:"inner",placeholder:"ord",supsub:"ignore"}[a]:void 0}function Nf(a){if(a.length===0)return"ord";const y=oh(a[0].type),b=oh(a[a.length-1].type);return y&&y===b?y:"ord"}function wf(a,y){if(typeof a=="string")return a;if(typeof a=="number"){console.assert(Number.isFinite(a));const b=Math.ceil(100*a)/100;return b===0?"0":b.toString()+(y!=null?y:"")}return""}var Li=class L1{constructor(y,b){var z,re,pe,ye,tt;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:Be(y)?this.children=y.filter(gt=>gt!==null):y&&y instanceof L1&&(this.children=[y]),this.children)for(const gt of this.children)gt.parent=this;this.type=(z=b==null?void 0:b.type)!=null?z:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(re=b==null?void 0:b.classes)!=null?re:"",this.isTight=(pe=b==null?void 0:b.isTight)!=null?pe:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let ut=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(ut=(tt=ud.getFont((ye=b.mode)!=null?ye:"math",this,we(Ae({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?tt:void 0),ut||(ut="Main-Regular"),this._height=0,this._depth=0,this._width=0,this.hasExplicitWidth=!1,this.skew=0,this.italic=0,this.maxFontSize=0,this.scale=1,(b==null?void 0:b.maxFontSize)!==void 0&&(this.maxFontSize=b.maxFontSize),Of(this,ut)}set atomID(y){y===void 0||y.length===0||(this.id=y)}selected(y){if(this.isSelected!==y&&(this.isSelected=y,this.children))for(const b of this.children)b.selected(y)}setStyle(y,b,z){if(b===void 0)return;const re=wf(b,z);re.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=re)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=wf(y,"em"),this.height-=y,this.depth+=y)}get left(){var y;return(y=this.cssProperties)!=null&&y["margin-left"]?Number.parseFloat(this.cssProperties["margin-left"]):0}set left(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-left"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-left"]=wf(y,"em")))}set right(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-right"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-right"]=wf(y,"em")))}set bottom(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-bottom"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-bottom"]=wf(y,"em")))}get width(){return this._width*this.scale}set width(y){this._width=y,this.hasExplicitWidth=!0}set softWidth(y){}get height(){return this._height*this.scale}set height(y){this._height=y}get depth(){return this._depth*this.scale}set depth(y){this._depth=y}wrap(y){const b=y.parent;if(!b)return this;y.isPhantom&&this.setStyle("opacity",0);const z=y.color;z&&z!==b.color&&this.setStyle("color",z);let re=y.backgroundColor;this.isSelected&&(re=wt(re)),re&&re!==b.backgroundColor&&(this.setStyle("background-color",re),this.setStyle("display","inline-block"));const pe=y.scalingFactor;return this.scale=pe,this.skew*=pe,this.italic*=pe,this}toMarkup(){var y,b,z,re;let pe=(y=this.value)!=null?y:"";if(this.children)for(const Kn of this.children)pe+=Kn.toMarkup();let ye="";if(this.svgBody)ye=XA(this.svgBody);else if(this.svgOverlay){ye='<span style="',ye+="display: inline-block;",ye+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,ye+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,ye+='">',ye+=pe,ye+="</span>",ye+='<svg style="position:absolute;overflow:visible;',ye+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const Kn=(b=this.cssProperties)==null?void 0:b.padding;Kn?(ye+=`top:${Kn};`,ye+=`left:${Kn};`,ye+=`width:calc(100% - 2 * ${Kn} );`):ye+="top:0;left:0;width:100%;",ye+="z-index:2;",ye+='"',this.svgStyle&&(ye+=this.svgStyle),ye+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,ye+=`>${this.svgOverlay}</svg>`}let tt="";const ut=this.classes.split(" ");ut.push((z={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?z:""),this.caret==="latex"&&ut.push("ML__latex-caret"),this.isSelected&&ut.push("ML__selected");const gt=ut.length===1?ut[0]:ut.filter((Kn,nr,di)=>Kn.length>0&&di.indexOf(Kn)===nr).join(" ");if(gt.length>0&&(tt+=` class="${gt}"`),this.id&&(tt+=` data-atom-id=${this.id}`),this.cssId&&(tt+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(tt+=" "+Object.keys(this.attributes).map(Kn=>`${Kn}="${this.attributes[Kn]}"`).join(" ")),this.htmlData){const Kn=this.htmlData.split(",");for(const nr of Kn){const di=nr.match(/([^=]+)=(.+$)/);if(di){const Ha=di[1].trim().replace(/ /g,"-");Ha&&(tt+=` data-${Ha}="${di[2]}" `)}else{const Ha=nr.trim().replace(/ /g,"-");Ha&&(tt+=` data-${Ha} `)}}}const _t=(re=this.cssProperties)!=null?re:{};this.hasExplicitWidth&&_t.width===void 0&&(_t.width=`${Math.ceil(this._width*100)/100}em`);const qt=Object.keys(_t).map(Kn=>`${Kn}:${_t[Kn]}`);if(this.scale!==void 0&&this.scale!==1&&(pe.length>0||ye.length>0)&&qt.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const Kn=this.htmlStyle.split(";");let nr="";for(const di of Kn){const Ha=di.match(/([^=]+):(.+$)/);if(Ha){const li=Ha[1].trim().replace(/ /g,"-");li&&(nr+=`${li}:${Ha[2]};`)}}nr&&(tt+=` style="${nr}"`)}qt.length>0&&(tt+=` style="${qt.join(";")}"`);let pn="";return tt.length>0||ye.length>0?pn=`<span${tt}>${pe}${ye}</span>`:pn=pe,this.caret==="text"?pn+='<span class="ML__text-caret"></span>':this.caret==="math"&&(pn+='<span class="ML__caret"></span>'),pn}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,z=y.children&&y.children.length>0;if(b||z)return!1;if(y.cssProperties||this.cssProperties){for(const ut of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&ut in y.cssProperties||this.cssProperties&&ut in this.cssProperties)return!1}const re=this.cssProperties?Object.keys(this.cssProperties).length:0,pe=y.cssProperties?Object.keys(y.cssProperties).length:0;if(re!==pe)return!1;if(re>0){for(const ut of Object.keys(this.cssProperties))if(this.cssProperties[ut]!==y.cssProperties[ut])return!1}const ye=this.classes.trim().replace(/\s+/g," ").split(" "),tt=y.classes.trim().replace(/\s+/g," ").split(" ");if(ye.length!==tt.length)return!1;ye.sort(),tt.sort();for(const[ut,gt]of ye.entries())if(gt==="vertical-separator"||gt!==tt[ut])return!1;return this.value+=y.value,this.height=Math.max(this.height,y.height),this.depth=Math.max(this.depth,y.depth),this._width=this._width+y._width,this.maxFontSize=Math.max(this.maxFontSize,y.maxFontSize),this.italic=y.italic,!0}};function sh(a){if(!a||a.length===0)return[];a[0].children=sh(a[0].children);const y=[a[0]];for(let b=1;b<a.length;b++)y[y.length-1].tryCoalesceWith(a[b])||(a[b].children=sh(a[b].children),y.push(a[b]));return y}function kh(a){return a.children&&(a.children=sh(a.children)),a}function n0(a,y){if(!a)return new Li(null,y);const b=new Li(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const z=[b];if(a.depth!==0){const re=new Li(null,{classes:"ML__strut--bottom",type:"ignore"});re.setStyle("height",a.height+a.depth,"em"),re.setStyle("vertical-align",-a.depth,"em"),z.push(re)}return z.push(a),new Li(z,we(Ae({},y),{type:"lift"}))}function MA(a){const y=Eh(a)/2,b=new Li(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function Of(a,y){var b;if(a.type==="latex"){a.height=.9,a.depth=.2,a._width=1;return}if(a.value){a.height=-1/0,a.depth=-1/0,a._width=0,a.skew=-1/0,a.italic=-1/0;for(let z=0;z<a.value.length;z++){const re=ld(a.value.codePointAt(z),y);a.height=Math.max(a.height,re.height),a.depth=Math.max(a.depth,re.depth),a._width+=re.width,a.skew=re.skew,a.italic=re.italic}return}if(a.children&&a.children.length>0){let z=-1/0,re=-1/0,pe=0;for(const ye of a.children)ye.height>z&&(z=ye.height),ye.depth>re&&(re=ye.depth),pe=Math.max(pe,(b=ye.maxFontSize)!=null?b:0);a.height=z,a.depth=re,a._width=a.children.reduce((ye,tt)=>ye+tt.width,0),a.maxFontSize=pe}}function lh(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const z=[b],re=-b.shift-b.box.depth;let pe=re;for(let ye=1;ye<y.length;ye++){const tt=y[ye],ut=-tt.shift-pe-tt.box.depth,gt=ut-(b.box.height+b.box.depth);pe=pe+ut,z.push(gt),z.push(tt),b=tt}return[z,re]}if("top"in a){let y=a.top;for(const b of a.children)y-=typeof b=="number"?b:b.box.height+b.box.depth;return[a.children,y]}else{if("bottom"in a)return[a.children,-a.bottom];if("firstBaseline"in a){const y=a.firstBaseline[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.firstBaseline,-y.box.depth]}else if("shift"in a){const y=a.children[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.children,-y.box.depth-a.shift]}}return[null,0]}function xf(a){var y;const[b,z]=lh(a);if(!b)return[[],0,0];const re=new Li(null,{classes:"pstrut"});let pe=0;for(const nr of b)if(typeof nr!="number"){const di=nr.box;pe=Math.max(pe,di.maxFontSize,di.height)}pe+=2,re.height=pe,re.setStyle("height",pe,"em");const ye=[];let tt=z,ut=z,gt=z,_t=0;for(const nr of b){if(typeof nr=="number")gt+=nr;else{const di=nr.box,Ha=(y=nr.classes)!=null?y:[],li=new Li([re,di],{classes:Ha.join(" "),style:nr.style});di.setStyle("height",di.height+di.depth,"em"),di.setStyle("display","inline-block"),li.setStyle("top",-pe-gt-di.depth,"em"),nr.marginLeft&&li.setStyle("margin-left",nr.marginLeft,"em"),nr.marginRight&&li.setStyle("margin-right",nr.marginRight,"em"),ye.push(li),gt+=di.height+di.depth,_t=Math.max(_t,li.width)}tt=Math.min(tt,gt),ut=Math.max(ut,gt)}ye.forEach(nr=>{nr.softWidth=_t});const qt=new Li(ye,{classes:"vlist"});if(qt.softWidth=_t,qt.height=ut,qt.setStyle("height",ut,"em"),tt>=0)return[[new Li(qt,{classes:"vlist-r"})],ut,-tt];const pn=new Li(new Li(null),{classes:"vlist"});pn.height=-tt,pn.setStyle("height",-tt,"em");const Kn=new Li(8203,{classes:"vlist-s",maxFontSize:0});return Kn.softWidth=0,Kn.height=0,Kn.depth=0,[[new Li([qt,Kn],{classes:"vlist-r"}),new Li(pn,{classes:"vlist-r"})],ut,-tt]}var Ou=class extends Li{constructor(a,y){var b;const[z,re,pe]=xf(a);super(z.length===1?z[0]:z,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(z.length===2?" vlist-t2":"")}),this.height=re,this.depth=pe,this.softWidth=z.reduce((ye,tt)=>Math.max(ye,tt.width),0)}};function Cf(a,y){var b,z,re,pe,ye;const tt=a.metrics,ut=new Li(y.base),gt=(b=y.baseShift)!=null?b:0,_t=(z=y.slant)!=null?z:0;let qt=0,pn=0;y.above&&(qt=(re=y.aboveShift)!=null?re:Math.max(tt.bigOpSpacing1,tt.bigOpSpacing3-y.above.depth)),y.below&&(pn=(pe=y.belowShift)!=null?pe:Math.max(tt.bigOpSpacing2,tt.bigOpSpacing4-y.below.height));let Kn=null;if(y.below&&y.above){const nr=tt.bigOpSpacing5+y.below.height+y.below.depth+pn+ut.depth+gt;Kn=new Ou({bottom:nr,children:[tt.bigOpSpacing5,{box:y.below,marginLeft:-_t,classes:["ML__center"]},pn,{box:ut,classes:["ML__center"]},qt,{box:y.above,marginLeft:_t,classes:["ML__center"]},tt.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)Kn=new Ou({top:ut.height-gt,children:[tt.bigOpSpacing5,{box:y.below,marginLeft:-_t,classes:["ML__center"]},pn,{box:ut,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const nr=ut.depth+gt;Kn=new Ou({bottom:nr,children:[{box:ut,classes:["ML__center"]},qt,{box:y.above,marginLeft:_t,classes:["ML__center"]},tt.bigOpSpacing5]}).wrap(a)}else{const nr=ut.depth+gt;Kn=new Ou({bottom:nr,children:[{box:ut},tt.bigOpSpacing5]}).wrap(a)}return new Li(Kn,{type:(ye=y.type)!=null?ye:"op"})}var Mh=7,_A=6,uh=5,IA=4,JA=3,fu=2,nd=1,Vc=0,qA=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const z={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys(Xu).reduce((re,pe)=>we(Ae({},re),{[pe]:Xu[pe][z]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Zl[[Vc,nd,Vc,nd,fu,JA,fu,JA][this.id]]}get sub(){return Zl[[Vc,Vc,Vc,Vc,fu,fu,fu,fu][this.id]]}get fracNum(){return Zl[[Vc,nd,Vc,nd,fu,JA,IA,uh][this.id]]}get fracDen(){return Zl[[Vc,Vc,Vc,Vc,fu,fu,IA,IA][this.id]]}get cramp(){return Zl[[Vc,Vc,fu,fu,IA,IA,_A,_A][this.id]]}get isTight(){return this.sizeDelta<0}},Sl={7:new qA(Mh,0,!1),6:new qA(_A,0,!0),5:new qA(uh,0,!1),4:new qA(IA,0,!0),3:new qA(JA,-3,!1),2:new qA(fu,-3,!0),1:new qA(nd,-4,!1),0:new qA(Vc,-4,!0)},Zl=we(Ae({},Sl),{displaystyle:Sl[Mh],textstyle:Sl[uh],scriptstyle:Sl[JA],scriptscriptstyle:Sl[nd]});function Bd(a,y){var b;if(!a)return 0;const z={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:Hc,bp:803/800,dd:1238/1157,pc:12,in:72.27,mu:10/18}[(b=a.unit)!=null?b:"pt"];if(Number.isFinite(y)){const re=Cp(10,y);return Math.round(a.dimension/Hc*z*re)/re}return a.dimension*z}function $A(a,y){if(a===null)return 0;const b=Bd(a)/Hc;if(Number.isFinite(y)){const z=Cp(10,y);return Math.round(b*z)/z}return b}function ef(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function _0(a){let y=ef(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${ef(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${ef(a.shrink)}`),y}function Nc(a){var y,b;if(a==null)return null;let z="";if("dimension"in a&&(z=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(z=_0(a)),"number"in a)if(!("base"in a)||a.base==="decimal")z=Number(a.number).toString();else if(a.base==="alpha")z=`\`${String.fromCodePoint(a.number)}`;else{const re=Math.round(a.number)>>>0;a.base==="hexadecimal"?(z=Number(re).toString(16).toUpperCase(),re<=255?z=z.padStart(2,"0"):re<=65535?z=z.padStart(4,"0"):re<=16777215?z=z.padStart(6,"0"):z=z.padStart(8,"0"),z=`"${z}`):a.base==="octal"&&(z=Number(re).toString(8),re<=63?z=z.padStart(2,"0"):re<=30583?z=z.padStart(4,"0"):z=z.padStart(8,"0"),z=`'${z}`)}return"register"in a&&("factor"in a&&(a.factor===-1?z="-":a.factor!==1&&(z=Number(a.factor).toString())),"global"in a&&a.global&&(z+="\\global"),z+=`\\${a.register}`),"string"in a&&(z=a.string),(b=a.relax)!=null&&b&&(z+="\\relax"),z}function LA(a,y){return a==null?null:"number"in a?we(Ae({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?we(Ae({},a),{factor:a.factor*y}):we(Ae({},a),{factor:y}):"dimension"in a?we(Ae({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:LA(a.glue,y),shrink:LA(a.shrink,y),grow:LA(a.grow,y)}:a.shrink?{glue:LA(a.glue,y),shrink:LA(a.shrink,y)}:a.grow?{glue:LA(a.glue,y),grow:LA(a.grow,y)}:{glue:LA(a.glue,y)}:null}var I0={"p@":{dimension:1},"z@":{dimension:0},maxdimen:{dimension:16383.99999},hfuzz:{dimension:.1},vfuzz:{dimension:.1},overfullrule:{dimension:5},hsize:{dimension:6.5,unit:"in"},vsize:{dimension:8.9,unit:"in"},parindent:{dimension:20},maxdepth:{dimension:4},splitmaxdepth:{register:"maxdimen"},boxmaxdepth:{register:"maxdimen"},delimitershortfall:{dimension:5},nulldelimiterspace:{dimension:1.2,unit:"pt"},scriptspace:{dimension:.5},topskip:{dimension:10},splittopskip:{dimension:10},normalbaselineskip:{dimension:12},normallineskip:{dimension:1},normallineskiplimit:{dimension:0},jot:{dimension:3},doublerulesep:{dimension:2},arrayrulewidth:{dimension:.4},arraycolsep:{dimension:5},fboxsep:{dimension:3},fboxrule:{dimension:.4},"z@skip":{glue:{dimension:0},shrink:{dimension:0},grow:{dimension:0}},hideskip:{glue:{dimension:-1e3},grow:{dimension:1,unit:"fill"}},"@flushglue":{glue:{dimension:0},grow:{dimension:1,unit:"fill"}},parskip:{glue:{dimension:0},grow:{dimension:1}},abovedisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},abovedisplayshortskip:{glue:{dimension:0},grow:{dimension:3}},belowdisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},belowdisplayshortskip:{glue:{dimension:7},grow:{dimension:3},shrink:{dimension:4}},parfillskip:{glue:{dimension:0},grow:{dimension:1,unit:"fil"}},thinmuskip:{glue:{dimension:3,unit:"mu"}},medmuskip:{glue:{dimension:4,unit:"mu"},grow:{dimension:2,unit:"mu"},shrink:{dimension:4,unit:"mu"}},thickmuskip:{glue:{dimension:5,unit:"mu"},grow:{dimension:5,unit:"mu"}},smallskipamount:{glue:{dimension:3},grow:{dimension:1},shrink:{dimension:1}},medskipamount:{glue:{dimension:6},grow:{dimension:2},shrink:{dimension:3}},bigskipamount:{glue:{dimension:12},grow:{dimension:2},shrink:{dimension:4}},pretolerance:100,tolerance:200,hbadness:1e3,vbadness:1e3,linepenalty:10,hyphenpenalty:50,exhyphenpenalty:50,binoppenalty:700,relpenalty:500,clubpenalty:150,widowpenalty:150,displaywidowpenalty:50,brokenpenalty:100,predisplaypenalty:1e4,doublehyphendemerits:1e4,finalhyphendemerits:5e3,adjdemerits:1e4,tracinglostchars:1,uchyph:1,delimiterfactor:901,defaulthyphenchar:"\\-",defaultskewchar:-1,newlinechar:-1,showboxbreadth:5,showboxdepth:3,errorcontextlines:5,interdisplaylinepenalty:100,interfootnotelinepenalty:100,baselineSkip:1.2,arraystretch:1,month:new Date().getMonth()+1,day:new Date().getDate(),year:new Date().getFullYear()};function Bf(){return Ae({},I0)}function L0(){return{registers:Bf(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:Ke.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:xt,backgroundColorMap:Je,getMacro:a=>vn(a,tn())}}var Vl=class D1{constructor(y,b){var z,re,pe,ye,tt,ut,gt,_t,qt,pn,Kn,nr,di,Ha,li;let na;y!=null&&y.parent?(this.parent=y.parent,na=y.parent,this.registers={}):(na=Ae(Ae({},L0()),(z=y==null?void 0:y.from)!=null?z:{}),this.registers=na.registers),na.atomIdsSettings&&(this.atomIdsSettings=Ae({},na.atomIdsSettings)),this.renderPlaceholder=na.renderPlaceholder,this.isPhantom=(ye=(pe=y==null?void 0:y.isPhantom)!=null?pe:(re=this.parent)==null?void 0:re.isPhantom)!=null?ye:!1,this.letterShapeStyle=na.letterShapeStyle,this.minFontScale=na.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(ut=(tt=this.parent)==null?void 0:tt.color)!=null?ut:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(_t=(gt=this.parent)==null?void 0:gt.backgroundColor)!=null?_t:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((qt=this.parent)==null?void 0:qt.size)?this.size=b.fontSize:this.size=(Kn=(pn=this.parent)==null?void 0:pn.size)!=null?Kn:Nu;let Ka=(di=(nr=this.parent)==null?void 0:nr.mathstyle)!=null?di:Zl.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(na instanceof D1)switch(y.mathstyle){case"cramp":Ka=Ka.cramp;break;case"superscript":Ka=Ka.sup;break;case"subscript":Ka=Ka.sub;break;case"numerator":Ka=Ka.fracNum;break;case"denominator":Ka=Ka.fracDen;break}switch(y.mathstyle){case"textstyle":Ka=Zl.textstyle;break;case"displaystyle":Ka=Zl.displaystyle;break;case"scriptstyle":Ka=Zl.scriptstyle;break;case"scriptscriptstyle":Ka=Zl.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=Ka,this.smartFence=na.smartFence,this.placeholderSymbol=na.placeholderSymbol,this.colorMap=(Ha=na.colorMap)!=null?Ha:fa=>fa,this.backgroundColorMap=(li=na.backgroundColorMap)!=null?li:fa=>fa,this.getMacro=na.getMacro,console.assert(this.parent!==void 0||this.registers!==void 0)}makeID(){if(!this.atomIdsSettings)return;if(this.atomIdsSettings.overrideID)return this.atomIdsSettings.overrideID;if(typeof this.atomIdsSettings.seed!="number")return`${Date.now().toString(36).slice(-2)}${Math.floor(Math.random()*1e5).toString(36)}`;const y=this.atomIdsSettings.seed.toString(36);return this.atomIdsSettings.seed+=1,y}scale(y){return y*this.effectiveFontSize}get scalingFactor(){return this.parent?this.effectiveFontSize/this.parent.effectiveFontSize:1}get isDisplayStyle(){return this.mathstyle.id===Mh||this.mathstyle.id===_A}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(jc[Math.max(1,this.size+this.mathstyle.sizeDelta)],this.minFontScale)}getRegister(y){var b;if((b=this.registers)!=null&&b[y])return this.registers[y];if(this.parent)return this.parent.getRegister(y)}getRegisterAsNumber(y){const b=this.getRegister(y);if(typeof b=="number")return b;if(typeof b=="string")return Number(b)}getRegisterAsGlue(y){var b;if((b=this.registers)!=null&&b[y]){const z=this.registers[y];return typeof z=="object"&&"glue"in z?z:typeof z=="object"&&"dimension"in z?{glue:{dimension:z.dimension}}:typeof z=="number"?{glue:{dimension:z}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return $A(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const z=this.registers[y];return typeof z=="object"&&"glue"in z?z.glue:typeof z=="object"&&"dimension"in z?z:typeof z=="number"?{dimension:z}:void 0}if(this.parent)return this.parent.getRegisterAsDimension(y)}setRegister(y,b){if(b===void 0){delete this.registers[y];return}this.registers[y]=b}evaluate(y){if(!y||!("register"in y))return y;let b=this;if("global"in y&&y.global)for(;b.parent;)b=b.parent;let z=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(z=y.factor);const re=b.getRegister(y.register);if(re===void 0)return;if(typeof re=="string")return{string:Number(re).toString()+re};if(typeof re=="number")return{number:z*re};const pe=b.evaluate(re);if(pe!==void 0)return"string"in pe?{string:Number(re).toString()+pe.string}:"number"in pe?{number:z*pe.number}:"dimension"in pe?we(Ae({},pe),{dimension:z*pe.dimension}):"glue"in pe?we(Ae({},pe),{glue:we(Ae({},pe.glue),{dimension:z*pe.glue.dimension}),shrink:pe.shrink?we(Ae({},pe.shrink),{dimension:z*pe.shrink.dimension}):void 0,grow:pe.grow?we(Ae({},pe.grow),{dimension:z*pe.grow.dimension}):void 0}):y}toDimension(y){const b=this.evaluate(y);return b===void 0?null:"dimension"in b?b:"glue"in b?b.glue:"number"in b?{dimension:b.number}:null}toEm(y,b){if(y===null)return 0;const z=this.toDimension(y);return z===null?0:Bd(z,b)/Hc}toNumber(y){if(y===null)return null;const b=this.evaluate(y);return b===void 0?null:"number"in b?b.number:"dimension"in b?b.dimension:"glue"in b?b.glue.dimension:"string"in b?Number(b.string):null}toColor(y){var b,z;if(y===null)return null;const re=this.evaluate(y);return re===void 0?null:"string"in re?(z=(b=this.colorMap)==null?void 0:b.call(this,re.string))!=null?z:re.string:null}toBackgroundColor(y){var b,z;if(y===null)return null;const re=this.evaluate(y);return re===void 0?null:"string"in re?(z=(b=this.backgroundColorMap)==null?void 0:b.call(this,re.string))!=null?z:re.string:null}},_h=["body","above","below","superscript","subscript"];function Sf(a){return typeof a=="string"&&_h.includes(a)}function Ih(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var Ei=class im{constructor(y){var b,z,re,pe,ye,tt;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(z=(b=y.command)!=null?b:this.value)!=null?z:"",this.mode=(re=y.mode)!=null?re:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=Ae({},y.style),this.displayContainsHighlight=(pe=y.displayContainsHighlight)!=null?pe:!1,this.captureSelection=(ye=y.captureSelection)!=null?ye:!1,this.skipBoundary=(tt=y.skipBoundary)!=null?tt:!1,y.verbatimLatex!==void 0&&y.verbatimLatex!==null&&(this.verbatimLatex=y.verbatimLatex),y.args&&(this.args=y.args),y.body&&(this.body=y.body),this._changeCounter=0}static createBox(y,b,z){var re;if(!b)return null;const pe=om(b),ye=[];for(const ut of pe){const gt=ut[0].style,_t=sm(y,ut,{style:{color:gt.color,backgroundColor:gt.backgroundColor,fontSize:gt.fontSize}});_t&&ye.push(_t)}if(ye.length===0)return null;const tt=((re=z==null?void 0:z.classes)!=null?re:"").trim();return ye.length===1&&!tt&&!(z!=null&&z.type)?ye[0].wrap(y):new Li(ye,{classes:tt,type:z==null?void 0:z.type}).wrap(y)}static serialize(y,b){return ud.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const z=new WeakSet;let{parent:re}=y;for(;re;)z.add(re),re=re.parent;for(re=b.parent;re;){if(z.has(re))return re;re=re.parent}console.assert(!!re)}static fromJson(y){return typeof y=="string"?new im({type:"mord",value:y,mode:"math"}):new im(y)}get latexMode(){return this.mode==="math"?"math":"text"}toJson(){const y={};if(this.type&&(y.type=this.type),this.mode!=="math"&&(y.mode=this.mode),this.command&&this.command!==this.value&&(y.command=this.command),this.value!==void 0&&(y.value=this.value),this.style&&Object.keys(this.style).length>0&&(y.style=Ae({},this.style)),this.verbatimLatex!==void 0&&(y.verbatimLatex=this.verbatimLatex),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.explicitSubsupPlacement&&(y.explicitSubsupPlacement=!0),this.isFunction&&(y.isFunction=!0),this.displayContainsHighlight&&(y.displayContainsHighlight=!0),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.skipBoundary&&(y.skipBoundary=!0),this.captureSelection&&(y.captureSelection=!0),this.args&&(y.args=r0(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(z=>z.type!=="first").map(z=>z.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Wt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?ml([ju(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?ml([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return ud.serialize(this.body,we(Ae({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return ud.serialize(this.above,y)}belowToLatex(y){return ud.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=we(Ae({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const z=ud.serialize(this.subscript,y);z.length===0?b+="_{}":z.length===1?/^[0-9]$/.test(z)?b+=`_${z}`:b+=`_{${z}}`:b+=`_{${z}}`}if(this.branch("superscript")!==void 0){const z=ud.serialize(this.superscript,y);z.length===0?b+="^{}":z.length===1?z==="\u2032"?b+="^\\prime ":z==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(z)?b+=`^${z}`:b+=`^{${z}}`:b+=`^{${z}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(Sf(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of _h)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(Sf(y)),Sf(y)?(this._branches?this._branches[y]||(this._branches[y]=[this.makeFirstAtom(y)]):this._branches={[y]:[this.makeFirstAtom(y)]},this.isDirty=!0,this._branches[y]):[]}get row(){return Ih(this.parentBranch)?this.parentBranch[0]:-1}get col(){return Ih(this.parentBranch)?this.parentBranch[1]:-1}get body(){var y;return(y=this._branches)==null?void 0:y.body}set body(y){this.setChildren(y,"body")}get superscript(){var y;return(y=this._branches)==null?void 0:y.superscript}set superscript(y){this.setChildren(y,"superscript")}get subscript(){var y;return(y=this._branches)==null?void 0:y.subscript}set subscript(y){this.setChildren(y,"subscript")}get above(){var y;return(y=this._branches)==null?void 0:y.above}set above(y){this.setChildren(y,"above")}get below(){var y;return(y=this._branches)==null?void 0:y.below}set below(y){this.setChildren(y,"below")}get computedStyle(){var y,b;const z=typeof this.style.verbatimColor=="string",re=typeof this.style.verbatimBackgroundColor=="string",pe=Ae(Ae({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete pe.variant,delete pe.variantStyle,re||delete pe.verbatimBackgroundColor,z||delete pe.verbatimColor,pe}applyStyle(y){this.isDirty=!0,this.style=Ae(Ae({},this.style),y),this.style.fontFamily==="none"&&delete this.style.fontFamily,this.style.fontShape==="auto"&&delete this.style.fontShape,this.style.fontSeries==="auto"&&delete this.style.fontSeries,this.style.color==="none"&&(delete this.style.color,delete this.style.verbatimColor),this.style.backgroundColor==="none"&&(delete this.style.backgroundColor,delete this.style.verbatimBackgroundColor),this.style.fontSize==="auto"&&delete this.style.fontSize;for(const b of this.children)b.applyStyle(y)}getInitialBaseElement(){var y,b,z;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(z=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?z:this)}getFinalBaseElement(){return this.hasEmptyBranch("body")?this:this.body[this.body.length-1].getFinalBaseElement()}isCharacterBox(){return this.type==="leftright"||this.type==="genfrac"||this.type==="subsup"||this.type==="delim"||this.type==="array"||this.type==="surd"?!1:this.getFinalBaseElement().type==="mord"}hasEmptyBranch(y){const b=this.branch(y);return b?(console.assert(b.length>0),console.assert(b[0].type==="first"),b.length===1):!0}setChildren(y,b){var z;if(!y||(console.assert(Sf(b)),!Sf(b)))return;console.assert(((z=y[0])==null?void 0:z.type)!=="first");const re=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=re:this._branches={[b]:re};for(const pe of y)pe.parent=this,pe.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new im({type:"first",mode:this.mode});return b.parent=this,b.parentBranch=y,b}addChild(y,b){console.assert(y.type!=="first"),this.createBranch(b).push(y),this.isDirty=!0,y.parent=this,y.parentBranch=b}addChildBefore(y,b){console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const z=this.createBranch(b);for(const re of y)re.parent=this,re.parentBranch=b,z.push(re);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b)+1,0,...y),this.isDirty=!0;for(const re of y)re.parent=this,re.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(Sf(y)&&(this._branches[y]=void 0),!b)return[];for(const z of b)z.parent=void 0,z.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),z=b.indexOf(y);console.assert(z>=0),b.splice(z,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of _h)if(this._branches[b])for(const z of this._branches[b])y.push(...z.children),y.push(z);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=Wt(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const z=new Vl({parent:y},this.style);let re=this.createBox(z,{classes:this.parent?"":"ML__base"});return re?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(re=this.attachSupsub(z,{base:re})),re.wrap(z)):null}attachSupsub(y,b){var z;const re=b.base,pe=this.superscript,ye=this.subscript;if(!pe&&!ye)return re;let tt=null,ut=null;const gt=(z=b.isCharacterBox)!=null?z:this.isCharacterBox();let _t=0;if(pe){const di=new Vl({parent:y,mathstyle:"superscript"});tt=im.createBox(di,pe),gt||(_t=re.height-y.metrics.supDrop*di.scalingFactor)}let qt=0;if(ye){const di=new Vl({parent:y,mathstyle:"subscript"});ut=im.createBox(di,ye),gt||(qt=re.depth+y.metrics.subDrop*di.scalingFactor)}let pn;y.isDisplayStyle?pn=y.metrics.sup1:y.isCramped?pn=y.metrics.sup3:pn=y.metrics.sup2;const Kn=.5/Hc/y.scalingFactor;let nr=null;if(ut&&tt){_t=Math.max(_t,pn,tt.depth+.25*y.metrics.xHeight),qt=Math.max(qt,y.metrics.sub2);const di=y.metrics.defaultRuleThickness;if(_t-tt.depth-(ut.height-qt)<4*di){qt=4*di-(_t-tt.depth)+ut.height;const li=.8*y.metrics.xHeight-(_t-tt.depth);li>0&&(_t+=li,qt-=li)}const Ha=this.isExtensibleSymbol&&re.italic?-re.italic:0;nr=new Ou({individualShift:[{box:ut,shift:qt,marginLeft:Ha},{box:tt,shift:-_t}]}).wrap(y)}else ut&&!tt?(qt=Math.max(qt,y.metrics.sub1,ut.height-.8*Zc),nr=new Ou({shift:qt,children:[{box:ut,marginRight:Kn,marginLeft:this.isCharacterBox()?-re.italic:0}]})):!ut&&tt&&(_t=Math.max(_t,pn,tt.depth+.25*Zc),nr=new Ou({shift:-_t,children:[{box:tt,marginRight:Kn}]}));return new Li([re,new Li(nr,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const z=this.superscript?im.createBox(new Vl({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,re=this.subscript?im.createBox(new Vl({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!z&&!re?b.base.wrap(y):Cf(y,we(Ae({},b),{above:z,below:re}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let z=this.parent;for(;z&&!z.captureSelection;)z=z.parent;return z!=null&&z.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var z,re,pe,ye;const tt=(z=this.value)!=null?z:this.body,ut=(re=b==null?void 0:b.boxType)!=null?re:oh(this.type);let gt=(pe=b==null?void 0:b.classes)!=null?pe:"";this.mode==="text"&&(gt+=" ML__text");const _t=typeof tt=="string"||tt===void 0?new Li(tt!=null?tt:null,{type:ut,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:we(Ae({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:gt}):(ye=im.createBox(y,tt,{type:ut,classes:gt}))!=null?ye:new Li(null);return y.isTight&&(_t.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(_t.italic=0),_t.right=_t.italic,this.bind(y,_t),this.caret&&!this.superscript&&!this.subscript&&(_t.caret=this.caret),_t}isDigit(){var y;return this.type==="mord"&&this.value?/^[\d,\.]$/.test(this.value):this.type==="group"&&((y=this.body)==null?void 0:y.length)===2?this.body[0].type==="first"&&this.body[1].value===",":!1}asDigit(){var y;return this.type==="mord"&&this.value&&/^[\d,\.]$/.test(this.value)?this.value:this.type==="group"&&((y=this.body)==null?void 0:y.length)===2&&this.body[0].type==="first"&&this.body[1].value===","?".":""}};function om(a){let y;const b=[];let z=[];for(const re of a)if(!y&&!re.style)z.push(re);else{const pe=re.computedStyle;y&&pe.color===y.color&&pe.backgroundColor===y.backgroundColor&&pe.fontSize===y.fontSize?z.push(re):(z.length>0&&b.push(z),z=[re],y=pe)}return z.length>0&&b.push(z),b}function sm(a,y,b){var z,re,pe,ye,tt;if(!y||y.length===0)return null;const ut=new Vl({parent:a},b.style),gt=!((z=ut.atomIdsSettings)!=null&&z.groupNumbers);let _t=[];if(y.length===1){const pn=y[0],Kn=pn.render(ut);Kn&&(gt&&pn.isSelected&&Kn.selected(!0),_t=[Kn])}else{let pn="",Kn=!0;for(const nr of y){(re=ut.atomIdsSettings)!=null&&re.groupNumbers&&pn&&(Kn&&nr.isDigit()||!Kn&&ap(nr))&&(ut.atomIdsSettings.overrideID=pn);const di=nr.render(ut);ut.atomIdsSettings&&(ut.atomIdsSettings.overrideID=void 0),di&&((pe=ut.atomIdsSettings)!=null&&pe.groupNumbers&&((nr.isDigit()||ap(nr))&&(!pn||Kn!==nr.isDigit())&&(Kn=nr.isDigit(),pn=(ye=nr.id)!=null?ye:""),pn&&(!(nr.isDigit()||ap(nr))||!nr.hasEmptyBranch("superscript")||!nr.hasEmptyBranch("subscript"))&&(pn="")),gt&&nr.isSelected&&di.selected(!0),_t.push(di))}}if(_t.length===0)return null;const qt=new Li(_t,we(Ae({isTight:ut.isTight},b),{type:(tt=b.type)!=null?tt:"lift"}));return qt.isSelected=_t.every(pn=>pn.isSelected),qt.wrap(ut)}function ap(a){return a.mode==="text"}function r0(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof Ei?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var tf=class N1 extends Ei{constructor(y,b,z){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(z)}static fromJson(y){return new N1(y.command,y.value,y.style)}render(y){const b=this.createBox(y);return this.caret&&(b.caret=this.caret),b}_serialize(y){var b;return(b=this.verbatimLatex)!=null?b:xn("text",this.value.codePointAt(0))}};function Tf(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let z=0;for(;z<b&&op(a.ranges[z],y.ranges[z])==="equal";)z++;return z===b?"equal":"different"}}return"different"}function op(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function rd(a){let y=1/0,b=-1/0;for(const z of a.ranges)y=Math.min(y,z[0],z[1]),b=Math.max(b,z[0],z[1]);return[y,b]}function Pf(a){return typeof a=="number"&&!Number.isNaN(a)}function i0(a){return Array.isArray(a)&&a.length===2}function D0(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function N0(a,y){const b=a.at(y);let z;if(b){z=b.mode;let re=b.parent;for(;!z&&re;)re&&(z=re.mode),re=re.parent}return z}function Lh(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,z=!1,re=!1,pe=!1,ye=!1,tt=!1,ut=!1,gt=!1,_t=!1,qt=!1,pn=!1,Kn=!1,nr=!1,di=!1,Ha=!1,li=a[0],na=0;for(;li!=null&&li.type&&/^(subsup|placeholder)$/.test(li.type);)na+=1,li=a[na];return b=!li||li.type==="first",li&&(di=li.mode==="text",z=!di&&li.type==="mord"&&ae.test(li.value),re=!di&&li.type==="mord"&&/\d+$/.test(li.value),pe=!di&&li.isFunction,ye=li.type==="genfrac",tt=li.type==="surd",ut=li.type==="mbin",gt=li.type==="mrel",_t=li.type==="mop"||li.type==="operator"||li.type==="extensible-symbol",qt=li.type==="mpunct"||li.type==="minner",pn=li.type==="array",Kn=li.type==="mopen",nr=li.type==="mclose"||li.type==="leftright",Ha=li.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&z||y.after.includes("digit")&&re||y.after.includes("function")&&pe||y.after.includes("frac")&&ye||y.after.includes("surd")&&tt||y.after.includes("binop")&&ut||y.after.includes("relop")&&gt||y.after.includes("operator")&&_t||y.after.includes("punct")&&qt||y.after.includes("array")&&pn||y.after.includes("openfence")&&Kn||y.after.includes("closefence")&&nr||y.after.includes("text")&&di||y.after.includes("space")&&Ha?y.value:""}function sp(a,y,b){return b?Lh(a,b[y]):""}var Bp={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\doubleprime}","'''":"^{\\prime\\prime\\prime}","''''":"^{\\prime\\prime\\prime\\prime}",alpha:"\\alpha",delta:"\\delta",Delta:"\\Delta",pi:"\\pi",Pi:"\\Pi",theta:"\\theta",Theta:"\\Theta",ii:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryI"},jj:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryJ"},ee:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\exponentialE"},nabla:"\\nabla",grad:"\\nabla",del:"\\partial",deg:{after:"digit+space",value:"\\degree"},infty:"\\infty","\u221E":"\\infty",oo:{after:"nothing+digit+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\infty"},"\u2211":"\\sum",sum:"\\sum_{#?}^{#?}",int:"\\int_{#?}^{#?}",prod:"\\prod_{#?}^{#?}",sqrt:"\\sqrt{#?}","\u2206":"\\differentialD","\u2202":"\\differentialD",arcsin:"\\arcsin",arccos:"\\arccos",arctan:"\\arctan",arcsec:"\\arcsec",arccsc:"\\arccsc",arsinh:"\\arsinh",arcosh:"\\arcosh",artanh:"\\artanh",arcsech:"\\arcsech",arccsch:"\\arccsch",arg:"\\arg",ch:"\\ch",cosec:"\\cosec",cosh:"\\cosh",cot:"\\cot",cotg:"\\cotg",coth:"\\coth",csc:"\\csc",ctg:"\\ctg",cth:"\\cth",sec:"\\sec",sinh:"\\sinh",sh:"\\sh",tanh:"\\tanh",tg:"\\tg",th:"\\th",sin:"\\sin",cos:"\\cos",tan:"\\tan",lg:"\\lg",lb:"\\lb",log:"\\log",ln:"\\ln",exp:"\\exp",lim:"\\lim_{#?}",dx:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD x"},dy:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD y"},dt:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD t"},AA:"\\forall",EE:"\\exists","!EE":"\\nexists","&&":"\\land",xin:{after:"nothing+text+relop+punct+openfence+space",value:"x \\in"},sint:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\sin t"},in:{after:"nothing+letter+closefence",value:"\\in"},"!in":"\\notin",NN:"\\mathbb{N}",ZZ:"\\Z",QQ:"\\Q",RR:"\\R",CC:"\\C",xx:"\\times","+-":"\\pm","\u2260":"\\ne","!=":"\\ne","\u2265":"\\ge",">=":"\\ge","\u2264":"\\le","<=":"\\le","<<":"\\ll",">>":"\\gg","~~":"\\approx","\u2248":"\\approx","?=":"\\questeq","\xF7":"\\div","\xAC":"\\neg",":=":"\\coloneq","::":"\\Colon","(:":"\\langle",":)":"\\rangle",beta:"\\beta",chi:"\\chi",epsilon:"\\epsilon",varepsilon:"\\varepsilon",eta:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\eta"},gamma:"\\gamma",Gamma:"\\Gamma",iota:"\\iota",kappa:"\\kappa",lambda:"\\lambda",Lambda:"\\Lambda",mu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\mu"},nu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\nu"},\u00B5:"\\mu",phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\phi"},Phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Phi"},varphi:"\\varphi",psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\psi"},Psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Psi"},rho:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\rho"},sigma:"\\sigma",Sigma:"\\Sigma",tau:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\tau"},vartheta:"\\vartheta",upsilon:"\\upsilon",xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\xi"},Xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Xi"},zeta:"\\zeta",omega:"\\omega",Omega:"\\Omega",\u03A9:"\\omega",forall:"\\forall",exists:"\\exists","!exists":"\\nexists",":.":"\\therefore",liminf:"\\liminf_{#?}",limsup:"\\limsup_{#?}",argmin:"\\operatorname*{arg~min}_{#?}",argmax:"\\operatorname*{arg~max}_{#?}",det:"\\det",mod:"\\bmod{#?}","(mod":"\\pmod{#?}",max:"\\max",min:"\\min",erf:"\\operatorname{erf}",erfc:"\\operatorname{erfc}",bessel:"\\operatorname{bessel}",mean:"\\operatorname{mean}",median:"\\operatorname{median}",fft:"\\operatorname{fft}",lcm:"\\operatorname{lcm}",gcd:"\\operatorname{gcd}",randomReal:"\\operatorname{randomReal}",randomInteger:"\\operatorname{randomInteger}",Re:"\\operatorname{Re}",Im:"\\operatorname{Im}",mm:{after:"nothing+digit+operator",value:"\\operatorname{mm}"},cm:{after:"nothing+digit+operator",value:"\\operatorname{cm}"},km:{after:"nothing+digit+operator",value:"\\operatorname{km}"},kg:{after:"nothing+digit+operator",value:"\\operatorname{kg}"},"...":"\\ldots","+...":"+\\cdots","-...":"-\\cdots","->...":"\\to\\cdots","-->...":"\\longrightarrow\\cdots","->":"\\to","|->":"\\mapsto","-->":"\\longrightarrow","<--":"\\longleftarrow","=>":"\\Rightarrow","==>":"\\Longrightarrow","<=>":"\\Leftrightarrow","<->":"\\leftrightarrow","(.)":"\\odot","(+)":"\\oplus","(/)":"\\oslash","(*)":"\\otimes","(-)":"\\ominus","||":"\\Vert","*":"\\cdot","**":"\\star","***":"\\ast","//":"\\slash","\\\\":"\\backslash",setminus:"\\backslash","|><":"\\ltimes","><|":"\\rtimes","|><|":"\\bowtie","-:":"\\div",divide:"\\div","@":"\\circ","^^":"\\wedge","^^^":"\\bigwedge",vv:"\\vee",vvv:"\\bigvee",nn:"\\cap",nnn:"\\bigcap",uu:"\\cup",uuu:"\\bigcup","-=":"\\equiv","~=":"\\cong",lt:"<","lt=":"\\leq",gt:">","gt=":"\\geq","-<":"\\prec","-lt":"\\prec","-<=":"\\preceq",">-=":"\\succeq",prop:"\\propto",diamond:"\\diamond",square:"\\square",iff:"\\iff",sub:"\\subset",sup:"\\supset",sube:"\\subseteq",supe:"\\supseteq",uarr:"\\uparrow",darr:"\\downarrow",rarr:"\\rightarrow",rArr:"\\Rightarrow",larr:"\\leftarrow",lArr:"\\Leftarrow",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",aleph:"\\aleph",and:"\\land",or:"\\lor",not:"\\neg","_|_":"\\bot",TT:"\\top","|--":"\\vdash","|==":"\\models","|__":"\\lfloor","__|":"\\rfloor","|~":"\\lceil","~|":"\\rceil",">->":"\\rightarrowtail","->>":"\\twoheadrightarrow",">->>":"\\twoheadrightarrowtail",frac:"\\frac{#?}{#?}",cbrt:"\\sqrt[3]{#?}",nthroot:"\\sqrt[#?]{#?}"};function O0(a,y){var b;let z=(b=y==null?void 0:y.format)!=null?b:"auto";return z==="auto"&&([z,a]=lm(a)),z==="ascii-math"?(a=a.replace(/\u2061/gu,""),a=a.replace(/\u3016/gu,"{"),a=a.replace(/\u3017/gu,"}"),a=a.replace(/([^\\])sinx/g,"$1\\sin x"),a=a.replace(/([^\\])cosx/g,"$1\\cos x "),a=a.replace(/\u2013/g,"-"),["ascii-math",Wd(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function Wd(a,y){var b,z,re;if(!a)return"";let pe=!1,ye;const tt=(b=y.inlineShortcuts)!=null?b:Bp;if(!pe&&(a.startsWith("^")||a.startsWith("_"))&&(ye=Rf(a.slice(1),{inlineShortcuts:tt,noWrap:!0}),a=a[0]+"{"+ye.match+"}",a+=Wd(ye.rest,y),pe=!0),pe||(ye=a.match(/^(sqrt|\u221A)(.*)/),ye&&(ye=Rf(ye[2],{inlineShortcuts:tt,noWrap:!0}),a="\\sqrt{"+((z=ye.match)!=null?z:"\\placeholder{}")+"}",a+=Wd(ye.rest,y),pe=!0)),pe||(ye=a.match(/^(\\cbrt|\u221B)(.*)/),ye&&(ye=Rf(ye[2],{inlineShortcuts:tt,noWrap:!0}),a="\\sqrt[3]{"+((re=ye.match)!=null?re:"\\placeholder{}")+"}",a+=Wd(ye.rest,y),pe=!0)),pe||(ye=a.match(/^abs(.*)/),ye&&(ye=Rf(ye[1],{inlineShortcuts:tt,noWrap:!0}),a="\\left|"+ye.match+"\\right|",a+=Wd(ye.rest,y),pe=!0)),pe||(ye=a.match(/^["”“](.*?)["”“](.*)/),ye&&(a="\\text{"+ye[1]+"}",a+=Wd(ye[2],y),pe=!0)),pe||(ye=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),ye&&(a=Dh(ye[1],tt),a+=Wd(ye[2],y),pe=!0)),!pe&&/^([fgh])[^a-zA-Z]/.test(a)&&(ye=Rf(a.slice(1),{inlineShortcuts:tt,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+ye.match+"\\right)":a[0]+ye.match,a+=Wd(ye.rest,y),pe=!0),pe||(ye=a.match(/^([a-zA-Z]+)(.*)/),ye&&(a=Dh(ye[1],tt),a+=Wd(ye[2],y),pe=!0)),!pe)if(ye=Rf(a,{inlineShortcuts:tt,noWrap:!0}),ye.match&&ye.rest[0]==="/"){const ut=Rf(ye.rest.slice(1),{inlineShortcuts:tt,noWrap:!0});ut.match&&(a="\\frac{"+ye.match+"}{"+ut.match+"}"+Wd(ut.rest,y)),pe=!0}else ye.match&&(a=a.startsWith("(")?"\\left("+ye.match+"\\right)"+Wd(ye.rest,y):ye.match+Wd(ye.rest,y),pe=!0);return pe||(ye=a.match(/^(\s+)(.*)$/),ye&&(a=" "+Wd(ye[2],y),pe=!0)),a}function Rf(a,y){let b="";a=a.trim();let z=a,re=a.charAt(0),pe={"(":")","{":"}","[":"]"}[re];if(pe){let ye=1,tt=1;for(;tt<a.length&&ye>0;)a[tt]===re&&ye++,a[tt]===pe&&ye--,tt++;ye===0?(y.noWrap&&re==="("?b=Wd(a.substring(1,tt-1),y):(re==="{"&&pe==="}"&&(re="\\{",pe="\\}"),b="\\left"+re+Wd(a.substring(1,tt-1),y)+"\\right"+pe),z=a.slice(Math.max(0,tt))):(b=a.substring(1,tt),z="")}else{let ye=a.match(/^([a-zA-Z]+)/);if(ye){let tt=sp(null,a,y.inlineShortcuts);if(tt)return tt=tt.replace("_{#?}",""),tt=tt.replace("^{#?}",""),{match:tt,rest:a.slice(tt.length)}}if(ye=a.match(/^([a-zA-Z])/),ye)return{match:ye[1],rest:a.slice(1)};if(ye=a.match(/^(-)?\d+(\.\d*)?/),ye)return{match:ye[0],rest:a.slice(ye[0].length)};/^\\(left|right)/.test(a)||(ye=a.match(/^(\\[a-zA-Z]+)/),ye&&(z=a.slice(ye[1].length),b=ye[1]))}return{match:b,rest:z}}function Dh(a,y){let b=sp(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var T0=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Af(a){const y=a.trim();for(const b of T0)if(y.startsWith(b[0])&&y.endsWith(b[1]))return[!0,y.substring(b[0].length,y.length-b[1].length)];return[!1,a]}function lm(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Af(a),y?["latex",a]:a.startsWith("`")&&a.endsWith("`")?(a=a.substring(1,a.length-1),["ascii-math",a]):a.includes("\\")?["latex",a]:/\$.+\$/.test(a)?["latex",`\\text{${a}}`]:[void 0,a]}var lp="$$",Hm="$$",jm=(a,y,b)=>(T0.some(z=>y.startsWith(z[0])&&y.endsWith(z[1]))||(y=`${lp} ${y} ${Hm}`),y),Sp=class Zv{constructor(y){Zv._modes[y]=this}static onPaste(y,b,z){var re;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof z=="string"){const ye=new DataTransfer;ye.setData("text/plain",z),z=ye}const pe=new ClipboardEvent("paste",{clipboardData:z,cancelable:!0});return(re=b.host)!=null&&re.dispatchEvent(pe)?Zv._modes[y].onPaste(b,z):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const z=y.model,re=z.selectionIsCollapsed?[0,z.lastOffset]:rd(z.selection),pe=z.getValue(re,b);navigator.clipboard.writeText(pe).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var z;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const re=y.model,pe=re.selectionIsCollapsed?[0,re.lastOffset]:rd(re.selection);let ye=re.getAtoms(pe);if(ye.every(tt=>tt.mode==="text"||!tt.mode))b.clipboardData.setData("text/plain",ye.filter(tt=>tt instanceof tf).map(tt=>tt.value).join(""));else if(ye.every(tt=>tt.mode==="latex"))b.clipboardData.setData("text/plain",re.getAtoms(pe,{includeChildren:!0}).map(tt=>{var ut;return(ut=tt.value)!=null?ut:""}).join(""));else{let tt;ye.length===1&&ye[0].verbatimLatex!==void 0?tt=ye[0].verbatimLatex:tt=re.getValue(pe,"latex-expanded"),b.clipboardData.setData("application/x-latex",tt);try{b.clipboardData.setData("text/plain",y.options.onExport(y,tt,pe))}catch(ut){}if(ye.length===1){const ut=ye[0];(ut.type==="root"||ut.type==="group")&&(ye=ut.body.filter(gt=>gt.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(ye.map(ut=>ut.toJson())))}catch(ut){}if((z=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&z.ComputeEngine){const ut=window.MathfieldElement.computeEngine;if(ut)try{const gt=ut.jsonSerializationOptions;ut.jsonSerializationOptions={metadata:["latex"]};const _t=ut.parse(re.getValue(pe,"latex-unstyled"));ut.jsonSerializationOptions=gt;const qt=JSON.stringify(_t.json);qt&&b.clipboardData.setData("application/json",qt)}catch(gt){}}}b.preventDefault()}static insert(y,b,z={}){var re;const pe=z.mode==="auto"?y.mode:(re=z.mode)!=null?re:y.mode;return Zv._modes[pe].insert(y,b,z)}onPaste(y,b){return!1}insert(y,b,z){return!1}};Sp._modes={};var zs=Sp,um=[{key:"left",command:"moveToPreviousChar"},{key:"right",command:"moveToNextChar"},{key:"up",command:"moveUp"},{key:"down",command:"moveDown"},{key:"shift+[ArrowLeft]",command:"extendSelectionBackward"},{key:"shift+[ArrowRight]",command:"extendSelectionForward"},{key:"shift+[ArrowUp]",command:"extendSelectionUpward"},{key:"shift+[ArrowDown]",command:"extendSelectionDownward"},{key:"[Backspace]",command:"deleteBackward"},{key:"alt+[Delete]",command:"deleteBackward"},{key:"[Delete]",command:"deleteForward"},{key:"alt+[Backspace]",command:"deleteForward"},{key:"alt+[ArrowLeft]",command:"moveToPreviousWord"},{key:"alt+[ArrowRight]",command:"moveToNextWord"},{key:"shift+alt+[ArrowLeft]",command:"extendToPreviousWord"},{key:"shift+alt+[ArrowRight]",command:"extendToNextWord"},{key:"ctrl+[ArrowLeft]",command:"moveToGroupStart"},{key:"ctrl+[ArrowRight]",command:"moveToGroupEnd"},{key:"shift+ctrl+[ArrowLeft]",command:"extendToGroupStart"},{key:"shift+ctrl+[ArrowRight]",command:"extendToGroupEnd"},{key:"[Home]",command:"moveToMathfieldStart"},{key:"cmd+[ArrowLeft]",command:"moveToMathfieldStart"},{key:"shift+[Home]",command:"extendToMathFieldStart"},{key:"shift+cmd+[ArrowLeft]",command:"extendToMathFieldStart"},{key:"[End]",command:"moveToMathfieldEnd"},{key:"cmd+[ArrowRight]",command:"moveToMathfieldEnd"},{key:"shift+[End]",command:"extendToMathFieldEnd"},{key:"shift+cmd+[ArrowRight]",command:"extendToMathFieldEnd"},{key:"[Pageup]",command:"moveToGroupStart"},{key:"[Pagedown]",command:"moveToGroupEnd"},{key:"[Tab]",command:"moveToNextGroup"},{key:"shift+[Tab]",command:"moveToPreviousGroup"},{key:"[Escape]",ifMode:"math",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"text",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"latex",command:["complete","complete",{selectItem:"true"}]},{key:"\\",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[IntlBackslash]",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[Tab]",ifMode:"latex",command:["complete","accept-suggestion"]},{key:"[Return]",ifMode:"latex",command:"complete"},{key:"[Enter]",ifMode:"latex",command:"complete"},{key:"shift+[Escape]",ifMode:"latex",command:["complete","reject"]},{key:"[ArrowDown]",ifMode:"latex",command:"nextSuggestion"},{key:"[ArrowUp]",ifMode:"latex",command:"previousSuggestion"},{key:"ctrl+a",ifPlatform:"!macos",command:"selectAll"},{key:"cmd+a",command:"selectAll"},{key:"[Cut]",command:"cutToClipboard"},{key:"[Copy]",command:"copyToClipboard"},{key:"[Paste]",command:"pasteFromClipboard"},{key:"[Clear]",command:"deleteBackward"},{key:"[Undo]",command:"undo"},{key:"[Redo]",command:"redo"},{key:"[EraseEof]",command:"deleteToGroupEnd"},{key:"ctrl+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"cmd+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"ctrl+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"cmd+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"ctrl+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"cmd+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"ctrl+z",ifPlatform:"!macos",command:"undo"},{key:"cmd+z",command:"undo"},{key:"ctrl+y",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+y",command:"redo"},{key:"shift+ctrl+z",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+z",command:"redo"},{key:"ctrl+b",ifPlatform:"macos",command:"moveToPreviousChar"},{key:"ctrl+f",ifPlatform:"macos",command:"moveToNextChar"},{key:"ctrl+p",ifPlatform:"macos",command:"moveUp"},{key:"ctrl+n",ifPlatform:"macos",command:"moveDown"},{key:"ctrl+a",ifPlatform:"macos",command:"moveToMathfieldStart"},{key:"ctrl+e",ifPlatform:"macos",command:"moveToMathfieldEnd"},{key:"shift+ctrl+b",ifPlatform:"macos",command:"extendSelectionBackward"},{key:"shift+ctrl+f",ifPlatform:"macos",command:"extendSelectionForward"},{key:"shift+ctrl+p",ifPlatform:"macos",command:"extendSelectionUpward"},{key:"shift+ctrl+n",ifPlatform:"macos",command:"extendSelectionDownward"},{key:"shift+ctrl+a",ifPlatform:"macos",command:"extendToMathFieldStart"},{key:"shift+ctrl+e",ifPlatform:"macos",command:"extendToMathFieldEnd"},{key:"alt+ctrl+b",ifPlatform:"macos",command:"moveToPreviousWord"},{key:"alt+ctrl+f",ifPlatform:"macos",command:"moveToNextWord"},{key:"shift+alt+ctrl+b",ifPlatform:"macos",command:"extendToPreviousWord"},{key:"shift+alt+ctrl+f",ifPlatform:"macos",command:"extendToNextWord"},{key:"ctrl+h",ifPlatform:"macos",command:"deleteBackward"},{key:"ctrl+d",ifPlatform:"macos",command:"deleteForward"},{key:"ctrl+l",ifPlatform:"macos",command:"scrollIntoView"},{key:"ctrl+[Digit2]",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"ctrl+[Digit5]",ifMode:"math",command:"moveToOpposite"},{key:"ctrl+[Digit6]",ifMode:"math",command:"moveToSuperscript"},{key:"ctrl+[Return]",ifMode:"math",command:"addRowAfter"},{key:"ctrl+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Return]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"alt+p",ifMode:"math",command:["insert","\\pi"]},{key:"alt+v",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"alt+o",ifMode:"math",command:["insert","\\emptyset"]},{key:"alt+d",ifMode:"math",command:["insert","\\differentialD"]},{key:"shift+alt+o",ifMode:"math",command:["insert","\\varnothing"]},{key:"shift+alt+d",ifMode:"math",command:["insert","\\partial"]},{key:"alt+[Backslash]",ifMode:"math",command:["insert","\\backslash"]},{key:"[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#?}{#@}"]},{key:"shift+alt+k",command:"toggleKeystrokeCaption"},{key:"alt+[Space]",command:"toggleContextMenu"},{key:"alt+shift+[Space]",command:"toggleVirtualKeyboard"},{key:"alt+ctrl+[ArrowUp]",command:["speak","all",{withHighlighting:!1}]},{key:"alt+ctrl+[ArrowDown]",command:["speak","selection",{withHighlighting:!1}]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["switchMode","text","",""]},{key:"shift+alt+[KeyT]",ifMode:"math",command:["switchMode","text","",""]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"text",command:["switchMode","math","",""]},{key:"shift+alt+[KeyT]",ifMode:"text",command:["switchMode","math","",""]},{key:"/",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+shift+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrack #0 \\right\\rbrack"]},{key:"ctrl+[Minus]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"moveToSubscript"},{key:"shift+alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrace #0 \\right\\rbrace"]},{key:"ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"shift+ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"shift+cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"ctrl+[Backspace]",ifMode:"math",command:"removeRow"},{key:"cmd+[Backspace]",ifMode:"math",command:"removeRow"},{key:"alt+[Tab]",ifMode:"math",command:"addColumnAfter"},{key:"shift+alt+[Tab]",ifMode:"math",command:"addColumnBefore"},{key:"alt+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Enter]",ifMode:"math",command:"addRowBefore"},{key:"alt+[Return]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Return]",ifMode:"math",command:"addRowBefore"},{key:"shift+[Backspace]",ifMode:"math",command:"removeColumn"},{key:"alt+[Digit5]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","$\\infty"]},{key:"alt+[Digit9]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","("]},{key:"alt+[Digit0]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert",")"]},{key:"alt+|",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","|"]},{key:"shift+[Backquote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\~"]},{key:"[Backquote]",ifLayout:["windows.french","linux.french"],ifMode:"math",command:["insert","^2"]},{key:"[Backquote]",ifLayout:["windows.german","linux.german"],ifMode:"math",command:["insert","^"]},{key:"[IntlBackslash]",ifLayout:["apple.german"],ifMode:"math",command:["insert","^"]}],up={"\\sqrt":["alt+v","ctrl+[Digit2]"],"\\pi":"alt+p","\\infty":"alt+[Digit5]","\\differentialD":"alt+d","\\partial":"shift+alt+d","\\frac":"Slash","\\emptyset":"alt+o","\\varnothing":"shift+alt+o","\\~":"~"};function TA(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function nf(a){var y,b;return(b=(y=a.querySelector(".ML__caret"))!=null?y:a.querySelector(".ML__text-caret"))!=null?b:a.querySelector(".ML__latex-caret")}function Uf(a){const y=nf(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function P0(a){var y;if(!a.parent)return"root";let b=(y=a.parent.id)!=null?y:"";return b+=typeof a.parentBranch=="string"?"-"+a.parentBranch:`-${a.parentBranch[0]}/${a.parentBranch[0]}`,b}function Nh(a,y,b){if(!y)return null;const z=a.field.getBoundingClientRect(),re=y.right-y.left,pe=y.bottom-y.top,ye=Math.ceil(y.left-z.left+a.field.scrollLeft*b),tt=Math.ceil(y.top-z.top);return{left:ye,right:ye+re,top:tt,bottom:tt+pe}}function a0(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),z={top:y.top-1,bottom:y.bottom,left:y.left,right:y.right-1+b};if(a.children.length===0||a.tagName.toUpperCase()==="SVG")return z;for(const re of a.children)if(re.nodeType===1&&"atomId"in re.dataset&&!re.classList.contains("pstrut")){const pe=a0(re);z.left=Math.min(z.left,pe.left),z.right=Math.max(z.right,pe.right),z.top=Math.min(z.top,pe.top),z.bottom=Math.max(z.bottom,pe.bottom)}return z}function Oh(a,y){var b,z;if(!y.id)return null;let re=(z=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?z:null;if(re!==null)return re;const pe=a.field.querySelector(`[data-atom-id="${y.id}"]`);return re=pe?a0(pe):null,a.atomBoundsCache&&(re?a.atomBoundsCache.set(y.id,re):a.atomBoundsCache.delete(y.id)),re!=null?re:null}function Ep(a,y,b){const z=new Map;for(const re of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&re.style.backgroundColor)continue;const pe=a.field,ye=pe.offsetWidth;let ut=Math.floor(pe.getBoundingClientRect().width)/ye;ut=isNaN(ut)?1:ut;const gt=Nh(a,Oh(a,re),ut);if(gt){const _t=P0(re);if(z.has(_t)){const qt=z.get(_t);z.set(_t,{left:Math.min(qt.left,gt.left),right:Math.max(qt.right,gt.right),top:Math.min(qt.top,gt.top),bottom:Math.max(qt.bottom,gt.bottom)})}else z.set(_t,gt)}}return[...z.values()]}function cm(a,y){return a.model.selection.ranges.reduce((b,z)=>b.concat(...Ep(a,z,y)),[])}function R0(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function o0(a){let y=0,b=0;const z=a.offsetWidth,re=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,z,re)}var dm=`@keyframes ML__caret-blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.ML__container {
display: inline-flex;
flex-flow: row;
justify-content: space-between;
align-items: flex-end;
min-height: 39px;
/* Need some room for the virtual keyboard toggle */
width: 100%;
/* Encourage browsers to consider allocating a hardware accelerated
layer for this element. */
isolation: isolate;
/* Prevent the browser from trying to interpret touch gestures in the field */
/* "Disabling double-tap to zoom removes the need for browsers to
delay the generation of click events when the user taps the screen." */
touch-action: none;
--_caret-color: var(--caret-color, hsl(var(--_hue), 40%, 49%));
--_selection-color: var(--selection-color, #000);
--_selection-background-color: var(--selection-background-color, hsl(var(--_hue), 70%, 85%));
--_text-highlight-background-color: var(--highlight-text, hsla(var(--_hue), 40%, 50%, 0.1));
--_contains-highlight-background-color: var(--contains-highlight-background-color, hsl(var(--_hue), 40%, 95%));
--_smart-fence-color: var(--smart-fence-color, currentColor);
--_smart-fence-opacity: var(--smart-fence-opacity, 0.5);
--_latex-color: var(--latex-color, hsl(var(--_hue), 80%, 40%));
--_correct-color: var(--correct-color, #10a000);
--_incorrect-color: var(--incorrect-color, #a01b00);
--_composition-background-color: var(--composition-background-color, #fff1c2);
--_composition-text-color: var(--composition-text-color, black);
--_composition-underline-color: var(--composition-underline-color, transparent);
}
/* This is the actual field content (formula) */
.ML__content {
display: flex;
align-items: center;
align-self: center;
position: relative;
overflow: hidden;
padding: 2px 3px 2px 1px;
width: 100%;
}
.ML__virtual-keyboard-toggle,
.ML__menu-toggle {
box-sizing: border-box;
display: flex;
align-self: center;
align-items: center;
flex-shrink: 0;
flex-direction: column;
justify-content: center;
width: 34px;
height: 34px;
padding: 0;
margin-right: 4px;
cursor: pointer;
/* Avoid some weird blinking with :hover */
border-radius: 8px;
border: 1px solid transparent;
transition: background 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
color: hsl(var(--_hue), 40%, 50%);
fill: currentColor;
background: transparent;
}
.ML__virtual-keyboard-toggle:hover,
.ML__menu-toggle:hover {
background: hsla(0, 0%, 70%, 0.3);
color: #333;
fill: currentColor;
}
.ML__virtual-keyboard-toggle > span,
.ML__menu-toggle > span {
display: flex;
align-self: center;
align-items: center;
}
/* The invisible element used to capture keyboard events. We're just trying
really hard to make sure it doesn't show. */
.ML__keyboard-sink {
display: inline-block;
resize: none;
outline: none;
border: none;
/* Need these for Microsoft Edge */
position: fixed;
clip: rect(0 0 0 0);
/* Need this to prevent iOS Safari from auto-zooming */
font-size: 1em;
font-family: KaTeX_Main;
line-height: 0.5;
/* On Chromium, if this is 0, no keyboard events are received */
}
[part="placeholder"] {
color: var(--neutral-400);
}
.ML__composition {
background: var(--_composition-background-color);
color: var(--_composition-text-color);
text-decoration: underline var(--_composition-underline-color);
}
.ML__caret::after {
content: '';
visibility: hidden;
width: 0;
display: inline-block;
height: 0.76em;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_caret-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.045em;
bottom: -0.05em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__text-caret::after {
content: '';
visibility: hidden;
width: 0;
display: inline-block;
height: 0.76em;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_caret-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.045em;
bottom: -0.05em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__latex-caret::after {
content: '';
visibility: hidden;
--_caret-width: clamp(2px, 0.08em, 10px);
border: none;
border-radius: calc(var(--_caret-width) / 2);
border-right: var(--_caret-width) solid var(--_latex-color);
margin-right: calc(-1 * var(--_caret-width));
position: relative;
left: -0.019em;
animation: ML__caret-blink 1.05s step-end forwards infinite;
}
.ML__focused .ML__latex-caret::after,
.ML__focused .ML__text-caret::after,
.ML__focused .ML__caret::after {
visibility: visible;
}
.ML__focused .ML__text {
background: var(--_text-highlight-background-color);
}
/* When using smartFence, the anticipated closing fence is displayed
with this style */
.ML__smart-fence__close {
opacity: var(--_smart-fence-opacity);
color: var(--_smart-fence-color);
}
.ML__selected,
.ML__focused .ML__selected .ML__contains-caret,
.ML__focused .ML__selected .ML__smart-fence__close,
.ML__focused .ML__selected .ML__placeholder {
color: var(--_selection-color);
opacity: 1;
}
.ML__selection {
box-sizing: border-box;
background: var(--_selection-background-color) !important;
}
.ML__contains-caret.ML__close,
.ML__contains-caret.ML__open,
.ML__contains-caret > .ML__close,
.ML__contains-caret > .ML__open,
.ML__contains-caret .ML__sqrt-sign,
.ML__contains-caret .ML__sqrt-line {
color: var(--_caret-color);
}
.ML__contains-highlight {
box-sizing: border-box;
background: transparent;
}
.ML__focused .ML__contains-highlight {
background: var(--_contains-highlight-background-color);
}
.ML__raw-latex {
font-family: 'Berkeley Mono', 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
font-weight: 400;
font-size: 0.8em;
letter-spacing: -0.05em;
color: var(--_latex-color);
}
.ML__suggestion {
color: var(--neutral-500);
}
.ML__virtual-keyboard-toggle.is-visible.is-pressed:hover {
background: hsl(var(--_hue), 25%, 35%);
color: #fafafa;
fill: currentColor;
}
.ML__virtual-keyboard-toggle:focus {
outline: none;
border-radius: 8px;
border: 2px solid hsl(var(--_hue), 40%, 50%);
}
.ML__virtual-keyboard-toggle.is-pressed,
.ML__virtual-keyboard-toggle.is-active:hover,
.ML__virtual-keyboard-toggle.is-active {
background: hsl(var(--_hue), 25%, 35%);
color: #fafafa;
fill: currentColor;
}
/* Add an attribute 'data-tooltip' to automatically show a
tooltip over a element on hover.
*/
[data-tooltip] {
position: relative;
}
[data-tooltip]::after {
content: attr(data-tooltip);
position: absolute;
display: block;
z-index: 2;
pointer-events: none;
right: auto;
top: calc(-100% - 4px);
width: max-content;
max-width: 200px;
padding: 8px 8px;
border-radius: 4px;
background: #616161;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
text-align: center;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 13px;
/* Phone */
opacity: 0;
transform: scale(0.5);
}
@media only screen and (max-width: 767px) {
[data-tooltip]::after {
padding: 8px 16px;
font-size: 16px;
}
}
menu [data-tooltip]::after {
left: 100%;
top: 0%;
}
menu .ML__base {
cursor: default;
}
/** Don't display if we're tracking, i.e. have the pointer down */
.tracking [data-tooltip]:hover::after {
/* Use visibility, not display. Display will remove the after from the DOM, and the override below will not work */
visibility: hidden;
}
/** But do display if tracking and inside a menu */
.tracking menu li[data-tooltip]:hover::after,
[data-tooltip]:hover::after {
visibility: visible;
opacity: 1;
transform: scale(1);
transition-property: opacity, scale;
transition-duration: 0.15s;
transition-delay: 1s;
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ML__prompt {
border-radius: 2px;
}
.ML__editablePromptBox {
outline: 1px solid #acacac;
border-radius: 2px;
z-index: -1;
}
.ML__focusedPromptBox {
outline: highlight auto 1px;
}
.ML__lockedPromptBox {
background-color: rgba(142, 142, 141, 0.4);
z-index: -1;
}
.ML__correctPromptBox {
outline: 1px solid var(--_correct-color);
box-shadow: 0 0 5px var(--_correct-color);
}
.ML__incorrectPromptBox {
outline: 1px solid var(--_incorrect-color);
box-shadow: 0 0 5px var(--_incorrect-color);
}
.variant-submenu {
display: flex;
flex-direction: column;
padding: 8px;
}
.variant-submenu [part=menu-item] {
font-size: 2rem;
text-align: center;
margin: 0;
}
.insert-matrix-submenu {
display: grid;
padding: 8px;
align-content: center;
justify-content: center;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.insert-matrix-submenu [part=menu-item] {
font-size: 21px;
border: none;
border-radius: 0;
line-height: 21px;
text-align: center;
padding: 0;
margin: 0;
}
.border-submenu [part=menu-item] {
font-size: 2rem;
line-height: 1.2;
text-align: center;
}
.swatches-submenu {
--_swatch-size: 2rem;
--_columns: 4;
display: flex;
flex-flow: wrap;
padding: 8px;
max-width: calc(var(--_columns) * (var(--_swatch-size) + 18px) + 16px);
box-sizing: border-box;
}
.menu-swatch {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: fit-content;
height: fit-content;
margin: 2px;
padding: 0;
background: var(--neutral-200);
}
.menu-swatch > .label {
padding: 0;
margin: 0;
line-height: 0;
}
.menu-swatch > .label > span {
display: inline-block;
margin: 6px;
min-width: var(--_swatch-size);
min-height: var(--_swatch-size);
border-radius: 50%;
}
.menu-swatch.active {
background: var(--neutral-100);
scale: 1.4;
}
.menu-swatch.active > .label > span {
border-radius: 2px;
}
.menu-swatch .ui-checkmark,
.menu-swatch .ui-mixedmark {
position: absolute;
margin: 0;
padding: 0;
color: white;
}
.menu-swatch.dark-contrast .ui-checkmark,
.menu-swatch.dark-contrast .ui-mixedmark {
color: #000;
}
`,Qu=`.ML__container {
min-height: auto !important;
--_hue: var(--hue, 212);
--_placeholder-color: var(--placeholder-color, hsl(var(--_hue), 40%, 49%));
--_placeholder-opacity: var(--placeholder-opacity, 0.4);
--_text-font-family: var(--text-font-family, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif);
}
.ML__sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.ML__is-inline {
display: inline-block;
}
.ML__base {
visibility: inherit;
display: inline-block;
position: relative;
cursor: text;
padding: 0;
margin: 0;
box-sizing: content-box;
border: 0;
outline: 0;
vertical-align: baseline;
font-weight: inherit;
font-family: inherit;
font-style: inherit;
text-decoration: none;
width: min-content;
}
.ML__strut,
.ML__strut--bottom {
display: inline-block;
min-height: 0.5em;
}
.ML__small-delim {
font-family: KaTeX_Main;
}
/* Text mode */
.ML__text {
font-family: var(--_text-font-family);
white-space: pre;
}
/* Use cmr for 'math upright' */
.ML__cmr {
font-family: KaTeX_Main;
font-style: normal;
}
.ML__mathit {
font-family: KaTeX_Math;
/* The KaTeX_Math font is italic by default, so the font-style below is only
useful when a fallback font is used
*/
font-style: italic;
}
.ML__mathbf {
font-family: KaTeX_Main;
font-weight: bold;
}
/* Lowercase greek symbols should stick to math font when \\mathbf is applied
to match TeX idiosyncratic behavior */
.lcGreek.ML__mathbf {
font-family: KaTeX_Math;
font-weight: normal;
}
.ML__mathbfit {
font-family: KaTeX_Math;
font-weight: bold;
font-style: italic;
}
.ML__ams {
font-family: KaTeX_AMS;
}
/* Blackboard */
.ML__bb {
font-family: KaTeX_AMS;
}
.ML__cal {
font-family: KaTeX_Caligraphic;
}
.ML__frak {
font-family: KaTeX_Fraktur;
}
.ML__tt {
font-family: KaTeX_Typewriter;
}
.ML__script {
font-family: KaTeX_Script;
}
.ML__sans {
font-family: KaTeX_SansSerif;
}
.ML__series_ul {
font-weight: 100;
}
.ML__series_el {
font-weight: 100;
}
.ML__series_l {
font-weight: 200;
}
.ML__series_sl {
font-weight: 300;
}
.ML__series_sb {
font-weight: 500;
}
.ML__bold,
.ML__boldsymbol {
font-weight: 700;
}
.ML__series_eb {
font-weight: 800;
}
.ML__series_ub {
font-weight: 900;
}
.ML__series_uc {
font-stretch: ultra-condensed;
}
.ML__series_ec {
font-stretch: extra-condensed;
}
.ML__series_c {
font-stretch: condensed;
}
.ML__series_sc {
font-stretch: semi-condensed;
}
.ML__series_sx {
font-stretch: semi-expanded;
}
.ML__series_x {
font-stretch: expanded;
}
.ML__series_ex {
font-stretch: extra-expanded;
}
.ML__series_ux {
font-stretch: ultra-expanded;
}
.ML__it {
font-style: italic;
}
.ML__shape_ol {
-webkit-text-stroke: 1px black;
text-stroke: 1px black;
color: transparent;
}
.ML__shape_sc {
font-variant: small-caps;
}
.ML__shape_sl {
font-style: oblique;
}
/* First level emphasis */
.ML__emph {
color: #bc2612;
}
/* Second level emphasis */
.ML__emph .ML__emph {
color: #0c7f99;
}
.ML__highlight {
color: #007cb2;
background: #edd1b0;
}
.ML__center {
text-align: center;
}
.ML__label_padding {
padding: 0 0.5em;
}
.ML__frac-line {
width: 100%;
min-height: 1px;
}
.ML__frac-line:after {
content: '';
display: block;
margin-top: max(-1px, -0.04em);
min-height: max(1px, 0.04em);
/* Ensure the line is visible when printing even if "turn off background images" is on*/
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
/* There's a bug since Chrome 62 where
sub-pixel border lines don't draw at some zoom
levels (110%, 90%).
Setting the min-height used to work around it, but that workaround
broke in Chrome 84 or so.
Setting the background (and the min-height) seems to work for now.
*/
background: currentColor;
box-sizing: content-box;
/* Vuetify sets the box-sizing to inherit
causes the fraction line to not draw at all sizes (see #26) */
/* On some versions of Firefox on Windows, the line fails to
draw at some zoom levels, but setting the transform triggers
the hardware accelerated path, which works */
transform: translate(0, 0);
}
.ML__sqrt {
display: inline-block;
}
.ML__sqrt-sign {
display: inline-block;
position: relative;
}
.ML__sqrt-line {
display: inline-block;
height: max(1px, 0.04em);
width: 100%;
}
.ML__sqrt-line:before {
content: '';
display: block;
margin-top: min(-1px, -0.04em);
min-height: max(1px, 0.04em);
/* Ensure the line is visible when printing even if "turn off background images" is on*/
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
background: currentColor;
/* On some versions of Firefox on Windows, the line fails to
draw at some zoom levels, but setting the transform triggers
the hardware accelerated path, which works */
transform: translate(0, 0);
}
.ML__sqrt-line:after {
border-bottom-width: 1px;
content: ' ';
display: block;
margin-top: -0.1em;
}
.ML__sqrt-index {
margin-left: 0.27777778em;
margin-right: -0.55555556em;
}
.ML__delim-size1 {
font-family: KaTeX_Size1;
}
.ML__delim-size2 {
font-family: KaTeX_Size2;
}
.ML__delim-size3 {
font-family: KaTeX_Size3;
}
.ML__delim-size4 {
font-family: KaTeX_Size4;
}
.ML__delim-mult .delim-size1 > span {
font-family: KaTeX_Size1;
}
.ML__delim-mult .delim-size4 > span {
font-family: KaTeX_Size4;
}
.ML__accent-body > span {
font-family: KaTeX_Main;
width: 0;
}
.ML__accent-vec {
position: relative;
left: 0.24em;
}
/** The markup for a LaTeX formula, either in an editable mathfield or
in a static display.
*/
.ML__latex {
display: inline-block;
direction: ltr;
text-align: left;
text-indent: 0;
text-rendering: auto;
font-family: KaTeX_Main, 'Times New Roman', serif;
font-style: normal;
font-size-adjust: none;
font-stretch: normal;
font-variant-caps: normal;
letter-spacing: normal;
line-height: 1.2;
word-wrap: normal;
word-spacing: normal;
white-space: nowrap;
text-shadow: none;
-webkit-user-select: none;
user-select: none;
width: min-content;
}
.ML__latex .style-wrap {
position: relative;
}
.ML__latex .mfrac {
display: inline-block;
}
.ML__latex .left-right {
display: inline-block;
}
.ML__latex .vlist-t {
display: inline-table;
table-layout: fixed;
border-collapse: collapse;
}
.ML__latex .vlist-r {
display: table-row;
}
.ML__latex .vlist {
display: table-cell;
vertical-align: bottom;
position: relative;
}
.ML__latex .vlist > span {
display: block;
height: 0;
position: relative;
}
.ML__latex .vlist > span > span {
display: inline-block;
}
.ML__latex .vlist > span > .pstrut {
overflow: hidden;
width: 0;
}
.ML__latex .vlist-t2 {
margin-right: -2px;
}
.ML__latex .vlist-s {
display: table-cell;
vertical-align: bottom;
font-size: 1px;
width: 2px;
min-width: 2px;
}
.ML__latex .msubsup {
text-align: left;
}
.ML__latex .negativethinspace {
display: inline-block;
margin-left: -0.16667em;
height: 0.71em;
}
.ML__latex .thinspace {
display: inline-block;
width: 0.16667em;
height: 0.71em;
}
.ML__latex .mediumspace {
display: inline-block;
width: 0.22222em;
height: 0.71em;
}
.ML__latex .thickspace {
display: inline-block;
width: 0.27778em;
height: 0.71em;
}
.ML__latex .enspace {
display: inline-block;
width: 0.5em;
height: 0.71em;
}
.ML__latex .quad {
display: inline-block;
width: 1em;
height: 0.71em;
}
.ML__latex .qquad {
display: inline-block;
width: 2em;
height: 0.71em;
}
.ML__latex .llap,
.ML__latex .rlap {
width: 0;
position: relative;
display: inline-block;
}
.ML__latex .llap > .inner,
.ML__latex .rlap > .inner {
position: absolute;
}
.ML__latex .llap > .fix,
.ML__latex .rlap > .fix {
display: inline-block;
}
.ML__latex .llap > .inner {
right: 0;
}
.ML__latex .rlap > .inner {
left: 0;
}
.ML__latex .rule {
display: inline-block;
border: solid 0;
position: relative;
box-sizing: border-box;
}
.ML__latex .overline .overline-line,
.ML__latex .underline .underline-line {
width: 100%;
}
.ML__latex .overline .overline-line:before,
.ML__latex .underline .underline-line:before {
content: '';
border-bottom-style: solid;
border-bottom-width: max(1px, 0.04em);
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
display: block;
}
.ML__latex .overline .overline-line:after,
.ML__latex .underline .underline-line:after {
border-bottom-style: solid;
border-bottom-width: max(1px, 0.04em);
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
content: '';
display: block;
margin-top: -1px;
}
.ML__latex .stretchy {
display: block;
position: absolute;
width: 100%;
left: 0;
overflow: hidden;
}
.ML__latex .stretchy:before,
.ML__latex .stretchy:after {
content: '';
}
.ML__latex .stretchy svg {
display: block;
position: absolute;
width: 100%;
height: inherit;
fill: currentColor;
stroke: currentColor;
fill-rule: nonzero;
fill-opacity: 1;
stroke-width: 1;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-opacity: 1;
}
.ML__latex .slice-1-of-2 {
display: inline-flex;
position: absolute;
left: 0;
width: 50.2%;
overflow: hidden;
}
.ML__latex .slice-2-of-2 {
display: inline-flex;
position: absolute;
right: 0;
width: 50.2%;
overflow: hidden;
}
.ML__latex .slice-1-of-3 {
display: inline-flex;
position: absolute;
left: 0;
width: 25.1%;
overflow: hidden;
}
.ML__latex .slice-2-of-3 {
display: inline-flex;
position: absolute;
left: 25%;
width: 50%;
overflow: hidden;
}
.ML__latex .slice-3-of-3 {
display: inline-flex;
position: absolute;
right: 0;
width: 25.1%;
overflow: hidden;
}
.ML__latex .slice-1-of-1 {
display: inline-flex;
position: absolute;
width: 100%;
left: 0;
overflow: hidden;
}
.ML__latex .nulldelimiter {
display: inline-block;
}
.ML__latex .op-group {
display: inline-block;
}
.ML__latex .op-symbol {
position: relative;
}
.ML__latex .op-symbol.small-op {
font-family: KaTeX_Size1;
}
.ML__latex .op-symbol.large-op {
font-family: KaTeX_Size2;
}
.ML__latex .mtable .vertical-separator {
display: inline-block;
min-width: 1px;
box-sizing: border-box;
}
.ML__latex .mtable .arraycolsep {
display: inline-block;
}
.ML__latex .mtable .col-align-m > .vlist-t {
text-align: center;
}
.ML__latex .mtable .col-align-c > .vlist-t {
text-align: center;
}
.ML__latex .mtable .col-align-l > .vlist-t {
text-align: left;
}
.ML__latex .mtable .col-align-r > .vlist-t {
text-align: right;
}
.ML__error {
display: inline-block;
background-image: radial-gradient(ellipse at center, hsl(341, 100%, 40%), rgba(0, 0, 0, 0) 70%);
background-color: hsla(341, 100%, 40%, 0.1);
background-repeat: repeat-x;
background-size: 3px 3px;
padding-bottom: 3px;
background-position: 0 100%;
}
.ML__error > .ML__error {
background: transparent;
padding: 0;
}
.ML__placeholder {
color: var(--_placeholder-color);
opacity: var(--_placeholder-opacity);
padding-left: 0.4ex;
padding-right: 0.4ex;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
.ML__notation {
position: absolute;
box-sizing: border-box;
line-height: 0;
}
/* This class is used to implement the \`\\mathtip\` and \`\\texttip\` commands
For UI elements, see \`[data-ML__tooltip]\`
*/
.ML__tooltip-container {
position: relative;
transform: scale(0);
}
.ML__tooltip-container .ML__tooltip-content {
position: fixed;
display: inline-table;
visibility: hidden;
z-index: 2;
width: max-content;
max-width: 400px;
padding: 12px 12px;
border-radius: 8px;
background: #616161;
--_selection-color: #fff;
color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
opacity: 0;
transition: opacity 0.15s cubic-bezier(0.4, 0, 1, 1);
}
.ML__tooltip-container .ML__tooltip-content .ML__text {
white-space: normal;
}
.ML__tooltip-container .ML__tooltip-content .ML__base {
display: contents;
}
.ML__tooltip-container:hover .ML__tooltip-content {
visibility: visible;
opacity: 1;
font-size: 0.75em;
transform: scale(1) translate(0, 3em);
}
`,ch=`#mathlive-environment-popover.is-visible {
visibility: visible;
}
#mathlive-environment-popover {
--_environment-panel-height: var(--environment-panel-height, 70px);
--_accent-color: var(--accent-color, #aaa);
--_background: var(--environment-panel-background, #fff);
--_button-background: var(--environment-panel-button-background, white);
--_button-background-hover: var(--environment-panel-button-background-hover, #f5f5f7);
--_button-background-active: var(--environment-panel-button-background-active, #f5f5f7);
--_button-text: var(--environment-panel-button-text, #e3e4e8);
position: absolute;
width: calc(var(--_environment-panel-height) * 2);
height: var(--_environment-panel-height);
border-radius: 4px;
border: 1.5px solid var(--_accent-color);
background-color: var(--_background);
box-shadow: 0 0 30px 0 var(--environment-shadow, rgba(0, 0, 0, 0.4));
pointer-events: all;
visibility: hidden;
}
#mathlive-environment-popover .MLEP__array-buttons {
height: calc(var(--_environment-panel-height) * 5/4);
width: calc(var(--_environment-panel-height) * 5/4);
margin-left: calc(0px - var(--_environment-panel-height) * 0.16);
margin-top: calc(0px - var(--_environment-panel-height) * 0.19);
}
#mathlive-environment-popover .MLEP__array-buttons .font {
fill: white;
}
#mathlive-environment-popover .MLEP__array-buttons circle {
fill: #7f7f7f;
transition: fill 300ms;
}
#mathlive-environment-popover .MLEP__array-buttons .MLEP__array-insert-background {
fill-opacity: 1;
fill: var(--_background);
stroke: var(--_accent-color);
stroke-width: 3px;
}
#mathlive-environment-popover .MLEP__array-buttons line {
stroke: var(--_accent-color);
stroke-opacity: 0;
stroke-width: 40;
pointer-events: none;
transition: stroke-opacity 300ms;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover circle {
fill: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover line {
stroke-opacity: 1;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls {
height: 100%;
width: 50%;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options {
width: var(--_environment-panel-height);
height: var(--_environment-panel-height);
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-around;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg {
pointer-events: all;
margin-top: 2px;
width: calc(var(--_environment-panel-height) / 3 * 28 / 24);
height: calc(var(--_environment-panel-height) / 3 - 2px);
border-radius: calc(var(--_environment-panel-height) / 25);
background-color: var(--_button-background);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg:hover {
background-color: var(--_button-background-hover);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg line {
stroke: var(--_button-text);
stroke-width: 2;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg rect,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path {
fill-opacity: 0;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active {
pointer-events: none;
background-color: var(--_button-background-active);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active line {
stroke: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active circle {
fill: var(--_accent-color);
}
`,Qm=`/* The element that display info while in latex mode */
#mathlive-suggestion-popover {
background-color: rgba(97, 97, 97);
color: #fff;
text-align: center;
border-radius: 8px;
position: fixed;
z-index: 1;
display: none;
flex-direction: column;
justify-content: center;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
#mathlive-suggestion-popover.top-tip::after {
content: '';
position: absolute;
top: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.bottom-tip::after {
content: '';
position: absolute;
bottom: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-top: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.is-animated {
transition: all 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
animation: ML__fade-in cubic-bezier(0, 0, 0.2, 1) 0.15s;
}
#mathlive-suggestion-popover.is-visible {
display: flex;
}
@keyframes ML__fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* The wrapper class for the entire content of the popover panel */
#mathlive-suggestion-popover ul {
display: flex;
flex-flow: column;
list-style: none;
margin: 0;
padding: 0;
align-items: flex-start;
max-height: 400px;
overflow-y: auto;
}
#mathlive-suggestion-popover li {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 8px;
padding: 8px;
width: calc(100% - 16px - 16px);
column-gap: 1em;
border-radius: 8px;
cursor: pointer;
/* Since the content can be clicked on, provide feedback on hover */
}
#mathlive-suggestion-popover li a {
color: #5ea6fd;
padding-top: 0.3em;
margin-top: 0.4em;
display: block;
}
#mathlive-suggestion-popover li a:hover {
color: #5ea6fd;
text-decoration: underline;
}
#mathlive-suggestion-popover li:hover,
#mathlive-suggestion-popover li.is-pressed,
#mathlive-suggestion-popover li.is-active {
background: rgba(255, 255, 255, 0.1);
}
/* The command inside a popover (inside a #mathlive-suggestion-popover) */
.ML__popover__command {
font-size: 1.6rem;
font-family: KaTeX_Main;
}
.ML__popover__current {
background: #5ea6fd;
color: #fff;
}
.ML__popover__latex {
font-family: 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
align-self: center;
}
/* The keyboard shortcuts for a symbol as displayed in the popover */
.ML__popover__keybinding {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 0.8em;
opacity: 0.7;
}
/* Style for the character that joins the modifiers of a keyboard shortcut
(usually a "+" sign)*/
.ML__shortcut-join {
opacity: 0.5;
}
`,mc=`/* The element that displays the keys as the user type them */
#mathlive-keystroke-caption-panel {
visibility: hidden;
/*min-width: 160px;*/
/*background-color: rgba(97, 97, 200, .95);*/
background: var(--secondary, hsl(var(--_hue), 19%, 26%));
border-color: var(--secondary-border, hsl(0, 0%, 91%));
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
text-align: center;
border-radius: 6px;
padding: 16px;
position: absolute;
z-index: 1;
display: flex;
flex-direction: row-reverse;
justify-content: center;
--keystroke: white;
--on-keystroke: #555;
--keystroke-border: #f7f7f7;
}
@media (prefers-color-scheme: dark) {
body:not([theme='light']) #mathlive-keystroke-caption-panel {
--keystroke: hsl(var(--_hue), 50%, 30%);
--on-keystroke: hsl(0, 0%, 98%);
--keystroke-border: hsl(var(--_hue), 50%, 25%);
}
}
body[theme='dark'] #mathlive-keystroke-caption-panel {
--keystroke: hsl(var(--_hue), 50%, 30%);
--on-keystroke: hsl(0, 0%, 98%);
--keystroke-border: hsl(var(--_hue), 50%, 25%);
}
#mathlive-keystroke-caption-panel > span {
min-width: 14px;
/*height: 8px;*/
margin: 0 8px 0 0;
padding: 4px;
background-color: var(--keystroke);
color: var(--on-keystroke);
fill: currentColor;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 1em;
border-radius: 6px;
border: 2px solid var(--keystroke-border);
/*box-shadow: 0 7px 14px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);*/
}
`,dh=`.ML__keyboard {
--_keyboard-height: 0;
--_keyboard-zindex: var(--keyboard-zindex, 105);
--_accent-color: var(--keyboard-accent-color, #0c75d8);
--_background: var(--keyboard-background, #cacfd7);
--_border: var(--keyboard-border, #ddd);
--_padding-horizontal: var(--keyboard-padding-horizontal, 0px);
--_padding-top: var(--keyboard-padding-top, 5px);
--_padding-bottom: var(--keyboard-padding-bottom, 0px);
--_row-padding-left: var(--keyboard-row-padding-left, 0px);
--_row-padding-right: var(--keyboard-row-padding-right, 0px);
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
--_toolbar-text-active: var(--keyboard-toolbar-text-active, var(--_accent-color));
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
--_toolbar-font-size: var(--keyboard-toolbar-font-size, '135%');
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
--_keycap-background: var(--keycap-background, white);
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
--_keycap-border: var(--keycap-border, #e5e6e9);
--_keycap-border-bottom: var(--keycap-border-bottom, #8d8f92);
--_keycap-text: var(--keycap-text, #000);
--_keycap-text-active: var(--keycap-text-active, #fff);
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
--_keycap-primary-background: var(--keycap-primary-background, var(--_accent-color));
--_keycap-primary-text: var(--keycap-primary-text, #ddd);
--_keycap-primary-background-hover: var(--keycap-primary-background-hover, #0d80f2);
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
--_keycap-height: var(--keycap-height, 60px);
/* Keycap width (incl. margin) */
--_keycap-max-width: var(--keycap-max-width, 100px);
--_keycap-gap: var(--keycap-gap, 8px);
--_keycap-font-size: var(--keycap-font-size, clamp(16px, 4cqw, 24px));
--_keycap-small-font-size: var(--keycap-small-font-size, calc(var(--keycap-font-size) * 0.8));
--_keycap-extra-small-font-size: var(--keycap-extra-small-font-size, calc(var(--keycap-font-size) / 1.42));
--_variant-panel-background: var(--variant-panel-background, #fff);
--_variant-keycap-text: var(--variant-keycap-text, var(--_keycap-text));
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
--_variant-keycap-length: var(--variant-keycap-length, 70px);
--_variant-keycap-font-size: var(--variant-keycap-font-size, 30px);
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 12px);
--_keycap-shift-font-size: var(--keycap-shift-font-size, 16px);
--_keycap-shift-color: var(--keycap-shift-color, var(--_accent-color));
--_box-placeholder-color: var(--box-placeholder-color, var(--_accent-color));
--_box-placeholder-pressed-color: var(--box-placeholder-pressed-color, var(--keycap-text-pressed));
}
.is-math-mode .MLK__rows .if-text-mode,
.is-text-mode .MLK__rows .if-math-mode {
display: none;
}
.if-can-undo,
.if-can-redo,
.if-can-copy,
.if-can-cut,
.if-can-paste {
opacity: 0.4;
pointer-events: none;
}
.can-undo .if-can-undo,
.can-redo .if-can-redo,
.can-copy .if-can-copy,
.can-cut .if-can-cut,
.can-paste .if-can-paste {
opacity: 1;
pointer-events: all;
}
body > .ML__keyboard {
position: fixed;
--_padding-bottom: calc(var(--keyboard-padding-bottom, 0px) + env(safe-area-inset-bottom, 0));
}
body > .ML__keyboard.is-visible > .MLK__backdrop {
box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.08);
border-top: 1px solid var(--_border);
}
body > .ML__keyboard.backdrop-is-transparent.is-visible > .MLK__backdrop {
box-shadow: none;
border: none;
}
body > .ML__keyboard.is-visible.animate > .MLK__backdrop {
transition: 0.28s cubic-bezier(0, 0, 0.2, 1);
transition-property: transform, opacity;
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ML__keyboard {
position: relative;
overflow: hidden;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: var(--_keyboard-zindex);
box-sizing: border-box;
outline: none;
border: none;
margin: 0;
padding: 0;
line-height: 1;
overflow-wrap: unset;
text-align: left;
vertical-align: baseline;
cursor: auto;
white-space: pre;
box-shadow: none;
opacity: 1;
transform: none;
pointer-events: none;
}
.ML__keyboard :where(div) {
box-sizing: border-box;
outline: none;
border: none;
margin: 0;
padding: 0;
line-height: 1;
overflow-wrap: unset;
text-align: left;
vertical-align: baseline;
cursor: auto;
white-space: pre;
box-shadow: none;
transform: none;
}
.MLK__backdrop {
position: absolute;
bottom: calc(-1 * var(--_keyboard-height));
width: 100%;
height: var(--_keyboard-height);
box-sizing: border-box;
padding-top: var(--_padding-top);
padding-bottom: var(--_padding-bottom);
padding-left: var(--_padding-horizontal);
padding-right: var(--_padding-horizontal);
opacity: 0;
visibility: hidden;
transform: translate(0, 0);
background: var(--_background);
}
.backdrop-is-transparent .MLK__backdrop {
background: transparent;
}
/* If a custom layout has a custom container/backdrop
(backdrop-is-transparent), make sure to let pointer event go through. */
.backdrop-is-transparent .MLK__plate {
background: transparent;
pointer-events: none;
}
/* If a custom layout has a custom container/backdrop, make sure to
allow pointer events on it. */
.backdrop-is-transparent .MLK__layer > div > div {
pointer-events: all;
}
.ML__keyboard.is-visible > .MLK__backdrop {
transform: translate(0, calc(-1 * var(--_keyboard-height)));
opacity: 1;
visibility: visible;
}
.caps-lock-indicator {
display: none;
width: 8px;
height: 8px;
background: #0cbc0c;
box-shadow: inset 0 0 4px 0 #13ca13, 0 0 4px 0 #a9ef48;
border-radius: 8px;
right: 8px;
top: 8px;
position: absolute;
}
.ML__keyboard.is-caps-lock .caps-lock-indicator {
display: block;
}
.ML__keyboard.is-caps-lock .shift {
background: var(--_keycap-background-active);
color: var(--_keycap-text-active);
}
.MLK__plate {
position: absolute;
top: var(--_padding-top);
left: var(--_padding-horizontal);
width: calc(100% - 2 * var(--_padding-horizontal));
margin: 0;
padding: 0;
box-sizing: border-box;
container-type: inline-size;
touch-action: none;
-webkit-user-select: none;
user-select: none;
pointer-events: all;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 16px;
/* Size of toolbar labels */
font-weight: 400;
text-shadow: none;
}
.ML__box-placeholder {
color: var(--_box-placeholder-color);
}
.MLK__tex {
font-family: KaTeX_Main, KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__tex-math {
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
font-style: italic;
}
.MLK__layer {
display: none;
outline: none;
}
.MLK__layer.is-visible {
display: flex;
flex-flow: column;
}
/* Keyboard layouts are made or rows of keys... */
.MLK__rows {
--_keycap-width: min(var(--_keycap-max-width), 10cqw);
display: flex;
flex-flow: column;
align-items: center;
border-collapse: separate;
clear: both;
border: 0;
margin: 0;
margin-bottom: var(--_keycap-gap);
gap: var(--_keycap-gap);
/* If the styling include, e.g., some shadows, they will be
cut off by the overflow. In that case, set the padding to
compensate. */
padding-left: var(--_row-padding-left);
padding-right: var(--_row-padding-right);
overflow: visible;
touch-action: none;
}
.MLK__rows > .MLK__row {
display: flex;
flex-flow: row;
justify-content: center;
width: 100%;
gap: var(--_keycap-gap);
margin: 0;
padding: 0;
/* For the alignment of the text on some modifiers (e.g. shift) */
/* Extra spacing between two adjacent keys */
}
.MLK__rows > .MLK__row .tex {
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__rows > .MLK__row .tex-math {
font-family: KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
}
.MLK__rows > .MLK__row .big-op {
font-size: calc(1.25 * var(--_keycap-font-size));
}
.MLK__rows > .MLK__row .small {
font-size: var(--_keycap-small-font-size);
}
.MLK__rows > .MLK__row .bottom {
justify-content: flex-end;
}
.MLK__rows > .MLK__row .left {
align-items: flex-start;
padding-left: 12px;
}
.MLK__rows > .MLK__row .right {
align-items: flex-end;
padding-right: 12px;
}
.MLK__rows > .MLK__row .w0 {
width: 0;
}
.MLK__rows > .MLK__row .w5 {
width: calc(0.5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w15 {
width: calc(1.5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w20 {
width: calc(2 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w40 {
width: calc(4 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .w50 {
width: calc(5 * var(--_keycap-width) - var(--_keycap-gap));
}
.MLK__rows > .MLK__row .MLK__keycap.w50 {
font-size: 80%;
padding-top: 10px;
font-weight: 100;
}
.MLK__rows > .MLK__row .separator {
background: transparent;
border: none;
pointer-events: none;
}
.MLK__rows > .MLK__row .horizontal-rule {
height: 6px;
margin-top: 3px;
margin-bottom: 0;
width: 100%;
border-radius: 0;
border-top: var(--_horizontal-rule);
}
.MLK__rows > .MLK__row .ghost {
background: var(--_toolbar-background);
border: none;
color: var(--_toolbar-text);
}
.MLK__rows > .MLK__row .ghost:hover {
background: var(--_toolbar-background-hover);
}
.MLK__rows > .MLK__row .bigfnbutton {
font-size: var(--_keycap-extra-small-font-size);
}
.MLK__rows > .MLK__row .shift,
.MLK__rows > .MLK__row .action {
color: var(--_keycap-secondary-text);
background: var(--_keycap-secondary-background);
border-color: var(--_keycap-secondary-border);
border-bottom-color: var(--_keycap-secondary-border-bottom);
line-height: 0.8;
font-size: min(1rem, var(--_keycap-small-font-size));
font-weight: 600;
padding: 8px 12px 8px 12px;
}
.MLK__rows > .MLK__row .shift:hover,
.MLK__rows > .MLK__row .action:hover {
background: var(--_keycap-secondary-background-hover);
}
.MLK__rows > .MLK__row .action.primary {
background: var(--_keycap-primary-background);
color: var(--_keycap-primary-text);
}
.MLK__rows > .MLK__row .action.primary:hover {
background: var(--_keycap-primary-background-hover);
color: var(--_keycap-primary-text);
}
.MLK__rows > .MLK__row .shift.selected,
.MLK__rows > .MLK__row .action.selected {
color: var(--_toolbar-text-active);
}
.MLK__rows > .MLK__row .shift.selected.is-pressed,
.MLK__rows > .MLK__row .action.selected.is-pressed,
.MLK__rows > .MLK__row .shift.selected.is-active,
.MLK__rows > .MLK__row .action.selected.is-active {
color: white;
}
.MLK__rows > .MLK__row .warning {
background: #cd0030;
color: white;
}
.MLK__rows > .MLK__row .warning svg.svg-glyph {
width: 24px;
height: 24px;
min-height: 24px;
}
/** A regular keycap
* Use the :where() pseudo-class to give it a very low specifity,
* so that it can be overriden by custom style.
*/
:where(.MLK__rows > .MLK__row div) {
display: flex;
flex-flow: column;
align-items: center;
justify-content: space-evenly;
width: calc(var(--_keycap-width) - var(--_keycap-gap));
height: var(--_keycap-height);
box-sizing: border-box;
padding: 0;
vertical-align: top;
text-align: center;
float: left;
color: var(--_keycap-text);
fill: currentColor;
font-size: var(--_keycap-font-size);
background: var(--_keycap-background);
border: 1px solid var(--_keycap-border);
border-bottom-color: var(--_keycap-border-bottom);
border-radius: 6px;
cursor: pointer;
touch-action: none;
/* Keys with a variants panel */
position: relative;
overflow: hidden;
-webkit-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
:where(.MLK__rows > .MLK__row div):hover {
overflow: visible;
background: var(--_keycap-background-hover);
}
:where(.MLK__rows > .MLK__row div) .ML__latex {
pointer-events: none;
touch-action: none;
}
:where(.MLK__rows > .MLK__row div) svg.svg-glyph {
margin: 8px 0;
width: 20px;
height: 20px;
min-height: 20px;
}
:where(.MLK__rows > .MLK__row div) svg.svg-glyph-lg {
margin: 8px 0;
width: 24px;
height: 24px;
min-height: 24px;
}
:where(.MLK__rows > .MLK__row div).MLK__tex-math {
font-size: 25px;
}
:where(.MLK__rows > .MLK__row div).is-pressed {
background: var(--_keycap-background-pressed);
color: var(--_keycap-text-pressed);
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
:where(.MLK__rows > .MLK__row div).action.is-active,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
:where(.MLK__rows > .MLK__row div).action.is-pressed {
z-index: calc(var(--_keyboard-zindex) - 5);
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active aside,
:where(.MLK__rows > .MLK__row div).action.is-active aside,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed aside,
:where(.MLK__rows > .MLK__row div).action.is-pressed aside {
display: none;
}
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active .MLK__shift,
:where(.MLK__rows > .MLK__row div).action.is-active .MLK__shift,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed .MLK__shift,
:where(.MLK__rows > .MLK__row div).action.is-pressed .MLK__shift {
display: none;
}
:where(.MLK__rows > .MLK__row div).shift.is-pressed,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
:where(.MLK__rows > .MLK__row div).action.is-pressed {
background: var(--_keycap-background-pressed);
color: var(--_keycap-text-pressed);
}
:where(.MLK__rows > .MLK__row div).shift.is-active,
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
:where(.MLK__rows > .MLK__row div).action.is-active {
background: var(--_keycap-background-active);
color: var(--_keycap-text-active);
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
}
:where(.MLK__rows > .MLK__row div) small {
color: var(--_keycap-secondary-text);
}
:where(.MLK__rows > .MLK__row div) aside {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 10px;
line-height: 10px;
color: var(--_keycap-secondary-text);
}
/* Add an attribute 'data-tooltip' to display a tooltip on hover.
Note there are a different set of tooltip rules for the keyboard toggle
(it's in a different CSS tree) */
.ML__keyboard [data-tooltip] {
position: relative;
}
.ML__keyboard [data-tooltip]::after {
position: absolute;
display: inline-table;
content: attr(data-tooltip);
top: inherit;
bottom: 100%;
width: max-content;
max-width: 200px;
padding: 8px 8px;
background: #616161;
color: #fff;
text-align: center;
z-index: 2;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
border-radius: 2px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-weight: 400;
font-size: 12px;
transition: all 0.15s cubic-bezier(0.4, 0, 1, 1) 1s;
opacity: 0;
transform: scale(0.5);
}
.ML__keyboard [data-tooltip]:hover {
position: relative;
}
.ML__keyboard [data-tooltip]:hover::after {
opacity: 1;
transform: scale(1);
}
.MLK__toolbar {
align-self: center;
display: flex;
flex-flow: row;
justify-content: space-between;
width: 100%;
max-width: 996px;
min-height: 32px;
/* Icons for undo/redo, etc. */
}
.MLK__toolbar svg {
height: 20px;
width: 20px;
}
.MLK__toolbar > .left {
position: relative;
display: flex;
justify-content: flex-start;
flex-flow: row;
}
.MLK__toolbar > .right {
display: flex;
justify-content: flex-end;
flex-flow: row;
}
.MLK__toolbar > div > div {
/* "button" in the toolbar */
display: flex;
align-items: center;
justify-content: center;
color: var(--_toolbar-text);
fill: currentColor;
background: var(--_toolbar-background);
font-size: var(--_toolbar-font-size);
padding: 4px 15px;
cursor: pointer;
width: max-content;
min-width: 42px;
min-height: 34px;
border: none;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 8px;
padding-top: 8px;
margin-top: 0;
margin-bottom: 4px;
margin-left: 4px;
margin-right: 4px;
border-radius: 8px;
box-shadow: none;
border-bottom: 2px solid transparent;
}
.MLK__toolbar > div > div:not(.disabled):not(.selected):hover {
background: var(--_toolbar-background-hover);
}
.MLK__toolbar > div > div.disabled svg,
.MLK__toolbar > div > div.disabled:hover svg,
.MLK__toolbar > div > div.disabled.is-pressed svg {
color: var(--_toolbar-text);
opacity: 0.2;
}
.MLK__toolbar > div > div:hover,
.MLK__toolbar > div > div:active,
.MLK__toolbar > div > div.is-pressed,
.MLK__toolbar > div > div.is-active {
color: var(--_toolbar-text-active);
}
.MLK__toolbar > div > div.selected {
color: var(--_toolbar-text-active);
background: var(--_toolbar-background-selected);
border-radius: 0;
border-bottom-color: var(--_toolbar-text-active);
padding-bottom: 4px;
margin-bottom: 8px;
}
/* This is the element that displays variants on press+hold */
.MLK__variant-panel {
visibility: hidden;
position: fixed;
display: flex;
flex-flow: row wrap-reverse;
justify-content: center;
align-content: center;
margin: 0;
padding: 0;
bottom: auto;
top: 0;
box-sizing: content-box;
transform: none;
z-index: calc(var(--_keyboard-zindex) + 1);
touch-action: none;
max-width: 350px;
background: var(--_variant-panel-background);
text-align: center;
border-radius: 6px;
padding: 6px;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
transition: none;
}
.MLK__variant-panel.is-visible {
visibility: visible;
}
.MLK__variant-panel.compact {
--_variant-keycap-length: var(--variant-keycap-length, 50px);
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 10px);
}
.MLK__variant-panel .item {
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
font-size: var(--_variant-keycap-font-size);
height: var(--_variant-keycap-length);
width: var(--_variant-keycap-length);
margin: 0;
box-sizing: border-box;
border-radius: 5px;
border: 1px solid transparent;
background: transparent;
pointer-events: all;
cursor: pointer;
color: var(--_variant-keycap-text);
fill: currentColor;
}
@media (max-height: 412px) {
.MLK__variant-panel .item {
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-length: var(--variant-keycap-length, 50px);
}
}
.MLK__variant-panel .item .ML__latex {
pointer-events: none;
}
.MLK__variant-panel .item.is-active {
background: var(--_variant-keycap-background-active);
color: var(--_variant-keycap-text-active);
}
.MLK__variant-panel .item.is-pressed {
background: var(--_variant-keycap-background-pressed);
color: var(--_variant-keycap-text-pressed);
}
.MLK__variant-panel .item.small {
font-size: var(--_keycap-small-font-size);
}
.MLK__variant-panel .item.swatch-button {
box-sizing: border-box;
background: #fbfbfb;
}
.MLK__variant-panel .item.swatch-button > span {
display: inline-block;
margin: 6px;
width: calc(100% - 12px);
height: calc(100% - 12px);
border-radius: 50%;
}
.MLK__variant-panel .item.swatch-button:hover {
background: #f0f0f0;
}
.MLK__variant-panel .item.swatch-button:hover > span {
border-radius: 2px;
}
.MLK__variant-panel .item.box > div,
.MLK__variant-panel .item.box > span {
border: 1px dashed rgba(0, 0, 0, 0.24);
}
.MLK__variant-panel .item .warning {
min-height: 60px;
min-width: 60px;
background: #cd0030;
color: white;
padding: 5px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
}
.MLK__variant-panel .item .warning.is-pressed,
.MLK__variant-panel .item .warning.is-active {
background: red;
}
.MLK__variant-panel .item .warning svg.svg-glyph {
width: 50px;
height: 50px;
}
.MLK__variant-panel .item aside {
font-size: var(--_variant-keycap-aside-font-size);
line-height: 12px;
opacity: 0.78;
padding-top: 2px;
}
.MLK__keycap {
position: relative;
}
.MLK__shift {
display: block;
position: absolute;
right: 4px;
top: 4px;
font-size: var(--_keycap-shift-font-size);
color: var(--_keycap-shift-color);
}
.hide-shift .MLK__shift {
display: none;
}
@media (max-width: 414px) {
.MLK__variant-panel {
max-width: 350px;
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
--_variant-keycap-length: var(--variant-keycap-length, 50px);
}
}
/* @xs breakpoint: iPhone 5 */
@container (max-width: 414px) {
.MLK__rows {
--_keycap-gap: max(var(--_keycap-gap, 2px), 2px);
--_keycap-height: max(var(--_keycap-height), 42px);
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
}
.MLK__toolbar > div > div {
font-size: 100%;
margin-left: 2px;
margin-right: 2px;
}
.MLK__rows .shift,
.MLK__rows .action {
font-size: 65%;
}
.MLK__rows .warning svg.svg-glyph {
width: 14px;
height: 14px;
min-height: 14px;
}
}
@container (max-width: 744px) {
.MLK__rows {
--_keycap-gap: max(var(--keycap-gap, 2px), 2px);
--_keycap-height: max(var(--keycap-height, 52px), 52px);
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
}
.MLK__toolbar > div > div {
padding-left: 0;
padding-right: 0;
}
.MLK__tooltip::after {
padding: 8px 16px;
font-size: 16px;
}
.MLK__rows > .MLK__row > div.fnbutton {
font-size: 16px;
}
.MLK__rows > .MLK__row > div.bigfnbutton {
font-size: calc(var(--_keycap-extra-small-font-size) / 1.55);
}
.MLK__rows > .MLK__row > div.small {
font-size: 13px;
}
.MLK__rows > .MLK__row > div > aside {
display: none;
}
.MLK__shift {
display: none;
}
}
/* Medium breakpoint: larger phones */
@container (max-width: 768px) {
.MLK__rows {
--_keycap-height: max(var(--keycap-height, 42px), 42px);
}
.MLK__rows > .MLK__row > div > small {
font-size: 14px;
}
}
@media (max-height: 768px) {
.MLK__rows {
--_keycap-height: max(var(--keycap-height, 42px), 42px);
}
.MLK__rows > .MLK__row > div > small {
font-size: 14px;
}
}
@container (max-width: 1444px) {
.MLK__rows .if-wide {
display: none;
}
}
@media (prefers-color-scheme: dark) {
.ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
--_background: var(--keyboard-background, #151515);
--_border: var(--keyboard-border, transparent);
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
--keyboard-toolbar-background-hover: #303030;
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
--_keycap-background: var(--keycap-background, #1f2022);
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
--_keycap-border: var(--_keycap-border, transparent);
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
--_keycap-text: var(--keycap-text, #e3e4e8);
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
--keycap-secondary-border: transparent;
--keycap-secondary-border-bottom: transparent;
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
--_variant-panel-background: var(--variant-panel-background, #303030);
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
}
}
/* Same as the media query, but with a class */
[theme='dark'] .ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
--_background: var(--keyboard-background, #151515);
--_border: var(--keyboard-border, transparent);
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
--keyboard-toolbar-background-hover: #303030;
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
--_keycap-background: var(--keycap-background, #1f2022);
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
--_keycap-border: var(--_keycap-border, transparent);
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
--_keycap-text: var(--keycap-text, #e3e4e8);
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
--keycap-secondary-border: transparent;
--keycap-secondary-border-bottom: transparent;
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
--_variant-panel-background: var(--variant-panel-background, #303030);
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
}
[theme='light'] .ML__keyboard {
--_accent-color: var(--keyboard-accent-color, #0c75d8);
--_background: var(--keyboard-background, #cacfd7);
--_border: var(--keyboard-border, #ddd);
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
--_keycap-background: var(--keycap-background, white);
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
--_keycap-border: var(--_keycap-border, #e5e6e9);
--_keycap-border-bottom: var(--_keycap-border-bottom, #8d8f92);
--_keycap-text: var(--keycap-text, #000);
--_keycap-text-active: var(--keycap-text-active, #fff);
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
--_variant-panel-background: var(--variant-panel-background, #fff);
--_variant-keycap-text: var(--variant-keycap-textvar, var(--_keycap-text));
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
}
`,Ef=`:host {
--primary-color: #5898ff;
--primary-color-dimmed: #c0c0f0;
--primary-color-dark: var(--blue-500);
--primary-color-light: var(--blue-100);
--primary-color-reverse: #ffffff;
--secondary-color: #ff8a65;
--secondary-color-dimmed: #f0d5c5;
--secondary-color-dark: var(--orange-500);
--secondary-color-light: var(--orange-100);
--secondary-color-reverse: #ffffff;
--link-color: #5898ff;
--link-color-dimmed: #c5c5c5;
--link-color-dark: #121212;
--link-color-light: #e2e2e2;
--link-color-reverse: #ffffff;
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--neutral-100: #f5f5f5;
--neutral-200: #eeeeee;
--neutral-300: #e0e0e0;
--neutral-400: #bdbdbd;
--neutral-500: #9e9e9e;
--neutral-600: #757575;
--neutral-700: #616161;
--neutral-800: #424242;
--neutral-900: #212121;
--red-25: #fff8f7;
--red-50: #fff1ef;
--red-100: #ffeae6;
--red-200: #ffcac1;
--red-300: #ffa495;
--red-400: #ff7865;
--red-500: #f21c0d;
--red-600: #e50018;
--red-700: #d30024;
--red-800: #bd002c;
--red-900: #a1002f;
--orange-25: #fffbf8;
--orange-50: #fff7f1;
--orange-100: #fff3ea;
--orange-200: #ffe1c9;
--orange-300: #ffcca2;
--orange-400: #ffb677;
--orange-500: #fe9310;
--orange-600: #f58700;
--orange-700: #ea7c00;
--orange-800: #dc6d00;
--orange-900: #ca5b00;
--brown-25: #fff8ef;
--brown-50: #fff1df;
--brown-100: #ffe9ce;
--brown-200: #ebcca6;
--brown-300: #cdaf8a;
--brown-400: #af936f;
--brown-500: #856a47;
--brown-600: #7f5e34;
--brown-700: #78511f;
--brown-800: #6e4200;
--brown-900: #593200;
--yellow-25: #fffdf9;
--yellow-50: #fffcf2;
--yellow-100: #fffaec;
--yellow-200: #fff2ce;
--yellow-300: #ffe8ab;
--yellow-400: #ffdf85;
--yellow-500: #ffcf33;
--yellow-600: #f1c000;
--yellow-700: #dfb200;
--yellow-800: #c9a000;
--yellow-900: #ad8a00;
--lime-25: #f4ffee;
--lime-50: #e9ffdd;
--lime-100: #ddffca;
--lime-200: #a8fb6f;
--lime-300: #94e659;
--lime-400: #80d142;
--lime-500: #63b215;
--lime-600: #45a000;
--lime-700: #268e00;
--lime-800: #007417;
--lime-900: #005321;
--green-25: #f5fff5;
--green-50: #ebffea;
--green-100: #e0ffdf;
--green-200: #a7ffa7;
--green-300: #5afa65;
--green-400: #45e953;
--green-500: #17cf36;
--green-600: #00b944;
--green-700: #00a34a;
--green-800: #008749;
--green-900: #00653e;
--teal-25: #f3ffff;
--teal-50: #e6fffe;
--teal-100: #d9fffe;
--teal-200: #8dfffe;
--teal-300: #57f4f4;
--teal-400: #43e5e5;
--teal-500: #17cfcf;
--teal-600: #00c2c0;
--teal-700: #00b5b1;
--teal-800: #00a49e;
--teal-900: #009087;
--cyan-25: #f7fcff;
--cyan-50: #eff8ff;
--cyan-100: #e7f5ff;
--cyan-200: #c2e6ff;
--cyan-300: #95d5ff;
--cyan-400: #61c4ff;
--cyan-500: #13a7ec;
--cyan-600: #069eda;
--cyan-700: #0095c9;
--cyan-800: #0088b2;
--cyan-900: #0a7897;
--blue-25: #f7faff;
--blue-50: #eef5ff;
--blue-100: #e5f1ff;
--blue-200: #bfdbff;
--blue-300: #92c2ff;
--blue-400: #63a8ff;
--blue-500: #0d80f2;
--blue-600: #0077db;
--blue-700: #006dc4;
--blue-800: #0060a7;
--blue-900: #005086;
--indigo-25: #f8f7ff;
--indigo-50: #f1efff;
--indigo-100: #eae7ff;
--indigo-200: #ccc3ff;
--indigo-300: #ac99ff;
--indigo-400: #916aff;
--indigo-500: #63c;
--indigo-600: #5a21b2;
--indigo-700: #4e0b99;
--indigo-800: #3b0071;
--indigo-900: #220040;
--purple-25: #fbf7ff;
--purple-50: #f8f0ff;
--purple-100: #f4e8ff;
--purple-200: #e4c4ff;
--purple-300: #d49aff;
--purple-400: #c36aff;
--purple-500: #a219e6;
--purple-600: #9000c4;
--purple-700: #7c009f;
--purple-800: #600073;
--purple-900: #3d0043;
--magenta-25: #fff8fb;
--magenta-50: #fff2f6;
--magenta-100: #ffebf2;
--magenta-200: #ffcddf;
--magenta-300: #ffa8cb;
--magenta-400: #ff7fb7;
--magenta-500: #eb4799;
--magenta-600: #da3689;
--magenta-700: #c82179;
--magenta-800: #b00065;
--magenta-900: #8a004c;
}
@media (prefers-color-scheme: dark) {
:host {
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--semantic-bg-blue: var(--blue-25);
--semantic-bg-red: var(--red-25);
--semantic-bg-orange: var(--orange-25);
--semantic-bg-green: var(--green-25);
--neutral-100: #121212;
--neutral-200: #424242;
--neutral-300: #616161;
--neutral-400: #757575;
--neutral-500: #9e9e9e;
--neutral-600: #bdbdbd;
--neutral-700: #e0e0e0;
--neutral-800: #eeeeee;
--neutral-900: #f5f5f5;
}
}
:host([theme='dark']) {
--semantic-blue: var(--blue-700);
--semantic-red: var(--red-400);
--semantic-orange: var(--orange-400);
--semantic-green: var(--green-700);
--semantic-bg-blue: var(--blue-25);
--semantic-bg-red: var(--red-25);
--semantic-bg-orange: var(--orange-25);
--semantic-bg-green: var(--green-25);
--neutral-100: #121212;
--neutral-200: #424242;
--neutral-300: #616161;
--neutral-400: #757575;
--neutral-500: #9e9e9e;
--neutral-600: #bdbdbd;
--neutral-700: #e0e0e0;
--neutral-800: #eeeeee;
--neutral-900: #f5f5f5;
}
/* @media (prefers-color-scheme: dark) {
:host {
--label-color: #fff;
--active-label-color: #000;
--menu-bg: #525252;
--active-bg: #5898ff;
--active-bg-dimmed: #5c5c5c;
}
} */
:host {
--ui-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol';
--ui-font-size: 14px;
--ui-line-height: 1.5;
--ui-letter-spacing: 0.007em;
--mono-font-family: 'Berkeley Mono', 'JetBrains Mono', 'IBM Plex Mono',
'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;
--ui-layer-1: var(--neutral-100);
--ui-layer-2: var(--neutral-200);
--ui-layer-3: var(--neutral-300);
--ui-layer-4: var(--neutral-400);
--ui-layer-5: var(--neutral-500);
--ui-layer-6: var(--neutral-600);
--ui-border-color: var(--primary-color);
--ui-border-radius: 4px;
--ui-text: var(--neutral-900);
--ui-text-secondary: var(--neutral-700);
--ui-text-placeholder: var(--neutral-500);
--ui-text-muted: var(--neutral-300);
/** A field is a UI element in which a user can type data, for
* example an input or textarea element.
*/
--ui-field-bg: var(--neutral-100);
--ui-field-bg-hover: var(--neutral-100);
--ui-field-bg-disabled: var(--neutral-300);
--ui-field-bg-invalid: var(--red-100);
--ui-field-bg-focus: var(--neutral-100);
--ui-field-border: 0.5px solid var(--border-color);
--ui-field-border-hover: 0.5px solid var(--border-color);
--ui-field-border-disabled: 0.5px solid var(--border-color);
--ui-field-border-invalid: 0.5px solid var(--border-color);
--ui-field-border-focus: 0.5px solid var(--border-color);
--ui-menu-bg: var(--neutral-100);
--ui-menu-text: var(--neutral-900);
--ui-menu-bg-hover: var(--neutral-200);
--ui-menu-text-hover: var(--neutral-900);
/** The \`active\` state is used for the state of menu items
* when they are selected.
*/
--ui-menu-bg-active: var(--primary-color);
--ui-menu-text-active: var(--primary-color-reverse);
/** The \`active-muted\` set is used for the state of
* submenus when they are open.
*/
--ui-menu-bg-active-muted: var(--neutral-300);
--ui-menu-text-active-muted: var(--neutral-900);
/* --ui-menu-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
0 2px 6px 2px rgba(60, 64, 67, 0.149); */
--ui-menu-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);
--ui-menu-divider: 0.5px solid #c7c7c7;
/* var(--neutral-300); */
--ui-menu-z-index: 10000;
--page-bg: var(--neutral-100);
--content-bg: var(--neutral-200);
}
@media (prefers-color-scheme: dark) {
:host {
--ui-menu-bg: var(--neutral-200);
}
}
:host([theme='dark']) {
--ui-menu-bg: var(--neutral-200);
}
/* PingFang SC is a macOS font. Microsoft Yahei is a Windows font.
Noto is a Linux/Android font.
*/
:lang(zh-cn),
:lang(zh-sg),
:lang(zh-my),
:lang(zh) {
--ui-font-family: -apple-system, system-ui, 'PingFang SC', 'Hiragino Sans GB',
'Noto Sans CJK SC', 'Noto Sans SC', 'Noto Sans', 'Microsoft Yahei UI',
'Microsoft YaHei New', 'Microsoft Yahei', '\u5FAE\u8F6F\u96C5\u9ED1', SimSun, '\u5B8B\u4F53',
STXihei, '\u534E\u6587\u7EC6\u9ED1', sans-serif;
}
:lang(zh-tw),
:lang(zh-hk),
:lang(zh-mo) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans',
'Microsoft JhengHei UI', 'Microsoft JhengHei', '\u5FAE\u8EDF\u6B63\u9ED1\u9AD4', '\u65B0\u7D30\u660E\u9AD4',
'PMingLiU', '\u7D30\u660E\u9AD4', 'MingLiU', sans-serif;
}
:lang(ja),
:lang(ja-jp),
:lang(ja-jp-mac) {
--ui-font-family: -apple-system, system-ui, 'Hiragino Sans',
'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'Noto Sans',
'\u6E38\u30B4\u30B7\u30C3\u30AF', '\u6E38\u30B4\u30B7\u30C3\u30AF\u4F53', YuGothic, 'Yu Gothic', '\u30E1\u30A4\u30EA\u30AA', Meiryo,
'\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF', 'MS PGothic', sans-serif;
}
:lang(ko),
:lang(ko-kr),
:lang(ko-kr-std) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
'Noto Sans', 'Malgun Gothic', '\uB9D1\uC740 \uACE0\uB515', 'Apple SD Gothic Neo',
'\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo', 'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
}
:lang(ko-kr-apple) {
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
'Noto Sans', 'Apple SD Gothic Neo', '\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo',
'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
}
:lang(zh-cn),
:lang(zh-sg),
:lang(zh-my),
:lang(zh),
:lang(zh-tw),
:lang(zh-hk),
:lang(zh-mo),
:lang(ja),
:lang(ja-jp),
:lang(ja-jp-mac),
:lang(ko),
:lang(ko-kr),
:lang(ko-kr-std),
:lang(ko-kr-apple) {
--ui-font-size: 1rem;
--ui-line-height: 1.7;
--ui-letter-spacing: 0;
}
:dir(rtl) {
--ui-line-height: auto;
--ui-letter-spacing: 0;
}
`,Hf=`.ui-menu *,
.ui-menu ::before,
.ui-menu ::after {
box-sizing: border-box;
}
.ui-menu {
display: none;
color-scheme: light dark;
-webkit-user-select: none;
/* Important: Safari iOS doesn't respect user-select */
user-select: none;
cursor: default;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0 0 0 0);
--active-label-color: #fff;
/* ui-menu-text-active */
--label-color: #121212;
/* ui-menu-text */
--menu-bg: #e2e2e2;
/* ui-menu-background */
--active-bg: #5898ff;
/* ui-menu-background-active */
--active-bg-dimmed: #c5c5c5;
/* ui-menu-background-active-muted */
}
/** Use the :where pseudo selector to make the specificity of the
* selector 0, so that it can be overridden by the user.
*/
:where(.ui-menu-container) {
position: absolute;
overflow: visible;
width: auto;
height: auto;
z-index: 10000;
border-radius: 8px;
background: var(--ui-menu-bg);
box-shadow: var(--ui-menu-shadow);
list-style: none;
padding: 6px 0 6px 0;
margin: 0;
user-select: none;
cursor: default;
color: var(--ui-menu-text);
font-weight: normal;
font-style: normal;
text-shadow: none;
text-transform: none;
letter-spacing: 0;
outline: none;
opacity: 1;
/* The [popover] elements have a 1px solid black border. Ugh. */
border: none;
width: fit-content;
height: fit-content;
}
:where(.ui-menu-container > li) {
display: flex;
flex-flow: row;
align-items: center;
padding: 1px 7px 1px 7px;
margin-top: 0;
margin-left: 6px;
margin-right: 6px;
border-radius: 4px;
white-space: nowrap;
position: relative;
outline: none;
fill: currentColor;
user-select: none;
cursor: default;
text-align: left;
color: inherit;
font-family: var(--ui-font-family);
font-size: var(--ui-font-size);
line-height: var(--ui-line-height);
letter-spacing: var(--ui-letter-spacing);
}
:where(.ui-menu-container > li > .label) {
appearance: none;
background: none;
outline: none;
width: 100%;
margin: 0;
padding: 1px 2px 1px 1px;
overflow: visible;
border: 1px solid transparent;
white-space: nowrap;
text-align: start;
}
:where(.ui-menu-container > li:has(.heading)) {
margin-top: 0.5em;
}
:where(.ui-menu-container > li > .label.heading) {
font-weight: bold;
opacity: 0.4;
}
:where(.ui-menu-container > li.indent > .label) {
margin-inline-start: 12px;
}
:where(.ui-menu-container > li > .label.indent) {
margin-inline-start: 12px;
}
:where(.ui-menu-container > li[role='divider']) {
border-bottom: 1px solid var(--ui-menu-divider);
border-radius: 0;
padding: 0;
margin-left: 15px;
margin-right: 15px;
padding-top: 5px;
margin-bottom: 5px;
width: calc(100% - 30px);
/** 100% - (margin-left + margin-right) */
}
:where(.ui-menu-container > li[aria-disabled='true']) {
opacity: 0.5;
}
:where(.ui-menu-container > li.active) {
background: var(--ui-menu-bg-active);
background: -apple-system-control-accent;
color: var(--ui-menu-text-active);
}
:where(.ui-menu-container > li.active.is-submenu-open) {
background: var(--ui-menu-bg-active-muted);
color: inherit;
}
:where(.ui-menu-container > li[aria-haspopup='true'] > .label) {
padding-inline-end: 0;
}
:where(.ui-menu-container > li[aria-haspopup='true'].active::after) {
color: var(--ui-menu-text-active);
}
/** Keyboard shortcut */
:where(.ui-menu-container > li > kbd) {
font-family: var(--ui-font-family);
margin-inline-start: 12px;
opacity: 0.4;
}
:where(.ui-menu-container > li.active > kbd) {
opacity: 0.85;
}
.ui-trailing-chevron {
display: flex;
margin-inline-start: 24px;
width: 10px;
height: 10px;
margin-bottom: 4px;
}
.ui-trailing-chevron:dir(rtl) {
transform: scaleX(-1);
}
.ui-checkmark {
display: flex;
margin-inline-end: -11px;
margin-inline-start: -4px;
margin-top: 2px;
width: 16px;
height: 16px;
}
.ui-mixedmark {
display: flex;
margin-inline-end: -11px;
margin-inline-start: -4px;
margin-top: 2px;
width: 16px;
height: 16px;
}
`,su;function ff(a){let y="";switch(a){case"mathfield-element":y=`
:host { display: inline-block; background-color: field; color: fieldtext; border-width: 1px; border-style: solid; border-color: #acacac; border-radius: 2px; padding:4px;}
:host([hidden]) { display: none; }
:host([disabled]), :host([disabled]:focus), :host([disabled]:focus-within) { outline: none; opacity: .5; }
:host(:focus), :host(:focus-within) {
outline: Highlight auto 1px; /* For Firefox */
outline: -webkit-focus-ring-color auto 1px;
}
:host([readonly]:focus), :host([readonly]:focus-within),
:host([read-only]:focus), :host([read-only]:focus-within) {
outline: none;
}
@media (hover: none) and (pointer: coarse) {
:host(:not(:focus)) :first-child { pointer-events: none !important; }
}`;break;case"core":y=Qu;break;case"mathfield":y=dm;break;case"environment-popover":y=ch;break;case"suggestion-popover":y=Qm;break;case"keystroke-caption":y=mc;break;case"virtual-keyboard":y=dh;break;case"ui":y=Ef;break;case"menu":y=Hf;break;default:debugger}return y}function DA(a){return su||(su={}),su[a]||(su[a]=new CSSStyleSheet,su[a].replaceSync(ff(a))),su[a]}var Ff;function rf(a){var y;if(!("adoptedStyleSheets"in document)){if(window.document.getElementById(`mathlive-style-${a}`))return;const b=window.document.createElement("style");b.id=`mathlive-style-${a}`,b.append(window.document.createTextNode(ff(a))),window.document.head.appendChild(b);return}if(Ff||(Ff={}),((y=Ff[a])!=null?y:0)!==0)Ff[a]+=1;else{const b=DA(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],Ff[a]=1}}function x(a){if("adoptedStyleSheets"in document&&Ff!=null&&Ff[a]&&(Ff[a]-=1,Ff[a]<=0)){const y=su[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var ee=class O1 extends Ei{constructor(y){var b;super(we(Ae({},y),{type:"accent",body:(b=y.body)!=null?b:void 0})),y.accentChar?this.accent=y.accentChar:this.svgAccent=y==null?void 0:y.svgAccent,this.skipBoundary=!0,this.captureSelection=!0}static fromJson(y){return new O1(y)}toJson(){return we(Ae({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const z=new Vl({parent:y,mathstyle:"cramp"},this.style),re=(b=Ei.createBox(z,this.body))!=null?b:new Li("\u25A2",{style:this.style});let pe=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(pe=re.skew);let ye=Math.min(re.height,Zc),tt;if(this.svgAccent)tt=MA(this.svgAccent),ye=z.metrics.bigOpSpacing1-ye;else if(this.accent){const gt=new Li(this.accent,{fontFamily:"Main-Regular"});gt.italic=0;const _t=this.accent===8407?" ML__accent-vec":"";tt=new Li(new Li(gt),{classes:"ML__accent-body"+_t})}tt=new Ou({shift:0,children:[{box:new Li(re)},-ye,{box:tt,marginLeft:re.left+2*pe,classes:["ML__center"]}]});const ut=new Li(tt,{type:"lift"});return this.caret&&(ut.caret=this.caret),this.bind(z,ut.wrap(z)),this.attachSupsub(z,{base:ut})}},ue={"(":")","{":"}","[":"]","|":"|","\\lbrace":"\\rbrace","\\lparen":"\\rparen","\\{":"\\}","\\langle":"\\rangle","\\lfloor":"\\rfloor","\\lceil":"\\rceil","\\vert":"\\vert","\\lvert":"\\rvert","\\Vert":"\\Vert","\\lVert":"\\rVert","\\lbrack":"\\rbrack","\\ulcorner":"\\urcorner","\\llcorner":"\\lrcorner","\\lgroup":"\\rgroup","\\lmoustache":"\\rmoustache"},le=Object.fromEntries(Object.entries(ue).map(([a,y])=>[y,a]));function me(a){var y;return(y={"[":91,"]":93,"(":40,")":41,"\\mid":8739,"|":8739,"\u2223":8739,"\u2225":8741,"\\|":8739,"\\{":123,"\\}":125,"\\lbrace":123,"\\rbrace":125,"\\lparen":40,"\\rparen":41,"\\lbrack":91,"\\rbrack":93,"\\vert":8739,"\\lvert":8739,"\\mvert":8739,"\\rvert":8739,"\\Vert":8741,"\\lVert":8741,"\\mVert":8741,"\\rVert":8741,"\\parallel":8741,"\\shortparallel":8741,"\\langle":10216,"\\rangle":10217,"\\lfloor":8970,"\\rfloor":8971,"\\lceil":8968,"\\rceil":8969,"\\ulcorner":9484,"\\urcorner":9488,"\\llcorner":9492,"\\lrcorner":9496,"\\lgroup":10222,"\\rgroup":10223,"\\lmoustache":9136,"\\rmoustache":9137,"\\surd":8730}[a])!=null?y:a.codePointAt(0)}function Ve(a,y,b,z){var re;const ye=new Li(me(a),{fontFamily:"Main-Regular",isSelected:z.isSelected,classes:"ML__small-delim "+((re=z.classes)!=null?re:"")}).wrap(y);return b&&ye.setTop((1-y.scalingFactor)*Yu),ye}function mt(a,y,b,z,re){var pe,ye;const tt=new Vl({parent:z,mathstyle:"textstyle"},re==null?void 0:re.style),ut=new Li(me(a),{fontFamily:`Size${y}-Regular`,isSelected:re.isSelected,classes:((pe=re.classes)!=null?pe:"")+` ML__delim-size${y}`,type:(ye=re.type)!=null?ye:"ignore"}).wrap(tt);return b&&ut.setTop((1-tt.scalingFactor)*Yu),ut}function It(a,y,b,z,re){var pe;let ye,tt,ut,gt;ye=ut=gt=me(a),tt=null;let _t="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?ut=ye=gt=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?ut=ye=gt=8741:a==="\\uparrow"?ut=gt=9168:a==="\\Uparrow"?ut=gt=8214:a==="\\downarrow"?ye=ut=9168:a==="\\Downarrow"?ye=ut=8214:a==="\\updownarrow"?(ye=8593,ut=9168,gt=8595):a==="\\Updownarrow"?(ye=8657,ut=8214,gt=8659):a==="["||a==="\\lbrack"?(ye=9121,ut=9122,gt=9123,_t="Size4-Regular"):a==="]"||a==="\\rbrack"?(ye=9124,ut=9125,gt=9126,_t="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(ut=ye=9122,gt=9123,_t="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(ye=9121,ut=gt=9122,_t="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(ut=ye=9125,gt=9126,_t="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(ye=9124,ut=gt=9125,_t="Size4-Regular"):a==="("||a==="\\lparen"?(ye=9115,ut=9116,gt=9117,_t="Size4-Regular"):a===")"||a==="\\rparen"?(ye=9118,ut=9119,gt=9120,_t="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(ye=9127,tt=9128,gt=9129,ut=9130,_t="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(ye=9131,tt=9132,gt=9133,ut=9130,_t="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(ye=9127,gt=9129,ut=9130,_t="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(ye=9131,gt=9133,ut=9130,_t="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(ye=9127,gt=9133,ut=9130,_t="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(ye=9131,gt=9129,ut=9130,_t="Size4-Regular"):a==="\\surd"?(ye=57345,gt=9143,ut=57344,_t="Size4-Regular"):a==="\\ulcorner"?(ye=9484,ut=gt=32):a==="\\urcorner"?(ye=9488,ut=gt=32):a==="\\llcorner"?(gt=9492,ut=ye=32):a==="\\lrcorner"&&(ye=9496,ut=ye=32);const qt=ld(ye,_t),pn=qt.height+qt.depth,Kn=ld(ut,_t),nr=Kn.height+Kn.depth,di=ld(gt,_t),Ha=di.height+di.depth;let li=0,na=1;if(tt!==null){const dn=ld(tt,_t);li=dn.height+dn.depth,na=2}const Ka=pn+Ha+li,fa=Math.max(0,Math.ceil((y-Ka)/(na*nr))),Vo=Ka+fa*na*nr;let vs=Yu;b&&(vs=vs*z.scalingFactor);const os=Vo/2-vs,xe=.008,Qe=[];Qe.push({box:new Li(gt,{fontFamily:_t})}),Qe.push(-xe);const st=new Li(ut,{fontFamily:_t});if(tt===null)for(let dn=0;dn<fa;dn++)Qe.push({box:st});else{for(let dn=0;dn<fa;dn++)Qe.push({box:st});Qe.push(-xe),Qe.push({box:new Li(tt,{fontFamily:_t})}),Qe.push(-xe);for(let dn=0;dn<fa;dn++)Qe.push({box:st})}Qe.push(-xe),Qe.push({box:new Li(ye,{fontFamily:_t})});let Ot="";_t==="Size1-Regular"?Ot=" delim-size1":_t==="Size4-Regular"&&(Ot=" delim-size4");const rn=new Ou({bottom:os,children:Qe},{classes:Ot});return new Li(rn,we(Ae({},re!=null?re:{}),{classes:((pe=re==null?void 0:re.classes)!=null?pe:"")+" ML__delim-mult"}))}var Ht=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Jt=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),zn=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),tr=[0,1.2,1.8,2.4,3];function ei(a,y,b,z){return a===void 0||a==="."?Ro(b,z.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ht.has(a)||zn.has(a)?mt(a,y,!1,b,z):Jt.has(a)?It(a,tr[y],!1,b,z):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var Kr=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ri=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],ga=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}];function Ga(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function yo(a,y,b,z){const re={"-4":0,"-3":1,0:2}[z.mathstyle.sizeDelta];for(let pe=re;pe<b.length&&b[pe].type!=="stack";pe++){const ye=ld(a,Ga(b[pe]));if(ye.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let tt=ye.height+ye.depth;if(b[pe].type==="small"&&(b[pe].mathstyle==="scriptscriptstyle"?tt*=Math.max(jc[Math.max(1,z.size-2)],z.minFontScale):b[pe].mathstyle==="scriptstyle"&&(tt*=Math.max(jc[Math.max(1,z.size-1)],z.minFontScale))),tt>y)return b[pe]}return b[b.length-1]}function ko(a,y,b,z,re,pe){if(!y||y.length===0||y===".")return Ro(re);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let ye;zn.has(y)?ye=Kr:Ht.has(y)?ye=ga:ye=Ri;const tt=yo(me(y),b,ye,re),ut=new Vl({parent:re,mathstyle:tt.mathstyle},pe==null?void 0:pe.style);return tt.type==="small"?Ve(y,ut,z,we(Ae({},pe),{type:a})):tt.type==="large"?mt(y,tt.size,z,ut,we(Ae({},pe),{type:a})):(console.assert(tt.type==="stack"),It(y,b,z,ut,we(Ae({},pe),{type:a})))}function Ao(a,y,b,z,re,pe){if(y===".")return Ro(re,pe==null?void 0:pe.classes);const ye=Yu*re.scalingFactor,tt=901,ut=5/Hc,gt=Math.max(b-ye,z+ye),_t=Math.max(gt/500*tt,2*gt-ut);return ko(a,y,_t,!0,re,pe)}function Ro(a,y){const b=new Li(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new Vl({parent:a,mathstyle:"textstyle"}))}var ms=class T1 extends Ei{constructor(y){var b;super({type:"placeholder",command:"\\placeholder",mode:(b=y==null?void 0:y.mode)!=null?b:"math",style:y==null?void 0:y.style}),this.captureSelection=!0}static fromJson(y){return new T1(y)}toJson(){return super.toJson()}render(y){let b;return this.value=y.placeholderSymbol,typeof y.renderPlaceholder=="function"?b=y.renderPlaceholder(y):b=this.createBox(y),this.caret&&(b.classes+=" ML__placeholder-selected"),b}_serialize(y){return y.skipPlaceholders?"":"\\placeholder{}"}},ws=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],Rs=["cases","dcases","rcases"],zu=["align","align*","aligned","gather","gathered","split"],pd=["array","subequations","eqnarray"];function Sc(a){return pd.concat(zu).concat(Rs).concat(ws).includes(a)}function Od(a){return ws.includes(a)}function Sd(a){return Rs.includes(a)}function cd(a){return zu.includes(a)}function Zd(a,y,b){let z=0;for(const gt of b)"align"in gt&&(z+=1);let re=0;const pe=[];for(const gt of y){let _t=0;for(re=Math.max(re,Math.min(gt.length,z));_t<gt.length;){const qt=[],pn=Math.min(gt.length,_t+z);for(;_t<pn;){const Kn=gt[_t];Kn.length===0?qt.push([new Ei({type:"first",mode:a.mode})]):Kn[0].type!=="first"?qt.push([new Ei({type:"first",mode:a.mode}),...Kn]):(console.assert(!Kn.slice(1).some(nr=>nr.type==="first")),qt.push(Kn)),_t+=1}pe.push(qt)}}pe.length>0&&pe[pe.length-1].length===1&&pe[pe.length-1][0].length===1&&pe[pe.length-1][0][0].type==="first"&&pe.pop();const ye=[];for(const gt of pe){if(gt.length!==re)for(let _t=gt.length;_t<re;_t++)gt.push([new Ei({type:"first",mode:a.mode}),new ms]);ye.push(gt)}let tt=0,ut=0;for(const gt of ye){ut=0;for(const _t of gt){for(const qt of _t)qt.parent=a,qt.parentBranch=[tt,ut];ut+=1}tt+=1}return a.isDirty=!0,ye}var rl=class P1 extends Ei{constructor(y,b,z,re={}){var pe;super({type:"array"}),this.environmentName=y,this.rowGaps=z,re.mathstyleName&&(this.mathstyleName=re.mathstyleName),re.columns&&(re.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=re.columns),this.colFormat||(this.colFormat=[{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"}]),this.array=Zd(this,b,this.colFormat),re.leftDelim&&(this.leftDelim=re.leftDelim),re.rightDelim&&(this.rightDelim=re.rightDelim),re.arraycolsep!==void 0&&(this.arraycolsep=re.arraycolsep),this.colSeparationType=re.colSeparationType,re.arraystretch!==void 0&&(this.arraystretch=re.arraystretch),this.minColumns=(pe=re.minColumns)!=null?pe:1}static fromJson(y){return new P1(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=we(Ae({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(z=>z.map(re=>re.toJson()))),rowGaps:this.rowGaps,columns:this.colFormat,colSeparationType:this.colSeparationType});return this.arraystretch!==void 0&&(y.arraystretch=this.arraystretch),this.arraycolsep!==void 0&&(y.arraycolsep=this.arraycolsep),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}branch(y){var b;if(Ih(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return Ih(y)?(this.isDirty=!0,(b=this.branch(y))!=null?b:[]):[]}get rowCount(){return this.array.length}get colCount(){return this.array[0].length}get maxColumns(){return this.colFormat.filter(y=>!!y.align).length}removeBranch(y){if(Sf(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(z=>{z.parent=void 0,z.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const z of b)if(z)for(const re of z)y.push(...re.children),y.push(re);return[...y,...super.children]}render(y){var b,z,re,pe,ye,tt;const ut=new Vl({parent:y,mathstyle:this.mathstyleName},this.style),gt=ut.getRegisterAsEm("arrayrulewidth"),_t=ut.getRegisterAsEm("arraycolsep"),qt=ut.getRegisterAsEm("doublerulesep"),pn=(z=(b=this.arraystretch)!=null?b:ut.getRegisterAsNumber("arraystretch"))!=null?z:1;let Kn=typeof this.arraycolsep=="number"?this.arraycolsep:_t;this.colSeparationType==="small"&&(Kn=.2778*(new Vl({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const nr=pn*CA,di=.7*nr,Ha=.3*nr;let li=0;const na=[];let Ka=0;const fa=this.array.length;for(let Dn=0;Dn<fa;++Dn){const Sr=this.array[Dn];Ka=Math.max(Ka,Sr.length);const oi=new Vl({parent:ut,mathstyle:this.mathstyleName},this.style);let Yn=di/oi.scalingFactor,Vr=Ha/oi.scalingFactor;const ii={cells:[],height:0,depth:0,pos:0};for(const Ai of Sr){const aa=(re=Ei.createBox(oi,Ai,{type:"ignore"}))!=null?re:new Li(null,{type:"ignore"});Vr=Math.max(Vr,aa.depth),Yn=Math.max(Yn,aa.height),ii.cells.push(aa)}let Yi=(pe=$A(this.rowGaps[Dn]))!=null?pe:0;Yi>0&&(Yi+=Ha,Vr=Math.max(Vr,Yi),Yi=0),Dn<fa-1&&!Od(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Vr+=ut.getRegisterAsEm("jot")),ii.height=Yn,ii.depth=Vr,li+=Yn,ii.pos=li,li+=Vr+Yi,na.push(ii)}const Vo=li/2+Yu,vs=[];for(let Dn=0;Dn<Ka;Dn++){const Sr=[];for(const oi of na){const Yn=oi.cells[Dn];Yn.depth=oi.depth,Yn.height=oi.height,Sr.push({box:Yn,shift:oi.pos-Vo})}Sr.length>0&&vs.push(new Ou({individualShift:Sr}))}const os=[];let xe=!1,Qe=!1,st=0,Ot=!this.leftDelim;const{colFormat:rn}=this;for(const Dn of rn){if("align"in Dn&&st>=vs.length)break;if("align"in Dn)xe?os.push(Ju(2*Kn)):(Qe||Ot)&&os.push(Ju(Kn)),os.push(new Li(vs[st],{classes:"col-align-"+Dn.align})),st++,xe=!0,Qe=!1,Ot=!1;else if("gap"in Dn){if(typeof Dn.gap=="number")os.push(Ju(Dn.gap));else{const Sr=Ec(y,na,Vo,Dn.gap);Sr&&os.push(Sr)}xe=!1,Qe=!1,Ot=!1}else if("separator"in Dn){const Sr=new Li(null,{classes:"vertical-separator"});Sr.height=li,Sr.setStyle("height",li,"em"),Sr.setStyle("border-right",`${gt}em ${Dn.separator} currentColor`),Sr.setStyle("vertical-align",-(li-Vo),"em");let oi=0;Qe?oi=qt-gt:xe&&(oi=Kn-gt),Sr.left=oi,os.push(Sr),xe=!1,Qe=!0,Ot=!1}}xe&&!this.rightDelim&&os.push(Ju(Kn));const ln=new Li(os,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(ln.caret=this.caret),this.bind(y,ln);const dn=ln.height,bn=ln.depth,kn=this.bind(y,new Li([this.bind(y,Ao("open",(ye=this.leftDelim)!=null?ye:".",dn,bn,ut,{isSelected:this.isSelected})),ln,this.bind(y,Ao("close",(tt=this.rightDelim)!=null?tt:".",dn,bn,ut,{isSelected:this.isSelected}))],{type:"ord"}));return kn?(kn.setStyle("display","inline-block"),this.caret&&(kn.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:kn}))):null}_serialize(y){var b;const z=[];if(this.environmentName==="lines"?z.push("{\\displaylines"):z.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(z.push("{"),this.colFormat!==void 0)for(const re of this.colFormat)"align"in re&&typeof re.align=="string"?z.push(re.align):"separator"in re&&re.separator==="solid"?z.push("|"):"separator"in re&&re.separator==="dashed"&&z.push(":");z.push("}")}for(let re=0;re<this.array.length;re++){for(let pe=0;pe<this.array[re].length;pe++)pe>0&&z.push(" & "),z.push(Ei.serialize(this.array[re][pe],y));if(re<this.array.length-1){const pe=this.rowGaps[re];pe!=null&&pe.dimension?z.push(`\\\\[${pe.dimension} ${(b=pe.unit)!=null?b:"pt"}] `):z.push("\\\\ ")}}return this.environmentName==="lines"?z.push("}"):z.push(`\\end{${this.environmentName}}`),ml(z)}getCell(y,b){return this.array[y][b]}setCell(y,b,z){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const pe of this.array[y][b])pe.parent=void 0,pe.parentBranch=void 0;let re=z;(z.length===0||z[0].type!=="first")&&(re=[new Ei({type:"first",mode:this.mode}),...z]),this.array[y][b]=re;for(const pe of re)pe.parent=this,pe.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let z=0;z<this.colCount;z++)b.push(uo(this));this.array.splice(y,0,b);for(let z=y;z<this.rowCount;z++)for(let re=0;re<this.colCount;re++){const pe=this.array[z][re];if(pe)for(const ye of pe)ye.parentBranch=[z,re]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let z=0;z<this.colCount;z++)b.push(uo(this));this.array.splice(y+1,0,b);for(let z=y+1;z<this.rowCount;z++)for(let re=0;re<this.colCount;re++){const pe=this.array[z][re];if(pe)for(const ye of pe)ye.parentBranch=[z,re]}this.isDirty=!0}removeRow(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.rowCount>y);const b=this.array.splice(y,1);for(const z of b)for(const re of z)if(re)for(const pe of re)pe.parent=void 0,pe.parentBranch=void 0;for(let z=y;z<this.rowCount;z++)for(let re=0;re<this.colCount;re++){const pe=this.array[z][re];if(pe)for(const ye of pe)ye.parentBranch=[z,re]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,uo(this));for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const re=this.array[b][z];if(re)for(const pe of re)pe.parentBranch=[b,z]}this.isDirty=!0}addColumnAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y+1,0,uo(this));for(let b=0;b<this.rowCount;b++)for(let z=y+1;z<this.colCount;z++){const re=this.array[b][z];if(re)for(const pe of re)pe.parentBranch=[b,z]}this.isDirty=!0}addColumn(){this.addColumnAfter(this.colCount-1)}removeColumn(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.colCount>y);for(const b of this.array){const z=b.splice(y,1);for(const re of z)if(re)for(const pe of re)pe.parent=void 0,pe.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const re=this.array[b][z];if(re)for(const pe of re)pe.parentBranch=[b,z]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const z of b)z&&y.push(z.filter(re=>re.type!=="first"));return y}};function uo(a){const y=new Ei({type:"first",mode:a.mode});y.parent=a;const b=new ms;return b.parent=a,[y,b]}function Ju(a){const y=new Li(null,{classes:"arraycolsep"});return y.width=a,y}function Ec(a,y,b,z){if(!z)return null;const re=[];for(const pe of y){const ye=Ei.createBox(a,z,{type:"ignore"});ye&&(ye.depth=pe.depth,ye.height=pe.height,re.push({box:ye,shift:pe.pos-b}))}return new Ou({individualShift:re}).wrap(a)}var Lu=class R1 extends Ei{constructor(y){super({mode:y.mode,command:y.command,style:y.style,body:y.body,type:"box"}),this.framecolor=y.framecolor,this.backgroundcolor=y.backgroundcolor,this.padding=y.padding,this.offset=y.offset,this.border=y.border}static fromJson(y){return new R1(y)}toJson(){return we(Ae({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,z,re,pe;const ye=Ei.createBox(y,this.body,{type:"lift"});if(!ye)return null;const tt=y.toEm((b=this.offset)!=null?b:{dimension:0});ye.depth+=tt,ye.setStyle("display","inline-block"),ye.setStyle("position","relative"),ye.setStyle("height",Math.floor(100*ye.height+ye.depth)/100,"em"),ye.setStyle("vertical-align",-Math.floor(100*ye.height)/100,"em");const ut=new Vl({parent:y},this.style),gt=ut.toEm((z=this.padding)!=null?z:{register:"fboxsep"}),_t=new Li(null,{classes:"ML__box"});_t.height=ye.height+gt,_t.depth=ye.depth+gt,_t.setStyle("box-sizing","border-box"),_t.setStyle("position","absolute"),_t.setStyle("top",-gt+.3,"em"),_t.setStyle("left",0),_t.setStyle("height",_t.height+_t.depth,"em"),_t.setStyle("width","100%"),this.backgroundcolor&&_t.setStyle("background-color",(re=ut.toColor(this.backgroundcolor))!=null?re:"transparent"),this.framecolor&&_t.setStyle("border",`${ut.getRegisterAsEm("fboxrule",2)}em solid ${(pe=ut.toColor(this.framecolor))!=null?pe:"black"}`),this.border&&_t.setStyle("border",this.border);const qt=new Li([_t,ye],{type:"lift"});return qt.setStyle("display","inline-block"),qt.setStyle("position","relative"),qt.setStyle("line-height",0),qt.height=ye.height+gt+(tt>0?tt:0),qt.depth=ye.depth+gt+(tt<0?-tt:0),qt.setStyle("padding-left",gt,"em"),qt.setStyle("padding-right",gt,"em"),qt.setStyle("height",Math.floor(100*(ye.height+ye.depth+2*gt+Math.abs(tt)))/100,"em"),qt.setStyle("margin-top",-gt,"em"),qt.setStyle("top",Math.floor(100*(ye.depth-ye.height+2*gt-tt))/100,"em"),qt.setStyle("vertical-align",Math.floor(100*(ye.depth+2*gt))/100,"em"),this.caret&&(qt.caret=this.caret),this.attachSupsub(y,{base:qt})}_serialize(y){return y.skipStyles?ml([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},Th=class U1 extends Ei{constructor(y,b){var z;super({type:"composition",mode:(z=b==null?void 0:b.mode)!=null?z:"math",value:y})}static fromJson(y){return new U1(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new Li(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},Pl=class H1 extends Ei{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new H1(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Ql=class j1 extends Ei{constructor(y,b,z){super({type:"group",mode:b,style:z}),this.body=y,this.boxType=y.length>1?"ord":"ignore",this.skipBoundary=!0,this.displayContainsHighlight=!1,y&&y.length===1&&y[0].command===","&&(this.captureSelection=!0)}static fromJson(y){return new j1(y.body,y.mode,y.style)}render(y){const b=Ei.createBox(y,this.body,{type:this.boxType});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Wt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},lu=class Q1 extends Ei{constructor(y,b,z){super({type:"leftright",style:z.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=z.leftDelim,this.rightDelim=z.rightDelim}static fromJson(y){var b;return new Q1((b=y.variant)!=null?b:"",y.body,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}_serialize(y){var b,z;const re=this.matchingRightDelim();return this.variant==="left...right"?ml(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",re]):this.variant==="mleft...mright"?ml(["\\mleft",(z=this.leftDelim)!=null?z:".",this.bodyToLatex(y),"\\mright",re]):ml([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),re])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const z=(y=this.leftDelim)!=null?y:".";return(b=ue[z])!=null?b:z}render(y){var b,z;const re=new Vl({parent:y},this.style);console.assert(this.body!==void 0);const pe=new Vl({parent:y,mathstyle:"textstyle"},this.style),ye=(b=Ei.createBox(re,this.body,{type:"inner"}))!=null?b:new Li(null,{type:"inner"}),tt=ye.height/pe.scalingFactor,ut=ye.depth/pe.scalingFactor,gt=[];if(this.leftDelim&&gt.push(this.bind(pe,Ao("open",this.leftDelim,tt,ut,pe,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),ye&&(Ed(ye.children,this,re,tt,ut),gt.push(ye)),this.rightDelim){let Kn=this.containsCaret?" ML__contains-caret":"",nr=this.rightDelim;nr==="?"&&(re.smartFence?(nr=this.matchingRightDelim(),Kn+=" ML__smart-fence__close"):nr="."),gt.push(this.bind(pe,Ao("close",nr,tt,ut,pe,{isSelected:this.isSelected,classes:Kn+" ML__close",mode:this.mode,style:this.style})))}let _t=this.variant==="mleft...mright";const qt=this.leftSibling;qt&&(!_t&&qt.isFunction&&(_t=!0),!_t&&qt.type==="subsup"&&((z=qt.leftSibling)!=null&&z.isFunction)&&(_t=!0));const pn=new Li(gt,{type:_t?"close":"inner",classes:"left-right"});return pn.setStyle("margin-top",`${-ye.depth}em`),pn.setStyle("height",`${ye.height+ye.depth}em`),this.caret&&(pn.caret=this.caret),this.bind(re,pn.wrap(re))}};function Ed(a,y,b,z,re){if(a)for(let pe=0;pe<a.length;pe++){const ye=a[pe];ye.type==="middle"?(a[pe]=y.bind(b,Ao("inner",ye.value,z,re,b,{isSelected:y.isSelected})),a[pe].caret=ye.caret,a[pe].isSelected=ye.isSelected,a[pe].cssId=ye.cssId,a[pe].htmlData=ye.htmlData,a[pe].htmlStyle=ye.htmlStyle,a[pe].attributes=ye.attributes,a[pe].cssProperties=ye.cssProperties):ye.children&&Ed(ye.children,y,b,z,re)}}var s0=class z1 extends Ei{constructor(y,b){var z;super({type:"macro",command:y,style:b.style}),this.body=b.body,b.captureSelection===void 0?b.args?this.captureSelection=!1:this.captureSelection=!0:this.captureSelection=b.captureSelection,this.macroArgs=b.args,this.expand=(z=b.expand)!=null?z:!1}static fromJson(y){return new z1(y.command,y)}toJson(){const y=super.toJson();return this.expand&&(y.expand=!0),this.captureSelection!==void 0&&(y.captureSelection=this.captureSelection),this.macroArgs&&(y.args=this.macroArgs),y}_serialize(y){var b;return y.expandMacro&&this.expand?this.bodyToLatex(y):this.command+((b=this.macroArgs)!=null?b:"")}render(y){const b=Ei.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Us=class K1 extends Ei{constructor(){super({type:"macro-argument"})}static fromJson(y){return new K1}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},PA=class W1 extends Ei{constructor(y,b,z=!1,re,pe){var ye;super({type:"prompt",mode:(ye=pe==null?void 0:pe.mode)!=null?ye:"math",style:pe==null?void 0:pe.style,command:"\\placeholder"}),this.body=re,this.correctness=b,this.placeholderId=y,this.locked=z,this.captureSelection=this.locked}static fromJson(y){return new W1(y.placeholderId,y.correctness,y.locked,y.body,y)}toJson(){const y=super.toJson();return this.placeholderId&&(y.placeholderId=this.placeholderId),this.body||delete y.body,this.body&&(y.body=this.body.filter(b=>b.type!=="first").map(b=>b.toJson())),this.correctness&&(y.correctness=this.correctness),y.locked=this.locked,y}render(y){const b=new Vl({parent:y}),z=b.getRegisterAsEm("fboxsep"),re=z,pe=z,ye=Ei.createBox(y,this.body);if(!ye)return null;ye.height||(ye.height=b.metrics.xHeight),ye.setStyle("vertical-align",-ye.height,"em"),this.correctness==="correct"?ye.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&ye.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const tt=new Li(ye,{type:"ord"});tt.setStyle("display","inline-block"),tt.setStyle("height",ye.height+ye.depth,"em"),tt.setStyle("vertical-align",-pe,"em");let ut="ML__prompt ";this.locked?ut+=" ML__lockedPromptBox ":ut+=" ML__editablePromptBox ",this.correctness==="correct"?ut+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(ut+=" ML__incorrectPromptBox "),this.containsCaret&&(ut+=" ML__focusedPromptBox ");const gt=new Li(null,{classes:ut,attributes:{part:"prompt"}});gt.height=tt.height+pe,gt.depth=tt.depth+pe,gt.width=tt.width+2*re,gt.setStyle("box-sizing","border-box"),gt.setStyle("position","absolute"),gt.setStyle("height",tt.height+tt.depth+2*pe,"em"),re===0&&gt.setStyle("width","100%"),re!==0&&(gt.setStyle("width",`calc(100% + ${2*re}em)`),gt.setStyle("top",z,"em"),gt.setStyle("left",-re,"em")),(!this.body||this.body.length===1)&&(gt.width=3*re,gt.setStyle("width",`calc(100% + ${3*re}em)`),gt.setStyle("left",-1.5*re,"em"));let _t="";this.correctness==="incorrect"&&(_t+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),_t&&(gt.svgOverlay=_t);const qt=new Li([gt,tt],{classes:"ML__prompt-atom"});return qt.setStyle("position","relative"),qt.setStyle("display","inline-block"),qt.setStyle("line-height",0),qt.height=tt.height+pe+.2,qt.depth=tt.depth+pe,qt.left=re,qt.right=re,qt.setStyle("height",tt.height+pe,"em"),qt.setStyle("top",tt.depth-tt.height,"em"),qt.setStyle("vertical-align",tt.depth+pe,"em"),qt.setStyle("margin-left",.5,"em"),qt.setStyle("margin-right",.5,"em"),this.caret&&(qt.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:qt}))}_serialize(y){var b;const z=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return z;let re="\\placeholder";return this.placeholderId&&(re+=`[${this.placeholderId}]`),this.correctness==="correct"?re+="[correct]":this.correctness==="incorrect"&&(re+="[incorrect]"),this.locked&&(re+="[locked]"),ju(re,z)}},hu=class Z1 extends Ei{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new Z1(y);for(const z of _h)y[z]&&b.setChildren(y[z],z);return b}render(y){var b;const z=new Vl({parent:y,isPhantom:!0}),re=this.leftSibling,pe=(b=re.render(z))!=null?b:new Li(null),ye=new Li(null);return ye.height=pe.height,ye.depth=pe.depth,this.attachSupsub(y,{base:ye,isCharacterBox:re.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function Gc(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var jf=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var z,re,pe,ye;b!=null||(b={}),this.tokens=a,this.context=y instanceof Vl&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new Vl({from:y,mathstyle:b.mathstyle},b.style),this.args=(z=b.args)!=null?z:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(re=b.style)!=null?re:{},parseMode:(pe=b.parseMode)!=null?pe:"math",mathstyle:(ye=b.mathstyle)!=null?ye:"displaystyle",tabular:!1}}beginContext(a){var y,b,z;const re=this.parsingContext,pe={parent:re,mathlist:[],style:Ae({},re.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:re.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:re.mathstyle,tabular:(z=a==null?void 0:a.tabular)!=null?z:!1};this.parsingContext=pe}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(Ae({before:AA(this.tokens.slice(this.index,this.index+10)),after:AA(this.tokens.slice(Math.max(0,this.index-10),this.index))},a))}get mathlist(){return this.parsingContext.mathlist}set mathlist(a){this.parsingContext.mathlist=a}get parseMode(){return this.parsingContext.parseMode}set parseMode(a){this.parsingContext.parseMode=a}get tabularMode(){return this.parsingContext.tabular}get style(){let a=this.parsingContext;for(;a;){if(a.style)return Ae({},a.style);a=a.parent}return{}}set style(a){this.parsingContext.style=a}end(){return this.endCount++,this.index>=this.tokens.length||this.endCount>1e3}next(){this.index+=1}get(){return this.endCount=0,this.index<this.tokens.length?this.tokens[this.index++]:""}peek(){return this.tokens[this.index]}match(a){return this.tokens[this.index]===a?(this.index++,!0):!1}lastSubsupAtom(){let a;return this.mathlist.length>0&&(a=this.mathlist[this.mathlist.length-1],a.type==="subsup"||a.subsupPlacement!==void 0)||(a=new hu({style:this.style}),this.mathlist.push(a)),a}hasPattern(a){return a.test(this.tokens[this.index])}hasInfixCommand(){var a;const{index:y}=this;if(y<this.tokens.length&&this.tokens[y].startsWith("\\")){const b=Wt(this.tokens[y],this.parseMode);return!b||b.definitionType==="symbol"||b.ifMode&&!b.ifMode.includes(this.parseMode)?!1:(a=b.infix)!=null?a:!1}return!1}matchColumnSeparator(){return!this.tabularMode||this.peek()!=="&"?!1:(this.index++,!0)}matchRowSeparator(){if(!this.tabularMode)return!1;const a=this.peek();return a!=="\\\\"&&a!=="\\cr"&&a!=="\\tabularnewline"?!1:(this.index++,!0)}placeholder(){var a;const y=(a=this.args)==null?void 0:a.call(this,"?");return y?dd(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new ms({mode:this.parseMode,style:this.style})]}skipWhitespace(){for(;this.match("<space>"););}skipUntilToken(a){let y=this.tokens[this.index];for(;y&&y!==a;)y=this.tokens[++this.index];y===a&&this.index++}skipFiller(){for(;this.match("\\relax")||this.match("<space>"););}matchKeyword(a){const y=this.index;let b=this.end(),z="";for(;!b;){const pe=this.get();Gc(pe)?(z+=pe,b=this.end()||z.length>=a.length):b=!0}const re=a.toUpperCase()===z.toUpperCase();return re||(this.index=y),re}scanString(){let a="";for(;!this.end();){const y=this.peek();if(y==="]")return a;if(y==="<space>")a+=" ";else if(y.startsWith("\\"))this.onError({code:"unexpected-command-in-string"}),a+=y.substring(1);else if(Gc(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const z=this.get();z==="<space>"?a+=" ":z==="<{>"?(a+="{",b+=1):z==="<}>"?(b-=1,b>0?a+="}":this.index-=1):z==="<$>"?a+="$":z==="<$$>"?a+="$$":a+=z,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const z=this.get();z==="<}>"?(b-=1,b>0&&(y+="}")):z==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(z)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[z])!=null?a:z)}return y}scanNumber(a=!0){var y,b;let z=!1,re=this.peek();for(;re==="<space>"||re==="+"||re==="-";)this.get(),re==="-"&&(z=!z),re=this.peek();a=!!a;let pe=10,ye=/\d/;if(this.match("'"))pe=8,ye=/[0-7]/,a=!0;else if(this.match('"'))pe=16,ye=/[\dA-F]/,a=!0;else if(this.match("x"))pe=16,ye=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return re=this.get(),re?re.length===2&&re.startsWith("\\")?{number:(z?-1:1)*((y=re.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(z?-1:1)*((b=re.codePointAt(0))!=null?b:0),base:"alpha"}:null;let tt="";for(;this.hasPattern(ye);)tt+=this.get();if(!a&&(this.match(".")||this.match(",")))for(tt+=".";this.hasPattern(ye);)tt+=this.get();const ut=a?Number.parseInt(tt,pe):Number.parseFloat(tt);return Number.isNaN(ut)?null:{number:z?-ut:ut,base:pe===16?"hexadecimal":pe===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let z=!1;if(b===null)for(;;){const pe=this.peek();if(pe==="-")z=!z;else if(pe!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const pe=this.get();return pe.startsWith("\\")?b?{register:pe,global:!0,factor:(z?-1:1)*b.number}:z?{register:pe,global:!0,factor:-1}:{register:pe,global:!0}:(this.index=y,null)}let re=this.get();return re!=null&&re.startsWith("\\")?(re=re.substring(1),this.context.registers[re]?!z||b!==null?{register:re,factor:(z?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:re}:(this.index=y,null)):(this.index=y,null)}scanValue(){const a=this.scanRegister();if(a)return a;const y=this.index,b=this.scanGlueOrDimen();if(b&&("unit"in b||"glue"in b&&"unit"in b.glue))return b;this.index=y;const z=this.scanNumber();if(z)return z;if(this.end()||!Gc(this.peek()))return null;const re=this.scanString();return re.length>0?{string:re}:null}scanDimen(){const a=this.scanNumber(!1);if(a===null)return null;const y=a.number;this.skipWhitespace(),this.matchKeyword("true"),this.skipWhitespace();let b;return this.matchKeyword("pt")?b="pt":this.matchKeyword("mm")?b="mm":this.matchKeyword("cm")?b="cm":this.matchKeyword("ex")?b="ex":this.matchKeyword("px")?b="px":this.matchKeyword("em")?b="em":this.matchKeyword("bp")?b="bp":this.matchKeyword("dd")?b="dd":this.matchKeyword("pc")?b="pc":this.matchKeyword("in")?b="in":this.matchKeyword("mu")&&(b="mu"),b?{dimension:y,unit:b}:{dimension:y}}scanGlueOrDimen(){const a=this.scanDimen();if(a===null)return null;if(this.skipWhitespace(),this.match("\\relax"))return a;const y={glue:a};if(this.matchKeyword("plus")){const b=this.scanDimen();if(b)y.grow=b;else return y}if(this.skipWhitespace(),this.match("\\relax"))return y;if(this.skipWhitespace(),this.matchKeyword("minus")){const b=this.scanDimen();if(b)y.shrink=b;else return y}return!y.grow&&!y.shrink?a:y}scanColspec(){this.skipWhitespace();const a=[];for(;!this.end()&&!(this.peek()==="<}>"||this.peek()==="]");){const y=this.get();y==="c"||y==="r"||y==="l"?a.push({align:y}):y==="|"?a.push({separator:"solid"}):y===":"?a.push({separator:"dashed"}):y==="@"&&(this.match("<{>")&&(this.beginContext({mode:"math"}),a.push({gap:this.scan(b=>b==="<}>")}),this.endContext()),this.match("<}>")||this.onError({code:"unbalanced-braces"}))}return a}scanModeSet(){let a;if(this.match("\\(")&&(a="textstyle"),!a&&this.match("\\[")&&(a="displaystyle"),!a)return null;this.beginContext({mode:"math",mathstyle:a});const y=this.scan(b=>b===(a==="displaystyle"?"\\]":"\\)"));return this.match(a==="displaystyle"?"\\]":"\\)")||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanModeShift(){let a="";if(this.match("<$>")&&(a="<$>"),!a&&this.match("<$$>")&&(a="<$$>"),!a)return null;this.beginContext({mode:"math",mathstyle:"textstyle"});const y=this.scan(b=>b===a);return this.match(a)||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanEnvironment(){if(!this.match("\\begin"))return null;const a=this.scanArgument("string");if(!a)return null;const y=et(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const tt of y.params)if(tt.isOptional)b.push(this.scanOptionalArgument(tt.type));else{const ut=this.scanArgument(tt.type);ut||this.onError({code:"missing-argument",arg:a}),b.push(ut)}this.beginContext({tabular:y.tabular});const z=[],re=[];let pe=[],ye=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),ye=!0),!ye&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),ye=!0),!ye)if(this.matchColumnSeparator())pe.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){pe.push(this.mathlist),this.mathlist=[];let tt=null;this.skipWhitespace(),this.match("[")&&(tt=this.scanDimen(),this.skipWhitespace(),this.match("]")),re.push(tt!=null?tt:{dimension:0}),z.push(pe),pe=[]}else this.mathlist.push(...this.scan(tt=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(tt)));while(!ye);return pe.push(this.mathlist),pe.length>0&&z.push(pe),this.endContext(),y.createAtom(a,z,re,b)}scanExpression(){const a=this.mathlist;if(this.mathlist=[],this.parseExpression()){const y=this.mathlist;return this.mathlist=a,y}return this.mathlist=a,null}scan(a){this.beginContext(),a||(a=ye=>ye==="<}>");let y="",b=null,z=[],re=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=Wt(y,"math"),b&&(z=this.scanArguments(b)[1]),re=this.mathlist,this.mathlist=[]):this.parseExpression();let pe;return y?(console.assert(!!b),z.unshift(this.mathlist),re&&z.unshift(re),pe=[b.createAtom({command:y,args:z,style:this.style,mode:this.parseMode})]):pe=this.mathlist,this.endContext(),pe}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(z=>z==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new Ql(y,this.parseMode,this.style);return b.verbatimLatex=AA(this.tokens.slice(a,this.index)),b}scanSmartFence(){if(this.skipWhitespace(),!this.match("("))return null;this.beginContext();let a=1;for(;!this.end()&&a!==0;)this.match("(")&&(a+=1),this.match(")")&&(a-=1),a!==0&&this.parseExpression();const y=new lu("",this.mathlist,{leftDelim:"(",rightDelim:a===0?")":"?"});return this.endContext(),y}scanDelim(){this.skipWhitespace();const a=this.peek();if(!a)return this.onError({code:"unexpected-end-of-string"}),null;if(!Gc(a)&&!a.startsWith("\\"))return null;this.next();const y=Wt(a,"math");return y?y.definitionType==="function"&&y.ifMode&&!y.ifMode.includes(this.parseMode)?(this.onError({code:"unexpected-delimiter",arg:a}),null):y.definitionType==="symbol"&&(y.type==="mopen"||y.type==="mclose")||/^(\.|\?|\||<|>|\\vert|\\Vert|\\\||\\surd|\\uparrow|\\downarrow|\\Uparrow|\\Downarrow|\\updownarrow|\\Updownarrow|\\mid|\\mvert|\\mVert)$/.test(a)?a:(this.onError({code:"unexpected-delimiter",arg:a}),null):(this.onError({code:"unknown-command",arg:a}),null)}scanLeftRight(){var a;if(this.match("\\right"))return this.onError({code:"unbalanced-braces"}),new Pl("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new Pl("\\mright");let y="\\right";if(!this.match("\\left")){if(!this.match("\\mleft"))return null;y="\\mright"}const b=this.scanDelim();if(!b)return this.onError({code:"unexpected-delimiter"}),new Pl(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const z=this.mathlist;this.endContext();const re=(a=this.scanDelim())!=null?a:".";return new lu(y==="\\right"?"left...right":"mleft...mright",z,{leftDelim:b,rightDelim:re,style:this.style})}parseSupSub(){if(this.parseMode!=="math")return!1;let a=this.peek();if(a!=="^"&&a!=="_"&&a!=="'")return!1;const y=this.lastSubsupAtom();for(;a==="^"||a==="_"||a==="'";)this.match("'")?this.match("'")?y.addChild(new Ei({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new Ei({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(Qt(this.scanArgument("expression")),a==="_"?"subscript":"superscript"),a=this.peek();return!0}parseLimits(){if(this.parseMode!=="math")return!1;const a=this.match("\\limits"),y=!a&&this.match("\\nolimits"),b=!y&&!a&&this.match("\\displaylimits");if(!a&&!y&&!b)return!1;const z=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return z===null?!1:(z.explicitSubsupPlacement=!0,a&&(z.subsupPlacement="over-under"),y&&(z.subsupPlacement="adjacent"),b&&(z.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let z=a.infix?2:0;for(;z<a.params.length;){const re=a.params[z];re.type==="rest"?b.push(this.scan(pe=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(pe))):re.isOptional?b.push(this.scanOptionalArgument(re.type)):re.type.endsWith("*")?y=re.type.slice(0,-1):b.push(this.scanArgument(re.type)),z+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(Gc(a)){const b=ud.createAtom(this.parseMode,a,Ae({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=Wt(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new Pl(a)];if(b.definitionType==="symbol"){const z=Ae({},this.style);b.variant&&(z.variant=b.variant),y=new Ei({type:b.type,command:a,style:z,value:String.fromCodePoint(b.codepoint),mode:this.parseMode,verbatimLatex:a})}else{if(b.applyMode||b.applyStyle||b.infix)return this.onError({code:"invalid-command",arg:a}),[new Pl(a)];b.createAtom&&(y=b.createAtom({command:a,args:[],style:this.style,mode:this.parseMode}))}}return y?[y]:null}scanArgument(a){var y;this.skipFiller();const b=this.parseMode;if(a==="auto"&&(a=b),!this.match("<{>")){if(a==="string")return this.scanString();if(a==="value")return this.scanValue();if(a==="delim")return(y=this.scanDelim())!=null?y:".";if(a==="expression")return this.scanExpression();if(a==="math"){a!==b&&this.beginContext({mode:"math"});const re=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),re}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const re=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),re}return a==="balanced-string"||console.assert(!1),null}if(a==="text"){this.beginContext({mode:"text"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const re=this.mathlist;return this.endContext(),{group:re}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const re=this.mathlist;return this.endContext(),{group:re}}let z=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const re=this.mathlist;return this.endContext(),{group:re}}return a==="string"?z=this.scanString():a==="balanced-string"?z=this.scanBalancedString():a==="colspec"?z=this.scanColspec():a==="value"&&(z=this.scanValue()),this.skipUntilToken("<}>"),z}scanOptionalArgument(a){if(a=a==="auto"?this.parseMode:a,this.skipFiller(),!this.match("["))return null;let y=null;for(;!this.end()&&!this.match("]");)if(a==="string")y=this.scanString();else if(a==="value")y=this.scanValue();else if(a==="colspec")y=this.scanColspec();else if(a==="bbox"){const b={},z=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const re of z){const pe=re.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(pe)b.padding={dimension:parseInt(pe[1]),unit:pe[2]};else{const ye=re.match(/^\s*border\s*:\s*(.*)/);ye?b.border=ye[1]:b.backgroundcolor={string:re}}}y=b}else a==="math"&&(this.beginContext({mode:"math"}),y=this.mathlist.concat(this.scan(b=>b==="]")),this.endContext());return y}scanSymbolOrCommand(a){var y,b,z;if(a==="\\placeholder"){const tt=this.scanOptionalArgument("string"),ut=this.scanOptionalArgument("math"),gt=Ei.serialize(ut,{defaultMode:"math"});let _t=[],qt;!qt&&gt==="correct"?qt="correct":!qt&&gt==="incorrect"?qt="incorrect":gt!==""&&(_t=ut);const pn=this.scanOptionalArgument("string")==="locked",Kn=this.scanArgument("auto");let nr;return Kn&&Array.isArray(Kn)&&Kn.length>0?nr=Kn:Kn&&typeof Kn=="object"&&"group"in Kn?nr=Kn.group:nr=_t,tt?[new PA(tt,qt,pn,nr!=null?nr:_t,{mode:this.parseMode,style:this.style})]:[new ms({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const tt=this.index,ut=this.scanLiteralGroup()||this.next();if(!ut)return null;if(this.context.registers[ut.substring(1)]){const gt=this.scanArgument("string");gt!==null&&(this.context.registers[ut.substring(1)]=gt);const _t=ml([a,AA(this.tokens.slice(tt,this.index))]);return[new Ei({type:"text",value:"",verbatimLatex:_t})]}}let re=this.scanMacro(a);if(re)return[re];const pe=Wt(a,this.parseMode);if(!pe)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(tt=>new Ei({type:"text",value:tt,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new Pl(a)]);const ye=this.index;if(pe.definitionType==="symbol"){const tt=Ae({},this.style);pe.variant&&(tt.variant=pe.variant),re=new Ei({type:pe.type,command:a,style:tt,value:String.fromCodePoint(pe.codepoint),mode:this.parseMode})}else{if(pe.ifMode&&!pe.ifMode.includes(this.parseMode))return[];const tt=this.parseMode;pe.applyMode&&(this.parseMode=pe.applyMode);let ut,gt=[];if(pe.parse?gt=pe.parse(this):[ut,gt]=this.scanArguments(pe),this.parseMode=tt,pe.applyMode&&!pe.applyStyle&&!pe.createAtom)return Qt(gt[0]);if(pe.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof pe.createAtom=="function")re=pe.createAtom({command:a,args:gt,style:this.style,mode:this.parseMode}),ut&&(re.body=Qt(this.scanArgument(ut)));else if(typeof pe.applyStyle=="function"){const _t=Ae(Ae({},this.style),pe.applyStyle(a,gt,this.context)),qt=this.parseMode;if(pe.applyMode&&(this.parseMode=pe.applyMode),ut){const pn=this.style;this.style=_t;const Kn=this.scanArgument(ut);return this.style=pn,this.parseMode=qt,Qt(Kn)}this.style=_t}else re=new Ei({type:"mord",command:(b=pe.command)!=null?b:a,style:Ae({},this.style),value:a,mode:(z=pe.applyMode)!=null?z:this.parseMode})}if(!re)return null;if(re instanceof Ei&&re.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const tt=ml([a,AA(this.tokens.slice(ye,this.index))]);tt&&(re.verbatimLatex=tt)}if(re.verbatimLatex===null&&(re.verbatimLatex=void 0),re.isFunction&&this.smartFence){const tt=this.scanSmartFence();if(tt)return[re,tt]}return[re]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(Gc(a)){const y=ud.createAtom(this.parseMode,a,Ae({},this.style));if(!y)return null;if(y.isFunction&&this.smartFence){const b=this.scanSmartFence();if(b)return[y,b]}return[y]}return a.startsWith("\\")?this.scanSymbolOrCommand(a):a==="<space>"?this.parseMode==="text"?[new tf(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const z=this.index,re=b.args,pe={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let ye=1;ye<=re;ye++){let tt=this.scanLiteralGroup();if(!tt){const ut=this.index;this.scanExpression(),tt=AA(this.tokens.slice(ut,this.index))}pe[ye]=tt}return new s0(a,{expand:b.expand,captureSelection:b.captureSelection,args:z===this.index?null:AA(this.tokens.slice(z,this.index)),style:this.parsingContext.style,body:dd(b.def,{context:this.context,parseMode:this.parseMode,args:ye=>pe[ye],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,z;let re=(z=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?z:this.scanLeftRight();if(re===null){if(this.parseSupSub()||this.parseLimits())return!0;re=this.scanSymbolCommandOrLiteral()}return re?(Array.isArray(re)?this.mathlist.push(...re):this.mathlist.push(re),!0):!1}};function dd(a,y){var b,z,re,pe;const ye=(b=y==null?void 0:y.args)!=null?b:void 0,tt=new jf(FA(a,ye),y==null?void 0:y.context,{args:ye,mathstyle:(z=y==null?void 0:y.mathstyle)!=null?z:"displaystyle",parseMode:(re=y==null?void 0:y.parseMode)!=null?re:"math",style:(pe=y==null?void 0:y.style)!=null?pe:{}}),ut=[];for(;!tt.end();)ut.push(...tt.scan(()=>!1));return ut}function Ph(a,y){var b;const z=new jf(FA(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!z.end();)z.scan();return z.errors}var zm=class V1 extends Ei{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const z=gc.go(ba.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=dd(z),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new V1(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return we(Ae({},super.toJson()),{arg:this.arg})}render(y){const b=Ei.createBox(y,this.body,{type:"inner"});return this.caret&&(b.caret=this.caret),this.bind(y,b)}_serialize(y){return console.assert(this.verbatimLatex!==void 0),this.verbatimLatex}};Bt(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new zm(a.command,(y=a.args[0])!=null?y:"")}});var ba={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",z={};z.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var re,pe=10,ye=[];;){re!==a?(pe=10,re=a):pe--;var tt=ba.stateMachines[y],ut=tt.transitions[b]||tt.transitions["*"];e:for(var gt=0;gt<ut.length;gt++){var _t=ba.patterns.match_(ut[gt].pattern,a);if(_t){for(var qt=ut[gt].task,pn=0;pn<qt.action_.length;pn++){var Kn;if(tt.actions[qt.action_[pn].type_])Kn=tt.actions[qt.action_[pn].type_](z,_t.match_,qt.action_[pn].option);else if(ba.actions[qt.action_[pn].type_])Kn=ba.actions[qt.action_[pn].type_](z,_t.match_,qt.action_[pn].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+qt.action_[pn].type_+")"];ba.concatArray(ye,Kn)}if(b=qt.nextState||b,a.length>0){if(qt.revisit||(a=_t.remainder),!qt.toContinue)break e}else return ye}}if(pe<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(a,y){if(y)if(Object.prototype.toString.call(y)==="[object Array]")for(var b=0;b<y.length;b++)a.push(y[b]);else a.push(y)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:(?:([eE])|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"(-)(9)^(-9)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"state of aggregation $":function(a){var y=ba.patterns.findObserveGroups(a,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(y&&y.remainder.match(/^($|[\s,;\)\]\}])/))return y;var b=a.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return b?{match_:b[0],remainder:a.substr(b[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(a){return ba.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return ba.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return ba.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return ba.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return ba.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return ba.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return ba.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return ba.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return ba.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return ba.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return ba.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return ba.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return ba.patterns.findObserveGroups(a,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(a){return ba.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return ba.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return ba.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return ba.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(a){return ba.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return ba.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return ba.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return ba.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return ba.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return ba.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return ba.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return ba.patterns.findObserveGroups(a,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(a){var y;if(y=a.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),y)return{match_:y[0],remainder:a.substr(y[0].length)};var b=ba.patterns.findObserveGroups(a,"","$","$","");return b&&(y=b.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),y)?{match_:y[0],remainder:a.substr(y[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var y=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return y?{match_:y[0],remainder:a.substr(y[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,y,b,z,re,pe,ye,tt,ut,gt){var _t=function(li,na){if(typeof na=="string")return li.indexOf(na)!==0?null:na;var Ka=li.match(na);return Ka?Ka[0]:null},qt=function(li,na,Ka){for(var fa=0;na<li.length;){var Vo=li.charAt(na),vs=_t(li.substr(na),Ka);if(vs!==null&&fa===0)return{endMatchBegin:na,endMatchEnd:na+vs.length};if(Vo==="{")fa++;else if(Vo==="}"){if(fa===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];fa--}na++}return fa>0,null},pn=_t(a,y);if(pn===null||(a=a.substr(pn.length),pn=_t(a,b),pn===null))return null;var Kn=qt(a,pn.length,z||re);if(Kn===null)return null;var nr=a.substring(0,z?Kn.endMatchEnd:Kn.endMatchBegin);if(pe||ye){var di=this.findObserveGroups(a.substr(Kn.endMatchEnd),pe,ye,tt,ut);if(di===null)return null;var Ha=[nr,di.match_];return{match_:gt?Ha.join(""):Ha,remainder:di.remainder}}else return{match_:nr,remainder:a.substr(Kn.endMatchEnd)}},match_:function(a,y){var b=ba.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return ba.patterns.patterns[a](y);var z=y.match(b);if(z){var re;return z[2]?re=[z[1],z[2]]:z[1]?re=z[1]:re=z[0],{match_:re,remainder:y.substr(z[0].length)}}return null}},actions:{"a=":function(a,y){a.a=(a.a||"")+y},"b=":function(a,y){a.b=(a.b||"")+y},"p=":function(a,y){a.p=(a.p||"")+y},"o=":function(a,y){a.o=(a.o||"")+y},"q=":function(a,y){a.q=(a.q||"")+y},"d=":function(a,y){a.d=(a.d||"")+y},"rm=":function(a,y){a.rm=(a.rm||"")+y},"text=":function(a,y){a.text_=(a.text_||"")+y},insert:function(a,y,b){return{type_:b}},"insert+p1":function(a,y,b){return{type_:b,p1:y}},"insert+p1+p2":function(a,y,b){return{type_:b,p1:y[0],p2:y[1]}},copy:function(a,y){return y},rm:function(a,y){return{type_:"rm",p1:y||""}},text:function(a,y){return ba.go(y,"text")},"{text}":function(a,y){var b=["{"];return ba.concatArray(b,ba.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return ba.go(y,"tex-math")},"tex-math tight":function(a,y){return ba.go(y,"tex-math tight")},bond:function(a,y,b){return{type_:"bond",kind_:b||y}},"color0-output":function(a,y){return{type_:"color0",color:y[0]}},ce:function(a,y){return ba.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var z=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return z[1]=z[1].replace(/\$/g,""),b.push({type_:"frac",p1:z[1],p2:z[2]}),z[3]&&(z[3]=z[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:z[3]})),b},"9,9":function(a,y){return ba.go(y,"9,9")}},createTransitions:function(a){var y,b,z,re,pe={};for(y in a)for(b in a[y])for(z=b.split("|"),a[y][b].stateArray=z,re=0;re<z.length;re++)pe[z[re]]=[];for(y in a)for(b in a[y])for(z=a[y][b].stateArray||[],re=0;re<z.length;re++){var ye=a[y][b];if(ye.action_){ye.action_=[].concat(ye.action_);for(var tt=0;tt<ye.action_.length;tt++)typeof ye.action_[tt]=="string"&&(ye.action_[tt]={type_:ye.action_[tt]})}else ye.action_=[];for(var ut=y.split("|"),gt=0;gt<ut.length;gt++)if(z[re]==="*")for(var _t in pe)pe[_t].push({pattern:ut[gt],task:ye});else pe[z[re]].push({pattern:ut[gt],task:ye})}return pe},stateMachines:{}};ba.stateMachines={ce:{transitions:ba.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,y){var b;if((a.d||"").match(/^[0-9]+$/)){var z=a.d;a.d=void 0,b=this.output(a),a.b=z}else b=this.output(a);return ba.actions["o="](a,y),b},"d= kv":function(a,y){a.d=y,a.dType="kv"},"charge or bond":function(a,y){if(a.beginsWithBond){var b=[];return ba.concatArray(b,this.output(a)),ba.concatArray(b,ba.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var z=ba.patterns.match_("orbital",a.o||""),re=ba.patterns.match_("one lowercase greek letter $",a.o||""),pe=ba.patterns.match_("one lowercase latin letter $",a.o||""),ye=ba.patterns.match_("$one lowercase latin letter$ $",a.o||""),tt=y==="-"&&(z&&z.remainder===""||re||pe||ye);tt&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!z&&pe&&(a.o="$"+a.o+"$");var ut=[];return tt?(ba.concatArray(ut,this.output(a)),ut.push({type_:"hyphen"})):(z=ba.patterns.match_("digits",a.d||""),b&&z&&z.remainder===""?(ba.concatArray(ut,ba.actions["d="](a,y)),ba.concatArray(ut,this.output(a))):(ba.concatArray(ut,this.output(a)),ba.concatArray(ut,ba.actions.bond(a,y,"-")))),ut},"a to o":function(a){a.o=a.a,a.a=void 0},"sb=true":function(a){a.sb=!0},"sb=false":function(a){a.sb=!1},"beginsWithBond=true":function(a){a.beginsWithBond=!0},"beginsWithBond=false":function(a){a.beginsWithBond=!1},"parenthesisLevel++":function(a){a.parenthesisLevel++},"parenthesisLevel--":function(a){a.parenthesisLevel--},"state of aggregation":function(a,y){return{type_:"state of aggregation",p1:ba.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),z=b!==y;return z&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var z;if(!a.r)z=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&z.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&b!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&ba.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),z.push({type_:"chemfive",a:ba.go(a.a,"a"),b:ba.go(a.b,"bd"),p:ba.go(a.p,"pq"),o:ba.go(a.o,"o"),q:ba.go(a.q,"pq"),d:ba.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var re;a.rdt==="M"?re=ba.go(a.rd,"tex-math"):a.rdt==="T"?re=[{type_:"text",p1:a.rd||""}]:re=ba.go(a.rd);var pe;a.rqt==="M"?pe=ba.go(a.rq,"tex-math"):a.rqt==="T"?pe=[{type_:"text",p1:a.rq||""}]:pe=ba.go(a.rq),z={type_:"arrow",r:a.r,rd:re,rq:pe}}for(var ye in a)ye!=="parenthesisLevel"&&ye!=="beginsWithBond"&&delete a[ye];return z},"oxidation-output":function(a,y){var b=["{"];return ba.concatArray(b,ba.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:ba.go(y[0]),p2:ba.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:ba.go(y[0]),p2:ba.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:ba.go(y[0]),p2:ba.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:ba.go(y[0]),p2:ba.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:ba.go(y[1])}},"r=":function(a,y){a.r=y},"rdt=":function(a,y){a.rdt=y},"rd=":function(a,y){a.rd=y},"rqt=":function(a,y){a.rqt=y},"rq=":function(a,y){a.rq=y},operator:function(a,y,b){return{type_:"operator",kind_:b||y}}}},a:{transitions:ba.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:ba.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:ba.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(a){if(a.text_){var y={type_:"text",p1:a.text_};for(var b in a)delete a[b];return y}}}},pq:{transitions:ba.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(a,y){return{type_:"state of aggregation subscript",p1:ba.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:ba.go(y[1],"pq")}}}},bd:{transitions:ba.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(a,y){return{type_:"color",color1:y[0],color2:ba.go(y[1],"bd")}}}},oxidation:{transitions:ba.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(a,y){return{type_:"roman numeral",p1:y||""}}}},"tex-math":{transitions:ba.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"tex-math tight":{transitions:ba.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(a,y){a.o=(a.o||"")+"{"+y+"}"},output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"9,9":{transitions:ba.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:ba.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),y[1]&&(ba.concatArray(b,ba.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?ba.concatArray(b,ba.go(y[2],"pu-9,9")):b.push(y[2])),(y[3]||y[4])&&(y[3]==="e"||y[4]==="*"?b.push({type_:"cdot"}):b.push({type_:"times"}))),y[5]&&b.push("10^{"+y[5]+"}"),b},"number^":function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),ba.concatArray(b,ba.go(y[1],"pu-9,9")),b.push("^{"+y[2]+"}"),b},operator:function(a,y,b){return{type_:"operator",kind_:b||y}},space:function(){return{type_:"pu-space-1"}},output:function(a){var y,b=ba.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var z=ba.patterns.match_("{(...)}",a.q||"");if(z&&z.remainder===""&&(a.q=z.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var re={d:ba.go(a.d,"pu"),q:ba.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:re.d,p2:re.q}:(y=re.d,re.d.length>1||re.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),ba.concatArray(y,re.q))}else y=ba.go(a.d,"pu-2");for(var pe in a)delete a[pe];return y}}},"pu-2":{transitions:ba.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(a,y){a.rm+="^{"+y+"}"},space:function(){return{type_:"pu-space-2"}},output:function(a){var y=[];if(a.rm){var b=ba.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=ba.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var z in a)delete a[z];return y}}},"pu-9,9":{transitions:ba.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){var b=a.text_.length%3;b===0&&(b=3);for(var z=a.text_.length-3;z>0;z-=3)y.push(a.text_.substr(z,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var re in a)delete a[re];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,z=0;z<b;z+=3)y.push(a.text_.substr(z,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(z))}else y.push(a.text_);for(var re in a)delete a[re];return y}}}};var gc={go:function(a,y){if(!a)return"";for(var b="",z=!1,re=0;re<a.length;re++){var pe=a[re];typeof pe=="string"?b+=pe:(b+=gc._go2(pe),pe.type_==="1st-level escape"&&(z=!0))}return!y&&!z&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&gc.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:gc._goInner(a.a),b:gc._goInner(a.b),p:gc._goInner(a.p),o:gc._goInner(a.o),q:gc._goInner(a.q),d:gc._goInner(a.d)};b.a&&(b.a.match(/^[+\-]/)&&(b.a="{"+b.a+"}"),y+=b.a+"\\,"),(b.b||b.p)&&(y+="{\\vphantom{X}}",y+="^{\\hphantom{"+(b.b||"")+"}}_{\\hphantom{"+(b.p||"")+"}}",y+="{\\vphantom{X}}",y+="^{\\smash[t]{\\vphantom{2}}\\llap{"+(b.b||"")+"}}",y+="_{\\vphantom{2}\\llap{\\smash[t]{"+(b.p||"")+"}}}"),b.o&&(b.o.match(/^[+\-]/)&&(b.o="{"+b.o+"}"),y+=b.o),a.dType==="kv"?((b.d||b.q)&&(y+="{\\vphantom{X}}"),b.d&&(y+="^{"+b.d+"}"),b.q&&(y+="_{\\smash[t]{"+b.q+"}}")):a.dType==="oxidation"?(b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"),b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}")):(b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}"),b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"));break;case"rm":y="\\mathrm{"+a.p1+"}";break;case"text":a.p1.match(/[\^_]/)?(a.p1=a.p1.replace(" ","~").replace("-","\\text{-}"),y="\\mathrm{"+a.p1+"}"):y="\\text{"+a.p1+"}";break;case"roman numeral":y="\\mathrm{"+a.p1+"}";break;case"state of aggregation":y="\\mskip2mu "+gc._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+gc._goInner(a.p1);break;case"bond":if(y=gc._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var z="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+z+"}{"+z+"}{"+z+"}{"+z+"}";break;case"pu-frac":var re="\\frac{"+gc._goInner(a.p1)+"}{"+gc._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+re+"}{"+re+"}{"+re+"}{"+re+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+gc._goInner(a.p1)+"}{"+gc._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+gc._goInner(a.p1)+"}{"+gc._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+gc._goInner(a.p1)+"}{"+gc._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+gc._goInner(a.p1)+"}_{"+gc._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+gc._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var pe={rd:gc._goInner(a.rd),rq:gc._goInner(a.rq)},ye=gc._getArrow(a.r);pe.rd||pe.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(ye="\\long"+ye,pe.rd&&(ye="\\overset{"+pe.rd+"}{"+ye+"}"),pe.rq&&(a.r==="<-->"?ye="\\underset{\\lower2mu{"+pe.rq+"}}{"+ye+"}":ye="\\underset{\\lower6mu{"+pe.rq+"}}{"+ye+"}"),ye=" {}\\mathrel{"+ye+"}{} "):(pe.rq&&(ye+="[{"+pe.rq+"}]"),ye+="{"+pe.rd+"}",ye=" {}\\mathrel{\\x"+ye+"}{} "):ye=" {}\\mathrel{\\long"+ye+"}{} ",y=ye;break;case"operator":y=gc._getOperator(a.kind_);break;case"1st-level escape":y=a.p1+" ";break;case"space":y=" ";break;case"entitySkip":y="~";break;case"pu-space-1":y="~";break;case"pu-space-2":y="\\mkern3mu ";break;case"1000 separator":y="\\mkern2mu ";break;case"commaDecimal":y="{,}";break;case"comma enumeration L":y="{"+a.p1+"}\\mkern6mu ";break;case"comma enumeration M":y="{"+a.p1+"}\\mkern3mu ";break;case"comma enumeration S":y="{"+a.p1+"}\\mkern1mu ";break;case"hyphen":y="\\text{-}";break;case"addition compound":y="\\,{\\cdot}\\,";break;case"electron dot":y="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":y="{\\times}";break;case"prime":y="\\prime ";break;case"cdot":y="\\cdot ";break;case"tight cdot":y="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":y="\\times ";break;case"circa":y="{\\sim}";break;case"^":y="uparrow";break;case"v":y="downarrow";break;case"ellipsis":y="\\ldots ";break;case"/":y="/";break;case" / ":y="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return y},_getArrow:function(a){switch(a){case"->":return"rightarrow";case"\u2192":return"rightarrow";case"\u27F6":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"leftrightarrows";case"<=>":return"rightleftharpoons";case"\u21CC":return"rightleftharpoons";case"<=>>":return"Rightleftharpoons";case"<<=>":return"Leftrightharpoons";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(a){switch(a){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\rlap{\\lower.1em{-}}\\raise.1em{\\tripledash}}";case"~=":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"~--":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"-~-":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{-}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(a){switch(a){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};function Am(a){}function fm(a){}var fA=class G1 extends Ei{constructor(y){super(we(Ae({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new G1(y)}toJson(){return we(Ae({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new Li(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Wt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ju(this.command,this.value)}},tA=class Y1 extends Ei{constructor(y){super(we(Ae({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Y1(y)}toJson(){return we(Ae({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=ei(this.value,this.size,y,{classes:{open:"mopen",close:"mclose"}[this.delimType],type:this.delimType,isSelected:this.isSelected});return b?(b=this.bind(y,b),this.caret&&(b.caret=this.caret),b):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Wt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ju(this.command,this.value)}},Td=class X1 extends Ei{constructor(y,b,z,re){var pe,ye;super({type:"enclose",command:y,style:re.style}),this.body=b,this.backgroundcolor=re.backgroundcolor,z.updiagonalarrow&&(z.updiagonalstrike=!1),z.box&&(z.left=!1,z.right=!1,z.bottom=!1,z.top=!1),this.notation=z,this.shadow=(pe=re.shadow)!=null?pe:"none",this.strokeWidth=(ye=re.strokeWidth)!=null?ye:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=re.strokeStyle,this.svgStrokeStyle=re.svgStrokeStyle,this.strokeColor=re.strokeColor,this.borderStyle=re.borderStyle,this.padding=re.padding,this.captureSelection=!1}static fromJson(y){return new X1(y.command,y.body,y.notation,y)}toJson(){return we(Ae({},super.toJson()),{notation:this.notation,shadow:this.shadow,strokeWidth:this.strokeWidth,strokeStyle:this.strokeStyle,svgStrokeStyle:this.svgStrokeStyle,strokeColor:this.strokeColor,borderStyle:this.borderStyle,padding:this.padding})}_serialize(y){var b;if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const z=Wt(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);let re=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){re+="{"+Object.keys(this.notation).join(" ")+"}";let pe="",ye="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(pe+=ye+'mathbackground="'+this.backgroundcolor+'"',ye=","),this.shadow&&this.shadow!=="auto"&&(pe+=ye+'shadow="'+this.shadow+'"',ye=","),this.strokeWidth||this.strokeStyle!=="solid"?(pe+=ye+this.borderStyle,ye=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(pe+=ye+'mathcolor="'+this.strokeColor+'"',ye=","),pe&&(re+=`[${pe}]`)}return ju(re,this.bodyToLatex(y))}render(y){const b=new Vl({parent:y},this.style),z=Ei.createBox(b,this.body);if(!z)return null;const re=fg(this.borderStyle),pe=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});z.setStyle("position","relative"),z.setStyle("display","inline-block"),z.setStyle("top",pe,"em"),z.setStyle("height",z.height+z.depth,"em"),z.setStyle("width",z.width,"em");const ye=new Li(null,{classes:"ML__notation"});let tt=z.height+z.depth+2*pe;const ut=z.width+2*pe;let gt="";if(this.notation.horizontalstrike&&(gt+=this.line(3,50,97,50)),this.notation.verticalstrike&&(gt+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(gt+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(gt+=this.line(3,3,97,97)),this.notation.updiagonalarrow){gt+=this.line(pe.toString(),(pe+z.depth+z.height).toString(),(pe+z.width).toString(),pe.toString());const nr=.03*Math.sqrt(ut*ut+tt*tt)*1,di=z.width*nr,Ha=(z.depth+z.height)*nr,li=pe+z.width;let na=pe;na+Ha-.4*di<0&&(na=.4*di-Ha),gt+='<polygon points="',gt+=`${li},${na} ${li-di-.4*Ha},${na+Ha-.4*di} `,gt+=`${li-.7*di},${na+.7*Ha} ${li-di+.4*Ha},${na+Ha+.4*di} `,gt+=`${li},${na}`,gt+=`" stroke='none' fill="${this.strokeColor}"`,gt+="/>"}let _t=0;if(this.notation.phasorangle){const pn=af(b),Kn=(z.height+z.depth+2*pn+pe).toString(),nr=(z.height+z.depth)/2;gt+=this.line(pe.toString(),Kn,(pe+nr+z.width).toString(),Kn),gt+=this.line(pe.toString(),Kn,(pe+nr).toString(),(pe-pn).toString()),tt+=pn,_t=nr,z.left+=tt/2-pe}if(this.notation.longdiv){const pn=af(b);tt+=pn,gt+=this.line(pe.toString(),pe.toString(),(pe+z.width).toString(),pe.toString());const Kn=.3;_t=Kn+pn,z.left+=Kn+pn,z.setTop(pe+pn),gt+='<path d="',gt+=`M ${pe} ${pe} a${Kn} ${(z.depth+z.height+2*pn)/2}, 0, 1, 1, 0 ${z.depth+z.height+2*pn} "`,gt+=` stroke-width="${hm(b)}" stroke="${this.strokeColor}" fill="none"`,gt+="/>"}if(ye.width=z.width+2*pe+_t,ye.height=z.height+pe,ye.depth=z.depth+pe,ye.setStyle("box-sizing","border-box"),ye.setStyle("left",`calc(-${re} / 2 )`),ye.setStyle("height",`${Math.floor(100*tt)/100}em`),ye.setStyle("top",`calc(${re} / 2 )`),this.backgroundcolor&&ye.setStyle("background-color",this.backgroundcolor),this.notation.box&&ye.setStyle("border","1px solid red"),this.notation.actuarial&&(ye.setStyle("border-top",this.borderStyle),ye.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(ye.setStyle("border-bottom",this.borderStyle),ye.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(ye.setStyle("border-radius","8px"),ye.setStyle("border",this.borderStyle)),this.notation.circle&&(ye.setStyle("border-radius","50%"),ye.setStyle("border",this.borderStyle)),this.notation.top&&ye.setStyle("border-top",this.borderStyle),this.notation.left&&ye.setStyle("border-left",this.borderStyle),this.notation.right&&ye.setStyle("border-right",this.borderStyle),this.notation.bottom&&ye.setStyle("border-bottom",this.borderStyle),gt){let pn="";this.shadow==="auto"&&(pn+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(pn+=`filter: drop-shadow(${this.shadow})`),pn+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,pn+=' stroke-linecap="round"',this.svgStrokeStyle&&(pn+=` stroke-dasharray="${this.svgStrokeStyle}"`),ye.svgStyle=pn,ye.svgOverlay=gt}const qt=new Li([ye,z]);return qt.setStyle("position","relative"),qt.setStyle("vertical-align",pe,"em"),qt.setStyle("height",`${Math.floor(100*(z.height+z.depth+2*pe))/100}em`),qt.setStyle("display","inline-block"),qt.height=ye.height,qt.depth=ye.depth,qt.width=ye.width-2*pe,qt.left=pe,qt.right=pe,this.caret&&(qt.caret=this.caret),qt.wrap(b)}line(y,b,z,re){return`<line x1="${Vd(y)}" y1="${Vd(b)}" x2="${Vd(z)}" y2="${Vd(re)}" vector-effect="non-scaling-stroke"></line>`}};function Vd(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function fg(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function hm(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function af(a){const y=a.isDisplayStyle?Zc:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var U0=class J1 extends Ei{constructor(y,b,z){var re,pe;super(we(Ae({},z),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(re=z==null?void 0:z.hasBarLine)!=null?re:!0,this.continuousFraction=(pe=z==null?void 0:z.continuousFraction)!=null?pe:!1,this.numerPrefix=z==null?void 0:z.numerPrefix,this.denomPrefix=z==null?void 0:z.denomPrefix,this.mathstyleName=z==null?void 0:z.mathstyleName,this.leftDelim=z==null?void 0:z.leftDelim,this.rightDelim=z==null?void 0:z.rightDelim,this.fractionNavigationOrder=z==null?void 0:z.fractionNavigationOrder}static fromJson(y){return new J1(y.above,y.below,y)}toJson(){const y={};return this.continuousFraction&&(y.continuousFraction=!0),this.numerPrefix&&(y.numerPrefix=this.numerPrefix),this.denomPrefix&&(y.denomPrefix=this.denomPrefix),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),this.hasBarLine||(y.hasBarLine=!1),this.mathstyleName&&(y.mathstyleName=this.mathstyleName),this.fractionNavigationOrder&&(y.fractionNavigationOrder=this.fractionNavigationOrder),Ae(Ae({},super.toJson()),y)}get children(){if(this._children)return this._children;const y=[];if(this.fractionNavigationOrder==="denominator-numerator"){for(const b of this.below)y.push(...b.children),y.push(b);for(const b of this.above)y.push(...b.children),y.push(b)}else{for(const b of this.above)y.push(...b.children),y.push(b);for(const b of this.below)y.push(...b.children),y.push(b)}return this._children=y,y}render(y){var b,z;const re=new Vl({parent:y,mathstyle:this.mathstyleName},this.style),pe=re.metrics,ye=new Vl({parent:re,mathstyle:this.continuousFraction?"":"numerator"},this.style),tt=this.numerPrefix?new Li([new Li(this.numerPrefix),Ei.createBox(ye,this.above)],{isTight:ye.isTight,type:"ignore"}):(b=Ei.createBox(ye,this.above,{type:"ignore"}))!=null?b:new Li(null,{type:"ignore"}),ut=new Vl({parent:re,mathstyle:this.continuousFraction?"":"denominator"},this.style),gt=this.denomPrefix?new Li([new Li(this.denomPrefix),Ei.createBox(ut,this.below,{type:"ignore"})]):(z=Ei.createBox(ut,this.below,{type:"ignore"}))!=null?z:new Li(null,{type:"ignore"}),_t=this.hasBarLine?pe.defaultRuleThickness:0;let qt,pn=0,Kn;re.isDisplayStyle?(qt=ye.metrics.num1,pn=_t>0?3*_t:7*_t,Kn=ut.metrics.denom1):(_t>0?(qt=ye.metrics.num2,pn=_t):(qt=ye.metrics.num3,pn=3*pe.defaultRuleThickness),Kn=ut.metrics.denom2);const nr=[];this.isSelected&&nr.push("ML__selected");const di=tt.depth,Ha=gt.height;let li;if(_t<=0){const os=qt-di-(Ha-Kn);os<pn&&(qt+=(pn-os)/2,Kn+=(pn-os)/2),li=new Ou({individualShift:[{box:tt,shift:-qt,classes:[...nr,"ML__center"]},{box:gt,shift:Kn,classes:[...nr,"ML__center"]}]}).wrap(re)}else{const os=new Li(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});os.softWidth=Math.max(tt.width,gt.width),os.height=_t/2,os.depth=_t/2;const xe=Yu+_t/2;qt<pn+di+xe&&(qt=pn+di+xe);const Qe=Yu-_t/2;Kn<pn+Ha-Qe&&(Kn=pn+Ha-Qe),li=new Ou({individualShift:[{box:gt,shift:Kn,classes:[...nr,"ML__center"]},{box:os,shift:-Qe,classes:nr},{box:tt,shift:-qt,classes:[...nr,"ML__center"]}]}).wrap(re)}const na=re.isDisplayStyle?pe.delim1:pe.delim2,Ka=this.leftDelim?this.bind(y,ko("open",this.leftDelim,na,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Ro(re,"open");let fa=null;this.continuousFraction?fa=new Li(null,{type:"close"}):this.rightDelim?fa=this.bind(y,ko("close",this.rightDelim,na,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):fa=Ro(re,"close");const Vo=new Li([Ka,li,fa],{isTight:re.isTight,type:"inner",classes:"mfrac"}),vs=this.bind(y,Vo);return this.caret&&(vs.caret=this.caret),this.attachSupsub(y,{base:vs})}},md=class q1 extends Ei{constructor(y,b){var z;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(z=b==null?void 0:b.isSuggestion)!=null?z:!1,this.isError=!1}static fromJson(y){const b=new q1(y.value);return y.isSuggestion&&(b.isSuggestion=!0),y.isError&&(b.isError=!0),b}toJson(){const y={};return this.isSuggestion&&(y.isSuggestion=!0),this.isError&&(y.isError=!0),Ae({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new Li(this.value,{classes:this.isSuggestion?"ML__suggestion":this.isError?"ML__error":"",type:"latex",maxFontSize:1});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},H0=class $1 extends Ei{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new md(b)),this.skipBoundary=!1}static fromJson(y){return new $1("")}toJson(){return super.toJson()}render(y){const b=Ei.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,z;return(z=(b=this.body)==null?void 0:b.map(re=>re.value).join(""))!=null?z:""}},Km=class ey extends Ei{constructor(y,b){super(we(Ae({},b),{type:"extensible-symbol",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new ey(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.value&&(y.symbol=this.value),y}render(y){var b;const z=y.isDisplayStyle&&this.value!=="\\smallint",re=new Li(this.value,{fontFamily:z?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(z?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!re)return null;re.right=re.italic;const pe=(re.height-re.depth)/2-Yu*y.scalingFactor,ye=re.italic;re.setTop(pe);let tt=re;if(this.superscript||this.subscript){const ut=(b=this.subsupPlacement)!=null?b:"auto";tt=ut==="over-under"||ut==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:re,baseShift:pe,slant:ye}):this.attachSupsub(y,{base:re})}return new Li(this.bind(y,tt),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Wt(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[];return z.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),ml(z)}},NA=class ty extends Ei{constructor(y){const b=y.body;super(we(Ae({},y),{type:"overlap",body:typeof b=="string"?[new Ei({value:b})]:b,style:y==null?void 0:y.style})),this.skipBoundary=!0,this.align=y==null?void 0:y.align,this.boxType=y==null?void 0:y.boxType}static fromJson(y){return new ty(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),Ae(Ae({},super.toJson()),y)}render(y){const b=Ei.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new Li([b,new Li(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},Gd=class ny extends Ei{constructor(y){var b,z,re,pe;super({type:"overunder",command:y.command,style:y.style,mode:y.mode,body:y.body,skipBoundary:(b=y.skipBoundary)!=null?b:!0}),this.subsupPlacement=y.supsubPlacement,this.svgAbove=y.svgAbove,this.svgBelow=y.svgBelow,this.svgBody=y.svgBody,this.above=y.above,this.below=y.below,this.boxType=(z=y.boxType)!=null?z:"ord",this.paddedBody=(re=y.paddedBody)!=null?re:!1,this.paddedLabels=(pe=y.paddedLabels)!=null?pe:!1}static fromJson(y){return new ny(y)}toJson(){const y=super.toJson();return this.skipBoundary||(y.skipBoundary=!1),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.svgAbove&&(y.svgAbove=this.svgAbove),this.svgBelow&&(y.svgBelow=this.svgBelow),this.svgBody&&(y.svgBody=this.svgBody),this.boxType!=="ord"&&(y.boxType=this.boxType),this.paddedBody&&(y.paddedBody=!0),this.paddedLabels&&(y.paddedLabels=!0),y}render(y){let b=this.svgBody?MA(this.svgBody):Ei.createBox(y,this.body,{type:"ignore"});const z=new Vl({parent:y,mathstyle:"scriptstyle"},this.style);let re=null;this.svgAbove?re=MA(this.svgAbove):this.above&&(re=Ei.createBox(z,this.above,{type:"ignore"}));let pe=null;this.svgBelow?pe=MA(this.svgBelow):this.below&&(pe=Ei.createBox(z,this.below,{type:"ignore"})),this.paddedBody&&(b=new Li([Ro(y,"open"),b,Ro(y,"close")],{type:"ignore"}));let ye=Fp(y,{base:b,above:re,below:pe,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return ye?(this.subsupPlacement==="over-under"?ye=this.attachLimits(y,{base:ye,type:ye.type}):ye=this.attachSupsub(y,{base:ye}),this.caret&&(ye.caret=this.caret),this.bind(y,ye)):null}};function Fp(a,y){if(!y.base)return null;if(!y.above&&!y.below){const tt=new Li(y.base,{type:y.type});return tt.setStyle("position","relative"),tt}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let z=null;const re=y.base,pe=0,ye=["ML__center"];if(y.paddedAboveBelow&&ye.push("ML__label_padding"),y.below&&y.above){const tt=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+re.depth+pe;z=new Ou({bottom:tt,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:ye},{box:re,classes:["ML__center"]},b,{box:y.above,classes:ye},a.metrics.bigOpSpacing5]})}else y.below?z=new Ou({top:re.height-pe,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:ye},{box:re,classes:["ML__center"]}]}):y.above&&(z=new Ou({bottom:re.depth+pe,children:[{box:re,classes:["ML__center"]},b,{box:y.above,classes:ye},a.metrics.bigOpSpacing5]}));return new Li(z,{type:y.type})}var Ah=class ry extends Ei{constructor(y){var b,z,re,pe;super(we(Ae({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(z=y.smashDepth)!=null?z:!1,this.smashHeight=(re=y.smashHeight)!=null?re:!1,this.smashWidth=(pe=y.smashWidth)!=null?pe:!1}static fromJson(y){return new ry(y)}toJson(){const y={};return this.isInvisible&&(y.isInvisible=!0),this.smashDepth&&(y.smashDepth=!0),this.smashHeight&&(y.smashHeight=!0),this.smashWidth&&(y.smashWidth=!0),Ae(Ae({},super.toJson()),y)}render(y){const b=new Vl({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),Ei.createBox(b,this.body,{classes:"inner"});const z=Ei.createBox(this.isInvisible?b:y,this.body);if(!z)return null;if(this.smashWidth){const re=new Li(null,{classes:"fix"});return new Li([z,re],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return z;if(this.smashHeight&&(z.height=0),this.smashDepth&&(z.depth=0),z.children)for(const re of z.children)this.smashHeight&&(re.height=0),this.smashDepth&&(re.depth=0);return new Ou({firstBaseline:[{box:z}]},{type:z.type}).wrap(y)}},RA=class iy extends Ei{constructor(y){var b;super(Ae({type:"spacing"},y)),this.width=y==null?void 0:y.width,this._braced=(b=y==null?void 0:y.braced)!=null?b:!1}static fromJson(y){return new iy(y)}toJson(){const y=super.toJson();return this.width!==void 0&&(y.width=this.width),this._braced&&(y.braced=!0),y}render(y){var b;if(this.command==="space")return new Li(this.mode==="math"?null:" ");let z;if(this.width!==void 0)z=new Li(null,{classes:"mspace"}),z.left=y.toEm(this.width);else{const re=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";z=new Li(null,{classes:re})}return z=this.bind(y,z),this.caret&&(z.caret=this.caret),z}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const z=Wt(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);const re=(b=this.command)!=null?b:"";return this.width===void 0?re:this._braced&&!("register"in this.width)?`${re}{${Nc(this.width)}}`:`${re}${Nc(this.width)}`}},Wm=class ay extends Ei{constructor(y){var b;super(we(Ae({},y),{type:"surd",mode:(b=y.mode)!=null?b:"math",style:y.style,displayContainsHighlight:!0,body:y.body})),this.above=y.index}static fromJson(y){return new ay(we(Ae({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Wt(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=this.command,re=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?ju(`${z}[${this.aboveToLatex(y)}]`,re):/^[0-9]$/.test(re)?`${z}${re}`:ju(z,re)}get children(){if(this._children)return this._children;const y=[];if(this.above)for(const b of this.above)y.push(...b.children),y.push(b);if(this.body)for(const b of this.body)y.push(...b.children),y.push(b);return this._children=y,y}render(y){var b;const z=new Vl({parent:y,mathstyle:"cramp"},this.style),re=(b=Ei.createBox(z,this.body,{type:"inner"}))!=null?b:new Li(null),pe=z.scalingFactor,ye=z.metrics.defaultRuleThickness/pe,tt=y.isDisplayStyle?Zc:ye,ut=new Li(null,{classes:"ML__sqrt-line",style:this.style});ut.height=ye,ut.softWidth=re.width;let gt=pe*(ye+tt/4);const qt=Math.max(pe*2*tt,re.height+re.depth)+gt+ye,pn=new Vl({parent:y},this.style),Kn=this.bind(pn,new Li(ko("inner","\\surd",qt,!1,pn,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!Kn)return null;const nr=Kn.height+Kn.depth-ye;nr>re.height+re.depth+gt&&(gt=(gt+nr-(re.height+re.depth))/2),Kn.setTop(Kn.height-re.height-gt);const di=this.bind(y,new Ou({firstBaseline:[{box:new Li(re)},gt-2*ye,{box:ut},ye]})),Ha=Ei.createBox(new Vl({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!Ha){const Ka=new Li([Kn,di],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return Ka.setStyle("display","inline-block"),Ka.setStyle("height",Ka.height+Ka.depth,"em"),this.caret&&(Ka.caret=this.caret),this.bind(y,Ka)}const li=new Ou({shift:-.6*(Math.max(Kn.height,di.height)-Math.max(Kn.depth,di.depth)),children:[{box:Ha}]}),na=new Li([new Li(li,{classes:"ML__sqrt-index",type:"ignore"}),Kn,di],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return na.height=Kn.height,na.depth=Kn.depth,this.caret&&(na.caret=this.caret),this.bind(y,na)}},kp=class extends Li{constructor(a){super(null,{type:"skip"}),this._width=a}toMarkup(){return`<span style="display:inline-block;width:${Math.ceil(this.width*100)/100}em"></span>`}};function cp(a,y){if(!a.parent)return;const b=a.parent.children,z=b.indexOf(a);let re=z-1;for(;re>=0&&b[re].type==="ignore";)re-=1;if(re<0&&a.parent.parent&&a.parent.type==="lift"){cp(a.parent,y);return}z>0&&b[z-1].type==="skip"?b[z-1].width+=y:b.splice(z,0,new kp(y))}var l0={ord:{op:3,bin:4,rel:5,inner:3},op:{ord:3,op:3,rel:5,inner:3},bin:{ord:4,op:4,open:4,inner:4},rel:{ord:5,op:5,open:5,inner:5},close:{op:3,bin:4,rel:5,inner:3},punct:{ord:3,op:3,rel:3,open:3,punct:3,inner:3},inner:{ord:3,op:3,bin:4,rel:5,open:3,punct:3,inner:3}},u0={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function Ls(a){j0(a,(y,b)=>{b.type==="bin"&&(!y||/^(middle|bin|op|rel|open|punct)$/.test(y.type))&&(b.type="ord"),(y==null?void 0:y.type)==="bin"&&/^(rel|close|punct)$/.test(b.type)&&(y.type="ord"),b.type!=="ignore"&&(y=b)})}function Qc(a,y){if(!a.children)return a;const b=a.children;Ls(b);const z=y.getRegisterAsEm("thinmuskip"),re=y.getRegisterAsEm("medmuskip"),pe=y.getRegisterAsEm("thickmuskip");return j0(b,(ye,tt)=>{var ut,gt,_t;if(!ye)return;const qt=ye.type,pn=tt.isTight?(ut=u0[qt])!=null?ut:null:(gt=l0[qt])!=null?gt:null,Kn=(_t=pn==null?void 0:pn[tt.type])!=null?_t:null;Kn===3&&cp(tt,z),Kn===4&&cp(tt,re),Kn===5&&cp(tt,pe)}),a}function j0(a,y,b=void 0){if(!a)return b;a=[...a];for(const z of a)z.type==="lift"?b=j0(z.children,y,b):z.type==="ignore"?j0(z.children,y):(y(b,z),j0(z.children,y),b=z);return b}var Rh=class oy extends Ei{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new Ei({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new oy(we(Ae({},y),{tooltip:ll(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(z=>z.type!=="first").map(z=>z.toJson());return we(Ae({},super.toJson()),{tooltip:b})}render(y){const b=Ei.createBox(new Vl,this.body);if(!b)return null;const z=new Vl({parent:y,mathstyle:"displaystyle"},{fontSize:Nu}),re=kh(Qc(new Li(this.tooltip.render(z),{classes:"ML__tooltip-content"}),z)),pe=new Li([re,b],{classes:"ML__tooltip-container"});return this.caret&&(pe.caret=this.caret),this.bind(y,pe)}},kf=class sy extends Ei{constructor(y,b){super(we(Ae({},b),{type:"operator",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.variantStyle=b==null?void 0:b.variantStyle,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new sy(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.variantStyle&&(y.variantStyle=this.variantStyle),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.value&&(y.symbol=this.value),y}render(y){var b;const z=new Li(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let re=z;if(this.superscript||this.subscript){const pe=(b=this.subsupPlacement)!=null?b:"auto";re=pe==="over-under"||pe==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:z}):this.attachSupsub(y,{base:z})}return new Li(this.bind(y,re),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Wt(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),ml(z)}};function ll(a){if(Be(a))return a.map(z=>ll(z));if(typeof a=="string")return Ei.fromJson(a);a=Ae({},a);for(const z of _h)a[z]&&(a[z]=ll(a[z]));a.args&&(a.args=c0(a.args)),a.array&&(a.array=ll(a.array));const y=a.type;let b;y==="accent"&&(b=ee.fromJson(a)),y==="array"&&(b=rl.fromJson(a)),y==="box"&&(b=Lu.fromJson(a)),y==="chem"&&(b=zm.fromJson(a)),y==="composition"&&(b=Th.fromJson(a)),y==="delim"&&(b=fA.fromJson(a)),y==="enclose"&&(b=Td.fromJson(a)),y==="error"&&(b=Pl.fromJson(a)),y==="extensible-symbol"&&(b=Km.fromJson(a)),y==="genfrac"&&(b=U0.fromJson(a)),y==="group"&&(b=Ql.fromJson(a)),y==="latex"&&(b=md.fromJson(a)),y==="latexgroup"&&(b=H0.fromJson(a)),y==="leftright"&&(b=lu.fromJson(a)),y==="macro"&&(b=s0.fromJson(a)),y==="macro-argument"&&(b=Us.fromJson(a)),y==="operator"&&(b=kf.fromJson(a)),y==="overlap"&&(b=NA.fromJson(a)),y==="overunder"&&(b=Gd.fromJson(a)),y==="placeholder"&&(b=ms.fromJson(a)),y==="prompt"&&(b=PA.fromJson(a)),y==="phantom"&&(b=Ah.fromJson(a)),y==="sizeddelim"&&(b=tA.fromJson(a)),y==="spacing"&&(b=RA.fromJson(a)),y==="subsup"&&(b=hu.fromJson(a)),y==="surd"&&(b=Wm.fromJson(a)),y==="text"&&(b=tf.fromJson(a)),y==="tooltip"&&(b=Rh.fromJson(a)),b||(console.assert(!y||["first","mbin","mrel","mclose","minner","mop","mopen","mord","mpunct","root","space"].includes(y),`MathLive 0.98.5: an unexpected atom type "${y}" was encountered. Add new atom constructors to \`fromJson()\` in "atom.ts"`),b=Ei.fromJson(a));for(const z of _h)a[z]&&b.setChildren(a[z],z);return a.verbatimLatex!==void 0&&(b.verbatimLatex=a.verbatimLatex),a.subsupPlacement&&(b.subsupPlacement=a.subsupPlacement),a.explicitSubsupPlacement&&(b.explicitSubsupPlacement=!0),a.isFunction&&(b.isFunction=!0),a.isExtensibleSymbol&&(b.isExtensibleSymbol=!0),a.skipBoundary&&(b.skipBoundary=!0),a.captureSelection&&(b.captureSelection=!0),b}function c0(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>ll(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>ll(b)):y)}var UA={main:["Main-Regular","ML__cmr"],"main-italic":["Main-Italic","ML__cmr ML__it"],"main-bold":["Main-Bold","ML__cmr ML__bold"],"main-bolditalic":["Main-BoldItalic","ML__cmr ML__bold ML__it"],normal:["Main-Regular","ML__cmr"],"normal-bold":["Main-Bold","ML__mathbf"],"normal-italic":["Math-Italic","ML__mathit"],"normal-bolditalic":["Math-BoldItalic","ML__mathbfit"],ams:["AMS-Regular","ML__ams"],"ams-bold":["AMS-Regular","ML__ams"],"ams-italic":["AMS-Regular","ML__ams"],"ams-bolditalic":["AMS-Regular","ML__ams"],"sans-serif":["SansSerif-Regular","ML__sans"],"sans-serif-bold":["SansSerif-Regular","ML__sans ML__bold"],"sans-serif-italic":["SansSerif-Regular","ML__sans"],"sans-serif-bolditalic":["SansSerif-Regular","ML__sans"],calligraphic:["Caligraphic-Regular","ML__cal"],"calligraphic-bold":["Caligraphic-Regular","ML__cal ML__bold"],"calligraphic-italic":["Caligraphic-Regular","ML__cal ML__it"],"calligraphic-bolditalic":["Caligraphic-Regular","ML__cal ML__bold ML__it"],script:["Script-Regular","ML__script"],"script-bold":["Script-Regular","ML__script ML__bold"],"script-italic":["Script-Regular","ML__script ML__it"],"script-bolditalic":["Script-Regular","ML__script ML__bold ML__it"],fraktur:["Fraktur-Regular","ML__frak"],"fraktur-bold":["Fraktur-Regular","ML__frak"],"fraktur-italic":["Fraktur-Regular","ML__frak"],"fraktur-bolditalic":["Fraktur-Regular","ML__frak"],monospace:["Typewriter-Regular","ML__tt"],"monospace-bold":["Typewriter-Regular","ML__tt ML__bold"],"monospace-italic":["Typewriter-Regular","ML__tt ML__it"],"monospace-bolditalic":["Typewriter-Regular","ML__tt ML__bold ML__it"],"double-struck":["AMS-Regular","ML__bb"],"double-struck-bold":["AMS-Regular","ML__bb"],"double-struck-italic":["AMS-Regular","ML__bb"],"double-struck-bolditalic":["AMS-Regular","ML__bb"]},pm={"double-struck":/^[A-Z ]$/,script:/^[A-Z ]$/,calligraphic:/^[\dA-Z ]$/,fraktur:/^[\dA-Za-z ]$|^[!"#$%&'()*+,\-./:;=?[]^]$/,monospace:/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/,"sans-serif":/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/},Qf=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,jg=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,Qg=[/^[a-z]$/,/^[A-Z]$/,Qf,jg],zg={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},Fd=class extends ud{constructor(){super("math")}createAtom(a,y,b){var z,re,pe,ye;if(y===null)return new Ei({type:"mord",mode:"math",command:a,value:a,style:b});const tt=window.MathfieldElement.isFunction((z=y.command)!=null?z:a);if(y.definitionType==="symbol"){const gt=new Ei({type:(re=y.type)!=null?re:"mord",mode:"math",command:(pe=y.command)!=null?pe:a,value:String.fromCodePoint(y.codepoint),style:b});return tt&&(gt.isFunction=!0),a.startsWith("\\")&&(gt.verbatimLatex=a),gt}const ut=new Ei({type:"mord",mode:"math",command:(ye=y.command)!=null?ye:a,value:a,style:b});return tt&&(ut.isFunction=!0),a.startsWith("\\")&&(ut.verbatimLatex=a),ut}serialize(a,y){const b=Ee(a,we(Ae({},y),{defaultMode:"math"}));return b.length===0||y.defaultMode!=="text"?b:["$ ",...b," $"]}getFont(a,y){console.assert(y.variant!==void 0);let{variant:b}=y,{variantStyle:z}=y;b==="normal"&&!z&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",z="italic"),b==="normal"&&!z&&a.value.length===1&&Qg.forEach((tt,ut)=>{var gt;tt.test(a.value)&&zg[(gt=y.letterShapeStyle)!=null?gt:"tex"][ut]==="it"&&(z="italic")}),z==="up"&&(z=void 0);const re=z?b+"-"+z:b;console.assert(UA[re]!==void 0);const[pe,ye]=UA[re];return pm[b]&&!pm[b].test(a.value)?(a.value=Yt(a.value,b,z),null):(Qf.test(a.value)&&(a.classes+=" lcGreek"),ye&&(a.classes+=" "+ye),pe)}};function Ee(a,y){const{parent:b}=a[0],z=be(b);return pc(a,"variant").map(re=>{const pe=be(re[0]);let ye="";pe&&pe!==z&&(ye={calligraphic:"\\mathcal",fraktur:"\\mathfrak","double-struck":"\\mathbb",script:"\\mathscr",monospace:"\\mathtt","sans-serif":"\\mathsf",normal:"\\mathrm","normal-italic":"\\mathnormal","normal-bold":"\\mathbf","normal-bolditalic":"\\mathbfit",ams:"","ams-italic":"\\mathit","ams-bold":"\\mathbf","ams-bolditalic":"\\mathbfit",main:"","main-italic":"\\mathit","main-bold":"\\mathbf","main-bolditalic":"\\mathbfit"}[pe],console.assert(ye!==void 0));const tt=ml(re.map(ut=>ut._serialize(y)));return ye?ju(ye,tt):tt})}function be(a){if(!a)return"";const{style:y}=a;if(y.variant===void 0)return"";let b=y.variant;return!["calligraphic","fraktur","double-struck","script","monospace","sans-serif"].includes(y.variant)&&y.variantStyle&&y.variantStyle!=="up"&&(b+="-"+y.variantStyle),b}new Fd;function De(a,y){return a.map(b=>b._serialize(y))}function Ie(a,y){return pc(a,"fontShape").map(b=>{const z=De(b,y),{fontShape:re}=b[0].style;let pe="";return re==="it"&&(pe="\\textit"),re==="sl"&&(pe="\\textsl"),re==="sc"&&(pe="\\textsc"),re==="n"&&(pe="\\textup"),!pe&&re?`{${ju("\\fontshape",re)}${ml(z)}}`:pe?ju(pe,ml(z)):ml(z)})}function yt(a,y){return pc(a,"fontSeries").map(b=>{const z=Ie(b,y),{fontSeries:re}=b[0].style;let pe="";return re==="b"&&(pe="\\textbf"),re==="l"&&(pe="\\textlf"),re==="m"&&(pe="\\textmd"),re&&!pe?`{${ju("\\fontseries",re)}${ml(z)}}`:pe?ju(pe,ml(z)):ml(z)})}function Kt(a,y){return pc(a,"fontSize").map(b=>{var z,re;const pe=yt(b,y),ye=(re=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(z=b[0].style.fontSize)!=null?z:""])!=null?re:"";return ye?`${ye} ${ml(pe)}`:ml(pe)})}function un(a,y,b){return pc(a,"fontFamily").map(z=>{var re,pe;const ye=Kt(z,y),tt=(pe={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(re=z[0].style.fontFamily)!=null?re:""])!=null?pe:"";return tt?`\\${tt}{${ml(ye)}}`:z[0].style.fontFamily?`{\\fontfamily{${z[0].style.fontFamily}} ${ml(ye)}}`:b?`\\text{${ml(ye)}}`:ml(ye)})}var Pn={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Rn=class extends ud{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new tf(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return un(a,we(Ae({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,z,re,pe,ye;const{fontFamily:tt}=y;if(Pn[tt]?a.classes+=" "+Pn[tt]:tt&&a.setStyle("font-family",tt),y.fontShape&&(a.classes+=" ",a.classes+=(b={it:"ML__it",sl:"ML__shape_sl",sc:"ML__shape_sc",ol:"ML__shape_ol"}[y.fontShape])!=null?b:""),y.fontSeries){const ut=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);ut&&(a.classes+=" ",a.classes+=(re={ul:"ML__series_ul",el:"ML__series_el",l:"ML__series_l",sl:"ML__series_sl",m:"",sb:"ML__series_sb",b:"ML__bold",eb:"ML__series_eb",ub:"ML__series_ub"}[(z=ut[1])!=null?z:""])!=null?re:"",a.classes+=" ",a.classes+=(ye={uc:"ML__series_uc",ec:"ML__series_ec",c:"ML__series_c",sc:"ML__series_sc",n:"",sx:"ML__series_sx",x:"ML__series_x",ex:"ML__series_ex",ux:"ML__series_ux"}[(pe=ut[2])!=null?pe:""])!=null?ye:"")}return"Main-Regular"}};new Rn;var zr=class extends ud{constructor(){super("latex")}createAtom(a){return new md(a)}serialize(a,y){return a.filter(b=>b instanceof md&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new zr;var qr={id:"dvorak",locale:"en",displayName:"Dvorak",virtualLayout:"dvorak",platform:"",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["x","X","\u2248","\u02DB"],KeyC:["j","J","\u2206","\xD4"],KeyD:["e","E","\xB4","\xB4"],KeyE:[".",">","\u2265","\u02D8"],KeyF:["u","U","\xA8","\xA8"],KeyG:["i","I","\u02C6","\u02C6"],KeyH:["d","D","\u2202","\xCE"],KeyI:["c","C","\xE7","\xC7"],KeyJ:["h","H","\u02D9","\xD3"],KeyK:["t","T","\u2020","\u02C7"],KeyL:["n","N","\u02DC","\u02DC"],KeyM:["m","M","\xB5","\xC2"],KeyN:["b","B","\u222B","\u0131"],KeyO:["r","R","\xAE","\u2030"],KeyP:["l","L","\xAC","\xD2"],KeyQ:["'",'"',"\xE6","\xC6"],KeyR:["p","P","\u03C0","\u220F"],KeyS:["o","O","\xF8","\xD8"],KeyT:["y","Y","\xA5","\xC1"],KeyU:["g","G","\xA9","\u02DD"],KeyV:["k","K","\u02DA","\uF8FF"],KeyW:[",","<","\u2264","\xAF"],KeyX:["q","Q","\u0153","\u0152"],KeyY:["f","F","\u0192","\xCF"],KeyZ:[";",":","\u2026","\xDA"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["[","{","\u201C","\u201D"],Equal:["]","}","\u2018","\u2019"],BracketLeft:["/","?","\xF7","\xBF"],BracketRight:["=","+","\u2260","\xB1"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:["s","S","\xDF","\xCD"],Quote:["-","_","\u2013","\u2014"],Backquote:["`","~","`","`"],Comma:["w","W","\u2211","\u201E"],Period:["v","V","\u221A","\u25CA"],Slash:["z","Z","\u03A9","\xB8"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},ri={id:"apple.en-intl",displayName:"English (international)",virtualLayout:"qwerty",platform:"apple",locale:"en",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u0131"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\xCE"],KeyE:["e","E","\xB4","\xB4"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\u02DD"],KeyH:["h","H","\u02D9","\xD3"],KeyI:["i","I","\u02C6","\u02C6"],KeyJ:["j","J","\u2206","\xD4"],KeyK:["k","K","\u02DA","\uF8FF"],KeyL:["l","L","\xAC","\xD2"],KeyM:["m","M","\xB5","\xC2"],KeyN:["n","N","\u02DC","\u02DC"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE","\u2030"],KeyS:["s","S","\xDF","\xCD"],KeyT:["t","T","\u2020","\u02C7"],KeyU:["u","U","\xA8","\xA8"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\u02DB"],KeyY:["y","Y","\xA5","\xC1"],KeyZ:["z","Z","\u03A9","\xB8"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["-","_","\u2013","\u2014"],Equal:["=","+","\u2260","\xB1"],BracketLeft:["[","{","\u201C","\u201D"],BracketRight:["]","}","\u2018","\u2019"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:[";",":","\u2026","\xDA"],Quote:["'",'"',"\xE6","\xC6"],Backquote:["`","\u02DC","`","`"],Comma:[",","<","\u2264","\xAF"],Period:[".",">","\u2265","\u02D8"],Slash:["/","?","\xF7","\xBF"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},ea={id:"windows.en-intl",displayName:"English (international)",platform:"windows",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","\xE1","\xC1"],KeyB:["b","B","",""],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\xE9","\xC9"],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","\xED","\xCD"],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","\xF8","\xD8"],KeyM:["m","M","\xB5",""],KeyN:["n","N","\xF1","\xD1"],KeyO:["o","O","\xF3","\xD3"],KeyP:["p","P","\xF6","\xD6"],KeyQ:["q","Q","\xE4","\xC4"],KeyR:["r","R","\xAE",""],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\xFE","\xDE"],KeyU:["u","U","\xFA","\xDA"],KeyV:["v","V","",""],KeyW:["w","W","\xE5","\xC5"],KeyX:["x","X","",""],KeyY:["y","Y","\xFC","\xDC"],KeyZ:["z","Z","\xE6","\xC6"],Digit1:["1","!","\xA1","\xB9"],Digit2:["2","@","\xB2",""],Digit3:["3","#","\xB3",""],Digit4:["4","$","\xA4","\xA3"],Digit5:["5","%","\u20AC",""],Digit6:["6","^","\xBC",""],Digit7:["7","&","\xBD",""],Digit8:["8","*","\xBE",""],Digit9:["9","(","\u2018",""],Digit0:["0",")","\u2019",""],Space:[" "," ","",""],Minus:["-","_","\xA5",""],Equal:["=","+","\xD7","\xF7"],BracketLeft:["[","{","\xAB",""],BracketRight:["]","}","\xBB",""],Backslash:["\\","|","\xAC","\xA6"],Semicolon:[";",":","\xB6","\xB0"],Quote:["'",'"',"\xB4","\xA8"],Backquote:["`","~","",""],Comma:[",","<","\xE7","\xC7"],Period:[".",">","",""],Slash:["/","?","\xBF",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["\\","|","",""]}},ns={id:"linux.en",displayName:"English",platform:"linux",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","a","A"],KeyB:["b","B","b","B"],KeyC:["c","C","c","C"],KeyD:["d","D","d","D"],KeyE:["e","E","e","E"],KeyF:["f","F","f","F"],KeyG:["g","G","g","G"],KeyH:["h","H","h","H"],KeyI:["i","I","i","I"],KeyJ:["j","J","j","J"],KeyK:["k","K","k","K"],KeyL:["l","L","l","L"],KeyM:["m","M","m","M"],KeyN:["n","N","n","N"],KeyO:["o","O","o","O"],KeyP:["p","P","p","P"],KeyQ:["q","Q","q","Q"],KeyR:["r","R","r","R"],KeyS:["s","S","s","S"],KeyT:["t","T","t","T"],KeyU:["u","U","u","U"],KeyV:["v","V","v","V"],KeyW:["w","W","w","W"],KeyX:["x","X","x","X"],KeyY:["y","Y","y","Y"],KeyZ:["z","Z","z","Z"],Digit1:["1","!","1","!"],Digit2:["2","@","2","@"],Digit3:["3","#","3","#"],Digit4:["4","$","4","$"],Digit5:["5","%","5","%"],Digit6:["6","^","6","^"],Digit7:["7","&","7","&"],Digit8:["8","*","8","*"],Digit9:["9","(","9","("],Digit0:["0",")","0",")"],Space:[" "," "," "," "],Minus:["-","_","-","_"],Equal:["=","+","=","+"],BracketLeft:["[","{","[","{"],BracketRight:["]","}","]","}"],Backslash:["\\","|","\\","|"],Semicolon:[";",":",";",":"],Quote:["'",'"',"'",'"'],Backquote:["`","~","`","~"],Comma:[",","<",",","<"],Period:[".",">",".",">"],Slash:["/","?","/","?"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}},eo={id:"apple.french",locale:"fr",displayName:"French",platform:"apple",virtualLayout:"azerty",score:0,mapping:{KeyA:["q","Q","\u2021","\u03A9"],KeyB:["b","B","\xDF","\u222B"],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\xEA","\xCA"],KeyF:["f","F","\u0192","\xB7"],KeyG:["g","G","\uFB01","\uFB02"],KeyH:["h","H","\xCC","\xCE"],KeyI:["i","I","\xEE","\xEF"],KeyJ:["j","J","\xCF","\xCD"],KeyK:["k","K","\xC8","\xCB"],KeyL:["l","L","\xAC","|"],KeyM:[",","?","\u221E","\xBF"],KeyN:["n","N","~","\u0131"],KeyO:["o","O","\u0153","\u0152"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xAE","\u201A"],KeyS:["s","S","\xD2","\u2211"],KeyT:["t","T","\u2020","\u2122"],KeyU:["u","U","\xBA","\xAA"],KeyV:["v","V","\u25CA","\u221A"],KeyW:["z","Z","\xC2","\xC5"],KeyX:["x","X","\u2248","\u2044"],KeyY:["y","Y","\xDA","\u0178"],KeyZ:["w","W","\u2039","\u203A"],Digit1:["&","1","\uF8FF","\xB4"],Digit2:["\xE9","2","\xEB","\u201E"],Digit3:['"',"3","\u201C","\u201D"],Digit4:["'","4","\u2018","\u2019"],Digit5:["(","5","{","["],Digit6:["\xA7","6","\xB6","\xE5"],Digit7:["\xE8","7","\xAB","\xBB"],Digit8:["!","8","\xA1","\xDB"],Digit9:["\xE7","9","\xC7","\xC1"],Digit0:["\xE0","0","\xF8","\xD8"],Space:[" "," "," "," "],Minus:[")","\xB0","}","]"],Equal:["-","_","\u2014","\u2013"],BracketLeft:["^","\xA8","\xF4","\xD4"],BracketRight:["$","*","\u20AC","\xA5"],Backslash:["`","\xA3","@","#"],Semicolon:["m","M","\xB5","\xD3"],Quote:["\xF9","%","\xD9","\u2030"],Backquote:["<",">","\u2264","\u2265"],Comma:[";",".","\u2026","\u2022"],Period:[":","/","\xF7","\\"],Slash:["=","+","\u2260","\xB1"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",".",",","."],IntlBackslash:["@","#","\u2022","\u0178"],NumpadEqual:["=","=","=","="]}},No={id:"windows.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"windows",score:0,mapping:{KeyA:["q","Q","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:[",","?","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["a","A","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["z","Z","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["w","W","",""],Digit1:["&","1","",""],Digit2:["\xE9","2","~",""],Digit3:['"',"3","#",""],Digit4:["'","4","{",""],Digit5:["(","5","[",""],Digit6:["-","6","|",""],Digit7:["\xE8","7","`",""],Digit8:["_","8","\\",""],Digit9:["\xE7","9","^",""],Digit0:["\xE0","0","@",""],Space:[" "," ","",""],Minus:[")","\xB0","]",""],Equal:["=","+","}",""],BracketLeft:["^","\xA8","",""],BracketRight:["$","\xA3","\xA4",""],Backslash:["*","\xB5","",""],Semicolon:["m","M","",""],Quote:["\xF9","%","",""],Backquote:["\xB2","","",""],Comma:[";",".","",""],Period:[":","/","",""],Slash:["!","\xA7","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},El={id:"linux.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"linux",score:0,mapping:{KeyA:["q","Q","@","\u03A9"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:[",","?","\u0301","\u030B"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["z","Z","\xAB","<"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["w","W","\u0142","\u0141"],Digit1:["&","1","\xB9","\xA1"],Digit2:["\xE9","2","~","\u215B"],Digit3:['"',"3","#","\xA3"],Digit4:["'","4","{","$"],Digit5:["(","5","[","\u215C"],Digit6:["-","6","|","\u215D"],Digit7:["\xE8","7","`","\u215E"],Digit8:["_","8","\\","\u2122"],Digit9:["\xE7","9","^","\xB1"],Digit0:["\xE0","0","@","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:[")","\xB0","]","\xBF"],Equal:["=","+","}","\u0328"],BracketLeft:["\u0302","\u0308","\u0308","\u030A"],BracketRight:["$","\xA3","\xA4","\u0304"],Backslash:["*","\xB5","\u0300","\u0306"],Semicolon:["m","M","\xB5","\xBA"],Quote:["\xF9","%","\u0302","\u030C"],Backquote:["\xB2","~","\xAC","\xAC"],Comma:[";",".","\u2500","\xD7"],Period:[":","/","\xB7","\xF7"],Slash:["!","\xA7","\u0323","\u0307"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"]}},ds={id:"apple.german",locale:"de",displayName:"German",virtualLayout:"qwertz",platform:"apple",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u2039"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\u2122"],KeyE:["e","E","\u20AC","\u2030"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\xCC"],KeyH:["h","H","\xAA","\xD3"],KeyI:["i","I","\u2044","\xDB"],KeyJ:["j","J","\xBA","\u0131"],KeyK:["k","K","\u2206","\u02C6"],KeyL:["l","L","@","\uFB02"],KeyM:["m","M","\xB5","\u02D8"],KeyN:["n","N","~","\u203A"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\xAB","\xBB"],KeyR:["r","R","\xAE","\xB8"],KeyS:["s","S","\u201A","\xCD"],KeyT:["t","T","\u2020","\u02DD"],KeyU:["u","U","\xA8","\xC1"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\xD9"],KeyY:["z","Z","\u03A9","\u02C7"],KeyZ:["y","Y","\xA5","\u2021"],Digit1:["1","!","\xA1","\xAC"],Digit2:["2",'"',"\u201C","\u201D"],Digit3:["3","\xA7","\xB6","#"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","[","\uFB01"],Digit6:["6","&","]","^"],Digit7:["7","/","|","\\"],Digit8:["8","(","{","\u02DC"],Digit9:["9",")","}","\xB7"],Digit0:["0","=","\u2260","\xAF"],Space:[" "," "," "," "],Minus:["\xDF","?","\xBF","\u02D9"],Equal:["\xB4","`","'","\u02DA"],BracketLeft:["\xFC","\xDC","\u2022","\xB0"],BracketRight:["+","*","\xB1","\uF8FF"],Backslash:["#","'","\u2018","\u2019"],Semicolon:["\xF6","\xD6","\u0153","\u0152"],Quote:["\xE4","\xC4","\xE6","\xC6"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u221E","\u02DB"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",",",".","."],IntlBackslash:["^","\xB0","\u201E","\u201C"],NumpadEqual:["=","=","=","="]}},ls={id:"windows.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","\xB5",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","@",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["z","Z","",""],KeyZ:["y","Y","",""],Digit1:["1","!","",""],Digit2:["2",'"',"\xB2",""],Digit3:["3","\xA7","\xB3",""],Digit4:["4","$","",""],Digit5:["5","%","",""],Digit6:["6","&","",""],Digit7:["7","/","{",""],Digit8:["8","(","[",""],Digit9:["9",")","]",""],Digit0:["0","=","}",""],Space:[" "," ","",""],Minus:["\xDF","?","\\","\u1E9E"],Equal:["\xB4","`","",""],BracketLeft:["\xFC","\xDC","",""],BracketRight:["+","*","~",""],Backslash:["#","'","",""],Semicolon:["\xF6","\xD6","",""],Quote:["\xE4","\xC4","",""],Backquote:["^","\xB0","",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","|",""]}},dl={id:"linux.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201C","\u2018"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0323","\u0307"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","\u201D","\u2019"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\u017F","\u1E9E"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201E","\u201A"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xAB","\u2039"],KeyY:["z","Z","\u2190","\xA5"],KeyZ:["y","Y","\xBB","\u203A"],Digit1:["1","!","\xB9","\xA1"],Digit2:["2",'"',"\xB2","\u215B"],Digit3:["3","\xA7","\xB3","\xA3"],Digit4:["4","$","\xBC","\xA4"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["\xDF","?","\\","\xBF"],Equal:["\u0301","\u0300","\u0327","\u0328"],BracketLeft:["\xFC","\xDC","\u0308","\u030A"],BracketRight:["+","*","~","\xAF"],Backslash:["#","'","\u2019","\u0306"],Semicolon:["\xF6","\xD6","\u030B","\u0323"],Quote:["\xE4","\xC4","\u0302","\u030C"],Backquote:["\u0302","\xB0","\u2032","\u2033"],Comma:[",",";","\xB7","\xD7"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],PrintScreen:["","","",""],PageUp:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",",","",","],IntlBackslash:["<",">","|","\u0331"],AltRight:["\r","\r","\r","\r"],MetaRight:[".",".",".","."]}},zl={id:"apple.spanish",locale:"es",displayName:"Spanish ISO",platform:"apple",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\xDF",""],KeyC:["c","C","\xA9"," "],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0192","\uFB01"],KeyG:["g","G","\uF8FF","\uFB02"],KeyH:["h","H","\u2122"," "],KeyI:["i","I"," "," "],KeyJ:["j","J","\xB6","\xAF"],KeyK:["k","K","\xA7","\u02C7"],KeyL:["l","L"," ","\u02D8"],KeyM:["m","M","\xB5","\u02DA"],KeyN:["n","N"," ","\u02D9"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE"," "],KeyS:["s","S","\u222B"," "],KeyT:["t","T","\u2020","\u2021"],KeyU:["u","U"," "," "],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\xE6","\xC6"],KeyX:["x","X","\u2211","\u203A"],KeyY:["y","Y","\xA5"," "],KeyZ:["z","Z","\u03A9","\u2039"],Digit1:["1","!","|","\u0131"],Digit2:["2",'"',"@","\u02DD"],Digit3:["3","\xB7","#","\u2022"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","\u221E","\u2030"],Digit6:["6","&","\xAC"," "],Digit7:["7","/","\xF7","\u2044"],Digit8:["8","(","\u201C","\u2018"],Digit9:["9",")","\u201D","\u2019"],Digit0:["0","=","\u2260","\u2248"],Space:[" "," "," "," "],Minus:["'","?","\xB4","\xB8"],Equal:["\xA1","\xBF","\u201A","\u02DB"],BracketLeft:["`","^","[","\u02C6"],BracketRight:["+","*","]","\xB1"],Backslash:["\xE7","\xC7","}","\xBB"],Semicolon:["\xF1","\xD1","~","\u02DC"],Quote:["\xB4","\xA8","{","\xAB"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u201E",""],Period:[".",":","\u2026","\u2026"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[",",",",",",","],IntlBackslash:["\xBA","\xAA","\\","\xB0"]}},nl={id:"windows.spanish",locale:"es",displayName:"Spanish",platform:"windows",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["z","Z","",""],Digit1:["1","!","|",""],Digit2:["2",'"',"@",""],Digit3:["3","\xB7","#",""],Digit4:["4","$","~",""],Digit5:["5","%","\u20AC",""],Digit6:["6","&","\xAC",""],Digit7:["7","/","",""],Digit8:["8","(","",""],Digit9:["9",")","",""],Digit0:["0","=","",""],Space:[" "," ","",""],Minus:["'","?","",""],Equal:["\xA1","\xBF","",""],BracketLeft:["`","^","[",""],BracketRight:["+","*","]",""],Backslash:["\xE7","\xC7","}",""],Semicolon:["\xF1","\xD1","",""],Quote:["\xB4","\xA8","{",""],Backquote:["\xBA","\xAA","\\",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},Yo={id:"linux.spanish",locale:"es",displayName:"Spanish",platform:"linux",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["z","Z","\xAB","<"],Digit1:["1","!","|","\xA1"],Digit2:["2",'"',"@","\u215B"],Digit3:["3","\xB7","#","\xA3"],Digit4:["4","$","~","$"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["'","?","\\","\xBF"],Equal:["\xA1","\xBF","\u0303","~"],BracketLeft:["\u0300","\u0302","[","\u030A"],BracketRight:["+","*","]","\u0304"],Backslash:["\xE7","\xC7","}","\u0306"],Semicolon:["\xF1","\xD1","~","\u030B"],Quote:["\u0301","\u0308","{","{"],Backquote:["\xBA","\xAA","\\","\\"],Comma:[",",";","\u2500","\xD7"],Period:[".",":","\xB7","\xF7"],Slash:["-","_","\u0323","\u0307"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadEnter:["\r","\r","\r","\r"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}};function uu(a){const y=a.split("+"),b={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:y.pop()};return y.includes("shift")&&(b.shift=!0),y.includes("alt")&&(b.alt=!0),y.includes("ctrl")&&(b.ctrl=!0),y.includes("cmd")&&(b.cmd=!0),y.includes("win")&&(b.win=!0),y.includes("meta")&&(b.meta=!0),b}function Dl(a){let y="";return a.shift&&(y+="shift+"),a.alt&&(y+="alt+"),a.ctrl&&(y+="ctrl+"),a.cmd&&(y+="cmd+"),a.win&&(y+="win+"),a.meta&&(y+="meta+"),y+a.key}var Al={enter:"[Enter]",escape:"[Escape]",backspace:"[Backspace]",tab:"[Tab]",space:"[Space]",pausebreak:"[Pause]",insert:"[Insert]",home:"[Home]",pageup:"[PageUp]",delete:"[Delete]",end:"[End]",pagedown:"[PageDown]",right:"[ArrowRight]",left:"[ArrowLeft]",down:"[ArrowDown]",up:"[ArrowUp]",numpad0:"[Numpad0]",numpad1:"[Numpad1]",numpad2:"[Numpad2]",numpad3:"[Numpad3]",numpad4:"[Numpad4]",numpad5:"[Numpad5]",numpad6:"[Numpad6]",numpad7:"[Numpad7]",numpad8:"[Numpad8]",numpad9:"[Numpad9]",numpad_divide:"[NumpadDivide]",numpad_multiply:"[NumpadMultiply]",numpad_subtract:"[NumpadSubtract]",numpad_add:"[NumpadAdd]",numpad_decimal:"[NumpadDecimal]",numpad_separator:"[NumpadComma]",capslock:"[Capslock]",f1:"[F1]",f2:"[F2]",f3:"[F3]",f4:"[F4]",f5:"[F5]",f6:"[F6]",f7:"[F7]",f8:"[F8]",f9:"[F9]",f10:"[F10]",f11:"[F11]",f12:"[F12]",f13:"[F13]",f14:"[F14]",f15:"[F15]",f16:"[F16]",f17:"[F17]",f18:"[F18]",f19:"[F19]"},xo=[],nA;function HA(){switch(Te()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function eu(a){(!a.platform||a.platform===HA())&&xo.push(a)}function rA(a,y){var b;const z={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return z;for(const[re,pe]of Object.entries(y.mapping)){if(pe[0]===a)return z.key=`[${re}]`,z;if(pe[1]===a)return z.shift=!0,z.key=`[${re}]`,z;if(pe[2]===a)return z.alt=!0,z.key=`[${re}]`,z;if(pe[3]===a)return z.shift=!0,z.alt=!0,z.key=`[${re}]`,z}return z.key=(b=Al[a])!=null?b:"",z}function Uh(a){if(a.code)return a;const y=Object.entries(zf().mapping);let b=!1,z=!1,re="";for(let pe=0;pe<4;pe++){for(const[ye,tt]of y)if(tt[pe]===a.key){re=ye,pe===3?(b=!0,z=!0):pe===2?b=!0:pe===1&&(z=!0);break}if(re)break}return new KeyboardEvent(a.type,we(Ae({},a),{altKey:b,shiftKey:z,code:re}))}function OA(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const z=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const re of xo)((y=re.mapping[a.code])==null?void 0:y[z])===a.key?re.score+=1:(b=re.mapping[a.code])!=null&&b[z]&&(re.score=0);xo.sort((re,pe)=>pe.score-re.score)}function jA(a){nA=xo.find(y=>a.startsWith(y.locale))}function zf(){return nA!=null?nA:xo[0]}function Mf(){switch(HA()){case"apple":return ri;case"windows":return ea;case"linux":return ns}return ri}switch(HA()){case"apple":eu(ri),eu(eo),eu(zl),eu(ds);break;case"windows":eu(ea),eu(No),eu(nl),eu(ls);break;case"linux":eu(ns),eu(El),eu(Yo),eu(dl);break}eu(qr);function Kf(a){var y;const b=/macos|ios/.test(Te()),z=a.split("+");let re="";for(const pe of z)re&&(re+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),pe.startsWith("[Key")?re+=pe.slice(4,5):pe.startsWith("Key")?re+=pe.slice(3,4):pe.startsWith("[Digit")?re+=pe.slice(6,7):pe.startsWith("Digit")?re+=pe.slice(5,6):re+=(y={cmd:"\u2318",meta:b?"\u2318":"Ctrl",shift:b?"\u21E7":"Shift",alt:b?"\u2325":"Alt",ctrl:b?"\u2303":"Ctrl","\n":b?"\u23CE":"Return","[return]":b?"\u23CE":"Return","[enter]":b?"\u2324":"Enter","[tab]":b?"\u21E5":"Tab","[escape]":"Esc","[backspace]":b?"\u232B":"Backspace","[delete]":b?"\u2326":"Del","[pageup]":b?"\u21DE":"Page Up","[pagedown]":b?"\u21DF":"Page Down","[home]":b?"\u2912":"Home","[end]":b?"\u2913":"End","[space]":"Space","[equal]":"=","[minus]":"-","[comma]":",","[slash]":"/","[backslash]":"\\","[bracketleft]":"[","[bracketright]":"]",semicolon:";",period:".",comma:",",minus:"-",equal:"=",quote:"'",backslash:"\\",intlbackslash:"\\",backquote:"`",slash:"/",numpadmultiply:"* &#128290;",numpaddivide:"/ &#128290;",numpadsubtract:"- &#128290;",numpadadd:"+ &#128290;",numpaddecimal:". &#128290;",numpadcomma:", &#128290;",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[pe.toLowerCase()])!=null?y:pe.toUpperCase();return re}function fh(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((z,re)=>({x:z.x+re.clientX,y:z.y+re.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function of(a){const y={alt:!1,control:!1,shift:!1,meta:!1};return(a instanceof MouseEvent||a instanceof PointerEvent||a instanceof TouchEvent||a instanceof KeyboardEvent)&&(a.altKey&&(y.alt=!0),a.ctrlKey&&(y.control=!0),a.metaKey&&(y.meta=!0),a.shiftKey&&(y.shift=!0)),y}function hh(a,y){return!a&&y||a&&!y?!1:!a||!y?!0:a.alt===y.alt&&a.control===y.control&&a.shift===y.shift&&a.meta===y.meta}var d0=new Set(["Backquote","Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6","Digit7","Digit8","Digit9","Minus","Equal","IntlYen","KeyQ","KeyW","KeyE","KeyR","KeyT","KeyY","KeyU","KeyI","KeyO","KeyP","BracketLeft","BracketRight","Backslash","KeyA","KeyS","KeyD","KeyF","KeyG","KeyH","KeyJ","KeyK","KeyL","Semicolon","Quote","IntlBackslash","KeyZ","KeyX","KeyC","KeyV","KeyB","KeyN","KeyM","Comma","Period","Slash","IntlRo","Space","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9","NumpadAdd","NumpadComma","NumpadDecimal","NumpadDivide","NumpadEqual","NumpadHash","NumpadMultiply","NumpadParenLeft","NumpadParenRight","NumpadStar","NumpadSubstract"]);function _f(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:d0.has(a.code)}function Hh(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var hA=class am{static get scrim(){return am._scrim||(am._scrim=new am),am._scrim}static open(y){am.scrim.open(y)}static close(){am.scrim.close()}static get state(){return am.scrim.state}static get element(){return am.scrim.element}constructor(y){var b,z;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(z=y==null?void 0:y.translucent)!=null?z:!1,this.state="closed"}get element(){if(this._element)return this._element;const y=document.createElement("div");return y.setAttribute("role","presentation"),y.style.position="fixed",y.style.contain="content",y.style.top="0",y.style.left="0",y.style.right="0",y.style.bottom="0",y.style.zIndex="var(--scrim-zindex, 10099)",y.style.outline="none",this.translucent?(y.style.background="rgba(255, 255, 255, .2)",y.style.backdropFilter="contrast(40%)"):y.style.background="transparent",this._element=y,y}open(y){var b;if(this.state!=="closed")return;this.state="opening",this.onDismiss=y==null?void 0:y.onDismiss,this.savedActiveElement=Hh();const{element:z}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(z),z.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const re=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const pe=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${pe+re}px`,y!=null&&y.child&&z.append(y.child),this.state="open"}close(){var y,b,z,re;if(this.state!=="open"){console.assert(this.element.parentElement!==null);return}this.state="closing",typeof this.onDismiss=="function"&&this.onDismiss(),this.onDismiss=void 0;const{element:pe}=this;pe.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),pe.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Hh()!==this.savedActiveElement&&((re=(z=this.savedActiveElement)==null?void 0:z.focus)==null||re.call(z)),pe.innerHTML="",this.state="closed"}handleEvent(y){this.lightDismiss&&(y.target===this._element&&y.type==="click"?(this.close(),y.preventDefault(),y.stopPropagation()):y.target===document&&(y.type==="touchmove"||y.type==="scroll")&&(this.close(),y.preventDefault(),y.stopPropagation()))}};function fv(a,y,b){let z=null,re=null,pe=!1,ye=!1,tt=!1;const ut=new AbortController,gt=ut.signal;return a.addEventListener("keydown",_t=>{if(pe||_t.key==="Process"||_t.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(_t.code)){z=null;return}z=_t,re=null,b.onKeystroke(_t)?a.textContent="":z=null},{capture:!0,signal:gt}),a.addEventListener("keypress",_t=>{pe||(z&&re&&b.onKeystroke(z),re=_t)},{capture:!0,signal:gt}),a.addEventListener("compositionstart",_t=>{a.textContent="",pe=!0,b.onCompositionStart(_t.data)},{capture:!0,signal:gt}),a.addEventListener("compositionupdate",_t=>{pe&&b.onCompositionUpdate(_t.data)},{capture:!0,signal:gt}),a.addEventListener("compositionend",_t=>{a.textContent="",pe&&(pe=!1,b.onCompositionEnd(_t.data))},{capture:!0,signal:gt}),a.addEventListener("beforeinput",_t=>_t.stopImmediatePropagation(),{signal:gt}),a.addEventListener("input",_t=>{var qt;if(!pe&&(a.textContent="",_t.inputType!=="insertCompositionText")){if(_t.inputType==="insertFromPaste"){_t.preventDefault(),_t.stopPropagation();return}b.onInput((qt=_t.data)!=null?qt:""),_t.preventDefault(),_t.stopPropagation()}},{signal:gt}),a.addEventListener("paste",_t=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(_t)||_t.preventDefault(),_t.stopImmediatePropagation()},{signal:gt}),a.addEventListener("cut",_t=>b.onCut(_t),{capture:!0,signal:gt}),a.addEventListener("copy",_t=>b.onCopy(_t),{capture:!0,signal:gt}),a.addEventListener("blur",_t=>{var qt,pn;if(((pn=(qt=_t.relatedTarget)==null?void 0:qt._mathfield)==null?void 0:pn.element)===y){a.focus({preventScroll:!0}),_t.preventDefault(),_t.stopPropagation();return}const Kn=hA.state;if(Kn==="open"||Kn==="opening"){_t.preventDefault(),_t.stopPropagation();return}if(_t.relatedTarget===_t.target.getRootNode().host){_t.preventDefault(),_t.stopPropagation();return}tt||ye||(tt=!0,z=null,re=null,b.onBlur(),tt=!1)},{capture:!0,signal:gt}),a.addEventListener("focus",_t=>{tt||ye||(ye=!0,b.onFocus(),ye=!1)},{capture:!0,signal:gt}),{dispose:()=>ut.abort(),cancelComposition:()=>{pe&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!ye&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Hh()===a,setAriaLabel:_t=>a.setAttribute("aria-label",_t),setValue:_t=>{var qt;a.textContent=_t,a.style.left="-1000px",(qt=window.getSelection())==null||qt.selectAllChildren(a)},moveTo:(_t,qt)=>{a.style.top=`${qt}px`,a.style.left=`${_t}px`}}}function Mp(a){var y;if(!a||!_f(a))return"";let b;return a.key==="Unidentified"&&a.target&&(b=a.target.value),b=(y=b!=null?b:a.key)!=null?y:a.code,/^(Dead|Return|Enter|Tab|Escape|Delete|PageUp|PageDown|Home|End|Help|ArrowLeft|ArrowRight|ArrowUp|ArrowDown)$/.test(b)&&(b=""),b}function _p(a){a=Uh(a);const y=[];return a.ctrlKey&&y.push("ctrl"),a.metaKey&&y.push("meta"),a.altKey&&y.push("alt"),a.shiftKey&&y.push("shift"),y.length===0?`[${a.code}]`:(y.push(`[${a.code}]`),y.join("+"))}function hg(a){if(Oe()){const y=Te(),b=a.startsWith("!"),z=a.endsWith(y);if(b&&!z||!b&&z)return!0}return a==="!other"?!1:a==="other"}function hv(a,y,b){if(a.length===0)return"";const z=Dl(uu(_p(b))),re=Dl({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(Te()),cmd:!1,win:!1});for(let pe=a.length-1;pe>=0;pe--)if((a[pe].key===z||a[pe].key===re)&&(!a[pe].ifMode||a[pe].ifMode===y))return a[pe].command;return""}function Kg(a){let y=a;return Be(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function pv(a,y){let b=[];if(typeof y=="string"){const pe=up[y];Be(pe)?b=pe.slice():pe&&b.push(pe)}const z=Kg(y),re=new RegExp("^"+z.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const pe of a)re.test(Kg(pe.command))&&b.push(pe.key);return b.map(Kf)}function Wg(a,y){if(a.ifPlatform&&!/^!?(macos|windows|android|ios|chromeos|other)$/.test(a.ifPlatform))throw new Error(`Unexpected platform "${a.ifPlatform}" for keybinding ${a.key}`);if(a.ifLayout!==void 0&&(y.score===0||!a.ifLayout.includes(y.id)))return;const b=uu(a.key);let z=a.ifPlatform;if(b.cmd){if(z&&z!=="macos"&&z!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+z+`"
"cmd" modifier can only be used with macOS or iOS platform.`);z||(z=Te()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(z&&z!=="windows")throw new Error('Unexpected "win" modifier with platform "'+z+`"
"win" modifier can only be used with Windows platform.`);z="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(z&&!hg(z))return;if(/^\[.+\]$/.test(b.key))return we(Ae({},a),{key:Dl(b)});const re=rA(b.key,y);if(!re)return we(Ae({},a),{key:Dl(b)});if(re.shift&&b.shift||re.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${pg(a.command)}) is conflicting with the key combination ${Dl(re)} using the ${y.displayName} keyboard layout`);return re.shift=re.shift||b.shift,re.alt=re.alt||b.alt,re.meta=b.meta,re.ctrl=b.ctrl,we(Ae({},a),{key:Dl(re)})}function pg(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function Vv(a,y){const b=[],z=[];for(const re of a)try{const pe=Wg(re,y);if(!pe)continue;const ye=z.find(tt=>tt.key===pe.key&&tt.ifMode===pe.ifMode);if(ye)throw new Error(`Ambiguous key binding ${re.key} (${pg(re.command)}) matches ${ye.key} (${pg(ye.command)}) with the ${y.displayName} keyboard layout`);z.push(pe)}catch(pe){pe instanceof Error&&b.push(pe.message)}return[z,b]}var mv=class extends zs{constructor(){super("latex")}createAtom(a){return new md(a)}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("application/x-latex")||y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Ad(a)),a.startRecording(),!0):!1}insert(a,y,b){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b||(b={}),b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder");const{silenceNotifications:z}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const re=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(rd(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const pe=[];for(const ut of y)ie.test(ut)&&pe.push(new md(ut));let ye=a.at(a.position);if(ye instanceof H0&&(ye=ye.lastChild),!(ye.parent instanceof H0)){const ut=new H0("");ye.parent.addChildAfter(ut,ye),ye=ut.firstChild}const tt=ye.parent.addChildrenAfter(pe,ye);return a.silenceNotifications=re,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(tt)):tt&&(a.position=a.offsetOf(tt))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function gv(a){return a.atoms.find(y=>y.type==="latexgroup")}function mm(a){var y,b;const z=a.atoms.find(re=>re.type==="latexgroup");return z?(b=(y=z.body)==null?void 0:y.filter(re=>re.type==="latex"))!=null?b:[]:[]}function Zg(a,y){var b;let z=0,re=!1;const pe=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;z<=pe&&!re;){const ut=a.at(z);re=ut instanceof md&&ut.isSuggestion,re||z++}if(!re)return[void 0,void 0];let ye=z,tt=!1;for(;ye<=pe&&!tt;){const ut=a.at(ye);tt=!(ut instanceof md&&ut.isSuggestion),tt||ye++}return[z-1,ye-1]}new mv;function mg(a){const y=mm(a.model).filter(b=>b.isSuggestion);if(y.length!==0){a.model.position=a.model.offsetOf(y[0].leftSibling);for(const b of y)b.parent.removeChild(b)}}function Zm(a,y){var b;const{model:z}=a;mg(a);for(const _t of mm(z))_t.isError=!1;if(!z.selectionIsCollapsed||a.options.popoverPolicy==="off"){sf(a);return}const re=[];let pe=z.at(z.position);for(;pe&&pe instanceof md&&/^[a-zA-Z\*]$/.test(pe.value);)pe=pe.leftSibling;if(pe&&pe instanceof md&&pe.value==="\\")for(re.push(pe),pe=pe.rightSibling;pe&&pe instanceof md&&/^[a-zA-Z\*]$/.test(pe.value);)re.push(pe),pe=pe.rightSibling;const ye=re.map(_t=>_t.value).join(""),tt=lt(a,ye);if(tt.length===0){if(/^\\[a-zA-Z\*]+$/.test(ye))for(const _t of re)_t.isError=!0;sf(a);return}const ut=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=ut<0?tt.length-1:ut%tt.length;const gt=tt[a.suggestionIndex];if(gt!==ye){const _t=re[re.length-1];_t.parent.addChildrenAfter([...gt.slice(ye.length-gt.length)].map(qt=>new md(qt,{isSuggestion:!0})),_t),Lp(a,{interactive:!0})}Gg(a,tt)}function gg(a){const[y,b]=Zg(a,{before:a.position});if(y===void 0||b===void 0)return!1;let z=!1;return a.getAtoms([y,b]).forEach(re=>{re.isSuggestion&&(re.isSuggestion=!1,z=!0)}),z}function Ip(a,y="accept",b){var z,re;sf(a);const pe=gv(a.model);if(!pe)return!1;if(y==="accept-suggestion"||y==="accept-all"){const gt=mm(a.model).filter(_t=>_t.isSuggestion);if(gt.length!==0){for(const _t of gt)_t.isSuggestion=!1;a.model.position=a.model.offsetOf(gt[gt.length-1])}if(y==="accept-suggestion")return gt.length!==0}const tt=mm(a.model).filter(gt=>!gt.isSuggestion).map(gt=>gt.value).join(""),ut=pe.leftSibling;return pe.parent.removeChild(pe),a.model.position=a.model.offsetOf(ut),a.switchMode((z=b==null?void 0:b.mode)!=null?z:"math"),y==="reject"||(zs.insert(a.model,tt,{selectionMode:(re=b==null?void 0:b.selectItem)!=null&&re?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function Vm(a){var y;let b=document.getElementById(a);return b?b.dataset.refcount=Number(Number.parseInt((y=b.dataset.refcount)!=null?y:"0")+1).toString():(b=document.createElement("div"),b.setAttribute("aria-hidden","true"),b.dataset.refcount="1",b.id=a,document.body.append(b)),b}function Vg(a){var y;const b=document.getElementById(a);if(!b)return;const z=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");z<=1?b.remove():b.dataset.refcount=Number(z-1).toString()}function vv(a,y){const b=new Vl({from:a.context}),z=new Ei({mode:"math",type:"root",body:dd(y,{context:b})}),re=kh(Qc(new Li(z.render(b),{classes:"ML__base"}),b));return n0(re,{classes:"ML__latex"}).toMarkup()}function Gg(a,y){var b;if(y.length===0){sf(a);return}let z="";for(const[pe,ye]of y.entries()){const tt=ye,ut=vv(a,ye),gt=pv(a.keybindings,tt).join("<br>");z+=`<li role="button" data-command="${tt}" ${pe===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${tt}</span><span class="ML__popover__command">${ut}</span>`,gt&&(z+=`<span class="ML__popover__keybinding">${gt}</span>`),z+="</li>"}const re=dp(a,`<ul>${z}</ul>`);Wf()&&((b=re.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var pe;re&&!Wf()&&(re.classList.add("is-visible"),Gm(a),(pe=re.querySelector(".ML__popover__current"))==null||pe.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function Wf(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function Gm(a,y){var b;if(!a.element||a.element.mathfield!==a||!Wf())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){sf(a);return}if(y!=null&&y.deferred){setTimeout(()=>Gm(a),32);return}const z=Uf(a.field);if(!z)return;const re=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,pe=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ye=window.innerWidth-document.documentElement.clientWidth,tt=window.innerHeight-document.documentElement.clientHeight,ut=window.mathVirtualKeyboard.boundingRect.height,gt=document.getElementById("mathlive-suggestion-popover");z.x+gt.offsetWidth/2>pe-ye?gt.style.left=`${pe-gt.offsetWidth-ye}px`:z.x-gt.offsetWidth/2<0?gt.style.left="0":gt.style.left=`${z.x-gt.offsetWidth/2}px`;const _t=z.y-z.height;re-tt-ut-z.y<_t?(gt.classList.add("ML__popover--reverse-direction"),gt.classList.remove("top-tip"),gt.classList.add("bottom-tip"),gt.style.top=`${z.y-z.height-gt.offsetHeight-15}px`):(gt.classList.remove("ML__popover--reverse-direction"),gt.classList.add("top-tip"),gt.classList.remove("bottom-tip"),gt.style.top=`${z.y+15}px`)}function sf(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function dp(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Vm("mathlive-suggestion-popover"),rf("suggestion-popover"),rf("core"),b.addEventListener("pointerdown",z=>z.preventDefault()),b.addEventListener("click",z=>{let re=z.target;for(;re&&!re.dataset.command;)re=re.parentElement;re&&(Ip(a,"reject"),zs.insert(a.model,re.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function Gv(){document.getElementById("mathlive-suggestion-popover")&&(Vg("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function Yv(){const a=String(new Error().stack).replace(/^Error.*\n/,"").split(`
`);if(a.length===0)return console.error(`Can't use relative paths to specify assets location because the sourcefile location could not be determined (unexpected stack trace format "${new Error().stack}").`),"";let y=a[1],b=y.match(/http.*\.ts[\?:]/);return b&&(y=a[2]),b=y.match(/(https?:.*):[0-9]+:[0-9]+/),b||(b=y.match(/at (.*(\.ts))[\?:]/),b||(b=y.match(/at (.*(\.mjs|\.js))[\?:]/))),b?b[1]:(console.error(a),console.error(`Can't use relative paths to specify assets location because the source file location could not be determined (unexpected location "${y}").`),"")}var Zf=null,yv,Yg,vg=((Yg=(yv=globalThis==null?void 0:globalThis.document)==null?void 0:yv.currentScript)==null?void 0:Yg.src)||Yv();function bv(a){return Um(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Zf===null)try{const y=yield fetch(vg,{method:"HEAD"});y.status===200&&(Zf=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${vg}")`)}return new URL(a,Zf!=null?Zf:vg).href})}function Xv(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var Vf="not-loaded";function Jv(){return Um(this,null,function*(){return Vf="not-loaded",yg()})}function yg(){return Um(this,null,function*(){var a;if(Vf!=="not-loaded")return;if(Vf="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Vf="ready";return}if(document.body.classList.remove("ML__fonts-did-not-load"),"fonts"in document){const b=["KaTeX_Main","KaTeX_Math","KaTeX_AMS","KaTeX_Caligraphic","KaTeX_Fraktur","KaTeX_SansSerif","KaTeX_Script","KaTeX_Typewriter","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4"],z=Array.from(document.fonts).map(ye=>ye.family);if(b.every(ye=>z.includes(ye))){Vf="ready";return}if(!window.MathfieldElement.fontsDirectory){Vf="not-loaded";return}const re=yield bv(window.MathfieldElement.fontsDirectory);if(!re){document.body.classList.add("ML__fonts-did-not-load"),Vf="error";return}const pe=[["KaTeX_Main-Regular"],["KaTeX_Main-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_Main-Bold",{weight:"bold"}],["KaTeX_Main-Italic",{style:"italic"}],["KaTeX_Math-Italic",{style:"italic"}],["KaTeX_Math-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_AMS-Regular"],["KaTeX_Caligraphic-Regular"],["KaTeX_Caligraphic-Bold",{weight:"bold"}],["KaTeX_Fraktur-Regular"],["KaTeX_Fraktur-Bold",{weight:"bold"}],["KaTeX_SansSerif-Regular"],["KaTeX_SansSerif-Bold",{weight:"bold"}],["KaTeX_SansSerif-Italic",{style:"italic"}],["KaTeX_Script-Regular"],["KaTeX_Typewriter-Regular"],["KaTeX_Size1-Regular"],["KaTeX_Size2-Regular"],["KaTeX_Size3-Regular"],["KaTeX_Size4-Regular"]].map(ye=>Xv(ye[0].replace(/-[a-zA-Z]+$/,""),`${re}/${ye[0]}`,ye[1]));try{(yield Promise.all(pe.map(tt=>{try{return tt.load()}catch(ut){}}))).forEach(tt=>document.fonts.add(tt)),Vf="ready";return}catch(ye){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${re}"`,{cause:ye}),document.body.classList.add("ML__fonts-did-not-load")}Vf="error"}})}function qv(a){let y=0;for(let b=0;b<a.length;b++)y=y*31+a.charCodeAt(b),y=y|0;return Math.abs(y)}function Ad(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{TA(a)&&a.dirty&&(a.atomBoundsCache=new Map,Lp(a,y),a.atomBoundsCache=void 0)})))}function wv(a,y){var b;y=y!=null?y:{};const z=new Vl({from:we(Ae({},a.context),{atomIdsSettings:{seed:y.forHighlighting?qv(Ei.serialize([a.model.root],{expandMacro:!1,defaultMode:a.options.defaultMode})):"random",groupNumbers:(b=y.forHighlighting)!=null?b:!1},letterShapeStyle:a.options.letterShapeStyle}),mathstyle:a.options.defaultMode==="inline-math"?"textstyle":"displaystyle"}),re=a.model.root.render(z);return n0(Qc(re,z),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function xv(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const re of b.atoms)re.caret=void 0,re.isSelected=!1,re.containsCaret=!1;if(b.selectionIsCollapsed){const re=b.at(b.position);re.caret=a.model.mode;let pe=re.parent;for(;pe;)pe.containsCaret=!0,pe=pe.parent}else{const re=b.getAtoms(b.selection,{includeChildren:!0});for(const pe of re)pe.isSelected=!0}return wv(a,y).toMarkup()}function Lp(a,y){if(!TA(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const z=a.field;if(!z)return;const re=a.isSelectionEditable&&a.hasFocus(),pe=z.classList.contains("ML__focused");pe&&!re?z.classList.remove("ML__focused"):!pe&&re&&z.classList.add("ML__focused");let ye=xv(a,y);const tt=a.element.querySelector("[part=menu-toggle]");if(tt&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?tt.style.display="none":tt.style.display=""),a.model.atoms.length<=1){const ut=a.options.contentPlaceholder;ut&&(ye+=`<span part=placeholder class="ML__content-placeholder">${yd(ut)}</span>`)}z.innerHTML=window.MathfieldElement.createHTML(ye),bg(a,y.interactive),a.dirty=!1}function bg(a,y){const b=a.field;if(!b)return;for(const tt of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))tt.remove();!(y!=null&&y)&&Vf!=="error"&&Vf!=="ready"&&setTimeout(()=>{Vf==="ready"?bg(a):setTimeout(()=>bg(a),128)},32);const z=a.model,re=b.offsetWidth,pe=b.getBoundingClientRect().width;let ye=Math.floor(pe)/re;if(ye=isNaN(ye)?1:ye,z.selectionIsCollapsed){Gm(a,{deferred:!0});let tt=z.at(z.position);for(;tt&&tt.type!=="prompt"&&!(tt.containsCaret&&tt.displayContainsHighlight);)tt=tt.parent;if(tt!=null&&tt.containsCaret&&tt.displayContainsHighlight){const ut=Nh(a,Oh(a,tt),ye);if(ut){ut.left/=ye,ut.right/=ye,ut.top/=ye,ut.bottom/=ye;const gt=document.createElement("div");gt.classList.add("ML__contains-highlight"),gt.style.position="absolute",gt.style.left=`${ut.left+1}px`,gt.style.top=`${Math.ceil(ut.top)}px`,gt.style.width=`${Math.ceil(ut.right-ut.left)}px`,gt.style.height=`${Math.ceil(ut.bottom-ut.top)}px`,b.insertBefore(gt,b.childNodes[0])}}return}for(const tt of $v(cm(a,{excludeAtomsWithBackground:!0}))){tt.left/=ye,tt.right/=ye,tt.top/=ye,tt.bottom/=ye;const ut=document.createElement("div");ut.classList.add("ML__selection"),ut.style.position="absolute",ut.style.left=`${tt.left}px`,ut.style.top=`${tt.top}px`,ut.style.width=`${Math.ceil(tt.right-tt.left)}px`,ut.style.height=`${Math.ceil(tt.bottom-tt.top-1)}px`,b.insertBefore(ut,b.childNodes[0])}}function $v(a){let y=[];for(const b of a){let z=!1;for(const re of y)if(b.left===re.left&&b.right===re.right&&b.top===re.top&&b.bottom===re.bottom){z=!0;break}z||y.push(b)}a=y,y=[];for(const b of a){let z=0;for(const re of a)if(b.left>=re.left&&b.right<=re.right&&b.top>=re.top&&b.bottom<=re.bottom&&(z+=1,z>1))break;z===1&&y.push(b)}return y}var Cv=3,E;function ne(a,y){y=Ae({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),E||(E={});for(const b of Object.keys(a))console.assert(!E[b],"Selector already defined: ",b),E[b]=we(Ae({},y),{fn:a[b]})}function te(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return te(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),E[y]}function de(a){var y;return(y=te(a))==null?void 0:y.target}function ge(a,y){var b;if(!y)return!1;let z,re=[],pe=!1,ye=!1;Be(y)?(z=y[0],re=y.slice(1)):z=y,z=z.replace(/-\w/g,gt=>gt[1].toUpperCase());const tt=E[z],ut=tt==null?void 0:tt.target;if(ut==="model"){if(!a.isSelectionEditable&&(tt!=null&&tt.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(z)&&(z!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(z)),/^complete/.test(z)||mg(a),E[z].fn(a.model,...re),Zm(a),ye=!0,pe=!0}else if(ut==="virtual-keyboard")ye=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,pe=!0;else if(E[z]){if(!a.isSelectionEditable&&(tt!=null&&tt.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(z)&&a.flushInlineShortcutBuffer(),ye=E[z].fn(a,...re),pe=!0}else throw new Error(`Unknown command "${z}"`);return ut!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||tt!=null&&tt.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),tt!=null&&tt.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),ye&&Ad(a),pe}function Ce(a,y){var b;if(!a)return!1;a.focus(),Lv.keypressVibration&&ke()&&navigator.vibrate(Cv);const z=te(y);window.MathfieldElement.playSound((b=z==null?void 0:z.audioFeedback)!=null?b:"keypress");const re=a.executeCommand(y);return a.scrollIntoView(),re}ne({performWithFeedback:(a,y)=>Ce(a,y)});function nt(a){return Zm(a,{atIndex:a.suggestionIndex+1}),!1}function Ge(a){return Zm(a,{atIndex:a.suggestionIndex-1}),!1}ne({complete:Ip},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),ne({nextSuggestion:nt,previousSuggestion:Ge},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var ot="mathlive#virtual-keyboard-message";function ft(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===ot}var Et=class ly{constructor(){this.targetOrigin=window.origin,this.originValidator="none",this._boundingRect=new DOMRect(0,0,0,0),this._isShifted=!1,window.addEventListener("message",this),this.sendMessage("proxy-created"),this.listeners={}}static get singleton(){return this._singleton||(this._singleton=new ly),this._singleton}set alphabeticLayout(y){this.sendMessage("update-setting",{alphabeticLayout:y})}set layouts(y){this.sendMessage("update-setting",{layouts:y})}get normalizedLayouts(){return[]}set editToolbar(y){this.sendMessage("update-setting",{editToolbar:y})}set actionKeycap(y){this.sendMessage("update-setting",{actionKeycap:y})}set shiftKeycap(y){this.sendMessage("update-setting",{shiftKeycap:y})}set backspaceKeycap(y){this.sendMessage("update-setting",{backspaceKeycap:y})}set tabKeycap(y){this.sendMessage("update-setting",{tabKeycap:y})}set container(y){throw new Error("Container inside an iframe cannot be changed")}show(y){this.sendMessage("show",y)}hide(y){this.sendMessage("hide",y)}get isShifted(){return this._isShifted}get visible(){return this._boundingRect.height>0}set visible(y){y?this.show():this.hide()}get boundingRect(){return this._boundingRect}executeCommand(y){return this.sendMessage("execute-command",{command:y}),!0}updateToolbar(y){this.sendMessage("update-toolbar",y)}update(y){this.sendMessage("update-setting",y)}connect(){this.sendMessage("connect")}disconnect(){this.sendMessage("disconnect")}addEventListener(y,b,z){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,z){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(ft(y)){if(!R0(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");this.handleMessage(y.data)}}handleMessage(y){const{action:b}=y;if(b==="execute-command"){const{command:z}=y;de(z)==="virtual-keyboard"&&this.executeCommand(z);return}if(b==="synchronize-proxy"){this._boundingRect=y.boundingRect,this._isShifted=y.isShifted;return}if(b==="geometry-changed"){this._boundingRect=y.boundingRect,this.dispatchEvent(new Event("geometrychange"));return}}sendMessage(y,b={}){if(!window.top)throw new DOMException("A frame does not have access to the top window and can\u2018t communicate with the keyboard. Review virtualKeyboardTargetOrigin and originValidator on mathfields embedded in an iframe","SecurityError");window.top.postMessage(Ae({type:ot,action:y},b),this.targetOrigin)}},en={numeric:{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",rows:[[{latex:"x",shift:"y",variants:["y","z","t","r","x^2","x^n","x^{#?}","x_n","x_i","x_{#?}",{latex:"f(#?)",class:"small"},{latex:"g(#?)",class:"small"}]},{latex:"n",shift:"a",variants:["i","j","p","k","a","u"]},"[separator-5]","[7]","[8]","[9]","[/]","[separator-5]",{latex:"\\exponentialE",shift:"\\ln",variants:["\\exp","\\times 10^{#?}","\\ln","\\log_{10}","\\log"]},{latex:"\\imaginaryI",variants:["\\Re","\\Im","\\imaginaryJ","\\Vert #0 \\Vert"]},{latex:"\\pi",shift:"\\sin",variants:["\\prod",{latex:"\\theta",aside:"theta"},{latex:"\\rho",aside:"rho"},{latex:"\\tau",aside:"tau"},"\\sin","\\cos","\\tan"]}],[{label:"<",latex:"<",class:"hide-shift",shift:{latex:"\\le",label:"\u2264"}},{label:">",latex:">",class:"hide-shift",shift:{latex:"\\ge",label:"\u2265"}},"[separator-5]","[4]","[5]","[6]","[*]","[separator-5]",{class:"hide-shift",latex:"#@^2}",shift:"#@^{\\prime}}"},{latex:"#@^{#0}}",class:"hide-shift",shift:"#@_{#?}"},{class:"hide-shift",latex:"\\sqrt{#0}",shift:{latex:"\\sqrt[#0]{#?}}"}}],["[(]","[)]","[separator-5]","[1]","[2]","[3]","[-]","[separator-5]",{latex:"\\int^{\\infty}_{0}\\!#?\\,\\mathrm{d}x",class:"small hide-shift",shift:"\\int",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{class:"hide-shift",latex:"\\forall",shift:"\\exists"},{label:"[backspace]",width:1}],[{label:"[shift]",width:2},"[separator-5]","[0]","[.]","[=]","[+]","[separator-5]","[left]","[right]",{label:"[action]",width:1}]]},greek:{label:"&alpha;&beta;&gamma;",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>&#x03c6;</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>&#x03c2;</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>&#x03f5;</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>&rho;</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>&tau;</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>&upsilon;</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>&theta;</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>&iota;</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>&omicron;</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>&pi;</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>&alpha;</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>&sigma;</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>&delta;</i>",class:"MLK__tex hide-shift",insert:"\\delta",aside:"delta",shift:"\\Delta"},{latex:"\\phi",class:"MLK__tex hide-shift",insert:"\\phi",aside:"phi",shift:"\\Phi"},{label:"<i>&gamma;</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>&eta;</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>&xi;</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>&kappa;</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>&lambda;</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>&zeta;</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>&chi;</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>&psi;</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>&omega;</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>&beta;</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>&nu;</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>&mu;</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>&#x03b5;</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>&#x03d1;</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>&#x3f0;</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>&#x03d6;</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>&#x03f1;</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"&infin;\u2260\u2208",labelClass:"MLK__tex",tooltip:"keyboard.tooltip.symbols",rows:[[{latex:"\\sin",shift:"\\sin^{-1}",variants:[{class:"small",latex:"\\sinh"},{class:"small",latex:"\\sin^{-1}"},{class:"small",latex:"\\arsinh"}]},"\\ln",{latex:"\\mathrm{abs}",insert:"\\mathrm{abs}\\left(#0\\right)"},{latex:"\\rarr",shift:"\\rArr",variants:[{latex:"\\implies",aside:"implies"},{latex:"\\to",aside:"to"},"\\dashv",{latex:"\\roundimplies",aside:"round implies"}]},{latex:"\\exists",variants:["\\nexists"],shift:"\\nexists"},{latex:"\\in",shift:"\\notin",variants:["\\notin","\\owns"]},"\\cup",{latex:"\\overrightarrow{#@}",shift:"\\overleftarrow{#@}",variants:["\\overleftarrow{#@}","\\bar{#@}","\\vec{#@}","\\hat{#@}","\\check{#@}","\\dot{#@}","\\ddot{#@}","\\mathring{#@}","\\breve{#@}","\\acute{#@}","\\tilde{#@}","\\grave{#@}"]},{class:"small",latex:"\\lim_{#?}",shift:"\\lim_{x\\to\\infty}",variants:[{class:"small",latex:"\\liminf_{#?}"},{class:"small",latex:"\\limsup_{#?}"}]},"\\exponentialE"],[{latex:"\\cos",shift:"\\cos^{-1}",variants:[{class:"small",latex:"\\cosh"},{class:"small",latex:"\\cos^{-1}"},{class:"small",latex:"\\arcosh"}]},{latex:"\\log",shift:"\\log_{10}",variants:["\\log_{#0}","\\log_{10}"]},"\\left\\vert#0\\right\\vert",{latex:"\\larr",shift:"\\lArr",variants:[{latex:"\\impliedby",aside:"implied by"},{latex:"\\gets",aside:"gets"},"\\lArr","\\vdash",{latex:"\\models",aside:"models"}]},{latex:"\\forall",shift:"\\lnot",variants:[{latex:"\\land",aside:"and"},{latex:"\\lor",aside:"or"},{latex:"\\oplus",aside:"xor"},{latex:"\\lnot",aside:"not"},{latex:"\\downarrow",aside:"nor"},{latex:"\\uparrow",aside:"nand"},{latex:"\\curlywedge",aside:"nor"},{latex:"\\bar\\curlywedge",aside:"nand"}]},{latex:"\\ni",shift:"\\not\\owns"},"\\cap",{latex:"\\overline{#@}",shift:"\\underline{#@}",variants:["\\overbrace{#@}","\\overlinesegment{#@}","\\overleftrightarrow{#@}","\\overrightarrow{#@}","\\overleftarrow{#@}","\\overgroup{#@}","\\underbrace{#@}","\\underlinesegment{#@}","\\underleftrightarrow{#@}","\\underrightarrow{#@}","\\underleftarrow{#@}","\\undergroup{#@}"]},{class:"hide-shift",latex:"\\int",shift:"\\iint",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\smallint",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\intop","\\iiint","\\oiint","\\oiiint","\\intclockwise","\\varointclockwise","\\ointctrclockwise","\\intctrclockwise"]},{latex:"\\pi",shift:"\\tau",variants:["\\tau"]}],[{latex:"\\tan",shift:"\\tan^{-1}",variants:[{class:"small",latex:"\\tanh"},{class:"small",latex:"\\tan^{-1}"},{class:"small",latex:"\\artanh"},{class:"small",latex:"\\arctan"},{class:"small",latex:"\\arctg"},{class:"small",latex:"\\tg"}]},{latex:"\\exp",insert:"\\exp\\left(#0\\right)",variants:["\\exponentialE^{#0}"]},"\\left\\Vert#0\\right\\Vert",{latex:"\\lrArr",shift:"\\leftrightarrow",variants:[{latex:"\\iff",aside:"if and only if"},"\\leftrightarrow","\\leftrightarrows","\\Leftrightarrow",{latex:"^\\biconditional",aside:"biconditional"}]},{latex:"\\vert",shift:"!"},{latex:"#@^{\\complement}",aside:"complement",variants:[{latex:"\\setminus",aside:"set minus"},{latex:"\\smallsetminus",aside:"small set minus"}]},{latex:"\\subset",shift:"\\subseteq",variants:["\\subset","\\subseteq","\\subsetneq","\\varsubsetneq","\\subsetneqq","\\nsubset","\\nsubseteq","\\supset","\\supseteq","\\supsetneq","\\supsetneqq","\\nsupset","\\nsupseteq"]},{latex:"#@^{\\prime}",shift:"#@^{\\doubleprime}",variants:["#@^{\\doubleprime}","#@\\degree"]},{latex:"\\mathrm{d}",shift:"\\partial",variants:["\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{latex:"\\infty",variants:["\\aleph_0","\\aleph_1","\\omega","\\mathfrak{m}"]}],[{label:"[shift]",width:2},{class:"box",latex:",",shift:";",variants:[";","?"]},{class:"box",latex:"\\colon",shift:"\\Colon",variants:[{latex:"\\Colon",aside:"such that",class:"box"},{latex:":",aside:"ratio",class:"box"},{latex:"\\vdots",aside:"",class:"box"},{latex:"\\ddots",aside:"",class:"box"},{latex:"\\ldotp",aside:"low dot",class:"box"},{latex:"\\cdotp",aside:"center dot",class:"box"},{latex:"\\ldots",aside:"low ellipsis",class:"box"},{latex:"\\cdots",aside:"center ellipsis",class:"box"},{latex:"\\therefore",aside:"therefore",class:"box"},{latex:"\\because",aside:"because",class:"box"}]},{class:"box",latex:"\\cdot",aside:"centered dot",shift:"\\ast",variants:["\\circ","\\bigcirc","\\bullet","\\odot","\\oslash","\\circledcirc","\\ast","\\star","\\times","\\doteq","\\doteqdot"]},"[separator]","[left]","[right]",{label:"[backspace]",width:1,class:"action hide-shift"},{label:"[action]",width:1}]]},compact:{label:"compact",rows:[["[+]","[-]","[*]","[/]","[=]","[.]","[(]","[)]","\\sqrt{#0}","#@^{#?}"],["[1]","[2]","[3]","[4]","[5]","[6]","[7]","[8]","[9]","[0]"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]},minimalist:{label:"minimalist",layers:[{style:`
.minimalist-backdrop {
display: flex;
justify-content: center;
}
.minimalist-container {
--keycap-height: 40px;
--keycap-max-width: 53px;
--keycap-small-font-size: 12px;
background: var(--keyboard-background);
padding: 20px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border: 1px solid var(--keyboard-border);
box-shadow: 0 0 32px rgb(0 0 0 / 30%);
}
`,backdrop:"minimalist-backdrop",container:"minimalist-container",rows:[["+","-","\\times",{latex:"\\frac{#@}{#0}",class:"small"},"=","[.]","(",")",{latex:"\\sqrt{#0}",class:"small"},{latex:"#@^{#?}",class:"small"}],["1","2","3","4","5","6","7","8","9","0"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]}]},"numeric-only":{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",id:"numeric-only",rows:[["7","8","9","[separator]",{label:"[backspace]",width:2}],["4","5","6","[separator]","[separator]","[separator]"],["1","2","3","[separator]","[separator]","[separator]"],["0",{label:"[.]",variants:[]},"-","[separator]","[left]","[right]"]]}},sn={0:["\\varnothing","\\infty"],1:["\\frac{1}{#@}","#@^{-1}","\\times 10^{#?}","\\phi","\\imaginaryI"],2:["\\frac{1}{2}","#@^2","\\sqrt2","\\exponentialE"],3:["\\frac{1}{3}","#@^3","\\sqrt3","\\pi"],4:["\\frac{1}{4}","#@^4"],5:["\\frac{1}{5}","#@^5","\\sqrt5"],6:["\\frac{1}{6}","#@^6"],7:["\\frac{1}{7}","#@^7"],8:["\\frac{1}{8}","#@^8"],9:["\\frac{1}{9}","#@^9"],".":[".",",",";","\\colon"],",":["{,}",".",";","\\colon"],a:[{latex:"\\aleph",aside:"aleph"},{latex:"\\forall",aside:"for all"},"\xE0","\xE1","\xE2","\xE4","\xE6"],b:[{latex:"\\beth",aside:"beth"}],c:[{latex:"\\C",aside:"set of complex numbers"},"\xE7"],d:[{latex:"\\daleth",aside:"daleth"}],e:[{latex:"\\exponentialE",aside:"exponential e"},{latex:"\\exists",aside:"there is"},{latex:"\\nexists",aside:"there isn\u2019t"},"\xE8","\xE9","\xEA","\xEB"],g:[{latex:"\\gimel",aside:"gimel"}],h:[{latex:"\\hbar",aside:"h bar"},{latex:"\\hslash",aside:"h slash"}],i:[{latex:"\\imaginaryI",aside:"imaginary i"},"\xEC","\xED","\xEE","\xEF"],j:[{latex:"\\imaginaryJ",aside:"imaginary j"}],l:[{latex:"\\ell",aside:"ell"}],n:[{latex:"\\mathbb{N}",aside:"set of natural numbers"},"\xF1"],o:["\xF8","\u0153","\xF2","\xF3","\xF4","\xF6","\u0153"],p:[{latex:"\\mathbb{P}",aside:"set of primes"}],q:[{latex:"\\mathbb{Q}",aside:"set of rational numbers"}],r:[{latex:"\\mathbb{R}",aside:"set of real numbers"}],u:["\xF9","\xFA","\xFB","\xFC"],z:[{latex:"\\mathbb{Z}",aside:"set of integers"}],y:["\xFD","\xFF"],space:[{latex:'\\char"203A\\!\\char"2039',insert:"\\!",aside:"negative thin space<br>\u207B\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\,\\char"2039',insert:"\\,",aside:"thin space<br>\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\:\\char"2039',insert:"\\:",aside:"medium space<br>\u2074\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\;\\char"2039',insert:"\\;",aside:"thick space<br>\u2075\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\ \\char"2039',insert:"\\ ",aside:"\u2153 em"},{latex:'\\char"203A\\enspace\\char"2039',insert:"\\enspace",aside:"\xBD em"},{latex:'\\char"203A\\quad\\char"2039',insert:"\\quad",aside:"1 em"},{latex:'\\char"203A\\qquad\\char"2039',insert:"\\qquad",aside:"2 em"}]},Ct;function Hn(a,y){var b,z,re;const pe=Ui.singleton;if(!pe)return;const ye=pi(a),tt=(z=(b=pe.getKeycap(ye==null?void 0:ye.id))==null?void 0:b.variants)!=null?z:"";if(typeof tt=="string"&&!wn(tt)||Array.isArray(tt)&&tt.length===0){y==null||y();return}const ut={};let gt="";for(const di of Ir(tt)){const Ha=Na(di),li=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);ut[li]=Ha;const[na,Ka]=Gi(Ha);gt+=`<div id=${li} class="item ${Ka}">${na}</div>`}const _t=document.createElement("div");_t.setAttribute("aria-hidden","true"),_t.className="MLK__variant-panel",_t.style.height="auto";const qt=Object.keys(ut).length;let pn=5;qt===1?pn=1:qt===2||qt===4?pn=2:qt===3||qt===5||qt===6?pn=3:qt>=7&&qt<14&&(pn=4),_t.style.width=`calc(var(--variant-keycap-length) * ${pn} + 12px)`,_t.innerHTML=Lv.createHTML(gt),hA.open({root:(re=pe==null?void 0:pe.container)==null?void 0:re.querySelector(".ML__keyboard"),child:_t}),Ct=new AbortController;const{signal:Kn}=Ct,nr=a==null?void 0:a.getBoundingClientRect();if(nr){nr.top-_t.clientHeight<0&&(_t.style.width="auto",qt<=6?_t.style.height="56px":qt<=12?_t.style.height="108px":qt<=18?_t.style.height="205px":_t.classList.add("compact"));const di=Math.max(0,Math.min(window.innerWidth-_t.offsetWidth,(nr.left+nr.right-_t.offsetWidth)/2)),Ha=nr.top-_t.clientHeight+5;_t.style.transform=`translate(${di}px, ${Ha}px)`,_t.classList.add("is-visible"),requestAnimationFrame(()=>{_t.addEventListener("pointerup",li=>{const na=pi(li.target);!(na!=null&&na.id)||!ut[na.id]||(Pr(ut[na.id]),In(),y==null||y(),li.preventDefault())},{capture:!0,passive:!1,signal:Kn}),_t.addEventListener("pointerenter",li=>{const na=pi(li.target);!(na!=null&&na.id)||!ut[na.id]||na.classList.add("is-active")},{capture:!0,signal:Kn}),_t.addEventListener("pointerleave",li=>{const na=pi(li.target);!(na!=null&&na.id)||!ut[na.id]||na.classList.remove("is-active")},{capture:!0,signal:Kn}),window.addEventListener("pointercancel",()=>{In(),y==null||y()},{signal:Kn}),window.addEventListener("pointerup",()=>{In(),y==null||y()},{signal:Kn})})}}function In(){Ct==null||Ct.abort(),Ct=null,hA.state==="open"&&hA.close()}function Zn(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(rt))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+rt[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys($e))y.push({class:"swatch-button",label:'<span style="background:'+$e[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function wn(a){return sn[a]!==void 0}function Ir(a){var y;return typeof a!="string"?a:(sn[a]||(sn[a]=(y=Zn(a))!=null?y:[]),sn[a])}function Br(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function ar(a){return Object.keys(a).map(y=>`${y} {${Br(a[y])}}`).join("")}function wi(a){if(!a)return"";const y=new Vl,b=new Ei({mode:"math",type:"root",body:dd(a,{context:y,args:re=>re==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),z=kh(Qc(new Li(b.render(y),{classes:"ML__base"}),y));return n0(z,{classes:"ML__latex"}).toMarkup()}function ta(a){var y;if(Array.isArray(a))return a.map(z=>ta(z)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(z=>z.map(re=>Na(re)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function Wi(){var a,y;let z=window.mathVirtualKeyboard.alphabeticLayout;if(z==="auto"){const tt=zf();tt&&(z=tt.virtualLayout),(!z||z==="auto")&&(z=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[Ke.locale.slice(0,2)])!=null?a:"qwerty")}const re={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},pe=(y=re[z])!=null?y:re.qwerty,ye=z==="azerty"?[[{label:"1",variants:"1"},{label:"2",shift:{latex:"\xE9"},variants:"2"},{label:"3",shift:{latex:"\xF9"},variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{label:"(",latex:"("},variants:"5"},{label:"6",shift:{label:")",latex:")"},variants:"6"},{label:"7",shift:{latex:"\xE8"},variants:"7"},{label:"8",shift:{latex:"\xEA"},variants:"8"},{label:"9",shift:{latex:"\xE7"},variants:"9"},{label:"0",shift:{latex:"\xE0"},variants:"0"}]]:[[{label:"1",variants:"1"},{label:"2",variants:"2"},{label:"3",variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{latex:"\\frac{#@}{#?}"},variants:"5"},{label:"6",shift:{latex:"#@^#?"},variants:"6"},{label:"7",variants:"7"},{label:"8",shift:{latex:"\\times"},variants:"8"},{label:"9",shift:{label:"(",latex:"("},variants:"9"},{label:"0",shift:{label:")",latex:")"},variants:"0"}]];for(const tt of pe){const ut=[];for(const gt of tt)/[a-z]/.test(gt)?ut.push({label:gt,class:"hide-shift",shift:{label:gt.toUpperCase()},variants:wn(gt)?gt:void 0}):gt==="~"?z!=="dvorak"?ut.push("[backspace]"):ut.push({label:"[backspace]",width:1}):gt==="^"?ut.push("[shift]"):gt===" "&&ut.push("[separator-5]");ye.push(ut)}return ye.push(["[-]","[+]","[=]",{label:" ",width:1.5},{label:",",shift:";",variants:".",class:"hide-shift"},"[.]","[left]","[right]",{label:"[action]",width:1.5}]),{label:"abc",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.alphabetic",layers:ta({rows:ye})}}function Yr(a){if(a==="alphabetic")return Wi();if(typeof a=="string")return console.assert(en[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),Yr(en[a]);let y;if("rows"in a&&Array.isArray(a.rows)){console.assert(!("layers"in a||"markup"in a),'MathLive 0.98.5: when providing a "rows" property, "layers" and "markup" are ignored');const re=a,{rows:pe}=re,ye=ze(re,["rows"]);y=we(Ae({},ye),{layers:ta({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const re=a,{markup:pe}=re,ye=ze(re,["markup"]);y=we(Ae({},ye),{layers:ta(a.markup)})}else y=Ae({},a),"layers"in a?y.layers=ta(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,z=!1;for(const re of y.layers)if(re.rows)for(const pe of re.rows.flat()){Ti(pe)&&(b=!0);const ye=pe.command;typeof ye=="string"&&["undo","redo","cut","copy","paste"].includes(ye)&&(z=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!z),y}function sr(a,y){var b,z;let re='<div class="left">';if(a.normalizedLayouts.length>1)for(const[pe,ye]of a.normalizedLayouts.entries()){const tt=ye,ut=[pe===y?"selected":"layer-switch"];tt.tooltip&&ut.push("MLK__tooltip"),tt.labelClass&&ut.push(...tt.labelClass.split(" ")),re+=`<div class="${ut.join(" ")}"`,tt.tooltip&&(re+=" data-tooltip='"+((b=qe(tt.tooltip))!=null?b:tt.tooltip)+"' "),pe!==y&&(re+=`data-layer="${tt.layers[0].id}"`),re+=`>${(z=tt.label)!=null?z:"untitled"}</div>`}return re+="</div>",re}function ci(a,y){let b="";if(a.editToolbar==="none")return"";const re=[];y.selectionIsCollapsed?re.push("undo","redo","pasteFromClipboard"):re.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const pe={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
data-command='"undo"'
data-tooltip='${qe("tooltip.undo")}'>
<svg><use xlink:href='#svg-undo' /></svg>
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
data-command='"redo"'
data-tooltip='${qe("tooltip.redo")}'>
<svg><use xlink:href='#svg-redo' /></svg>
</div>`,cutToClipboard:`
<div class='action'
data-command='"cutToClipboard"'
data-tooltip='${qe("tooltip.cut to clipboard")}'>
<svg><use xlink:href='#svg-cut' /></svg>
</div>
`,copyToClipboard:`
<div class='action'
data-command='"copyToClipboard"'
data-tooltip='${qe("tooltip.copy to clipboard")}'>
<svg><use xlink:href='#svg-copy' /></svg>
</div>
`,pasteFromClipboard:`
<div class='action'
data-command='"pasteFromClipboard"'
data-tooltip='${qe("tooltip.paste from clipboard")}'>
<svg><use xlink:href='#svg-paste' /></svg>
</div>
`};return b+=re.map(ye=>pe[ye]).join(""),b}function yn(a){for(const y of a)Gn(y)}function Gn(a){const y=Ui.singleton;if(!y)return;const b={};if(!a.id){if(a.hasAttribute("data-label")&&(b.label=a.dataset.label),a.hasAttribute("data-latex")&&(b.latex=a.dataset.latex),a.hasAttribute("data-key")&&(b.key=a.dataset.key),a.hasAttribute("data-insert")&&(b.insert=a.dataset.insert),a.hasAttribute("data-variants")&&(b.variants=a.dataset.variants),a.hasAttribute("data-aside")&&(b.aside=a.dataset.aside),a.className&&(b.class=a.className),!b.label&&!b.latex&&!b.key&&!b.insert&&(b.latex=a.innerText,b.label=a.innerHTML),a.hasAttribute("data-command"))try{b.command=JSON.parse(a.dataset.command)}catch(z){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[z,re]=Gi(b);a.innerHTML=window.MathfieldElement.createHTML(z)}}function _r(){rf("virtual-keyboard"),rf("core"),yg()}function Er(){x("core"),x("virtual-keyboard")}var Fi=`<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-delete-backward" viewBox="0 0 576 512">
<path d="M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z"/>
</symbol>
<symbol id="svg-shift" viewBox="0 0 384 512">
<path d="M2.438 252.3C7.391 264.2 19.06 272 32 272h80v160c0 26.51 21.49 48 48 48h64C250.5 480 272 458.5 272 432v-160H352c12.94 0 24.61-7.797 29.56-19.75c4.953-11.97 2.219-25.72-6.938-34.88l-160-176C208.4 35.13 200.2 32 192 32S175.6 35.13 169.4 41.38l-160 176C.2188 226.5-2.516 240.3 2.438 252.3zM192 86.63L313.4 224H224v208H160V224H70.63L192 86.63z"/>
</symbol>
<symbol id="svg-commit" viewBox="0 0 512 512">
<path d="M135 432.1l-128-128C2.344 300.3 0 294.2 0 288s2.344-12.28 7.031-16.97l128-128c9.375-9.375 24.56-9.375 33.94 0s9.375 24.56 0 33.94L81.94 264H464v-208C464 42.75 474.8 32 488 32S512 42.75 512 56V288c0 13.25-10.75 24-24 24H81.94l87.03 87.03c9.375 9.375 9.375 24.56 0 33.94S144.4 442.3 135 432.1z"/>
</symbol>
<symbol id="circle-plus" viewBox="0 0 512 512"><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24V280h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V168c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"/></symbol>
<symbol id="svg-command" viewBox="0 0 640 512">
<path d="M34.495 36.465l211.051 211.05c4.686 4.686 4.686 12.284 0 16.971L34.495 475.535c-4.686 4.686-12.284 4.686-16.97 0l-7.071-7.07c-4.686-4.686-4.686-12.284 0-16.971L205.947 256 10.454 60.506c-4.686-4.686-4.686-12.284 0-16.971l7.071-7.07c4.686-4.687 12.284-4.687 16.97 0zM640 468v-10c0-6.627-5.373-12-12-12H300c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h328c6.627 0 12-5.373 12-12z"/>
</symbol>
<symbol id="svg-undo" viewBox="0 0 512 512">
<path d="M20 8h10c6.627 0 12 5.373 12 12v110.625C85.196 57.047 165.239 7.715 256.793 8.001 393.18 8.428 504.213 120.009 504 256.396 503.786 393.181 392.834 504 256 504c-63.926 0-122.202-24.187-166.178-63.908-5.113-4.618-5.354-12.561-.482-17.433l7.069-7.069c4.503-4.503 11.749-4.714 16.482-.454C150.782 449.238 200.935 470 256 470c117.744 0 214-95.331 214-214 0-117.744-95.331-214-214-214-82.862 0-154.737 47.077-190.289 116H180c6.627 0 12 5.373 12 12v10c0 6.627-5.373 12-12 12H20c-6.627 0-12-5.373-12-12V20c0-6.627 5.373-12 12-12z"/>
</symbol>
<symbol id="svg-redo" viewBox="0 0 512 512">
<path d="M492 8h-10c-6.627 0-12 5.373-12 12v110.625C426.804 57.047 346.761 7.715 255.207 8.001 118.82 8.428 7.787 120.009 8 256.396 8.214 393.181 119.166 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-7.069-7.069c-4.503-4.503-11.749-4.714-16.482-.454C361.218 449.238 311.065 470 256 470c-117.744 0-214-95.331-214-214 0-117.744 95.331-214 214-214 82.862 0 154.737 47.077 190.289 116H332c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h160c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12z"/>
</symbol>
<symbol id="svg-arrow-left" viewBox="0 0 320 512">
<path d="M206.7 464.6l-183.1-191.1C18.22 267.1 16 261.1 16 256s2.219-11.97 6.688-16.59l183.1-191.1c9.152-9.594 24.34-9.906 33.9-.7187c9.625 9.125 9.938 24.37 .7187 33.91L73.24 256l168 175.4c9.219 9.5 8.906 24.78-.7187 33.91C231 474.5 215.8 474.2 206.7 464.6z"/>
</symbol>
<symbol id="svg-arrow-right" viewBox="0 0 320 512">
<path d="M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z"/>
</symbol>
<symbol id="svg-tab" viewBox="0 0 448 512">
<path d="M32 217.1c0-8.8 7.2-16 16-16h144v-93.9c0-7.1 8.6-10.7 13.6-5.7l143.5 143.1c6.3 6.3 6.3 16.4 0 22.7L205.6 410.4c-5 5-13.6 1.5-13.6-5.7v-93.9H48c-8.8 0-16-7.2-16-16v-77.7m-32 0v77.7c0 26.5 21.5 48 48 48h112v61.9c0 35.5 43 53.5 68.2 28.3l143.6-143c18.8-18.8 18.8-49.2 0-68L228.2 78.9c-25.1-25.1-68.2-7.3-68.2 28.3v61.9H48c-26.5 0-48 21.6-48 48zM436 64h-8c-6.6 0-12 5.4-12 12v360c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12z"/>
</symbol>
<symbol id="svg-paste" viewBox="0 0 512 512"><path d="M160 32c11.6 0 21.3 8.2 23.5 19.2C185 58.6 191.6 64 199.2 64H208c8.8 0 16 7.2 16 16V96H96V80c0-8.8 7.2-16 16-16h8.8c7.6 0 14.2-5.4 15.7-12.8C138.7 40.2 148.4 32 160 32zM64 64h2.7C65 69 64 74.4 64 80V96c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V80c0-5.6-1-11-2.7-16H256c17.7 0 32 14.3 32 32h32c0-35.3-28.7-64-64-64H210.6c-9-18.9-28.3-32-50.6-32s-41.6 13.1-50.6 32H64C28.7 32 0 60.7 0 96V384c0 35.3 28.7 64 64 64H192V416H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM288 480c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h96v56c0 22.1 17.9 40 40 40h56V448c0 17.7-14.3 32-32 32H288zM416 165.3L474.7 224H424c-4.4 0-8-3.6-8-8V165.3zM448 512c35.3 0 64-28.7 64-64V235.9c0-12.7-5.1-24.9-14.1-33.9l-59.9-59.9c-9-9-21.2-14.1-33.9-14.1H288c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H448z"/></symbol>
<symbol id="svg-cut" viewBox="0 0 512 512"><path d="M485.6 444.2L333.6 314.9C326.9 309.2 326.1 299.1 331.8 292.4C337.5 285.6 347.6 284.8 354.4 290.5L506.4 419.8C513.1 425.5 513.9 435.6 508.2 442.4C502.5 449.1 492.4 449.9 485.6 444.2zM485.7 67.76C492.5 62.07 502.5 62.94 508.2 69.69C513.9 76.45 513.1 86.55 506.3 92.24L208.5 343.1C218.3 359.7 224 379.2 224 400C224 461.9 173.9 512 112 512C50.14 512 0 461.9 0 400C0 338.1 50.14 288 112 288C141.5 288 168.4 299.4 188.4 318.1L262.2 256L188.4 193.9C168.4 212.6 141.5 224 112 224C50.14 224 0 173.9 0 112C0 50.14 50.14 0 112 0C173.9 0 224 50.14 224 112C224 132.8 218.3 152.3 208.5 168.9L287 235.1L485.7 67.76zM32 112C32 156.2 67.82 192 112 192C156.2 192 192 156.2 192 112C192 67.82 156.2 32 112 32C67.82 32 32 67.82 32 112zM112 480C156.2 480 192 444.2 192 400C192 355.8 156.2 320 112 320C67.82 320 32 355.8 32 400C32 444.2 67.82 480 112 480z"/></symbol>
<symbol id="svg-copy" viewBox="0 0 512 512"><path d="M272 416C263.2 416 256 423.2 256 432V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h112C184.8 160 192 152.8 192 144C192 135.2 184.8 128 176 128H63.99c-35.35 0-64 28.65-64 64l.0098 256C0 483.3 28.65 512 64 512h160c35.35 0 64-28.65 64-64v-16C288 423.2 280.8 416 272 416zM502.6 86.63l-77.25-77.25C419.4 3.371 411.2 0 402.7 0H288C252.7 0 224 28.65 224 64v256c0 35.35 28.65 64 64 64h160c35.35 0 64-28.65 64-64V109.3C512 100.8 508.6 92.63 502.6 86.63zM416 45.25L466.7 96H416V45.25zM480 320c0 17.67-14.33 32-32 32h-160c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h96l.0026 64c0 17.67 14.33 32 32 32H480V320z"/>
</symbol>
<symbol id="svg-angle-double-right" viewBox="0 0 512 512"><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"/>
</symbol>
<symbol id="svg-angle-double-left" viewBox="0 0 512 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"/>
</symbol>
<symbol id="svg-trash" viewBox="0 0 448 512">
<path d="M336 64l-33.6-44.8C293.3 7.1 279.1 0 264 0h-80c-15.1 0-29.3 7.1-38.4 19.2L112 64H24C10.7 64 0 74.7 0 88v2c0 3.3 2.7 6 6 6h26v368c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V96h26c3.3 0 6-2.7 6-6v-2c0-13.3-10.7-24-24-24h-88zM184 32h80c5 0 9.8 2.4 12.8 6.4L296 64H152l19.2-25.6c3-4 7.8-6.4 12.8-6.4zm200 432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V96h320v368zm-176-44V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm-80 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm160 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12z"/>
</symbol>
<symbol id="svg-keyboard-down" viewBox="0 0 576 512"><path d="M64 48c-8.8 0-16 7.2-16 16V240c0 8.8 7.2 16 16 16H512c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H64zM0 64C0 28.7 28.7 0 64 0H512c35.3 0 64 28.7 64 64V240c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM159 359c9.4-9.4 24.6-9.4 33.9 0l95 95 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L305 505c-4.5 4.5-10.6 7-17 7s-12.5-2.5-17-7L159 393c-9.4-9.4-9.4-24.6 0-33.9zm1-167c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V192zM120 88h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H200c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H280c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H360c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H440c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16z"/></symbol>
</svg>`;function zi(a){a.resetKeycapRegistry(),_r();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Fi+a.normalizedLayouts.map((ye,tt)=>Xi(a,ye,tt)).join(""));const z=document.createElement("div");z.className="MLK__backdrop",z.appendChild(b),y.appendChild(z),y.addEventListener("pointerdown",rr,{passive:!1});const re=y.querySelectorAll(".ML__edit-toolbar");if(re)for(const ye of re)ye.addEventListener("click",tt=>{var ut,gt;let _t=tt.target,qt="";for(;_t&&!qt;)qt=(ut=_t==null?void 0:_t.getAttribute("data-command"))!=null?ut:"",_t=(gt=_t==null?void 0:_t.parentElement)!=null?gt:null;qt&&a.executeCommand(JSON.parse(qt))});yn(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const pe=y.querySelectorAll(".MLK__layer");console.assert(pe.length>0,"No virtual keyboards available");for(const ye of pe)ye.addEventListener("pointerdown",tt=>tt.preventDefault());return a.currentLayer=a.latentLayer,y}function Xi(a,y,b){const z=[];if(!("layers"in y))return"";for(const re of y.layers)z.push(`<div tabindex="-1" class="MLK__layer" id="${re.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(z.push("<div class='MLK__toolbar' role='toolbar'>"),z.push(sr(a,b)),y.displayEditToolbar&&z.push('<div class="ML__edit-toolbar right"></div>'),z.push("</div>")),z.push(Ci(a,re)),z.push("</div>");return z.join("")}function Ci(a,y){if(typeof y=="string")return y;let b="";if(typeof y.style=="string"?b+=`<style>${y.style}</style>`:typeof y.style=="object"&&(b+=`<style>${ar(y.style)}</style>`),y.backdrop&&(b+=`<div class='${y.backdrop}'>`),y.container&&(b+=`<div class='${y.container}'>`),y.rows){b+="<div class=MLK__rows>";for(const z of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const re of z)if(re){const pe=a.registerKeycap(re),[ye,tt]=Gi(re);/(^|\s)separator/.test(tt)?b+=`<div class="${tt}"`:b+=`<div tabindex="-1" id="${pe}" class="${tt}"`,re.tooltip&&(b+=` data-tooltip="${re.tooltip}"`),b+=`>${ye}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function Gi(a,y={shifted:!1}){var b,z,re,pe,ye,tt,ut;let gt="",_t=(b=a.class)!=null?b:"";if(y.shifted&&Ti(a)&&(_t+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?gt=wi(a.shift):typeof a.shift=="object"&&(gt=a.shift.label?a.shift.label:(z=wi(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?z:""),typeof a.shift=="object"&&(_t=(pe=(re=a.shift.class)!=null?re:a.class)!=null?pe:"");else{if(gt=a.label?a.label:(ye=wi(a.latex||a.insert||"")||a.key)!=null?ye:"",a.shift){let qt;typeof a.shift=="string"?qt=wi(a.shift):a.shift.label?qt=a.shift.label:qt=(tt=wi(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?tt:"",gt+=`<span class="MLK__shift">${qt}</span>`}a.aside&&(gt+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(_t)&&(_t+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(_t)||(_t+=" MLK__keycap"),!/\bw[0-9]+\b/.test(_t)&&a.width&&(_t+=(ut={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?ut:""),[gt,_t||"MLK__keycap"]}var fo={"[left]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-left /></svg>",command:["performWithFeedback","moveToPreviousChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-left /></svg>",command:["performWithFeedback","extendSelectionBackward"]}},"[right]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-right /></svg>",command:["performWithFeedback","moveToNextChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-right /></svg>",command:["performWithFeedback","extendSelectionForward"]}},"[up]":{class:"action hide-shift",label:"\u2191",command:["performWithFeedback","moveUp"],shift:{label:"\u219F",command:["performWithFeedback","extendSelectionUpward"]}},"[down]":{class:"action hide-shift",label:"\u2193",command:["performWithFeedback","moveDown"],shift:{label:"\u21A1",command:["performWithFeedback","extendSelectionDownward"]}},"[return]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[action]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{label:"<svg class=svg-glyph><use xlink:href=#circle-plus /></svg>",command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[hr]":{class:"separator horizontal-rule"},"[hide-keyboard]":{class:"action",command:["hideVirtualKeyboard"],width:1.5,label:"<svg class=svg-glyph-lg><use xlink:href=#svg-keyboard-down /></svg>"},"[.]":{variants:".",command:["performWithFeedback","insertDecimalSeparator"],shift:",",class:"big-op hide-shift",label:"."},"[,]":{variants:",",command:["performWithFeedback","insertDecimalSeparator"],shift:".",class:"big-op hide-shift",label:","},"[+]":{variants:[{latex:"\\sum_{#0}^{#0}",class:"small"},"\\oplus"],latex:"+",label:"+",class:"big-op hide-shift",shift:{latex:"\\sum",insert:"\\sum",class:"small"}},"[-]":{variants:["\\pm","\\ominus"],latex:"-",label:"&#x2212;",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"&divide;"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"&times;",shift:{latex:"\\times"},class:"big-op hide-shift"},"[=]":{variants:["\\neq","\\equiv","\\varpropto","\\thickapprox","\\lt","\\gt","\\le","\\ge"],latex:"=",label:"=",shift:{label:"\u2260",latex:"\\ne"},class:"big-op hide-shift"},"[backspace]":{class:"action bottom right hide-shift",width:1.5,command:["performWithFeedback","deleteBackward"],label:"<svg class=svg-glyph><use xlink:href=#svg-delete-backward /></svg>",shift:{class:"action warning",label:"<svg class=svg-glyph><use xlink:href=#svg-trash /></svg>",command:"deleteAll"}},"[undo]":{class:"ghost if-can-undo",command:"undo",label:"<svg class=svg-glyph><use xlink:href=#svg-undo /></svg>",tooltip:"tooltip.undo"},"[redo]":{class:"ghost if-can-redo",command:"redo",label:"<svg class=svg-glyph><use xlink:href=#svg-redo /></svg>",tooltip:"tooltip.redo"},"[(]":{variants:[{latex:"\\lbrack",key:"["},"\\langle","\\lfloor","\\lceil",{latex:"\\lbrace",key:"{"}],key:"(",label:"(",shift:{label:"[",key:"["},class:"hide-shift"},"[)]":{variants:[{latex:"\\rbrack",key:"]"},"\\rangle","\\rfloor","\\rceil",{latex:"\\rbrace",key:"]"}],key:")",label:")",shift:{label:"]",latex:"\\rbrack"},class:"hide-shift"},"[0]":{variants:"0",latex:"0",label:"0",shift:"\\infty",class:"hide-shift"},"[1]":{variants:"1",latex:"1",label:"1",shift:"#@^{-1}",class:"hide-shift"},"[2]":{variants:"2",latex:"2",label:"2",shift:"#@^2",class:"hide-shift"},"[3]":{variants:"3",latex:"3",label:"3",shift:"#@^3",class:"hide-shift"},"[4]":{variants:"4",latex:"4",label:"4",shift:"#@^4",class:"hide-shift"},"[5]":{variants:"5",latex:"5",label:"5",shift:"#@^5",class:"hide-shift"},"[6]":{variants:"6",latex:"6",label:"6",shift:"#@^6",class:"hide-shift"},"[7]":{variants:"7",latex:"7",label:"7",shift:"#@^7",class:"hide-shift"},"[8]":{variants:"8",latex:"8",label:"8",shift:"#@^8",class:"hide-shift"},"[9]":{variants:"9",latex:"9",label:"9",shift:"#@^9",class:"hide-shift"},"[separator-5]":{class:"separator",width:.5},"[separator]":{class:"separator"},"[separator-10]":{class:"separator"},"[separator-15]":{class:"separator",width:1.5},"[separator-20]":{class:"separator",width:2},"[separator-50]":{class:"separator",width:5},"[shift]":{class:"shift bottom left",width:1.5,label:"<span class=caps-lock-indicator></span><svg class=svg-glyph><use xlink:href=#svg-shift /></svg>"},"[foreground-color]":{variants:"foreground-color",command:["applyStyle",{color:"red"}],label:"<span style='border-radius: 50%;width:22px;height:22px; border: 3px solid #cc2428; box-sizing: border-box'>"},"[background-color]":{variants:"background-color",command:["applyStyle",{backgroundColor:"yellow"}],label:"<span style='border-radius: 50%;width:22px;height:22px; background:#fff590; box-sizing: border-box'></span>"}};function Na(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!fo[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&fo[a.label]&&(b=we(Ae(Ae({},fo[a.label]),a),{label:fo[a.label].label})),"key"in a&&a.key&&fo[a.key]&&(b=we(Ae(Ae({},fo[a.key]),a),{key:fo[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=Ae(Ae({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=Ae(Ae({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=Ae(Ae({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=Ae(Ae({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var hn;function rr(a){var y;if(a.button!==0)return;const b=Ui.singleton;if(!b)return;let z=a.target;for(;z&&!z.getAttribute("data-layer");)z=z.parentElement;if(z){b.currentLayer=(y=z.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const re=pi(a.target);if(!(re!=null&&re.id))return;const pe=b.getKeycap(re.id);if(!pe)return;console.assert(a.type==="pointerdown");const ye=new AbortController,tt=ye.signal;re.classList.add("is-pressed"),re.addEventListener("pointerenter",hr(ye),{capture:!0,signal:tt}),re.addEventListener("pointerleave",hr(ye),{capture:!0,signal:tt}),re.addEventListener("pointercancel",hr(ye),{signal:tt}),re.addEventListener("pointerup",hr(ye),{signal:tt}),Ti(pe)&&(re.classList.add("is-active"),b.shiftPressCount++),pe.variants&&(hn&&clearTimeout(hn),hn=setTimeout(()=>{re.classList.contains("is-pressed")&&(re.classList.remove("is-pressed"),re.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),Hn(re,()=>{ye.abort(),re==null||re.classList.remove("is-active")}))},300)),a.preventDefault()}function hr(a){return y=>{const b=pi(y.target);if(!(b!=null&&b.id))return;const z=Ui.singleton;if(!z)return;const re=z.getKeycap(b.id);if(re){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),Ti(re)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),Ti(re)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted));return}if(y.type==="pointerup"){hn&&clearTimeout(hn),Ti(re)?b.classList.toggle("is-active",z.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),z.isShifted&&re.shift?typeof re.shift=="string"?z.executeCommand(["insert",re.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Pr(re.shift):Pr(re),z.shiftPressCount===1&&!y.shiftKey&&(z.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Pr(a){var y;let b=a.command;!b&&a.insert&&(b=["insert",a.insert,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),!b&&a.key&&(b=["typedText",a.key,{focus:!0,feedback:!0,simulateKeystroke:!0}]),!b&&a.latex&&(b=["insert",a.latex,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),b||(b=["typedText",a.label,{focus:!0,feedback:!0,simulateKeystroke:!0}]),(y=Ui.singleton)==null||y.executeCommand(b)}function ti(a){if(a.nodeType!==1)return!1;const y=a.classList;return y.contains("MLK__keycap")||y.contains("shift")||y.contains("action")||y.contains("fnbutton")||y.contains("bigfnbutton")}function pi(a){if(!a)return;let y=a;for(;y&&!ti(y);)y=y.parentElement;return y!=null?y:void 0}function Ti(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var Ui=class uy{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,z;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(re=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(z=window.top)==null||z.addEventListener("message",this)}catch(re){window.addEventListener("message",this)}document.body.addEventListener("focusin",re=>{const pe=re.target;pe!=null&&pe.isConnected&&setTimeout(()=>{const ye=ya();ye&&!ye.readOnly&&ye.mathVirtualKeyboardPolicy==="auto"&&He()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",re=>{re.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{ya()||this.hide()},300)})}get currentLayer(){var y,b,z;return(z=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?z:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let z=y?this._element.querySelector(`#${y}.MLK__layer`):null;z||(z=this._element.querySelector(".MLK__layer")),z&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),z.classList.add("is-visible")),this.render()}get shiftPressCount(){return this._shiftPressCount}set shiftPressCount(y){var b;this._shiftPressCount=y>2||y<0?0:y,(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.render()}get isShifted(){return this._shiftPressCount>0}resetKeycapRegistry(){this.keycapRegistry={}}registerKeycap(y){const b="ML__k"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);return this.keycapRegistry[b]=y,b}getKeycap(y){return y?this.keycapRegistry[y]:void 0}getLayer(y){const b=this.normalizedLayouts;for(const z of b)for(const re of z.layers)if(re.id===y)return re}get alphabeticLayout(){return this._alphabeticLayout}set alphabeticLayout(y){this._alphabeticLayout=y,this.rebuild()}get actionKeycap(){return this._actionKeycap}set actionKeycap(y){this._actionKeycap=typeof y=="string"?{label:y}:y}get shiftKeycap(){return this._shiftKeycap}set shiftKeycap(y){this._shiftKeycap=typeof y=="string"?{label:y}:y}get backspaceKeycap(){return this._backspaceKeycap}set backspaceKeycap(y){this._backspaceKeycap=typeof y=="string"?{label:y}:y}get tabKeycap(){return this._tabKeycap}set tabKeycap(y){this._tabKeycap=typeof y=="string"?{label:y}:y}get layouts(){return this._layouts}set layouts(y){this.updateNormalizedLayouts(y),this.rebuild()}updateNormalizedLayouts(y){const b=Array.isArray(y)?[...y]:[y],z=b.findIndex(re=>re==="default");z>=0&&b.splice(z,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(re=>Yr(re))}get normalizedLayouts(){return this._normalizedLayouts||this.updateNormalizedLayouts(this._layouts),this._normalizedLayouts}get editToolbar(){return this._editToolbar}set editToolbar(y){this._editToolbar=y,this.rebuild()}get container(){return this._container}set container(y){this._container=y,this.rebuild()}static get singleton(){if(this._singleton===void 0)try{this._singleton=new uy}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,z){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,z){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const z=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${z}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const re=z-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${re}px)`:`${re}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${z}px`)}rebuild(){if(this._rebuilding||!this._element)return;this._rebuilding=!0;const y=this.currentLayer;requestAnimationFrame(()=>{this._rebuilding=!1,this._element&&(this._element.remove(),this._element=void 0),this.visible&&(this.buildAndAttachElement(),this.currentLayer=y,this.render(),this.adjustBoundingRect(),this._element.classList.add("is-visible"))})}render(){if(!this._element)return;const y=this.getLayer(this.currentLayer);this._element.classList.toggle("backdrop-is-transparent",!!(y&&(y.backdrop||y.container)));const b=this._element.querySelectorAll(".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift");if(b)for(const z of b){const re=this.getKeycap(z.id);if(re){const[pe,ye]=Gi(re,{shifted:this.isShifted});z.innerHTML=window.MathfieldElement.createHTML(pe),z.className=ye}}}show(y){var b;if(this._visible)return;const z=this.container;if(z&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const re=this._element.getElementsByClassName("MLK__plate")[0];if(re&&this.observer.observe(re),z===window.document.body){const pe=z.style.paddingBottom;this.originalContainerBottomPadding=pe;const ye=re.offsetHeight-1;z.style.paddingBottom=pe?`calc(${pe} + ${ye}px)`:`${ye}px`}window.addEventListener("mouseup",this),window.addEventListener("blur",this),window.addEventListener("keydown",this,{capture:!0}),window.addEventListener("keyup",this,{capture:!0}),(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.currentLayer=this.latentLayer}this._visible=!0,y!=null&&y.animate?requestAnimationFrame(()=>{this._element&&(this._element.classList.add("animate"),this._element.addEventListener("transitionend",()=>{var re;return(re=this._element)==null?void 0:re.classList.remove("animate")},{once:!0}),this._element.classList.add("is-visible"),this.stateChanged())}):(this._element.classList.add("is-visible"),this.stateChanged())}}hide(y){var b;const z=this.container;if(z&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const re=this._element.getElementsByClassName("MLK__plate")[0];re&&this.observer.unobserve(re),window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("keydown",this,{capture:!0}),window.removeEventListener("keyup",this,{capture:!0}),window.removeEventListener("contextmenu",this,{capture:!0}),In(),Er(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(z.style.paddingBottom=this.originalContainerBottomPadding)}this.stateChanged()}}get height(){var y,b;return(b=(y=this.element)==null?void 0:y.offsetHeight)!=null?b:0}buildAndAttachElement(){var y;console.assert(!this.element),this.element=zi(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&Hn(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(ft(y)){if(!R0(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");y.data.action==="disconnect"?this.connectedMathfieldWindow=void 0:y.data.action!=="update-setting"&&y.data.action!=="proxy-created"&&y.data.action!=="execute-command"&&(console.assert(y.source!==void 0),this.connectedMathfieldWindow=y.source),this.handleMessage(y.data,y.source)}if(this._element)switch(y.type){case"mouseup":case"blur":document.body.style.userSelect="",this.shiftPressCount=0;break;case"contextmenu":y.button!==2&&y.preventDefault();break;case"keydown":{y.key==="Shift"&&!y.repeat&&(this.shiftPressCount=1);break}case"keyup":{(y.key==="Shift"||!y.getModifierState("Shift")&&this.shiftPressCount!==2)&&(this.shiftPressCount=0);break}}}handleMessage(y,b){const{action:z}=y;if(z==="execute-command"){const{command:re}=y,pe=de(re);if(window.top!==void 0&&pe!=="virtual-keyboard")return;this.executeCommand(re);return}if((z==="connect"||z==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),z!=="disconnect"&&window===window.top){if(z==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(z==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(z==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(z==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,z){if(z||(z=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||z===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:Ae({type:ot,action:y},b)}));return}if(z)z.postMessage(Ae({type:ot,action:y},b),{targetOrigin:this.targetOrigin});else if(b.command&&this.dispatchEvent(new CustomEvent("math-virtual-keyboard-command",{detail:b.command})),y==="execute-command"&&Array.isArray(b.command)&&b.command[0]==="insert"){const re=b.command[1].split("");for(const pe of re)this.dispatchEvent(new KeyboardEvent("keydown",{key:pe,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:pe,bubbles:!0}))}}stateWillChange(y){return this.dispatchEvent(new CustomEvent("before-virtual-keyboard-toggle",{detail:{visible:y},bubbles:!0,cancelable:!0,composed:!0}))}stateChanged(){this.dispatchEvent(new Event("virtual-keyboard-toggle")),this._visible||(this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect}))}focus(){this.sendMessage("focus",{})}blur(){this.sendMessage("blur",{})}updateToolbar(y){const b=this._element;if(!b)return;b.classList.toggle("is-math-mode",y.mode==="math"),b.classList.toggle("is-text-mode",y.mode==="text"),b.classList.toggle("can-undo",y.canUndo),b.classList.toggle("can-redo",y.canRedo),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-paste",!0);const z=b.querySelectorAll(".ML__edit-toolbar");if(z)for(const re of z)re.innerHTML=ci(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,z=[],re=de(y);return Be(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),re=de(y)),z=y.slice(1)):b=y,b=b.replace(/-\w/g,pe=>pe[1].toUpperCase()),re==="virtual-keyboard"?E[b].fn(void 0,...z):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function ya(){var a,y;let b=Hh(),z=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){z=b.host;break}b=b.parentNode}return z}if(Oe()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=Ui.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>Et.singleton,configurable:!0});function so(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const z=a.scriptDepth;if(Be(z))y.scriptDepth=[z[0],z[1]];else if(typeof z=="number")y.scriptDepth=[z,z];else if(typeof z=="string"){const[pe,ye]=z.split(",").map(tt=>parseInt(tt.trim()));y.scriptDepth=[pe,ye]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let re=a.mathVirtualKeyboardPolicy.toLowerCase();if(re==="sandboxed"){if(window!==window.top){const pe=Ui.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>pe})}re="manual"}y.mathVirtualKeyboardPolicy=re;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?Ke.locale.startsWith("fr")?y.letterShapeStyle="french":y.letterShapeStyle="tex":y.letterShapeStyle=a.letterShapeStyle;break;case"defaultMode":["text","math","inline-math"].includes(a.defaultMode)?y.defaultMode=a.defaultMode:(console.error('MathLive 0.98.5: valid values for defaultMode are "text", "math" or "inline-math"'),y.defaultMode="math");break;case"macros":y.macros=pt(a.macros);break;default:Be(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=Ae({},a[b]):y[b]=a[b]}return y}function Uo(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const z={};for(const re of b)a[re]===null?z[re]=null:Be(a[re])?z[re]=[...a[re]]:typeof a[re]=="object"&&!(a[re]instanceof Element)&&re!=="computeEngine"?z[re]=Ae({},a[re]):z[re]=a[re];return typeof y=="string"?z[y]:z}function Zo(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:xt,backgroundColorMap:Je,letterShapeStyle:Ke.locale.startsWith("fr")?"french":"tex",minFontScale:0,smartMode:!1,smartFence:!0,smartSuperscript:!0,scriptDepth:[1/0,1/0],removeExtraneousParentheses:!0,isImplicitFunction:a=>["\\sin","\\cos","\\tan","\\arcsin","\\arccos","\\arctan","\\arcsec","\\arccsc","\\arsinh","\\arcosh","\\artanh","\\arcsech","\\arccsch","\\arg","\\ch","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\sec","\\sinh","\\sh","\\tanh","\\tg","\\th","\\lg","\\lb","\\log","\\ln"].includes(a),mathModeSpace:"",placeholderSymbol:"\u25A2",contentPlaceholder:"",popoverPolicy:"auto",environmentPopoverPolicy:"off",keybindings:um,inlineShortcuts:Bp,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:jm,value:""}}function Gs(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function jn(a,y){!a||!y||(Be(a)?a.forEach(b=>jn(b,y)):typeof a=="object"&&!a.style.color&&!a.style.backgroundColor&&!a.style.fontFamily&&!a.style.fontShape&&!a.style.fontSeries&&!a.style.fontSize&&!a.style.variant&&!a.style.variantStyle&&(a.applyStyle(y),jn(a.body,y),jn(a.above,y),jn(a.below,y),jn(a.subscript,y),jn(a.superscript,y)))}function Xo(a,y,b,z){function re(ye,tt){for(const ut of pe)if(ut.style[ye]!==tt)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const pe=a.getAtoms(y,{includeChildren:!0});z.operation==="toggle"&&(b.color&&re("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&re("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&re("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&re("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&re("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&re("fontSize",b.fontSize)&&(b.fontSize=Nu),b.variant&&re("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&re("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const ye of pe)ye.applyStyle(b);return!0}function pu(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:z}=b;b.caret=void 0;const re=new Th(y,{mode:b.mode});re.caret=z,b.parent.addChildAfter(re,b),a.position+=1}}function gl(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}$t(["math","displaymath"],qo),$t("center",qo),Bt("displaylines","",{parse:a=>{const y=[];let b=[];a.beginContext({tabular:!0});do{if(a.end()||a.match("<}>"))break;a.matchColumnSeparator()||a.matchRowSeparator()?(y.push([b]),b=[]):b.push(...a.scan(z=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(z)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new rl("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),Sn("array","{columns:colspec}",(a,y,b,z)=>new rl(a,ul(y),b,{columns:z[0],mathstyleName:"textstyle"})),Sn(["equation","equation*","subequations"],"",(a,y,b)=>new rl(a,ul(y),b,{columns:[{align:"c"}]})),Sn(["multline","multline*"],"",qo),Sn(["align","align*","aligned","eqnarray"],"",qo),Sn("split","",qo),Sn(["gather","gathered"],"",qo),Sn(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",qo),Sn(["smallmatrix","smallmatrix*"],"[columns:colspec]",qo),Sn(["cases","dcases","rcases"],"",qo);function to(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function ul(a,y=1){return to(a)?Array(y).fill([[new Ei({type:"first"}),new ms]]):a.map(b=>b.length===0?[[new Ei({type:"first"})]]:b.map(z=>z.length===0?[new Ei({type:"first"})]:(z[0].type!=="first"&&z.unshift(new Ei({type:"first"})),z)))}function qo(a,y=[[[]]],b=[],z=[]){switch(y=ul(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new rl(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new rl(a,y,b,{mathstyleName:"textstyle"});case"center":return new rl(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new rl(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new rl(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new rl(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new rl(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:Ks(z[0])});case"bmatrix":case"bmatrix*":return new rl(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:Ks(z[0])});case"Bmatrix":case"Bmatrix*":return new rl(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:Ks(z[0])});case"vmatrix":case"vmatrix*":return new rl(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:Ks(z[0])});case"Vmatrix":case"Vmatrix*":return new rl(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:Ks(z[0])});case"matrix":case"matrix*":return new rl(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:Ks(z==null?void 0:z[0])});case"smallmatrix":case"smallmatrix*":return new rl(a,y,b,{mathstyleName:"scriptstyle",columns:Ks(z==null?void 0:z[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new rl(a,y,b,{mathstyleName:a==="dcases"?"displaystyle":"textstyle",arraystretch:1.2,leftDelim:"\\lbrace",rightDelim:".",columns:[{align:"l"},{gap:1},{align:"l"}]});case"rcases":return new rl(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new rl(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let re=0;for(const tt of y)re=Math.max(re,tt.length);const pe=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let ye=2;for(;ye<re;)pe.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),ye+=2;return pe.push({gap:0}),new rl(a,y,b,{arraycolsep:0,columns:pe,minColumns:2})}}return new rl(a,y,b,{mathstyleName:"textstyle"})}function Ks(a){return a!=null?a:[{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"}]}function il(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof rl);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof rl)){const z=a.at(a.position);if(b=z,!b.parent.parent){let re=a.extractAtoms([a.position,a.lastOffset]),pe=a.extractAtoms([0,a.position]);pe.length===0&&(pe=Ys()),re.length===0&&(re=Ys());let ye;return y.endsWith("column")?(ye=qo("split",[[pe,re]]),a.root=ye,Tu(ye,0,0)?Fl(a,ye,0,0):Tu(ye,0,1)?Fl(a,ye,0,1):a.position=a.offsetOf(z)):(ye=qo("lines",[[pe],[re]]),a.root=ye,Tu(ye,0,0)?Fl(a,ye,0,0):Tu(ye,1,0)?Fl(a,ye,1,0):a.position=a.offsetOf(z)),[void 0,[0,0]]}if(b.parent instanceof lu){const re=b.parent;let pe=a.extractAtoms([a.position,a.offsetOf(re.lastChild)]),ye=a.extractAtoms([a.offsetOf(re.firstChild),a.position]);ye.length===0&&(ye=Ys()),pe.length===0&&(pe=Ys());let tt="pmatrix";const ut=re.leftDelim,gt=re.rightDelim;ut==="("&&(gt===")"||gt==="?")?tt="pmatrix":(ut==="["||ut==="\\lbrack")&&(gt==="]"||gt==="\\rbrack"||gt==="?")?tt="bmatrix":ut==="\\vert"&&gt==="\\vert"?tt="vmatrix":ut==="\\Vert"&&gt==="\\Vert"?tt="Vmatrix":(ut==="{"||ut==="\\lbrace")&&(gt==="."||gt==="?")&&(tt="cases");const _t=qo(tt,y.endsWith("column")?[[ye,pe]]:[[ye],[pe]]);return re.parent.addChildBefore(_t,re),re.parent.removeChild(re),Tu(_t,0,0)?Fl(a,_t,0,0):y.endsWith("column")?Tu(_t,0,1)?Fl(a,_t,0,1):a.position=a.offsetOf(b):Tu(_t,1,0)?Fl(a,_t,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof rl?[b.parent,b.parentBranch]:[void 0,[0,0]]}function Tu(a,y,b){const z=a.getCell(y,b);return!z||z.length!==2?!1:z[1].type==="placeholder"}function Pu(a,y,b,z){const re=y.getCell(b,z);return re?[a.offsetOf(re[0]),a.offsetOf(re[re.length-1])]:-1}function Fl(a,y,b,z){const re=Pu(a,y,b,z);typeof re!="number"&&a.setSelection(re)}function _u(a,y,b,z,re){const pe=y.getCell(b,z);pe&&a.setPositionHandlingPlaceholder(a.offsetOf(pe[re==="start"?0:pe.length-1]))}function yu(a,y){const[b,[z,re]]=il(a,y);if(b)switch(y){case"after row":b.addRowAfter(z),_u(a,b,z+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(re),_u(a,b,z,re+1,"end");break;case"before row":b.addRowBefore(z),_u(a,b,z,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(re),_u(a,b,z,re,"start");break}}function Os(a){return a.contentWillChange({inputType:"insertText"})?(yu(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function nu(a){return a.contentWillChange({inputType:"insertText"})?(yu(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Ws(a){return a.contentWillChange({inputType:"insertText"})?(yu(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Yd(a){return a.contentWillChange({inputType:"insertText"})?(yu(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function qu(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",z=".";switch(y){case"pmatrix":case"pmatrix*":b="(",z=")";break;case"bmatrix":case"bmatrix*":b="[",z="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",z="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",z="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",z="\\Vert";break;case"matrix":case"matrix*":b=".",z=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":z="\\rbrace";break}const re=a.at(a.position),pe=re.type==="array"?re:a.parentEnvironment;return pe.environmentName=y,pe.leftDelim=b,pe.rightDelim=z,a.contentDidChange({}),!0}function mu(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof rl);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof rl){const z=b.parent,re=b.parentBranch;let pe;switch(y){case"row":if(z.rowCount>1){z.removeRow(re[0]);const ye=z.getCell(Math.max(0,re[0]-1),re[1]);pe=a.offsetOf(ye[ye.length-1])}break;case"column":if(z.colCount>z.minColumns){z.removeColumn(re[1]);const ye=z.getCell(re[0],Math.max(0,re[1]-1));pe=a.offsetOf(ye[ye.length-1])}break}pe&&a.setPositionHandlingPlaceholder(pe)}}function bu(a){return a.contentWillChange({inputType:"deleteContent"})?(mu(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function gd(a){return a.contentWillChange({inputType:"deleteContent"})?(mu(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}ne({addRowAfter:Os,addColumnAfter:Ws,addRowBefore:nu,addColumnBefore:Yd,removeRow:bu,removeColumn:gd,setEnvironment:qu},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Ys(){return[new ms]}var Yc=class cy{constructor(y){this.recording=!1,this.model=y,this.reset()}reset(){this.stack=[],this.index=-1,this.lastOp=""}startRecording(){this.recording=!0}stopRecording(){this.recording=!1}canUndo(){return this.index-1>=0}canRedo(){return this.stack.length-1>this.index}stopCoalescing(y){y&&this.index>=0&&(this.stack[this.index].selection=y),this.lastOp=""}undo(){return this.canUndo()?(this.model.setState(this.stack[this.index-1],{silenceNotifications:!1,type:"undo"}),this.index-=1,this.lastOp="",!0):!1}redo(){return this.canRedo()?(this.index+=1,this.model.setState(this.stack[this.index],{silenceNotifications:!1,type:"redo"}),this.lastOp="",!0):!1}pop(){this.canUndo()&&(this.stack.splice(this.index,this.stack.length-this.index),this.index-=1)}snapshot(y){return this.recording?(y&&y===this.lastOp&&this.pop(),this.stack.splice(this.index+1,this.stack.length-this.index-1),this.stack.push(this.model.getState()),this.index+=1,this.stack.length>cy.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};Yc.maximumDepth=1e3;var kl=Yc;function Gl(a,y,b){if(a.at(y).mode!=="text")return y;const z=b==="backward"?-1:1;let re;if(se.test(a.at(y).value)){let pe=y,ye;do ye=a.at(pe).mode==="text"&&se.test(a.at(pe).value),pe+=z;while(a.at(pe)&&ye);re=a.at(pe)?pe-2*z:pe-z}else if(/\s/.test(a.at(y).value)){let pe=y;for(;a.at(pe)&&a.at(pe).mode==="text"&&/\s/.test(a.at(pe).value);)pe+=z;if(!a.at(pe))re=pe-z;else{let ye=!0;do ye=a.at(pe).mode==="text"&&!/\s/.test(a.at(pe).value),pe+=z;while(a.at(pe)&&ye);re=a.at(pe)?pe-2*z:pe-z}}else{let pe=y;for(;a.at(pe)&&a.at(pe).mode==="text"&&!/\s/.test(a.at(pe).value);)pe+=z;re=a.at(pe)?pe:pe-z;let ye=!0;for(;a.at(pe)&&ye;)ye=a.at(pe).mode==="text"&&/\s/.test(a.at(pe).value),ye&&(re=pe),pe+=z;re=a.at(pe)?pe-2*z:pe-z}return re-(z>0?0:1)}function Oc(a,y,b){var z,re,pe,ye,tt,ut,gt;const _t=a.position;(z=b==null?void 0:b.extend)!=null&&z||a.collapseSelection(y);let qt=a.at(a.position);if(y==="forward"&&(qt.type==="subsup"?(qt=qt.rightSibling,qt||(qt=a.at(a.position+1))):qt=a.at(a.position+1)),!qt)return a.announce("plonk"),!1;let pn=a.offsetOf(qt);if(qt instanceof tf)pn=Gl(a,pn,y);else if(qt instanceof md)if(qt.isSuggestion)for(console.assert(y==="forward");qt&&qt instanceof md;)qt.isSuggestion=!1,pn=a.offsetOf(qt),qt=qt.rightSibling;else if(y==="forward"){if(qt=qt.rightSibling,!qt||!(qt instanceof md))return a.announce("plonk"),!1;for(;qt&&qt instanceof md&&/[a-zA-Z\*]/.test(qt.value);)pn=a.offsetOf(qt),qt=qt.rightSibling}else{if(qt=qt.leftSibling,!qt||!(qt instanceof md))return a.announce("plonk"),!1;for(;qt&&qt instanceof md&&/[a-zA-Z\*]/.test(qt.value);)pn=a.offsetOf(qt),qt=qt.leftSibling}else if(y==="forward"&&qt.type==="mopen"){let Kn=0;do qt.type==="mopen"?Kn+=1:qt.type==="mclose"&&(Kn-=1),qt=qt.rightSibling;while(!qt.isLastSibling&&Kn!==0);pn=a.offsetOf(qt.leftSibling)}else if(y==="backward"&&qt.type==="mclose"){let Kn=0;do qt.type==="mopen"?Kn+=1:qt.type==="mclose"&&(Kn-=1),qt=qt.leftSibling;while(!qt.isFirstSibling&&Kn!==0);pn=a.offsetOf(qt)}else if(y==="backward")if(qt.type==="first")for(;pn>0&&qt.type==="first";)pn-=1,qt=a.at(pn);else{const Kn=qt.type;qt.type==="subsup"&&(pn=a.offsetOf(a.at(pn).leftSibling)),pn-=1;let nr=(re=a.at(pn))==null?void 0:re.type;for(;pn>=0&&nr===Kn;)((pe=a.at(pn))==null?void 0:pe.type)==="subsup"?pn=a.offsetOf(a.at(pn).leftSibling):pn-=1,nr=a.at(pn).type}else{const{type:Kn}=qt;let nr=(ye=a.at(pn))==null?void 0:ye.type;const{lastOffset:di}=a;for(;pn<=di&&(nr===Kn||nr==="subsup");){for(;((tt=a.at(pn).rightSibling)==null?void 0:tt.type)==="subsup";)pn=a.offsetOf(a.at(pn).rightSibling);pn+=1,nr=(ut=a.at(pn))==null?void 0:ut.type}pn-=1}if((gt=b==null?void 0:b.extend)!=null&&gt){if(!a.setSelection(a.anchor,pn))return a.announce("plonk"),!1}else{if(pn===a.position)return a.announce("plonk"),!1;a.position=pn}return a.announce("move",_t),a.mathfield.stopCoalescingUndo(),!0}function Rl(a,y,b){var z,re;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[tt,ut]=Zg(a);tt!==void 0&&ut!==void 0&&a.deleteAtoms([tt,ut])}if(y==="upward")return Q0(a,b);if(y==="downward")return A0(a,b);if(b.extend){let tt=cl(a,a.position,y);tt<0&&(tt=0),tt>a.lastOffset&&(tt=a.lastOffset);const ut=a.setSelection(a.anchor,tt);return a.mathfield.stopCoalescingUndo(),ut}if(a.selectionIsPlaceholder){a.collapseSelection(y);const tt=Rl(a,y);return a.mathfield.stopCoalescingUndo(),tt}let pe=a.position;const ye=pe;if(a.collapseSelection(y)?(pe=a.position,vc(a,pe)||(pe=cl(a,pe,y))):pe=cl(a,pe,y),pe<0||pe>a.lastOffset){let tt=!0;return a.silenceNotifications||(tt=(re=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?re:!0),tt&&a.announce("plonk"),tt}return a.setPositionHandlingPlaceholder(pe),a.mathfield.stopCoalescingUndo(),a.announce("move",ye),!0}function cl(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||vc(a,y)?y:cl(a,y,b)}function vc(a,y){var b;const z=a.at(y);let re=z.parent;for(;re&&!re.inCaptureSelection;)re=re.parent;return!(re!=null&&re.inCaptureSelection||(b=z.parent)!=null&&b.skipBoundary&&(!z.isFirstSibling&&z.isLastSibling||z.type==="first")||a.mathfield.hasEditablePrompts&&!z.parentPrompt)}function Dp(a,y,b){let z=1/0,re=0;for(;re<y.length;re++){const pe=o0(a.getHTMLElement(y[re])).right,ye=Math.abs(b-pe);if(ye<=z)z=ye;else break}return y[re-1]}function pA(a,y,b,z,re){const pe=a.mathfield.hasEditablePrompts,ye=pe?b.filter(gt=>gt.type==="prompt"&&!gt.captureSelection):b,tt=o0(a.mathfield.getHTMLElement(y)).right,ut=a.offsetOf(Dp(a.mathfield,ye,tt))-(pe?1:0);if(z){const[gt,_t]=a.selection.ranges[0];let qt;ut<(re==="up"?gt:_t)?qt={ranges:[[ut,_t]],direction:"backward"}:qt={ranges:[[gt,ut]],direction:"forward"},a.setSelection(qt)}else a.setPositionHandlingPlaceholder(ut);a.announce(`move ${re}`)}function Q0(a,y){var b,z;const re=(b=y==null?void 0:y.extend)!=null?b:!1;re||a.collapseSelection("backward");const pe=()=>{var ut,gt;let _t=!0;return a.silenceNotifications||(_t=(gt=(ut=a.mathfield.host)==null?void 0:ut.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?gt:!0),a.announce(_t?"plonk":"line"),_t},ye=a.at(a.position);let tt=ye;for(;tt&&tt.parentBranch!=="below"&&!(Array.isArray(tt.parentBranch)&&tt.parent instanceof rl);)tt=tt.parent;if(Array.isArray(tt==null?void 0:tt.parentBranch)&&tt.parent instanceof rl){const ut=tt.parent;if(tt.parentBranch[0]<1)return pe();const gt=tt.parentBranch[0]-1,_t=ut.array[gt][tt.parentBranch[1]];if(!_t.some(pn=>pn.type==="prompt"&&!pn.captureSelection)&&a.mathfield.hasEditablePrompts)return pe();pA(a,ye,_t,re,"up")}else if(tt){const ut=(z=tt.parent.branch("above"))!=null?z:tt.parent.createBranch("above");if(!ut.some(_t=>_t.type==="prompt"&&_t.placeholderId)&&a.mathfield.hasEditablePrompts)return pe();pA(a,ye,ut,re,"up")}else return pe();return a.mathfield.stopCoalescingUndo(),!0}function A0(a,y){var b,z;const re=(b=y==null?void 0:y.extend)!=null?b:!1;re||a.collapseSelection("forward");const pe=()=>{var ut,gt;let _t=!0;return a.silenceNotifications||(_t=(gt=(ut=a.mathfield.host)==null?void 0:ut.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?gt:!0),a.announce(_t?"plonk":"line"),_t},ye=a.at(a.position);let tt=ye;for(;tt&&tt.parentBranch!=="above"&&!(Array.isArray(tt.parentBranch)&&tt.parent instanceof rl);)tt=tt.parent;if(Array.isArray(tt==null?void 0:tt.parentBranch)&&tt.parent instanceof rl){const ut=tt.parent;if(tt.parentBranch[0]+1>ut.array.length-1)return pe();const gt=tt.parentBranch[0]+1,_t=ut.array[gt][tt.parentBranch[1]];if(!_t.some(pn=>pn.type==="prompt"&&!pn.captureSelection)&&a.mathfield.hasEditablePrompts)return pe();pA(a,ye,_t,re,"down")}else if(tt){const ut=(z=tt.parent.branch("below"))!=null?z:tt.parent.createBranch("below");if(!ut.some(_t=>_t.type==="prompt")&&a.mathfield.hasEditablePrompts)return pe();pA(a,ye,ut,re,"down")}else return pe();return!0}function vl(a){const y=a.position,b=a.at(y).parent;return b!=null&&b.parent?(a.position=a.offsetOf(b),a.mathfield.stopCoalescingUndo(),a.announce("move",y),!0):(a.announce("plonk"),!1)}function z0(a){let y=0,b=a.at(a.position),z=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(z=!1):z=!0,b=b.parent;return z?y:0}function K0(a){let y=0,b=a.at(a.position),z=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(z=!0):z=!1,b=b.parent;return z?y:0}function Gf(a){var y;if(a.collapseSelection(),z0(a)>=a.mathfield.options.scriptDepth[1])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=b.rightSibling)==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new hu({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function Yf(a){var y;if(a.collapseSelection(),K0(a)>=a.mathfield.options.scriptDepth[0])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=a.at(a.position+1))==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new hu({style:a.at(a.position).computedStyle}),b),b=a.at(a.position+1)),b.createBranch("subscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.subscript[0]))),!0}function Pd(){function a(ut){const gt=[],_t=[];return[...ut.querySelectorAll(`input, select, textarea, a[href], button,
[tabindex], audio[controls], video[controls],
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((pn,Kn)=>{const nr=z(pn);nr===0?gt.push(pn):_t.push({documentOrder:Kn,tabIndex:nr,node:pn})}),_t.sort((pn,Kn)=>pn.tabIndex===Kn.tabIndex?pn.documentOrder-Kn.documentOrder:pn.tabIndex-Kn.tabIndex).map(pn=>pn.node).concat(gt)}function y(ut){return!(!b(ut)||re(ut)||z(ut)<0)}function b(ut){return!(ut.disabled||ut.type==="hidden"&&ut.tagName.toUpperCase()==="INPUT"||tt(ut))}function z(ut){var gt;const _t=Number.parseInt((gt=ut.getAttribute("tabindex"))!=null?gt:"NaN",10);return Number.isNaN(_t)?ut.contentEditable==="true"||(ut.nodeName==="AUDIO"||ut.nodeName==="VIDEO")&&ut.getAttribute("tabindex")===null?0:ut.tabIndex:_t}function re(ut){return ut.tagName.toUpperCase()==="INPUT"&&ut.type==="radio"&&!ye(ut)}function pe(ut,gt){for(const _t of ut)if(_t.checked&&_t.form===gt)return _t;return null}function ye(ut){var gt;if(!ut.name)return!0;const qt=((gt=ut.form)!=null?gt:ut.ownerDocument).querySelectorAll('input[type="radio"][name="'+ut.name+'"]'),pn=pe(qt,ut.form);return!pn||pn===ut}function tt(ut){if(!Oe()||ut===document.activeElement||ut.contains(document.activeElement))return!1;if(getComputedStyle(ut).visibility==="hidden")return!0;const gt=ut.getBoundingClientRect();if(gt.width===0||gt.height===0)return!0;for(;ut;){if(getComputedStyle(ut).display==="none")return!0;ut=ut.parentElement}return!1}return Oe()?a(document.body):[]}function rc(a,y,b="forward"){const z=a.position;if(Array.isArray(y)){const re=a.offsetOf(y[0]),pe=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(re,pe):a.setSelection(pe,re),a.announce("move",z),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?rc(a,[y.leftSibling,y]):rc(a,[y,y.leftSibling])}function Xc(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const z=a.offsetOf(y);y.type==="placeholder"?a.setSelection(z-1,z):a.position=z}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function f0(a,y,b=!0){var z,re;const pe=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Rl(a,y);let ye;const tt=a.at(a.anchor).parentPrompt;tt?y==="forward"?ye=a.offsetOf(tt)+1:ye=a.offsetOf(tt.leftSibling):ye=Math.max(a.position+pe,0);const ut=h0(a,ye,y);if(!ut||y==="forward"&&a.offsetOf(ut)<ye||y==="backward"&&a.offsetOf(ut)>ye){if(!b||!((re=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||re))return a.announce("plonk"),!1;const _t=Pd();if(!document.activeElement||_t.length<=1)return a.announce("plonk"),!1;let qt=_t.indexOf(document.activeElement)+pe;return qt<0&&(qt=_t.length-1),qt>=_t.length&&(qt=0),_t[qt].focus(),a.mathfield.stopCoalescingUndo(),!0}return Xc(a,ut),!0}function h0(a,y=0,b="forward"){return a.findAtom(z=>z.type==="placeholder"||z.type==="prompt"||!a.mathfield.readOnly&&z.treeDepth>2&&z.isFirstSibling&&z.isLastSibling,y,b)}ne({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:z}=b;if(!z)return a.announce("plonk"),!1;const re=b.parentBranch;let pe;if(typeof re=="string"&&(pe=y[re]),!pe){const tt=b.subsupPlacement?Yf(a):Gf(a);return a.mathfield.stopCoalescingUndo(),tt}z.branch(pe)||z.createBranch(pe);const ye=a.setSelection(a.getBranchRange(a.offsetOf(z),pe));return a.mathfield.stopCoalescingUndo(),ye},moveBeforeParent:a=>{const{parent:y}=a.at(a.position);return y?(a.position=a.offsetOf(y),a.mathfield.stopCoalescingUndo(),!0):(a.announce("plonk"),!1)},moveAfterParent:a=>vl(a),moveToNextChar:a=>Rl(a,"forward"),moveToPreviousChar:a=>Rl(a,"backward"),moveUp:a=>Rl(a,"upward"),moveDown:a=>Rl(a,"downward"),moveToNextWord:a=>Oc(a,"forward"),moveToPreviousWord:a=>Oc(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,z,re;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return f0(a,"forward");const pe=a.at(a.position);if(pe.mode==="text"){if(a.selectionIsCollapsed){let pn=pe;for(;pn&&pn.mode==="text";)pn=pn.leftSibling;let Kn=pe;for(;((y=Kn.rightSibling)==null?void 0:y.mode)==="text";)Kn=Kn.rightSibling;if(pn&&Kn)return rc(a,[pn,Kn])}if(pe.rightSibling.mode==="text"){let pn=pe;for(;pn&&pn.mode==="text";)pn=pn.rightSibling;return pn?(Xc(a,(b=pn.leftSibling)!=null?b:pn),a.mathfield.switchMode("math"),!0):Xc(a,a.lastOffset)}}const tt=a.at(a.anchor).parentPrompt,ut=tt?a.offsetOf(tt)+1:Math.max(a.position+1,0),gt=h0(a,ut,"forward");if(gt)return Xc(a,gt);const _t=ph(a,pe,pn=>pn.type==="leftright"||pn.type==="text","forward");if(_t){if(_t.mode==="text"){let pn=_t;for(;pn&&pn.mode==="text";)pn=pn.rightSibling;return rc(a,[(z=_t.leftSibling)!=null?z:_t,(re=pn.leftSibling)!=null?re:pn])}return rc(a,_t)}const qt=pe.parent;if(qt){if(qt.type==="leftright"||qt.type==="surd")return rc(a,qt);if(pe.parentBranch==="superscript"&&qt.subscript)return rc(a,qt.subscript);if(pe.parentBranch==="above"&&qt.below)return rc(a,qt.below);if(pe.parentBranch==="superscript"||pe.parentBranch==="subscript")return Xc(a,qt);if(pe.parentBranch==="above"||pe.parentBranch==="below")return rc(a,qt)}return Xc(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return f0(a,"backward");let b=a.at(a.position);const z=b.mode;if(z==="text"){if(a.selectionIsCollapsed){let tt=b;for(;tt&&tt.mode==="text";)tt=tt.leftSibling;let ut=b;for(;((y=ut.rightSibling)==null?void 0:y.mode)==="text";)ut=ut.rightSibling;if(tt&&ut)return rc(a,[tt,ut])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?Xc(a,b):Xc(a,0)}const re=a.at(a.anchor).parentPrompt,pe=re?a.offsetOf(re.leftSibling):Math.max(a.position-1,0),ye=h0(a,pe,"backward");if(ye)return Xc(a,ye);if(z==="math"){const tt=ph(a,b,gt=>gt.type==="leftright"||gt.type==="text","backward");if(tt){if(tt.mode==="text"){let gt=tt;for(;gt&&gt.mode==="text";)gt=gt.leftSibling;return rc(a,[tt,gt])}return rc(a,tt)}const ut=b.parent;if(ut){if(ut.type==="leftright"||ut.type==="surd")return rc(a,ut);if(b.parentBranch==="subscript"&&ut.superscript)return rc(a,ut.superscript);if(b.parentBranch==="below"&&ut.above)return rc(a,ut.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return Xc(a,ut);if(b.parentBranch==="above"||b.parentBranch==="below")return rc(a,ut)}return Xc(a,0)}return!1},moveToMathfieldStart:a=>a.selectionIsCollapsed&&a.position===0?(a.announce("plonk"),!1):(a.position=0,a.mathfield.stopCoalescingUndo(),!0),moveToMathfieldEnd:a=>a.selectionIsCollapsed&&a.position===a.lastOffset?(a.announce("plonk"),!1):(a.position=a.lastOffset,a.mathfield.stopCoalescingUndo(),!0),moveToSuperscript:Gf,moveToSubscript:Yf},{target:"model",changeSelection:!0}),ne({moveToNextPlaceholder:a=>f0(a,"forward"),moveToPreviousPlaceholder:a=>f0(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function ph(a,y,b,z){if(z==="forward"){let pe=y.rightSibling;for(;pe&&!b(pe);)pe=pe.rightSibling;return pe}let re=y.leftSibling;for(;re&&!b(re);)re=re.leftSibling;return re}function Xf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,re=!1,pe="";for(;!re;){const ye=a.at(z);re=y===0||ye===void 0||ye.type==="first"||ye.mode!=="math"||!(ye.type&&/mord|mpunct|operator/.test(ye.type)||ye.type==="mop"&&/[a-zA-Z ]+/.test(ye.value))||!ye.hasEmptyBranch("superscript")||!ye.hasEmptyBranch("subscript")||typeof b=="function"&&!b(ye),re||(ye.mode="text",ye.command=ye.value,ye.verbatimLatex=void 0,pe+=ye.value),z-=1,y-=1}a.contentDidChange({data:pe,inputType:"insertText"})}function QA(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,re=!1;const pe=[];for(;!re;){const ye=a.at(z);re=y===0||!ye||ye.type==="first"||ye.isFirstSibling||ye.mode!=="text"||ye.value===" "||typeof b=="function"&&!b(ye),re||(pe.push(Ei.serialize([ye],{defaultMode:"math"})),ye.mode="math"),z-=1,y-=1}Jf(a),a.contentDidChange({data:ml(pe),inputType:"insertText"})}function Jf(a){var y;let b=a.position-1;for(;b>=0&&((y=a.at(b))==null?void 0:y.mode)==="math";)b-=1;if(!(b<0)&&a.at(b).mode==="text"&&a.at(b).value===" "&&a.at(b-1).mode==="math"){a.at(b-1).parent.removeChild(a.at(b-1));const z=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=z,a.contentDidChange({inputType:"deleteContent"})}}function mh(a){let y="",b=a.position,z=!1;for(;!z;){const re=a.at(b);z=!(re&&(re.mode==="text"||re.mode==="math"&&re.type&&/mord|mpunct/.test(re.type))),z||(y=re.value+y),b-=1}return y}function Np(a,y,b){const{model:z}=a;if(z.mode==="latex"||!z.at(z.position).isLastSibling||!b||!_f(b))return!1;const re=Mp(b);if(!z.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(re));const pe=mh(z)+re;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(re))return!0;if(/[\^_]/.test(re))return/(^|\s)[a-zA-Z][^_]$/.test(pe)&&QA(z,1),!0;const ye={")":"(","}":"{","]":"["}[re],{parent:tt}=z.at(z.position);if(ye&&tt instanceof lu&&tt.leftDelim===ye)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(pe))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(re))return!0;if(/(^|[^a-zA-Z'])[a-zA-Z] $/.test(pe))return QA(z,1),!1;if(/\D\.[^\d\s]$/.test(pe)){QA(z,1);const ut=z.at(z.position);return ut.value="\u22C5",ut.style.variant="normal",ut.command="\\cdot",ut.verbatimLatex=void 0,z.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(pe)||/\.\d$/.test(pe)||/\([\d+\-.]$/.test(pe))return QA(z,1),!0;if(/\([a-z][,;]$/.test(pe))return QA(z,2),!0;if(/[\d+\-=><*|]$/.test(re))return Jf(z),!0}else{if(y==="[Space]")return Xf(z,void 0,ye=>/[a-z][:,;.]$/.test(ye.value)),!0;if(/[a-zA-Z]{3,}$/.test(pe)&&!/(dxd|abc|xyz|uvw)$/.test(pe))return Xf(z,void 0,ye=>/[a-zA-Z]/.test(ye.value)),!0;if(/(^|\W)(if)$/i.test(pe))return Xf(z,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(pe)&&!/(αβγ)$/.test(pe))return Xf(z,void 0,ye=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(ye.value)),!0;if(re==="?"||re==="."&&!/[\d-+]\.$/.test(pe))return!0}return!1}function p0(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=Tp(),z=a.element.getBoundingClientRect();b.style.left=`${z.left}px`,b.style.top=`${z.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(Kf(y)||y)+"</span>"+b.innerHTML),b.style.visibility="visible",setTimeout(()=>{b.childNodes.length>0&&b.childNodes[b.childNodes.length-1].remove(),b.childNodes.length===0&&(b.style.visibility="hidden")},3e3)}function Op(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=Tp();y.innerHTML=""}else{const y=Vm("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function Tp(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(rf("keystroke-caption"),rf("core"),Vm("mathlive-keystroke-caption-panel"))}function gm(){document.getElementById("mathlive-keystroke-caption-panel")&&(Vg("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function Pp(a,y){var b,z,re;const{model:pe}=a,ye=_p(y);if(y.isTrusted){OA(y);const Kn=zf();a.keyboardLayout!==Kn.id&&(a.keyboardLayout=Kn.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,p0(a,ye),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let tt,ut="",gt;const _t=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(pe.mode==="math")if(ye==="[Backspace]")_t.pop();else if(!_f(y))a.flushInlineShortcutBuffer();else{const Kn=Mp(y),nr=[...(z=(b=_t[_t.length-1])==null?void 0:b.keystrokes)!=null?z:[],Kn];_t.push({state:pe.getState(),keystrokes:nr,leftSiblings:Xm(a)});let di=0,Ha="";for(;!tt&&di<nr.length;)gt=_t.length-(nr.length-di),Ha=nr.slice(di).join(""),tt=sp(_t[gt].leftSiblings,Ha,a.options.inlineShortcuts),!tt&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(Ha)&&(tt=a.options.onInlineShortcut(a,Ha)),di+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(tt?a.switchMode("math"):Np(a,ye,y)&&(a.switchMode({math:"text",text:"math"}[pe.mode]),ut=""))}if(!tt){if(ut||(ut=hv(a.keybindings,pe.mode,y)),!ut&&(ye==="[Enter]"||ye==="[Return]")){let Kn=!1;return pe.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(Kn=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),Kn||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),pe.contentDidChange({inputType:"insertLineBreak"})),Kn}if((!ut||ye==="[Space]")&&pe.mode==="math"){if(ye==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return zs.insert(pe,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),ut="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const Kn=pe.at(pe.position+1),nr=pe.at(pe.position-1);if((Kn==null?void 0:Kn.mode)==="text"||(nr==null?void 0:nr.mode)==="text")return zs.insert(pe," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(re=pe.at(pe.position))!=null&&re.isDigit()&&window.MathfieldElement.decimalSeparator===","&&Mp(y)===","&&(ut="insertDecimalSeparator")}}if(!tt&&!ut){if(pe.mathfield.smartFence){if(If(pe,Mp(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:Kn}=pe.at(pe.position);if(Kn instanceof lu&&Kn.rightDelim==="?"&&pe.at(pe.position).isLastSibling&&/^[)}\]|]$/.test(ye))return a.snapshot(),Kn.isDirty=!0,Kn.rightDelim=ye,pe.position+=1,pe.selectionDidChange(),pe.contentDidChange({data:Mp(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!pe.selectionIsCollapsed){const nr=Mp(y);if(nr==="("||nr==="{"||nr==="["){const di={"(":"(","{":"\\lbrace","[":"\\lbrack"}[nr],Ha={"(":")","{":"\\rbrace","[":"\\rbrack"}[nr],[li,na]=rd(pe.selection);return a.snapshot(),pe.position=na,zs.insert(pe,Ha,{format:"latex"}),pe.position=li,zs.insert(pe,di,{format:"latex"}),pe.setSelection(li+1,na+1),pe.contentDidChange({data:nr,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const qt=pe.at(Math.max(pe.position,pe.anchor)),{parent:pn}=qt;if(ut==="moveAfterParent"&&(pn==null?void 0:pn.type)==="leftright"&&qt.isLastSibling&&a.options.smartFence&&If(pe,".",a.defaultStyle)&&(ut="",Ad(a)),a.keyboardDelegate.cancelComposition(),ut)a.executeCommand(ut);else if(tt){const Kn=a.effectiveStyle;pe.setState(_t[gt].state);const nr=_t[_t.length-1].keystrokes;for(const di of nr)zs.insert(pe,di,{silenceNotifications:!0,style:Kn});a.snapshot("insert-shortcut"),pe.setState(_t[gt].state),pe.deferNotifications({content:!0,selection:!0,data:tt,type:"insertText"},()=>(zs.insert(pe,tt,{format:"latex",style:Kn}),Jf(a.model),tt.endsWith(" ")&&(a.switchMode("text"),zs.insert(pe," ",{style:Kn,mode:"text"})),a.snapshot(),pe.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,pe.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Ym(a,y,b){const{model:z}=a;if(!a.isSelectionEditable){z.announce("plonk");return}b!=null||(b={}),b.focus&&a.focus(),b.feedback&&window.MathfieldElement.playSound("keypress"),typeof b.mode=="string"&&(a.switchMode(b.mode),a.snapshot());let re=SA(y);const pe=window.mathVirtualKeyboard;if(pe!=null&&pe.isShifted&&(re=typeof re=="string"?re.toUpperCase():re.map(ut=>ut.toUpperCase())),b.simulateKeystroke){let ut=!0;for(const gt of re)Pp(a,new KeyboardEvent("keypress",{key:gt}))&&(ut=!1);if(ut)return}const ye=z.at(z.position),tt=Ae(Ae({},ye.computedStyle),a.defaultStyle);if(z.selectionIsCollapsed||(z.deleteAtoms(rd(z.selection)),a.snapshot("delete")),z.mode==="latex")z.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{mg(a);for(const ut of re)zs.insert(z,ut);a.snapshot("insert-latex"),Zm(a)});else if(z.mode==="text"){for(const ut of re)zs.insert(z,ut,{style:tt});a.snapshot("insert-text")}else if(z.mode==="math")for(const ut of re)wg(a,ut,tt,ye);a.dirty=!0,a.scrollIntoView()}function Xm(a){const y=a.model,b=[];let z=y.at(Math.min(y.position,y.anchor));for(;z.type!=="first";)b.push(z),z=z.leftSibling;return b}function wg(a,y,b,z){const re=a.model;let pe={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(pe=["insert",a.options.mathModeSpace]),pe){a.executeCommand(pe);return}if(/\d/.test(y)&&a.options.smartSuperscript&&z.parentBranch==="superscript"&&z.parent.type!=="mop"&&z.parent.type!=="operator"&&z.parent.type!=="extensible-symbol"&&z.hasNoSiblings){xg(re),zs.insert(re,y,{style:b}),a.snapshot(),vl(re),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const ye=a.adoptStyle==="left"?z:z.parent?z.rightSibling:null;(ye==null?void 0:ye.type)==="mord"&&/[a-zA-Z0-9]/.test(ye.value)&&(b=Ae({},b),ye.style.variant&&(b.variant=ye.style.variant),ye.style.variantStyle&&(b.variantStyle=ye.style.variantStyle))}zs.insert(re,y,{style:b}),a.snapshot(`insert-${re.at(re.position).type}`)}function xg(a){a.selectionIsCollapsed||(a.deleteAtoms(rd(a.selection)),a.mathfield.snapshot("delete"))}function If(a,y,b){if(!y||a.mode!=="math")return!1;const z=a.at(a.position),{parent:re}=z,pe={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!pe)return!1;const ye=le[pe],tt=ue[pe];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[ut,gt]=rd(a.selection),_t=a.extractAtoms([ut,gt]),qt=re.addChildrenAfter([new lu("left...right",_t,{leftDelim:pe,rightDelim:tt})],a.at(ut));return a.setSelection(a.offsetOf(qt.firstChild),a.offsetOf(qt.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:pe,inputType:"insertText"}),!0}if(pe==="|"){const ut=re instanceof lu?re.leftDelim+re.rightDelim:"";if(ut==="\\lbrace\\rbrace"||ut==="\\{\\}"||ut==="\\lbrace?")return a.mathfield.snapshot(),zs.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:pe,inputType:"insertText"}),!0}if(tt){if(re instanceof lu&&re.firstChild===z&&(re.leftDelim==="?"||re.leftDelim==="."))return re.leftDelim=pe,re.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(re instanceof lu)){let qt=z;for(;qt&&!(qt.type==="mclose"&&qt.value===tt);)qt=qt.rightSibling;if(qt){a.mathfield.snapshot();const pn=a.extractAtoms([a.offsetOf(z),a.offsetOf(qt)]);return pn.pop(),re.addChildrenAfter([new lu("left...right",pn,{leftDelim:pe,rightDelim:tt})],z),a.position=a.offsetOf(re.firstChild)+1,a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const ut=a.offsetOf(z.lastSibling);let gt;for(gt=a.position;gt<=ut;gt++){const qt=a.at(gt);if(qt instanceof lu&&(qt.leftDelim==="?"||qt.leftDelim===".")&&Jm(pe,qt.rightDelim))break}const _t=a.at(gt);if(gt<=ut&&_t instanceof lu){_t.leftDelim=pe,a.mathfield.snapshot();let qt=a.extractAtoms([a.position,gt-1]);return qt=qt.filter(pn=>pn.type!=="first"),_t.addChildren(qt,_t.parentBranch),a.position+=1,a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(re instanceof lu&&(re.leftDelim==="?"||re.leftDelim===".")&&Jm(pe,re.rightDelim)){re.isDirty=!0,re.leftDelim=pe,a.mathfield.snapshot();const qt=a.extractAtoms([a.offsetOf(z.firstSibling),a.position]);for(const pn of qt)re.parent.addChildBefore(pn,re);return a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(re instanceof lu&&re.leftDelim==="|")){if(a.mathfield.snapshot(),zs.insert(a,`\\left${pe}\\right?`,{format:"latex",style:b}),z.lastSibling.type!=="first"){const qt=a.offsetOf(z.lastSibling),pn=a.extractAtoms([a.position,qt]);a.at(a.position).body=pn,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(ye){let ut=z;for(;ut;){if(ut.type==="mopen"&&ut.value===ye){a.mathfield.snapshot();const Kn=ut.leftSibling,nr=a.extractAtoms([a.offsetOf(ut.leftSibling),a.offsetOf(z)]);nr.shift();const di=new lu("left...right",nr,{leftDelim:ye,rightDelim:pe});return re.addChildrenAfter([di],Kn),a.position=a.offsetOf(di),a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}ut=ut.leftSibling}if(re instanceof lu&&z.isLastSibling&&Rp(re.leftDelim,pe))return a.mathfield.snapshot(),re.isDirty=!0,re.rightDelim=pe,a.position+=1,a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const gt=a.offsetOf(z.firstSibling);let _t;for(_t=a.position;_t>=gt;_t--){const Kn=a.at(_t);if(Kn instanceof lu&&(Kn.rightDelim==="?"||Kn.rightDelim===".")&&Rp(Kn.leftDelim,pe))break}const qt=a.at(_t);if(_t>=gt&&qt instanceof lu)return a.mathfield.snapshot(),qt.rightDelim=pe,qt.addChildren(a.extractAtoms([_t,a.position]),qt.parentBranch),a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(re instanceof lu&&(re.rightDelim==="?"||re.rightDelim===".")&&Rp(re.leftDelim,pe))return a.mathfield.snapshot(),re.isDirty=!0,re.rightDelim=pe,re.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(z.lastSibling)]),re.parentBranch),a.position=a.offsetOf(re),a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const pn=re.parent;return pn instanceof lu&&(pn.rightDelim==="?"||pn.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(pn),If(a,pe,b)):!1}return!1}function Rp(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ue[a]===y:!0}function Jm(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):le[y]===a:!0}ne({undo:a=>(a.undo(),!0),redo:a=>(a.redo(),!0),scrollIntoView:a=>(a.scrollIntoView(),!0),scrollToStart:a=>(a.field.scroll(0,0),!0),scrollToEnd:a=>{const y=a.field.getBoundingClientRect();return a.field.scroll(y.left-window.scrollX,0),!0},toggleKeystrokeCaption:Op,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,z)=>(a.switchMode(y,b,z),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(Ym(a,y,b),!0),insertDecimalSeparator:a=>{const y=a.model;return y.mode==="math"&&window.MathfieldElement.decimalSeparator===","&&y.at(Math.max(y.position,y.anchor)).isDigit()?(a.insert("{,}",{format:"latex"}),a.snapshot("insert-mord"),!0):(a.insert("."),!0)},commit:a=>{var y;return a.model.contentWillChange({inputType:"insertLineBreak"})&&((y=a.host)==null||y.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),a.model.contentDidChange({inputType:"insertLineBreak"})),!0},insertPrompt:(a,y,b)=>{const z=a.getPrompts();let re="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),pe=0;for(;z.includes(re)&&pe<100;){if(pe===99)return console.error("could not find a unique ID after 100 tries"),!1;re="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),pe++}return a.insert(`\\placeholder[${y!=null?y:re}]{}`,b),!0}}),ne({copyToClipboard:a=>(a.focus(),a.model.selectionIsCollapsed&&a.select(),"queryCommandSupported"in document&&document.queryCommandSupported("copy")?document.execCommand("copy"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("copy",{bubbles:!0,composed:!0})),!1)},{target:"mathfield"}),ne({cutToClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("cut")?document.execCommand("cut"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("cut",{bubbles:!0,composed:!0})),!0),pasteFromClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("paste")?(document.execCommand("paste"),!0):(navigator.clipboard.readText().then(y=>{y&&a.model.contentWillChange({inputType:"insertFromPaste",data:y})?(a.stopCoalescingUndo(),a.stopRecording(),a.insert(y,{mode:a.model.mode})&&(Zm(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Ad(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function qm(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=vm(a,y),{model:z}=a;return z.selectionIsCollapsed?(a.defaultStyle.fontSeries&&b.fontSeries===a.defaultStyle.fontSeries&&(b.fontSeries="auto"),b.fontShape&&b.fontShape===a.defaultStyle.fontShape&&(b.fontShape="auto"),b.color&&b.color===a.defaultStyle.color&&(b.color="none"),b.backgroundColor&&b.backgroundColor===a.defaultStyle.backgroundColor&&(b.backgroundColor="none"),b.fontSize&&b.fontSize===a.defaultStyle.fontSize&&(b.fontSize="auto"),a.defaultStyle=Ae(Ae({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{z.selection.ranges.forEach(re=>Xo(z,re,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}ne({applyStyle:qm},{target:"mathfield",canUndo:!0,changeContent:!0});function vm(a,y){var b,z,re,pe,ye,tt,ut,gt,_t,qt;const pn={};if(typeof y.color=="string"){const nr=(z=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?z:"none";nr!==y.color&&(pn.verbatimColor=(re=y.verbatimColor)!=null?re:y.color),pn.color=nr}if(typeof y.backgroundColor=="string"){const nr=(ye=a.backgroundColorMap((pe=y.backgroundColor)!=null?pe:y.verbatimBackgroundColor))!=null?ye:"none";nr!==y.backgroundColor&&(pn.verbatimBackgroundColor=(tt=y.verbatimBackgroundColor)!=null?tt:y.backgroundColor),pn.backgroundColor=nr}typeof y.fontFamily=="string"&&(pn.fontFamily=y.fontFamily),typeof y.series=="string"&&(pn.fontSeries=y.series),typeof y.fontSeries=="string"&&(pn.fontSeries=y.fontSeries.toLowerCase()),pn.fontSeries&&(pn.fontSeries=(ut={bold:"b",medium:"m",normal:"m"}[pn.fontSeries])!=null?ut:pn.fontSeries),typeof y.shape=="string"&&(pn.fontShape=y.shape),typeof y.fontShape=="string"&&(pn.fontShape=y.fontShape.toLowerCase()),pn.fontShape&&(pn.fontShape=(gt={italic:"it",up:"n",upright:"n",normal:"n"}[pn.fontShape])!=null?gt:pn.fontShape),y.variant&&(pn.variant=y.variant.toLowerCase()),y.variantStyle&&(pn.variantStyle=y.variantStyle.toLowerCase());const Kn=(_t=y.size)!=null?_t:y.fontSize;return typeof Kn=="number"?pn.fontSize=Math.max(1,Math.min(10,Kn)):typeof Kn=="string"&&(pn.fontSize=(qt={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[Kn.toLowerCase()])!=null?qt:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[Kn]),pn}function ym(a){let[y,b]=rd(a.selection);if(y=$m(a,y,"backward"),b=$m(a,b,"forward"),y===b){const z=a.at(y);if(z.type==="leftright")return a.setSelection(a.offsetOf(z.firstChild)-1,b);if(z.type==="first"&&(z.parent.type==="leftright"||z.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(z.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function $m(a,y,b){var z,re,pe;let ye=a.at(y);if(!ye)return y;const tt=b==="forward"?1:-1;if(ye.mode==="text"){for(;ye&&!(ye.mode!=="text"||!se.test(ye.value));)y+=tt,ye=a.at(y);return b==="backward"?y-1:y}if(ye.mode==="latex"){if(/[a-zA-Z\*]/.test(ye.value))if(b==="backward")for(;ye&&ye.mode==="latex"&&ye.value!=="\\"&&/[a-zA-Z]/.test(ye.value);)y+=tt,ye=a.at(y);else for(;ye&&ye.mode==="latex"&&/[a-zA-Z\*]/.test(ye.value);)y+=tt,ye=a.at(y);else if(ye.value==="{"){if(b==="forward"){for(;ye&&ye.mode==="latex"&&ye.value!=="}";)y+=tt,ye=a.at(y);return y}return y-1}else if(ye.value==="}"){if(b==="backward"){for(;ye&&ye.mode==="latex"&&ye.value!=="{";)y+=tt,ye=a.at(y);return y-1}return y}return y-1}if(ye.mode==="math"){if(ye.isDigit()){for(;(z=a.at(y+tt))!=null&&z.isDigit();)y+=tt;return b==="backward"?y-1:y}if(ye.style.variant||ye.style.variantStyle){let ut=(re=a.at(y))==null?void 0:re.style;for(;ut&&ut.variant===ye.style.variant&&ut.variantStyle===ye.style.variantStyle;)ut=(pe=a.at(y+tt))==null?void 0:pe.style,y+=tt;return b==="backward"?y-1:y}return y}return y}ne({selectGroup:a=>{const y=ym(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Rl(a,"forward",{extend:!0}),extendSelectionBackward:a=>Rl(a,"backward",{extend:!0}),extendToNextWord:a=>Oc(a,"forward",{extend:!0}),extendToPreviousWord:a=>Oc(a,"backward",{extend:!0}),extendSelectionUpward:a=>Rl(a,"upward",{extend:!0}),extendSelectionDownward:a=>Rl(a,"downward",{extend:!0}),extendToNextBoundary:a=>Oc(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Oc(a,"backward",{extend:!0}),extendToGroupStart:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).firstSibling));return y||a.announce("plonk"),y},extendToGroupEnd:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).lastSibling));return y||a.announce("plonk"),y},extendToMathFieldStart:a=>{const y=a.setSelection(a.anchor,0);return y||a.announce("plonk"),y},extendToMathFieldEnd:a=>{const y=a.setSelection(a.anchor,a.lastOffset);return y||a.announce("plonk"),y}},{target:"model",changeSelection:!0});var lf=null,m0=0,bm=class k0{static start(y,b,z,re){var pe;k0.element=y,(pe=k0.controller)==null||pe.abort(),k0.controller=new AbortController;const ye={signal:k0.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",z,ye),y.addEventListener("pointerup",re,ye),y.addEventListener("pointercancel",re,ye),Rd(b)&&(k0.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",z,ye),window.addEventListener("blur",re,ye),window.addEventListener("mouseup",re,ye))}static stop(){var y;(y=k0.controller)==null||y.abort(),k0.controller=void 0,typeof k0.pointerId=="number"&&(k0.element.releasePointerCapture(k0.pointerId),k0.pointerId=void 0)}};function Rd(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function eg(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const z=a;let re,pe=!1,ye=!1,tt="none",ut=!1,gt=!1;const _t=y.clientX,qt=y.clientY,pn=Date.now(),Kn=z.field,nr=setInterval(()=>{ut?Kn.scroll({top:0,left:Kn.scrollLeft-16}):gt&&Kn.scroll({top:0,left:Kn.scrollLeft+16})},32);function di(){bm.stop(),pe=!1,clearInterval(nr),a.element.classList.remove("tracking"),y&&y.preventDefault()}function Ha(na){if(!z.hasFocus()){di();return}const Ka=na.clientX,fa=na.clientY,Vo=Rd(na)&&na.pointerType==="touch"?20:5;if(Date.now()<pn+500&&Math.abs(_t-Ka)<Vo&&Math.abs(qt-fa)<Vo){na.preventDefault(),na.stopPropagation();return}const vs=Kn.getBoundingClientRect();gt=Ka>vs.right,ut=Ka<vs.left;let os=re;Rd(na)&&(na.isPrimary||(os=uf(z,na.clientX,na.clientY,{bias:0})));const xe=uf(z,Ka,fa,{bias:Ka<=_t?Ka===_t?0:-1:1});os>=0&&xe>=0&&(z.model.extendSelectionTo(os,xe),Ad(a)),ye&&ym(z.model)}lf&&Math.abs(lf.x-_t)<5&&Math.abs(lf.y-qt)<5&&Date.now()<lf.time+500?(m0+=1,lf.time=pn):(lf={x:_t,y:qt,time:pn},m0=1);const li=Kn.getBoundingClientRect();if(_t>=li.left&&_t<=li.right&&qt>=li.top&&qt<=li.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",re=uf(a,_t,qt,{bias:0}),re>=0){if(a.element.classList.add("tracking"),y.shiftKey){const na=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,re),gg(a.model)||na?tt="all":tt="selection"}else a.model.at(re).type==="placeholder"?(a.model.setSelection(re-1,re),tt="selection"):((b=a.model.at(re).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(re,re+1),tt="selection"):(a.model.position=re,gg(a.model)?tt="all":tt="selection");a.defaultStyle={},y.detail===3||m0>2?(di(),(y.detail===3||m0===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},tt="all")):pe||(pe=!0,bm.start(Kn,y,Ha,di),(y.detail===2||m0===2)&&(ye=!0,ym(a.model),tt="all"))}a.hasFocus()||(tt="none",a.focus({preventScroll:!0}))}else lf=null;a.stopCoalescingUndo(),tt!=="none"&&(a.model.selectionIsCollapsed&&(tt="all"),Ad(a)),y.preventDefault()}function g0(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const z=a-(b.left+b.right)/2,re=y-(b.top+b.bottom)/2;return z*z+re*re}function Up(a,y,b,z,re){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const pe=Oh(a,b);if(!pe)return[1/0,null];let ye=[1/0,null];if(b.hasChildren&&!b.captureSelection&&z>=pe.left&&z<=pe.right)for(const tt of b.children){const ut=Up(a,y,tt,z,re);ut[0]<=ye[0]&&(ye=ut)}return ye[1]||(ye=[g0(z,re,pe),b]),y.set(b.id,ye),ye}function Cg(a,y,b){const[,z]=Up(a,new Map,a.model.root,y,b);return z}function uf(a,y,b,z){var re;const pe=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!pe)return 0;if(y>pe.right||b>pe.bottom+8)return a.model.lastOffset;if(y<pe.left||b<pe.top-8)return 0;z=z!=null?z:{},z.bias=(re=z.bias)!=null?re:0;let ye=Cg(a,y,b);const tt=[];let ut=ye;for(;ut;)tt.unshift(ut),ut=ut.parent;for(const _t of tt)if(_t.captureSelection){ye=_t;break}let gt=a.model.offsetOf(ye);if(gt<0)return-1;if(ye.leftSibling)if(z.bias===0&&ye.type!=="placeholder"){const _t=Oh(a,ye);_t&&y<(_t.left+_t.right)/2&&(gt=a.model.offsetOf(ye.leftSibling))}else z.bias<0&&(gt=a.model.offsetOf(ye.leftSibling));return gt}var mA=class extends zs{constructor(){super("math")}onPaste(a,y){if(!y||!a.model.contentWillChange({data:typeof y=="string"?y:null,dataTransfer:typeof y=="string"?null:y,inputType:"insertFromPaste"}))return!1;let b="",z="auto",re=typeof y!="string"?y.getData("application/json+mathlive"):"";if(re)try{const pe=JSON.parse(re);if(pe&&Array.isArray(pe)){a.snapshot();const ye=ll(pe),{model:tt}=a;tt.selectionIsCollapsed||tt.deleteAtoms(rd(tt.selection));const ut=tt.at(tt.position);if(ut.parent instanceof rl){console.assert(ut.parentBranch!==void 0);const gt=[];let _t=[];ye[0].type==="first"&&ye.shift(),ye[ye.length-1].type==="first"&&ye.pop();for(const nr of ye)nr.type==="first"&&_t.length>0?(gt.push(_t),_t=[nr]):_t.push(nr);_t.length>0&&gt.push(_t);let qt=Number(ut.parentBranch[0]),pn=Number(ut.parentBranch[1]);const Kn=ut.parent.maxColumns;for(;ut.parent.colCount-pn<gt.length&&ut.parent.colCount<Kn;)ut.parent.addColumn();ut.parent.addChildrenAfter(gt[0],ut);for(let nr=1;nr<gt.length;nr++)pn++,pn>=Kn&&(pn=0,ut.parent.addRowAfter(qt),qt++),ut.parent.setCell(qt,pn,gt[nr])}else ut.parent.addChildrenAfter(ye.filter(gt=>gt.type!=="first"),ut);return tt.position=tt.offsetOf(ye[ye.length-1]),tt.contentDidChange({inputType:"insertFromPaste"}),Ad(a),!0}}catch(pe){}if(re=typeof y!="string"?y.getData("application/json"):"",re&&window.MathfieldElement.computeEngine)try{const pe=JSON.parse(re);if(typeof pe=="object"&&"latex"in pe&&pe.latex&&(b=pe.latex),!b){const ye=window.MathfieldElement.computeEngine.box(pe);ye&&!ye.has("Error")&&(b=ye.latex)}b||(z="latex")}catch(pe){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(z="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let pe;return[pe,b]=Af(b),z==="auto"&&pe&&(z="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:z})&&(a.startRecording(),a.snapshot("paste"),Ad(a)),a.startRecording(),!0}return!1}insert(a,y,b){var z,re;const pe=typeof y=="string"?y:(re=(z=window.MathfieldElement.computeEngine)==null?void 0:z.box(y).latex)!=null?re:"";if(!b.silenceNotifications&&!a.contentWillChange({data:pe,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:ye}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const tt=a.silenceNotifications;a.silenceNotifications=!0;const ut={"?":"\\placeholder{}","@":"\\placeholder{}"};ut[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(rd(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward"),!a.at(a.position).isLastSibling&&a.at(a.position+1).type==="placeholder"?a.deleteAtoms([a.position,a.position+1]):a.at(a.position).type==="placeholder"&&a.deleteAtoms([a.position-1,a.position]);let gt=-1;ut[0]?ut["@"]=ut[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(gt=Xg(a),gt>=0&&(ut["@"]=a.getValue(gt,a.position,"latex"))),ut[0]||(ut[0]=ut["?"]);let _t=!1;const qt=Ka=>(_t=!0,ut[Ka]);let[pn,Kn]=v0(a,y,qt,b);if(!Kn)return!1;const nr=Kn.length===1&&Kn[0].type==="genfrac";nr&&gt>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(ut["@"]=ut["?"],_t=!1,[pn,Kn]=v0(a,y,qt,b)):gt>=0&&a.deleteAtoms([gt,a.position]);const{parent:di}=a.at(a.position),Ha=di.hasEmptyBranch("body");if(nr&&pn!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&di instanceof lu&&di.leftDelim==="("&&Ha){const Ka=di.parent,fa=di.parentBranch;Ka.removeChild(di),Ka.setChildren(Kn,fa)}const li=a.at(a.position);li.parent.addChildrenAfter(Kn,li),pn==="latex"&&typeof y=="string"&&(di==null?void 0:di.type)==="root"&&Ha&&!_t&&(di.verbatimLatex=y),a.silenceNotifications=tt;const na=Kn[Kn.length-1];if(b.selectionMode==="placeholder"){const Ka=Kn.flatMap(fa=>[fa,...fa.children]).find(fa=>fa.type==="placeholder");if(Ka){const fa=a.offsetOf(Ka);a.setSelection(fa-1,fa),a.announce("move")}else na&&(a.position=a.offsetOf(na))}else b.selectionMode==="before"||(b.selectionMode==="after"?na&&(a.position=a.offsetOf(na)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(na)));return a.contentDidChange({data:pe,inputType:"insertText"}),a.silenceNotifications=ye,!0}};function v0(a,y,b,z){var re;let pe,ye=[];if(typeof y!="string"||z.format==="math-json"){const tt=window.MathfieldElement.computeEngine;if(!tt)return["math-json",[]];[pe,y]=["latex",tt.box(y).latex],ye=dd(y,{context:a.mathfield.context})}else typeof y=="string"&&z.format==="ascii-math"?([pe,y]=O0(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),ye=dd(y,{context:a.mathfield.context}),pe!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&wm(ye)):(z.format==="auto"||(re=z.format)!=null&&re.startsWith("latex"))&&(z.format==="auto"&&([pe,y]=O0(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),z.format==="latex"&&([,y]=Af(y)),ye=dd(y,{context:a.mathfield.context,args:b}),z.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&wm(ye));return jn(ye,z.style),[pe!=null?pe:"latex",ye]}function Bg(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof lu&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function wm(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof lu&&b.leftDelim==="("){let z=0,re=0,pe=0;for(let ye=0;b.body[ye];ye++)b.body[ye].type==="genfrac"&&(z++,re=ye),pe++;pe===0&&z===1&&(a[y]=b.body[re])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){wm(y.branch(b));const z=Bg(y.branch(b));z&&y.setChildren(z,b)}if(y instanceof rl)for(const b of y.cells)wm(b)}}}function Xg(a){let y=a.at(a.position);if(y.mode==="text"){for(;!y.isFirstSibling&&y.mode==="text";)y=y.leftSibling;return a.offsetOf(y)}const b=y;let z=!1;if(y.type==="mclose"){const re=le[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===re);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),z=!0}else y.type==="leftright"&&(y=y.leftSibling,z=!0);if(z)for(;!y.isFirstSibling&&(y.isFunction||jh(y));)y=y.leftSibling;else{const re=[];for(;!y.isFirstSibling&&(jh(y)||re.length>0);)y.type==="mclose"&&re.unshift(y.value),y.type==="mopen"&&re.length>0&&y.value===le[re[0]]&&re.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function jh(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new mA;var Sg=class extends zs{constructor(){super("text")}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.model.contentDidChange({inputType:"insertFromPaste"}),a.startRecording(),a.snapshot("paste"),Ad(a)),a.startRecording(),!0):!1}insert(a,y,b={}){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:z}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const re=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(rd(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const pe=Eg(y,a.mathfield.context);if(jn(pe,b.style),!pe)return!1;const ye=a.at(a.position),tt=ye.parent.addChildrenAfter(pe,ye);return a.silenceNotifications=re,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(tt)):tt&&(a.position=a.offsetOf(tt))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function Eg(a,y){return a=a.replace(/\\/g,"\\textbackslash "),a=a.replace(/#/g,"\\#"),a=a.replace(/\$/g,"\\$"),a=a.replace(/%/g,"\\%"),a=a.replace(/&/g,"\\&"),a=a.replace(/_/g,"\\_"),a=a.replace(/{/g,"\\textbraceleft "),a=a.replace(/}/g,"\\textbraceright "),a=a.replace(/lbrace/g,"\\textbraceleft "),a=a.replace(/rbrace/g,"\\textbraceright "),a=a.replace(/\^/g,"\\textasciicircum "),a=a.replace(/~/g,"\\textasciitilde "),a=a.replace(/£/g,"\\textsterling "),dd(a,{context:y,parseMode:"text"})}new Sg;function hf(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var Ku=4,zA=20,vd=2*(zA+Ku),xm=(a,y)=>`
<line x1="${a+zA}" y1="${y+zA}"
x2="${a>y?a+zA:7*zA+10*Ku}"
y2="${a<y?y+zA:7*zA+10*Ku}"/>
<svg id="plus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<path class="font" d="m33.33,20c0,1.84-1.49,3.34-3.33,3.34h-6.67v6.66c0,1.84-1.49,3.34-3.33,3.34s-3.34-1.5-3.34-3.34v-6.66h-6.66c-1.84,0-3.34-1.5-3.34-3.34s1.5-3.33,3.34-3.33h6.66v-6.67c0-1.84,1.5-3.33,3.34-3.33s3.33,1.49,3.33,3.33v6.67h6.67c1.84,0,3.33,1.49,3.33,3.33Z"/>
</svg>`,Cm=(a,y)=>`
<line x1="${a+zA}" y1="${y+zA}"
x2="${a>y?a+zA:7*zA+10*Ku}"
y2="${a<y?y+zA:7*zA+10*Ku}"/>
<svg id="minus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<path class="font" d="m33.33,20c0,1.84-1.49,3.33-3.33,3.33H10c-1.84,0-3.34-1.49-3.34-3.33s1.5-3.34,3.34-3.34h20c1.84,0,3.33,1.5,3.33,3.34Z"/>
</svg>`,Hp=(a,y,b)=>`
<svg id="arrow" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<g transform="rotate(${b})" transform-origin="20 20">
<path class="font" d="m17.7,7.23h4.6c.52,0,.94.42.94.94v13.82c0,.52.42.94.94.94h3.39c.83,0,1.25,1.01.66,1.6l-7.56,7.56c-.37.37-.96.37-1.32,0l-7.56-7.56c-.59-.59-.17-1.6.66-1.6h3.39c.52,0,.94-.42.94-.94v-13.82c0-.52.42-.94.94-.94Z"/>
</g>
</svg>`,Qh=`
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox=
"-2 -2 ${8*zA+10*Ku+5} ${8*zA+10*Ku+5}">
<rect
class="MLEP__array-insert-background rows"
x="0"
y="${vd+Ku}"
height="${3*vd}"
width="${vd}"
rx="${vd/2}"/>
<rect
class="MLEP__array-insert-background columns"
x="${vd+Ku}"
y="0"
height="${vd}"
width="${3*vd}"
rx="${vd/2}"/>
<g data-command='"moveDown"'>
${Hp(2*(Ku+vd),2*Ku+3*vd,0)}
</g>
<g data-command='"moveUp"'>
${Hp(2*(Ku+vd),2*Ku+vd,180)}
</g>
<g data-command='"moveToNextWord"'>
${Hp(2*Ku+3*vd,2*(Ku+vd),-90)}
</g>
<g data-command='"moveToPreviousWord"'>
${Hp(2*Ku+vd,2*(Ku+vd),90)}
</g>
<g>
<g data-command='"addColumnBefore"'>
${xm(2*Ku+vd,Ku)}
</g>
<g data-command='"removeColumn"'>
${Cm(2*Ku+2*vd,Ku)}
</g>
<g data-command='"addColumnAfter"'>
${xm(2*Ku+3*vd,Ku)}
</g>
<g data-command='"addRowBefore"'>
${xm(Ku,2*Ku+vd)}
</g>
<g data-command='"removeRow"'>
${Cm(Ku,2*Ku+2*vd)}
</g>
<g data-command='"addRowAfter"'>
${xm(Ku,2*Ku+3*vd)}
</g>
</svg>`,Jg=a=>`
<svg id="matrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","matrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/></svg>`,jp=a=>`
<svg id="pmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","pmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4c-3.96,4.6-3.96,11.4,0,16"/>
<path class="cls-2" d="m22,4c3.96,4.6,3.96,11.4,0,16"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/></svg>`,Bm=a=>`
<svg id="Bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","Bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
<path class="cls-2" d="m22,4c1.1,0,2,.9,2,2v3c0,1.66.9,3,2,3-1.1,0-2,1.34-2,3v3c0,1.1-.9,2-2,2"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,qg=a=>`
<svg id="bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4h-3v16h3"/>
<path class="cls-2" d="m22,4h3v16h-3"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,Yl=a=>`
<svg id="vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","vmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
<line class="cls-2" x1="4" y1="4" x2="4" y2="20"/>
<line class="cls-2" x1="24" y1="4" x2="24" y2="20"/>
</svg>`,$g=a=>`
<svg id="Vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="-3.5 -3 35 30"
data-command='["setEnvironment","Vmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
<line class="cls-2" x1="6" y1="4" x2="6" y2="20"/>
<line class="cls-2" x1="22" y1="4" x2="22" y2="20"/>
<line class="cls-2" x1="2" y1="4" x2="2" y2="20"/>
<line class="cls-2" x1="26" y1="4" x2="26" y2="20"/>
</svg>`,ev=a=>`
<svg id="cases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","cases"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m10,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
<circle cx="13" cy="8" r="1"/>
<circle cx="13" cy="16" r="1"/>
<circle cx="21" cy="8" r="1"/>
<circle cx="21" cy="16" r="1"/>
</svg>`,tv=a=>`
<svg id="rcases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","rcases"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m18,20c1.1,0,2-.9,2-2v-3c0-1.66.9-3,2-3-1.1,0-2-1.34-2-3v-3c0-1.1-.9-2-2-2"/>
<circle cx="15" cy="8" r="1"/>
<circle cx="15" cy="16" r="1"/>
<circle cx="7" cy="8" r="1"/>
<circle cx="7" cy="16" r="1"/>
</svg>`,zh={matrix:Jg,pmatrix:jp,bmatrix:qg,Bmatrix:Bm,vmatrix:Yl,Vmatrix:$g},Kh={cases:ev,rcases:tv,Bmatrix:Bm};function nv(a){var y,b;const z=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!z)return;let re=0;z.forEach(nr=>{(!re||nr.length>re)&&(re=nr.length)});let pe=document.getElementById("mathlive-environment-popover");pe||(pe=Vm("mathlive-environment-popover"),rf("environment-popover"),rf("core"),pe.setAttribute("aria-hidden","true"));let ye;const tt=pe.querySelector(".MLEP__environment-controls");tt?ye=tt:(ye=document.createElement("div"),pe.innerHTML="",pe.appendChild(ye)),ye.className="MLEP__environment-controls",ye.style.display="flex",ye.style.width="100%",ye.style.height="100%",ye.style.boxSizing="border-box",ye.innerHTML=Qh;let ut=[],gt="";const _t=a.model.parentEnvironment.environmentName;if(Od(_t)){const nr=Qp(_t);gt=zh[nr]("active");const di=zh,{[nr]:Ha}=di,li=ze(di,[fe(nr)]);ut=Object.values(li).map(na=>na("inactive"))}else if(Sd(_t)){const nr=rv(_t);gt=Kh[nr]("active");const di=Kh,{[nr]:Ha}=di,li=ze(di,[fe(nr)]);ut=Object.values(li).map(na=>na("inactive"))}else cd(_t)&&(gt=zh.matrix("active"),ut=Object.values(Kh).map(nr=>nr("inactive")));const qt=document.createElement("div");qt.className="MLEP__environment-delimiter-controls",qt.style.display="flex",qt.style.flexDirection="column",qt.innerHTML=`
<div class='MLEP__array-delimiter-options'>
${gt}
${ut.join("")}
</div>`,gt&&ye.appendChild(qt),ye.querySelectorAll("[data-command]").forEach(nr=>{const di=nr.dataset.command;let Ha=di;try{Ha=JSON.parse(di)}catch(li){}nr.addEventListener("mousedown",li=>li.preventDefault()),Ha&&nr.addEventListener("click",()=>a.executeCommand(Ha))});const Kn=(b=a.field)==null?void 0:b.getBoundingClientRect();Kn&&(pe.style.top=`${window.scrollY+(Kn.top-pe.clientHeight-15)}px`,pe.style.left=`${Kn.left+20}px`,pe.classList.add("is-visible"))}function tg(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function Sm(){document.getElementById("mathlive-environment-popover")&&(Vg("mathlive-environment-popover"),x("environment-popover"),x("core"))}function Ap(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&Sc(b.environmentName)){const z=a.options.environmentPopoverPolicy;y=z==="auto"||z==="on"}}y?nv(a):tg()}function Qp(a){return a.replace("*","")}function rv(a){return a==="dcases"?"cases":a}function y0(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function Fg(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function zp(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="rtl"||b==="end"&&z==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function ng(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="ltr"||b==="end"&&z==="rtl"||b==="top"||b==="right"?a:a-y}function kg(a,y){var b,z,re;const pe=(b=y0(a))!=null?b:"ltr";a.style.position="fixed",a.style.left="",a.style.top="",a.style.right="",a.style.bottom="",a.style.height="",a.style.width="";const ye=a.getBoundingClientRect(),tt=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let ut=Math.min(tt,(z=y.height)!=null?z:ye.height),gt=zp(y.location.y,ut,y.verticalPos,pe);gt+ut>window.innerHeight-8&&(y.alternateLocation?(gt=zp(y.alternateLocation.y,ut,y.verticalPos,pe),gt+ut>window.innerHeight-8&&(gt=void 0)):gt=void 0),Number.isFinite(gt)||(gt=Math.max(8,window.innerHeight-8-ut),8+ut>window.innerHeight-8&&(a.style.bottom="8px")),ut=Math.min(gt+ut,window.innerHeight-8)-gt;const _t=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let qt=Math.min(_t,(re=y.width)!=null?re:ye.width),pn=zp(y.location.x,qt,y.horizontalPos,pe);pn+qt>window.innerWidth-8&&(y.alternateLocation?(pn=ng(y.alternateLocation.x,qt,y.verticalPos,pe),pn+qt>window.innerWidth-8&&(pn=void 0)):pn=void 0),Number.isFinite(pn)||(pn=Math.max(8,window.innerWidth-8-qt),8+qt>window.innerWidth-8&&(a.style.right="8px")),qt=Math.min(pn+qt,window.innerWidth-8)-pn,pe==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-pn-qt).toString()}px`:a.style.left=`${Math.ceil(pn).toString()}px`,a.style.top=`${Math.ceil(gt).toString()}px`,ut!==ye.height&&(a.style.height=`${Math.ceil(ut).toString()}px`),qt!==ye.width&&(a.style.width=`${Math.ceil(qt).toString()}px`)}function W0(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function b0(a){return"submenu"in a}function pf(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function Kp(a){return"type"in a&&a.type==="divider"}function Z0(a){return"type"in a&&a.type==="heading"}var Em={};function Fm(a){let y=Em[a];if(!y){let b;switch(a){case"checkmark":b=`<span aria-hidden="true" class="ui-checkmark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg>
</span>`;break;case"trailing-chevron":b='<span aria-hidden="true" class="ui-trailing-chevron"><svg focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg></span>';break;case"mixedmark":b='<span aria-hidden="true" class="ui-mixedmark"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z"/></svg></span>'}if(b){const z=document.createElement("template");z.innerHTML=b,Em[a]=z,y=z}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var rg=80,w0=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,b0(a)?(this.type="submenu",this.submenu=new fp(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=pf(a)&&a.checked!==void 0}get rootMenu(){return this.parentMenu.rootMenu}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}dispose(){var a,y;(a=this._abortController)==null||a.abort(),this._abortController=void 0,(y=this._element)==null||y.remove(),this._element=null,this.submenu&&this.submenu.dispose(),this.submenu=void 0}get menuItem(){return this._declaration}get label(){var a;return(a=this._label)!=null?a:""}set label(a){a===void 0&&(a=""),a!==this._label&&(this._label=a,this.dirty=!0)}get visible(){return this._visible}set visible(a){a!==this._visible&&(this._visible=a,this.dirty=!0)}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.element&&(a?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")),this.dirty=!0}get checked(){return this._checked}set checked(a){this._checked=a,this.dirty=!0}get tooltip(){return this._tooltip}set tooltip(a){a!==this._tooltip&&(this._tooltip=a,this.dirty=!0)}get ariaLabel(){return this._ariaLabel}set ariaLabel(a){a!==this._ariaLabel&&(this._ariaLabel=a,this.dirty=!0)}get active(){var a,y;return(y=(a=this.element)==null?void 0:a.classList.contains("active"))!=null?y:!1}set active(a){this.element&&this.element.classList.toggle("active",a)}updateState(a){var y,b,z;const re=this._declaration;if(Kp(re)){this.enabled=!1,this.checked=!1;return}Z0(re)&&(this.enabled=!1,this.checked=!1,this.visible=!0),pf(re)&&(this.checked=pf(re)&&((y=G0(re.checked,a))!=null?y:!1)),(pf(re)||b0(re))&&(this.enabled=(b=G0(re.enabled,a))!=null?b:!0,this.visible=(z=G0(re.visible,a))!=null?z:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(pf(re)||Z0(re)||b0(re))&&(this.label=G0(re.label,a),this.tooltip=G0(re.tooltip,a),this.ariaLabel=G0(re.ariaLabel,a)),this._element&&this.updateElement()}set dirty(a){console.assert(a===!0),a&&this.parentMenu&&(this.parentMenu.dirty=!0)}updateElement(){if(!this.visible||!this.element)return;const a=this.element;a.textContent="",this.enabled?a.removeAttribute("aria-disabled"):a.setAttribute("aria-disabled","true"),this.checked===!0?(a.setAttribute("aria-checked","true"),a.append(Fm("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Fm("mixedmark"))):a.removeAttribute("aria-checked"),this.ariaLabel&&a.setAttribute("aria-label",this.ariaLabel);const y=document.createElement("span");if(y.className=this.parentMenu.hasCheck?"label indent":"label",this.type==="heading"&&y.classList.add("heading"),y.innerHTML=this.label,a.append(y),this._tooltip&&a.setAttribute("data-tooltip",this._tooltip),pf(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=Kf(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Fm("trailing-chevron"))}get element(){if(this._element)return this._element;if(Kp(this._declaration)){const b=document.createElement("li");return b.setAttribute("part","menu-divider"),b.setAttribute("role","divider"),this._element=b,b}const a=document.createElement("li");this._element=a,(pf(this._declaration)||Z0(this._declaration)||b0(this._declaration))&&this._declaration.class&&(a.className=this._declaration.class),a.setAttribute("part","menu-item"),a.setAttribute("tabindex","-1"),this.hasCheck?a.setAttribute("role","menuitemcheckbox"):a.setAttribute("role","menuitem"),this.type==="submenu"&&(a.setAttribute("aria-haspopup","true"),a.setAttribute("aria-expanded","false"));const y=this.abortController.signal;return a.addEventListener("pointerenter",this,{signal:y}),a.addEventListener("pointerleave",this,{signal:y}),a.addEventListener("pointerup",this,{signal:y}),a.addEventListener("click",this,{signal:y}),this._element}dispatchSelect(){if(!pf(this._declaration))return;const a=new CustomEvent("menu-select",{cancelable:!0,bubbles:!0,detail:{modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data}});this.parentMenu.dispatchEvent(a)&&typeof this._declaration.onMenuSelect=="function"&&this._declaration.onMenuSelect({modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data})}handleEvent(a){var y;if(!(!this.visible||!this.enabled)){if(a.type==="click"){this.rootMenu.state==="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}if(a.type==="pointerenter"){const b=a;this.rootMenu.cancelDelayedOperation(),this.parentMenu.isSubmenuOpen&&((y=this.parentMenu.activeMenuItem)!=null&&y.movingTowardSubmenu(b))?this.rootMenu.scheduleOperation(()=>{this.parentMenu.activeMenuItem=this,this.openSubmenu()}):(this.parentMenu.activeMenuItem=this,this.openSubmenu({withDelay:!0}));return}if(a.type==="pointerleave"){this.rootMenu.activeSubmenu===this.parentMenu&&(this.parentMenu.activeMenuItem=null);return}if(a.type==="pointerup"){this.rootMenu.state!=="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}}}select(){if(this.rootMenu.cancelDelayedOperation(),this.type==="submenu"){this.openSubmenu();return}this.active=!1,setTimeout(()=>{this.active=!0,setTimeout(()=>{this.rootMenu.hide(),this.dispatchSelect()},rg)},rg)}openSubmenu(a){var y;if(this.type!=="submenu"||!this.element)return;if((y=a==null?void 0:a.withDelay)!=null&&y){this.rootMenu.scheduleOperation(()=>this.openSubmenu());return}const b=this.element.getBoundingClientRect(),z=y0(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:Fg(b,"trailing",z),y:b.top-4},alternateLocation:{x:Fg(b,"leading",z),y:b.top-4}})}movingTowardSubmenu(a){if(!this.element||this.type!=="submenu")return!1;const y=this.rootMenu.lastMoveEvent;if(!y)return!1;const b=a.timeStamp-y.timeStamp;if(b>500)return!1;const z=a.clientX-y.clientX;if(V0(z,y.clientY-a.clientY,b)<=.2)return!1;let pe="right";if(this.submenu.element){const ye=this.submenu.element.getBoundingClientRect(),tt=this.element.getBoundingClientRect();ye.left<tt.left+tt.width/2&&(pe="left")}return pe==="right"?z>0:z<0}};function V0(a,y,b){return Math.hypot(a,y)/b}function G0(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var fp=class Hg{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var z,re;this.parentMenu=(z=b==null?void 0:b.parentMenu)!=null?z:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(re=b==null?void 0:b.columnCount)!=null?re:1,this.isSubmenuOpen=!1,this.menuItems=y}get children(){return this._menuItems}set menuItems(y){const b=this.parentMenu;this.dispose(),this.parentMenu=b,y=[...y],this._menuItems=y.map(z=>z.onCreate?z.onCreate(z,this):new w0(z,this)),this.hasCheck=void 0,this.dirty=!0}dispose(){var y;this.hide(),this._element&&this._element.remove(),this._abortController&&this._abortController.abort(),(y=this._menuItems)==null||y.forEach(b=>b.dispose()),this._menuItems=[],this._activeMenuItem=null,this.parentMenu=null}handleEvent(y){if(y.type==="wheel"&&this._element){const b=y;this._element.scrollBy(0,b.deltaY),y.stopPropagation()}}dispatchEvent(y){return this.rootMenu.dispatchEvent(y)}get rootMenu(){return this.parentMenu.rootMenu}updateState(y){var b,z,re;this._menuItems.forEach(gt=>gt.updateState(y));const pe=this.hasCheck;this.hasCheck=this._menuItems.some(gt=>gt.visible&&gt.hasCheck),this.hasCheck!==pe&&this._menuItems.forEach(gt=>gt.updateState(y));let ye,tt=0;for(const gt of this._menuItems)gt.type==="heading"?(ye&&tt===0&&(ye.visible=!1),ye=gt,tt=0):gt.type==="divider"&&ye?(ye.visible=tt>0,ye=void 0,tt=0):ye&&gt.visible&&(tt+=1);ye&&(ye.visible=tt>0);let ut=!0;for(const gt of this._menuItems)gt.type==="divider"?(gt.visible=!ut,ut=!0):gt.visible&&(ut=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((z=this.activeMenuItem)!=null&&z.enabled)&&((re=this.activeMenuItem)==null?void 0:re.type)==="submenu"&&this._activeMenuItem.submenu.hide(),this._dirty=!1}get enabled(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible&&y.enabled)}get visible(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible)}set dirty(y){console.assert(y===!0),this._dirty!==y&&y&&this.parentMenu&&(this._dirty=!0,this.parentMenu.dirty=!0)}updateIfDirty(){this._dirty&&this.updateState(this.rootMenu.modifiers)}updateElement(){var y;if(this._element){this._element.textContent="";for(const{element:b,visible:z}of this._menuItems)b&&z&&this._element.append(b);(y=this._element.querySelector("li:first-of-type"))==null||y.setAttribute("tabindex","0")}}get element(){if(this._element)return this._element;const y=document.createElement("menu");y.setAttribute("role","menu"),y.setAttribute("tabindex","-1"),y.setAttribute("aria-orientation","vertical"),y.setAttribute("part","ui-menu-container"),this._submenuClass&&y.classList.add(this._submenuClass),y.classList.add("ui-menu-container"),this._abortController||(this._abortController=new AbortController);const b=this._abortController.signal;return y.addEventListener("focus",this,{signal:b}),y.addEventListener("wheel",this,{passive:!0,signal:b}),this._element=y,this.updateElement(),y}get activeMenuItem(){return this._activeMenuItem}set activeMenuItem(y){var b,z,re,pe;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const ye=this.activeMenuItem;ye.active=!1,(b=ye.submenu)==null||b.hide()}if(!((z=y==null?void 0:y.visible)==null||z)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(re=y.element)==null||re.focus({preventScroll:!0}):(pe=this._element)==null||pe.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const z=this._menuItems;for(;!b&&y<=z.length-1;){const re=z[y];b=re.type!=="divider"&&re.visible&&re.enabled,y+=1}return b?z[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,z=!1;for(;!z&&b>=0;){const re=y[b];z=re.type!=="divider"&&re.visible&&re.enabled,b-=1}return z?y[b+1]:null}nextMenuItem(y){if(y===0)return this._activeMenuItem;if(!this._activeMenuItem)return y>0?this.firstMenuItem:this.lastMenuItem;if(!this.firstMenuItem||!this.lastMenuItem||!this._activeMenuItem)return null;this.updateIfDirty();const b=this._menuItems.indexOf(this.firstMenuItem),z=this._menuItems.indexOf(this.lastMenuItem);let re=this._menuItems.indexOf(this._activeMenuItem),pe=1;for(;re>=b&&re<=z;){re+=y>0?1:-1;const ye=this._menuItems[re];if(!ye)break;if(ye.visible&&ye.enabled){if(pe===Math.abs(y))return this._menuItems[re];pe+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const z=this._menuItems.filter(re=>re.visible&&re.enabled).indexOf(y);return z<0?-1:z%this.columnCount}static get collator(){return Hg._collator||(Hg._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),Hg._collator}findMenuItem(y){var b;this.updateIfDirty();const z=this._menuItems.filter(tt=>tt.type!=="divider"&&tt.visible&&tt.enabled);if(z.length===0)return null;const re=Math.max(...z.map(tt=>tt.label.length))-y.length;if(re<0)return null;let pe=null,ye=0;for(;ye<re&&!pe;)pe=(b=z.find(tt=>Hg.collator.compare(y,tt.label.substring(ye,y.length))===0))!=null?b:null,ye++;return pe}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),Xe()&&(this.element.popover="manual",this.element.showPopover()),y.location&&kg(this.element,{location:y.location,alternateLocation:y.alternateLocation,verticalPos:"bottom",horizontalPos:"start"}),this.element.focus({preventScroll:!0}),this.parentMenu&&(this.parentMenu.openSubmenu=this),!0)}hide(){var y,b,z,re,pe;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),Xe()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(z=(b=this.parentMenu)==null?void 0:b.element)==null||z.focus(),(pe=(re=this._element)==null?void 0:re.parentNode)==null||pe.removeChild(this._element)}set openSubmenu(y){var b,z,re,pe;const ye=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((z=this.activeMenuItem.element)==null||z.setAttribute("aria-expanded",ye.toString())),(pe=(re=this.activeMenuItem)==null?void 0:re.element)==null||pe.classList.toggle("is-submenu-open",ye),this.isSubmenuOpen=ye}},ig=class dy extends fp{constructor(y,b){var z;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(z=b==null?void 0:b.host)!=null?z:null,this.isDynamic=y.some(an),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){hh(this._modifiers,y)||(this._modifiers=y,this.dirty=!0)}get activeSubmenu(){let y=this;for(;y.isSubmenuOpen;)y=y.activeMenuItem.submenu;return y}set dirty(y){this._updating||(console.assert(y===!0),this._dirty!==y&&(this._dirty=!0,y&&setTimeout(()=>{this.updateState(this.modifiers),this.updateElement()})))}updateState(y){this._updating=!0,this.modifiers=y!=null?y:this.modifiers,super.updateState(this.modifiers),this._updating=!1}handleKeyupEvent(y){this.isDynamic&&(this.modifiers=of(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,z,re;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=of(y));let pe=!0;const ye=this.activeSubmenu,tt=ye.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":tt==null||tt.select(of(y));break;case"ArrowRight":if((tt==null?void 0:tt.type)==="submenu")tt.select(of(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!tt)ye.activeMenuItem=ye.firstMenuItem;else{const ut=(b=ye.getMenuItemColumn(tt))!=null?b:-1;if(ut>=0&&ut<((z=ye.columnCount)!=null?z:1)-1){const gt=ye.nextMenuItem(1);gt&&(ye.activeMenuItem=gt)}}break;case"ArrowLeft":if(ye===this.rootMenu)tt||(ye.activeMenuItem=ye.firstMenuItem);else if((tt&&(re=ye.getMenuItemColumn(tt))!=null?re:-1)<=0||!tt){ye.hide();const gt=ye.parentMenu.activeMenuItem;if(gt){const{element:_t}=gt;_t==null||_t.focus(),_t==null||_t.classList.remove("is-submenu-open")}}else{const gt=ye.nextMenuItem(-1);gt&&(ye.activeMenuItem=gt)}break;case"ArrowDown":ye.activeMenuItem=ye.nextMenuItem(ye.columnCount);break;case"ArrowUp":ye.activeMenuItem=ye.nextMenuItem(-ye.columnCount);break;case"Home":case"PageUp":ye.activeMenuItem=ye.firstMenuItem;break;case"End":case"PageDown":ye.activeMenuItem=ye.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const ut=ye.findMenuItem(this.typingBuffer);ut&&(ye.activeMenuItem=ut),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(_f(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const ut=ye.findMenuItem(this.typingBuffer);ut&&(ye.activeMenuItem=ut),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else pe=!1}pe&&(y.preventDefault(),y.stopPropagation())}handleEvent(y){if(y.type==="keydown")this.handleKeydownEvent(y);else if(y.type==="keyup")this.handleKeyupEvent(y);else if(y.type==="pointermove")this.lastMoveEvent=y;else if(y.type==="pointerup"&&y.target===this.scrim)Number.isFinite(this.rootMenu._openTimestamp)&&Date.now()-this.rootMenu._openTimestamp<120?this.state="modal":this.state==="modal"&&this.hide();else if(y.type==="contextmenu"){y.preventDefault(),y.stopPropagation();return}super.handleEvent(y)}dispatchEvent(y){return this._host?this._host.dispatchEvent(y):!0}get scrim(){return hA.element}connectScrim(y){const b=this.scrim;b.addEventListener("pointerup",this),b.addEventListener("contextmenu",this),b.addEventListener("keydown",this),b.addEventListener("keyup",this),b.addEventListener("pointermove",this),hA.open({root:y,onDismiss:()=>this.hide()})}disconnectScrim(){const y=this.scrim;y.removeEventListener("pointerup",this),y.removeEventListener("contextmenu",this),y.removeEventListener("keydown",this),y.removeEventListener("keyup",this),y.removeEventListener("pointermove",this),hA.state==="open"&&hA.scrim.close()}get rootMenu(){return this}show(y){return this._onDismiss=y==null?void 0:y.onDismiss,y!=null&&y.modifiers&&(this.modifiers=y.modifiers),this.updateState(),this.connectScrim(y==null?void 0:y.target),super.show(we(Ae({},y),{container:this.scrim}))?(this._openTimestamp=Date.now(),this.state="open",!0):(this.disconnectScrim(),!1)}hide(){this.cancelDelayedOperation(),this.state!==void 0&&(this.state!=="closed"&&(this.activeMenuItem=null,hA.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=dy.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};ig.SUBMENU_DELAY=120;var ct=ig;function an(a){return Kp(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(pf(a)||b0(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||pf(a)&&typeof a.checked=="function"?!0:b0(a)?a.submenu.some(an):!1}var $n=class{};$n.DELAY=300,$n.MAX_DISTANCE=10;function kr(a){return new Promise((y,b)=>{const z=fh(a);z||y(!1);let re=z;const pe=setTimeout(()=>{ye.abort(),y(W0(re,z)<$n.MAX_DISTANCE)},$n.DELAY),ye=new AbortController,tt=ye.signal;for(const ut of["pointermove","pointerup","pointercancel"])window.addEventListener(ut,gt=>{if(gt.type==="pointerup"||gt.type==="pointercancel")clearTimeout(pe),ye.abort(),y(!1);else if(gt.type==="pointermove"){const _t=fh(gt);_t&&(re=_t)}},{passive:!0,signal:tt})})}function ai(a,y,b){return Um(this,null,function*(){if(a.type==="contextmenu"){const z=a;if(b.show({target:y,location:fh(z),modifiers:of(z)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const z=a;if(z.code==="ContextMenu"||z.code==="F10"&&z.shiftKey){const re=y==null?void 0:y.getBoundingClientRect();if(re&&b.show({target:y,location:{x:Math.ceil(re.left+re.width/2),y:Math.ceil(re.top+re.height/2)},modifiers:of(z)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let z=a.target;for(;z&&y!==z;)z=z.parentNode;if(!z||!b.visible)return!1;const re=fh(a);if(yield kr(a))return b.state!=="closed"?!1:(b.show({target:y,location:re}),!0)}return!1})}var ha={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};Bt(Object.keys(ha),"{body:auto}",{createAtom:a=>new ee(we(Ae({},a),{body:Qt(a.args[0]),accentChar:ha[a.command.slice(1)]}))}),Bt(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=kt(Qt(a.args[0]));return new ee(we(Ae({},a),{body:Qt(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),Bt(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new ee(we(Ae({},a),{body:Qt(a.args[0]),svgAccent:"overarc"}))}),Bt(["underarc","underparen"],"{body:auto}",{createAtom:a=>new Gd(we(Ae({},a),{body:Qt(a.args[0]),svgBelow:"underarc"}))}),Bt("utilde","{body:auto}",{createAtom:a=>{const y=Qt(a.args[0]),b=kt(y),z="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new Gd(we(Ae({},a),{body:y,svgBelow:z,boxType:Nf(y)}))}}),Bt("^","{:string}",{createAtom:a=>{var y;return new Ei(we(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE2",e:"\xEA",i:"\xEE",o:"\xF4",u:"\xFB",A:"\xC2",E:"\xCA",I:"\xCE",O:"\xD4",U:"\xDB"}[a.args[0]])!=null?y:"^"}))}}),Bt("`","{:string}",{createAtom:a=>{var y;return new Ei(we(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE0",e:"\xE8",i:"\xEC",o:"\xF2",u:"\xF9",A:"\xC0",E:"\xC8",I:"\xCC",O:"\xD2",U:"\xD9"}[a.args[0]])!=null?y:"`"}))}}),Bt("'","{:string}",{createAtom:a=>{var y;return new Ei(we(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE1",e:"\xE9",i:"\xED",o:"\xF3",u:"\xFA",A:"\xC1",E:"\xC9",I:"\xCD",O:"\xD3",U:"\xDA"}[a.args[0]])!=null?y:"'"}))}}),Bt('"',"{:string}",{createAtom:a=>{var y,b;return new Ei(we(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\xE4",e:"\xEB",i:"\xEF",o:"\xF6",u:"\xFC",A:"\xC4",E:"\xCB",I:"\xCB",O:"\xD6",U:"\xDC"}[a.args[0]])!=null?b:'"'+a.args[0]:'"'}))}}),Bt(".","{:string}",{createAtom:a=>{var y,b;return new Ei(we(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0227",e:"\u0117",i:"\u0307i",o:"\u022F",u:"\u0307u",A:"\u0226",E:"\u0116",I:"\u0130",O:"\u022E",U:"\u0307U"}[a.args[0]])!=null?b:"."+a.args[0]:"."}))}}),Bt("=","{:string}",{createAtom:a=>{var y,b;return new Ei(we(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0101",e:"\u0113",i:"\u012B",o:"\u014D",u:"\u016B",A:"\u0100",E:"\u0112",I:"\u012A",O:"\u014C",U:"\u016A"}[a.args[0]])!=null?b:"="+a.args[0]:"="}))}}),Bt("~","{:string}",{createAtom:a=>{var y;return new Ei(we(Ae({type:"mord"},a),{isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={n:"\xF1",N:"\xD1",a:"\xE3",o:"\xF5",A:"\xC3",O:"\xD5"}[a.args[0]])!=null?y:"\xB4"}))}}),Bt("c","{:string}",{createAtom:a=>{var y;return new Ei(we(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),Bt("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const z=a.args,re={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(z[1]){const ye=z[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const tt of ye){const ut=tt.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(ut)re.strokeWidth=ut[1],re.strokeStyle=ut[2],re.strokeColor=ut[3];else{const gt=tt.match(/\s*([a-z]*)\s*=\s*"(.*)"/);gt&&(gt[1]==="mathbackground"?re.backgroundcolor=gt[2]:gt[1]==="mathcolor"?re.strokeColor=gt[2]:gt[1]==="padding"?re.padding=gt[2]:gt[1]==="shadow"&&(re.shadow=gt[2]))}}re.strokeStyle==="dashed"?re.svgStrokeStyle="5,5":re.strokeStyle==="dotted"&&(re.svgStrokeStyle="1,5")}re.borderStyle=`${re.strokeWidth} ${re.strokeStyle} ${re.strokeColor}`;const pe={};return((b=z[0])!=null?b:"").split(/[, ]/).filter(ye=>ye.length>0).forEach(ye=>{pe[ye.toLowerCase()]=!0}),new Td(a.command,Qt(z[2]),pe,re)}}),Bt("cancel","{body:auto}",{createAtom:a=>{var y;return new Td(a.command,Qt(a.args[0]),{updiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Bt("bcancel","{body:auto}",{createAtom:a=>{var y;return new Td(a.command,Qt(a.args[0]),{downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Bt("xcancel","{body:auto}",{createAtom:a=>{var y;return new Td(a.command,Qt(a.args[0]),{updiagonalstrike:!0,downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Bt(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new Gd(we(Ae({},a),{body:Qt((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),Bt("overbrace","{:auto}",{createAtom:a=>new Gd(we(Ae({},a),{body:Qt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),Bt(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new Gd(we(Ae({},a),{body:Qt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),Bt(["underbrace"],"{:auto}",{createAtom:a=>new Gd(we(Ae({},a),{body:Qt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),Bt(["xrightarrow","longrightarrow","xleftarrow","longleftarrow","xRightarrow","xLeftarrow","xleftharpoonup","xleftharpoondown","xrightharpoonup","xrightharpoondown","xlongequal","xtwoheadleftarrow","xtwoheadrightarrow","xleftrightarrow","longleftrightarrow","xLeftrightarrow","xrightleftharpoons","longrightleftharpoons","xleftrightharpoons","xhookleftarrow","xhookrightarrow","xmapsto","xtofrom","xleftrightarrows","longleftrightarrows","xRightleftharpoons","longRightleftharpoons","xLeftrightharpoons","longLeftrightharpoons"],"[:auto]{:auto}",{createAtom:a=>{var y,b,z,re,pe;return new Gd(we(Ae({},a),{svgBody:a.command.slice(1),above:((b=Qt((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:Qt((z=a.args)==null?void 0:z[1]),below:(pe=Qt((re=a.args)==null?void 0:re[0]))!=null?pe:null,skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,paddedLabels:!0,boxType:"rel"}))},serialize:(a,y)=>a.command+(a.hasEmptyBranch("below")?"":`[${a.belowToLatex(y)}]`)+`{${a.aboveToLatex(y)}}${a.supsubToLatex(y)}`}),Bt(["arccos","arcsin","arctan","arctg","arcctg","arg","ch","cos","cosh","cot","cotg","coth","ctg","cth","csc","cosec","deg","dim","exp","gcd","hom","inf","ker","lb","lg","ln","log","Pr","sec","sh","sin","sinh","sup","tan","tanh","tg","th","arcsec","arccsc","arsinh","arcosh","artanh","arcsech","arccsch"],"",{isFunction:!0,ifMode:"math",createAtom:a=>new kf(a.command.slice(1),we(Ae({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),Bt(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new kf({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],we(Ae({},a),{limits:"over-under",variant:"main"}))}),Bt(["lim","mod"],"",{ifMode:"math",createAtom:a=>new kf(a.command.slice(1),we(Ae({},a),{limits:"over-under",variant:"main"}))}),Bt(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new kf(a.command.slice(1),we(Ae({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),Bt(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),z=b.caret;b.caret=void 0;const re=new Li("\xB0",{style:we(Ae({},a.style),{variant:"normal",variantStyle:"up"})});return new Li([b,re],{type:"inner",isSelected:a.isSelected,caret:z})}}),Bt("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new Wm(we(Ae({},a),{body:Qt(a.args[1]),index:a.args[0]?Qt(a.args[0]):void 0}))}),Bt(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=Ae({},a),b=a.command,z=a.args;switch(b){case"\\dfrac":case"\\frac":case"\\tfrac":y.hasBarLine=!0;break;case"\\atopfrac":y.hasBarLine=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":y.hasBarLine=!1,y.leftDelim="(",y.rightDelim=")";break;case"\\cfrac":y.hasBarLine=!0,y.continuousFraction=!0;break;default:}switch(b){case"\\dfrac":case"\\dbinom":y.mathstyleName="displaystyle";break;case"\\tfrac":case"\\tbinom":y.mathstyleName="textstyle";break;default:}return new U0(z[0]?Qt(z[0]):[new ms],z[1]?Qt(z[1]):[new ms],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),z=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(z)?`${a.command}${b}${z}`:ju(a.command,b,z)}}),Bt(["brace","brack"],"",{infix:!0,createAtom:a=>new U0(Qt(a.args[0]),Qt(a.args[1]),we(Ae({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>ml([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Bt(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const z=a.args;return a.command==="\\choose"&&(y="(",b=")"),new U0(Qt(z[0]),Qt(z[1]),we(Ae({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>ml([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Bt(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const z=a.args;return new U0(Qt(z[0]),Qt(z[1]),we(Ae({},a),{leftDelim:(y=z[2])!=null?y:".",rightDelim:(b=z[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),Bt("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new U0(Qt(a.args[0]),Qt(a.args[1]),we(Ae({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),Bt(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new Km({coprod:"\u2210",bigvee:"\u22C1",bigwedge:"\u22C0",biguplus:"\u2A04",bigcap:"\u22C2",bigcup:"\u22C3",intop:"\u222B",prod:"\u220F",sum:"\u2211",bigotimes:"\u2A02",bigoplus:"\u2A01",bigodot:"\u2A00",bigsqcup:"\u2A06",smallint:"\u222B"}[a.command.slice(1)],we(Ae({},a),{limits:"auto",variant:"main"}))}),Bt("smallint","",{ifMode:"math",createAtom:a=>new kf("\u222B",we(Ae({},a),{limits:"adjacent",variant:"main"}))});var Ua={int:"\u222B",iint:"\u222C",iiint:"\u222D",oint:"\u222E",oiint:"\u222F",oiiint:"\u2230",intclockwise:"\u2231",varointclockwise:"\u2232",ointctrclockwise:"\u2233",intctrclockwise:"\u2A11",sqcup:"\u2294",sqcap:"\u2293",uplus:"\u228E",wr:"\u2240",amalg:"\u2A3F",Cap:"\u22D2",Cup:"\u22D3",doublecap:"\u22D2",doublecup:"\u22D3"};Bt(Object.keys(Ua),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=Ua[y.slice(1)];return new Km(b,we(Ae({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),Bt(["Re","Im"],"",{ifMode:"math",createAtom:a=>new kf({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],we(Ae({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),Bt("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new fA(we(Ae({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),Bt("the","{:value}",{createAtom:a=>new Ei(we(Ae({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const z=new Vl({parent:y},a.style);let re="";a.isSelected&&(re+=" ML__selected");const pe=z.evaluate(a.args[0]);return new Li(((b=Nc(pe))!=null?b:"").split("").map(ye=>new Li(ye,{type:"ord",classes:re,mode:a.mode,isSelected:a.isSelected,style:Ae({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:re}).wrap(z)},serialize:a=>{var y;return`\\the${(y=Nc(a.args[0]))!=null?y:"\\relax"}`}}),Bt("mathtip","{:auto}{:math}",{createAtom:a=>new Rh(we(Ae({},a),{body:Qt(a.args[0]),tooltip:Qt(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Ei.serialize([a.tooltip],we(Ae({},y),{defaultMode:"math"}))}}`}),Bt("texttip","{:auto}{:text}",{createAtom:a=>new Rh(we(Ae({},a),{body:Qt(a.args[0]),tooltip:Qt(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Ei.serialize([a.tooltip],we(Ae({},y),{defaultMode:"text"}))}}`}),Bt("error","{:math}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),Bt("ensuremath","{:math}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(we(Ae({},y),{defaultMode:"math"}))}}`}),Bt("color","{:value}",{applyStyle:(a,y,b)=>{var z,re;return{verbatimColor:(z=Nc(y[0]))!=null?z:void 0,color:b.toColor((re=y[0])!=null?re:{string:"red"})}}}),Bt("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var z,re;return{verbatimColor:(z=Nc(y[0]))!=null?z:void 0,color:b.toColor((re=y[0])!=null?re:{string:"red"})}}}),Bt("boxed","{content:math}",{createAtom:a=>new Lu(we(Ae({},a),{body:Qt(a.args[0]),framecolor:{string:"black"}}))}),Bt("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var z,re;return{verbatimBackgroundColor:(z=Nc(y[0]))!=null?z:void 0,backgroundColor:b.toBackgroundColor((re=y[0])!=null?re:{string:"yellow"})}}}),Bt("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Lu(we(Ae({},a),{body:Qt(a.args[2]),framecolor:(y=a.args[0])!=null?y:{string:"blue"},backgroundcolor:(b=a.args[1])!=null?b:{string:"yellow"}}))},serialize:(a,y)=>{var b,z;return y.skipStyles?a.bodyToLatex(we(Ae({},y),{defaultMode:"text"})):ju(a.command,(b=Nc(a.framecolor))!=null?b:"",(z=Nc(a.backgroundcolor))!=null?z:"",a.bodyToLatex(we(Ae({},y),{defaultMode:"text"})))}}),Bt("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],z=Qt(a.args[1]);return b?new Lu(we(Ae({},a),{body:z,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Lu(we(Ae({},a),{body:z}))},serialize:(a,y)=>{var b,z;if(y.skipStyles)return a.bodyToLatex(y);let re=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const pe=[];a.padding&&pe.push((b=Nc(a.padding))!=null?b:""),a.border&&pe.push(`border: ${a.border}`),a.backgroundcolor&&pe.push((z=Nc(a.backgroundcolor))!=null?z:""),re+=`[${pe.join(",")}]`}return ju(re,a.bodyToLatex(y))}}),Bt(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[0])})),render:(a,y)=>{const b=new Vl({parent:y,mathstyle:a.command.slice(1)},a.style),z=Ei.createBox(b,a.body,{type:"lift"});return a.caret&&(z.caret=a.caret),a.bind(y,z)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${ml([a.command,a.bodyToLatex(y)])}}`}),Bt(["tiny","scriptsize","footnotesize","small","normalsize","large","Large","LARGE","huge","Huge"],"",{applyStyle:a=>({fontSize:{"\\tiny":1,"\\scriptsize":2,"\\footnotesize":3,"\\small":4,"\\normalsize":5,"\\large":6,"\\Large":7,"\\LARGE":8,"\\huge":9,"\\Huge":10}[a]})}),Bt("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),Bt("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),Bt("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),Bt("selectfont","",{ifMode:"text",applyStyle:()=>({})}),Bt("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),Bt(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),Bt("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),Bt("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Bt("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Bt("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Bt("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Bt("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Bt("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Bt("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Bt("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Bt("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),Bt("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Bt("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),Bt("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Bt("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),Bt("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),Bt("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),Bt("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),Bt("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),Bt("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),Bt("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),Bt("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),Bt("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),Bt("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),Bt("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),Bt("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),Bt("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),Bt("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),Bt(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),Bt(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),Bt("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),Bt("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),Bt("mbox","{:text}",{ifMode:"math",createAtom:a=>new Ei(we(Ae({},a),{type:"mord",body:Qt(a.args[0]),mode:"math"})),serialize:(a,y)=>ju("\\mbox",a.bodyToLatex(we(Ae({},y),{defaultMode:"text"})))}),Bt("text","{:text}",{ifMode:"math",applyMode:"text"}),Bt(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[1])})),serialize:(a,y)=>!a.args[0]||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`,render:(a,y)=>{var b;return a.createBox(y,{classes:(b=a.args[0])!=null?b:""})}}),Bt(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const z=a.createBox(y);return z.cssId=(b=a.args[0])!=null?b:"",z}}),Bt("htmlData","{data:string}{content:auto}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`\\htmlData{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const z=a.createBox(y);return z.htmlData=(b=a.args[0])!=null?b:"",z}}),Bt(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const z=a.createBox(y);return z.htmlStyle=(b=a.args[0])!=null?b:"",z}}),Bt("em","{:rest}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{\\em ${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})}),Bt("emph","{:auto}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[1])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\emph{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})});var Es={"\\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}};Bt(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new tA(we(Ae({},a),{delim:(y=a.args[0])!=null?y:".",size:Es[a.command].size,delimType:Es[a.command].mclass}))}}),Bt(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new RA(we(Ae({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Bt(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new RA(we(Ae({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Bt("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new Ei(a),render:(a,y)=>{let b=0;const z=y.mathstyle.id;(z===uh||z===IA)&&(b=1),(z===JA||z===fu)&&(b=2),(z===nd||z===Vc)&&(b=3);const re=Qt(a.args[b]);return Ei.createBox(y,re)},serialize:(a,y)=>`\\mathchoice{${Ei.serialize(a.args[0],y)}}{${Ei.serialize(a.args[1],y)}}{${Ei.serialize(a.args[2],y)}}{${Ei.serialize(a.args[3],y)}}`}),Bt("mathop","{:auto}",{createAtom:a=>new Ei(we(Ae({},a),{type:"mop",body:Qt(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let z=Ei.createBox(y,a.body);if(a.superscript||a.subscript){const re=(b=a.subsupPlacement)!=null?b:"auto";z=re==="over-under"||re==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return new Li(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ju(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),ml(b)}}),Bt(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new Ei(we(Ae({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:Qt(a.args[0])}))}),Bt(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=Qt(a.args[0]).map(b=>{var z;return b.type!=="first"&&(b.type="mord",b.value=(z={"\u2217":"*","\u2212":"-"}[b.value])!=null?z:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new Ei(we(Ae({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let z=Ei.createBox(y,a.body);if(a.superscript||a.subscript){const re=(b=a.subsupPlacement)!=null?b:"auto";z=re==="over-under"||re==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return a.caret&&(z.caret=a.caret),new Li(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ju(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),ml(b)}}),Bt(["char","unicode"],"{charcode:value}",{createAtom:a=>new Ei(we(Ae({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Nc((y=a.args[0])!=null?y:{number:10067,base:"hexadecimal"})}`},render:(a,y)=>{let b=y.evaluate(a.args[0]);return(!b||!("number"in b))&&(b={number:10067,base:"hexadecimal"}),a.value=String.fromCodePoint(b.number),a.createBox(y)}}),Bt("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new Ei(a),render:(a,y)=>{var b,z,re;const pe=new Vl({parent:y,mathstyle:"textstyle"},a.style),ye=pe.toEm((b=a.args[0])!=null?b:{dimension:0}),tt=pe.toEm((z=a.args[1])!=null?z:{dimension:10}),ut=pe.toEm((re=a.args[2])!=null?re:{dimension:10}),gt=new Li(null,{classes:"rule",type:"ord"});return gt.width=tt,gt.height=ut+ye,gt.depth=-ye,gt.setStyle("border-right-width",tt,"em"),gt.setStyle("border-top-width",ut,"em"),gt.setStyle("border-color",a.style.color),gt.setStyle("vertical-align",ye,"em"),a.isSelected&&gt.setStyle("opacity","50%"),a.bind(pe,gt),a.caret&&(gt.caret=a.caret),gt.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Nc(a.args[0])}]`:""}{${Nc(a.args[1])}}{${Nc(a.args[2])}}`}),Bt(["overline","underline"],"{:auto}",{createAtom:a=>new Ei(we(Ae({},a),{body:Qt(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),z=new Vl({parent:y,mathstyle:"cramp"},a.style),re=Ei.createBox(z,a.body);if(!re)return null;const pe=z.metrics.defaultRuleThickness/z.scalingFactor,ye=new Li(null,{classes:b+"-line"});ye.height=pe,ye.maxFontSize=pe*1.125*z.scalingFactor;let tt;return b==="overline"?tt=new Ou({shift:0,children:[{box:re},3*pe,{box:ye},pe]}):tt=new Ou({top:re.height,children:[pe,{box:ye},3*pe,{box:re}]}),a.caret&&(tt.caret=a.caret),new Li(tt,{classes:b,type:"ignore"})}}),Bt("overset","{:auto}{base:auto}",{createAtom:a=>{const y=Qt(a.args[1]);return new Gd(we(Ae({},a),{above:Qt(a.args[0]),body:y,skipBoundary:!1,boxType:Nf(y)}))},serialize:(a,y)=>ju(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Bt("underset","{:auto}{base:auto}",{createAtom:a=>{const y=Qt(a.args[1]);return new Gd(we(Ae({},a),{below:Qt(a.args[0]),body:y,skipBoundary:!1,boxType:Nf(y)}))},serialize:(a,y)=>ju(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Bt("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=Qt(a.args[2]);return new Gd(we(Ae({},a),{above:Qt(a.args[0]),below:Qt(a.args[1]),body:y,skipBoundary:!1,boxType:Nf(y)}))},serialize:(a,y)=>ju(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Bt(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new Gd(we(Ae({},a),{body:Qt(a.args[2]),above:Qt(a.args[1]),below:Qt(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>ju(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Bt("smash","[:string]{:auto}",{createAtom:a=>{var y,b,z,re;return new Ah(we(Ae({},a),{body:Qt(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(re=(z=a.args[0])==null?void 0:z.includes("b"))!=null?re:!0}))}}),Bt(["vphantom"],"{:auto}",{createAtom:a=>new Ah(we(Ae({},a),{body:Qt(a.args[0]),isInvisible:!0,smashWidth:!0}))}),Bt(["hphantom"],"{:auto}",{createAtom:a=>new Ah(we(Ae({},a),{body:Qt(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),Bt(["phantom"],"{:auto}",{createAtom:a=>new Ah(we(Ae({},a),{body:Qt(a.args[0]),isInvisible:!0}))}),Bt("not","{:math}",{createAtom:a=>{const y=Qt(a.args[0]);return y.length===0?new Ei(we(Ae({},a),{type:"mrel",value:"\uE020"})):new Ei(we(Ae({},a),{body:[new NA(we(Ae({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],z=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?z?`\\not{${Ei.serialize(b.group,y)}}`:`\\not${Ei.serialize(b,y)}`:z?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const z=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":Nf(Qt(a.args[0])),re=Ei.createBox(y,a.body,{type:z});return a.caret&&(re.caret=a.caret),a.bind(y,re)}}),Bt(["ne","neq"],"",{createAtom:a=>new Ei(we(Ae({},a),{type:"mrel",body:[new NA(we(Ae({},a),{body:"\uE020",align:"right",boxType:"rel"})),new Ei(we(Ae({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),Bt("rlap","{:auto}",{createAtom:a=>new NA(we(Ae({},a),{body:Qt(a.args[0]),align:"right"}))}),Bt("llap","{:auto}",{createAtom:a=>new NA(we(Ae({},a),{body:Qt(a.args[0]),align:"left"}))}),Bt("mathrlap","{:math}",{createAtom:a=>new NA(we(Ae({},a),{body:Qt(a.args[0]),align:"left"}))}),Bt("mathllap","{:math}",{createAtom:a=>new NA(we(Ae({},a),{body:Qt(a.args[0]),align:"left"}))}),Bt("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Lu(we(Ae({},a),{body:Qt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ju("\\raisebox",(b=Nc(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Bt("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Lu(we(Ae({},a),{body:Qt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ju("\\raise",(b=Nc(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Bt("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Lu(we(Ae({},a),{body:Qt(a.args[1]),padding:{dimension:0},offset:(y=LA(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,z;return ju("\\lower",(z=Nc(LA((b=a.offset)!=null?b:{dimension:0},-1)))!=null?z:"0pt",a.bodyToLatex(y))}}),Ye("0123456789/@.?!"),vt(65,90),vt(97,122),Ye([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Ye([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Ye([["\\backslash",92],["\\nabla",8711],["\\partial",8706],["\\ell",8467],["\\hbar",8463],["\\Q",81,"mord","double-struck"],["\\C",67,"mord","double-struck"],["\\P",80,"mord","double-struck"],["\\pounds",163],["\\euro",8364]]),Ye([["\\rightarrow",8594],["\\to",8594],["\\leftarrow",8592],["\\gets",8592],["\\Rightarrow",8658],["\\Leftarrow",8656],["\\longrightarrow",10230],["\\longleftarrow",10229],["\\Longrightarrow",10233],["\\implies",10233],["\\Longleftarrow",10232],["\\impliedby",10232],["\\longleftrightarrow",10231],["\\biconditional",10231],["\\Longleftrightarrow",10234],["\\mapsto",8614],["\\longmapsto",10236],["\\uparrow",8593],["\\downarrow",8595],["\\Uparrow",8657],["\\Downarrow",8659],["\\updownarrow",8597],["\\Updownarrow",8661],["\\hookrightarrow",8618],["\\hookleftarrow",8617],["\\rightharpoonup",8640],["\\leftharpoonup",8636],["\\rightharpoondown",8641],["\\leftharpoondown",8637],["\\searrow",8600],["\\nearrow",8599],["\\swarrow",8601],["\\nwarrow",8598],["\\originalof",8886],["\\laplace",8886],["\\imageof",8887],["\\Laplace",8887]],"mrel"),Ye([["\\mapsfrom",8612,"mrel"],["\\Mapsfrom",10502,"mrel"],["\\MapsTo",10503,"mrel"],["\\Yup",8516,"mord"],["\\lightning",8623,"mrel"],["\\leftarrowtriangle",8701,"mrel"],["\\rightarrowtriangle",8702,"mrel"],["\\leftrightarrowtriangle",8703,"mrel"],["\\boxdot",8865,"mbin"],["\\bigtriangleup",9651,"mbin"],["\\bigtriangledown",9661,"mbin"],["\\boxbar",9707,"mbin"],["\\Lbag",10181,"mopen"],["\\Rbag",10182,"mclose"],["\\llbracket",10214,"mopen"],["\\rrbracket",10215,"mclose"],["\\longmapsfrom",10235,"mrel"],["\\Longmapsfrom",10237,"mrel"],["\\Longmapsto",10238,"mrel"],["\\boxslash",10692,"mbin"],["\\boxbslash",10693,"mbin"],["\\boxast",10694,"mbin"],["\\boxcircle",10695,"mbin"],["\\boxbox",10696,"mbin"],["\\fatsemi",10783,"mop"],["\\leftslice",10918,"mrel"],["\\rightslice",10919,"mrel"],["\\interleave",10996,"mbin"],["\\biginterleave",11004,"mop"],["\\sslash",11005,"mbin"],["\\talloblong",11006,"mbin"]]),Ye([["\\lbrace",123,"mopen"],["\\rbrace",125,"mclose"],["\\lparen",40,"mopen"],["\\rparen",41,"mclose"],["\\langle",10216,"mopen"],["\\rangle",10217,"mclose"],["\\lfloor",8970,"mopen"],["\\rfloor",8971,"mclose"],["\\lceil",8968,"mopen"],["\\rceil",8969,"mclose"],["\\vert",8739],["\\lvert",8739,"mopen"],["\\rvert",8739,"mclose"],["\\|",8741],["\\Vert",8741],["\\mVert",8741],["\\lVert",8741,"mopen"],["\\rVert",8741,"mclose"],["\\lbrack",91,"mopen"],["\\rbrack",93,"mclose"],["\\{",123,"mopen"],["\\}",125,"mclose"],["(",40,"mopen"],[")",41,"mclose"],["[",91,"mopen"],["]",93,"mclose"],["\\ulcorner",9484,"mopen","ams"],["\\urcorner",9488,"mclose","ams"],["\\llcorner",9492,"mopen","ams"],["\\lrcorner",9496,"mclose","ams"],["\\lgroup",10222,"mopen"],["\\rgroup",10223,"mclose"],["\\lmoustache",9136,"mopen"],["\\rmoustache",9137,"mclose"]]),Ye([["\\dashrightarrow",8674],["\\dashleftarrow",8672],["\\Rrightarrow",8667],["\\Lleftarrow",8666],["\\leftrightarrows",8646],["\\rightleftarrows",8644],["\\curvearrowright",8631],["\\curvearrowleft",8630],["\\rightrightarrows",8649],["\\leftleftarrows",8647],["\\upuparrows",8648],["\\downdownarrows",8650],["\\vartriangle",9651],["\\triangleq",8796],["\\vartriangleleft",8882],["\\trianglelefteq",8884],["\\ntriangleleft",8938],["\\ntrianglelefteq",8940],["\\vartriangleright",8883],["\\trianglerighteq",8885],["\\ntriangleright",8939],["\\ntrianglerighteq",8941],["\\blacktriangleleft",9664],["\\blacktriangleright",9654],["\\leftarrowtail",8610],["\\rightarrowtail",8611],["\\looparrowright",8620],["\\looparrowleft",8619],["\\twoheadleftarrow",8606],["\\twoheadrightarrow",8608],["\\twoheadrightarrowtail",10518],["\\rightleftharpoons",8652],["\\leftrightharpoons",8651],["\\Rsh",8625],["\\Lsh",8624],["\\circlearrowright",8635],["\\circlearrowleft",8634],["\\restriction",8638],["\\upharpoonright",8638],["\\upharpoonleft",8639],["\\downharpoonright",8642],["\\downharpoonleft",8643],["\\rightsquigarrow",8669],["\\leadsto",8669],["\\leftrightsquigarrow",8621],["\\multimap",8888],["\\nleftarrow",8602],["\\nrightarrow",8603],["\\nRightarrow",8655],["\\nLeftarrow",8653],["\\nleftrightarrow",8622],["\\nLeftrightarrow",8654],["\\nvrightarrow",8696],["\\nvtwoheadrightarrow",10496],["\\nvrightarrowtail",10516],["\\nvtwoheadrightarrowtail",10519],["\\shortparallel",8741],["\\nless",8814],["\\nleqslant",57360],["\\lneq",10887],["\\lneqq",8808],["\\nleqq",57361],["\\lvertneqq",57356],["\\lnsim",8934],["\\lnapprox",10889],["\\nprec",8832],["\\npreceq",8928],["\\precnsim",8936],["\\precnapprox",10937],["\\nsim",8769],["\\nshortmid",57350],["\\nmid",8740],["\\nvdash",8876],["\\nvDash",8877],["\\ngtr",8815],["\\ngeqslant",57359],["\\ngeqq",57358],["\\gneq",10888],["\\gneqq",8809],["\\gvertneqq",57357],["\\gnsim",8935],["\\gnapprox",10890],["\\nsucc",8833],["\\nsucceq",8929],["\\succnsim",8937],["\\succnapprox",10938],["\\ncong",8774],["\\nshortparallel",57351],["\\nparallel",8742],["\\nVDash",8879],["\\nsupseteqq",57368],["\\supsetneq",8843],["\\varsupsetneq",57371],["\\supsetneqq",10956],["\\varsupsetneqq",57369],["\\nVdash",8878],["\\precneqq",10933],["\\succneqq",10934],["\\nsubseteqq",57366],["\\leqslant",10877],["\\geqslant",10878],["\\gtrsim",8819],["\\approxeq",8778],["\\thickapprox",8776],["\\lessapprox",10885],["\\gtrapprox",10886],["\\precapprox",10935],["\\succapprox",10936],["\\thicksim",8764],["\\succsim",8831],["\\precsim",8830],["\\backsim",8765],["\\eqsim",8770],["\\backsimeq",8909],["\\lesssim",8818],["\\nleq",8816],["\\ngeq",8817],["\\smallsmile",8995],["\\smallfrown",8994],["\\leqq",8806],["\\eqslantless",10901],["\\lll",8920],["\\lessgtr",8822],["\\lesseqgtr",8922],["\\lesseqqgtr",10891],["\\risingdotseq",8787],["\\fallingdotseq",8786],["\\subseteqq",10949],["\\Subset",8912],["\\sqsubset",8847],["\\preccurlyeq",8828],["\\curlyeqprec",8926],["\\vDash",8872],["\\Vvdash",8874],["\\bumpeq",8783],["\\Bumpeq",8782],["\\geqq",8807],["\\eqslantgtr",10902],["\\ggg",8921],["\\gtrless",8823],["\\gtreqless",8923],["\\gtreqqless",10892],["\\supseteqq",10950],["\\Supset",8913],["\\sqsupset",8848],["\\succcurlyeq",8829],["\\curlyeqsucc",8927],["\\Vdash",8873],["\\shortmid",8739],["\\between",8812],["\\pitchfork",8916],["\\varpropto",8733],["\\backepsilon",8717],["\\llless",8920],["\\gggtr",8921],["\\doteqdot",8785],["\\Doteq",8785],["\\eqcirc",8790],["\\circeq",8791],["\\therefore",8756],["\\because",8757]],"mrel","ams"),Ye([["+",43],["-",8722],["\u2212",8722],["\\pm",177],["\\mp",8723],["*",8727],["\\times",215],["\\div",247],["\\divides",8739],["\\cdot",8901],["\\cap",8745],["\\cup",8746],["\\setminus",8726],["\\land",8743],["\\wedge",8743],["\\lor",8744],["\\vee",8744],["\\circ",8728],["\\bigcirc",9711],["\\bullet",8729],["\\oplus",8853],["\\ominus",8854],["\\otimes",8855],["\\odot",8857],["\\oslash",8856],["\\bigtriangleup",9651],["\\bigtriangledown",9661],["\\triangleleft",9667],["\\triangleright",9657],["\\And",38],["\\dagger",8224],["\\dag",8224],["\\ddag",8225],["\\ddagger",8225],["\\ast",8727],["\\star",8902],["\\bigstar",9733],["\\diamond",8900]],"mbin"),Ye([["\\lhd",8882],["\\rhd",8883],["\\lessdot",8918],["\\gtrdot",8919],["\\ltimes",8905],["\\rtimes",8906],["\\leftthreetimes",8907],["\\rightthreetimes",8908],["\\intercal",8890],["\\dotplus",8724],["\\doublebarwedge",10846],["\\divideontimes",8903],["\\centerdot",8901],["\\smallsetminus",8726],["\\barwedge",8892],["\\veebar",8891],["\\nor",8891],["\\curlywedge",8911],["\\curlyvee",8910],["\\boxminus",8863],["\\boxplus",8862],["\\boxtimes",8864],["\\boxdot",8865],["\\circleddash",8861],["\\circledast",8859],["\\circledcirc",8858],["\\unlhd",8884],["\\unrhd",8885]],"mbin","ams"),Ye([["\\surd",8730],["\\infty",8734],["\\prime",8242],["\\doubleprime",8243],["\\angle",8736],["`",8216],["\\$",36],["\\%",37],["\\_",95],["\\alpha",945],["\\beta",946],["\\gamma",947],["\\delta",948],["\\epsilon",1013],["\\varepsilon",949],["\\zeta",950],["\\eta",951],["\\theta",952],["\\vartheta",977],["\\iota",953],["\\kappa",954],["\\varkappa",1008,"mord","ams"],["\\lambda",955],["\\mu",956],["\\nu",957],["\\xi",958],["\\omicron",111],["\\pi",960],["\\varpi",982],["\\rho",961],["\\varrho",1009],["\\sigma",963],["\\varsigma",962],["\\tau",964],["\\phi",981],["\\varphi",966],["\\upsilon",965],["\\chi",967],["\\psi",968],["\\omega",969],["\\Gamma",915],["\\Delta",916],["\\Theta",920],["\\Lambda",923],["\\Xi",926],["\\Pi",928],["\\Sigma",931],["\\Upsilon",933],["\\Phi",934],["\\Psi",936],["\\Omega",937],["\\digamma",989,"mord","ams"],["\\emptyset",8709]]),Ye([["=",61],["<",60],["\\lt",60],[">",62],["\\gt",62],["\\le",8804],["\\leq",8804],["\\ge",8805],["\\geq",8805],["\\ll",8810],["\\gg",8811],["\\coloneq",8788],["\\coloneqq",8788],["\\colonequals",8788],["\\measeq",8797],["\\eqdef",8798],["\\questeq",8799],[":",58],["\\cong",8773],["\\equiv",8801],["\\prec",8826],["\\preceq",10927],["\\succ",8827],["\\succeq",10928],["\\perp",8869],["\\propto",8733],["\\Colon",8759],["\\smile",8995],["\\frown",8994],["\\sim",8764],["\\doteq",8784],["\\bowtie",8904],["\\Join",8904],["\\asymp",8781],["\\sqsubseteq",8849],["\\sqsupseteq",8850],["\\approx",8776],["\\~",126],["\\leftrightarrow",8596],["\\Leftrightarrow",8660],["\\models",8872],["\\vdash",8866],["\\dashv",8867],["\\roundimplies",10608],["\\in",8712],["\\notin",8713],["\\ni",8715],["\\owns",8715],["\\subset",8834],["\\supset",8835],["\\subseteq",8838],["\\supseteq",8839],["\\differencedelta",8710],["\\mvert",8739],["\\parallel",8741],["\\simeq",8771]],"mrel"),Ye([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Ye([["\\wp",8472],["\\aleph",8501]]),Ye([["\\blacktriangle",9650],["\\hslash",8463],["\\Finv",8498],["\\Game",8513],["\\eth",240],["\\mho",8487],["\\Bbbk",107],["\\yen",165],["\\square",9633],["\\Box",9633],["\\blacksquare",9632],["\\circledS",9416],["\\circledR",174],["\\triangledown",9661],["\\blacktriangledown",9660],["\\checkmark",10003],["\\diagup",9585],["\\measuredangle",8737],["\\sphericalangle",8738],["\\backprime",8245],["\\backdoubleprime",8246],["\\Diamond",9674],["\\lozenge",9674],["\\blacklozenge",10731],["\\varnothing",8709],["\\complement",8705],["\\maltese",10016],["\\beth",8502],["\\daleth",8504],["\\gimel",8503]],"mord","ams"),Ye([["\\ ",160],["~",160]],"space"),Bt(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new RA(a)}),Bt("space","",{createAtom:a=>new RA(a)}),Ye([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Ye([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Ye([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var Ts="<mo>&#x2061;</mo>",Ml="<mo>&#8290;</mo>";function Xl(a){return a.replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Fs(a,y){return!a||!y.generateID?"":` extid="${a}"`}function kd(a,y,b){var z,re,pe,ye,tt,ut,gt,_t,qt,pn,Kn;let nr=!1;y=y!=null?y:a.atoms.length;let di="",Ha="",li=a.atoms[a.index];const na=(re=(z=li.style)==null?void 0:z.variant)!=null?re:"",Ka=(ye=(pe=li.style)==null?void 0:pe.variantStyle)!=null?ye:"";let fa="";if(na||Ka){const vs=Yt(li.value,(tt=li.style)==null?void 0:tt.variant,(ut=li.style)==null?void 0:ut.variantStyle);if(vs!==li.value)return a.index+=1,di=`<mi${Fs(li.id,b)}>${vs}</mi>`,Jc(di,a,b)||(a.mathML+=di,a.lastType="mi"),!0;fa=(gt={upnormal:"normal",boldnormal:"bold",italicmain:"italic",bolditalicmain:"bold-italic","updouble-struck":"double-struck","double-struck":"double-struck",boldfraktur:"bold-fraktur",calligraphic:"script",upcalligraphic:"script",script:"script",boldscript:"bold-script",boldcalligraphic:"bold-script",fraktur:"fraktur","upsans-serif":"sans-serif","boldsans-serif":"bold-sans-serif","italicsans-serif":"sans-serif-italic","bolditalicsans-serif":"sans-serif-bold-italic",monospace:"monospace"}[Ka+na])!=null?gt:"",fa=` mathvariant="${fa}"`}const Vo={"\\exponentialE":"&#x02147;","\\imaginaryI":"&#x2148;","\\differentialD":"&#x2146;","\\capitalDifferentialD":"&#x2145;","\\alpha":"&#x03b1;","\\pi":"&#x03c0;","\\infty":"&#x221e;","\\forall":"&#x2200;","\\nexists":"&#x2204;","\\exists":"&#x2203;","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(li.command==="!")return a.index+=1,di="<mo>!</mo>",Jc(di,a,b)||(a.mathML+=di,a.lastType="mo"),!0;if(Vo[li.command]){a.index+=1;let vs=`<mi${Fs(li.id,b)}${fa}>${Vo[li.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(vs=Ml+vs),Jc(vs,a,b)||(a.mathML+=vs,a.lastType="mi"),!0}if(li.command==="\\operatorname")Ha=Vh(li.body),a.index+=1;else if(na||Ka)for(;a.index<y&&(li.type==="mord"||li.type==="macro")&&!li.isDigit()&&na===((qt=(_t=li.style)==null?void 0:_t.variant)!=null?qt:"")&&Ka===((Kn=(pn=li.style)==null?void 0:pn.variantStyle)!=null?Kn:"");)Ha+=Vh([li]),a.index+=1,li=a.atoms[a.index];else(li.type==="mord"||li.type==="macro")&&!li.isDigit()&&(Ha+=Vh([li]),a.index+=1);if(Ha.length>0){nr=!0,di=`<mi${fa}>${Ha}</mi>`;const vs=a.lastType;di.endsWith(">f</mi>")||di.endsWith(">g</mi>")?(di+=Ts,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(di)?"mo":"mi",Jc(di,a,b)||((vs==="mi"||vs==="mn"||vs==="mtext"||vs==="fence")&&(di=Ml+di),a.mathML+=di)}return nr}function iA(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function id(a){let y=-1,b=a.index,z=!1,re=!1;for(;b<a.atoms.length&&!z&&!re;){const pe=a.atoms[b];z=!pe.isDigit(),re=!z&&pe.superscript!==void 0,b++}return re&&(y=b-1),y}function Jc(a,y,b){var z;let re=y.atoms[y.index-1];if(!re)return!1;if(!re.superscript&&!re.subscript)if(((z=y.atoms[y.index])==null?void 0:z.type)==="subsup")re=y.atoms[y.index],y.index+=1;else return!1;const pe=y.lastType;y.lastType="";const ye=ql(re.superscript,b);y.lastType="";const tt=ql(re.subscript,b);if(y.lastType=pe,!ye&&!tt)return!1;let ut="";return ye&&tt?ut=`<msubsup>${a}${tt}${ye}</msubsup>`:ye?ut=`<msup>${a}${ye}</msup>`:tt&&(ut=`<msub>${a}${tt}</msub>`),y.mathML+=ut,y.lastType="",!0}function aA(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let re="";for(;a.index<y&&a.atoms[a.index].mode==="text";)re+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return re.length>0?(a.mathML+=`<mtext ${Fs(a.atoms[z].id,b)}>${re}</mtext>`,a.lastType="mtext",!0):!1}function KA(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let re="",pe=id(a);for(pe>=0&&pe<y&&(y=pe);a.index<y&&a.atoms[a.index].isDigit();)re+=a.atoms[a.index].asDigit(),a.index+=1;return re.length<=0?!1:(re="<mn"+Fs(a.atoms[z].id,b)+">"+re+"</mn>",pe<0&&iA(a)&&(pe=a.index,a.index+=1),Jc(re,a,b)||(a.mathML+=re,a.lastType="mn"),!0)}function Y0(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let re="",pe="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let ye=!1,tt=0;const ut=a.index;let gt=-1,_t=ut+1;for(;_t<y&&!ye;)a.atoms[_t].type==="mopen"?tt+=1:a.atoms[_t].type==="mclose"&&(tt-=1),tt===-1&&(ye=!0,gt=_t),_t+=1;ye&&(re="<mrow>",re+=Zh(a.atoms[ut],b),re+=ql(a.atoms,b,ut+1,gt),re+=Zh(a.atoms[gt],b),re+="</mrow>",a.index=gt+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=Ml),Jc(re,a,b)&&(z=!0,a.lastType="",re=""),pe="fence")}return re.length>0&&(z=!0,a.mathML+=re,a.lastType=pe),z}function Wh(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let re="",pe="";const ye=a.atoms[a.index];if(!ye)return!1;const tt={"\\ne":"&ne;","\\neq":"&neq;","\\pm":"&#177;","\\times":"&#215;","\\colon":":","\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lbrack":"[","\\rbrack":"]","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"};if(tt[ye.command]){a.index+=1;const ut=`<mo${Fs(ye.id,b)}>${tt[ye.command]}</mo>`;return Jc(ut,a,b)||(a.mathML+=ut,a.lastType="mo"),!0}if(a.index<y&&(ye.type==="mbin"||ye.type==="mrel"))re+=x0(a.atoms[a.index],b),a.index+=1,pe="mo";else if(a.index<y&&(ye.type==="mop"||ye.type==="operator"||ye.type==="extensible-symbol")){if(ye.subsupPlacement==="over-under"&&(ye.superscript||ye.subscript)){const ut=Zh(ye,b);return ye.superscript&&ye.subscript?(re+="<munderover>"+ut,re+=ql(ye.subscript,b),re+=ql(ye.superscript,b),re+="</munderover>"):ye.superscript?(re+="<mover>"+ut,re+=ql(ye.superscript,b),re+="</mover>"):ye.subscript&&(re+="<munder>"+ut,re+=ql(ye.subscript,b),re+="</munder>"),a.mathML+=re,a.lastType="mo",a.index+=1,!0}{const ut=a.atoms[a.index],gt=ut.value==="\\operatorname",_t=gt?'<mi class="MathML-Unit"'+Fs(ut.id,b)+">"+Vh(ut.value)+"</mi>":Zh(ut,b);re+=_t,!gt&&!/^<mo>(.*)<\/mo>$/.test(_t)?(re+=Ts,pe="applyfunction"):pe=gt?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(re)&&(re=Ml+re),a.index+=1}return re.length>0&&(z=!0,Jc(re,a,b)||(a.mathML+=re,a.lastType=pe)),z}function ql(a,y,b,z){y!=null||(y={});const re={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")re.mathML=a.toString();else if(typeof a=="string")re.mathML=a;else if(a instanceof Ei)re.mathML=x0(a,y);else if(Array.isArray(a)){re.atoms=a;let pe=0;for(z=z||(a?a.length:0);re.index<z;)if(aA(re,z,y)||KA(re,z,y)||kd(re,z,y)||Wh(re,z,y)||Y0(re,z,y))pe+=1;else if(re.index<z){let ye=x0(re.atoms[re.index],y);re.lastType==="mn"&&ye.length>0&&re.atoms[re.index].type==="genfrac"&&(ye="<mo>&#x2064;</mo>"+ye),re.atoms[re.index].type==="genfrac"?re.lastType="mfrac":re.lastType="",re.index+=1,Jc(ye,re,y)?pe+=1:ye.length>0&&(re.mathML+=ye,pe+=1)}pe>1&&(re.mathML="<mrow>"+re.mathML+"</mrow>")}return re.mathML}function Zh(a,y){let b="";const z=Vh(a.value);return z&&(b="<mo"+Fs(a.id,y)+">"+z+"</mo>"),b}function Vh(a){if(!a)return"";if(typeof a=="string")return Xl(a);if(!Array.isArray(a)&&typeof a.body=="string")return Xl(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return Xl(y)}function x0(a,y){var b,z,re,pe,ye,tt,ut,gt,_t,qt,pn,Kn,nr,di,Ha,li,na,Ka,fa,Vo,vs,os;if(a.mode==="text")return`<mi${Fs(a.id,y)}>${a.value}</mi>`;const xe={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",longleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",longrightarrow:"\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",longrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xleftrightarrows:"\u21C4",xRightleftharpoons:"\u21CC",longRightleftharpoons:"\u21CC",xLeftrightharpoons:"\u21CB",longLeftrightharpoons:"\u21CB"},Qe={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let st="",Ot="",rn,ln,dn,bn,kn,Dn;const{command:Sr}=a;if(a.command==="\\error")return`<merror${Fs(a.id,y)}>${ql(a.body,y)}</merror>`;const oi={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Yn={"\\vec":"&#x20d7;","\\acute":"&#x00b4;","\\grave":"&#x0060;","\\dot":"&#x02d9;","\\ddot":"&#x00a8;","\\tilde":"&#x007e;","\\bar":"&#x00af;","\\breve":"&#x02d8;","\\check":"&#x02c7;","\\hat":"&#x005e;"};switch(a.type){case"first":break;case"group":case"root":st=ql(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(st+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(st+="<mo>"+(oi[a.leftDelim]||a.leftDelim)+"</mo>")),st+="<mtable",a.colFormat){for(st+=' columnalign="',dn=0;dn<a.colFormat.length;dn++)a.colFormat[dn].align&&(st+={l:"left",c:"center",r:"right"}[a.colFormat[dn].align]+" ");st+='"'}for(st+=">",ln=0;ln<a.array.length;ln++){for(st+="<mtr>",rn=0;rn<a.array[ln].length;rn++)st+="<mtd>"+ql(a.array[ln][rn],y)+"</mtd>";st+="</mtr>"}st+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(st+="<mo>"+(oi[a.leftDelim]||a.rightDelim)+"</mo>"),st+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(st+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(st+="<mo"+Fs(a.id,y)+">"+(oi[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(st+="<mfrac>",st+=ql(a.above,y)||"<mi>&nbsp;</mi>",st+=ql(a.below,y)||"<mi>&nbsp;</mi>",st+="</mfrac>"):(st+="<mtable"+Fs(a.id,y)+">",st+="<mtr>"+ql(a.above,y)+"</mtr>",st+="<mtr>"+ql(a.below,y)+"</mtr>",st+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(st+="<mo"+Fs(a.id,y)+">"+(oi[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(st+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(st+="<msqrt"+Fs(a.id,y)+">",st+=ql(a.body,y),st+="</msqrt>"):(st+="<mroot"+Fs(a.id,y)+">",st+=ql(a.body,y),st+=ql(a.above,y),st+="</mroot>");break;case"leftright":const Vr=a,ii=Vr.leftDelim;st="<mrow>",ii&&ii!=="."&&(st+=`<mo${Fs(a.id,y)}>${(b=oi[ii])!=null?b:ii}</mo>`),a.body&&(st+=ql(a.body,y));const Yi=Vr.matchingRightDelim();Yi&&Yi!=="."&&(st+=`<mo${Fs(a.id,y)}>${(z=oi[Yi])!=null?z:Yi}</mo>`),st+="</mrow>";break;case"sizeddelim":case"delim":st+=`<mo${Fs(a.id,y)}>${oi[a.value]||a.value}</mo>`;break;case"accent":st+='<mover accent="true"'+Fs(a.id,y)+">",st+=ql(a.body,y),st+="<mo>"+(Yn[Sr]||a.accent)+"</mo>",st+="</mover>";break;case"line":case"overlap":break;case"overunder":kn=a.above,bn=a.below,(a.svgAbove||kn)&&(a.svgBelow||bn)?Dn=a.body:kn&&kn.length>0?(Dn=a.body,(pe=(re=a.body)==null?void 0:re[0])!=null&&pe.below?(bn=a.body[0].below,Dn=a.body[0].body):((tt=(ye=a.body)==null?void 0:ye[0])==null?void 0:tt.type)==="first"&&((gt=(ut=a.body)==null?void 0:ut[1])!=null&&gt.below)&&(bn=a.body[1].below,Dn=a.body[1].body)):bn&&bn.length>0&&(Dn=a.body,(qt=(_t=a.body)==null?void 0:_t[0])!=null&&qt.above?(kn=a.body[0].above,Dn=a.body[0].body):((Kn=(pn=a.body)==null?void 0:pn[0])==null?void 0:Kn.type)==="first"&&((di=(nr=a.body)==null?void 0:nr[1])!=null&&di.above)&&(kn=a.body[1].overscript,Dn=a.body[1].body)),(a.svgAbove||kn)&&(a.svgBelow||bn)?(st+=`<munderover ${Fs(a.id,y)}>`,st+=(Ha=xe[a.svgBody])!=null?Ha:ql(Dn,y),st+=(li=xe[a.svgBelow])!=null?li:ql(bn,y),st+=(na=xe[a.svgAbove])!=null?na:ql(kn,y),st+="</munderover>"):a.svgAbove||kn?(st+=`<mover ${Fs(a.id,y)}>`+((Ka=xe[a.svgBody])!=null?Ka:ql(Dn,y)),st+=(fa=xe[a.svgAbove])!=null?fa:ql(kn,y),st+="</mover>"):(a.svgBelow||bn)&&(st+=`<munder ${Fs(a.id,y)}>`+((Vo=xe[a.svgBody])!=null?Vo:ql(Dn,y)),st+=(vs=xe[a.svgBelow])!=null?vs:ql(bn,y),st+="</munder>");break;case"placeholder":st+="?";break;case"mord":{st=typeof a.value=="string"?a.value:Sr,Sr==="\\char"?st="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":st.length>0&&st.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?st="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?st=a.value.charAt(0):(console.error("Did not expect this"),st=""));const Ai=/\d/.test(st)?"mn":"mi";st=`<${Ai}${Fs(a.id,y)}>${Xl(st)}</${Ai}>`;break}case"mbin":case"mrel":case"minner":st=Zh(a,y);break;case"mpunct":st='<mo separator="true"'+Fs(a.id,y)+">"+Sr+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(st="<mo"+Fs(a.id,y)+">",st+=Sr==="\\operatorname"?a.body:Sr||a.body,st+="</mo>");break;case"box":st='<menclose notation="box"',a.backgroundcolor&&(st+=' mathbackground="'+a.backgroundcolor+'"'),st+=Fs(a.id,y)+">"+ql(a.body,y)+"</menclose>";break;case"spacing":st+='<mspace width="'+((os=Qe[Sr])!=null?os:0)+'em"/>';break;case"enclose":st='<menclose notation="';for(const Ai in a.notation)Object.prototype.hasOwnProperty.call(a.notation,Ai)&&a.notation[Ai]&&(st+=Ot+Ai,Ot=" ");st+=Fs(a.id,y)+'">'+ql(a.body,y)+"</menclose>";break;case"prompt":st='<menclose notation="roundexbox""">'+ql(a.body,y)+"</menclose>";break;case"space":st+="&nbsp;";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":st+=Zh(a,y);break;case"mclose":st+=Zh(a,y);break;case"macro":{const Ai=a.command+Vh(a.macroArgs);Ai&&(st+=`<mo ${Fs(a.id,y)}>${Ai}</mo>`)}break;case"latexgroup":st+=ql(a.body,y);break;case"latex":st+="<mtext"+Fs(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":st+=ql(a.body,y);break;case"text":st+=`<mtext ${Fs(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${Fs(a.id,y)} displaystyle="true">${ql(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${Fs(a.id,y)} displaystyle="false">${ql(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return st}var gh={"\\alpha":"alpha ","\\mu":"mew ","\\sigma":"sigma ","\\pi":"pie ","\\imaginaryI":"imaginary eye ","\\imaginaryJ":"imaginary jay ","\\sum":"Summation ","\\prod":"Product ","+":"plus ","-":"minus ",";":'<break time="150ms"/> semi-colon <break time="150ms"/>',",":'<break time="150ms"/> comma <break time="150ms"/>',"|":'<break time="150ms"/>Vertical bar<break time="150ms"/>',"(":'<break time="150ms"/>Open paren. <break time="150ms"/>',")":'<break time="150ms"/> Close paren. <break time="150ms"/>',"=":"equals ","<":"is less than ","\\lt":"is less than ","<=":"is less than or equal to ","\\le":"is less than or equal to ","\\gt":"is greater than ",">":"is greater than ","\\pm":"plus or minus","\\mp":"minus or plus","\\ge":"is greater than or equal to ","\\geq":"is greater than or equal to ","\\leq":"is less than or equal to ","\\ne":"is not equal to ","\\neq":"is not equal to ","!":"factorial ","\\sin":"sine ","\\cos":"cosine ","\u200B":"","\u2212":"minus ",":":'<break time="150ms"/> such that <break time="200ms"/> ',"\\colon":'<break time="150ms"/> such that <break time="200ms"/> ',"\\hbar":"etch bar ","\\iff":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\Longleftrightarrow":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\land":"and ","\\lor":"or ","\\neg":"not ","\\div":"divided by ","\\forall":"for all ","\\exists":"there exists ","\\nexists":"there does not exists ","\\in":"element of ","\\N":'the set <break time="150ms"/><say-as interpret-as="character">n</say-as>',"\\C":'the set <break time="150ms"/><say-as interpret-as="character">c</say-as>',"\\Z":'the set <break time="150ms"/><say-as interpret-as="character">z</say-as>',"\\Q":'the set <break time="150ms"/><say-as interpret-as="character">q</say-as>',"\\infty":"infinity ","\\nabla":"nabla ","\\partial":"partial derivative of ","\\cdot":"times ","\\cdots":"dot dot dot ","\\Rightarrow":"implies ","\\lparen":'<break time="150ms"/>open paren<break time="150ms"/>',"\\rparen":'<break time="150ms"/>close paren<break time="150ms"/>',"\\lbrace":'<break time="150ms"/>open brace<break time="150ms"/>',"\\{":'<break time="150ms"/>open brace<break time="150ms"/>',"\\rbrace":'<break time="150ms"/>close brace<break time="150ms"/>',"\\}":'<break time="150ms"/>close brace<break time="150ms"/>',"\\langle":'<break time="150ms"/>left angle bracket<break time="150ms"/>',"\\rangle":'<break time="150ms"/>right angle bracket<break time="150ms"/>',"\\lfloor":'<break time="150ms"/>open floor<break time="150ms"/>',"\\rfloor":'<break time="150ms"/>close floor<break time="150ms"/>',"\\lceil":'<break time="150ms"/>open ceiling<break time="150ms"/>',"\\rceil":'<break time="150ms"/>close ceiling<break time="150ms"/>',"\\vert":'<break time="150ms"/>vertical bar<break time="150ms"/>',"\\mvert":'<break time="150ms"/>divides<break time="150ms"/>',"\\lvert":'<break time="150ms"/>left vertical bar<break time="150ms"/>',"\\rvert":'<break time="150ms"/>right vertical bar<break time="150ms"/>',"\\lbrack":'<break time="150ms"/> open square bracket <break time="150ms"/>',"\\rbrack":'<break time="150ms"/> close square bracket <break time="150ms"/>',mm:"millimeters",cm:"centimeters",km:"kilometers",kg:"kilograms"},X0={array:"array",matrix:"matrix",pmatrix:"parenthesis matrix",bmatrix:"square brackets matrix",Bmatrix:"braces matrix",vmatrix:"bars matrix",Vmatrix:"double bars matrix","matrix*":"matrix",smallmatrix:"small matrix"};function hp(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function Xd(a){let y=0;if(Be(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Wp(a){if(Be(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function pp(a){let y="";if(Be(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function ag(a){return a?a.map(y=>y.value).join(""):""}function Ul(a,y){var b,z,re,pe,ye;function tt(_t){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(_t)?` <say-as interpret-as="character">${_t}</say-as>`:/[A-Z]/.test(_t)?`capital <say-as interpret-as="character">${_t.toLowerCase()}</say-as>`:_t:/[a-z]/.test(_t)?" '"+_t.toUpperCase()+"'":/[A-Z]/.test(_t)?" 'capital "+_t.toUpperCase()+"'":_t}function ut(_t){return"<emphasis>"+_t+"</emphasis>"}if(!y)return"";let gt="";if(Be(y)){let _t=!1,qt=!1;for(let pn=0;pn<y.length;pn++)y[pn].type!=="first"&&(y[pn].mode!=="text"&&(qt=!1),pn<y.length-2&&y[pn].type==="mopen"&&y[pn+2].type==="mclose"&&y[pn+1].type==="mord"?(gt+=" of ",gt+=ut(Ul(a,y[pn+1])),pn+=2):y[pn].mode==="text"?qt?gt+=(b=y[pn].value)!=null?b:" ":(qt=!0,gt+=Ul("text",y[pn])):y[pn].isDigit()?_t?gt+=y[pn].asDigit():(_t=!0,gt+=Ul(a,y[pn])):(_t=!1,gt+=Ul(a,y[pn])))}else if(y.mode==="text")y.id&&a==="math"&&(gt+='<mark name="'+y.id.toString()+'"/>'),gt+=y.value;else{y.id&&a==="math"&&(gt+='<mark name="'+y.id.toString()+'"/>');let _t="",qt="",pn="",Kn=!1;const{command:nr}=y;switch(nr){case"\\vec":return"vector "+Ul(a,y.body);case"\\acute":return Ul(a,y.body)+" acute";case"\\grave":return Ul(a,y.body)+" grave";case"\\dot":return"dot over"+Ul(a,y.body);case"\\ddot":return"double dot over"+Ul(a,y.body);case"\\mathring":return"ring over"+Ul(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Ul(a,y.body);case"\\bar":return Ul(a,y.body)+" bar";case"\\breve":return Ul(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Ul(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Ul(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Ul(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Ul(a,y.body)}switch(y.type){case"prompt":const di=y.body.length>1?'start input . <break time="500ms"/> '+Ul(a,y.body)+'. <break time="500ms"/> end input':"blank";gt+=' <break time="300ms"/> '+di+'. <break time="700ms"/>'+((z=y.correctness)!=null?z:"")+' . <break time="700ms"/> ';break;case"array":const Ha=y.array,li=y.environmentName;if(Object.keys(X0).includes(li)){gt+=` begin ${X0[li]} `;for(let fa=0;fa<Ha.length;fa++){fa>0&&(gt+=","),gt+=` row ${fa+1} `;for(let Vo=0;Vo<Ha[fa].length;Vo++)Vo>0&&(gt+=","),gt+=` column ${Vo+1}: `,gt+=Ul("math",Ha[fa][Vo])}gt+=` end ${X0[li]} `}break;case"group":nr==="\\ne"?gt+=" not equal ":(nr==="\\not"&&(gt+=" not "),gt+=Ul("math",y.body));break;case"root":gt+=Ul("math",y.body);break;case"genfrac":if(_t=Ul("math",y.above),qt=Ul("math",y.below),Xd(y.above)&&Xd(y.below)){const Vo={"1/2":" half ","1/3":" one third ","2/3":" two third","1/4":" one quarter ","3/4":" three quarter ","1/5":" one fifth ","2/5":" two fifths ","3/5":" three fifths ","4/5":" four fifths ","1/6":" one sixth ","5/6":" five sixths ","1/8":" one eight ","3/8":" three eights ","5/8":" five eights ","7/8":" seven eights ","1/9":" one ninth ","2/9":" two ninths ","4/9":" four ninths ","5/9":" five ninths ","7/9":" seven ninths ","8/9":" eight ninths "}[pp(y.above)+"/"+pp(y.below)];Vo?gt=Vo:gt+=_t+" over "+qt}else gt+=' the fraction <break time="150ms"/>'+_t+' over <break time="150ms"/>'+qt+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(pn=Ul("math",y.body),y.hasEmptyBranch("above"))gt+=Xd(y.body)?" the square root of "+pn+" , ":' the square root of <break time="200ms"/>'+pn+'. <break time="200ms"/> End square root';else{let fa=Ul("math",y.above);fa=fa.trim();const Vo=fa.replace(/<mark([^/]*)\/>/g,"");Vo==="3"?gt+=' the cube root of <break time="200ms"/>'+pn+'. <break time="200ms"/> End cube root':Vo==="n"?gt+=' the nth root of <break time="200ms"/>'+pn+'. <break time="200ms"/> End root':gt+=' the root with index: <break time="200ms"/>'+fa+', of <break time="200ms"/>'+pn+'. <break time="200ms"/> End root'}break;case"leftright":{const fa=y;gt+=(re=fa.leftDelim?gh[fa.leftDelim]:void 0)!=null?re:fa.leftDelim,gt+=Ul("math",y.body),gt+=(pe=fa.rightDelim?gh[fa.rightDelim]:void 0)!=null?pe:fa.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const na=nr.replace(/^\\/g,""),Ka=tn()[na];Ka&&(Ka!=null&&Ka.expand?gt+=Ul("math",y.body):gt+=`${na} `);break;case"placeholder":gt+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(nr==="\\mathbin"||nr==="\\mathrel"||nr==="\\mathopen"||nr==="\\mathclose"||nr==="\\mathpunct"||nr==="\\mathord"||nr==="\\mathinner"){gt=Ul(a,y.body);break}let fa=y.isDigit()?y.asDigit():y.value,Vo=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(Vo=y.value,fa=Vo),a==="text")gt+=fa;else{if(y.type==="mbin"&&(gt+='<break time="150ms"/>'),fa){const vs=gh[fa]||(Vo?gh[Vo.trim()]:"");if(vs)gt+=" "+vs;else{const os=Vo?hp(Vo.trim()):"";gt+=os||tt(fa)}}else gt+=Ul("math",y.body);y.type==="mbin"&&(gt+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const fa=y.command;if(fa==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Vo=Ul("math",y.superscript);Vo=Vo.trim();let vs=Ul("math",y.subscript);vs=vs.trim(),gt+=' the summation from <break time="200ms"/>'+vs+'<break time="200ms"/> to <break time="200ms"/>'+Vo+'<break time="200ms"/> of <break time="150ms"/>',Kn=!0}else if(y.hasEmptyBranch("subscript"))gt+=" the summation of";else{let Vo=Ul("math",y.subscript);Vo=Vo.trim(),gt+=' the summation from <break time="200ms"/>'+Vo+'<break time="200ms"/> of <break time="150ms"/>',Kn=!0}else if(fa==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Vo=Ul("math",y.superscript);Vo=Vo.trim();let vs=Ul("math",y.subscript);vs=vs.trim(),gt+=' the product from <break time="200ms"/>'+vs+'<break time="200ms"/> to <break time="200ms"/>'+Vo+'<break time="200ms"/> of <break time="150ms"/>',Kn=!0}else if(y.hasEmptyBranch("subscript"))gt+=" the product of ";else{let Vo=Ul("math",y.subscript);Vo=Vo.trim(),gt+=' the product from <break time="200ms"/>'+Vo+'<break time="200ms"/> of <break time="150ms"/>',Kn=!0}else if(fa==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Vo=Ul("math",y.superscript);Vo=Vo.trim();let vs=Ul("math",y.subscript);vs=vs.trim(),gt+=' the integral from <break time="200ms"/>'+ut(vs)+'<break time="200ms"/> to <break time="200ms"/>'+ut(Vo)+' <break time="200ms"/> of ',Kn=!0}else gt+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const Vo=(ye=gh[y.value])!=null?ye:y.command?gh[y.command]:void 0;gt+=Vo||" "+y.value}else y.command&&(y.command==="\\mathop"?gt+=Ul("math",y.body):y.command==="\\operatorname"?gt+=ag(y.body):gt+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":pn=Ul("math",y.body),gt+=" crossed out "+pn+". End crossed out.";break;case"space":case"spacing":break}if(!Kn&&!y.hasEmptyBranch("superscript")){let di=Ul(a,y.superscript);di=di.trim();const Ha=di.replace(/<[^>]*>/g,"");if(Xd(y.superscript)){if(a==="math"){const li=Wp(y.superscript);li&&(gt+='<mark name="'+li+'"/>')}Ha==="\u2032"?gt+=" prime ":Ha==="2"?gt+=" squared ":Ha==="3"?gt+=" cubed ":Number.isNaN(Number.parseInt(Ha))?gt+=" to the "+di+"; ":gt+=' to the <say-as interpret-as="ordinal">'+Ha+"</say-as> power; "}else Number.isNaN(Number.parseInt(Ha))?gt+=" raised to the "+di+"; ":gt+=' raised to the <say-as interpret-as="ordinal">'+Ha+"</say-as> power; "}if(!Kn&&!y.hasEmptyBranch("subscript")){let di=Ul("math",y.subscript);di=di.trim(),gt+=Xd(y.subscript)?" sub "+di:" subscript "+di+". End subscript. "}}return gt}function oA(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const re=ql(a);if(re){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=we(Ae({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=we(Ae({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=we(Ae({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const pe=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&pe.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let ye="";try{ye=pe.toSpeech(re)}catch(tt){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",tt)}return ye}return""}let z=Ul("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let re="";window.MathfieldElement.speechEngineRate&&(re='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),z='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+re+"<p><s>"+z+"</s></p>"+(re?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&Te()==="macos"?z=z.replace(/<mark([^/]*)\/>/g,"").replace(/<emphasis>/g,"[[emph+]]").replace(/<\/emphasis>/g,"").replace(/<break time="(\d*)ms"\/>/g,"[[slc $1]]").replace(/<say-as[^>]*>/g,"").replace(/<\/say-as>/g,""):z=z.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return z}var qf={"\\ne":"\u2260","\\neq":"\u2260","\u2212":"-","-":"-","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\delta":"delta","\\epsilon":"epsilon","\\varepsilon":"varepsilon","\\zeta":"zeta","\\eta":"eta","\\theta":"theta","\\vartheta":"vartheta","\\iota":"iota","\\kappa":"kappa","\\lambda":"lambda","\\mu":"mu","\\nu":"nu","\\xi":"xi","\\pi":"pi","\\rho":"rho","\\sigma":"sigma","\\tau":"tau","\\upsilon":"upsilon","\\phi":"phi","\\varphi":"varphi","\\chi":"chi","\\psi":"psi","\\omega":"omega","\\Gamma":"Gamma","\\Delta":"Delta","\\Theta":"Theta","\\Lambda":"Lambda","\\Xi":"Xi","\\Pi":"Pi","\\Sigma":"Sigma","\\Phi":"Phi","\\Psi":"Psi","\\Omega":"Omega","\\exponentialE":"e","\\imaginaryI":"i","\\imaginaryJ":"j","\\!":" ","\\,":" ","\\:":" ","\\>":" ","\\;":" ","\\enskip":" ","\\enspace":" ","\\qquad":" ","\\quad":" ","\\infty":"oo"},C0={"\\pm":"+-","\\colon":":","\\vert":"|","\\Vert":"||","\\mid":"|","\\lbrack":"[","\\rbrack":"]","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"(:","\\rangle":":)","\\sum":" sum ","\\prod":" prod ","\\bigcap":" nnn ","\\bigcup":" uuu ","\\int":" int ","\\oint":" oint ","\\ge":">=","\\le":"<=","\\ne":"!=","\\neq":"!=","\\lt":"<","\\gt":">","\\gets":"<-","\\to":"->","\\land":" and ","\\lor":" or ","\\lnot":" not ","\\forall":" AA ","\\exists":" EE ","\\in":" in ","\\notin":" !in ","\\mapsto":"|->","\\implies":"=>","\\iff":"<=>","\\cdot":"*","\\ast":"**","\\star":"***","\\times":"xx","\\div":"-:","\\ltimes":"|><","\\rtimes":"><|","\\bowtie":"|><|","\\circ":"@"};function Mg(a){let y="";for(const b of a){const z=y[y.length-1];z!==void 0&&/\d/.test(z)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function Wu(a){var y,b,z,re,pe,ye,tt,ut,gt,_t,qt,pn,Kn;if(!a)return"";if(Be(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(Wu).join("");if(a[0].mode==="text"){let Ka=0,fa="";for(;((y=a[Ka])==null?void 0:y.mode)==="text";)fa+=a[Ka].body?Wu(a[Ka].body):a[Ka].value,Ka++;return`"${fa}" ${Wu(a.slice(Ka))}`}let li=0;const na=[];for(;a[li]&&a[li].mode==="math";){let Ka="";for(;a[li]&&a[li].type==="mord"&&/\d/.test(a[li].value);)Ka+=a[li++].value;Ka?na.push(Ka):na.push(Wu(a[li++]))}return na.push(Wu(a.slice(li))),Mg(na)}if(a.mode==="text")return`"${a.value}"`;let nr="";const{command:di}=a;let Ha;if(di==="\\placeholder")return`(${Wu(a.body)})`;switch(a.type){case"accent":const li={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[di];nr=`${li!=null?li:""} ${Wu(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(os=>os.value).join("");case"group":case"root":nr=(b=qf[di])!=null?b:Wu(a.body);break;case"genfrac":{const os=a;(os.leftDelim||os.rightDelim)&&(nr=os.leftDelim==="."||!os.leftDelim?"{:":os.leftDelim),os.hasBarLine?(nr+="(",nr+=Wu(os.above),nr+=")/(",nr+=Wu(os.below),nr+=")"):(nr+="("+Wu(os.above)+"),",nr+="("+Wu(os.below)+")"),(os.leftDelim||os.rightDelim)&&(nr+=os.rightDelim==="."||!os.rightDelim?"{:":os.rightDelim)}break;case"surd":nr+=a.hasEmptyBranch("above")?"sqrt("+Wu(a.body)+")":"root("+Wu(a.above)+")("+Wu(a.body)+")";break;case"latex":nr=a.value;break;case"leftright":{const os=a,xe=os.leftDelim;nr+=xe==="."||!xe?"{:":xe,nr+=Wu(os.body);const Qe=os.matchingRightDelim();nr+=Qe==="."||!Qe?":}":Qe}break;case"sizeddelim":case"delim":nr=a.value;break;case"overlap":break;case"overunder":break;case"mord":nr=(re=(z=qf[di])!=null?z:di)!=null?re:typeof a.value=="string"?a.value:"",nr.startsWith("\\")&&(nr+=" "),Ha=di?di.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,Ha?nr=String.fromCodePoint(Number.parseInt("0x"+Ha[1])):nr.length>0&&nr.startsWith("\\")&&(nr=typeof a.value=="string"?a.value.charAt(0):a.command),nr=Zp(nr,a.style);break;case"mbin":case"mrel":case"minner":nr=(ye=(pe=qf[di])!=null?pe:C0[di])!=null?ye:a.value;break;case"mopen":case"mclose":nr=a.value;break;case"mpunct":nr=(tt=C0[di])!=null?tt:di;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(C0[di]?nr=C0[di]:nr=di==="\\operatorname"?Wu(a.body):(ut=a.value)!=null?ut:di,nr+=" ");break;case"array":const na=a.array,Ka=a.environmentName,fa=(gt={bmatrix:["[","]"],"bmatrix*":["[","]"]}[Ka])!=null?gt:["(",")"],Vo=[];for(const os of na){const xe=[];for(const Qe of os)xe.push(fa[0]+Wu(Qe)+fa[1]);Vo.push(xe.join(","))}const vs=(_t={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[Ka])!=null?_t:["(",")"];nr=vs[0]+Vo.join(",")+vs[1];break;case"box":break;case"spacing":nr=(qt=qf[di])!=null?qt:" ";break;case"enclose":nr="("+Wu(a.body)+")";break;case"space":nr=" ";break;case"subsup":nr="";break;case"macro":nr=(Kn=(pn=qf[di])!=null?pn:C0[di])!=null?Kn:Wu(a.body);break}if(!a.hasEmptyBranch("subscript")){nr+="_";const li=Wu(a.subscript);nr+=li.length!==1?`(${li})`:li}if(!a.hasEmptyBranch("superscript")){nr+="^";const li=Wu(a.superscript);nr+=li.length!==1?`(${li})`:li}return nr}function Zp(a,y){if(!y)return a;let b=a;return y.variant==="double-struck"&&(b=`bbb "${b}"`),y.variant==="script"&&(b=`cc "${b}"`),y.variant==="fraktur"&&(b=`fr "${b}"`),y.variant==="sans-serif"&&(b=`sf "${b}"`),y.variant==="monospace"&&(b=`tt "${b}"`),y.variantStyle==="bold"&&(b=`bb "${b}"`),y.color?`color({${y.color}})(${b})`:b}function yd(a,y){var b,z;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const re=new Vl({from:we(Ae({},L0()),{renderPlaceholder:()=>new Li(160,{maxFontSize:1}),letterShapeStyle:(z=y==null?void 0:y.letterShapeStyle)!=null?z:"tex"}),mathstyle:y.mathstyle}),ye=new Ei({mode:"math",type:"root",body:dd(a,{context:re,parseMode:"math",mathstyle:y.mathstyle})}).render(re);return ye?(kh(Qc(ye,re)),n0(ye,{classes:"ML__latex"}).toMarkup()):""}function _g(a){return Ph(a,{context:L0()})}function mp(a,y={}){return ql(dd(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Vp(a){const y=dd(a,{parseMode:"math",mathstyle:"displaystyle"});return oA(y)}var cf;function $f(a){var y,b;if(!cf){const z=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;z?cf=new z:console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}return(b=cf==null?void 0:cf.box(a).latex)!=null?b:""}function Gp(a,y="math"){return Wu(new Ei({type:"root",body:dd(a,{parseMode:y})}))}function gp(a){return O0(a,{format:"ascii-math"})[1]}function B0(a){if(typeof a=="string"){const y=km(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?og(a):"a"in a?Mm(a):a}function S0(a){return a<0?0:a>255?255:Math.round(a)}function km(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&typeof y.a=="undefined"&&(y.a=1),y}function Md(a){const[y,b,z]=[a.L,a.C,a.H],re=z*Math.PI/180,pe={L:y,a:b*Math.cos(re),b:b*Math.sin(re)};return a.alpha!==void 0&&(pe.alpha=a.alpha),pe}function Ig(a){const[y,b,z]=[a.L,a.a,a.b],re=Math.sqrt(b*b+z*z),ye=Math.atan2(z,b)*180/Math.PI,tt={L:y,C:re,H:ye};return a.alpha!==void 0&&(tt.alpha=a.alpha),tt}function vh(a){const[y,b,z]=[a.L,a.a,a.b],re=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*z,3),pe=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*z,3),ye=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*z,3),tt=4.076741661347994*re-3.307711590408193*pe+.230969928729428*ye,ut=-1.2684380040921763*re+2.6097574006633715*pe-.3413193963102197*ye,gt=-.004196086541837188*re-.7034186144594493*pe+1.7076147009309444*ye,_t=qt=>{const pn=Math.abs(qt);return pn<=.0031308?qt*12.92:(Math.sign(qt)||1)*(1.055*Math.pow(pn,1/2.4)-.055)};return[_t(tt),_t(ut),_t(gt)]}function yh(a){const[y,b,z]=a;return y>=0&&y<=1&&b>=0&&b<=1&&z>=0&&z<=1}function Yp(a,y){let[b,z,re]=a;return b=S0(b*255),z=S0(z*255),re=S0(re*255),y!==void 0?{r:b,g:z,b:re,alpha:y}:{r:b,g:z,b:re}}function Mm(a){let[y,b,z]=vh(a);if(yh([y,b,z]))return Yp([y,b,z],a.alpha);const re=Ig(a);if(re.C=0,[y,b,z]=vh(Md(re)),!yh([y,b,z]))return Yp([y,b,z],a.alpha);let pe=0,ye=a.L,tt=(pe+ye)/2;re.C=tt;const ut=.36/Math.pow(2,12);for(;ye-pe>ut;)tt=(pe+ye)/2,re.C=tt,[y,b,z]=vh(Md(re)),yh([y,b,z])?pe=tt:ye=tt;return Yp([y,b,z],a.alpha)}function og(a){return Mm(Md(a))}function _m(a,y){const b=B0(a),z=B0(y),re=.56,pe=.57,ye=.62,tt=.65,ut=.022,gt=1.414,_t=.1,qt=5e-4,pn=1.14,Kn=.027,nr=1.14,di=.027;function Ha(os){return os>=ut?os:os+Cp(ut-os,gt)}function li(os){return(os<0?-1:1)*Math.pow(Math.abs(os),2.4)}const na=Ha(li(z.r/255)*.2126729+li(z.g/255)*.7151522+li(z.b/255)*.072175),Ka=Ha(li(b.r/255)*.2126729+li(b.g/255)*.7151522+li(b.b/255)*.072175);let fa,Vo,vs;return Math.abs(Ka-na)<qt?Vo=0:Ka>na?(fa=Cp(Ka,re)-Cp(na,pe),Vo=fa*pn):(fa=Cp(Ka,tt)-Cp(na,ye),Vo=fa*nr),Math.abs(Vo)<_t?vs=0:Vo>0?vs=Vo-di:vs=Vo+Kn,vs*100}function J0(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const z=_m(a,b),re=_m(a,y);return Math.abs(z)>Math.abs(re)?b:y}function vp(a){const y=B0(a);let b=((1<<24)+(S0(y.r)<<16)+(S0(y.g)<<8)+S0(y.b)).toString(16).slice(1);return y.alpha!==void 0&&y.alpha<1&&(b+=("00"+Math.round(y.alpha*255).toString(16)).slice(-2)),b[0]===b[1]&&b[2]===b[3]&&b[4]===b[5]&&b[6]===b[7]&&(b=b[0]+b[2]+b[4]+(y.alpha!==void 0&&y.alpha<1?b[6]:"")),"#"+b}function Zu(a){const y=yp(a);let b="";for(const z of y){if(typeof z.value!="string")return"";b+=z.value}return b}function yp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function bp(a,y){const b=yp(a);if(b.length!==1)return!1;const z=pm[y];return z?!!z.test(b[0].value):!1}function Xp(a,y){return Zu(a).length>0}function bh(a){return[Dg(a,"double-struck","mathbb","tooltip.blackboard"),Dg(a,"fraktur","mathfrak","tooltip.fraktur"),Dg(a,"calligraphic","mathcal","tooltip.caligraphic"),Ng(a,"up","mathrm","tooltip.roman-upright"),Ng(a,"bold","mathbf","tooltip.bold"),Ng(a,"italic","mathit","tooltip.italic")]}function E0(a){return[{label:()=>yd(`\\vec{${Zu(a)}}`),visible:()=>Zu(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>yd(`\\overrightarrow{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>yd(`\\overleftarrow{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>yd(`\\dot{${Zu(a)}}`),visible:()=>Zu(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>yd(`\\ddot{${Zu(a)}}`),visible:()=>Zu(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>yd(`\\bar{${Zu(a)}}`),visible:()=>Zu(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>yd(`\\overline{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>yd(`\\overgroup{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>yd(`\\overbrace{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>yd(`\\underline{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>yd(`\\undergroup{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>yd(`\\underbrace{${Zu(a)}}`),visible:()=>Zu(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function Fc(a){return[{label:()=>yd(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>yd(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>yd(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function qc(a){const y=[];for(const b of Object.keys($e))y.push({class:(vp(J0($e[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${$e[b]} "></span>`,ariaLabel:()=>{var z;return(z=qe(b))!=null?z:b},checked:()=>{var z;return{some:"mixed",all:!0}[(z=a.queryStyle({backgroundColor:b}))!=null?z:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function Jd(a){const y=[];for(const b of Object.keys(rt))y.push({class:(J0(rt[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${rt[b]} "></span>`,ariaLabel:()=>{var z;return(z=qe(b))!=null?z:b},checked:()=>{var z;return{some:"mixed",all:!0}[(z=a.queryStyle({color:b}))!=null?z:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var gA=class extends w0{constructor(a,y,b,z){super(a,y),this.row=b,this.col=z}set active(a){const y=this.parentMenu.children;if(a)for(const b of y)b.element.classList.toggle("active",b.row<=this.row&&b.col<=this.col);else for(const b of y)b.element.classList.remove("active")}};function q0(a){const y=[];for(let b=1;b<=5;b++)for(let z=1;z<=5;z++)y.push({onCreate:(re,pe)=>new gA(re,pe,b,z),label:"\u2610",tooltip:()=>qe("tooltip.row-by-col",b,z),data:{row:b,col:z},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(z).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function sg(a){return[{label:()=>qe("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>wh(a)},{label:()=>qe("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>wh(a)},{label:()=>qe("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>wh(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,z]=Bv(a);return b<y.maxColumns}},{label:()=>qe("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>wh(a)},{type:"divider"},{label:()=>qe("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>wh(a)},{label:()=>qe("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>wh(a)},{type:"divider"},{label:()=>qe("menu.borders"),visible:()=>(Lg(a)||wh(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>Im(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>Im(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>Im(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>Im(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>Im(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>qe("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:q0(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>qe("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>qe("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{Ip(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>qe("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{Ip(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>qe("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>qe("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:bh(a),submenuClass:"variant-submenu"},{label:()=>qe("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Jd(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>qe("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:qc(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>qe("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:E0(a),submenuClass:"variant-submenu"},{label:()=>qe("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&Zu(a).length>0,submenu:Fc(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>qe("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=Sv(a);if(!y){a.model.announce("plonk");return}a.model.selectionIsCollapsed?(a.model.position=a.model.lastOffset,a.insert(`=${y}`,{insertionMode:"insertAfter",selectionMode:"item"})):a.insert(y,{insertionMode:"replaceSelection",selectionMode:"item"})}},{label:()=>qe("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const z=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!z){a.model.announce("plonk");return}a.insert(`=${z.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const z=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!z){a.model.announce("plonk");return}a.insert(z.latex,{insertionMode:"replaceSelection",selectionMode:"item"})}}},{label:()=>{var y;if(window.MathfieldElement.computeEngine===null)return"";const b=(y=a.expression)==null?void 0:y.unknowns[0];return b?qe("menu.solve-for",yd(b)):qe("menu.solve")},id:"ce-solve",visible:()=>{var y;return a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null&&((y=a.expression)==null?void 0:y.unknowns.length)===1&&a.expression.unknowns[0]!=="Nothing"},onMenuSelect:()=>{var y;const b=a.expression,z=b==null?void 0:b.unknowns[0],re=(y=b.solve(z))==null?void 0:y.map(pe=>{var ye;return(ye=pe.simplify().latex)!=null?ye:""});if(!re){a.model.announce("plonk");return}a.insert(`${z}=${re.length===1?re[0]:"\\left\\lbrace"+(re==null?void 0:re.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>qe("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>qe("menu.copy"),id:"copy",submenu:[{label:()=>qe("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>zs.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>qe("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>zs.copyToClipboard(a,"ascii-math")},{label:()=>qe("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>zs.copyToClipboard(a,"math-ml")}]},{label:()=>qe("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>qe("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function wh(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function Lg(a){return a.model.at(a.model.position).type==="array"}function Bv(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((z,re)=>Math.max(z,re.length),0)]:[0,0]}function Im(a,y){mg(a),a.flushInlineShortcutBuffer(),qu(a.model,y),Ad(a)}function Sv(a){var y,b;let z;if(a.model.selectionIsCollapsed?z=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):z=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!z)return"";let re=z.evaluate();return re.isSame(z)&&(re=z.N()),re.latex}function Dg(a,y,b,z){return{label:()=>yd(`\\${b}{${Zu(a)}}`),tooltip:()=>{var re;return(re=qe(z))!=null?re:z},visible:()=>bp(a,y),checked:()=>{var re;return{some:"mixed",all:!0}[(re=a.queryStyle({variant:y}))!=null?re:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Ng(a,y,b,z){return{label:()=>yd(`\\${b}{${Zu(a)}}`),tooltip:()=>{var re;return(re=qe(z))!=null?re:z},visible:()=>Xp(a,y),checked:()=>{var re;return{some:"mixed",all:!0}[(re=a.queryStyle({variantStyle:y}))!=null?re:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Jp(a,y){return a+oA(y)}ne({speak:(a,y,b)=>lg(a,y,b)},{target:"mathfield"});function lg(a,y,b){var z,re;b=b!=null?b:{withHighlighting:!1};const{model:pe}=a;function ye(_t){let qt=null;switch(_t){case"all":qt=pe.root;break;case"selection":qt=pe.getAtoms(pe.selection);break;case"left":{qt=pe.getAtoms(pe.offsetOf(pe.at(pe.position).leftSibling),pe.position);break}case"right":{qt=pe.getAtoms(pe.position,pe.offsetOf(pe.at(pe.position).rightSibling));break}case"group":qt=pe.getAtoms(pe.getSiblingsRange(pe.position));break;case"parent":{const{parent:pn}=pe.at(pe.position);pn!=null&&pn.parent?qt=pn:qt=pe.root;break}default:qt=pe.root}return qt}function tt(_t){let qt="";switch(_t){case"all":console.log("Internal failure: speak all failed");break;case"selection":qt="no selection";break;case"left":qt="at start";break;case"right":qt="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":qt="no parent";break;default:console.log('unknown speak_ param value: "'+_t+'"');break}return qt}const ut=ye(y);if(ut===null)return(re=(z=window.MathfieldElement).speakHook)==null||re.call(z,tt(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const gt=oA(ut);return Oe()&&b.withHighlighting?(df().readAloudMathfield=a,Lp(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,gt)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(gt),!1}function Ev(a){var y,b;if(!Oe()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const z=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(z)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const z=new window.AWS.Polly({apiVersion:"2016-06-10"}),re={OutputFormat:"mp3",VoiceId:(y=window.MathfieldElement.speechEngineVoice)!=null?y:"Joanna",Engine:["Amy","Emma","Brian","Ivy","Joanna","Kendra","Kimberly","Salli","Joey","Justin","Matthew"].includes((b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna")?"neural":"standard",Text:a,TextType:"ssml"};z.synthesizeSpeech(re,(pe,ye)=>{if(pe)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${pe}`);else if(ye!=null&&ye.AudioStream){const tt=new Uint8Array(ye.AudioStream),ut=new Blob([tt.buffer],{type:"audio/mpeg"}),gt=URL.createObjectURL(ut);new Audio(gt).play().catch(qt=>console.log(qt))}else console.log("polly.synthesizeSpeech():",ye)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function iv(a){var y;let b;if(a.parent.type==="prompt")a.parentBranch==="body"&&(b="prompt");else if(a.parentBranch==="body")b=a.type&&(y={enclose:"cross out",leftright:"delimiter",surd:"square root",root:"math field",mop:"operator",first:"first"}[a.type])!=null?y:"parent";else if(a.parent.type==="genfrac"){if(a.parentBranch==="above")return"numerator";if(a.parentBranch==="below")return"denominator"}else a.parent.type==="surd"?a.parentBranch==="above"&&(b="index"):a.parentBranch==="superscript"?b="superscript":a.parentBranch==="subscript"&&(b="subscript");return b||console.log("unknown relationship"),b!=null?b:"parent"}function Fv(a,y,b,z){let re="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")re=Jp("deleted: ",z);else if(y==="focus"||y.includes("move"))re=kv(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+Mv(a.model);else if(y==="replacement")re=Jp("",a.model.at(a.model.position));else if(y==="line"){const pe=Jp("",a.model.root);a.keyboardDelegate.setAriaLabel(pe)}else re=z?Jp(y+" ",z):y;if(re){const pe=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=re+pe}}function kv(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let z="",re=b.parent;const pe=a.at(a.position).parent;for(;re!==a.root&&re!==pe;)z+=`out of ${iv(re)};`,re=re.parent;return z}function Mv(a){if(!a.selectionIsCollapsed)return Jp("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),z=iv(b);return b.isFirstSibling&&(y=(z?"start of "+z:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=z?"end of "+z:"unknown"):y+=Jp("",b),y}var _v=class{constructor(a,y,b){this.mathfield=a,this.mode=y,this.silenceNotifications=!1,this._selection={ranges:[[0,0]],direction:"none"},this._anchor=0,this._position=0,this.root=b}dispose(){this.mathfield=void 0}getState(){const a={ranges:[...this._selection.ranges]};return this.selection.direction&&this.selection.direction!=="none"&&(a.direction=this.selection.direction),{content:this.root.toJson(),selection:a,mode:this.mode}}setState(a,y){var b;const z=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let re={};if((y==null?void 0:y.type)==="undo"&&(re={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(re={inputType:"historyRedo"}),this.contentWillChange(re)){const pe=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=ll(a.content),this.selection=a.selection,this.silenceNotifications=pe,this.contentDidChange(re)}this.silenceNotifications=z}get atoms(){return this.root.children}get selection(){return this._selection}set selection(a){this.setSelection(a)}setSelection(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{var b,z,re;const pe=this.normalizeSelection(a,y);if(pe===void 0)throw new TypeError("Invalid selection");if(pe.ranges.length===1&&pe.ranges[0][0]===pe.ranges[0][1]){const _t=pe.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(_t))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((z=this.at(_t-1))!=null&&z.parentPrompt){this._anchor=this.normalizeOffset(_t-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((re=this.at(_t+1))!=null&&re.parentPrompt){this._anchor=this.normalizeOffset(_t+1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}this._anchor=0,this._position=0,this._selection={ranges:[[0,0]]};return}this._anchor=_t,this._position=_t,this._selection=pe;return}const ye=rd(pe);pe.direction==="backward"?[this._position,this._anchor]=ye:[this._anchor,this._position]=ye;const tt=this.at(ye[0]+1),ut=this.at(ye[1]),gt=Ei.commonAncestor(tt,ut);(gt==null?void 0:gt.type)==="array"&&tt.parent===gt&&ut.parent===gt?this._selection={ranges:[ye],direction:pe.direction}:this._selection={ranges:[ye],direction:pe.direction},console.assert(this._position>=0&&this._position<=this.lastOffset)})}setPositionHandlingPlaceholder(a){var y;const b=this.at(a);(b==null?void 0:b.type)==="placeholder"?this.setSelection(a-1,a):((y=b==null?void 0:b.rightSibling)==null?void 0:y.type)==="placeholder"?this.setSelection(a,a+1):this.position=a,b instanceof md&&b.isSuggestion&&(b.isSuggestion=!1),this.mathfield.stopCoalescingUndo()}get position(){return this._position}set position(a){this.setSelection(a,a)}get anchor(){return this._anchor}get selectionIsCollapsed(){return this._anchor===this._position}get selectionIsPlaceholder(){return Math.abs(this._anchor-this._position)===1?this.at(Math.max(this._anchor,this._position)).type==="placeholder":!1}collapseSelection(a="forward"){return this._anchor===this._position?!1:(a==="backward"?this.position=Math.min(this._anchor,this._position):this.position=Math.max(this._anchor,this._position),!0)}get lastOffset(){return this.atoms.length-1}at(a){return this.atoms[a]}offsetOf(a){return this.atoms.indexOf(a)}getSiblingsRange(a){const y=this.at(a),{parent:b}=y;if(!b)return[0,this.lastOffset];const z=y.parent.branch(y.parentBranch);return[this.offsetOf(z[0]),this.offsetOf(z[z.length-1])]}getBranchRange(a,y){const b=this.at(a).branch(y);return[this.offsetOf(b[0]),this.offsetOf(b[b.length-1])]}getAtoms(a,y,b){let z=b!=null?b:{};if(D0(a)){if(z=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((gt,_t)=>[...gt,...this.getAtoms(_t,z)],[]);a=a.ranges[0]}let re,pe;if(Pf(a)){if(re=a,!Pf(y))return[];pe=y}else[re,pe]=a,z=y!=null?y:{};if(!Number.isFinite(re))return[];z.includeChildren===void 0&&(z.includeChildren=!1),re<0&&(re=this.lastOffset-re+1),pe<0&&(pe=this.lastOffset-pe+1);const ye=Math.min(re,pe)+1,tt=Math.max(re,pe);if(!z.includeChildren&&ye===1&&tt===this.lastOffset)return[this.root];let ut=[];for(let gt=ye;gt<=tt;gt++){const _t=this.atoms[gt];av(this,_t,ye,tt)&&ut.push(_t)}return z.includeChildren||(ut=ut.filter(gt=>{let _t=!1,{parent:qt}=gt;for(;qt&&!_t;)_t=av(this,qt,ye,tt),qt=qt.parent;return!_t})),ut}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let z=a;z<=b;z++)y.push(this.atoms[z]);for(let z=0;z<a;z++)y.push(this.atoms[z]);return y}findAtom(a,y=0,b="forward"){let z;const re=this.lastOffset;if(b==="forward"){for(let pe=y;pe<=re;pe++)if(z=this.atoms[pe],a(z))return z;for(let pe=0;pe<y;pe++)if(z=this.atoms[pe],a(z))return z;return}for(let pe=y;pe>=0;pe--)if(z=this.atoms[pe],a(z))return z;for(let pe=re;pe>y;pe--)if(z=this.atoms[pe],a(z))return z}extractAtoms(a){let y=this.getAtoms(a);if(y.length===1&&!y[0].parent)if(y[0].type==="root")y=[...y[0].body],y.shift();else return y=this.root.cells.flat(),this.root=new Ei({type:"root",body:[]}),y;for(const b of y)b.parent.removeChild(b);return y}deleteAtoms(a){this.extractAtoms(a),this.position=a[0]}atomToString(a,y){const b=y!=null?y:"latex";if(b.startsWith("latex"))return Ei.serialize([a],{expandMacro:b==="latex-expanded",skipStyles:b==="latex-unstyled",skipPlaceholders:b==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode});if(b==="math-ml")return ql(a);if(b==="spoken")return oA(a);if(b==="spoken-text"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const re=oA(a);return window.MathfieldElement.textToSpeechMarkup=z,re}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const re=oA(a);return window.MathfieldElement.textToSpeechMarkup=z,re}return b==="ascii-math"?Wu(a):(console.error(`MathLive 0.98.5: Unexpected format "${b}`),"")}getValue(a,y,b){if(a===void 0)return this.atomToString(this.root,"latex");if(typeof a=="string"&&a!=="math-json")return this.atomToString(this.root,a);let z,re;if(Pf(a)&&Pf(y)?(z=[this.normalizeRange([a,y])],re=b):i0(a)?(z=[this.normalizeRange(a)],re=y):D0(a)?(z=a.ranges,re=y):(z=[this.normalizeRange([0,-1])],re=a),re!=null||(re="latex"),re==="math-json"){if(!window.MathfieldElement.computeEngine)return window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`),'["Error", "compute-engine-not-available"]';const pe=this.getValue({ranges:z},"latex-unstyled");try{const ye=window.MathfieldElement.computeEngine.parse(pe);return JSON.stringify(ye.json)}catch(ye){return JSON.stringify(["Error",`'${ye.toString()}'`])}}if(re.startsWith("latex")){const pe={expandMacro:re==="latex-expanded",skipStyles:re==="latex-unstyled",skipPlaceholders:re==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return ml(z.map(ye=>Ei.serialize(this.getAtoms(ye),pe)))}return z.map(pe=>this.getAtoms(pe).map(ye=>this.atomToString(ye,re)).join("")).join("")}extendSelectionTo(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{const b=this.normalizeRange([a,y]);let[z,re]=b,{parent:pe}=this.at(re);if(pe&&(pe.type==="genfrac"||pe.type==="subsup"))for(;pe!==this.root&&Og(this,pe,[z,re]);)re=this.offsetOf(pe),pe=pe.parent;for(pe=this.at(z).parent;pe!==this.root&&Og(this,pe,[z,re]);)z=this.offsetOf(pe.leftSibling),pe=pe.parent;if(pe=this.at(re).parent,(pe==null?void 0:pe.type)==="genfrac")for(;pe!==this.root&&Og(this,pe,[z,re]);)re=this.offsetOf(pe),console.assert(re>=0),pe=pe.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[z,re]],direction:"none"}})}announce(a,y,b=[]){var z,re;((re=(z=this.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?re:!0)&&Fv(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,z=this._anchor,re=this._position,pe=this.silenceNotifications;this.silenceNotifications=!0;const ye=this.root.changeCounter;y();const tt=this.root.changeCounter!==ye,ut=z!==this._anchor||re!==this._position||Tf(this._selection,b)==="different";return this.silenceNotifications=pe,a.content&&tt&&this.contentDidChange({inputType:a.type}),a.selection&&ut&&this.selectionDidChange(),tt||ut}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let z;if(Pf(a)){const re=this.normalizeOffset(a);if(Pf(y)){const pe=this.normalizeOffset(y);z=re<=pe?{ranges:[[re,pe]],direction:"none"}:{ranges:[[pe,re]],direction:"backward"}}else z={ranges:[[re,re]],direction:"none"}}else if(i0(a)){const re=this.normalizeOffset(a[0]),pe=this.normalizeOffset(a[1]);z=re<=pe?{ranges:[[re,pe]],direction:"none"}:{ranges:[[pe,re]],direction:"backward"}}else D0(a)&&(z={ranges:a.ranges.map(re=>this.normalizeRange(re)),direction:(b=a.direction)!=null?b:"none"});return console.assert(z!==void 0),z}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(hf(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",we(Ae({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",bubbles:!0,composed:!0}))),this.silenceNotifications=b}selectionDidChange(){if(!this.mathfield||(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(hf(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function av(a,y,b,z){const re=a.offsetOf(y);if(re<b||re>z)return!1;if(!y.hasChildren)return!0;const pe=a.offsetOf(y.firstChild);if(pe>=b&&pe<=z){const ye=a.offsetOf(y.lastChild);if(ye>=b&&ye<=z)return!0}return!1}function Og(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[z,re]=b,pe=a.offsetOf(y.firstChild),ye=a.offsetOf(y.lastChild);return pe>=z&&pe<=re&&ye>=pe&&ye<=re}function qp(a,y,b,z){var re,pe,ye,tt,ut,gt;const _t=b.parent;if(_t&&b instanceof lu){const qt=!z&&y==="forward"||z==="body"&&y==="backward";let pn=qt?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return qt?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(_t.addChildrenAfter(b.removeBranch("body"),b),_t.removeChild(b),pn--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(_t.addChildrenAfter(b.removeBranch("body"),b),_t.removeChild(b),pn--),a.position=pn,!0}if(_t&&b.type==="surd"){if(y==="forward"&&!z||y==="backward"&&z==="body"){const qt=b.leftSibling;b.hasChildren&&_t.addChildrenAfter(b.removeBranch("body"),b),_t.removeChild(b),a.position=a.offsetOf(qt)}else y==="forward"&&z==="body"?a.position=a.offsetOf(b):!z&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),_t.removeChild(b)):z==="above"&&(b.hasEmptyBranch("above")&&b.removeBranch("above"),y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b.body[0]));return!0}if(_t&&(b.type==="box"||b.type==="enclose")){const qt=z&&y==="backward"||!z&&y==="forward"?b.leftSibling:b.lastChild;return _t.addChildrenAfter(b.removeBranch("body"),b),_t.removeChild(b),a.position=a.offsetOf(qt),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!z)return b.type==="overunder"&&b.hasEmptyBranch("body")||b.type==="genfrac"&&b.hasEmptyBranch("below")&&b.hasEmptyBranch("above")?!1:(a.position=a.offsetOf(y==="forward"?b.firstChild:b.lastChild),!0);const qt=$p.fractionNavigationOrder==="numerator-denominator"?"above":"below",pn=qt==="above"?"below":"above";if(_t&&(y==="forward"&&z===qt||y==="backward"&&z===pn)){const Kn=b.removeBranch(qt),nr=b.removeBranch(pn);return _t.addChildrenAfter([...Kn,...nr],b),_t.removeChild(b),a.position=a.offsetOf(Kn.length>0?Kn[Kn.length-1]:nr[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!z&&y==="forward")return!1;if(!z){if(b.subscript||b.superscript){const qt=y==="forward"?(ye=(re=b.superscript)==null?void 0:re[0])!=null?ye:(pe=b.subscript)==null?void 0:pe[0]:(gt=(tt=b.subscript)==null?void 0:tt[0].lastSibling)!=null?gt:(ut=b.superscript)==null?void 0:ut[0].lastSibling;return qt&&(a.position=a.offsetOf(qt)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const qt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=qt,!0}if(z==="superscript")if(y==="backward"){const qt=a.offsetOf(b.firstChild)-1;console.assert(qt>=0),a.position=qt}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else z==="subscript"&&(y==="backward"&&b.superscript?a.position=a.offsetOf(b.superscript[0].lastSibling):y==="backward"?a.position=a.offsetOf(b.firstChild)-1:a.position=a.offsetOf(b));if(z&&b.hasEmptyBranch(z)&&(b.removeBranch(z),b.type==="subsup"&&!b.subscript&&!b.superscript)){const qt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=qt}return!0}if((_t==null?void 0:_t.type)==="genfrac"&&!z&&b.type!=="first"){let qt=a.offsetOf(b.leftSibling);return _t.removeChild(b),_t.hasEmptyBranch("above")&&_t.hasEmptyBranch("below")?(qt=a.offsetOf(_t.leftSibling),_t.parent.removeChild(_t),a.announce("delete",void 0,[_t]),a.position=qt,!0):(a.announce("delete",void 0,[b]),a.position=qt,!0)}if(y==="backward"&&((_t==null?void 0:_t.command)==="\\ln"||(_t==null?void 0:_t.command)==="\\log")&&b.parentBranch!=="body"){const qt=a.offsetOf(_t.leftSibling);return _t.parent.removeChild(_t),a.announce("delete",void 0,[_t]),a.position=qt,!0}return!1}function Tg(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentBackward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentBackward"},()=>{let y=a.at(a.position);if(!(y&&qp(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(qp(a,"backward",y.parent,y.parentBranch))return;y=null}if(!y){a.announce("plonk");return}a.position=a.offsetOf(y.leftSibling),y.parent.removeChild(y),a.announce("delete",void 0,[y])}}):qd(a,rd(a.selection),"deleteContentBackward")}function eh(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let z=a.at(a.position).rightSibling;if(z&&qp(a,"forward",z))return;if(z){if(a.at(a.position).isLastSibling&&qp(a,"forward",z.parent,z.parentBranch))return}else{if(z=a.at(a.position),z.isLastSibling&&qp(a,"forward",z.parent,z.parentBranch))return;z=void 0}if(a.position===a.lastOffset||!z){a.announce("plonk");return}z.parent.removeChild(z);let re=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(re==null?void 0:re.type)==="subsup";)re.parent.removeChild(re),re=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[z])}):qd(a,rd(a.selection),"deleteContentForward")}function qd(a,y,b){const z=a.getAtoms(y);if(z.length>0&&z[0].parent){let re=z[0].parent.firstChild;re.type==="first"&&(re=re.rightSibling);const pe=z[z.length-1].parent.lastChild;let ye=z[0];ye.type==="first"&&(ye=ye.rightSibling);const tt=z[z.length-1];if(ye===re&&tt===pe){const ut=z[0].parent;ut.parent&&ut.type!=="prompt"&&(y=[a.offsetOf(ut.leftSibling),a.offsetOf(ut)])}if(z.length===1&&z[0].type==="placeholder"&&z[0].parent.type==="genfrac"){const ut=z[0].parent,gt=z[0].parentBranch==="below"?"above":"below",_t=a.offsetOf(ut.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var qt,pn;const Kn=ut.removeBranch(gt);if(Kn.length===1&&Kn[0].type==="placeholder")(pn=ut.parent)==null||pn.removeChild(ut),a.position=Math.max(0,_t);else{const nr=ut.parent.addChildrenAfter(Kn,ut);(qt=ut.parent)==null||qt.removeChild(ut),a.position=a.offsetOf(nr)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}ne({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&qd(a,[0,-1],"deleteContent"),deleteForward:a=>eh(a),deleteBackward:a=>Tg(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&qd(a,[a.anchor,Gl(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&qd(a,[a.anchor,Gl(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&qd(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&qd(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&qd(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&qd(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var Pg=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${qe("tooltip.toggle virtual keyboard")}"><path d="M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm16 336c0 8.823-7.177 16-16 16H48c-8.823 0-16-7.177-16-16V112c0-8.823 7.177-16 16-16h480c8.823 0 16 7.177 16 16v288zM168 268v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-336 80v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm384 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zM120 188v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-96 152v-8c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v8c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"/></svg>`,Rg=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${qe("tooltip.menu")}"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`,Iv=class{constructor(a,y){this.focusBlurInProgress=!1;var b,z,re;this.options=Ae(we(Ae({},Zo()),{macros:tn(),registers:Bf()}),so(y)),this.eventController=new AbortController;const pe=this.eventController.signal;y.eventSink&&(this.host=y.eventSink),this.element=a,a.mathfield=this,this.blurred=!0,this.keystrokeCaptionVisible=!1,this.suggestionIndex=0,this.inlineShortcutBuffer=[],this.inlineShortcutBufferFlushTimer=0,this.defaultStyle={},this.adoptStyle="left",this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline"),this.dirty=!1;let ye=(z=(b=y.value)!=null?b:this.element.textContent)!=null?z:"";ye=ye.trim();const tt=Gs(this.options),ut=new Ei({type:"root",mode:tt,body:dd(ye,{context:this.context})});this.model=new _v(this,tt,ut),this.undoManager=new kl(this.model);const gt=[];if(gt.push("<span contenteditable=true aria-multiline=false part=keyboard-sink class=ML__keyboard-sink autocapitalize=off autocomplete=off autocorrect=off spellcheck=false inputmode=none tabindex=0></span>"),gt.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),gt.push("<span part=content class=ML__content>"),gt.push(xv(this)),gt.push("</span>"),window.mathVirtualKeyboard&&(gt.push(`<div part=virtual-keyboard-toggle class=ML__virtual-keyboard-toggle role=button ${this.hasEditableContent?"":'style="display:none;"'} data-l10n-tooltip="tooltip.toggle virtual keyboard">`),gt.push(Pg),gt.push("</div>")),gt.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),gt.push(Rg),gt.push("</div>"),gt.push("</span>"),gt.push("<span class=ML__sr-only>"),gt.push("<span role=status aria-live=assertive aria-atomic=true></span>"),gt.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(gt.join("")),!this.element.children){console.error("%cMathLive 0.98.5: Something went wrong and the mathfield could not be created.%c\nIf you are using Vue, this may be because you are using the runtime-only build of Vue. Make sure to include `runtimeCompiler: true` in your Vue configuration. There may a warning from Vue in the log above.","color:red;font-family:system-ui;font-size:1.2rem;font-weight:bold","color:inherit;font-family:system-ui;font-size:inherit;font-weight:inherit");return}this._l10Subscription=Ke.subscribe(()=>Ke.update(this.element)),Ke.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",qt=>qt.stopImmediatePropagation(),{capture:!1,signal:pe}),this.field.addEventListener("wheel",this,{passive:!1,signal:pe}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:pe}):this.field.addEventListener("mousedown",this,{signal:pe}),(re=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||re.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(hf(this)))},{signal:pe}),this._menu=new ct(sg(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:pe});const _t=this.element.querySelector("[part=menu-toggle]");_t==null||_t.addEventListener("pointerdown",qt=>{if(qt.currentTarget!==_t||this._menu.state!=="closed")return;this.element.classList.add("tracking");const pn=_t.getBoundingClientRect();this._menu.modifiers=of(qt),this._menu.show({target:_t,location:{x:pn.left,y:pn.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),qt.preventDefault(),qt.stopPropagation()},{signal:pe}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(_t.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=fv(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:pe}),document.addEventListener("scroll",this,{signal:pe}),this.resizeObserver=new ResizeObserver(()=>Ad(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:pe}),nA&&!Ke.locale.startsWith(nA.locale)&&jA(Ke.locale),Vf!=="ready"&&document.fonts.ready.then(()=>bg(this)),a.querySelector("[part=container]").style.removeProperty("visibility"),this.undoManager.startRecording(),this.undoManager.snapshot("set-value")}get defaultStyle(){return this._defaultStyle}set defaultStyle(a){this._defaultStyle=a}get effectiveStyle(){if(this.adoptStyle==="none")return this.defaultStyle;const a=this.model.at(this.model.position),y=this.adoptStyle==="right"?a.rightSibling:a;if(!y)return this.defaultStyle;if(y.type==="group"){const b=y.branch("body");return!b||b.length<2?{}:this.adoptStyle==="right"?b[1].computedStyle:b[b.length-1].computedStyle}return y.computedStyle}connectToVirtualKeyboard(){this.connectedToVirtualKeyboard||(this.connectedToVirtualKeyboard=!0,window.addEventListener("message",this,{signal:this.eventController.signal}),window.mathVirtualKeyboard.connect(),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(hf(this)),Ap(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,tg())}showMenu(a){var y,b;const z=(b=(y=a==null?void 0:a.location)!=null?y:Uf(this.field))!=null?b:void 0,re=a==null?void 0:a.modifiers,pe=this.element.querySelector("[part=container]");return this._menu.show({target:pe,location:z,modifiers:re})}get colorMap(){return a=>{var y,b,z;return(z=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?z:xt(a)}}get backgroundColorMap(){return a=>{var y,b,z,re,pe,ye;return(ye=(pe=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?pe:(re=(z=this.options).colorMap)==null?void 0:re.call(z,a))!=null?ye:Je(a)}}get smartFence(){var a;return(a=this.options.smartFence)!=null?a:!1}get readOnly(){var a;return(a=this.options.readOnly)!=null?a:!1}get disabled(){var a,y;return(y=(a=this.host)==null?void 0:a.disabled)!=null?y:!1}get contentEditable(){return this.host?this.host.getAttribute("contenteditable")!=="false":!1}get userSelect(){if(!this.host)return"";const a=getComputedStyle(this.host);return a.getPropertyValue("user-select")||a.getPropertyValue("-webkit-user-select")}get hasEditableContent(){return this.disabled||!this.contentEditable?!1:!this.readOnly||this.hasEditablePrompts}get hasEditablePrompts(){return this.readOnly&&!this.disabled&&this.contentEditable&&this.model.findAtom(a=>a.type==="prompt"&&!a.locked)!==void 0}get isSelectionEditable(){if(this.disabled||!this.contentEditable)return!1;if(!this.readOnly)return!0;const a=this.model.at(this.model.anchor),y=this.model.at(this.model.position),b=Ei.commonAncestor(a,y);return!!((b==null?void 0:b.type)==="prompt"||b!=null&&b.parentPrompt)}get letterShapeStyle(){var a;return(a=this.options.letterShapeStyle)!=null?a:"tex"}get minFontScale(){return this.options.minFontScale}get selectionStyle(){if(this.model.selectionIsCollapsed)return this.effectiveStyle;const a=this.model.getAtoms(this.model.selection);if(a.length===0)return{};const y=Ae({},a[0].style);for(const b of a)for(const[z,re]of Object.entries(b.style))y[z]!==re&&delete y[z];return y}queryStyle(a){const y=vm(this,a);"verbatimColor"in y&&delete y.verbatimColor,"verbatimBackgroundColor"in y&&delete y.verbatimBackgroundColor;const b=Object.keys(y).length;if(b===0)return"all";if(b>1){for(const ut of Object.keys(y)){const gt=this.queryStyle({[ut]:y[ut]});if(gt==="none")return"none";if(gt==="some")return"some"}return"all"}const z=Object.keys(y)[0],re=y[z];if(this.model.selectionIsCollapsed)return this.effectiveStyle[z]===re?"all":"none";const pe=this.model.getAtoms(this.model.selection,{includeChildren:!0});let ye=pe.length;if(ye===0)return"none";let tt=0;for(const ut of pe){if(ut.type==="first"){ye-=1;continue}ut.style[z]===re&&(tt+=1)}return tt===0?"none":tt===ye?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,z]=Vv(this.options.keybindings,(a=zf())!=null?a:Mf());return((y=zf())==null?void 0:y.score)>0&&(this._keybindings=b,z.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",z)),b}get menu(){return this._menu}setOptions(a){var y;this.options=Ae(Ae({},this.options),so(a)),this._keybindings=void 0,this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline");let b=this.options.defaultMode;b==="inline-math"&&(b="math"),((y=this.model.root.firstChild)==null?void 0:y.mode)!==b&&(this.model.root.firstChild.mode=b),this.options.readOnly&&this.hasFocus()&&window.mathVirtualKeyboard.visible&&this.executeCommand("hideVirtualKeyboard");const z=Ei.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==z)&&zs.insert(this.model,z,{insertionMode:"replaceAll",selectionMode:"after",format:"latex",silenceNotifications:!0,mode:"math"}),("value"in a||"macros"in a||"registers"in a||"colorMap"in a||"backgroundColorMap"in a||"letterShapeStyle"in a||"minFontScale"in a||"readOnly"in a||"placeholderSymbol"in a)&&Ad(this)}getOptions(a){return Uo(this.options,a)}getOption(a){return Uo(this.options,a)}handleEvent(a){return Um(this,null,function*(){var y;if(TA(this)){if(ft(a)){if(!R0(a.origin,(y=this.options.originValidator)!=null?y:"none"))throw new DOMException(`Message from unknown origin (${a.origin}) cannot be handled`,"SecurityError");const{action:b}=a.data;if(b==="execute-command"){const z=a.data.command;if(de(z)==="virtual-keyboard")return;this.executeCommand(z)}else b==="update-state"||(b==="focus"?this.focus({preventScroll:!0}):b==="blur"&&this.blur());return}switch(a.type){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"mousedown":this.userSelect!=="none"&&eg(this,a);break;case"pointerdown":this.userSelect!=="none"&&(eg(this,a),a.shiftKey===!1&&(yield ai(a,this.element.querySelector("[part=container]"),this._menu))&&bm.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield ai(a,this.element.querySelector("[part=container]"),this._menu))&&bm.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&Ap(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>TA(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>TA(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!TA(this))return;Ke.unsubscribe(this._l10Subscription),this.keyboardDelegate.dispose(),this.keyboardDelegate=void 0,this.eventController.abort(),this.eventController=void 0,this.resizeObserver.disconnect(),window.mathVirtualKeyboard.removeEventListener("virtual-keyboard-toggle",this),this.disconnectFromVirtualKeyboard(),this.model.dispose();const a=this.element;delete a.mathfield,this.element=void 0,this.host=void 0,this.field=void 0,this.ariaLiveText=void 0,gm(),Gv(),Sm()}flushInlineShortcutBuffer(a){if(a!=null||(a={defer:!1}),!a.defer){this.inlineShortcutBuffer=[],clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=0;return}this.options.inlineShortcutTimeout>0&&(clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=setTimeout(()=>this.flushInlineShortcutBuffer(),this.options.inlineShortcutTimeout))}executeCommand(a){return de(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(hf(this))),!1):ge(this,a)}get errors(){return Ph(this.model.getValue(),{context:this.context})}getValue(a,y,b){return this.model.getValue(a,y,b)}setValue(a,y){var b;y=y!=null?y:{mode:"math"},y.insertionMode===void 0&&(y.insertionMode="replaceAll"),(y.format===void 0||y.format==="auto")&&(y.format="latex"),(y.mode===void 0||y.mode==="auto")&&(y.mode=(b=N0(this.model,this.model.position))!=null?b:"math");const z=this.undoManager.canUndo();zs.insert(this.model,a,y)&&(Ad(this),z||this.undoManager.reset(),this.undoManager.snapshot("set-value"))}get expression(){const a=window.MathfieldElement.computeEngine;return a?a.box(a.parse(this.model.getValue("latex-unstyled"))):(console.error("MathLive 0.98.5: no compute engine available. Make sure the Compute Engine library is loaded."),null)}scrollIntoView(){var a;if(!this.element)return;if(this.host){if(this.options.onScrollIntoView)this.options.onScrollIntoView(this);else if(this.host.scrollIntoView({block:"nearest",inline:"nearest"}),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.container===window.document.body){const z=window.mathVirtualKeyboard.boundingRect,re=this.host.getBoundingClientRect();re.bottom>z.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,re.bottom-z.top+8))}}this.dirty&&Lp(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=Uf(this.field);else{const z=cm(this);if(z.length>0){let re=-1/0,pe=-1/0;for(const ye of z)ye.right>re&&(re=ye.right),ye.top<pe&&(pe=ye.top);b={x:re+y.left-this.field.scrollLeft,y:pe+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const z=this.host.getBoundingClientRect(),re=b.y;let pe=this.host.scrollTop;re<z.top?pe=re-z.top+this.host.scrollTop:re>z.bottom&&(pe=re-z.bottom+this.host.scrollTop+b.height),this.host.scroll({top:pe,left:0})}if(b){const z=b.x-window.scrollX;let re=this.field.scrollLeft;z<y.left?re=z-y.left+this.field.scrollLeft-20:z>y.right&&(re=z-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:re})}}insert(a,y){return typeof a!="string"||a.length===0&&((y==null?void 0:y.insertionMode)==="insertBefore"||(y==null?void 0:y.insertionMode)==="insertAfter")||a.length===0&&this.model.selectionIsCollapsed?!1:(this.flushInlineShortcutBuffer(),y=y!=null?y:{mode:"math"},y.focus&&this.focus(),y.feedback&&(window.MathfieldElement.keypressVibration&&ke()&&navigator.vibrate(Cv),window.MathfieldElement.playSound("keypress")),a==="\\\\"?Os(this.model):a==="&"?Ws(this.model):this.model.selectionIsCollapsed?zs.insert(this.model,a,Ae({style:this.model.at(this.model.position).computedStyle},y)):zs.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Ad(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var z;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const re=this.model.mode;if(this.model.mode=a,!((z=this.host)!=null&&z.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=re;return}const pe=this.model.mode,{model:ye}=this;ye.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let tt=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const ut=dd(y,{context:this.context,parseMode:a});ye.collapseSelection("forward");const gt=ye.at(ye.position);ye.position=ye.offsetOf(gt.parent.addChildrenAfter(ut,gt)),tt=!0}if(this.model.mode=a,a==="latex"){let ut=ye.selectionIsCollapsed;Ip(this,"accept");let gt,_t=ye.at(ye.position);if(ut)gt="\\";else{const pn=rd(ye.selection);gt=this.model.getValue(pn,"latex");const Kn=this.model.extractAtoms(pn);Kn.length===1&&Kn[0].type==="placeholder"&&(gt=y,ut=!0),_t=ye.at(pn[0])}const qt=new H0(gt);_t.parent.addChildAfter(qt,_t),ut?ye.position=ye.offsetOf(qt.lastChild):ye.setSelection(ye.offsetOf(qt.firstChild),ye.offsetOf(qt.lastChild))}else mm(ye).forEach(ut=>{ut.isError=!1});if(b){const ut=dd(b,{context:this.context,parseMode:pe});ye.collapseSelection("forward");const gt=ye.at(ye.position);ye.position=ye.offsetOf(gt.parent.addChildrenAfter(ut,gt)),tt=!0}return Ad(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),tt}),this.model.mode=a,window.mathVirtualKeyboard.update(hf(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,z;const re={operation:"set",silenceNotifications:!1};i0(y)?re.range=y:(y.operation==="toggle"&&(re.operation="toggle"),re.range=y.range,re.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const pe=vm(this,a),ye=(z=re.operation)!=null?z:"set";if(re.range===void 0&&this.model.selectionIsCollapsed){if(ye==="set"){this.defaultStyle=Ae(Ae({},this.defaultStyle),pe);return}const tt=Ae({},this.defaultStyle);for(const ut of Object.keys(pe))tt[ut]===pe[ut]?(ut==="color"&&delete tt.verbatimColor,ut==="backgroundColor"&&delete tt.verbatimBackgroundColor,delete tt[ut]):tt[ut]=pe[ut];this.defaultStyle=tt;return}this.model.deferNotifications({content:!re.silenceNotifications,type:"insertText"},()=>{if(re.range===void 0)for(const tt of this.model.selection.ranges)Xo(this.model,tt,pe,{operation:ye});else Xo(this.model,re.range,pe,{operation:ye})}),Ad(this)}toggleContextMenu(){var a;return this._menu.visible?this._menu.state==="open"?(this._menu.hide(),!0):(this._menu.show({target:this.element.querySelector("[part=container]"),location:(a=this.getCaretPoint())!=null?a:void 0,onDismiss:()=>{var y;return(y=this.element)==null?void 0:y.focus()}}),!0):!1}getCaretPoint(){const a=Uf(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=uf(this,a,y,{bias:0});if(b<0)return!1;const z=this.model.position;return this.model.position=b,this.model.announce("move",z),Ad(this),!0}getPrompt(a){const y=this.model.findAtom(b=>b.type==="prompt"&&b.placeholderId===a);return console.assert(y!==void 0,"MathLive 0.98.5: no prompts with matching ID found"),y}getPromptValue(a,y){const b=this.getPrompt(a);if(!b)return"";const z=this.model.offsetOf(b.firstChild),re=this.model.offsetOf(b.lastChild);return this.model.getValue(z,re,y)}getPrompts(a){return this.model.getAllAtoms().filter(y=>y.type!=="prompt"?!1:a?!(a.id&&y.placeholderId!==a.id||a.locked&&y.locked!==a.locked||a.correctness==="undefined"&&y.correctness||a.correctness&&y.correctness!==a.correctness):!0).map(y=>y.placeholderId)}setPromptValue(a,y,b){if(y!==void 0){const z=this.getPrompt(a);if(!z){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const re=this.model.getBranchRange(this.model.offsetOf(z),"body");this.model.setSelection(re),this.insert(y,we(Ae({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Ad(this)}setPromptState(a,y,b){const z=this.getPrompt(a);if(!z){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?z.correctness=void 0:typeof y=="string"&&(z.correctness=y),typeof b=="boolean"&&(z.locked=b,z.captureSelection=b),Ad(this)}getPromptState(a){const y=this.getPrompt(a);return y?[y.correctness,y.locked]:(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[void 0,!0])}getPromptRange(a){const y=this.getPrompt(a);return y?this.model.getBranchRange(this.model.offsetOf(y),"body"):(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[0,0])}canUndo(){return this.undoManager.canUndo()}canRedo(){return this.undoManager.canRedo()}popUndoStack(){this.undoManager.pop()}snapshot(a){var y;this.undoManager.snapshot(a)&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(hf(this)),(y=this.host)==null||y.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"snapshot"}})))}stopCoalescingUndo(){this.undoManager.stopCoalescing(this.model.selection)}stopRecording(){this.undoManager.stopRecording()}startRecording(){this.undoManager.startRecording()}undo(){var a;this.undoManager.undo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(hf(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}redo(){var a;this.undoManager.redo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(hf(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const z=b.at(b.position),re=(a=z.mode)!=null?a:Gs(this.options);this.model.mode!==re&&(this.model.mode==="latex"?(Ip(this,"accept",{mode:re}),b.position=b.offsetOf(z)):this.switchMode(re))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(hf(this)),Ap(this)}onContentWillChange(a){var y,b,z;return(z=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",we(Ae({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?z:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),Lp(this,{interactive:!0}),this.valueOnFocus=this.model.getValue(),this.hasEditablePrompts&&!this.model.at(this.model.anchor).parentPrompt&&this.executeCommand("moveToNextPlaceholder"),this.focusBlurInProgress=!1)}onBlur(){var a,y,b;if(this.focusBlurInProgress||this.blurred)return;this.focusBlurInProgress=!0,this.stopCoalescingUndo(),this.blurred=!0,this.ariaLiveText.textContent="",sf(this),this.model.getValue()!==this.valueOnFocus&&((a=this.host)==null||a.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),this.disconnectFromVirtualKeyboard(),(y=this.host)==null||y.dispatchEvent(new Event("blur",{bubbles:!1,composed:!0})),(b=this.host)==null||b.dispatchEvent(new UIEvent("focusout",{bubbles:!0,composed:!0})),Ad(this),this.focusBlurInProgress=!1,tg();const z=new AbortController,re=z.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{TA(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:re})},{once:!0,signal:re}),setTimeout(()=>z.abort(),100)}onInput(a){Ym(this,a)}onKeystroke(a){return Pp(this,a)}onCompositionStart(a){this.model.deleteAtoms(rd(this.model.selection));const y=Uf(this.field);y&&requestAnimationFrame(()=>{Lp(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){pu(this.model,a),Ad(this)}onCompositionEnd(a){gl(this.model),Ym(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),zs.onCopy(this,a),qd(this.model,rd(this.model.selection),"deleteByCut"),this.snapshot("cut"),Ad(this))}onCopy(a){zs.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=zs.onPaste(this.model.at(this.model.position).mode,this,a.clipboardData)),y||this.model.announce("plonk"),a.preventDefault(),a.stopPropagation(),y}onGeometryChange(){this._menu.hide(),Gm(this),Ap(this)}onWheel(a){const y=5*a.deltaX;if(!Number.isFinite(y)||y===0)return;const b=this.field;y<0&&b.scrollLeft===0||y>0&&b.offsetWidth+b.scrollLeft>=b.scrollWidth||(b.scrollBy({top:0,left:y}),a.preventDefault(),a.stopPropagation())}getHTMLElement(a){let y=a;for(;!y.id&&y.hasChildren;)y=a.children[0];return this.field.querySelector(`[data-atom-id="${y.id}"]`)}get context(){var a,y;return{registers:(a=this.options.registers)!=null?a:{},smartFence:this.smartFence,letterShapeStyle:this.letterShapeStyle,minFontScale:this.minFontScale,placeholderSymbol:(y=this.options.placeholderSymbol)!=null?y:"\u25A2",colorMap:b=>this.colorMap(b),backgroundColorMap:b=>this.backgroundColorMap(b),getMacro:b=>vn(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function ug(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)ug(y)}function Lm(a,y){var b;a&&(!y||((b=a.dataset)==null?void 0:b.atomId)===y?(a.classList.add("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(z=>{z instanceof HTMLElement&&Lm(z)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(z=>{z instanceof HTMLElement&&Lm(z,y)})))}function ov(a,y){var b;if(!Oe())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const z=new window.AWS.Polly({apiVersion:"2016-06-10"}),re={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};df().readAloudElement=a,z.synthesizeSpeech(re,(pe,ye)=>{if(pe){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${pe}`);return}if(!(ye!=null&&ye.AudioStream)){console.log("polly.synthesizeSpeech():",ye);return}const tt=new TextDecoder("utf-8").decode(new Uint8Array(ye.AudioStream));df().readAloudMarks=tt.split(`
`).map(ut=>ut?JSON.parse(ut):{}),df().readAloudTokens=[];for(const ut of df().readAloudMarks)ut.value&&df().readAloudTokens.push(ut.value);df().readAloudCurrentMark="",re.OutputFormat="mp3",re.SpeechMarkTypes=[],z.synthesizeSpeech(re,(ut,gt)=>{if(ut){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${ut}`);return}if(!(gt!=null&&gt.AudioStream))return;const _t=new Uint8Array(gt.AudioStream),qt=new Blob([_t.buffer],{type:"audio/mpeg"}),pn=URL.createObjectURL(qt),Kn=df();Kn.readAloudAudio?Kn.readAloudAudio.pause():(Kn.readAloudAudio=new Audio,Kn.readAloudAudio.addEventListener("ended",()=>{const nr=Kn.readAloudMathfield;Kn.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),nr?(Lp(nr),Kn.readAloudElement=null,Kn.readAloudMathfield=null,Kn.readAloudTokens=[],Kn.readAloudMarks=[],Kn.readAloudCurrentMark=""):ug(Kn.readAloudElement)}),Kn.readAloudAudio.addEventListener("timeupdate",()=>{let nr="";const di=Kn.readAloudAudio.currentTime*1e3+100;for(const Ha of Kn.readAloudMarks)Ha.time<di&&(nr=Ha.value);Kn.readAloudCurrentMark!==nr&&(Kn.readAloudCurrentToken=nr,nr&&nr===Kn.readAloudFinalToken?Kn.readAloudAudio.pause():(Kn.readAloudCurrentMark=nr,Lm(Kn.readAloudElement,Kn.readAloudCurrentMark)))})),Kn.readAloudAudio.src=pn,Kn.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),Kn.readAloudAudio.play()})})}Oe()||console.error('MathLive 0.98.5: this version of the MathLive library is for use in the browser. A subset of the API is available on the server side in the "mathlive-ssr" library. If using server side rendering (with React for example) you may want to do a dynamic import of the MathLive library inside a `useEffect()` call.');var wu=new WeakMap,sv=.5,F0={letterShapeStyle:"mf.letterShapeStyle = ...",horizontalSpacingScale:'Removed. Use `"thinmuskip"`, `"medmuskip"`, and `"thickmuskip"` registers ',macros:"mf.macros = ...",registers:"mf.registers = ...",backgroundColorMap:"mf.backgroundColorMap = ...",colorMap:"mf.colorMap = ...",enablePopover:"mf.popoverPolicy = ...",mathModeSpace:"mf.mathModeSpace = ...",placeholderSymbol:"mf.placeholderSymbol = ...",readOnly:"mf.readOnly = ...",removeExtraneousParentheses:"mf.removeExtraneousParentheses = ...",scriptDepth:"mf.scriptDepth = ...",smartFence:"mf.smartFence = ...",smartMode:"mf.smartMode = ...",smartSuperscript:"mf.smartSuperscript = ...",inlineShortcutTimeout:"mf.inlineShortcutTimeout = ...",inlineShortcuts:"mf.inlineShortcuts = ...",keybindings:"mf.keybindings = ...",virtualKeyboardMode:"mf.mathVirtualKeyboardPolicy = ...",customVirtualKeyboardLayers:"mathVirtualKeyboard.layers = ...",customVirtualKeyboards:"mathVirtualKeyboard.layouts = ...",keypressSound:"mathVirtualKeyboard.keypressSound = ...",keypressVibration:"mathVirtualKeyboard.keypressVibration = ...",plonkSound:"mathVirtualKeyboard.plonkSound = ...",virtualKeyboardContainer:"mathVirtualKeyboard.container = ...",virtualKeyboardLayout:"mathVirtualKeyboard.alphabeticLayout = ...",virtualKeyboardTheme:"No longer supported",virtualKeyboardToggleGlyph:"No longer supported",virtualKeyboardToolbar:"mathVirtualKeyboard.editToolbar = ...",virtualKeyboards:"Use `mathVirtualKeyboard.layouts`",speechEngine:"`MathfieldElement.speechEngine`",speechEngineRate:"`MathfieldElement.speechEngineRate`",speechEngineVoice:"`MathfieldElement.speechEngineVoice`",textToSpeechMarkup:"`MathfieldElement.textToSpeechMarkup`",textToSpeechRules:"`MathfieldElement.textToSpeechRules`",textToSpeechRulesOptions:"`MathfieldElement.textToSpeechRulesOptions`",readAloudHook:"`MathfieldElement.readAloudHook`",speakHook:"`MathfieldElement.speakHook`",computeEngine:"`MathfieldElement.computeEngine`",fontsDirectory:"`MathfieldElement.fontsDirectory`",soundsDirectory:"`MathfieldElement.soundsDirectory`",createHTML:"`MathfieldElement.createHTML`",onExport:"`MathfieldElement.onExport`",onInlineShortcut:"`MathfieldElement.onInlineShortcut`",onScrollIntoView:"`MathfieldElement.onScrollIntoView`",locale:"MathfieldElement.locale = ...",strings:"MathfieldElement.strings = ...",decimalSeparator:"MathfieldElement.decimalSeparator = ...",fractionNavigationOrder:"MathfieldElement.fractionNavigationOrder = ..."},Ud=class Ag extends HTMLElement{static get formAssociated(){return em()}static get optionsAttributes(){return{"default-mode":"string","letter-shape-style":"string","min-font-scale":"number","popover-policy":"string","math-mode-space":"string","read-only":"boolean","remove-extraneous-parentheses":"on/off","smart-fence":"on/off","smart-mode":"on/off","smart-superscript":"on/off","inline-shortcut-timeout":"string","script-depth":"string",placeholder:"string","virtual-keyboard-target-origin":"string","math-virtual-keyboard-policy":"string"}}static get observedAttributes(){return[...Object.keys(this.optionsAttributes),"contenteditable","disabled","readonly","read-only"]}static get fontsDirectory(){return this._fontsDirectory}static set fontsDirectory(y){y!==this._fontsDirectory&&(this._fontsDirectory=y,Jv())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,z,re;this.audioBuffers={},y===null?this._keypressSound={spacebar:null,return:null,delete:null,default:null}:typeof y=="string"?this._keypressSound={spacebar:y,return:y,delete:y,default:y}:typeof y=="object"&&"default"in y&&(this._keypressSound={spacebar:(b=y.spacebar)!=null?b:y.default,return:(z=y.return)!=null?z:y.default,delete:(re=y.delete)!=null?re:y.default,default:y.default})}static get plonkSound(){return this._plonkSound}static set plonkSound(y){this.audioBuffers={},this._plonkSound=y}static get audioContext(){return this._audioContext||(this._audioContext=new AudioContext),this._audioContext}static get speechEngine(){return this._speechEngine}static set speechEngine(y){this._speechEngine=y}static get speechEngineRate(){return this._speechEngineRate}static set speechEngineRate(y){this._speechEngineRate=y}static get speechEngineVoice(){return this._speechEngineVoice}static set speechEngineVoice(y){this._speechEngineVoice=y}static get textToSpeechMarkup(){return this._textToSpeechMarkup}static set textToSpeechMarkup(y){this._textToSpeechMarkup=y}static get textToSpeechRules(){return this._textToSpeechRules}static set textToSpeechRules(y){this._textToSpeechRules=y}static get textToSpeechRulesOptions(){return this._textToSpeechRulesOptions}static set textToSpeechRulesOptions(y){this._textToSpeechRulesOptions=y}static get locale(){return Ke.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),Ke.locale=y}get locale(){throw new Error("Use MathfieldElement.locale instead")}set locale(y){throw new Error("Use MathfieldElement.locale instead")}static get strings(){return Ke.strings}static set strings(y){Ke.merge(y)}get strings(){throw new Error("Use MathfieldElement.strings instead")}set strings(y){throw new Error("Use MathfieldElement.strings instead")}static get decimalSeparator(){return this._decimalSeparator}static set decimalSeparator(y){this._decimalSeparator=y,this._computeEngine&&(this._computeEngine.latexOptions.decimalMarker=this.decimalSeparator===","?"{,}":".")}get decimalSeparator(){throw new Error("Use MathfieldElement.decimalSeparator instead")}set decimalSeparator(y){throw new Error("Use MathfieldElement.decimalSeparator instead")}static get computeEngine(){var y,b;if(this._computeEngine===void 0){const z=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!z)return null;this._computeEngine=new z,this._computeEngine&&this.decimalSeparator===","&&(this._computeEngine.latexOptions.decimalMarker="{,}")}return(b=this._computeEngine)!=null?b:null}static set computeEngine(y){this._computeEngine=y}get computeEngine(){throw new Error("Use MathfieldElement.computeEngine instead")}set computeEngine(y){throw new Error("Use MathfieldElement.computeEngine instead")}static get isFunction(){return typeof this._isFunction!="function"?()=>!1:this._isFunction}static set isFunction(y){this._isFunction=y}static loadSound(y){return Um(this,null,function*(){delete this.audioBuffers[y];let b="";switch(y){case"keypress":b=this._keypressSound.default;break;case"return":b=this._keypressSound.return;break;case"spacebar":b=this._keypressSound.spacebar;break;case"delete":b=this._keypressSound.delete;break;case"plonk":b=this.plonkSound;break}if(typeof b!="string")return;b=b.trim();const z=this.soundsDirectory;if(!(z==null||z==="null"||b==="none"||b==="null"))try{const pe=yield(yield fetch(yield bv(`${z}/${b}`))).arrayBuffer(),ye=yield this.audioContext.decodeAudioData(pe);this.audioBuffers[y]=ye}catch(re){}})}static playSound(y){return Um(this,null,function*(){if((this.audioContext.state==="suspended"||this.audioContext.state==="interrupted")&&(yield this.audioContext.resume()),this.audioBuffers[y]||(yield this.loadSound(y)),!this.audioBuffers[y])return;const b=this.audioContext.createBufferSource();b.buffer=this.audioBuffers[y];const z=this.audioContext.createGain();z.gain.value=sv,b.connect(z).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const z of Object.keys(y))if(F0[z])if(F0[z].startsWith("mf."))if(F0[z].startsWith(`mf.${z}`))b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${F0[z]}`);else{const re=F0[z].match(/([a-zA-Z]+) =/);b.push(`Option \`${z}\` has been renamed \`${re[1]}\``)}else b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${F0[z]}`);if(b.length>0){console.group("%cMathLive 0.98.5: %cInvalid Options","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn("Some of the options passed to `new MathfieldElement(...)` are invalid. \n See https://cortexjs.io/mathlive/changelog/ for details.");for(const z of b)console.warn(z);console.groupEnd()}}if(em()&&(this._internals=this.attachInternals(),this._internals.role="math",this._internals.ariaLabel="math input field",this._internals.ariaMultiLine="false"),this.attachShadow({mode:"open",delegatesFocus:!0}),this.shadowRoot&&"adoptedStyleSheets"in this.shadowRoot){this.shadowRoot.adoptedStyleSheets=[DA("core"),DA("mathfield"),DA("mathfield-element"),DA("ui"),DA("menu")],this.shadowRoot.appendChild(document.createElement("span"));const b=document.createElement("slot");b.style.display="none",this.shadowRoot.appendChild(b)}else this.shadowRoot.innerHTML="<style>"+ff("core")+ff("mathfield")+ff("mathfield-element")+ff("ui")+ff("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const z=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=z==null?void 0:z.assignedNodes().map(re=>re.nodeType===3?re.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?z:!1}get mathVirtualKeyboard(){throw new Error("The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.")}onPointerDown(){window.addEventListener("pointerup",y=>{var b;y.target===this&&!((b=this._mathfield)!=null&&b.disabled)&&this.dispatchEvent(new MouseEvent("click",{altKey:y.altKey,button:y.button,buttons:y.buttons,clientX:y.clientX,clientY:y.clientY,ctrlKey:y.ctrlKey,metaKey:y.metaKey,movementX:y.movementX,movementY:y.movementY,relatedTarget:y.relatedTarget,screenX:y.screenX,screenY:y.screenY,shiftKey:y.shiftKey}))},{once:!0})}getPromptValue(y,b){var z,re;return(re=(z=this._mathfield)==null?void 0:z.getPromptValue(y,b))!=null?re:""}setPromptValue(y,b,z){var re;(re=this._mathfield)==null||re.setPromptValue(y,b,z)}getPromptRange(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?z:null}getPrompts(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?z:[]}get form(){var y;return(y=this._internals)==null?void 0:y.form}get name(){var y;return(y=this.getAttribute("name"))!=null?y:""}get type(){return this.localName}get mode(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.mode)!=null?b:this.defaultMode==="text"?"text":"math"}set mode(y){var b;(b=this._mathfield)==null||b.switchMode(y)}get expression(){if(this._mathfield)return window[Symbol.for("io.cortexjs.compute-engine")]?this._mathfield.expression:(console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`),null)}set expression(y){var b,z;if(!this._mathfield)return;const re=(z=(b=Ag.computeEngine)==null?void 0:b.box(y).latex)!=null?z:null;re!==null&&this._mathfield.setValue(re),window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}get errors(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.errors)!=null?b:[]}_getOptions(y){return this._mathfield?Uo(this._mathfield.options,y):wu.has(this)?Ae({},Uo(Ae(Ae({},Zo()),so(wu.get(this).options)),y)):null}getOptions(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOptions()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._mathfield?Uo(this._mathfield.options,y):wu.has(this)?Uo(Ae(Ae({},Zo()),so(wu.get(this).options)),y):null}reflectAttributes(){const y=Zo(),b=this._getOptions();Object.keys(Ag.optionsAttributes).forEach(z=>{const re=$0(z);Ag.optionsAttributes[z]==="on/off"?y[re]!==b[re]?this.setAttribute(z,b[re]?"on":"off"):this.removeAttribute(z):y[re]!==b[re]&&(Ag.optionsAttributes[z]==="boolean"?b[re]?this.setAttribute(z,""):this.removeAttribute(z):(typeof b[re]=="string"||typeof b[re]=="number")&&this.setAttribute(z,b[re].toString()))})}getOption(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOption()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._getOptions([y])[y]}_getOption(y){return this._getOptions([y])[y]}_setOptions(y){if(this._mathfield)this._mathfield.setOptions(y);else if(wu.has(this)){const b=Ae(Ae({},wu.get(this).options),y);wu.set(this,we(Ae({},wu.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else wu.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:y,menuItems:void 0});this.reflectAttributes()}setOptions(y){console.group("%cMathLive 0.98.5: %cDeprecated Usage","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn(" `mf.setOptions()` is deprecated. Set the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.");for(const b of Object.keys(y))F0[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${F0[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?z:!1}getValue(y,b,z){var re,pe;if(this._mathfield)return this._mathfield.model.getValue(y,b,z);if(wu.has(this)){let ye,tt,ut;if(D0(y)?([ye,tt]=y.ranges[0],ut=b):i0(y)?([ye,tt]=y,ut=b):Pf(y)&&Pf(b)?(ye=y,tt=b,ut=z):(ye=0,tt=-1,ut=y),(ut===void 0||ut==="latex")&&ye===0&&tt===-1)return(pe=(re=wu.get(this).value)!=null?re:this.textContent)!=null?pe:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(wu.has(this)){const re=wu.get(this).options;wu.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:re,menuItems:void 0});return}const z=cg(this);wu.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:z,menuItems:void 0})}hasFocus(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.hasFocus())!=null?b:!1}focus(){var y;(y=this._mathfield)==null||y.focus()}blur(){var y;(y=this._mathfield)==null||y.blur()}select(){var y;(y=this._mathfield)==null||y.select()}insert(y,b){var z,re;return(re=(z=this._mathfield)==null?void 0:z.insert(y,b))!=null?re:!1}applyStyle(y,b){var z;return(z=this._mathfield)==null?void 0:z.applyStyle(y,b)}queryStyle(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?z:"none"}get caretPoint(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.getCaretPoint())!=null?b:null}set caretPoint(y){var b;y&&((b=this._mathfield)==null||b.setCaretPoint(y.x,y.y))}setCaretPoint(y,b){var z,re;return(re=(z=this._mathfield)==null?void 0:z.setCaretPoint(y,b))!=null?re:!1}offsetFromPoint(y,b,z){return this._mathfield?uf(this._mathfield,y,b,z):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const z=Oh(this._mathfield,b);return z?new DOMRect(z.left,z.top,z.right-z.left,z.bottom-z.top):null}resetUndo(){var y;(y=this._mathfield)==null||y.resetUndo()}canUndo(){return this._mathfield?this._mathfield.canUndo():!1}canRedo(){return this._mathfield?this._mathfield.canRedo():!1}handleEvent(y){var b,z,re,pe;hA.state==="closed"&&((z=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:z.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((re=this._mathfield)==null||re.focus()),y.type==="blur"&&((pe=this._mathfield)==null||pe.blur()))}connectedCallback(){var y,b,z,re;const pe=window.getComputedStyle(this),ye=this.shadowRoot,tt=pe.userSelect!=="none";if(tt)ye.host.addEventListener("pointerdown",this,!0);else{const _t=ye.querySelector("span");_t.style.pointerEvents="none"}ye.host.addEventListener("focus",this,!0),ye.host.addEventListener("blur",this,!0),em()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),tt&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const ut=ye.querySelector("slot:not([name])");if(ut)try{this._style=ut.assignedElements().filter(_t=>_t.tagName.toLowerCase()==="style").map(_t=>_t.textContent).join("")}catch(_t){console.error(_t)}if(this._style){const _t=document.createElement("style");_t.textContent=this._style,ye.appendChild(_t)}let gt="";if(this.hasAttribute("value")?gt=this.getAttribute("value"):gt=(y=ut==null?void 0:ut.assignedNodes().map(_t=>_t.nodeType===3?_t.textContent:"").join("").trim())!=null?y:"",this._mathfield=new Iv(ye.querySelector(":host > span"),we(Ae({},(z=(b=wu.get(this))==null?void 0:b.options)!=null?z:cg(this)),{eventSink:this,value:gt})),!wu.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const _t of Object.keys(Ag.optionsAttributes))this.upgradeProperty($0(_t))}if(!((re=this._mathfield)!=null&&re.model)){this._mathfield=null;return}if(wu.has(this)){const _t=this._mathfield,qt=wu.get(this),pn=qt.menuItems;_t.model.deferNotifications({content:!1,selection:!1},()=>{const Kn=qt.value;Kn!==void 0&&_t.setValue(Kn),_t.model.selection=qt.selection,wu.delete(this)}),pn&&(this.menuItems=pn)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),yg()}disconnectedCallback(){var y,b;if(this.shadowRoot.host.removeEventListener("pointerdown",this,!0),!this._mathfield)return;window.queueMicrotask(()=>this.dispatchEvent(new Event("unmount",{cancelable:!1,bubbles:!0,composed:!0})));const z=Uo(this._mathfield.options,Object.keys(Ag.optionsAttributes).map(re=>$0(re)));wu.set(this,{value:this._mathfield.getValue(),selection:this._mathfield.model.selection,menuItems:(b=(y=this._mathfield.menu)==null?void 0:y.menuItems)!=null?b:void 0,options:z}),this._mathfield.dispose(),this._mathfield=null}upgradeProperty(y){if(this.hasOwnProperty(y)){const b=this[y];delete this[y],(y==="readonly"||y==="read-only")&&(y="readOnly"),this[y]=b}}attributeChangedCallback(y,b,z){if(b===z)return;const re=z!==null;switch(y){case"contenteditable":Ad(this._mathfield);break;case"disabled":this.disabled=re;break;case"read-only":case"readonly":this.readOnly=re;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),em()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(em()?this._internals.ariaReadOnly="false":this.removeAttribute("aria-readonly"),this.removeAttribute("readonly"),this.removeAttribute("read-only")),this._setOptions({readOnly:b})}get disabled(){return this.hasAttribute("disabled")}set disabled(y){var b;const z=!!y;z?this.setAttribute("disabled",""):this.removeAttribute("disabled"),em()?this._internals.ariaDisabled=z?"true":"false":this.setAttribute("aria-disabled",z?"true":"false"),z&&((b=this._mathfield)!=null&&b.hasFocus)&&window.mathVirtualKeyboard.visible&&this._mathfield.executeCommand("hideVirtualKeyboard")}get value(){return this.getValue()}set value(y){this.setValue(y)}get defaultMode(){return this._getOption("defaultMode")}set defaultMode(y){this._setOptions({defaultMode:y})}get macros(){return this._getOption("macros")}set macros(y){this._setOptions({macros:y})}get registers(){const y=this;return new Proxy({},{get:(b,z)=>{if(typeof z=="string")return y._getOption("registers")[z]},set(b,z,re){return typeof z!="string"?!1:(y._setOptions({registers:we(Ae({},y._getOption("registers")),{[z]:re})}),!0)}})}set registers(y){this._setOptions({registers:y})}get colorMap(){return this._getOption("colorMap")}set colorMap(y){this._setOptions({colorMap:y})}get backgroundColorMap(){return this._getOption("backgroundColorMap")}set backgroundColorMap(y){this._setOptions({backgroundColorMap:y})}get letterShapeStyle(){return this._getOption("letterShapeStyle")}set letterShapeStyle(y){this._setOptions({letterShapeStyle:y})}get minFontScale(){return this._getOption("minFontScale")}set minFontScale(y){this._setOptions({minFontScale:y})}get smartMode(){return this._getOption("smartMode")}set smartMode(y){this._setOptions({smartMode:y})}get smartFence(){return this._getOption("smartFence")}set smartFence(y){this._setOptions({smartFence:y})}get smartSuperscript(){return this._getOption("smartSuperscript")}set smartSuperscript(y){this._setOptions({smartSuperscript:y})}get scriptDepth(){return this._getOption("scriptDepth")}set scriptDepth(y){this._setOptions({scriptDepth:y})}get removeExtraneousParentheses(){return this._getOption("removeExtraneousParentheses")}set removeExtraneousParentheses(y){this._setOptions({removeExtraneousParentheses:y})}get mathModeSpace(){return this._getOption("mathModeSpace")}set mathModeSpace(y){this._setOptions({mathModeSpace:y})}get placeholderSymbol(){return this._getOption("placeholderSymbol")}set placeholderSymbol(y){this._setOptions({placeholderSymbol:y})}get popoverPolicy(){return this._getOption("popoverPolicy")}set popoverPolicy(y){this._setOptions({popoverPolicy:y})}get environmentPopoverPolicy(){return this._getOption("environmentPopoverPolicy")}set environmentPopoverPolicy(y){this._setOptions({environmentPopoverPolicy:y})}get menuItems(){var y,b,z;return this._mathfield?(y=this._mathfield.menu._menuItems.map(re=>re.menuItem))!=null?y:[]:(z=(b=wu.get(this))==null?void 0:b.menuItems)!=null?z:[]}set menuItems(y){var b;if(this._mathfield){const z=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");z&&(z.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}wu.has(this)?wu.set(this,we(Ae({},wu.get(this)),{menuItems:y})):wu.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:cg(this),menuItems:y})}get mathVirtualKeyboardPolicy(){return this._getOption("mathVirtualKeyboardPolicy")}set mathVirtualKeyboardPolicy(y){this._setOptions({mathVirtualKeyboardPolicy:y})}get inlineShortcuts(){return this._getOption("inlineShortcuts")}set inlineShortcuts(y){this._setOptions({inlineShortcuts:y})}get inlineShortcutTimeout(){return this._getOption("inlineShortcutTimeout")}set inlineShortcutTimeout(y){this._setOptions({inlineShortcutTimeout:y})}get keybindings(){return this._getOption("keybindings")}set keybindings(y){this._setOptions({keybindings:y})}get onInlineShortcut(){return this._getOption("onInlineShortcut")}set onInlineShortcut(y){this._setOptions({onInlineShortcut:y})}get onScrollIntoView(){return this._getOption("onScrollIntoView")}set onScrollIntoView(y){this._setOptions({onScrollIntoView:y})}get onExport(){return this._getOption("onExport")}set onExport(y){this._setOptions({onExport:y})}get readOnly(){return this._getOption("readOnly")}set readOnly(y){this._setOptions({readOnly:y})}get isSelectionEditable(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.isSelectionEditable)!=null?b:!1}setPromptState(y,b,z){var re;(re=this._mathfield)==null||re.setPromptState(y,b,z)}getPromptState(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?z:[void 0,!0]}get virtualKeyboardTargetOrigin(){return this._getOption("virtualKeyboardTargetOrigin")}set virtualKeyboardTargetOrigin(y){this._setOptions({virtualKeyboardTargetOrigin:y})}get selection(){return this._mathfield?this._mathfield.model.selection:wu.has(this)?wu.get(this).selection:{ranges:[[0,0]],direction:"forward"}}set selection(y){if(typeof y=="number"&&(y={ranges:[[y,y]]}),this._mathfield){this._mathfield.model.selection=y,Ad(this._mathfield);return}if(wu.has(this)){wu.set(this,we(Ae({},wu.get(this)),{selection:y}));return}wu.set(this,{value:void 0,selection:y,options:cg(this),menuItems:void 0})}get selectionIsCollapsed(){const y=this.selection;return y.ranges.length===1&&y.ranges[0][0]===y.ranges[0][1]}get position(){return this._mathfield?this._mathfield.model.position:wu.has(this)?wu.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Ad(this._mathfield)),wu.has(this)){wu.set(this,we(Ae({},wu.get(this)),{selection:{ranges:[[y,y]]}}));return}wu.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:cg(this),menuItems:void 0})}getOffsetDepth(y){var b,z;return this._mathfield?((z=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?z:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};Ud.version="0.98.5",Ud._fontsDirectory="./fonts",Ud._soundsDirectory="./sounds",Ud.keypressVibration=!0,Ud._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Ud._plonkSound="plonk.wav",Ud.audioBuffers={},Ud.createHTML=a=>a,Ud._speechEngineRate="100%",Ud._speechEngineVoice="Joanna",Ud._textToSpeechMarkup="",Ud._textToSpeechRules="mathlive",Ud._textToSpeechRulesOptions={},Ud.speakHook=Ev,Ud.readAloudHook=ov,Ud._decimalSeparator=".",Ud.fractionNavigationOrder="numerator-denominator",Ud._isFunction=a=>{var y,b;const z=window.MathfieldElement.computeEngine;return(b=(y=z==null?void 0:z.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var $p=Ud;function $0(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function cg(a){const y={readOnly:!1},b=$p.optionsAttributes;return Object.keys(b).forEach(z=>{if(a.hasAttribute(z)){const re=a.getAttribute(z);z==="placeholder"?y.contentPlaceholder=re!=null?re:"":b[z]==="boolean"?y[$0(z)]=!0:b[z]==="on/off"?re==="on"?y[$0(z)]=!0:re==="off"?y[$0(z)]=!1:y[$0(z)]=void 0:b[z]==="number"?y[$0(z)]=Number.parseFloat(re!=null?re:"0"):y[$0(z)]=re}}),y}function em(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var Lv=$p,Dv,Nv,Ov,Tv;if(Oe()&&!((Dv=window.customElements)!=null&&Dv.get("math-field"))){(Ov=window[Nv=Symbol.for("io.cortexjs.mathlive")])!=null||(window[Nv]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=$p,(Tv=window.customElements)==null||Tv.define("math-field",$p)}function lv(a,y,b){let z=b,re=0;const pe=a.length;for(;z<y.length;){const ye=y[z];if(re<=0&&y.slice(z,z+pe)===a)return z;ye==="\\"?z++:ye==="{"?re++:ye==="}"&&re--,z++}return-1}function Dm(a,y,b,z,re="latex"){const pe=[];for(const ye of a)if(ye.type==="text"){const tt=ye.data;let ut=!0,gt=0,_t;_t=tt.indexOf(y),_t!==-1&&(gt=_t,gt>0&&pe.push({type:"text",data:tt.slice(0,gt)}),ut=!1);let qt=!1;for(;!qt;){if(ut){if(_t=tt.indexOf(y,gt),_t===-1){qt=!0;break}gt!==_t&&pe.push({type:"text",data:tt.slice(gt,_t)}),gt=_t}else{if(_t=lv(b,tt,gt+y.length),_t===-1){qt=!0;break}let pn=tt.slice(gt+y.length,_t);re==="ascii-math"&&([,pn]=O0(pn,{format:"ascii-math"})),pe.push({type:"math",data:pn,rawData:tt.slice(gt,_t+b.length),mathstyle:z}),gt=_t+b.length}ut=!ut}gt<tt.length&&pe.push({type:"text",data:tt.slice(gt)})}else pe.push(ye);return pe}function Nm(a,y,b){let z=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([re,pe])=>{z=Dm(z,re,pe,"textstyle")}),y!=null&&y.display&&y.display.forEach(([re,pe])=>{z=Dm(z,re,pe,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([re,pe])=>{z=Dm(z,re,pe,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([re,pe])=>{z=Dm(z,re,pe,"displaystyle","ascii-math")}),z}function e1(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const z="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(z)}catch(z){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${z}`),b.textContent=a}return b.className="ML__sr-only",b}function t1(a,y,b,z){try{const re=y.renderToMarkup(a,{mathstyle:b,format:"html"}),pe=document.createElement("span");return pe.dataset.latex=a,pe.style.display=b==="displaystyle"?"flex":"inline-flex",pe.setAttribute("aria-hidden","true"),pe.setAttribute("translate","no"),pe.innerHTML=window.MathfieldElement.createHTML(re),pe}catch(re){if(console.error("Could not parse'"+a+"' with ",re),z)return document.createTextNode(a)}return null}function tm(a,y,b,z){var re;const pe=t1(a,b,y||"textstyle",z),ye=(re=b.renderAccessibleContent)!=null?re:"";if(pe&&/\b(mathml|speakable-text)\b/i.test(ye)){const tt=document.createElement("span");if(/\bmathml\b/i.test(ye)&&b.renderToMathML&&tt.append(e1(a,b)),/\bspeakable-text\b/i.test(ye)&&b.renderToSpeakableText){const ut=document.createElement("span");ut.setAttribute("translate","no");const gt=b.renderToSpeakableText(a);ut.innerHTML=window.MathfieldElement.createHTML(gt),ut.className="ML__sr-only",tt.append(ut)}return tt.append(pe),tt}return pe}function n1(a,y){var b,z,re;let pe=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){pe=document.createDocumentFragment();const ye=tm(a,"",y,!0);ye&&pe.appendChild(ye)}else{if(!a.trim())return null;const ye=Nm(a,(z=y.TeX)==null?void 0:z.delimiters,(re=y.asciiMath)==null?void 0:re.delimiters);if(ye.length===1&&ye[0].type==="text")return null;pe=document.createDocumentFragment();for(const tt of ye)if(tt.type==="text")pe.appendChild(document.createTextNode(tt.data));else{const ut=tm(tt.data,tt.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);ut&&pe.appendChild(ut)}}return pe}function Pv(a,y){var b,z,re,pe,ye,tt,ut,gt,_t,qt,pn,Kn,nr,di,Ha,li;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const na=(b=a.childNodes[0].textContent)!=null?b:"";if((z=y.TeX)!=null&&z.processEnvironments&&/^\s*\\begin/.test(na)){a.textContent="";const fa=tm(na,"",y,!0);fa&&a.append(fa);return}const Ka=Nm(na,(re=y.TeX)==null?void 0:re.delimiters,(pe=y.asciiMath)==null?void 0:pe.delimiters);if(Ka.length===1&&Ka[0].type==="math"){a.textContent="";const fa=tm(Ka[0].data,Ka[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);fa&&a.append(fa);return}if(Ka.length===1&&Ka[0].type==="text")return}for(let na=a.childNodes.length-1;na>=0;na--){const Ka=a.childNodes[na];if(Ka.nodeType===3){const fa=n1((ye=Ka.textContent)!=null?ye:"",y);fa&&(na+=fa.childNodes.length-1,Ka.replaceWith(fa))}else if(Ka.nodeType===1){const fa=Ka,Vo=Ka.nodeName.toLowerCase();if(Vo==="script"){const vs=Ka;let os;if((tt=y.processScriptTypePattern)!=null&&tt.test(vs.type))os=(ut=vs.textContent)!=null?ut:"";else if((gt=y.processMathJSONScriptTypePattern)!=null&&gt.test(vs.type))try{os=(qt=y.serializeToLatex)==null?void 0:qt.call(y,JSON.parse((_t=vs.textContent)!=null?_t:""))}catch(xe){console.error(xe)}if(os){let xe="textstyle";for(const st of vs.type.split(";")){const[Ot,rn]=st.toLowerCase().split("=");Ot.trim()==="mode"&&(xe=rn.trim()==="display"?"displaystyle":"textstyle")}const Qe=tm(os,xe,y,!0);Qe&&vs.parentNode.replaceChild(Qe,vs)}}else if(((Kn=(pn=y.processClassPattern)==null?void 0:pn.test(fa.className))!=null?Kn:!1)||!((di=(nr=y.skipTags)==null?void 0:nr.includes(Vo))!=null&&di||(li=(Ha=y.ignoreClassPattern)==null?void 0:Ha.test(fa.className))!=null&&li))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const os=a.textContent;a.textContent="";const xe=tm(os!=null?os:"","displaystyle",y,!0);xe&&a.append(xe)}else Pv(fa,y)}}}var r1={skipTags:["math-field","noscript","style","textarea","pre","code","annotation","annotation-xml"],processScriptType:"math/tex",processMathJSONScriptType:"math/json",ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",renderAccessibleContent:"mathml",asciiMath:{delimiters:{inline:[["`","`"]]}},TeX:{processEnvironments:!0,delimiters:{inline:[["\\(","\\)"]],display:[["$$","$$"],["\\[","\\]"]]}}};function i1(a,y){var b,z,re,pe;try{const ye=Ae(Ae({},r1),y);ye.ignoreClassPattern=new RegExp((b=ye.ignoreClass)!=null?b:""),ye.processClassPattern=new RegExp((z=ye.processClass)!=null?z:""),ye.processScriptTypePattern=new RegExp((re=ye.processScriptType)!=null?re:""),ye.processMathJSONScriptTypePattern=new RegExp((pe=ye.processMathJSONScriptType)!=null?pe:""),yg(),rf("core"),Pv(a,ye)}catch(ye){ye instanceof Error?console.error("renderMathInElement(): "+ye.message):console.error("renderMathInElement(): Could not render math for element",a)}}function wp(a,y){const b=Ui.singleton;return b?(b.show(),In(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function Gh(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}ne({switchKeyboardLayer:wp,toggleVirtualKeyboard:Gh,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function df(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function m1(){return console.warn("%cMathLive 0.98.5: %cmakeSharedVirtualKeyboard() is deprecated. \n Use `window.mathVirtualKeyboard` to access the virtual keyboard instance.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),window.mathVirtualKeyboard}function a1(a){xh(document.body,a)}function xp(a){if(typeof a=="string"){const y=document.getElementById(a);if(y===null)throw new Error(`The element with ID "${a}" could not be found.`);return y}return typeof a=="string"?null:a}function xh(a,y){var b,z,re,pe;const ye=xp(a);if(!ye)return;const tt=y!=null?y:{};(b=tt.renderToMarkup)!=null||(tt.renderToMarkup=yd),(z=tt.renderToMathML)!=null||(tt.renderToMathML=mp),(re=tt.renderToSpeakableText)!=null||(tt.renderToSpeakableText=Vp),(pe=tt.serializeToLatex)!=null||(tt.serializeToLatex=$f),i1(ye,tt)}var g1={mathlive:"0.98.5"}},16722:function(Tn,Xt,ce){"use strict";ce.d(Xt,{Z:function(){return Ae}});const he=we=>typeof we=="object"&&we!=null&&we.nodeType===1,Me=(we,fe)=>(!fe||we!=="hidden")&&we!=="visible"&&we!=="clip",Ue=(we,fe)=>{if(we.clientHeight<we.scrollHeight||we.clientWidth<we.scrollWidth){const ze=getComputedStyle(we,null);return Me(ze.overflowY,fe)||Me(ze.overflowX,fe)||(Be=>{const _e=(Oe=>{if(!Oe.ownerDocument||!Oe.ownerDocument.defaultView)return null;try{return Oe.ownerDocument.defaultView.frameElement}catch(He){return null}})(Be);return!!_e&&(_e.clientHeight<Be.scrollHeight||_e.clientWidth<Be.scrollWidth)})(we)}return!1},At=(we,fe,ze,Be,_e,Oe,He,ke)=>Oe<we&&He>fe||Oe>we&&He<fe?0:Oe<=we&&ke<=ze||He>=fe&&ke>=ze?Oe-we-Be:He>fe&&ke<ze||Oe<we&&ke>ze?He-fe+_e:0,Ne=we=>{const fe=we.parentElement;return fe==null?we.getRootNode().host||null:fe},Le=(we,fe)=>{var ze,Be,_e,Oe;if(typeof document=="undefined")return[];const{scrollMode:He,block:ke,inline:Te,boundary:Pe,skipOverflowHiddenElements:Xe}=fe,Ke=typeof Pe=="function"?Pe:Vt=>Vt!==Pe;if(!he(we))throw new TypeError("Invalid target");const qe=document.scrollingElement||document.documentElement,We=[];let Ze=we;for(;he(Ze)&&Ke(Ze);){if(Ze=Ne(Ze),Ze===qe){We.push(Ze);break}Ze!=null&&Ze===document.body&&Ue(Ze)&&!Ue(document.documentElement)||Ze!=null&&Ue(Ze,Xe)&&We.push(Ze)}const $e=(Be=(ze=window.visualViewport)==null?void 0:ze.width)!=null?Be:innerWidth,rt=(Oe=(_e=window.visualViewport)==null?void 0:_e.height)!=null?Oe:innerHeight,{scrollX:ht,scrollY:dt}=window,{height:xt,width:Je,top:Lt,right:Re,bottom:Rt,left:Ft}=we.getBoundingClientRect(),{top:bt,right:Tt,bottom:wt,left:it}=(Vt=>{const St=window.getComputedStyle(Vt);return{top:parseFloat(St.scrollMarginTop)||0,right:parseFloat(St.scrollMarginRight)||0,bottom:parseFloat(St.scrollMarginBottom)||0,left:parseFloat(St.scrollMarginLeft)||0}})(we);let je=ke==="start"||ke==="nearest"?Lt-bt:ke==="end"?Rt+wt:Lt+xt/2-bt+wt,at=Te==="center"?Ft+Je/2-it+Tt:Te==="end"?Re+Tt:Ft-it;const Yt=[];for(let Vt=0;Vt<We.length;Vt++){const St=We[Vt],{height:Qt,width:cn,top:Nn,right:fn,bottom:Ln,left:Cn}=St.getBoundingClientRect();if(He==="if-needed"&&Lt>=0&&Ft>=0&&Rt<=rt&&Re<=$e&&(St===qe&&!Ue(St)||Lt>=Nn&&Rt<=Ln&&Ft>=Cn&&Re<=fn))return Yt;const Bn=getComputedStyle(St),gn=parseInt(Bn.borderLeftWidth,10),Se=parseInt(Bn.borderTopWidth,10),Fe=parseInt(Bn.borderRightWidth,10),ie=parseInt(Bn.borderBottomWidth,10);let ae=0,se=0;const oe="offsetWidth"in St?St.offsetWidth-St.clientWidth-gn-Fe:0,Ye="offsetHeight"in St?St.offsetHeight-St.clientHeight-Se-ie:0,vt="offsetWidth"in St?St.offsetWidth===0?0:cn/St.offsetWidth:0,et="offsetHeight"in St?St.offsetHeight===0?0:Qt/St.offsetHeight:0;if(qe===St)ae=ke==="start"?je:ke==="end"?je-rt:ke==="nearest"?At(dt,dt+rt,rt,Se,ie,dt+je,dt+je+xt,xt):je-rt/2,se=Te==="start"?at:Te==="center"?at-$e/2:Te==="end"?at-$e:At(ht,ht+$e,$e,gn,Fe,ht+at,ht+at+Je,Je),ae=Math.max(0,ae+dt),se=Math.max(0,se+ht);else{ae=ke==="start"?je-Nn-Se:ke==="end"?je-Ln+ie+Ye:ke==="nearest"?At(Nn,Ln,Qt,Se,ie+Ye,je,je+xt,xt):je-(Nn+Qt/2)+Ye/2,se=Te==="start"?at-Cn-gn:Te==="center"?at-(Cn+cn/2)+oe/2:Te==="end"?at-fn+Fe+oe:At(Cn,fn,cn,gn,Fe+oe,at,at+Je,Je);const{scrollLeft:lt,scrollTop:Pt}=St;ae=et===0?0:Math.max(0,Math.min(Pt+ae/et,St.scrollHeight-Qt/et+Ye)),se=vt===0?0:Math.max(0,Math.min(lt+se/vt,St.scrollWidth-cn/vt+oe)),je+=Pt-ae,at+=lt-se}Yt.push({el:St,top:ae,left:se})}return Yt},ve=we=>we===!1?{block:"end",inline:"nearest"}:(fe=>fe===Object(fe)&&Object.keys(fe).length!==0)(we)?we:{block:"start",inline:"nearest"};function Ae(we,fe){if(!we.isConnected||!(_e=>{let Oe=_e;for(;Oe&&Oe.parentNode;){if(Oe.parentNode===document)return!0;Oe=Oe.parentNode instanceof ShadowRoot?Oe.parentNode.host:Oe.parentNode}return!1})(we))return;const ze=(_e=>{const Oe=window.getComputedStyle(_e);return{top:parseFloat(Oe.scrollMarginTop)||0,right:parseFloat(Oe.scrollMarginRight)||0,bottom:parseFloat(Oe.scrollMarginBottom)||0,left:parseFloat(Oe.scrollMarginLeft)||0}})(we);if((_e=>typeof _e=="object"&&typeof _e.behavior=="function")(fe))return fe.behavior(Le(we,fe));const Be=typeof fe=="boolean"||fe==null?void 0:fe.behavior;for(const{el:_e,top:Oe,left:He}of Le(we,ve(fe))){const ke=Oe-ze.top+ze.bottom,Te=He-ze.left+ze.right;_e.scroll({top:ke,left:Te,behavior:Be})}}}}]);
}());