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 _1=Object.prototype.hasOwnProperty,M1=Object.prototype.propertyIsEnumerable;var xp=Math.pow,h1=(Qn,Yt,de)=>Yt in Qn?Cy(Qn,Yt,{enumerable:!0,configurable:!0,writable:!0,value:de}):Qn[Yt]=de,tp=(Qn,Yt)=>{for(var de in Yt||(Yt={}))_1.call(Yt,de)&&h1(Qn,de,Yt[de]);if(Wv)for(var de of Wv(Yt))M1.call(Yt,de)&&h1(Qn,de,Yt[de]);return Qn},p1=(Qn,Yt)=>By(Qn,Sy(Yt));var I1=(Qn,Yt)=>{var de={};for(var he in Qn)_1.call(Qn,he)&&Yt.indexOf(he)<0&&(de[he]=Qn[he]);if(Qn!=null&&Wv)for(var he of Wv(Qn))Yt.indexOf(he)<0&&M1.call(Qn,he)&&(de[he]=Qn[he]);return de};var pc=(Qn,Yt,de)=>h1(Qn,typeof Yt!="symbol"?Yt+"":Yt,de);var Um=(Qn,Yt,de)=>new Promise((he,Me)=>{var He=Le=>{try{Oe(de.next(Le))}catch(ve){Me(ve)}},ft=Le=>{try{Oe(de.throw(Le))}catch(ve){Me(ve)}},Oe=Le=>Le.done?he(Le.value):Promise.resolve(Le.value).then(He,ft);Oe((de=de.apply(Qn,Yt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},89489:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},59477:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},40001:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},26227:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},49198:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},84105:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},18785:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},87169:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},73331:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},15277:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},52671:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},8657:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},56082:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},33853:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},15075:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},62772:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},43531:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},61485:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},38819:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},47472:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},95869:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},87395:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},14618:function(){"use strict"},66552:function(){"use strict"},18760:function(Qn,Yt){"use strict";Yt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},3352: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 Qn={},Yt="5.0",de={},he=null,Me=!1,He=!1,ft=null,Oe=!1,Le=null,ve=null,Ae=0;Ae<arguments.length;Ae++){var xe=arguments[Ae];if(xe!==null)switch(typeof xe){case"number":Yt=xe.toFixed(1);break;case"string":xe.match(new RegExp("^[0-9]\\.[0-9]+$"))?Yt=xe:ft=xe;break;case"object":typeof xe.is3D!="undefined"?he=xe:de=xe;break;case"boolean":Me=xe,He=!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},de.material_id!==void 0&&!He&&(Me=!0)),ft!==null&&de.id===void 0&&(de.id=ft);var fe="",Ke="",Be=!1,_e=null,Ne=null,Qe=null,ke=!1,Pe=null,Te=null,Ye=null,ze=null,qe=null;de.height!==void 0&&(de.height=Math.round(de.height)),de.width!==void 0&&(de.width=Math.round(de.width));var We=function(xt){return parseFloat(xt)>4?parseFloat(xt):5};Qn.setHTML5Codebase=function(xt,Qt){ve=xt,at(xt,Qt)},Qn.setJavaCodebase=Qn.setJavaCodebaseVersion=Qn.isCompiledInstalled=Qn.setPreCompiledScriptPath=Qn.setPreCompiledResourcePath=function(){},Qn.setHTML5CodebaseVersion=function(xt,Qt){var An=parseFloat(xt);if(An!==NaN&&An<5){console.log("The GeoGebra HTML5 codebase version "+An+" is deprecated. Using version latest instead.");return}Le=xt,Ue(xt,Qt)},Qn.getHTML5CodebaseVersion=function(){return Ne},Qn.getParameters=function(){return de},Qn.setFontsCSSURL=function(xt){ze=xt},Qn.setGiacJSURL=function(xt){},Qn.setJNLPFile=function(xt){fe=xt},Qn.setJNLPBaseDir=function(xt){},Qn.inject=function(){function xt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Qt="auto",An=de.id,Tn,dn=!1,Gn=0;Gn<arguments.length;Gn++){var Cn=arguments[Gn];typeof Cn=="string"?(Cn=Cn.toLowerCase(),Cn.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Qt=Cn:An=arguments[Gn]):typeof Cn=="boolean"?dn=Cn:Cn instanceof HTMLElement&&(Tn=Cn)}mn();function mn(){if(!Oe){setTimeout(mn,200);return}Qt=wt(Qt);var Bn=Tn||document.getElementById(An);if(!Bn){console.log("possibly bug on ajax loading? ");return}if(Qn.removeExistingApplet(Bn,!1),de.width===void 0&&Bn.clientWidth&&(de.width=Bn.clientWidth),de.height===void 0&&Bn.clientHeight&&(de.height=Bn.clientHeight),!(de.width&&de.height)&&Qt==="html5"&&(delete de.width,delete de.height),_e=Qt,Qt==="screenshot")Re(Bn,de);else{var Se=!1;de.hasOwnProperty("playButton")&&de.playButton||de.hasOwnProperty("clickToLoad")&&de.clickToLoad?Se=!0:de.hasOwnProperty("playButtonAutoDecide")&&de.playButtonAutoDecide&&(Se=(!Ze()||xt())&&et()),Se?(_e="screenshot",Et(Bn,de,dn,Qt)):Lt(Bn,de,dn)}}};function Ze(){try{return window.self!==window.top}catch(xt){return!0}}function et(){return de.hasOwnProperty("screenshotGenerator")&&de.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Qn.getViews=function(){return he},Qn.isJavaInstalled=function(){return!1};var rt=function(xt){var Qt=function(Gn){var Cn=JSON.parse(Gn),mn=function(Fe){return Fe.type=="G"||Fe.type=="E"},Bn=Cn.elements?Cn.elements.filter(mn)[0]:Cn;if(!Bn||!Bn.url){An();return}de.fileName=Bn.url,ht(Bn.settings||{}),he.is3D=!0;var Se="https://www.geogebra.org/images/";Qn.setPreviewImage(Pe||Bn.previewUrl,Se+"GeoGebra_loading.png",Se+"applet_play.png"),xt()},An=function(){de.onError&&de.onError(),Xt("Error: Fetching material (id "+de.material_id+") failed.",de)},Tn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",dn="/materials/"+de.material_id+"?scope=basic";dt("https://"+Tn+"/api/proxy.php?path="+encodeURIComponent(dn),Qt,An)};function ht(xt){var Qt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(An){xt[An]=!!xt[An]}),Qt.forEach(function(An){de[An]===void 0&&xt[An]!==void 0&&(de[An]=xt[An])}),de.showToolBarHelp===void 0&&(de.showToolBarHelp=de.showToolBar)}function dt(xt,Qt,An){var Tn=new XMLHttpRequest;Tn.open("GET",xt),Tn.onload=function(){Qt(Tn.responseText)},Tn.onerror=An,Tn.send()}Qn.isHTML5Installed=function(){return!0},Qn.getLoadedAppletType=function(){return _e},Qn.setPreviewImage=function(xt,Qt,An){Pe=xt,Te=Qt,Ye=An},Qn.removeExistingApplet=function(xt,Qt){var An;typeof xt=="string"&&(xt=document.getElementById(xt)),_e=null;var Tn=null;for(An=0;An<xt.childNodes.length;An++){var dn=xt.childNodes[An],Gn=dn.className;Gn==="applet_screenshot"?Qt?(dn.style.display="block",_e="screenshot"):dn.style.display="none":Gn!=="applet_scaler prerender"&&(xt.removeChild(dn),Tn=Gn&&Gn.indexOf("appletParameters")!=-1?dn.id:null,An--)}var Cn=de.id!==void 0?de.id:Tn,mn=window[Cn];mn&&typeof mn.getBase64=="function"&&(mn.remove(),window[Cn]=null)},Qn.refreshHitPoints=function(){if(We(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var xt=Qn.getAppletObject();return xt&&typeof xt.recalculateEnvironments=="function"?(xt.recalculateEnvironments(),!0):!1},Qn.startAnimation=function(){var xt=Qn.getAppletObject();return xt&&typeof xt.startAnimation=="function"?(xt.startAnimation(),!0):!1},Qn.stopAnimation=function(){var xt=Qn.getAppletObject();return xt&&typeof xt.stopAnimation=="function"?(xt.stopAnimation(),!0):!1},Qn.getAppletObject=function(){var xt=de.id!==void 0?de.id:"ggbApplet";return window[xt]},Qn.resize=function(){};var Ct=function(xt,Qt,An){var Tn=document.createElement("param");Tn.setAttribute("name",Qt),Tn.setAttribute("value",An),xt.appendChild(Tn)},Xe=function(xt){return xt&&xt!=="false"},Lt=function(xt,Qt,An){We(Ne)<=4.2&&(An=!0);var Tn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ne||ggbHTML5LoadedCodebaseIsWebSimple&&!ke)&&(Tn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var dn=document.createElement("div");dn.classList.add("appletParameters","notranslate");var Gn=Qt.width,Cn=Qt.height;if(Qt.disableAutoScale=Qt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Qt.disableAutoScale,Qt.width!==void 0)if(We(Ne)<=4.4)Xe(Qt.showToolBar)&&(Qt.height-=7),Xe(Qt.showAlgebraInput)&&(Qt.height-=37),Qt.width<605&&Xe(Qt.showToolBar)&&(Qt.width=605,Gn=605);else{var mn=100;(Xe(Qt.showToolBar)||Xe(Qt.showMenuBar))&&(Qt.hasOwnProperty("customToolBar")&&(Qt.customToolbar=Qt.customToolBar),mn=Xe(Qt.showMenuBar)?245:155),Gn<mn&&(Qt.width=mn,Gn=mn)}dn.style.border="none",dn.style.display="inline-block";for(var Bn in Qt)Qt.hasOwnProperty(Bn)&&Bn!=="appletOnLoad"&&dn.setAttribute("data-param-"+Bn,Qt[Bn]);ze&&dn.setAttribute("data-param-fontscssurl",ze),Qn.resize=function(){GGBAppletUtils.responsiveResize(xt,Qt)},window.addEventListener("resize",function(kt){Qn.resize()});var Se=typeof Qt.appletOnLoad=="function"?Qt.appletOnLoad:function(){};if(!An&&Qt.width!==void 0){Qt.hasOwnProperty("showSplash")||dn.setAttribute("data-param-showSplash","false");var Fe=xt.querySelector(".applet_scaler.prerender"),ie=Fe!==null;if(ie)var ae=Fe.querySelector(".ggb_preview");else{var ae=Tt(Gn,Cn,Qt.borderColor,!1);Fe=document.createElement("div"),Fe.className="applet_scaler",Fe.style.position="relative",Fe.style.display="block",Fe.style.width=Gn+"px",Fe.style.height=Cn+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Fe,"66%"),We(Ne)>=5?(Qt.appletOnLoad=function(kt){var $t=xt.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)):dn.appendChild(ae),Fe.appendChild(dn),ie||xt.appendChild(Fe),setTimeout(function(){Qn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(dn),xt.appendChild(se),Qt.appletOnLoad=function(kt){Qn.resize(),Se(kt)}}function oe(kt,$t){$t&&typeof $t.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(kt,$t.appletOnLoad):renderGGBElement(kt),Xt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$t)}function Je(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(Ne)<5&&(kt.className+=" geogebraweb")):oe(kt,$t)}if(Tn){scriptLoadStarted=!0;for(var vt=0;vt<dn.childNodes.length;vt++){var $e=dn.childNodes[vt].tagName;$e==="TABLE"&&(dn.removeChild(dn.childNodes[vt]),vt--)}if(ggbHTML5LoadedScript!==null){var lt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');lt!=null&&lt.parentNode.removeChild(lt)}var Pt=document.createElement("script"),_t=function(){Je(dn,Qt)};Pt.src=Ke+Qe,ggbHTML5LoadedCodebaseIsWebSimple=ke,ggbHTML5LoadedCodebaseVersion=Ne,ggbHTML5LoadedScript=Pt.src,Xt("GeoGebra HTML5 codebase loaded: '"+Ke+"'.",Qt),!ve&&(!Le||Le=="5.0")?(ke?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),_t()):Ke.requirejs?__webpack_require__.e(7206).then(function(){var kt=[__webpack_require__(97206)];_t.apply(null,kt)}.bind(this)).catch(__webpack_require__.oe):(Pt.onload=_t,xt.appendChild(Pt))}else Je(dn,Qt);Qt.height=Cn,Qt.width=Gn},Re=function(xt,Qt,An){var Tn=Tt(Qt.width,Qt.height,Qt.borderColor,An),dn=document.createElement("div");dn.style.position="relative",dn.style.display="block",dn.style.width=Qt.width+"px",dn.style.height=Qt.height+"px",dn.className="applet_screenshot applet_scaler"+(An?" applet_screenshot_play":""),dn.appendChild(Tn);var Gn=GGBAppletUtils.getScale(Qt,xt,An);An?(xt.appendChild(bt()),window.GGBT_wsf_view||(xt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(dn,"66%"),xt.appendChild(dn),Gn!==1&&!isNaN(Gn)&&(GGBAppletUtils.scaleElement(dn,Gn),dn.style.width=Qt.width+"px",dn.style.height=Qt.height+"px",dn.parentNode.style.width=Qt.width*Gn+"px",dn.parentNode.style.height=Qt.height*Gn+"px"),Qn.resize=function(){Ht(xt,Tn,dn,An)},window.addEventListener("resize",function(Cn){Qn.resize()}),Qn.resize()};function Ht(xt,Qt,An,Tn){if(xt.contains(Qt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(xt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(xt)}var dn=GGBAppletUtils.getScale(de,xt,Tn);An.parentNode!==null&&(!isNaN(dn)&&dn!==1?(GGBAppletUtils.scaleElement(An,dn),An.parentNode.style.width=de.width*dn+"px",An.parentNode.style.height=de.height*dn+"px"):(GGBAppletUtils.scaleElement(An,1),An.parentNode.style.width=de.width+"px",An.parentNode.style.height=de.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(xt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Qn.onExitFullscreen=function(xt,Qt){Qt.appendChild(xt)};var Et=function(xt,Qt,An,Tn){Re(xt,Qt,!0);for(var dn=function(){var mn=[];for(Cn=0;Cn<xt.childNodes.length;Cn++)mn.push(xt.childNodes[Cn]);if(window.GGBT_wsf_view){var Bn=window.GGBT_wsf_view.renderFullScreen(xt,Qt.id),Se=document.getElementById("fullscreencontainer"),Fe=jQuery(xt).find(".fullscreencontent");Fe.length>0?(Bn.remove(),Fe.attr("id","fullscreencontent").show(),jQuery(Se).append(Fe),window.dispatchEvent(new Event("resize"))):Lt(Bn,Qt,!1),window.GGBT_wsf_view.launchFullScreen(Se)}else _e=Tn,Lt(xt,Qt,!1);if(!window.GGBT_wsf_view)for(Cn=0;Cn<mn.length;Cn++)xt.removeChild(mn[Cn])},Gn=xt.getElementsByClassName("ggb_preview_play"),Cn=0;Cn<Gn.length;Cn++)Gn[Cn].addEventListener("click",dn,!1),Gn[Cn].addEventListener("ontouchstart",dn,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(xt),et()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},bt=function(){var xt=document.createElement("div");if(xt.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");}',An=document.createElement("style");An.styleSheet?An.styleSheet.cssText=Qt:An.appendChild(document.createTextNode(Qt)),document.getElementsByTagName("head")[0].appendChild(An)}return xt},Tt=function(xt,Qt,An,Tn){var dn=document.createElement("div");dn.className="ggb_preview",dn.style.position="absolute",dn.style.zIndex="90",dn.style.width=xt-2+"px",dn.style.height=Qt-2+"px",dn.style.top="0px",dn.style.left="0px",dn.style.overflow="hidden",dn.style.backgroundColor="white";var Gn="lightgrey";An!==void 0&&(An==="none"?Gn="transparent":Gn=An),dn.style.border="1px solid "+Gn;var Cn=document.createElement("img");if(Cn.style.position="relative",Cn.style.zIndex="1000",Cn.style.top="-1px",Cn.style.left="-1px",Pe!==null&&Cn.setAttribute("src",Pe),Cn.style.opacity=.7,Te!==null){var mn,Bn,Se;if(!Tn){mn=document.createElement("img"),mn.style.position="absolute",mn.style.zIndex="1001",mn.style.opacity=1,Cn.style.opacity=.3,Bn=360,Bn>xt/4*3&&(Bn=xt/4*3),Se=Bn/5.8,mn.setAttribute("src",Te),mn.setAttribute("width",Bn),mn.setAttribute("height",Se);var Fe=(xt-Bn)/2,ie=(Qt-Se)/2;mn.style.left=Fe+"px",mn.style.top=ie+"px",dn.appendChild(mn)}}return dn.appendChild(Cn),dn},wt=function(xt){return xt=xt.toLowerCase(),xt==="html5"||xt==="screenshot"?xt:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],Ue=function(xt,Qt){if(Ne=xt,Qt){at(Ne,!0);return}var An=!Me;if(An){var Tn=We(Ne);!isNaN(Tn)&&Tn<4.4&&(An=!1)}var dn,Gn;window.location.protocol.substr(0,4)==="http"?dn=window.location.protocol:dn="http:";var Cn=Ne.indexOf("//");Cn>0?Gn=Ne:Cn===0?Gn=dn+Ne:Gn="https://www.geogebra.org/apps/5.2.814.0/";for(var mn in it)if(Ne.slice(it[mn].length*-1)===it[mn]||Ne.slice((it[mn].length+1)*-1)===it[mn]+"/"){at(Gn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&An&&!he.is3D&&!he.AV&&!he.SV&&!he.CV&&!he.EV2&&!he.CP&&!he.PC&&!he.DA&&!he.FI&&!he.PV&&!Xe(de.showToolBar)&&!Xe(de.showMenuBar)&&!Xe(de.showAlgebraInput)&&!Xe(de.enableRightClick)&&(!de.appName||de.appName=="classic")?Gn+="webSimple/":Gn+="web3d/",at(Gn,!1)},at=function(xt,Qt){if(xt.requirejs){Ke=xt;return}xt.slice(-1)!=="/"&&(xt+="/"),Ke=xt,Qt===null&&(Qt=xt.indexOf("http")===-1),Be=Qt,Qe="web.nocache.js",ke=!1;var An=Ke.split("/");An.length>1&&(!Qt&&An[An.length-2]==="webSimple"?(Qe="webSimple.nocache.js",ke=!0):it.indexOf(An[An.length-2])>=0&&(Qe=An[An.length-2]+".nocache.js")),An=xt.split("/"),Ne=An[An.length-3],Ne.substr(0,4)==="test"?Ne=Ne.substr(4,1)+"."+Ne.substr(5,1):(Ne.substr(0,3)==="war"||Ne.substr(0,4)==="beta")&&(Ne="5.0");var Tn=parseFloat(Ne);Tn!==NaN&&Tn<5&&xt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Tn+" is deprecated. Using version latest instead."),Ue("5.0",Qt))},Xt=function(xt,Qt){window.console&&window.console.log&&(!Qt||typeof Qt.showLogging=="undefined"||Qt.showLogging&&Qt.showLogging!=="false")&&console.log(xt)};de.material_id!==void 0?rt(Vt):Vt();function Vt(){var xt=Yt;Le!==null?xt=Le:parseFloat(xt)<5&&(xt="5.0"),Ue(xt,!1),ve!==null&&at(ve,Be),Oe=!0}return Qn},GGBAppletUtils=function(){"use strict";function Qn(){return window.GGBT_wsf_edit!==void 0}function Yt(Oe,Le){Le!=1?(Oe.style.transformOrigin="0% 0% 0px",Oe.style.webkitTransformOrigin="0% 0% 0px",Oe.style.transform="scale("+Le+","+Le+")",Oe.style.webkitTransform="scale("+Le+","+Le+")",Oe.style.maxWidth="initial",Oe.querySelector(".ggb_preview")!==null&&(Oe.querySelector(".ggb_preview").style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Oe.style.transform="none",Oe.style.webkitTransform="none")}function de(Oe,Le,ve,Ae,xe,fe){var Ke=null;if(fe!=null&&fe!="")for(var Be=Oe.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+fe+" ")>-1){Ke=Be;break}else Be=Be.parentNode;var _e=0,Ne=0,Qe=0,ke=0,Pe=0,Te=0,Ye=0;if(Ke)_e=Ke.offsetWidth,Ne=Math.max(Ae?Ke.offsetWidth:0,Ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(_e=Math.min(window.innerWidth,document.documentElement.clientWidth),Ne=Math.min(window.innerHeight,document.documentElement.clientHeight),Qe=_e):(_e=window.innerWidth,Ne=window.innerHeight,Qe=window.innerWidth),Oe){var ze=Oe.getBoundingClientRect();ze.left>0&&ze.left<=_e&&(xe===void 0||!xe)&&(document.dir==="rtl"?(Pe=_e-ze.width-ze.left,Te=Qe<=480?10:30):(Te=ze.left,Pe=Qe<=480?10:30),ke=Te+Pe)}if(Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var qe=Oe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ke=40,Ye=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ke=0,Ye=40)}}return Oe&&((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)&&(Ne-=Ye)),{width:_e,height:Ne}}function he(Oe,Le,ve,Ae,xe){if(Oe.isScreenshoGenerator)return 1;var fe=Ae!==void 0&&Ae,Ke=Oe.noScaleMargin!=null&&Oe.noScaleMargin,Be=function(qe){return qe&&qe!=="false"},_e=Be(Oe.autoHeight),Ne=de(Le,Oe.width,ve,_e,fe&&window.GGBT_wsf_view||Ke,xe),Qe=parseInt(Ne.width),ke=Oe.width,Pe=Oe.height;if(ke===void 0){var Te=Le.querySelector(".appletParameters");Te&&(ke=Te.offsetWidth,Pe=Te.offsetHeight)}var Ye=Qe/ke,ze=fe?1:Ne.height/Pe;return ve!==void 0&&!ve&&(Ye=Math.min(1,Ye),ze=Math.min(1,ze)),Math.min(Ye,ze)}function Me(Oe,Le,ve){var Ae=1,xe,fe=!1;if(Oe.hasOwnProperty("allowUpscale")&&(fe=Oe.allowUpscale),Oe.hasOwnProperty("scale")&&(Ae=parseFloat(Oe.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),!(Oe.hasOwnProperty("disableAutoScale")&&Oe.disableAutoScale))xe=he(Oe,Le,fe,ve,Oe.scaleContainerClass);else return Ae;return fe&&(!Oe.hasOwnProperty("scale")||Ae===1)?xe:Math.min(Ae,xe)}function He(Oe){var Le=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Ae=Oe.getBoundingClientRect(),xe=(Le-Ae.width)/2,fe=(ve-Ae.height)/2;fe<0&&(fe=0),Oe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(xe<40?Oe.style.left="40px":Oe.style.left=xe+"px",Oe.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Oe.style.top="40px":Oe.style.top=fe+"px",Oe.style.left=xe+"px")}function ft(Oe,Le){var ve=Oe.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(Oe)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var Ae=Me(Le,Oe);Qn()&&ve.setAttribute("data-param-scale",Ae);for(var xe=null,fe=0;fe<Oe.childNodes.length;fe++)if(Oe.childNodes[fe].className!==void 0&&Oe.childNodes[fe].className.match(/^applet_scaler/)){xe=Oe.childNodes[fe];break}if(xe!==null&&xe.querySelector(".noscale")!==null)return;var Ke=Le.id!==void 0?Le.id:"ggbApplet",Be=window[Ke];(Be==null||!Be.recalculateEnvironments)&&xe!==null&&!xe.className.match(/fullscreen/)&&(xe.parentNode.style.transform="",!isNaN(Ae)&&Ae!==1?(xe.parentNode.style.width=Le.width*Ae+"px",xe.parentNode.style.height=Le.height*Ae+"px",Yt(xe,Ae)):(Yt(xe,1),xe.parentNode.style.width=Le.width+"px",xe.parentNode.style.height=Le.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&He(Oe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ve).parents(".content-added-content"))}}return{responsiveResize:ft,isFlexibleWorksheetEditor:Qn,positionCenter:He,getScale:Me,scaleElement:Yt}}();__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 Qn=n.location.search;return Qn.indexOf(J)!=-1||Qn.indexOf(K)!=-1}function q(Qn,Yt){}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(Qn){var Yt=s[L].bindings;s[L].bindings=function(){for(var de=Yt?Yt():{},he=Qn[webModule.__softPermutationId],Me=O;Me<he.length;Me++){var He=he[Me];de[He[O]]=He[P]}return de}};var t;function u(){return v(),t}function v(){if(!t){var Qn=o.createElement(Q);if(Qn.id=L,Qn.style.cssText=R+S,Qn.tabIndex=-1,o.body.appendChild(Qn),t=Qn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Yt=document.compatMode==U?V:W;t.write(Yt+X),t.close()}}}function w(Qn){function Yt(he){function Me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var He=Me();if(He){he();return}function ft(){if(!He){if(!Me())return;He=!0,he(),o.removeEventListener&&o.removeEventListener(Z,ft,!1),Oe&&clearInterval(Oe)}}o.addEventListener&&o.addEventListener(Z,ft,!1);var Oe=setInterval(function(){ft()},$)}function de(he){var Me=u(),He=Me.body,ft=Me.createElement(_);ft.language=ab,ft.crossOrigin=W,ft.src=he,webModule.__errFn&&(ft.onerror=function(){webModule.__errFn(L,new Error(bb+he))}),He.appendChild(ft)}Yt(function(){de(Qn)})}webModule.__startLoadingFragment=function(Qn){return C(Qn)},webModule.__installRunAsyncCode=function(Qn){var Yt=u(),de=Yt.body,he=Yt.createElement(_);he.language=ab,he.text=Qn,de.appendChild(he),de.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(Qn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Qn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Qn){var Yt=c[Qn];return Yt==null?null:Yt},r=d,webModule.__errFn=e}function B(){function Qn(Oe){var Le=Oe.lastIndexOf(rb);Le==-1&&(Le=Oe.length);var ve=Oe.indexOf(sb);ve==-1&&(ve=Oe.length);var Ae=Oe.lastIndexOf(tb,Math.min(ve,Le));return Ae>=O?Oe.substring(O,Ae+P):W}function Yt(Oe){if(!Oe.match(/^\w+:\/\//)){var Le=o.createElement(ub);Le.src=Oe+vb,Oe=Qn(Le.src)}return Oe}function de(){var Oe=__gwt_getMetaProperty(wb);return Oe!=null?Oe:W}function he(){for(var Oe=o.getElementsByTagName(_),Le=O;Le<Oe.length;++Le)if(Oe[Le].src.indexOf(xb)!=-1)return Qn(Oe[Le].src);return W}function Me(){var Oe=o.getElementsByTagName(yb);return Oe.length>O?Oe[Oe.length-P].href:W}function He(){var Oe=o.location;return Oe.href==Oe.protocol+zb+Oe.host+Oe.pathname+Oe.search+Oe.hash}var ft=de();return ft==W&&(ft=he()),ft==W&&(ft=Me()),ft==W&&He()&&(ft=Qn(o.location.href)),ft=Yt(ft),ft}function C(Qn){return Qn.match(/^\//)||Qn.match(/^[a-zA-Z]+:\/\//)?Qn:webModule.__moduleBase+Qn}function D(){var Qn=[],Yt=O,de=[],he=[];function Me(Oe){var Le=he[Oe](),ve=de[Oe];if(Le in ve)return Le;var Ae=[];for(var xe in ve)Ae[ve[xe]]=xe;throw r&&r(Oe,Ae,Le),null}if(__gwt_isKnownPropertyValue=function(Oe,Le){return Le in de[Oe]},webModule.__getPropMap=function(){var Oe={};for(var Le in de)de.hasOwnProperty(Le)&&(Oe[Le]=Me(Le));return Oe},webModule.__computePropValue=Me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var He;try{He=Cb;var ft=He.indexOf(Db);ft!=-1&&(Yt=parseInt(He.substring(ft+P),$),He=He.substring(O,ft))}catch(Oe){}return webModule.__softPermutationId=Yt,C(He+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})()},79090:function(Qn,Yt,de){"use strict";de.d(Yt,{Ax:function(){return ft},Ds:function(){return Oe},KI:function(){return ve},SI:function(){return He},f1:function(){return Me}});var he=de(6521);function Me(Ae){let xe=!0;if(Ae.length>0){for(let fe=0;fe<Ae.length;fe++)if(Ae[fe].compile_success==0||!Ae[fe].compile_success){xe=!1;break}}else xe=!1;return xe}function He(Ae,xe=""){let fe=[];for(let Ke=0;Ke<Ae.length;Ke++){let Be=Ae[Ke],_e=xe?`${xe}/${Be.name}`:`${Be.name}`;fe.push({title:Be.name,type:Be.type,isLeaf:Be.type!=="tree",key:_e})}return fe}function ft(Ae,xe,fe){for(let Ke=0;Ke<Ae.length;Ke++){let Be=Ae[Ke];if(Be.key===xe){Be.children=fe;break}Be.children&&ft(Be.children,xe,fe)}return Ae}function Oe(Ae,xe,fe){let Ke;return function(){let Be=this,_e=arguments,Ne=function(){Ke=null,fe||Ae.apply(Be,_e)},Qe=fe&&!Ke;clearTimeout(Ke),Ke=setTimeout(Ne,xe),Qe&&Ae.apply(Be,_e)}}const Le=!0,ve=he.Z.API_SERVER},1845:function(Qn,Yt,de){"use strict";de.d(Yt,{ij:function(){return Ye},_s:function(){return Te},Uf:function(){return Pe},ZP:function(){return qe}});var he=de(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"},He=de(92310),ft=de.n(He),Oe=de(42441),Le=de(6848),ve=de(61621),Ae=de(71418),xe=de(18540),fe=de(6521),Ke=Object.defineProperty,Be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Qe=(We,Ze,et)=>Ze in We?Ke(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:et}):We[Ze]=et,ke=(We,Ze)=>{for(var et in Ze||(Ze={}))_e.call(Ze,et)&&Qe(We,et,Ze[et]);if(Be)for(var et of Be(Ze))Ne.call(Ze,et)&&Qe(We,et,Ze[et]);return We};const Pe=(We={})=>{var Ze,et,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)),Ct=(et=We==null?void 0:We.focus)==null?void 0:et.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Xe=(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:Ct||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Xe||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Lt||[]}]},Te=({className:We,dataSource:Ze=[],col:et=4,right:rt,bottom:ht=23,precision:dt=0,wrapWidth:Ct=1200})=>{const Xe=(Re="",Ht,Et="--")=>Re?(Re==null?void 0:Re.length)>Ht?(Re==null?void 0:Re.slice(0,Ht-1))+"...":Re:Et,Lt=Math.floor((Ct-(et-1)*rt)/et);return he.createElement("div",{className:ft()(Me.list,We)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((Re,Ht)=>{const{cover_pic:Et,created_at:bt,emotion:Tt,action:wt,intention:it,focus:Ue}=Re;return he.createElement("div",{key:Ht,className:Me.wrap,style:{width:Lt,marginRight:(1+Ht)%et===0?0:rt+dt,marginBottom:ht}},he.createElement("div",{className:Me.img},he.createElement("img",{src:`${fe.Z.API_SERVER}${Et}`}),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"},Xe(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"},Xe(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"},Xe(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:Ue},he.createElement("span",{className:"c-grey-333"},Xe(Ue,3))))))))})))},Ye=({className:We,style:Ze,title:et,hideBar:rt=!1,children:ht,customText:dt="",noDataText:Ct="",emptyData:Xe=[],loading:Lt,actionAnalysis:Re})=>{var Ht,Et;const bt=((Ht=Xe==null?void 0:Xe[0])==null?void 0:Ht.every(wt=>{var it;return!((it=wt==null?void 0:wt.data)!=null&&it.length)}))&&!((Et=Xe==null?void 0:Xe[1])!=null&&Et.length)||!Re,Tt=Re?Ct:dt;return he.createElement(ve.Z,{loading:Lt,active:!0},bt&&he.createElement("div",{className:ft()(Me.noData,We),style:Ze},!!et&&he.createElement("div",{className:Me.title},!rt&&he.createElement("b",null),he.createElement("span",null,et)),he.createElement("div",{className:Me.itemWrap},he.createElement(xe.Z,{customText:Tt}))),!bt&&ht)};var qe=({className:We,style:Ze,data:et=[],title:rt,hideBar:ht=!1,loading:dt=!1})=>he.createElement("div",{className:ft()(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},et==null?void 0:et.map((Ct,Xe)=>he.createElement("div",{className:Me.item,key:Xe},he.createElement(Oe.Z,{option:{tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c}%"},title:{left:"center",bottom:15,text:Ct==null?void 0:Ct.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 Ct==null?void 0:Ct.data)if(Lt==(Ct==null?void 0:Ct.data[Re].name))return Lt+" "+(Ct==null?void 0:Ct.data[Re].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:Ct==null?void 0:Ct.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:Ct==null?void 0:Ct.data}]},style:{height:145}}))))))},65218:function(Qn,Yt,de){"use strict";var he=de(86204),Me=de.n(he),He=Object.defineProperty,ft=(Ae,xe,fe)=>xe in Ae?He(Ae,xe,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Ae[xe]=fe,Oe=(Ae,xe,fe)=>ft(Ae,typeof xe!="symbol"?xe+"":xe,fe),Le=(Ae,xe,fe)=>new Promise((Ke,Be)=>{var _e=ke=>{try{Qe(fe.next(ke))}catch(Pe){Be(Pe)}},Ne=ke=>{try{Qe(fe.throw(ke))}catch(Pe){Be(Pe)}},Qe=ke=>ke.done?Ke(ke.value):Promise.resolve(ke.value).then(_e,Ne);Qe((fe=fe.apply(Ae,xe)).next())});class ve extends he.EventEmitter{constructor(xe,fe){super(),Oe(this,"url"),Oe(this,"body"),Oe(this,"fullContent",""),Oe(this,"controller",null),Oe(this,"buffer",""),this.url=xe,this.body=fe}startStream(){return Le(this,null,function*(){this.controller=new AbortController;const{signal:xe}=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:xe});if(!fe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${fe.status}`);const Ke=fe.headers.get("content-type");if(!Ke)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ke.includes("application/json")){const Ne=yield fe.json();this.emit("error",Ne);return}if(!Ke.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:Ne,value:Qe}=yield Be.read();if(Ne)break;const ke=_e.decode(Qe,{stream:!0});this.buffer+=ke;const Pe=this.buffer.split(`
`);this.buffer=Pe.pop()||"";for(const Te of Pe)if(Te.startsWith("data:")){const Ye=Te.slice(5).trim();if(Ye==="[DONE]")break;try{const ze=JSON.parse(Ye);ze.data&&this.handleData(ze.data)}catch(ze){this.buffer=Te+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ze)}}}this.emit("done",this.fullContent)}catch(fe){fe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",fe.message)}})}handleData(xe){xe.content&&(this.fullContent+=xe.content,this.emit("data",{chunk:xe,full:this.fullContent}))}cancelRequest(){var xe;(xe=this.controller)==null||xe.abort()}}Yt.Z=ve},15868:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ke}});var he=de(59301),Me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},He=de(92310),ft=de.n(He),Oe=de(71418),Le=de(2859),ve=de(79769),Ae=de(25544),xe=(Be,_e,Ne)=>new Promise((Qe,ke)=>{var Pe=ze=>{try{Ye(Ne.next(ze))}catch(qe){ke(qe)}},Te=ze=>{try{Ye(Ne.throw(ze))}catch(qe){ke(qe)}},Ye=ze=>ze.done?Qe(ze.value):Promise.resolve(ze.value).then(Pe,Te);Ye((Ne=Ne.apply(Be,_e)).next())}),Ke=({data:Be,className:_e,fullWidth:Ne,style:Qe={},onClose:ke,onOk:Pe,showFullTools:Te,noAssociationId:Ye})=>{const ze=(0,he.useRef)(null),qe=(0,he.useRef)(null),We=(0,he.useRef)(null),Ze=(0,he.useRef)(null),[et,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&&Ct()):(document.body.removeAttribute("data-custom"),We.current&&(document.head.removeChild(We.current),We.current=null))},[Be==null?void 0:Be.visible]);const Ct=()=>xe(void 0,null,function*(){rt(!0),dt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Et=yield(0,Ae.ZJ)(Be==null?void 0:Be.src);ze.current.src="",ze.current.src=Et,ze.current.onload=function(){Ht()},rt(!1),dt("")}),Xe=()=>{document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",ke()},Lt=Et=>xe(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:Et.dataUrl}});bt!=null&&bt.id&&!Ye?(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(Et.state)}})).status===0&&Pe():bt!=null&&bt.id&&Pe(bt),document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",rt(!1),dt("")}),Re=()=>{const Et=document.querySelector('a[href="https://markerjs.com/"]');Et&&Et.parentNode&&(Et.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)})},Ht=()=>{qe.current=new Le.hP(ze.current),qe.current.targetRoot=Ze.current,qe.current.addEventListener("render",Lt),qe.current.addEventListener("beforeclose",Xe),Te&&(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(Oe.Z,{spinning:et,tip:ht,style:{position:"absolute"}},he.createElement("div",{ref:Ze,className:ft()(Me.imageDimensions,_e,Ne?Me.fullWidth:""),style:Qe},he.createElement("img",{className:Me.img,ref:ze}))))}},3315:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(95237),He=de(43604),ft=de(99313),Oe=de(3113),Le=de(39655),ve=de(18760),Ae=de(48136),xe=de(59301);const fe=(0,he.forwardRef)(({callback:Ke,showSaveButton:Be,value:_e=""},Ne)=>{const Qe=(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 "}]}]}],Pe=[{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}`}]}]}],Te=qe=>{Qe.current.setValue(Qe.current.getValue()+" "+qe.value+" ")},Ye=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:xe.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},ke.map((qe,We)=>xe.createElement(He.Z,{flex:"110px",className:ve.Z.item},xe.createElement("div",null,xe.createElement(Le.Z,{value:`$$${qe.value}$$`}),qe.name),xe.createElement("div",{className:ve.Z.children},qe.children.map((Ze,et)=>xe.createElement("div",{key:et},xe.createElement("h1",null,Ze.name),xe.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>xe.createElement(He.Z,{key:ht,onClick:()=>Te(rt),className:ve.Z.diamond},xe.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:xe.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},Pe.map((qe,We)=>xe.createElement(He.Z,{flex:"110px",className:ve.Z.item},xe.createElement("div",null,xe.createElement(Le.Z,{value:"`$$"+qe.value+"$$`"}),qe.name),xe.createElement("div",{className:ve.Z.children},qe.children.map((Ze,et)=>xe.createElement("div",{key:et},Ze.name&&xe.createElement("h1",null,Ze.name),xe.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>xe.createElement(He.Z,{key:ht,onClick:()=>Te(rt),className:ve.Z.diamond},xe.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))}],ze=()=>{var qe=document.createElement("div");qe.innerHTML=Qe.current.getValue();var We=qe.innerText;return Ke&&Ke(We),We};return(0,he.useImperativeHandle)(Ne,()=>({getData:ze})),xe.createElement("div",{className:ve.Z.mathWrap},xe.createElement(ft.default,{defaultActiveKey:"1",items:Ye}),xe.createElement("math-field",{locale:"zh_cn",className:ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Qe,style:{width:800,marginTop:30,fontSize:18}},_e||""),Be&&xe.createElement("div",{className:ve.Z.button},xe.createElement(Oe.ZP,{size:"large",onClick:ze,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Yt.Z=fe},46066:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Lt}});var he=de(59301),Me=de(91482),He=de(43418),ft=de(78241),Oe=de(8591),Le=de(71418),ve=de(17574),Ae=de(95237),xe=de(43604),fe=de(6848),Ke=de(92832),Be={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},_e=de(87001),Ne=de(89978),Qe=de(18540),ke=de(23579),Pe=Object.defineProperty,Te=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ze=(Re,Ht,Et)=>Ht in Re?Pe(Re,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Re[Ht]=Et,et=(Re,Ht)=>{for(var Et in Ht||(Ht={}))qe.call(Ht,Et)&&Ze(Re,Et,Ht[Et]);if(ze)for(var Et of ze(Ht))We.call(Ht,Et)&&Ze(Re,Et,Ht[Et]);return Re},rt=(Re,Ht)=>Te(Re,Ye(Ht)),ht=(Re,Ht)=>{var Et={};for(var bt in Re)qe.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&ze)for(var bt of ze(Re))Ht.indexOf(bt)<0&&We.call(Re,bt)&&(Et[bt]=Re[bt]);return Et},dt=(Re,Ht,Et)=>new Promise((bt,Tt)=>{var wt=at=>{try{Ue(Et.next(at))}catch(Xt){Tt(Xt)}},it=at=>{try{Ue(Et.throw(at))}catch(Xt){Tt(Xt)}},Ue=at=>at.done?bt(at.value):Promise.resolve(at.value).then(wt,it);Ue((Et=Et.apply(Re,Ht)).next())});const Ct=(Re=[])=>Re==null?void 0:Re.map(Ht=>rt(et({},Ht),{title:(Ht==null?void 0:Ht.value)||"",key:Ht==null?void 0:Ht.id,isLeaf:!0})),Xe=Re=>{var Ht=Re,{user:Et,children:bt,isShowComponent:Tt=!0,ModalProps:wt={},onDataSelect:it}=Ht,Ue=ht(Ht,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[at,Xt]=He.default.useModal(),[Vt]=ft.default.useForm(),[xt,Qt]=(0,he.useState)([]),[An,Tn]=(0,he.useState)(!1),[dn,Gn]=(0,he.useState)(!1),[,Cn,mn,Bn]=(0,_e.U)(Ne.qE,{page:1,limit:9999}),[,,Se]=(0,_e.U)(Ne.V8,{}),[,,Fe]=(0,_e.U)(Ne.B$,{}),[,,ie]=(0,_e.U)(Ne.DH,{}),[,,ae]=(0,_e.U)(Ne.bJ,{}),se=()=>{Tn(!1),Vt.resetFields(),Gn(!1)},oe=vt=>dt(void 0,null,function*(){const{node:$e,dragNode:lt,event:Pt}=vt,_t=vt.node.pos.split("-"),kt=vt.dropPosition-Number(_t[_t.length-1]);if(kt==0){Oe.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(kt==1&&(lt==null?void 0:lt.item_index)==($e==null?void 0:$e.item_index)+1){Oe.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)>($e==null?void 0:$e.item_index)?($e==null?void 0:$e.item_index)+1:$e==null?void 0:$e.item_index});($t==null?void 0:$t.status)===0&&(Oe.ZP.success("\u79FB\u52A8\u6210\u529F"),mn({},!0))}),Je=vt=>dt(void 0,null,function*(){let $e={};dn?$e=yield Fe(et({},vt)):$e=yield ie(et({},vt)),($e==null?void 0:$e.status)==0&&(Oe.ZP.success(($e==null?void 0:$e.message)||(dn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),mn({},!0),se())});return(0,he.useEffect)(()=>{wt!=null&&wt.open&&mn({},!0)},[wt==null?void 0:wt.open]),(0,he.useEffect)(()=>{var vt;Qt(Ct((vt=Bn==null?void 0:Bn.data)==null?void 0:vt.list))},[Bn]),Tt?he.createElement(he.Fragment,null,Xt,bt,he.createElement(He.default,et({},et({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},wt)),he.createElement(Le.Z,{spinning:Cn},(xt==null?void 0:xt.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:xt,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(xe.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(xe.Z,null,he.createElement(fe.Z,{title:"\u7F16\u8F91"},he.createElement("i",{className:`iconfont icon-bianji11 font12 ${Be.currentPrimary}`,onClick:$e=>{$e.stopPropagation(),Vt.setFieldsValue(et({},vt)),Tn(!0)}}))),he.createElement(xe.Z,null,he.createElement(fe.Z,{title:"\u5220\u9664"},he.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Be.currentDelete}`,onClick:$e=>{$e.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&&(Oe.ZP.success((lt==null?void 0:lt.message)||"\u5220\u9664\u6210\u529F"),mn({},!0))})})}}))))))}),he.createElement(ke.op,{className:"ml20 mt20",icon:he.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Gn(!0),Tn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):he.createElement(Qe.Z,{styles:{margin:"30px auto"},customText:he.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",he.createElement("a",{onClick:()=>{Gn(!0),Tn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),he.createElement(He.default,{title:dn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:An,okText:dn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{Vt.submit()}},he.createElement(ft.default,{form:Vt,onFinish:Je},dn&&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(ft.default.Item,{hidden:!0,name:"id"}),he.createElement(ft.default.Item,{className:"mt10",name:"value"},he.createElement(Ke.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:Ht})=>({user:Ht,loading:Re.effects}))(Xe)},67831:function(Qn,Yt,de){"use strict";de.d(Yt,{h:function(){return qe}});var he=de(59301),Me=de(57809),He=de(78241),ft=de(3113),Oe=de(89780),Le=de.n(Oe),ve=de(14618),Ae=de(66552),xe=Object.defineProperty,fe=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Qe=(We,Ze,et)=>Ze in We?xe(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:et}):We[Ze]=et,ke=(We,Ze)=>{for(var et in Ze||(Ze={}))_e.call(Ze,et)&&Qe(We,et,Ze[et]);if(Be)for(var et of Be(Ze))Ne.call(Ze,et)&&Qe(We,et,Ze[et]);return We},Pe=(We,Ze)=>fe(We,Ke(Ze));const Te=Me.default.Option,Ye={labelCol:{span:4},wrapperCol:{span:20}},ze={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"]};Yt.Z=({callback:We,onCancel:Ze})=>{const[et,rt]=(0,he.useState)("python");function ht(Ct){rt(ze[Ct][1])}function dt(Ct){We(Ct)}return he.createElement(He.default,Pe(ke({},Ye),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:dt,style:{width:500}}),he.createElement(He.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(Me.default,{getPopupContainer:Ct=>Ct.parentNode,onChange:ht},Object.keys(ze).map(Ct=>he.createElement(Te,{key:Ct,value:Ct},ze[Ct][0])))),he.createElement(He.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(qe,{mode:et})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(ft.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(ft.ZP,{type:"ghost",onClick:Ze},"\u53D6\u6D88")))};function qe({value:We,onChange:Ze,mode:et,options:rt={}}){const ht=(0,he.useRef)(),[dt,Ct]=(0,he.useState)();return(0,he.useEffect)(()=>{if(dt){let Xe=function(Lt){const Re=Lt.getValue();Ze&&Ze(Re)};return dt.on("change",Xe),()=>{dt.off("change",Xe)}}},[dt,Ze]),(0,he.useEffect)(()=>{dt&&dt.setOption("mode",et)},[dt,et]),(0,he.useEffect)(()=>{dt&&(We!==dt.getValue()||We==="")&&setTimeout(()=>{dt.setValue(We||"")},300)},[dt,We]),(0,he.useEffect)(()=>{if(ht.current&&!dt){const Xe=Le().fromTextArea(ht.current,ke({mode:et,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},rt));Ct(Xe)}},[ht.current,dt]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:ht}))}},40973:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return sa}});var he=de(59301),Me=de(89780),He=de.n(Me),ft=de(76374),Oe=de(14618),Le=de(6313),ve=de(25717),Ae=de(99498),xe=de(25419),fe=de(67549),Ke=de(39655),Be=({value:Pi="",className:Aa,showTextOnly:Si,showLines:qr,style:Ma={}})=>{const kn=(0,he.useMemo)(()=>"",[Pi]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:kn}}))},_e=de(59301),Ne=Object.defineProperty,Qe=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ze=(Pi,Aa,Si)=>Aa in Pi?Ne(Pi,Aa,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Aa]=Si,qe=(Pi,Aa)=>{for(var Si in Aa||(Aa={}))Te.call(Aa,Si)&&ze(Pi,Si,Aa[Si]);if(Pe)for(var Si of Pe(Aa))Ye.call(Aa,Si)&&ze(Pi,Si,Aa[Si]);return Pi},We=(Pi,Aa)=>Qe(Pi,ke(Aa));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 et({onActionCallback:Pi,title:Aa,icon:Si,actionName:qr,className:Ma="",children:kn}){function Dt(){Pi(qr)}return _e.createElement("a",{title:Aa,className:Ma,onClick:Dt},_e.createElement("i",{className:`${Si}`}),kn)}var rt=({watch:Pi,showNullButton:Aa,showNullProgramButton:Si,onActionCallback:qr,fullScreen:Ma,insertTemp:kn,hidetoolBar:Dt,extraUse:Gt})=>{const Wt=[...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&&Wt.map((Kt,on)=>_e.createElement("li",{key:on},Kt.actionName?_e.createElement(et,We(qe({},Kt),{onActionCallback:qr})):_e.createElement("span",{className:"v-line"}))),Aa?_e.createElement("li",null,_e.createElement(et,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:qr},_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(et,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:qr},_e.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),_e.createElement("li",null,_e.createElement(et,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:qr},_e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,kn&&_e.createElement("li",null,_e.createElement(et,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${kn}`,onActionCallback:qr},_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(et,{icon:`${Ma?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ma?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:qr})))},ht=de(53531),dt=de(78241),Ct=de(92832),Xe=de(3113),Lt=Object.defineProperty,Re=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,wt=(Pi,Aa,Si)=>Aa in Pi?Lt(Pi,Aa,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Aa]=Si,it=(Pi,Aa)=>{for(var Si in Aa||(Aa={}))bt.call(Aa,Si)&&wt(Pi,Si,Aa[Si]);if(Et)for(var Si of Et(Aa))Tt.call(Aa,Si)&&wt(Pi,Si,Aa[Si]);return Pi},Ue=(Pi,Aa)=>Re(Pi,Ht(Aa));const at={labelCol:{span:4},wrapperCol:{span:20}};var Xt=({callback:Pi,onCancel:Aa})=>{function Si(qr){Pi(qr)}return he.createElement(dt.default,Ue(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(Ct.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(Ct.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Xe.ZP,{type:"ghost",onClick:Aa},"\u53D6\u6D88")))},Vt=de(67831),xt=de(58448),Qt=de(43418),An=de(95237),Tn=de(15868),dn=de(59301),Gn=({callback:Pi,onCancel:Aa})=>{const Si=document.createElement("canvas"),qr=Si.getContext("2d");Si.width=1e3,Si.height=800,qr.fillStyle="#ffffff",qr.fillRect(0,0,Si.width,Si.height);const Ma=Si.toDataURL("image/png");return dn.createElement(Qt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},dn.createElement(An.Z,{style:{height:"100vh"}},dn.createElement(Tn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ma,visible:!0,title:String(Date.now())},onOk:kn=>{Pi({src:kn.url})},onClose:Aa})))},Cn=de(8591),mn=de(43428),Bn=de(43604),Se={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=de(59301),ae=(0,he.forwardRef)(({onCancel:Pi,editImgId:Aa,callback:Si},qr)=>{let Ma=(0,he.useRef)(),kn=(0,he.useRef)(),Dt=(0,he.useRef)(),Gt=(0,he.useRef)(!1);const Wt=(0,he.useRef)(!1);console.log("ref:",qr);const[Kt,on]=(0,he.useState)(0),[_n,lr]=(0,he.useState)("100vh");(0,he.useEffect)(()=>{on(1);try{indexedDB.databases().then(Pr=>{Pr.forEach(Ur=>indexedDB.deleteDatabase(Ur.name))})}catch(Pr){}},[]),(0,he.useEffect)(()=>(window.addEventListener("message",dr),()=>{window.removeEventListener("message",dr)}),[]),(0,he.useImperativeHandle)(qr,()=>({setHeight:lr}));const nr=Pr=>{window.saveDrawData(Ur=>{if(Ur===null&&!Pr){Cn.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Cn.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Si({src:`/api/attachments/${Ur}`,id:Ur,disabledClose:!0})})},dr=Pr=>{var Ur;((Ur=Pr==null?void 0:Pr.data)==null?void 0:Ur.type)==="closePop"&&nr(!0)};return Fe.createElement("div",{ref:Wt,className:"body-overflow-initial"},Fe.createElement(mn.Z,{width:"100vw",height:_n,footer:null,closable:!0,placement:"bottom",open:!!Kt,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Se.drawerWrap}`,onClose:()=>{window.saveDrawData(Pr=>{Si({src:`/api/attachments/${Pr}`,id:Pr})})},title:Fe.createElement(An.Z,{align:"middle"},Fe.createElement(Bn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(Bn.Z,{onClick:()=>{lr(_n==="60px"?"100vh":"60px")}},Fe.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),Fe.createElement(Bn.Z,{onClick:nr},Fe.createElement(Xe.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},Fe.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Aa||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:kn})))}),se=de(6521),oe=de(5112),Je=de(5871);const vt=oe.ZP.Group,$e={margin:"0 8px"};var lt=({callback:Pi,onCancel:Aa})=>{function Si(qr){Pi(qr)}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:$e},"\u5355\u5143\u683C\u6570\uFF1A"),he.createElement("span",{style:$e},"\u884C\u6570"),he.createElement(dt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},he.createElement(Je.Z,null)),he.createElement("span",{style:$e},"\u5217\u6570"),he.createElement(dt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},he.createElement(Je.Z,null))),he.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},he.createElement("span",{style:$e},"\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(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Xe.ZP,{type:"ghost",onClick:Aa},"\u53D6\u6D88")))},Pt=de(78673),_t=de(3352),kt=de.n(_t),Sn=(0,he.forwardRef)(({use3d:Pi,width:Aa,height:Si,callback:qr,showSaveButton:Ma},kn)=>{const Dt=(0,he.useRef)(),Gt=(0,he.useRef)(),[Wt,Kt]=(0,he.useState)(!1),on=(0,he.useRef)({id:Dt,appName:"graphing",width:Aa||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 _n=()=>{var lr=window.ggbApplet.getPNGBase64(1,!0,72);return qr&&qr(lr),lr};return(0,he.useEffect)(()=>{on.current.appName=Wt?"3D":"graphing",Gt.current.inject("applet_container")},[Wt]),(0,he.useEffect)(()=>{Kt(Pi)},[Pi]),(0,he.useImperativeHandle)(kn,()=>({getImgData:_n})),he.createElement(he.Fragment,null,he.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Dt}),he.createElement(An.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:Wt,onChange:lr=>Kt(lr)})),he.createElement(Bn.Z,null,he.createElement(Xe.ZP,{size:"large",onClick:_n,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),St=de(3315),nn=de(1012);const tn="link",jt="upload-image",pt="add-flowchart",Zt="draw-image",gn="add-flowchart",wn="code-block",Xn="add-table",yr="------------",Dr={default:yr,left:`:${yr}`,center:`:${yr}:`,right:`${yr}:`};var Tr=de(57649),Rr=(Pi,Aa,Si)=>new Promise((qr,Ma)=>{var kn=Wt=>{try{Gt(Si.next(Wt))}catch(Kt){Ma(Kt)}},Dt=Wt=>{try{Gt(Si.throw(Wt))}catch(Kt){Ma(Kt)}},Gt=Wt=>Wt.done?qr(Wt.value):Promise.resolve(Wt.value).then(kn,Dt);Gt((Si=Si.apply(Pi,Aa)).next())});function Sr(){}let fr=0;const Vr=1e4,Bi="\u2581",yi="@\u2581\u2581@",mi="@\u2581@",Vi=`
**\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`,ua=["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 Wr(Pi){return/^\d+$/.test(Pi)?`${Pi}px`:Pi}const ea=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ea={[ea+"-B"]:"bold",[ea+"-I"]:"italic"},wo={[tn]:"\u6DFB\u52A0\u94FE\u63A5",[wn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[jt]:"\u6DFB\u52A0\u56FE\u7247",[Zt]:"\u6DFB\u52A0\u753B\u56FE",[pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var sa=({defaultValue:Pi="",onChange:Aa,width:Si="100%",height:qr=400,miniToolbar:Ma=!1,isFocus:kn=!1,watch:Dt,insertTemp:Gt,mode:Wt="markdown",id:Kt="markdown-editor-id",showResizeBar:on=!1,noStorage:_n=!1,showNullButton:lr=!1,showNullProgramButton:nr=!1,hidetoolBar:dr=!1,fullScreen:Pr=!1,onBlur:Ur,onCMBeforeChange:ei,onFullScreen:er,className:kr="",disablePaste:_i=!1,disabled:gi=!1,disabledFill:ji=!1,placeholder:Mi="",values:Ca="",extraUse:Jr,onAddBlank:ra})=>{const[vn,gr]=(0,he.useState)(null),[Ar,jr]=(0,he.useState)(Pi),[br,Ir]=(0,he.useState)(Dt),[Fr,si]=(0,he.useState)(Pr),[bi,Ti]=(0,he.useState)(""),[Pa,Ka]=(0,he.useState)(0),[$a,Ua]=(0,he.useState)(qr),[Fa,ho]=(0,he.useState)(!1),oo=(0,he.useRef)((0,nn.Z)()),ta=(0,he.useRef)(!1),ui=(0,he.useRef)(),[za,no]=(0,he.useState)(0),[La,xo]=(0,he.useState)(0),os=(0,he.useRef)(),Va=(0,he.useRef)(),Ii=(0,he.useRef)(),Ci=(0,he.useRef)(),Ha=(0,he.useRef)(),Oa=(0,he.useRef)(),eo=()=>Rr(void 0,null,function*(){var fa;const la=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:oo.current}});(fa=la==null?void 0:la.attachments)!=null&&fa.length&&(console.log("cm:",vn,os),la.attachments.map(ia=>{ia.content_type.indexOf("image")>-1?vn.replaceSelection(`![,](/api/attachments/${ia.id}?type=${ia.content_type})`):ia.content_type.indexOf("video")>-1?vn.replaceSelection(`<video width="100%" controls src="${se.Z.API_SERVER}/api/attachments/${data.id}"></video>`):ia.content_type.indexOf("pdf")>-1?vn.replaceSelection(`<a href="${se.Z.API_SERVER}/api/attachments/${ia.id}?type=${ia.content_type}&disposition=inline" target="_blank">${ia.name}</a>`):vn.replaceSelection(`[${ia.name}](${se.Z.API_SERVER}/api/attachments/${ia.id}?type=${ia.content_type})`)}))});(0,he.useEffect)(()=>{const fa=window.scrollY||window.pageYOffset;jr(Ca),vn==null||vn.setValue(Ca),window.scrollTo(0,fa)},[Ca]),(0,he.useEffect)(()=>{er==null||er(Fr)},[Fr]),(0,he.useEffect)(()=>{if(os.current){let fa=function(ia,Ln){var In;if(_i){Ln.preventDefault();return}const Er=Ln.clipboardData;if(Er){const vi=Er.types.toString(),ha=Er.items;if(vi==="Files"||Er.types.indexOf("Files")>-1){if(Ln.preventDefault(),Wt=="stex")return;try{let Ia=ha[1];((In=ha[0])==null?void 0:In.kind)==="file"&&(Ia=ha[0]);const va=Ia.getAsFile(),Ji=va.name.split(".").pop();(0,xt.I)(va,ya=>{var No,Vo,cs;ya.id?((No=va==null?void 0:va.type)==null?void 0:No.indexOf("image"))>-1?la.replaceSelection(`<img width="100%" src="/api/attachments/${ya.id}?type=${ya.content_type})" alt="" />`):((Vo=va==null?void 0:va.type)==null?void 0:Vo.indexOf("video"))>-1?la.replaceSelection(`<video width="100%" controls src="/api/attachments/${ya.id}"></video>`):((cs=va==null?void 0:va.type)==null?void 0:cs.indexOf("pdf"))>-1?la.replaceSelection(`<a href="/api/attachments/${ya.id}?type=${va.type}&disposition=inline" target="_blank">${va.name}</a>`):ua.includes(Ji)?la.replaceSelection(`<a href="/api/attachments/${ya.id}?type=office&disposition=inline" target="_blank">${va.name}</a>`):la.replaceSelection(`[${va.name}](/api/attachments/${ya.id}?type=${ya.content_type})`):(ya==null?void 0:ya.status)===401&&(Cn.ZP.warning((ya==null?void 0:ya.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ia){Cn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const la=He().fromTextArea(os.current,{mode:Wt,lineNumbers:!Ma,lineWrapping:!0,value:Pi,autoCloseTags:!nr,autoCloseBrackets:!0});return la.on("keyup",function(ia,Ln){Ln.keyCode===8&&(ia.getValue()==""?la.setOption("placeholder",Mi):la.setOption("placeholder",null))}),la.on("keydown",function(ia,Ln){if(Ln.keyCode===8){var In=vo(ia);In&&Ln.preventDefault()}}),kn&&la.focus(),la.on("paste",fa),la.on("dragleave",function(ia,Ln){Va.current.classList.remove("mouse-hover-md")}),gi&&la.on("beforeChange",function(ia,Ln){(Ln.origin==="paste"||Ln.origin==="+input")&&Ln.cancel()}),gr(la),()=>{la.off("paste",fa)}}},[]);const Lo=(0,he.useCallback)(()=>{if(Va.current)try{}catch(fa){console.log(fa,"---- to set md editor body height")}},[$a,Va,Fr]);(0,he.useEffect)(()=>{function fa(){let la=new ft.Z(ia=>{for(let Ln of ia)(Ln.target.offsetHeight>0||Ln.target.offsetWidth>0)&&(Lo(),vn.setSize("100%","100%"),vn.refresh())});return la.observe(os.current.parentElement),la}if(vn){const la=fa();return()=>{var ia,Ln;(ia=os.current)!=null&&ia.parentElement&&la.unobserve((Ln=os.current)==null?void 0:Ln.parentElement)}}},[vn,Lo]),(0,he.useEffect)(()=>{if(vn){let fa=[];for(const[la,ia]of Object.entries(Ea)){let Ln={[la]:()=>{jn(ia)}};fa.push(Ln),vn.addKeyMap(Ln)}return ui.current=setInterval(()=>{ta.current&&eo()},4e3),()=>{clearInterval(ui.current);for(let la of fa)vn.removeKeyMap(la)}}},[vn]),(0,he.useEffect)(()=>{Pr!==Fr&&si(Pr)},[Pr]),(0,Tr.Z)(()=>{if(!_n&&Pa>0){let fa=new Date().getTime(),la=window.sessionStorage.getItem(Kt);fa>=Pa+Vr&&(!la||la!==Ar)&&(window.sessionStorage.setItem(Kt,Ar),ho(!0))}},Vr),(0,he.useEffect)(()=>{Ir(Dt)},[vn,Dt]),(0,he.useEffect)(()=>{vn&&kn&&vn.focus()},[vn,kn]),(0,he.useEffect)(()=>{if(br&&vn){let fa=function(ia){let Ln=ia.target;if(Ci.current){let In=Ln.scrollTop/Ln.scrollHeight;Ci.current.scrollTop=Ci.current.scrollHeight*In}};const la=vn.getScrollerElement();return la.addEventListener("scroll",fa),()=>{la.removeEventListener("scroll",fa)}}},[vn,br]),(0,he.useEffect)(()=>{if(vn&&ei){let fa=function(la,ia){ei(la,ia)};return vn.on("beforeChange",fa),()=>{vn.off("beforeChange",fa)}}},[vn,ei]),(0,he.useEffect)(()=>{if(vn&&Ur){let fa=function(){Ur(vn.getValue())};return vn.on("blur",fa),()=>{vn.off("blur",fa)}}},[vn,Ur]);function vo(fa,la){var ia=fa.getDoc(),Ln=ia.getCursor(),In=ia.getLine(Ln.line),Er=In.charAt(Ln.ch-1),vi=In.lastIndexOf("@\u2581@",Ln.ch),ha=In.lastIndexOf("@\u2581\u2581@",Ln.ch),Ia=vi>ha?vi:ha,va=vi>ha?3:4;if(yi.indexOf(Er)===-1)return null;if(console.log("change1:",la,fa,In,Ln,Ia,vi,ha,Er),Ia>=0&&Ln.ch-Ia<5){var Ji=Ia+va;return ia.replaceRange("",{line:Ln.line,ch:Ia},{line:Ln.line,ch:Ji}),{line:Ln.line,ch:Ji}}return null}(0,he.useEffect)(()=>{if(vn){let fa=function(la,ia){const Ln=la.getValue();jr(Ln),Ka(new Date().getTime()),la.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Aa&&(nr?Aa(Ln,Js(Ln)):Aa(Ln))};return vn.on("change",fa),()=>{vn.off("change",fa)}}},[vn,Aa]),(0,he.useEffect)(()=>{if(vn)if(Pi==null)vn.setValue(""),jr("");else{const fa=window.scrollY||window.pageYOffset;Pi!==vn.getValue()&&(vn.setValue(Pi),jr(Pi),vn.setCursor(gi?1:vn.lineCount(),0),window.scrollTo(0,fa))}},[vn,Pi]);const jn=(0,he.useCallback)(fa=>{const la=vn.getCursor(),ia=vn.getSelection();let Ln=ia.split(`
`);switch(fa){case"bold":return vn.replaceSelection("**"+ia+"**"),ia===""&&vn.setCursor(la.line,la.ch+2),vn.focus();case"italic":return vn.replaceSelection("*"+ia+"*"),ia===""&&vn.setCursor(la.line,la.ch+1),vn.focus();case"code":return vn.replaceSelection("`"+ia+"`"),ia===""&&vn.setCursor(la.line,la.ch+1),vn.focus();case"inline-latex":return Ti("inline-latex"),vn.focus();case"latex":return vn.replaceSelection("```latex\n"+ia+"\n```"),vn.setCursor(la.line+1,ia.length+1),vn.focus();case"line-break":return vn.replaceSelection(`<br/>
`),vn.focus();case"list-ul":return ia===""?vn.replaceSelection("- "+ia):vn.replaceSelection(Ln.map(In=>In===""?"":`- ${In}`).join(`
`)),vn.focus();case"list-ol":return ia===""?vn.replaceSelection("1. "+ia):vn.replaceSelection(Ln.map((In,Er)=>In===""?"":`${Er+1}. ${In}`).join(`
`)),vn.focus();case"add-null-ch":ra==null||ra();return;case"add-signal":return ia===""&&vn.setCursor(la.line,la.ch),vn.replaceSelection(mi),vn.focus();case"add-multiple":return ia===""&&vn.setCursor(la.line,la.ch),vn.replaceSelection(yi),vn.focus();case"inster-template-1":return ia===""&&vn.setCursor(la.line,la.ch),vn.replaceSelection(Vi),vn.focus();case"eraser":return vn.setValue(""),vn.focus();case"trigger-watch":return Ir(!br),vn.focus();case"trigger-full-screen":return si(!Fr),vn.focus();case tn:Ti(tn);return;case wn:Ti(wn);return;case jt:Ti(jt);return;case Zt:Ti(Zt);return;case"maths-latex":Ti("maths-latex");return;case pt:Ha.current="",sessionStorage.removeItem("file_id"),Ti(pt);return;case Xn:Ti(Xn);return;default:throw new Error}},[vn,br,Fr]),Oo=(0,he.useCallback)((fa,la)=>{var ia,Ln,In,Er,vi,ha;Ti("");const{src:Ia,alt:va,id:Ji}=fa||{};switch(bi){case tn:const{title:Mo,link:ul}=fa;return vn.replaceSelection(`[${Mo}](${ul})`),vn.focus();case wn:const{language:Ss,content:vr}=fa;return vn.replaceSelection(["```"+Ss,vr,"```"].join(`
`)),vn.focus();case"maths-latex":for(var ya=atob(fa),No=new Uint8Array(ya.length),Vo=0;Vo<ya.length;Vo++)No[Vo]=ya.charCodeAt(Vo);var cs=new Blob([No],{type:"image/png"});(0,xt.I)(cs,Hi=>{Hi.id?vn.replaceSelection(`![,](/api/attachments/${Hi.id}?type=${Hi.content_type})`):(Hi==null?void 0:Hi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":vn.replaceSelection("`$$"+fa+"$$`");break;case gn:if(!Ji)return;vn.focus(),vn.getValue().indexOf(Ia)===-1?vn.replaceSelection(`<center><img id="${Ji}" width="80%" src="${Ia}" class="draw-flowchart" alt="${va||""}" /></center>`):document.getElementById(Ji).src=se.Z.API_SERVER+Ia+"?t="+Date.now();try{setTimeout(()=>{Ur(vn.getValue())},100)}catch(Hi){}break;case jt:case Zt:const On=la,Dn=(In=(Ln=(ia=On==null?void 0:On.name)==null?void 0:ia.split("."))==null?void 0:Ln.pop)==null?void 0:In.call(Ln);return((Er=On==null?void 0:On.type)==null?void 0:Er.indexOf("image"))>-1||!(On!=null&&On.type)?On!=null&&On.align||On!=null&&On.width?vn.replaceSelection(`<p style="text-align:${On.align||"initial"}"><img width="${On.width?On.width+"%":"initial"}" src="${Ia}" alt="${va||""}" /></p>`):vn.replaceSelection(`<img width="100%" src="${Ia}" alt="${va||""}" />`):((vi=On==null?void 0:On.type)==null?void 0:vi.indexOf("video"))>-1?vn.replaceSelection(`<video width="100%" controls src="${Ia}"></video>`):((ha=On==null?void 0:On.type)==null?void 0:ha.indexOf("pdf"))>-1?vn.replaceSelection(`<a href="${Ia}?type=${On.type}&disposition=inline" target="_blank">${On.name}</a>`):ua.includes(Dn)?vn.replaceSelection(`<a href="${Ia}?type=office&disposition=inline" target="_blank">${On.name}</a>`):vn.replaceSelection(`[${On.name}](${Ia})`),vn.focus();case Xn:const{row:wr,col:ni,align:li}=fa;let Or=`
`;for(let Hi=0;Hi<wr;Hi++){let ca=[],uo=[];for(let Wa=0;Wa<ni;Wa++)Hi===1&&uo.push(Dr[li]),ca.push(" ");Hi===1&&(Or+=`| ${uo.join(" | ")} |
`),Or+=`| ${ca.join(ni===1?"":" | ")} |
`}return vn.replaceSelection(Or+`
`),vn.focus();default:throw new Error}},[vn,bi]),Ks=(0,he.useMemo)(()=>{switch(bi){case tn:return he.createElement(Xt,{callback:Oo,onCancel:Sa});case wn:return he.createElement(Vt.Z,{callback:Oo,onCancel:Sa});case jt:return he.createElement(xt.Z,{callback:Oo,onCancel:Sa});case pt:return he.createElement(ae,{editImgId:Ha.current,callback:Oo,onCancel:Sa});case Xn:return he.createElement(lt,{callback:Oo,onCancel:Sa});case"maths-latex":return he.createElement(Sn,{showSaveButton:!0,callback:Oo});case"inline-latex":return he.createElement(St.Z,{showSaveButton:!0,callback:Oo});default:return null}},[bi]);function Sa(){Ti("")}(0,he.useEffect)(()=>{if(Ii.current){let fa=function(vi){In=!0,Er=vi.pageY},la=function(){In=!1},ia=function(vi){if(In){let ha=vi.pageY-Er;ha<0&&(ha=0),ha>300&&(ha=300);let Ia=qr+ha+"px";Ua(Ia)}},Ln=Ii.current,In=!1,Er=0;return Ln.addEventListener("mousedown",fa),document.addEventListener("mousemove",ia),document.addEventListener("mouseup",la),()=>{Ln.removeEventListener("mousedown",fa),document.removeEventListener("mousemove",ia),document.removeEventListener("mouseup",la)}}},[vn,Ii]),(0,he.useEffect)(()=>{Ua(qr)},[qr]);const ga=Wr(Si),Co=Wr($a),Fo={width:ga,height:Co},Es=(0,he.useMemo)(()=>{if(Pa){let fa=new Date(Pa),la=fa.getHours(),ia=fa.getMinutes(),Ln=fa.getSeconds();return la=la<10?"0"+la:la,ia=ia<10?"0"+ia:ia,Ln=Ln<10?"0"+Ln:Ln,`${la}:${ia}:${Ln}`}return 0},[Pa]),Js=fa=>{const la=[];if(nr){let ia=-1;fa=fa.replace(/(@▁▁@|@▁@)/g,function(Ln,In,Er){la.push({multiLine:Ln!==mi})})}return la};function Os(){window.sessionStorage.removeItem(Kt),ho(!1),Ka(0)}function ps(){ho(!1),Ka(0),vn.setValue(window.sessionStorage.getItem(Kt))}(0,he.useEffect)(()=>{wo[bi]&&bi!==Zt&&bi!==pt&&setTimeout(()=>{const fa=document.getElementsByClassName("markdown-popup-form")[0],la=window.innerWidth/2-fa.offsetWidth/2,ia=window.innerHeight/2-fa.offsetHeight/2;no(la),xo(ia)},0)},[bi]);const as=fa=>{fa.preventDefault();const la=fa.clientX-za,ia=fa.clientY-La;document.body.onmousemove=Ln=>{let In=Ln.clientX-la,Er=Ln.clientY-ia;const vi=document.getElementsByClassName("markdown-popup-form")[0],ha=window.innerWidth-vi.offsetWidth,Ia=window.innerHeight-vi.offsetHeight;In=Math.max(0,Math.min(In,ha)),Er=Math.max(0,Math.min(Er,Ia)),ol(Ln.clientX,Ln.clientY,la,ia)&&(no(In),xo(Er))},document.body.onmouseup=function(){document.body.onmousemove=null}},ol=(fa,la,ia,Ln)=>{const In=document.body.clientHeight,Er=document.body.clientWidth;return fa<20&&ia>fa||fa>Er-20&&ia<fa||la<20&&Ln>la||la>In-20&&Ln<la?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return he.createElement(he.Fragment,null,he.createElement("div",{className:"markdown-editor-wrapper",ref:Va},he.createElement("div",{className:`markdown-editor-container ${kr} ${br?"on-preview":""} ${Ma?"mini":""} ${Fr?"full-screen":""}`,style:Fo},he.createElement(rt,{insertTemp:Gt,watch:br,fullScreen:Fr,showNullButton:lr,showNullProgramButton:nr,onActionCallback:jn,hidetoolBar:dr,extraUse:Jr}),he.createElement("div",{className:"markdown-editor-body"},he.createElement("div",{className:"codemirror-container"},he.createElement("textarea",{ref:os,placeholder:Mi})),br?he.createElement("div",{ref:Ci,className:"preview-container"},Wt==="stex"&&he.createElement(Be,{value:Ar}),Wt!=="stex"&&he.createElement(Ke.Z,{edit:!0,disabledFill:ji,showProgramFill:nr,value:Ar,openEditor:fa=>{var la;Ha.current=fa,(la=Oa.current)==null||la.setHeight("100vh"),setTimeout(()=>{Ti("add-flowchart")},150)}})):null))),on?he.createElement("a",{ref:Ii,className:"editor-resize"}):null,bi===Zt&&he.createElement(Gn,{callback:Oo,onCancel:Sa}),bi===pt&&he.createElement(ae,{ref:Oa,editImgId:Ha.current,callback:Oo,onCancel:Sa}),he.createElement(ht.Z,null,wo[bi]&&bi!==Zt&&bi!==pt?he.createElement(Qt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:za,top:La},title:he.createElement("div",{style:{cursor:"move"},onMouseDown:as},wo[bi]),open:!0,onCancel:Sa,footer:null,destroyOnClose:!0,width:bi===pt?"1200px":null,height:bi===pt?"80vh":null,className:"markdown-popup-form"},Ks):null))}},58448:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return et},I:function(){return ht}});var he=de(78241),Me=de(8591),He=de(92832),ft=de(81327),Oe=de(5871),Le=de(5112),ve=de(3113),Ae=de(79090),xe=de(59301),fe=de(7544),Ke=de(59301),Be=Object.defineProperty,_e=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Te=(dt,Ct,Xe)=>Ct in dt?Be(dt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):dt[Ct]=Xe,Ye=(dt,Ct)=>{for(var Xe in Ct||(Ct={}))ke.call(Ct,Xe)&&Te(dt,Xe,Ct[Xe]);if(Qe)for(var Xe of Qe(Ct))Pe.call(Ct,Xe)&&Te(dt,Xe,Ct[Xe]);return dt},ze=(dt,Ct)=>_e(dt,Ne(Ct));const{useForm:qe}=he.default,We={width:280,marginRight:10},Ze={labelCol:{span:5},wrapperCol:{span:19}};var et=({callback:dt,onCancel:Ct})=>{const[Xe]=qe();let Lt=(0,xe.useRef)();function Re(bt){Lt.current.width=Xe.getFieldValue("width"),Lt.current.align=Xe.getFieldValue("align"),dt(bt,Lt.current)}function Ht(bt,Tt){if(bt.status===-1){Me.ZP.error(bt.message);return}Xe.setFieldsValue({src:`/api/attachments/${bt.id}`,type:Tt.type})}function Et(bt){let Tt=bt.target.files[0];Lt.current=Tt,ht(Tt,Ht)}return Ke.createElement(he.default,ze(Ye({form:Xe},Ze),{className:"upload-image-panel",onFinish:Re,style:{width:470,overflow:"hidden"}}),Ke.createElement(he.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ke.createElement("div",{className:"flex-container"},Ke.createElement(he.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ke.createElement(He.default,{style:We})),Ke.createElement(rt,{onFileChange:Et}))),Ke.createElement(he.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ke.createElement(He.default,{style:{width:264}})),Ke.createElement(he.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ke.createElement(ft.Z,null,Ke.createElement(he.default.Item,{name:"width",style:{margin:0}},Ke.createElement(Oe.Z,{style:{width:264}})),Ke.createElement("span",{className:"ml8"},"%"))),Ke.createElement(he.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ke.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"}]})),Ke.createElement("aside",null,Ke.createElement(he.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ke.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ke.createElement(ve.ZP,{type:"default",onClick:Ct},"\u53D6\u6D88"))))};function rt({onFileChange:dt}){return Ke.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ke.createElement("input",{type:"file",onChange:dt}))}function ht(dt,Ct){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 Xe=new FormData;Xe.append("editormd-image-file",dt),Xe.append("file_param_name","editormd-image-file"),Xe.append("byxhr","true");var Lt=new window.XMLHttpRequest;Lt.withCredentials=!0,Lt.addEventListener("load",function(Re){Ct(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(Xe)}},53531:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return He}});var he=de(59301),Me=de(4676);class He extends he.Component{constructor(Oe){super(Oe);const Le=window.document;this.node=Le.createElement("div"),Le.body.appendChild(this.node)}render(){const{children:Oe}=this.props;return(0,Me.createPortal)(Oe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},26073:function(Qn,Yt,de){"use strict";de.d(Yt,{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=de(71418),He=de(6848),ft=de(93948),Oe=de(92310),Le=de.n(Oe),ve=de(25544),Ae=de(18540),xe=de(7544),fe=de(79005),Ke=de(20345),Be=de(77882),_e=de(31081),Ne=de(75309),Qe=de(71979),ke=de(47558),Pe=de(42922),Te=de(66832),Ye=de(96593),ze=de(19664),qe=de(91833),We=de(59301);const Ze=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:fe,swimg:Ke},{name:"101\u8BA1\u5212",ptimg:Be,swimg:_e},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ne,swimg:Qe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ke,swimg:Pe},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Te,swimg:Ye},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ze,swimg:qe}];var rt=({className:ht,dataSource:dt=[],col:Ct=4,right:Xe,bottom:Lt=23,precision:Re=0,wrapWidth:Ht=1200,trackEventItems:Et,loading:bt,onRemove:Tt=()=>{},isCurrent:wt=!0,showAlias:it=!1,showProgress:Ue=!1})=>{const at=Math.floor((Ht-(Ct-1)*Xe)/Ct),Xt=[{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,xt)=>{var Qt,An,Tn,dn,Gn,Cn;const{name:mn,id:Bn,identifier:Se,featured:Fe,school_name:ie,image_url:ae,excellent:se,is_plan:oe}=Vt;return We.createElement("div",{key:Bn,className:wt&&Ue?he.wrapisCurrent:he.wrap,style:{width:at,marginRight:(1+xt)%Ct===0?0:Xe+Re,marginBottom:Lt}},We.createElement("a",{className:he.li,onClick:Je=>{Je.preventDefault(),Je.stopPropagation(),Et&&(0,ve.L9)([Et]),(0,ve.xg)(`/paths/${Se}`)}},We.createElement("div",{className:he.img},We.createElement("img",{className:he.cover,src:`${ae}`}),wt&&(0,xe.bg)()&&(Vt==null?void 0:Vt.studying)&&We.createElement("div",{className:`${he.movebq} user-path-items`,onClick:Je=>{Je.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((Je,vt)=>{var $e,lt;if(vt===0){const _t=($e=Xt.find(kt=>kt.name==Je))==null?void 0:$e.swimg;return We.createElement("img",{className:he.sign,src:_t,style:{left:"-4px"}})}const Pt=(lt=Xt.find(_t=>_t.name==Je))==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(He.Z,{title:it&&(Vt!=null&&Vt.excellent_alias_name)?We.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${mn}`,We.createElement("br",null),We.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Vt==null?void 0:Vt.excellent_alias_name}`)):mn},We.createElement("span",{className:he.e},it&&(Vt==null?void 0:Vt.excellent_alias_name)||mn))),wt&&Ue&&((An=Vt==null?void 0:Vt.progress)==null?void 0:An.all_score)!=0&&We.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},We.createElement(ft.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Tn=Vt==null?void 0:Vt.progress)==null?void 0:Tn.my_score)/((dn=Vt==null?void 0:Vt.progress)==null?void 0:dn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Gn=Vt==null?void 0:Vt.progress)==null?void 0:Gn.my_score,"/",(Cn=Vt==null?void 0:Vt.progress)==null?void 0:Cn.all_score),(!wt||!Ue)&&We.createElement("div",{className:he.tags},We.createElement("div",null,We.createElement(He.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(He.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)))}},23579:function(Qn,Yt,de){"use strict";de.d(Yt,{jL:function(){return Oe},w9:function(){return wo},vv:function(){return Dt},dN:function(){return Si},QD:function(){return no},cQ:function(){return vt.Z},vg:function(){return ua},Oz:function(){return fr},op:function(){return Fa},O5:function(){return Js},_b:function(){return Ci},t7:function(){return Lt},tT:function(){return Et},Gi:function(){return er},YG:function(){return on},Ed:function(){return Ur},kT:function(){return nr},qp:function(){return Pe},Um:function(){return Ze},K3:function(){return ze},vr:function(){return os},qE:function(){return ta},Je:function(){return wt},wb:function(){return Cn},rC:function(){return Je},lB:function(){return Se},cq:function(){return Ca},kO:function(){return gr},tp:function(){return ht},Si:function(){return as},k8:function(){return Ss},Du:function(){return vi}});var he=de(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"},He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR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HFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Oe=({dataSource:vr=[],img:On,imgWidth:Dn=346,title:wr,sunTitle:ni,bannerExtraContent:li})=>he.createElement("div",{className:Me.banner},he.createElement("div",{className:Me.content},he.createElement("aside",null,he.createElement("p",null,he.createElement("b",null,wr),he.createElement("span",null,ni)),vr.length>0&&he.createElement("div",{className:Me.btns},vr.map((Or,Hi)=>he.createElement("div",{key:Hi,onClick:Or.click},Or.name,Or.sign?he.createElement("img",{src:He,width:39}):null))),li),On&&he.createElement("img",{style:{marginTop:33,marginRight:38},src:On,width:Dn}))),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=de(92310),Ae=de.n(ve),xe=de(78267),fe=Object.defineProperty,Ke=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ne=(vr,On,Dn)=>On in vr?fe(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Qe=(vr,On)=>{for(var Dn in On||(On={}))Be.call(On,Dn)&&Ne(vr,Dn,On[Dn]);if(Ke)for(var Dn of Ke(On))_e.call(On,Dn)&&Ne(vr,Dn,On[Dn]);return vr},Pe=({dataSource:vr=[],value:On,onChange:Dn,onTitleChange:wr,className:ni,title:li,titleWidth:Or=41,style:Hi={},fontColor:ca="#6A7283",showCount:uo,classNameActive:Wa,styleItem:Ki={}})=>{const[Na,so]=(0,he.useState)(0),[rr,Kn]=(0,he.useState)(!1),Ja=(0,he.useRef)(null),pa=(0,he.useRef)(null);return(0,he.useEffect)(()=>{var ka;vr.length!==0&&(((ka=Ja==null?void 0:Ja.current)==null?void 0:ka.clientHeight)>97?so(1):so(0)),vr.length===0&&so(0),Kn(!1)},[vr]),he.createElement("div",{className:Ae()(Le.row,ni),style:Hi},he.createElement("div",{onClick:(0,xe.throttle)(()=>wr==null?void 0:wr(),2e3),style:{width:Or,marginTop:rr?12:4},className:`${Le.title} ${wr?"current":""}`},li),he.createElement("div",{className:rr?`${Le.tagsWrap} ${Le.tagsBorderWrap}`:Le.tagsWrap},he.createElement("div",{className:Le.bar,ref:pa,style:Na>0?{height:Na===1?97:"auto",overflow:Na===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},he.createElement("div",{className:Le.tag,ref:Ja},vr==null?void 0:vr.map(ka=>he.createElement("span",{onClick:()=>Dn(ka.id),key:ka.id,style:Qe(Qe({color:ca},Ki),(ka==null?void 0:ka.style)||{}),className:On===ka.id?Ae()(Wa||Le.active,ka.classNameActive):""},he.createElement("span",{title:ka.name,className:Le.name},ka.name),!!uo&&he.createElement("span",{className:Le.num},ka.count))))),!!Na&&he.createElement(he.Fragment,null,Na===1?he.createElement("div",{onClick:()=>{var ka;so(2),((ka=Ja==null?void 0:Ja.current)==null?void 0:ka.clientHeight)>245?Kn(!0):Kn(!1)},className:Le.action},"\u5C55\u5F00",he.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):he.createElement("div",{onClick:()=>{pa.current.scrollTop=0,so(1),Kn(!1)},className:Le.action},"\u6536\u8D77",he.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Te={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"},ze=({dataSource:vr=[],value:On,onChange:Dn,onTitleChange:wr,className:ni,title:li,titleWidth:Or=41,style:Hi={},fontColor:ca="#6A7283",showCount:uo,expand:Wa=!0})=>{const[Ki,Na]=(0,he.useState)(0),[so,rr]=(0,he.useState)(!1),Kn=(0,he.useRef)(null),Ja=(0,he.useRef)(null),[pa,ka]=(0,he.useState)(Wa);return he.createElement("div",{className:Ae()(Te.row,ni),style:Hi},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,xe.throttle)(()=>wr==null?void 0:wr(),2e3),style:{width:Or,marginTop:so?12:4},className:`${Te.title} ${wr?"current":""}`},li),he.createElement("i",{className:`iconfont ${pa?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:pa?8:10},onClick:()=>ka(!pa)})),pa&&he.createElement("div",{className:so?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},he.createElement("div",{className:Te.fenge}),he.createElement("div",{className:Te.bar,ref:Ja},he.createElement("div",{className:Te.tag,ref:Kn},vr==null?void 0:vr.map(ss=>he.createElement("span",{onClick:()=>Dn(ss.id),key:ss.id,style:{color:ca},className:On===ss.id?Te.active:""},he.createElement("span",{title:ss.name,className:Te.name},ss.name),!!uo&&he.createElement("span",{className:Te.num},ss.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:vr=[],value:On,onChange:Dn,onTitleChange:wr,className:ni,title:li,titleWidth:Or=41,style:Hi={},fontColor:ca="#fff",showCount:uo,expand:Wa=!0})=>{const[Ki,Na]=(0,he.useState)(0),[so,rr]=(0,he.useState)(!1),Kn=(0,he.useRef)(null),Ja=(0,he.useRef)(null),[pa,ka]=(0,he.useState)(Wa);return he.createElement("div",{className:Ae()(qe.row,ni),style:Hi},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,xe.throttle)(()=>wr==null?void 0:wr(),2e3),style:{width:Or},className:`${qe.title} ${wr?"current":""}`},li),he.createElement("i",{className:`iconfont ${pa?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:pa?"#00DDC7":"#037F74",fontSize:pa?10:12},onClick:()=>ka(!pa)})),pa&&he.createElement("div",{className:so?`${qe.tagsWrap} ${qe.tagsBorderWrap}`:qe.tagsWrap},he.createElement("div",{className:qe.bar,ref:Ja},he.createElement("div",{className:qe.tag,ref:Kn},vr==null?void 0:vr.map(ss=>he.createElement("span",{onClick:()=>Dn(ss.id),key:ss.id,style:{color:ca},className:On===ss.id?qe.active:""},he.createElement("span",{title:ss.name,className:qe.name},ss.name),!!uo&&he.createElement("span",{className:qe.num},ss.count)))))))},et={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"},ht=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={}})=>he.createElement("div",{style:ni,className:Ae()(et.tabs,wr)},vr.map(li=>he.createElement("span",{onClick:()=>Dn(li.id),className:On===li.id?et.active:"",key:li.id},li.name))),dt={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"},Ct=de(92832),Lt=({dataSource:vr=[],value:On="",onChange:Dn,onInputChange:wr=()=>{},className:ni,style:li={},placeholder:Or,allowClear:Hi=!1})=>{var ca;const[uo,Wa]=(0,he.useState)(""),[Ki,Na]=(0,he.useState)("");(0,he.useEffect)(()=>{var Kn;let Ja=On;(Kn=JSON.stringify(On))!=null&&Kn.includes("{")&&(Wa(On.id),Ja=On.value||"");try{Na(decodeURIComponent(Ja||""))}catch(pa){Na(decodeURIComponent(Ja||""))}},[On]);const so=()=>{Dn(encodeURIComponent(Ki),uo||null)},rr=Kn=>{Kn!==uo&&(Wa(Kn),Dn(encodeURIComponent(Ki),Kn))};return he.createElement("div",{className:Ae()(dt.input,ni),style:li},!!vr.length&&he.createElement("div",{className:dt.dropdown},he.createElement("div",{className:dt.text},(ca=vr.find(Kn=>Kn.id===uo))==null?void 0:ca.name,he.createElement("i",{className:"iconfont icon-zhankai4"}),he.createElement("b",{className:dt.b1}),he.createElement("b",{className:dt.b2})),he.createElement("div",{className:dt.menu},vr.map((Kn,Ja)=>he.createElement("div",{key:Ja,onClick:()=>rr(Kn.id)},Kn.name)))),he.createElement(Ct.default,{onPressEnter:so,value:Ki,onChange:Kn=>{Na(Kn.target.value),wr(encodeURIComponent(Kn.target.value),uo||null)},bordered:!1,placeholder:Or}),he.createElement("i",{onClick:so,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Re={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"},Et=({dataSource:vr=[],value:On="",onChange:Dn,onInputChange:wr=()=>{},className:ni,style:li={},placeholder:Or,allowClear:Hi=!1})=>{var ca;const[uo,Wa]=(0,he.useState)(""),[Ki,Na]=(0,he.useState)("");(0,he.useEffect)(()=>{var Kn;let Ja=On;(Kn=JSON.stringify(On))!=null&&Kn.includes("{")&&(Wa(On.id),Ja=On.value||"");try{Na(decodeURIComponent(Ja||""))}catch(pa){Na(decodeURIComponent(Ja||""))}},[On]);const so=()=>{Dn(encodeURIComponent(Ki),uo||null)},rr=Kn=>{Kn!==uo&&(Wa(Kn),Dn(encodeURIComponent(Ki),Kn))};return he.createElement("div",{className:Ae()(Re.input,ni),style:li},!!vr.length&&he.createElement("div",{className:Re.dropdown},he.createElement("div",{className:Re.text},(ca=vr.find(Kn=>Kn.id===uo))==null?void 0:ca.name,he.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),he.createElement("div",{className:Re.menu},vr.map((Kn,Ja)=>he.createElement("div",{key:Ja,onClick:()=>rr(Kn.id)},Kn.name)))),he.createElement(Ct.default,{onPressEnter:so,value:Ki,onChange:Kn=>{Na(Kn.target.value),wr(encodeURIComponent(Kn.target.value),uo||null)},bordered:!1,placeholder:Or}),he.createElement("i",{onClick:so,className:"iconfont icon-sousuo9 font14 pl10 current"}))},bt={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"},wt=({value:vr,onChange:On,className:Dn,total:wr,pageSize:ni,style:li={}})=>{const Or=vr<2,Hi=vr>=Math.ceil(wr/ni);return wr<=ni?he.createElement(he.Fragment,null):he.createElement("div",{className:Ae()(bt.quickPager,Dn),style:li},he.createElement("div",{onClick:()=>{Or||On(vr-1,"prev")},className:Or?bt.disabled:""},"\u4E0A\u4E00\u9875"),he.createElement("div",{onClick:()=>{Hi||On(vr+1,"next")},className:Hi?bt.disabled:""},"\u4E0B\u4E00\u9875"))},it={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"},Ue=de(71418),at=de(6848),Xt=de(13570),Vt=de(6521),xt=de(25544),Qt=de(96908),An=de(57177),Tn=de(81378),dn=de(18540),Cn=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca})=>{const uo=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:ca},he.createElement("div",{className:Ae()(it.list,vr)},!!On.length&&On.map((Wa,Ki)=>{const{name:Na,id:so,identifier:rr,power:Kn,cover_image_id:Ja,pic:pa}=Wa;return he.createElement("div",{className:it.wrap,key:so,style:{width:uo,marginRight:(1+Ki)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/shixuns/${rr}/challenges`,className:it.li,onClick:ka=>{ka.preventDefault(),Hi&&(0,xt.L9)([Hi]),Kn&&(0,xt.xg)(`/shixuns/${rr}/challenges`)}},he.createElement("div",{className:it.img},he.createElement("img",{className:it.cover,src:`${pa}`}),Wa.is_jupyter&&he.createElement("img",{className:it.sign,src:Qt}),Wa.is_jupyter_lab&&he.createElement("img",{className:it.sign,src:An}),Wa.is_unity_3d&&he.createElement("img",{className:it.sign,src:Tn})),he.createElement("div",{className:it.name},he.createElement(at.Z,{title:Na||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:it.e},Na||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:it.tags},he.createElement(at.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,Wa.challenges_count))),!!Wa.myshixuns_count&&he.createElement(at.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,Wa.myshixuns_count))),he.createElement(at.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,Wa.level))),he.createElement("div",{className:it.rate},he.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:Wa.score_info}),he.createElement("span",null,"\xA0",Wa.score_info?`${Wa.score_info}\u5206`:"5\u5206")))),!Kn&&he.createElement("div",{className:it.lockWrap},he.createElement("img",{src:`${Vt.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")))}),!On.length&&he.createElement(dn.Z,null)))},mn={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"},Se=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,wrapClassName:Hi,trackEventItems:ca,loading:uo})=>{const Wa=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:uo},he.createElement("div",{className:Ae()(mn.list,vr)},!!On.length&&On.map((Ki,Na)=>{const{name:so,id:rr,identifier:Kn,power:Ja,cover_image_id:pa,pic:ka}=Ki;return he.createElement("div",{className:Ae()(mn.wrap,Hi),key:rr,style:{width:Wa,marginRight:(1+Na)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/shixuns/${Kn}/challenges`,className:mn.li,onClick:ss=>{ss.preventDefault(),ca&&(0,xt.L9)([ca]),Ja&&(0,xt.xg)(`/shixuns/${Kn}/challenges`)}},he.createElement("img",{src:de(47621),className:mn.titleBg}),he.createElement("div",{className:mn.name},he.createElement(at.Z,{title:so||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:mn.e},so||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:mn.img},he.createElement("img",{className:mn.cover,src:pa?`${Vt.Z.API_SERVER}/api/attachments/${pa}`:`${Vt.Z.IMG_SERVER+ka}`}),Ki.is_jupyter&&he.createElement("div",{className:mn.bq},"Jupyter"),Ki.is_jupyter_lab&&he.createElement("div",{className:mn.bq},"JupyterLab"),Ki.is_unity_3d&&he.createElement("div",{className:mn.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:mn.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:mn.value},Ki.myshixuns_count)),he.createElement("div",null,he.createElement("span",{className:mn.text},"\u56F0\u96BE\u7B49\u7EA7"),he.createElement("span",{className:mn.value},Ki.level))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:mn.text},"\u5173\u5361\u6570"),he.createElement("span",{className:mn.value},Ki.challenges_count)),he.createElement("div",{className:mn.rate},he.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:Ki.score_info}),he.createElement("span",{className:mn.value,style:{color:"#FF9C00"}},"\xA0",Ki.score_info?`${Ki.score_info}\u5206`:"5\u5206"))))),!Ja&&he.createElement("div",{className:mn.lockWrap},he.createElement("img",{src:`${Vt.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")))}),!On.length&&he.createElement(dn.Z,null)))},Fe={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"},ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2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xbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Je=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca,wrapClassName:uo,imgClassName:Wa})=>{const Ki=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:ca},he.createElement("div",{className:Ae()(Fe.list,vr)},!!On.length&&On.map((Na,so)=>{const{name:rr,id:Kn,identifier:Ja,power:pa,cover_image_id:ka,pic:ss}=Na;return he.createElement("div",{className:Ae()(Fe.wrap,uo),key:Kn,style:{width:Ki,marginRight:(1+so)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/shixuns/${Ja}/challenges`,className:Fe.li,onClick:qs=>{qs.preventDefault(),Hi&&(0,xt.L9)([Hi]),pa&&(0,xt.xg)(`/shixuns/${Ja}/challenges`)}},he.createElement("div",{className:Ae()(Fe.img,Wa)},he.createElement("img",{className:Fe.cover,src:ka?`${Vt.Z.API_SERVER}/api/attachments/${ka}`:`${Vt.Z.IMG_SERVER+ss}`}),Na.is_jupyter&&he.createElement("img",{className:Fe.sign,src:ie}),Na.is_jupyter_lab&&he.createElement("img",{className:Fe.sign,src:ae}),Na.is_unity_3d&&he.createElement("img",{className:Fe.sign,src:se})),he.createElement("div",{className:Fe.name},he.createElement(at.Z,{title:rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Fe.e},rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:Fe.tags},he.createElement(at.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,Na.challenges_count))),!!Na.myshixuns_count&&he.createElement(at.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,Na.myshixuns_count))),he.createElement(at.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,Na.level))),he.createElement("div",{className:Fe.rate},he.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:Na.score_info}),he.createElement("span",null,"\xA0",Na.score_info?`${Na.score_info}\u5206`:"5\u5206")))),!pa&&he.createElement("div",{className:Fe.lockWrap},he.createElement("img",{src:`${Vt.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")))}),!On.length&&he.createElement(dn.Z,null)))},vt=de(26073),$e={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"},lt=de(79005),Pt=de(20345),_t=de(77882),kt=de(31081),$t=de(75309),Sn=de(71979),St=de(47558),nn=de(42922),tn=de(66832),jt=de(96593),pt=de(19664),Zt=de(91833),gn=Object.defineProperty,wn=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,Dr=(vr,On,Dn)=>On in vr?gn(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Tr=(vr,On)=>{for(var Dn in On||(On={}))Xn.call(On,Dn)&&Dr(vr,Dn,On[Dn]);if(wn)for(var Dn of wn(On))yr.call(On,Dn)&&Dr(vr,Dn,On[Dn]);return vr};const Rr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:lt,swimg:Pt},{name:"101\u8BA1\u5212",ptimg:_t,swimg:kt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:St,swimg:nn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:tn,swimg:jt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:Zt}];var fr=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca,wrapClassName:uo,imgClassName:Wa,isArrow:Ki=!1,imgStyle:Na={}})=>{const so=Math.floor((Or-(Dn-1)*wr)/Dn),[rr,Kn]=(0,he.useState)(),[Ja,pa]=(0,he.useState)(),ka=qs=>Kn(qs),ss=()=>Kn(-1);return he.createElement(Ue.Z,{spinning:ca},he.createElement("div",{className:Ae()($e.list,vr)},!!(On!=null&&On.length)&&(On==null?void 0:On.map((qs,tl)=>{var eu;const{name:nu,id:Fu,identifier:wl,featured:Vl,school_name:Io,image_url:Xo,excellent:Pl,is_plan:Tl}=qs;return he.createElement("div",{key:Fu,className:Ae()($e.wrap,uo),style:{width:so,marginRight:(1+tl)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/paths/${wl}`,className:$e.li,onClick:ml=>{ml.preventDefault(),Hi&&(0,xt.L9)([Hi]),(0,xt.xg)(`/paths/${wl}`)}},he.createElement("img",{src:de(39057),className:$e.titleBg}),he.createElement("div",{className:$e.name},he.createElement(at.Z,{title:nu},he.createElement("span",{className:$e.e,style:{color:Ki&&rr===tl?"#145DFF":"#000000"},onMouseEnter:()=>{ka(tl)},onMouseLeave:ss},nu))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Ae()($e.img,Wa)},he.createElement("img",{className:$e.cover,style:Tr({},Na),src:`${Vt.Z.IMG_SERVER+Xo}`}),(eu=qs==null?void 0:qs.subject_tags)==null?void 0:eu.map((ml,Wo)=>{var js,zu;if(Wo===0){const cl=(js=Rr.find(ys=>ys.name==ml))==null?void 0:js.swimg;return he.createElement("img",{className:$e.sign,src:cl,style:{left:"-4px"}})}const mc=(zu=Rr.find(cl=>cl.name==ml))==null?void 0:zu.ptimg;return he.createElement("img",{className:$e.sign,src:mc,style:{left:`${48+52*(Wo-1)+2*Wo}px`}})}),he.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(qs==null?void 0:qs.excellent)&&he.createElement("div",{className:$e.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:$e.text},"\u7AE0\u8282\u6570"),he.createElement("span",{className:$e.value},qs.stages_count)),he.createElement("div",null,he.createElement("span",{className:$e.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:$e.value},qs.members_count))))))})),!On.length&&he.createElement(dn.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"},Bi=de(7544),yi=de(59301);const mi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:lt,swimg:Pt},{name:"101\u8BA1\u5212",ptimg:_t,swimg:kt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:St,swimg:nn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:tn,swimg:jt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:Zt}];var ua=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca,onRemove:uo=()=>{},isCurrent:Wa=!0,showAlias:Ki=!1,wrapClassName:Na,imgClassName:so})=>{const rr=Math.floor((Or-(Dn-1)*wr)/Dn),Kn=[{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(Ja=>(window.ENV==="build"&&(Ja.ptimg=`/react/build${Ja.ptimg}`,Ja.swimg=`/react/build${Ja.swimg}`),Ja));return yi.createElement(Ue.Z,{spinning:ca},yi.createElement("div",{className:Ae()(Vr.list,vr)},!!(On!=null&&On.length)&&(On==null?void 0:On.map((Ja,pa)=>{var ka;const{name:ss,id:qs,identifier:tl,featured:eu,school_name:nu,image_url:Fu,excellent:wl,is_plan:Vl}=Ja;return yi.createElement("div",{key:qs,className:Ae()(Vr.wrap,Na),style:{width:rr,marginRight:(1+pa)%Dn===0?0:wr+li,marginBottom:ni}},yi.createElement("a",{className:Vr.li,onClick:Io=>{Io.preventDefault(),Io.stopPropagation(),Hi&&(0,xt.L9)([Hi]),(0,xt.xg)(`/paths/${tl}`)}},yi.createElement("div",{className:Ae()(Vr.img,so)},yi.createElement("img",{className:Vr.cover,src:`${Vt.Z.IMG_SERVER+Fu}`}),Wa&&(0,Bi.bg)()&&(Ja==null?void 0:Ja.studying)&&yi.createElement("div",{className:`${Vr.movebq} user-path-items`,onClick:Io=>{Io.stopPropagation(),uo(Ja)}},yi.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),yi.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ka=Ja==null?void 0:Ja.subject_tags)==null?void 0:ka.map((Io,Xo)=>{var Pl,Tl;if(Xo===0){const Wo=(Pl=Kn.find(js=>js.name==Io))==null?void 0:Pl.swimg;return yi.createElement("img",{className:Vr.sign,src:Wo,style:{left:"-4px"}})}const ml=(Tl=Kn.find(Wo=>Wo.name==Io))==null?void 0:Tl.ptimg;return yi.createElement("img",{className:Vr.sign,src:ml,style:{left:`${48+52*(Xo-1)+2*Xo}px`}})}),yi.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Ja==null?void 0:Ja.excellent)&&yi.createElement("div",{className:Vr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),yi.createElement("div",{className:Vr.name},yi.createElement(at.Z,{title:Ki&&(Ja!=null&&Ja.excellent_alias_name)?yi.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ss}`,yi.createElement("br",null),yi.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ja==null?void 0:Ja.excellent_alias_name}`)):ss},yi.createElement("span",{className:Vr.e},Ki&&(Ja==null?void 0:Ja.excellent_alias_name)||ss))),yi.createElement("div",{className:Vr.tags},yi.createElement("div",null,yi.createElement(at.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},yi.createElement("span",null,yi.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),yi.createElement("span",null,Ja.stages_count))),yi.createElement(at.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},yi.createElement("span",null,yi.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),yi.createElement("span",null,Ja.members_count)))))))})),!On.length&&yi.createElement(dn.Z,null)))},Wr={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"},Mn="data:image/png;base64,iVBORw0K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PrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ea=de(59301),wo=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca})=>{const uo=Math.floor((Or-(Dn-1)*wr)/Dn);return ea.createElement(Ue.Z,{spinning:ca},ea.createElement("div",{className:Ae()(Wr.list,vr)},!!On.length&&On.map((Wa,Ki)=>{const{subject_identifier:Na,id:so,identifier:rr,power:Kn}=Wa,Ja=Wa.is_public!=0&&Wa.is_public;return ea.createElement("div",{className:Wr.wrap,key:so,style:{width:uo,marginRight:(1+Ki)%Dn===0?0:wr+li,marginBottom:ni}},ea.createElement("a",{className:Wr.li,onClick:pa=>{pa.preventDefault(),Hi&&(0,xt.L9)([Hi]),(0,xt.xg)(Wa.first_category_url)}},ea.createElement("div",{className:Wr.top},ea.createElement(at.Z,{title:Wa.name},ea.createElement("div",{className:Wr.name},Wa.name)),ea.createElement("img",{className:Wr.img,src:Vt.Z.IMG_SERVER+"/images/"+Wa.avatar_url}),ea.createElement("div",{className:Wr.text,title:Wa.creator},Wa.creator),Na&&ea.createElement("div",{className:Wr.btns},ea.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ea.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ja&&ea.createElement("div",{className:Wr.sign},"\u516C\u5F00")),ea.createElement("div",{className:Wr.bottom},Wa.visits>0&&ea.createElement(at.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ea.createElement("span",null,ea.createElement("i",{className:"iconfont icon-liulanyan"}),ea.createElement("span",null,Wa.visits))),Wa.course_members_count>0&&ea.createElement(at.Z,{title:"\u6210\u5458",placement:"bottom"},ea.createElement("span",null,ea.createElement("i",{className:"iconfont icon-chengyuan"}),Wa.course_members_count)),Wa.tasks_count>0&&ea.createElement(at.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ea.createElement("span",null,ea.createElement("i",{className:"iconfont icon-zuoye"}),Wa.tasks_count)),Wa.is_end?ea.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ea.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Wa.is_accessible&&ea.createElement("div",{className:Wr.lockWrap},ea.createElement("img",{src:`${Vt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ea.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!On.length&&ea.createElement(dn.Z,null)))},sa={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"},Pi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GL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C",Si=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,wrapClassName:Hi,trackEventItems:ca,loading:uo})=>{const Wa=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:uo},he.createElement("div",{className:Ae()(sa.list,vr)},!!On.length&&On.map((Ki,Na)=>{const{subject_identifier:so,id:rr,identifier:Kn,power:Ja}=Ki,pa=Ki.is_public!=0&&Ki.is_public;return he.createElement("div",{className:Ae()(`${sa.wrap} ${Ki.is_accessible?"":sa.warpStyle}`,Hi),key:rr,style:{width:Wa,marginRight:(1+Na)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{className:sa.li,onClick:ka=>{ka.preventDefault(),ca&&(0,xt.L9)([ca]),(0,xt.xg)(Ki.first_category_url)}},he.createElement("div",{className:sa.creator},he.createElement("img",{className:sa.img,src:Vt.Z.IMG_SERVER+"/images/"+Ki.avatar_url}),he.createElement("div",{className:sa.text,title:Ki.creator},Ki.creator)),he.createElement("div",{className:sa.top},he.createElement(at.Z,{title:Ki.name},he.createElement("div",{className:sa.name},Ki.name)),pa&&he.createElement("div",{className:sa.sign},"\u516C\u5F00")),he.createElement("div",{className:sa.middle},he.createElement("div",{className:sa.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:sa.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:sa.value},(Ki==null?void 0:Ki.visits)||0)),he.createElement("div",null,he.createElement("span",{className:sa.text},"\u6210\u5458"),he.createElement("span",{className:sa.value},(Ki==null?void 0:Ki.course_members_count)||0))),he.createElement("div",{className:sa.row},he.createElement("div",null,he.createElement("span",{className:sa.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:sa.value},(Ki==null?void 0:Ki.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:sa.text},"\u72B6\u6001"),Ki.is_end?he.createElement("span",{className:sa.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:sa.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),so&&he.createElement("div",{className:sa.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ki.is_accessible&&he.createElement("div",{className:sa.lockWrap},he.createElement("img",{src:`${Vt.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")))}),!On.length&&he.createElement(dn.Z,null)))},qr={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"},Ma="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy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4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Dt=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,wrapClassName:Hi,trackEventItems:ca,loading:uo})=>{const Wa=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:uo},he.createElement("div",{className:Ae()(qr.list,vr)},!!On.length&&On.map((Ki,Na)=>{const{subject_identifier:so,id:rr,identifier:Kn,power:Ja}=Ki,pa=Ki.is_public!=0&&Ki.is_public;return he.createElement("div",{className:Ae()(`${qr.wrap} ${Ki.is_accessible?"":qr.warpStyle}`,Hi),key:rr,style:{width:Wa,marginRight:(1+Na)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{className:qr.li,onClick:ka=>{ka.preventDefault(),ca&&(0,xt.L9)([ca]),(0,xt.xg)(Ki.first_category_url)}},he.createElement("div",{className:qr.creator},he.createElement("img",{className:qr.img,src:Vt.Z.IMG_SERVER+"/images/"+Ki.avatar_url}),he.createElement("div",{className:qr.text,title:Ki.creator},Ki.creator)),he.createElement("div",{className:qr.top},he.createElement(at.Z,{title:Ki.name},he.createElement("div",{className:qr.name},Ki.name)),pa&&he.createElement("div",{className:qr.sign})),he.createElement("div",{className:qr.middle},he.createElement("div",{className:qr.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:qr.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:qr.value},(Ki==null?void 0:Ki.visits)||0)),he.createElement("div",null,he.createElement("span",{className:qr.text},"\u6210\u5458"),he.createElement("span",{className:qr.value},(Ki==null?void 0:Ki.course_members_count)||0))),he.createElement("div",{className:qr.row},he.createElement("div",null,he.createElement("span",{className:qr.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:qr.value},(Ki==null?void 0:Ki.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:qr.text},"\u72B6\u6001"),Ki.is_end?he.createElement("span",{className:qr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:qr.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),so&&he.createElement("div",{className:qr.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ki.is_accessible&&he.createElement("div",{className:qr.lockWrap},he.createElement("img",{src:`${Vt.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")))}),!On.length&&he.createElement(dn.Z,null)))},Gt={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"},Wt=de(91482),on=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={},tabBarExtraContent:li})=>he.createElement("div",{className:Ae()(Gt.tabs,wr),style:ni},he.createElement("div",{className:Gt.tabsWrap},vr.map((Or,Hi)=>he.createElement("aside",{className:Gt.tab,onClick:()=>{Dn(Or.id),Or.link&&Wt.history.push(Or.link)},key:Hi},he.createElement("div",{className:On===Or.id?Gt.active:""},Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&he.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&he.createElement(at.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",he.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),he.createElement("div",{className:Gt.tabBar},li)),_n={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"},nr=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={},tabBarExtraContent:li})=>he.createElement("div",{className:Ae()(_n.tabs,wr),style:ni},he.createElement("div",{className:_n.tabsWrap},vr.map((Or,Hi)=>he.createElement("aside",{className:_n.tab,onClick:()=>{Dn(Or.id),Or.link&&Wt.history.push(Or.link)},key:Hi},he.createElement("div",{className:On===Or.id?_n.active:""},Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&he.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&he.createElement(at.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",he.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),he.createElement("div",{className:_n.tabBar},li)),dr={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"},Ur=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={},tabBarExtraContent:li})=>he.createElement("div",{className:Ae()(dr.tabs,wr),style:ni},he.createElement("div",{className:dr.tabsWrap},vr.map((Or,Hi)=>he.createElement("aside",{className:`${dr.tab} ${On===Or.id?dr.active:""}`,onClick:()=>{Dn(Or.id),Or.link&&Wt.history.push(Or.link)},key:Hi},he.createElement("div",null,Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&he.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&he.createElement(at.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",he.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),he.createElement("div",{className:dr.tabBar},li)),er=({className:vr,style:On={},children:Dn})=>he.createElement("div",{className:Ae()(vr),style:On},Dn),kr={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"},_i=de(38854),gi=de(20834);const ji=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ca=({sortValue:vr,dropValue:On,className:Dn,onSort:wr,onDrop:ni,dataSource:li=ji})=>{var Or;return he.createElement("div",{className:Ae()(kr.orderWrap,Dn)},he.createElement(_i.Z,{dropdownRender:()=>he.createElement(gi.default,null,li.map((Hi,ca)=>he.createElement(gi.default.Item,{key:ca,onClick:()=>ni(Hi.id)},Hi.name)))},he.createElement("span",{className:kr.orderTextWrap},(Or=li.find(Hi=>On===Hi.id))==null?void 0:Or.name)),he.createElement("span",{className:kr.orderIconWrap},he.createElement("span",{className:kr.orderAsc},he.createElement("i",{className:vr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${kr.cursorPointer} ${kr.active}`:`iconfont icon-sanjiaoxing-up font12 ${kr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")})),he.createElement("span",{className:kr.orderDesc},he.createElement("i",{className:vr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${kr.cursorPointer} ${kr.active}`:`iconfont icon-sanjiaoxing-down font12 ${kr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")}))))},Jr={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 ra=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var gr=({sortValue:vr,dropValue:On,className:Dn,onSort:wr,onDrop:ni,dataSource:li=ra})=>{var Or;return he.createElement("div",{className:Ae()(Jr.orderWrap,Dn)},he.createElement(_i.Z,{dropdownRender:()=>he.createElement(gi.default,null,li.map((Hi,ca)=>he.createElement(gi.default.Item,{key:ca,onClick:()=>ni(Hi.id)},Hi.name)))},he.createElement("span",{className:Jr.orderTextWrap},(Or=li.find(Hi=>On===Hi.id))==null?void 0:Or.name)),he.createElement("span",{className:Jr.orderIconWrap},he.createElement("span",{className:Jr.orderAsc},he.createElement("i",{className:vr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Jr.cursorPointer} ${Jr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Jr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")})),he.createElement("span",{className:Jr.orderDesc},he.createElement("i",{className:vr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Jr.cursorPointer} ${Jr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Jr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")}))))},Ar={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"},jr=de(3113),br=de(29715),Ir=Object.defineProperty,Fr=Object.getOwnPropertySymbols,si=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,Ti=(vr,On,Dn)=>On in vr?Ir(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Pa=(vr,On)=>{for(var Dn in On||(On={}))si.call(On,Dn)&&Ti(vr,Dn,On[Dn]);if(Fr)for(var Dn of Fr(On))bi.call(On,Dn)&&Ti(vr,Dn,On[Dn]);return vr},Ka=(vr,On)=>{var Dn={};for(var wr in vr)si.call(vr,wr)&&On.indexOf(wr)<0&&(Dn[wr]=vr[wr]);if(vr!=null&&Fr)for(var wr of Fr(vr))On.indexOf(wr)<0&&bi.call(vr,wr)&&(Dn[wr]=vr[wr]);return Dn},$a=(vr,On,Dn)=>new Promise((wr,ni)=>{var li=ca=>{try{Hi(Dn.next(ca))}catch(uo){ni(uo)}},Or=ca=>{try{Hi(Dn.throw(ca))}catch(uo){ni(uo)}},Hi=ca=>ca.done?wr(ca.value):Promise.resolve(ca.value).then(li,Or);Hi((Dn=Dn.apply(vr,On)).next())}),Fa=vr=>{var On=vr,{className:Dn,style:wr,children:ni,loading:li=!1,openLoading:Or,onClick:Hi=()=>{},size:ca="middle",shape:uo="round",theme:Wa}=On,Ki=Ka(On,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Na,so]=(0,he.useState)(!1),rr=(0,he.useMemo)(()=>{switch(Wa){case br.Fy.THEMEONE:return Ar.ThemeOne;case br.Fy.DEFAULT:default:return Ar.btn}},[Wa]);return he.createElement(jr.ZP,Pa({onClick:(0,xe.throttle)(Kn=>$a(void 0,null,function*(){Or&&so(!0);try{yield Hi(Kn)}catch(Ja){console.log("error",Ja)}Or&&so(!1)}),2e3,{leading:!0,trailing:!1}),className:Ae()(rr,Ar[`${ca}-${uo}`],Dn),style:wr,size:ca,shape:uo,loading:Na||li},Ki),ni)},ho={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"},ta=({className:vr,style:On,children:Dn=null,onClick:wr,title:ni})=>he.createElement("div",{className:Ae()(ho.head,vr),style:On},he.createElement("span",{className:"primary-hover",onClick:wr},he.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),he.createElement("b",{title:ni},ni),he.createElement("div",{className:ho.node},Dn)),ui={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"},no=({confirmShow:vr=!0,confirmTitle:On,confirmClick:Dn,cancelShow:wr=!0,cancelTitle:ni,cancelClick:li,className:Or,style:Hi,confirmLoading:ca=!1})=>he.createElement("div",{className:Ae()(ui.btns,Or),style:Hi},vr&&he.createElement(jr.ZP,{loading:ca,onClick:Dn,type:"primary",className:ui.confirm},On),wr&&he.createElement(jr.ZP,{onClick:li,className:ui.cancel},ni)),La={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"},os=({className:vr,style:On={},LeftContent:Dn,children:wr,RightContent:ni})=>he.createElement("div",{className:Ae()(La.fixedBottom,vr),style:On},he.createElement("div",{className:La.wrap},he.createElement("div",{className:La.left},Dn),he.createElement("div",{className:La.center},wr),he.createElement("div",{className:La.right},ni))),Va={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"},Ci=({className:vr,style:On={},dataSource:Dn=[]})=>he.createElement("div",{className:Ae()(Va.crumbs,vr),style:On},Dn.map((wr,ni)=>ni<Dn.length-1?he.createElement(he.Fragment,{key:ni},wr.path||wr.onClick?he.createElement("span",{className:Va.hover,onClick:wr!=null&&wr.onClick?wr.onClick:()=>Wt.history.push(wr.path)},wr.name):he.createElement("span",null,wr.name),he.createElement("span",null,"\xA0",">","\xA0")):he.createElement("span",{key:ni,style:{color:"#5F6368"}},wr.name))),Ha=de(31797),Oa=Object.defineProperty,eo=Object.defineProperties,Lo=Object.getOwnPropertyDescriptors,vo=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,Ks=(vr,On,Dn)=>On in vr?Oa(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Sa=(vr,On)=>{for(var Dn in On||(On={}))jn.call(On,Dn)&&Ks(vr,Dn,On[Dn]);if(vo)for(var Dn of vo(On))Oo.call(On,Dn)&&Ks(vr,Dn,On[Dn]);return vr},ga=(vr,On)=>eo(vr,Lo(On)),Co=(vr,On)=>{var Dn={};for(var wr in vr)jn.call(vr,wr)&&On.indexOf(wr)<0&&(Dn[wr]=vr[wr]);if(vr!=null&&vo)for(var wr of vo(vr))On.indexOf(wr)<0&&Oo.call(vr,wr)&&(Dn[wr]=vr[wr]);return Dn};const{Countdown:Fo}=Ha.default;var Js=vr=>{var On=vr,{onChange:Dn}=On,wr=Co(On,["onChange"]);const[ni,li]=(0,he.useState)(null);(0,he.useEffect)(()=>{typeof ni=="number"&&ni>=0&&Dn(ni)},[ni]);const Or=Hi=>{const ca=Math.floor(Hi/1e3);li(ca)};return he.createElement(Fo,ga(Sa({},wr),{onChange:Or}))},Os={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},as=({DataProps:vr,className:On,style:Dn={}})=>{var wr;return he.createElement("div",{className:Ae()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Os.ClassRoomItem,On),style:Dn,onClick:()=>{(0,xt.xg)(vr==null?void 0:vr.first_category_url)}},he.createElement("div",{className:"flex flex-col item-center"},he.createElement("img",{src:`${(wr=Vt.Z)==null?void 0:wr.IMG_SERVER}/images/${vr==null?void 0:vr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(vr==null?void 0:vr.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}},!!(vr!=null&&vr.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",Os.TitleDom)},vr==null?void 0:vr.name)),he.createElement("div",{className:"c-grey-333 font-medium"},vr==null?void 0:vr.creator),he.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",vr==null?void 0:vr.course_members_count),he.createElement("div",{className:"c-grey-333 flex item-center justify-between"},he.createElement("div",null,"\u4F5C\u4E1A\uFF1A",vr==null?void 0:vr.tasks_count),vr!=null&&vr.is_end?he.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):he.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ol=Object.defineProperty,fa=Object.getOwnPropertySymbols,la=Object.prototype.hasOwnProperty,ia=Object.prototype.propertyIsEnumerable,Ln=(vr,On,Dn)=>On in vr?ol(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,In=(vr,On)=>{for(var Dn in On||(On={}))la.call(On,Dn)&&Ln(vr,Dn,On[Dn]);if(fa)for(var Dn of fa(On))ia.call(On,Dn)&&Ln(vr,Dn,On[Dn]);return vr},vi=({DataProps:vr=[],selectValue:On,onChange:Dn,className:wr,style:ni={},extra:li,classNameItem:Or,styleItem:Hi={},barHidden:ca})=>{const[uo,Wa]=(0,he.useState)();return(0,he.useEffect)(()=>{Wa(Array.isArray(On)?On:[On])},[On]),he.createElement("div",{className:Ae()("flex px-20px py-10px gap-40px",wr),style:In({borderBottom:"1px solid #D3F0FF"},ni)},vr==null?void 0:vr.map(Ki=>he.createElement("div",{key:Ki==null?void 0:Ki.id,className:Ae()("flex item-center justify-center current c-grey-333 text-16 relative",Or,Ki==null?void 0:Ki.className),style:In(In({color:uo!=null&&uo.includes(Ki==null?void 0:Ki.id)?"#1890FF":"",minWidth:88},Hi),(Ki==null?void 0:Ki.style)||{}),onClick:Na=>{Dn==null||Dn({domEvent:Na,item:Ki}),Ki!=null&&Ki.link&&Wt.history.push(Ki==null?void 0:Ki.link)}},Ki==null?void 0:Ki.name,!ca&&(uo==null?void 0:uo.includes(Ki==null?void 0:Ki.id))&&he.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),he.createElement("div",{className:"ml-auto"},li))},ha=Object.defineProperty,Ia=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Ji=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,Vo=(vr,On,Dn)=>On in vr?ha(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,cs=(vr,On)=>{for(var Dn in On||(On={}))ya.call(On,Dn)&&Vo(vr,Dn,On[Dn]);if(Ji)for(var Dn of Ji(On))No.call(On,Dn)&&Vo(vr,Dn,On[Dn]);return vr},Mo=(vr,On)=>Ia(vr,va(On)),Ss=({value:vr,onChange:On,onInputChange:Dn,className:wr,style:ni={},InputProps:li})=>{const[Or,Hi]=(0,he.useState)(vr);return he.createElement("div",{className:Ae()("flex item-center rounded-full px-10px py-2px",wr),style:cs({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ni)},he.createElement(Ct.default,Mo(cs({bordered:!1},li),{onChange:ca=>{Hi(ca.target.value),Dn==null||Dn(encodeURIComponent(ca.target.value))},onPressEnter:ca=>{On==null||On({domEvent:ca,item:{value:Or}})}})),he.createElement("img",{className:"h-22px current",src:de(25365),height:22,onClick:ca=>{On==null||On({domEvent:ca,item:{value:Or}})}}))}},57649:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});var he=de(59301);function Me(He,ft){const Oe=(0,he.useRef)();(0,he.useEffect)(()=>{Oe.current=He}),(0,he.useEffect)(()=>{function Le(){Oe.current()}if(ft!==null){let ve=setInterval(Le,ft);return()=>clearInterval(ve)}},[ft])}},50436:function(Qn,Yt,de){"use strict";var he=de(43418),Me=de(8591),He=de(79769),ft=de(91482),Oe=de(7544),Le=de(59301),ve=(xe,fe,Ke)=>new Promise((Be,_e)=>{var Ne=Pe=>{try{ke(Ke.next(Pe))}catch(Te){_e(Te)}},Qe=Pe=>{try{ke(Ke.throw(Pe))}catch(Te){_e(Te)}},ke=Pe=>Pe.done?Be(Pe.value):Promise.resolve(Pe.value).then(Ne,Qe);ke((Ke=Ke.apply(xe,fe)).next())});const Ae=({shixunHomeworks:xe,classroomList:fe,dispatch:Ke})=>{const Be=(0,ft.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Ne,Qe,ke;if((0,Oe.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 Pe=yield(0,He.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(Pe.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ke({type:"shixunHomeworks/setActionTabs",payload:{}});const Te=(Qe=(Ne=Pe==null?void 0:Pe.new_works)==null?void 0:Ne.find(Ye=>`${Ye.homework_common_id}`===Be.categoryId))==null?void 0:Qe.id;if((0,Oe.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;ft.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Te}/comment`)}}),onCancel:()=>{Ke({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?"))};Yt.Z=(0,ft.connect)(({shixunHomeworks:xe,classroomList:fe})=>({shixunHomeworks:xe,classroomList:fe}))(Ae)},87971:function(Qn,Yt,de){"use strict";de.r(Yt),de.d(Yt,{default:function(){return ia}});var he=de(29715),Me=de(59301),He=de(91482),ft=de(66649),Oe=de.n(ft),Le=de(86129),ve=de.n(Le),Ae=de(79769),xe=de(43418),fe=de(8591),Ke=de(61621),Be=de(66104),_e=de(3113),Ne=de(6848),Qe=de(92832),ke=de(28103),Pe=de(95237),Te=de(43604),Ye=de(1710),ze=de(57809),qe=de(58421),We=de(95869),Ze=de(87169),et=de(26227),rt=de(6521),ht=de(7544),dt=de(25544),Ct=de(42441),Xe={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:Ln,data:In,globalSetting:Er,loading:vi,dispatch:ha})=>{var Ia;const{shixunWorkReport:va}=Ln;let Ji=((Ia=In==null?void 0:In.efficiency_list)==null?void 0:Ia.length)-parseInt(In==null?void 0:In.myself_eff[0]);const ya=()=>({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(Vo){return Vo.name===va.username?"\u59D3\u540D\uFF1A"+va.username+"<br/>\u5B66\u53F7\uFF1A "+va.user_id+"<br/>\u6548\u7387\uFF1A"+(In==null?void 0:In.myself_eff[1]):Vo.name+":"+Vo.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:In==null?void 0:In.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:va.username,xAxis:Ji,yAxis:In==null?void 0:In.myself_eff[1],value:In==null?void 0:In.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),No=()=>({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(Vo){var cs=Vo.value;if(Vo.name===va.username)return"\u59D3\u540D\uFF1A"+va.username+"<br/>\u5B66\u53F7\uFF1A "+va.user_id+"<br/>\u5F97\u5206\uFF1A"+(In==null?void 0:In.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:In==null?void 0:In.consume_list,symbolSize:function(Vo){return Math.round(Vo[2])},markPoint:{data:[{name:va.username,xAxis:In==null?void 0:In.myself_object[0],yAxis:In==null?void 0:In.myself_object[1],value:In==null?void 0:In.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:ya()})),Me.createElement(Te.Z,{flex:"1"},Me.createElement("aside",{className:Xe.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.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(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:No()})),Me.createElement(Te.Z,{flex:"1"},Me.createElement("aside",{className:Xe.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.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 Ht=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects}))(Re),Et=de(11488),bt=de(5871),Tt=({defaultValue:Ln,onBlur:In,max:Er,className:vi="game-score"})=>{const[ha,Ia]=(0,Me.useState)(Ln);(0,Me.useEffect)(()=>{Ia(Ln)},[Ln]);function va(ya){Ia(ya)}function Ji(){ha!==Ln&&In(ha>Er?Er:ha)}return Me.createElement(bt.Z,{max:Er,min:0,className:vi,value:ha,onChange:va,onBlur:Ji})},wt=de(40973),it={md:"md___GIQyK"},Ue=de(59301),at=Object.defineProperty,Xt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,Tn=(Ln,In,Er)=>In in Ln?at(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,dn=(Ln,In)=>{for(var Er in In||(In={}))Qt.call(In,Er)&&Tn(Ln,Er,In[Er]);if(xt)for(var Er of xt(In))An.call(In,Er)&&Tn(Ln,Er,In[Er]);return Ln},Gn=(Ln,In)=>Xt(Ln,Vt(In));const Cn=ze.default.Option,mn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Bn=(Ln=>(Ln[Ln.SET_PATH=0]="SET_PATH",Ln[Ln.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ln))(Bn||{});function Se(Ln,In){switch(In.type){case 0:return Gn(dn({},Ln),{selectedPath:In.payload});case 1:return Gn(dn({},Ln),{passedContent:In.payload});default:throw new Error}}var Fe=({path:Ln,game_id:In,onPathChange:Er,autoHeight:vi,diff_code_count:ha,data:Ia,game_codes_cn:va})=>{var Ji,ya,No,Vo;const cs=Ln.split("\uFF1B").filter(wr=>!!wr),[Mo,ul]=(0,Me.useReducer)(Se,{selectedPath:cs[0],passedContent:{language:"python",content:""}}),{selectedPath:Ss,passedContent:vr}=Mo;function On(wr){ul({type:0,payload:wr})}const Dn={\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 Ue.createElement(Ue.Fragment,null,Ue.createElement("h2",null," ",Ue.createElement("span",null,va,Ue.createElement(Ne.Z,{title:Ue.createElement("div",null,Ue.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ue.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ue.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"),Ue.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ue.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ha&&Ue.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ha),Ue.createElement("span",null,Ue.createElement(ze.default,{style:{width:200},value:Ss,onChange:On}," ",cs.map(wr=>Ue.createElement(Cn,{key:wr,value:wr},wr))," "))," "),(Ss==null?void 0:Ss.split(".")[1])==="md"&&Ue.createElement(wt.Z,{height:300,autoHeight:vi,defaultValue:((ya=(Ji=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:Ji[0])==null?void 0:ya.content)||"",className:it.md}),(Ss==null?void 0:Ss.split(".")[1])!=="md"&&Ue.createElement(Et.ZP,{height:300,language:vr.language,value:((Vo=(No=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:No[0])==null?void 0:Vo.content)||"",autoHeight:vi,theme:"default",isCopy:!0,options:mn}))},ie=de(20996),ae=de(96249),se=de.n(ae),oe=Object.defineProperty,Je=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,lt=(Ln,In,Er)=>In in Ln?oe(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Pt=(Ln,In)=>{for(var Er in In||(In={}))vt.call(In,Er)&&lt(Ln,Er,In[Er]);if(Je)for(var Er of Je(In))$e.call(In,Er)&&lt(Ln,Er,In[Er]);return Ln},_t=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const kt=({shixunHomeworks:Ln,autoHeight:In,classroomList:Er,dispatch:vi})=>{var ha,Ia,va,Ji,ya,No,Vo;const{shixunWorkReport:cs}=Ln,{stage_list:Mo,work_id:ul}=cs,[Ss,vr]=(0,Me.useState)(!1),[On,Dn]=(0,Me.useState)(!0),[wr,ni]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),li=(0,Me.useRef)(null),[Or,Hi]=(0,Me.useState)(!1),ca=(pa,ka)=>{var ss;const{clientWidth:qs,clientHeight:tl}=window.document.documentElement,eu=(ss=li.current)==null?void 0:ss.getBoundingClientRect();eu&&ni({left:-eu.left+ka.x,right:qs-(eu.right-ka.x),top:-eu.top+ka.y,bottom:tl-(eu.bottom-ka.y)})},uo=(0,He.useParams)(),Wa=(0,ht.GJ)(),Ki={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(uo)},[]);const Na=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(pa,ka,ss)=>Me.createElement("div",null,pa,ka.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:pa=>Oe()(pa).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(pa,ka)=>Me.createElement("span",{className:"c-blue current",onClick:()=>_t(void 0,null,function*(){var ss,qs;const tl=yield(0,ie.Lk)(ka.game_identifier,{path:(qs=(ss=ka.path)==null?void 0:ss.replace(/\/g,";"))==null?void 0:qs.split(";")[0],query_index:ka.query_index,homework_common_id:uo.categoryId});(tl==null?void 0:tl.status)===0&&(Hi(tl),vr(!0))})},ka.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],so=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(pa,ka)=>{var ss;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((ss=ka==null?void 0:ka.user)==null?void 0:ss.image_url)}),pa)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:pa=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",pa,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:pa=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",pa,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:pa=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",pa?Oe()(pa).format("YYYY-MM-DD HH:mm"):"--")}];function rr(pa,ka){return _t(this,null,function*(){const{challenge_id:ss}=Mo[pa],qs=yield vi({type:"shixunHomeworks/changeScore",payload:{categoryId:uo.homeworkId,type:"report",score:ka,challenge_id:ss}});yield vi({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},uo)}),qs.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Kn(pa,ka){return(0,Ae.U2)(`student_works/${ul}/rep_passed_content.json`,{path:ka,game_id:pa})}const Ja=cs.shixun_detail;return Me.createElement(Me.Fragment,null,Ja==null?void 0:Ja.map(function(pa,ka){var ss,qs;return Me.createElement("div",{key:ka},Me.createElement("aside",{className:"pl30 pr30",key:ka},Me.createElement("div",{className:`${Xe.shixunTitle} mt10`},Me.createElement("div",null,Me.createElement("span",{className:"fa fa-code "}),Me.createElement("strong",{className:"c-black"},"\u7B2C",ka+1,"\u5173 ",Me.createElement(He.Link,{className:"c-black",target:"_blank",to:`/tasks/${uo.coursesId}/${uo.categoryId}/${pa.game_identifier}`},pa.subject))),Wa?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(Tt,{className:"game-score",max:Mo[ka].game_score_full,defaultValue:Mo[ka].game_score,onBlur:tl=>{var eu;if((0,ht.Rm)()&&!((eu=Er.AssistantObject.practice)!=null&&eu.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}rr(ka,tl)}})):null),Me.createElement("div",{className:"font16 mt10"},pa.st===0&&(pa.path?typeof(pa==null?void 0:pa.game_codes_cn)=="string"?Me.createElement("aside",{className:Xe.shixunWrp},Me.createElement(Fe,{game_codes_cn:pa==null?void 0:pa.game_codes_cn,autoHeight:In,path:pa.path,game_id:pa.id,data:pa.game_codes,diff_code_count:pa.diff_code_count,onPathChange:Kn})):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"),pa.st===1&&(pa.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"},(ss=pa.outputs)!=null&&ss.length?Me.createElement(Ye.default,{columns:Na,pagination:{hideOnSinglePage:!0},dataSource:pa.outputs.map(tl=>Pt(Pt({},pa),tl))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10 font16"},((qs=pa==null?void 0:pa.adjust_review_score_list)==null?void 0:qs.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Ye.default,{columns:so,pagination:{hideOnSinglePage:!0},dataSource:pa.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(xe.default,{open:Ss,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Hi({}),vr(!1)},onCancel:()=>{Hi({}),vr(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{On&&Dn(!1)},onMouseOut:()=>{Dn(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:pa=>Me.createElement(se(),{disabled:On,bounds:wr,nodeRef:li,onStart:(ka,ss)=>ca(ka,ss)},Me.createElement("div",{ref:li},pa))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((ha=Or==null?void 0:Or.data)==null?void 0:ha.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:((Ia=Or==null?void 0:Or.data)==null?void 0:Ia.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(va=Or==null?void 0:Or.data)==null?void 0:va.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"}},Oe()((Ji=Or==null?void 0:Or.data)==null?void 0:Ji.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"}},(ya=Or==null?void 0:Or.data)==null?void 0:ya.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(No=Or==null?void 0:Or.data)==null?void 0:No.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"}},((Vo=Or==null?void 0:Or.data)==null?void 0:Vo.test_set_passed_rate)*100,"%")))),Me.createElement(Et.ZP,{height:500,autoHeight:In,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Or==null?void 0:Or.content)||""))),options:Ki})))};var $t=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er,classroomList:vi})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects,classroomList:vi}))(kt),Sn=de(78241),St={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=de(46066),tn=de(59301),jt=Object.defineProperty,pt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,wn=(Ln,In,Er)=>In in Ln?jt(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Xn=(Ln,In)=>{for(var Er in In||(In={}))Zt.call(In,Er)&&wn(Ln,Er,In[Er]);if(pt)for(var Er of pt(In))gn.call(In,Er)&&wn(Ln,Er,In[Er]);return Ln},yr=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const Dr=({shixunHomeworks:Ln,dispatch:In,classroomList:Er})=>{const{shixunWorkReport:vi}=Ln,ha=(0,He.useParams)(),[Ia,va]=(0,Me.useState)(!1),[Ji]=Sn.default.useForm(),[ya,No]=xe.default.useModal(),[Vo,cs]=(0,Me.useState)(!1),[Mo,ul]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var On,Dn,wr,ni;Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Ji.setFieldsValue({comment:(Dn=(On=Ln.actionTabs.selectArrs)==null?void 0:On.data)==null?void 0:Dn.work_comment,hidden_comment:(ni=(wr=Ln.actionTabs.selectArrs)==null?void 0:wr.data)==null?void 0:ni.work_comment_hidden})},[Ln.actionTabs.key]);const Ss=()=>yr(void 0,null,function*(){const On=Ji.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${ha.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:On.hidden_comment,comment:On.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Ji.resetFields(),In({type:"shixunHomeworks/setActionTabs",payload:{}}),In({type:"shixunHomeworks/getShixunWorkReport",payload:Xn({},ha)}))}),vr=[{title:"\u5173\u5361",dataIndex:"name",render:(On,Dn,wr)=>wr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(On,Dn,wr)=>tn.createElement("div",null,On,Dn.complete_status===4&&tn.createElement(dt.vA,{status:Dn.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:On=>On?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(On,Dn)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Dn.game_score_full)!==parseFloat(On)?"#E30000":"#53C41B"}},On),"/",Dn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(On,Dn)=>(0,ht.GJ)()?tn.createElement(Tt,{max:Dn.game_score_full,defaultValue:parseFloat(On),onBlur:wr=>yr(void 0,null,function*(){var ni,li;if((0,ht.Rm)()&&!((ni=Er.AssistantObject.practice)!=null&&ni.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 Or=yield In({type:"shixunHomeworks/changeScore",payload:{categoryId:ha.homeworkId,type:"report",score:wr,challenge_id:Dn.challenge_id}});(li=Ln==null?void 0:Ln.actionTabs)==null||li.fn(),yield In({type:"shixunHomeworks/getShixunWorkReport",payload:Xn({},ha)}),Or.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):On}];return tn.createElement(tn.Fragment,null,No,tn.createElement(xe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){var On;if((0,ht.Rm)()&&!((On=Er.AssistantObject.practice)!=null&&On.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 Dn=Ji.getFieldsValue();JSON.stringify(Dn)==="{}"||Dn.hidden_comment===""&&Dn.comment===""?va(!0):Ss()}),onCancel:()=>{In({type:"shixunHomeworks/setActionTabs",payload:{}})}},tn.createElement(Pe.Z,{justify:"space-between",className:St.info},tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u59D3\u540D"),tn.createElement("span",{className:St.blackContent},vi==null?void 0:vi.username)),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u5B66\u53F7"),tn.createElement("span",{className:St.blackContent},(vi==null?void 0:vi.student_id)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u73ED\u7EA7"),tn.createElement("span",{className:St.blackContent},(vi==null?void 0:vi.group_name)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u5173\u5361\u5F97\u5206"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.challenge_score)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u6548\u7387\u5206"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.eff_score)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u8865\u4EA4\u6263\u5206"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.late_penalty)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.work_score)||"--"))),tn.createElement(Sn.default,{form:Ji,onChange:()=>{Ia&&va(!1)}},tn.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Te.Z,null,tn.createElement("div",{className:`${St.inputLabel} ${St.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Te.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Vo,onCancel:()=>{cs(!1)}},onDataSelect:(On,Dn)=>yr(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({comment:ni==null?void 0:ni.value}),cs(!1)};if(Ji.getFieldValue("comment")){ya.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:li});return}li()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{cs(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"comment"},tn.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),tn.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Te.Z,null,tn.createElement("div",{className:`${St.inputLabel} ${St.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Te.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Mo,onCancel:()=>{ul(!1)}},onDataSelect:(On,Dn)=>yr(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({hidden_comment:ni==null?void 0:ni.value}),ul(!1)};if(Ji.getFieldValue("hidden_comment")){ya.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:li});return}li()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{ul(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"hidden_comment"},tn.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Ia&&tn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),tn.createElement("div",{className:St.tableTitle},"\u5173\u5361\u6210\u7EE9"),tn.createElement(Ye.default,{className:St.scoreTable,dataSource:vi.stage_list,rowKey:"challenge_id",pagination:!1,columns:vr,scroll:{x:"max-content"}})))};var Tr=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In})=>({shixunHomeworks:Ln,classroomList:In}))(Dr),Rr=de(59579),Sr=de(39655),fr=de(6475),Vr=de(44164),Bi=de.n(Vr),yi={wrap:"wrap___rFTBy",line:"line___kZzhh"},mi=de(1845),ua=({detailData:Ln})=>{var In;return Me.createElement("div",{className:yi.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(Ln),(Ln==null?void 0:Ln.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)(Ln)}),!!((In=Ln==null?void 0:Ln.photos)!=null&&In.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:yi.line}),Me.createElement(mi._s,{dataSource:Ln==null?void 0:Ln.photos,right:21,col:4,wrapWidth:1140}))))},Wr=de(96798),Mn=de(59301),ea=Object.defineProperty,Ea=Object.defineProperties,wo=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable,Si=(Ln,In,Er)=>In in Ln?ea(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,qr=(Ln,In)=>{for(var Er in In||(In={}))Pi.call(In,Er)&&Si(Ln,Er,In[Er]);if(sa)for(var Er of sa(In))Aa.call(In,Er)&&Si(Ln,Er,In[Er]);return Ln},Ma=(Ln,In)=>Ea(Ln,wo(In)),kn=(Ln,In)=>{var Er={};for(var vi in Ln)Pi.call(Ln,vi)&&In.indexOf(vi)<0&&(Er[vi]=Ln[vi]);if(Ln!=null&&sa)for(var vi of sa(Ln))In.indexOf(vi)<0&&Aa.call(Ln,vi)&&(Er[vi]=Ln[vi]);return Er},Dt=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const Gt=Ln=>{var In=Ln,{shixunHomeworks:Er,classroomList:vi,globalSetting:ha,loading:Ia,user:va,dispatch:Ji}=In,ya=kn(In,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),No,Vo,cs;const[Mo,ul]=(0,Me.useState)(qr({},(0,He.useParams)())),Ss=(0,He.useParams)(),[vr,On]=(0,Me.useState)({page:1,page_size:10}),Dn=(0,He.useLocation)(),[]=(0,Me.useState)([]),[wr,ni]=(0,Me.useState)(),li=(0,Me.useRef)(),[Or,Hi]=(0,Me.useState)(!1),[ca,uo]=(0,Me.useState)(!0),[Wa,Ki]=(0,Me.useState)(!1),[Na,so]=(0,Me.useState)(!1),{shixunWorkReport:rr}=Er,[Kn,Ja]=(0,Me.useState)(),[pa,ka]=(0,Me.useState)([]),[ss,qs]=(0,Me.useState)(),[tl,eu]=(0,Me.useState)("all"),nu=(0,ht.GJ)(),[Fu,wl]=(0,Me.useState)(new(ve())),[Vl,Io]=(0,Me.useState)(0),[Xo,Pl]=(0,Me.useState)(!1),[Tl,ml]=(0,Me.useState)(!1),[Wo,js]=(0,Me.useState)(!1),[zu,mc]=(0,Me.useState)(""),[cl,ys]=(0,Me.useState)(!1),[bs,Xl]=(0,Me.useState)(!0),[gl,kl]=(0,Me.useState)(0),vl=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Vs=(0,Me.useRef)(),Gl=()=>Dt(void 0,null,function*(){(va.userInfo.is_teacher||va.userInfo.admin)&&(ys(!0),Xl(!1))});(0,Me.useEffect)(()=>{var ki;(0,ht.Rm)()&&vi.AssistantObject.practice&&!((ki=vi.AssistantObject.practice)!=null&&ki.can_view)&&He.history.replace("/403")},[(No=vi.AssistantObject.practice)==null?void 0:No.can_view]),(0,Me.useEffect)(()=>{Gl(),console.log("\u6253\u5370\u7684------",rr),Vs.current=rr==null?void 0:rr.next_student_work_id,mc(rr.repeat_minus_score)},[rr,va]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",rr.work_score),kl(rr.work_score)},[rr.work_score,zu]),(0,Me.useEffect)(()=>(Ji({type:"globalSetting/footerToggle",payload:!1}),()=>{Ji({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var ki;if(rr){let lo=[];(ki=rr==null?void 0:rr.target_test_sets)==null||ki.map((fi,To)=>{var ds;(ds=fi==null?void 0:fi.targets)==null||ds.map((mu,gu)=>{var _l;mu.name=fi==null?void 0:fi.name,mu.total_target_score=fi==null?void 0:fi.total_target_score,mu.actual_target_score=fi==null?void 0:fi.actual_target_score,mu.rowSpan=gu===0?(_l=fi==null?void 0:fi.targets)==null?void 0:_l.length:0,mu.order=To+1,lo.push(mu)})}),Ja(lo),(0,ht.Rm)()&&Ji({type:"classroomList/getAssistantPermissions",payload:{course_id:Mo.coursesId}})}},[rr]),(0,Me.useEffect)(()=>{Er.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(rr==null?void 0:rr.students_count)>0&&!ca&&setTimeout(()=>{Cu("all")},800)},[rr==null?void 0:rr.homework_common_id,ca]),(0,Me.useEffect)(()=>{ul(qr({},Ss))},[Dn.pathname]);const ic=()=>{document.body.scrollIntoView()},Xc=ki=>{vr.page=ki,On(qr({},vr)),Jl(vr,tl)},Jl=(ki,lo)=>Dt(void 0,null,function*(){Ki(!0);const fi=yield(0,Ae.ZP)(`/api/student_works/${Mo==null?void 0:Mo.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Ma(qr({},ki),{challenge_id:lo=="all"?null:lo})});(fi==null?void 0:fi.status)===0&&(ka(fi==null?void 0:fi.list),qs(fi==null?void 0:fi.count)),Ki(!1)});function ku(){return Dt(this,null,function*(){vl.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const qu=()=>{document.querySelectorAll("canvas").forEach(ki=>{(!ki.clientWidth||!ki.clientHeight)&&ki.remove()})},Hc=ki=>Dt(void 0,null,function*(){const lo=yield(0,fr.t1)({homeworkId:ki||Mo.homeworkId});ni(lo==null?void 0:lo.data)}),Cu=ki=>Dt(void 0,null,function*(){var lo,fi,To,ds;let mu=0,gu;gu=xe.default.info({width:460,title:Mn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",Mn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Mn.createElement("span",{className:"c-blue"},mu+1),"/",ki!=="all"?1:rr==null?void 0:rr.students_count,Mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Xe.modal,onOk:()=>{}});const _l={margin:[0,0],filename:`${rr!=null&&rr.student_id&&(rr==null?void 0:rr.student_id)!="--"?rr==null?void 0:rr.student_id:""}${rr.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Bc=Fu.folder(rr==null?void 0:rr.shixun_name);function Lc(Sc){return Dt(this,null,function*(){yield Hc(Sc||Vs.current);const dl=yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr({homeworkId:Sc||Vs.current},vl.current||{})});Vs.current=dl==null?void 0:dl.next_student_work_id,ic(),mu++,setTimeout(()=>Dt(this,null,function*(){var Gs,Ms,Wu,gc;qu();const vc=Bc.folder(`${dl==null?void 0:dl.group_name}`).folder(`${dl!=null&&dl.student_id&&(dl==null?void 0:dl.student_id)!="--"?dl.student_id+"+":""}${dl==null?void 0:dl.username}`),vd=document.querySelector("#export-all").children;let cd=Bi()();for(let ac=0;ac<vd.length;ac++)yield cd.set(_l).from(vd[ac]).toContainer().toCanvas().toPdf().get("pdf").then(Dc=>Dt(this,null,function*(){ac<vd.length-1&&(yield Dc.addPage())}));if(vc.file(`${dl!=null&&dl.student_id&&(dl==null?void 0:dl.student_id)!="--"?dl.student_id+"+":""}${dl==null?void 0:dl.username}.pdf`,cd.output("blob")),((Gs=dl==null?void 0:dl.shixun_detail)==null?void 0:Gs.length)>0&&((Wu=(Ms=dl==null?void 0:dl.shixun_detail)==null?void 0:Ms.filter(ac=>{var Dc;return((Dc=ac==null?void 0:ac.game_codes)==null?void 0:Dc.length)>0}))==null?void 0:Wu.length)>0){const ac=vc.folder("\u4EE3\u7801\u6587\u4EF6");(gc=dl==null?void 0:dl.shixun_detail)==null||gc.map((Dc,Nu)=>{var Ec,$u;if(((Ec=Dc==null?void 0:Dc.game_codes)==null?void 0:Ec.length)>0){const Pu=ac.folder(`\u7B2C${Nu+1}\u5173-${Dc.subject}-${Dc.id}`);($u=Dc==null?void 0:Dc.game_codes)==null||$u.map(Oc=>{Pu.file(`${Oc.filename}.txt`,Oc==null?void 0:Oc.content)})}})}gu.update({content:Mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Mn.createElement("span",{className:"c-blue"},mu),"/",dl==null?void 0:dl.students_count,Mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),mu==(dl==null?void 0:dl.students_count)?(gu.destroy(),nA()):Lc()}),2200)})}if(ki!=="all"||(rr==null?void 0:rr.students_count)<2){qu(),ic();const Sc=li.current.children;let dl=Bi()();const Ms=Bc.folder(`${rr==null?void 0:rr.group_name}`).folder(`${rr!=null&&rr.student_id&&(rr==null?void 0:rr.student_id)!="--"?(rr==null?void 0:rr.student_id)+"+":""}${rr==null?void 0:rr.username}`);for(let Wu=0;Wu<Sc.length;Wu++)yield dl.set(_l).from(Sc[Wu]).toContainer().toCanvas().toPdf().get("pdf").then(gc=>Dt(void 0,null,function*(){Wu<Sc.length-1&&(yield gc.addPage())}));if(Hi(!1),Ms.file(`${rr!=null&&rr.student_id&&(rr==null?void 0:rr.student_id)!="--"?(rr==null?void 0:rr.student_id)+"+":""}${rr.username}.pdf`,dl.output("blob"),{base64:!1}),((lo=rr==null?void 0:rr.shixun_detail)==null?void 0:lo.length)>0&&((To=(fi=rr==null?void 0:rr.shixun_detail)==null?void 0:fi.filter(Wu=>{var gc;return((gc=Wu==null?void 0:Wu.game_codes)==null?void 0:gc.length)>0}))==null?void 0:To.length)>0){const Wu=Ms.folder("\u4EE3\u7801\u6587\u4EF6");(ds=rr==null?void 0:rr.shixun_detail)==null||ds.map((gc,Zu)=>{var vc,vd;if(((vc=gc==null?void 0:gc.game_codes)==null?void 0:vc.length)>0){const cd=Wu.folder(`\u7B2C${Zu+1}\u5173-${gc.subject}-${gc.id}`);(vd=gc==null?void 0:gc.game_codes)==null||vd.map(ac=>{cd.file(`${ac.filename}.txt`,ac==null?void 0:ac.content)})}})}gu.destroy(),nA();return}else Lc(rr==null?void 0:rr.first_student_work_id)}),nA=()=>{Fu.generateAsync({type:"blob"}).then(function(ki){console.log(rr,"shixunWorkReport");const lo=document.createElement("a");lo.href=window.URL.createObjectURL(ki),lo.download=(rr==null?void 0:rr.shixun_name)+".zip",document.body.appendChild(lo);const fi=document.createEvent("MouseEvents");fi.initEvent("click",!1,!1),lo.dispatchEvent(fi),document.body.removeChild(lo),wl(new(ve()))}),so(!1)};(0,Me.useEffect)(()=>{kd()},[Mo.homeworkId]);const kd=()=>Dt(void 0,null,function*(){yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}),Hc(),(0,ht.GJ)()&&ku(),uo(!1)}),gd=[{title:"\u5173\u5361",dataIndex:"name",render:(ki,lo,fi)=>fi+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ki,lo,fi)=>Mn.createElement("div",null,ki,lo.complete_status===4&&Mn.createElement(dt.vA,{status:lo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(ki,lo,fi)=>ki||"- -"},{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:ki=>ki?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(ki,lo)=>Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.myself_experience)!==parseFloat(ki)?"red":"green"}},lo.myself_experience),"/",ki)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(ki,lo)=>Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.game_score_full)!==parseFloat(ki)?"red":"green"}},ki),"/",lo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(ki,lo)=>nu?Mn.createElement(Tt,{max:lo.game_score_full,defaultValue:parseFloat(ki),onBlur:fi=>Dt(void 0,null,function*(){var To;if((0,ht.Rm)()&&!((To=vi.AssistantObject.practice)!=null&&To.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 ds=yield Ji({type:"shixunHomeworks/changeScore",payload:{categoryId:Mo.homeworkId,type:"report",score:fi,challenge_id:lo.challenge_id}});Jl({page:1,page_size:10},"all"),yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}),ds.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ki}];let uf=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(ki,lo,fi)=>({children:ki,props:{rowSpan:lo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(ki,lo,fi)=>({children:ki,props:{rowSpan:lo.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:(ki,lo,fi)=>Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.actual_test_score)!==parseFloat(ki)?"red":"green"}},lo.actual_test_score),"/",ki)},{title:"\u6307\u6807\u603B\u5206",render:(ki,lo,fi)=>({children:Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.actual_target_score)!==parseFloat(ki)?"red":"green"}},lo.actual_target_score),"/",ki),props:{rowSpan:lo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const ud=[{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:ki=>Mn.createElement("span",null,ki?Oe()(ki).format("YYYY-MM-DD HH:mm"):"--")}],pA=ki=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{ki==="next"?He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${rr==null?void 0:rr.next_student_work_id}/comment`):He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${rr==null?void 0:rr.pre_student_work_id}/comment`)},200)},lc=ki=>{mc(""),ki.target.value&&(console.log("\u8FDB\u6765",rr),ki.target.value=ki.target.value>rr.repeat_setting_score?rr.repeat_setting_score:ki.target.value,mc(ki.target.value))},_d=()=>Dt(void 0,null,function*(){const ki=yield(0,Ae.ZP)(`/api/student_works/${rr==null?void 0:rr.work_id}/update_repeat_score`,{method:"put",body:{score:zu}});yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}),ki.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return Mn.createElement("section",{style:{minHeight:"100vh",background:`url(${de(26528)}) center / cover no-repeat`}},Mn.createElement("div",{className:"edu-container pb-60px"},Mn.createElement(Ke.Z,{loading:Ia["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},rr.course_id&&Mn.createElement("section",{className:"animated fadeIn pt-10px"},rr.category&&Mn.createElement(Be.Z,{separator:">",items:[{title:Mn.createElement(He.Link,{to:`/classrooms/${rr.course_id}/shixun_homework`}," ",rr.course_name)},{title:Mn.createElement(He.Link,{to:`/classrooms/${rr.course_id}/shixun_homework/${rr.category.main?"":rr.category.category_id}`}," ",rr.category.category_name)},{title:Mn.createElement(He.Link,{to:`/classrooms/${rr.course_id}/shixun_homework/${rr.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:rr.username}]}),Mn.createElement("div",{className:"mt20 flex item-center gap-10px"},Mn.createElement("strong",{className:"font20"}," ",rr==null?void 0:rr.homework_name," "),Mn.createElement(dt.VV,{temporary:!0,status:rr.homework_status}),Mn.createElement("div",{className:"ml-auto flex item-center gap-10px"},rr.view_tpi&&Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var ki,lo;(0,dt.xg)(`/tasks/${rr==null?void 0:rr.course_id}/${rr==null?void 0:rr.homework_common_id}/${(lo=(ki=rr==null?void 0:rr.shixun_detail)==null?void 0:ki[0])==null?void 0:lo.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,ht.GJ)()&&rr.homework_end===!1&&!!rr.myshixun_id&&Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>Dt(void 0,null,function*(){yield Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:rr.myshixun_identifier},homework_common_id:Ss.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var ki;if((0,ht.Rm)()&&!((ki=vi.AssistantObject.practice)!=null&&ki.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}Cu("")},loading:Or},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(rr==null?void 0:rr.students_count)>1&&Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var ki;if((0,ht.Rm)()&&!((ki=vi.AssistantObject.practice)!=null&&ki.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}xe.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:Mn.createElement(Ne.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:Mn.createElement(Ne.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:()=>{Cu("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Wr.jj)({categoryId:Mo.categoryId,coursesId:Mo.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),Mn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},Mn.createElement("div",{id:"export-all",ref:li},Mn.createElement("div",{id:"export-all-1"},Mn.createElement("div",{className:"flex item-center"},Mn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,ht.GJ)()&&Mn.createElement(_e.ZP,{className:`ml-auto rounded-4px ${Xe.NewButtonStyle}`,type:"primary",icon:Mn.createElement(We.Z,{rev:void 0}),onClick:()=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rr.user_id,data:qr({},rr)},fn:()=>Jl({page:1,page_size:10},"all")}})}}," ",rr.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),Mn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},Mn.createElement("div",{className:"flex flex-col justify-center item-center"},Mn.createElement("div",{className:"flex flex-col item-center"},Mn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${rt.Z.IMG_SERVER}/images/${rr.image_url}`,alt:rr.username}),Mn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},Mn.createElement(dt.vA,{status:rr.compelete_status}))),Mn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},rr.username),Mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",Mn.createElement("span",{className:"ml10 c-grey-333"},rr.student_id||"--")),Mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",Mn.createElement("span",{className:"ml10 c-grey-333"},rr.group_name||"--"))),Mn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},Mn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-red"},rr.complete_count||"--"),"/",Mn.createElement("span",{className:"c-red"},rr.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-red"},rr.current_complete_count||"--"),"/",Mn.createElement("span",{className:"c-red"},rr.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:rr&&rr.efficiency===null?"--":rr&&rr.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:rr&&rr.max_efficiency===null?"--":rr&&rr.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-orange"},rr.challenge_score),"/",Mn.createElement("span",{className:"c-light-black"},rr.challenge_score_full)),hidden:!(rr!=null&&rr.eff_score_full)},{title:"\u6548\u7387\u5206",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-orange"},rr.eff_score),"/",Mn.createElement("span",{className:"c-light-black"},rr.eff_score_full)),hidden:!(rr!=null&&rr.eff_score_full)}].map((ki,lo)=>!(ki!=null&&ki.hidden)&&Mn.createElement("div",{key:lo,className:"flex flex-col item-center gap-10px"},Mn.createElement("div",{className:"text-16px"},ki==null?void 0:ki.children),Mn.createElement("div",{style:{color:"#8E8E8E"}},ki==null?void 0:ki.title)))),Mn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:rr&&rr.passed_time===null||rr&&rr.passed_time==="--"?"--":Oe()(rr&&rr.passed_time).format("YYYY-MM-DD HH:mm")},{title:Mn.createElement(Mn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",Mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:ki=>{Pl(!0)}})),children:rr==null?void 0:rr.human_training_time_rules},{title:Mn.createElement(Mn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",Mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:ki=>{ml(!0)}})),children:rr==null?void 0:rr.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:rr.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:rr&&rr.passed_time===null||rr&&rr.passed_time==="--"?"--":Oe()(rr&&rr.passed_time).format("YYYY-MM-DD HH:mm")},{title:Mn.createElement(Mn.Fragment,null," \u67E5\u91CD\u6263\u5206",rr!=null&&rr.review_rate?Mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{rr!=null&&rr.review_id&&cl&&(localStorage.setItem("studentDetial",window.location.pathname),He.history.push(`/classrooms/:coursesId/shixun_homework/${Mo.categoryId}/review_detail/${rr==null?void 0:rr.review_id}`))}}," ",rr.review_rate.toFixed(1),"% "):Mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:Mn.createElement(Mn.Fragment,null,(rr==null?void 0:rr.repeat_minus_score)!==0?"- -":Mn.createElement(Mn.Fragment,null,cl?Mn.createElement(Mn.Fragment,null,Mn.createElement(Qe.default,{style:{width:"45px",height:"22px"},value:zu,onChange:ki=>{lc(ki)},onBlur:_d,disabled:bs})," / ",rr==null?void 0:rr.repeat_setting_score):Mn.createElement(Mn.Fragment,null," ",rr==null?void 0:rr.repeat_minus_score," / ",rr==null?void 0:rr.repeat_setting_score," "))),hidden:!(rr!=null&&rr.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:rr.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-orange"},gl),"/",Mn.createElement("span",{className:"c-light-black"},rr.all_work_score))}].map((ki,lo)=>!(ki!=null&&ki.hidden)&&Mn.createElement("div",{key:lo,className:"flex flex-col item-center gap-10px"},Mn.createElement("div",{className:"text-16px"},ki==null?void 0:ki.children),Mn.createElement("div",{style:{color:"#8E8E8E"}},ki==null?void 0:ki.title))))),Mn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${de(55541)}) center / cover no-repeat`}},rr.overall_appraisal)),Mn.createElement(ke.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(rr.work_comment_hidden||rr.work_comment)&&Mn.createElement("div",null,Mn.createElement(Pe.Z,{align:"middle"},Mn.createElement(Te.Z,{flex:1},Mn.createElement("h1",{className:Xe.title},"\u70B9\u8BC4\u5185\u5BB9")),Mn.createElement(Te.Z,{className:"pr30"},(0,ht.GJ)()&&Mn.createElement(_e.ZP,{onClick:()=>Dt(void 0,null,function*(){xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Mn.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Dt(this,null,function*(){(yield(0,fr.gZ)({comment_id:rr.comment_id,homeworkId:Mo.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}))})}})})},Mn.createElement(et.Z,null),"\u5220\u9664"))),Mn.createElement(ke.Z,{style:{margin:0}}),rr.work_comment&&Mn.createElement("aside",{className:"pl30 pr30 mt20"},Mn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Mn.createElement("br",null),Mn.createElement(Sr.Z,{value:rr.work_comment})),rr.work_comment_hidden&&Mn.createElement("aside",{className:"pl30 pr30 mt20"},Mn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Mn.createElement("br",null),Mn.createElement(Sr.Z,{value:rr.work_comment_hidden}))),(rr==null?void 0:rr.action_analysis)&&Mn.createElement(ua,{detailData:rr}),Mn.createElement("div",{className:Xe.score},Mn.createElement("h1",{className:Xe.title},"\u9636\u6BB5\u6210\u7EE9"),(rr==null?void 0:rr.adjust_review_score_count)>0&&(0,ht.GJ)()&&Mn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{js(!0),Jl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",rr==null?void 0:rr.adjust_review_score_count,"\u6B21\uFF09")),Mn.createElement(Ye.default,{className:Xe.TableStyle,dataSource:rr.stage_list,rowKey:ki=>ki==null?void 0:ki.challenge_id,pagination:!1,columns:gd}),((Vo=rr==null?void 0:rr.target_test_sets)==null?void 0:Vo.length)>0&&Mn.createElement("div",null,Mn.createElement("h1",{className:Xe.title},"\u6307\u6807\u6210\u7EE9"),Mn.createElement(Ye.default,{className:Xe.TableStyle,dataSource:Kn,rowKey:ki=>ki==null?void 0:ki.challenge_id,pagination:!1,bordered:!0,columns:uf})),(rr==null?void 0:rr.work_description)&&Mn.createElement(Mn.Fragment,null,Mn.createElement("h1",{className:Xe.title},"\u4E2A\u4EBA\u603B\u7ED3"),Mn.createElement(Sr.Z,{value:rr==null?void 0:rr.work_description})),Mn.createElement("h1",{className:Xe.title},"\u56FE\u5F62\u7EDF\u8BA1"),Mn.createElement(Ht,{data:wr}),Mn.createElement("h1",{className:Xe.title},"\u5B9E\u8BAD\u8BE6\u60C5")),Mn.createElement($t,{autoHeight:Na}))))),(0,ht.GJ)()&&Mn.createElement("aside",{className:`sticky ${Xe.footerBar}`},Mn.createElement("aside",{className:"edu-container flex item-center"},Mn.createElement(He.Link,{className:Xe.exitComment,to:`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),Mn.createElement("div",{className:"ml-auto flex item-center gap-20px"},Mn.createElement(_e.ZP,{disabled:!(rr!=null&&rr.pre_student_work_id),onClick:()=>pA()},"\u4E0A\u4E00\u4E2A"),Mn.createElement(_e.ZP,{disabled:!(rr!=null&&rr.next_student_work_id),onClick:()=>pA("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&Mn.createElement(_e.ZP,{className:Xe.NewButtonStyle,type:"primary",onClick:()=>Dt(void 0,null,function*(){Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rr.user_id,data:qr({},rr)},fn:()=>Jl({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),Mn.createElement(Tr,null),Mn.createElement(Rr.Z,null),Mn.createElement(xe.default,{open:Xo,width:860,centered:!0,onCancel:()=>{Pl(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Mn.createElement("div",{style:{color:"#333333",fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Mn.createElement("br",null),Mn.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"),Mn.createElement("br",null),Mn.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"),Mn.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 "),Mn.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")),Mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Mn.createElement("br",null),Mn.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 "),Mn.createElement("br",null),Mn.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"),Mn.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 "),Mn.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"),Mn.createElement("br",null),Mn.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")),Mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Mn.createElement("br",null),Mn.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")),Mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Mn.createElement("br",null),Mn.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"))),Mn.createElement(xe.default,{open:Tl,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ml(!1)},width:600},Mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},Mn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Mn.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"),Mn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Mn.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"),Mn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Mn.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"))),Mn.createElement(xe.default,{open:Wo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{eu("all"),js(!1)},destroyOnClose:!0,width:900},Mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},Mn.createElement("div",null,Mn.createElement("span",null,"\u5173\u5361\uFF1A"),Mn.createElement(ze.default,{style:{width:300},value:tl,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:ki=>Dt(void 0,null,function*(){eu(ki),Jl({page:1,page_size:10},ki)})},Mn.createElement(ze.default.Option,{value:"all"}," \u5168\u90E8 "),(cs=rr==null?void 0:rr.stage_list)==null?void 0:cs.map((ki,lo)=>Mn.createElement(ze.default.Option,{key:lo,value:ki==null?void 0:ki.challenge_id},"\u7B2C",(0,dt.EM)(lo+1),"\u5173")))),Mn.createElement("div",{className:"mt20"},Mn.createElement(Ye.default,{dataSource:pa,rowKey:ki=>ki==null?void 0:ki.id,pagination:!1,columns:ud,loading:Wa})),Mn.createElement("div",{className:Xe.footer},Mn.createElement("div",null,Mn.createElement("span",{style:{color:"#656F87"}},"\u5171",Mn.createElement("span",{className:"c-light-primary"},ss),"\u6761\u6570\u636E")),Mn.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(vr==null?void 0:vr.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ss,onChange:Xc})))))};var Wt=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In,loading:Er,globalSetting:vi,user:ha})=>({shixunHomeworks:Ln,classroomList:In,globalSetting:vi,loading:Er.effects,user:ha}))(Gt),Kt=de(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"},_n={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const lr=({shixunHomeworks:Ln,data:In,globalSetting:Er,loading:vi,dispatch:ha})=>{var Ia;const{shixunWorkReport:va}=Ln;let Ji=((Ia=In==null?void 0:In.efficiency_list)==null?void 0:Ia.length)-parseInt(In==null?void 0:In.myself_eff[0]);const ya=()=>({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(Vo){return Vo.name===va.username?"\u59D3\u540D\uFF1A"+va.username+"<br/>\u5B66\u53F7\uFF1A "+va.user_id+"<br/>\u6548\u7387\uFF1A"+(In==null?void 0:In.myself_eff[1]):Vo.name+":"+Vo.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:In==null?void 0:In.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:va.username,xAxis:Ji,yAxis:In==null?void 0:In.myself_eff[1],value:In==null?void 0:In.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),No=()=>({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(Vo){var cs=Vo.value;if(Vo.name===va.username)return"\u59D3\u540D\uFF1A"+va.username+"<br/>\u5B66\u53F7\uFF1A "+va.user_id+"<br/>\u5F97\u5206\uFF1A"+(In==null?void 0:In.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:_n,data:In==null?void 0:In.consume_list,symbolSize:function(Vo){return Math.round(Vo[2])},markPoint:{data:[{name:va.username,xAxis:In==null?void 0:In.myself_object[0],yAxis:In==null?void 0:In.myself_object[1],value:In==null?void 0:In.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:ya()})),Me.createElement(Te.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"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.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(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:No()})),Me.createElement(Te.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"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.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 nr=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects}))(lr),dr=({defaultValue:Ln,onBlur:In,max:Er,className:vi="game-score"})=>{const[ha,Ia]=(0,Me.useState)(Ln);(0,Me.useEffect)(()=>{Ia(Ln)},[Ln]);function va(ya){Ia(ya)}function Ji(){ha!==Ln&&In(ha>Er?Er:ha)}return Me.createElement(bt.Z,{max:Er,min:0,className:vi,value:ha,onChange:va,onBlur:Ji})},Pr={md:"md___TEmcT"},Ur=de(59301),ei=Object.defineProperty,er=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,_i=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,ji=Object.prototype.propertyIsEnumerable,Mi=(Ln,In,Er)=>In in Ln?ei(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Ca=(Ln,In)=>{for(var Er in In||(In={}))gi.call(In,Er)&&Mi(Ln,Er,In[Er]);if(_i)for(var Er of _i(In))ji.call(In,Er)&&Mi(Ln,Er,In[Er]);return Ln},Jr=(Ln,In)=>er(Ln,kr(In));const ra=ze.default.Option,vn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var gr=(Ln=>(Ln[Ln.SET_PATH=0]="SET_PATH",Ln[Ln.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ln))(gr||{});function Ar(Ln,In){switch(In.type){case 0:return Jr(Ca({},Ln),{selectedPath:In.payload});case 1:return Jr(Ca({},Ln),{passedContent:In.payload});default:throw new Error}}var jr=({path:Ln,game_id:In,onPathChange:Er,autoHeight:vi,diff_code_count:ha,data:Ia,game_codes_cn:va})=>{var Ji,ya,No,Vo;const cs=Ln.split("\uFF1B").filter(wr=>!!wr),[Mo,ul]=(0,Me.useReducer)(Ar,{selectedPath:cs[0],passedContent:{language:"python",content:""}}),{selectedPath:Ss,passedContent:vr}=Mo;function On(wr){ul({type:0,payload:wr})}const Dn={\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 Ur.createElement(Ur.Fragment,null,Ur.createElement("h2",null," ",Ur.createElement("span",null,va,Ur.createElement(Ne.Z,{title:Ur.createElement("div",null,Ur.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ur.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ur.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"),Ur.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ur.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ha&&Ur.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ha),Ur.createElement("span",null,Ur.createElement(ze.default,{style:{width:200},value:Ss,onChange:On}," ",cs.map(wr=>Ur.createElement(ra,{key:wr,value:wr},wr))," "))," "),(Ss==null?void 0:Ss.split(".")[1])==="md"&&Ur.createElement(wt.Z,{height:300,autoHeight:vi,defaultValue:((ya=(Ji=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:Ji[0])==null?void 0:ya.content)||"",className:Pr.md}),(Ss==null?void 0:Ss.split(".")[1])!=="md"&&Ur.createElement(Et.ZP,{height:300,language:vr.language,value:((Vo=(No=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:No[0])==null?void 0:Vo.content)||"",autoHeight:vi,theme:"default",isCopy:!0,options:vn}))},br=de(65218),Ir=Object.defineProperty,Fr=Object.defineProperties,si=Object.getOwnPropertyDescriptors,bi=Object.getOwnPropertySymbols,Ti=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Ka=(Ln,In,Er)=>In in Ln?Ir(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,$a=(Ln,In)=>{for(var Er in In||(In={}))Ti.call(In,Er)&&Ka(Ln,Er,In[Er]);if(bi)for(var Er of bi(In))Pa.call(In,Er)&&Ka(Ln,Er,In[Er]);return Ln},Ua=(Ln,In)=>Fr(Ln,si(In)),Fa=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const ho=({shixunHomeworks:Ln,autoHeight:In,classroomList:Er,dispatch:vi})=>{var ha,Ia,va,Ji,ya,No,Vo,cs;const{shixunWorkReport:Mo}=Ln,{stage_list:ul,work_id:Ss,ai_code_evaluation_promote:vr}=Mo,[On,Dn]=(0,Me.useState)(!1),[wr,ni]=(0,Me.useState)(!0),[li,Or]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),Hi=(0,Me.useRef)(null),[ca,uo]=(0,Me.useState)(!1),[Wa,Ki]=(0,Me.useState)(""),Na=(0,Me.useRef)(null),so=(Io,Xo)=>{var Pl;const{clientWidth:Tl,clientHeight:ml}=window.document.documentElement,Wo=(Pl=Hi.current)==null?void 0:Pl.getBoundingClientRect();Wo&&Or({left:-Wo.left+Xo.x,right:Tl-(Wo.right-Xo.x),top:-Wo.top+Xo.y,bottom:ml-(Wo.bottom-Xo.y)})},rr=(0,He.useParams)(),Kn=(0,ht.GJ)(),Ja={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(rr)},[]);const pa=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Io,Xo,Pl)=>Me.createElement("div",null,Io,Xo.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:Io=>Oe()(Io).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Io,Xo)=>Me.createElement("span",{className:"c-blue current",onClick:()=>Fa(void 0,null,function*(){var Pl,Tl;const ml=yield(0,ie.Lk)(Xo.game_identifier,{path:(Tl=(Pl=Xo.path)==null?void 0:Pl.replace(/\/g,";"))==null?void 0:Tl.split(";")[0],query_index:Xo.query_index,homework_common_id:rr.categoryId});(ml==null?void 0:ml.status)===0&&(uo(ml),Dn(!0))})},Xo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],ka=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Io,Xo)=>{var Pl;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((Pl=Xo==null?void 0:Xo.user)==null?void 0:Pl.image_url)}),Io)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Io=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Io,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Io=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Io,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Io=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Io?Oe()(Io).format("YYYY-MM-DD HH:mm"):"--")}];function ss(Io,Xo){return Fa(this,null,function*(){const{challenge_id:Pl}=ul[Io],Tl=yield vi({type:"shixunHomeworks/changeScore",payload:{categoryId:rr.homeworkId,type:"report",score:Xo,challenge_id:Pl}});yield vi({type:"shixunHomeworks/getShixunWorkReport",payload:$a({},rr)}),Tl.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function qs(Io,Xo){return(0,Ae.U2)(`student_works/${Ss}/rep_passed_content.json`,{path:Xo,game_id:Io})}const[tl,eu]=(0,Me.useState)((ha=Mo==null?void 0:Mo.shixun_detail)==null?void 0:ha.map(Io=>Ua($a({},Io),{commentEdit:!1}))),nu=Io=>Io.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,"`$&`"),[Fu,wl]=(0,Me.useState)(!1),Vl=(Io,Xo)=>Fa(void 0,null,function*(){var Pl,Tl;wl(!0),Na.current=new br.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:vr,shixun_id:Mo==null?void 0:Mo.myshixun_identifier,game_id:Io==null?void 0:Io.id,source:"shixun",is_chat:!1,type:9,description:Io==null?void 0:Io.challenge_description,query:(Tl=(Pl=Io==null?void 0:Io.game_codes)==null?void 0:Pl[0])==null?void 0:Tl.content,homework_common_id:rr.categoryId}),yield new Promise((ml,Wo)=>{Na.current.on("data",js=>{const zu=[...tl];zu[Xo].comment=nu(js==null?void 0:js.full),eu(zu)}),Na.current.on("done",()=>Fa(void 0,null,function*(){var js;wl(!1);const zu=[...tl],mc=yield(0,Ae.ZP)(`/api/student_works/${rr==null?void 0:rr.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Io==null?void 0:Io.challenge_id,comment:zu[Xo].comment}});if((mc==null?void 0:mc.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const cl=[...tl];cl[Xo].comment_updated_at=(js=mc==null?void 0:mc.data)==null?void 0:js.comment_updated_at,eu(cl)}})),Na.current.startStream()})});return Me.createElement(Me.Fragment,null,tl==null?void 0:tl.map(function(Io,Xo){var Pl,Tl;return Me.createElement("div",{key:Xo},Me.createElement("aside",{className:"pl30 pr30",key:Xo},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",Xo+1,"\u5173 ",Me.createElement(He.Link,{className:"c-black",target:"_blank",to:`/tasks/${rr.coursesId}/${rr.categoryId}/${Io.game_identifier}`},Io.subject))),Kn?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(dr,{className:"game-score",max:ul[Xo].game_score_full,defaultValue:ul[Xo].game_score,onBlur:ml=>{var Wo;if((0,ht.Rm)()&&!((Wo=Er.AssistantObject.practice)!=null&&Wo.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}ss(Xo,ml)}})):null),Me.createElement("div",{className:"font16 mt10"},Io.st===0&&(Io.path?typeof(Io==null?void 0:Io.game_codes_cn)=="string"?Me.createElement("aside",{className:on.shixunWrp},Me.createElement(jr,{game_codes_cn:Io==null?void 0:Io.game_codes_cn,autoHeight:In,path:Io.path,game_id:Io.id,data:Io.game_codes,diff_code_count:Io.diff_code_count,onPathChange:qs})):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"),Io.st===1&&(Io.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"},(Pl=Io.outputs)!=null&&Pl.length?Me.createElement(Ye.default,{columns:pa,pagination:{hideOnSinglePage:!0},dataSource:Io.outputs.map(ml=>$a($a({},Io),ml))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10 font16"},((Tl=Io==null?void 0:Io.adjust_review_score_list)==null?void 0:Tl.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Ye.default,{columns:ka,pagination:{hideOnSinglePage:!0},dataSource:Io.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(xe.default,{open:On,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{uo({}),Dn(!1)},onCancel:()=>{uo({}),Dn(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{wr&&ni(!1)},onMouseOut:()=>{ni(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Io=>Me.createElement(se(),{disabled:wr,bounds:li,nodeRef:Hi,onStart:(Xo,Pl)=>so(Xo,Pl)},Me.createElement("div",{ref:Hi},Io))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((Ia=ca==null?void 0:ca.data)==null?void 0:Ia.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:((va=ca==null?void 0:ca.data)==null?void 0:va.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Ji=ca==null?void 0:ca.data)==null?void 0:Ji.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"}},Oe()((ya=ca==null?void 0:ca.data)==null?void 0:ya.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"}},(No=ca==null?void 0:ca.data)==null?void 0:No.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Vo=ca==null?void 0:ca.data)==null?void 0:Vo.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"}},((cs=ca==null?void 0:ca.data)==null?void 0:cs.test_set_passed_rate)*100,"%")))),Me.createElement(Et.ZP,{height:500,autoHeight:In,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ca==null?void 0:ca.content)||""))),options:Ja})))};var oo=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er,classroomList:vi})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects,classroomList:vi}))(ho),ta={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},ui=de(59301),za=Object.defineProperty,no=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,xo=Object.prototype.propertyIsEnumerable,os=(Ln,In,Er)=>In in Ln?za(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Va=(Ln,In)=>{for(var Er in In||(In={}))La.call(In,Er)&&os(Ln,Er,In[Er]);if(no)for(var Er of no(In))xo.call(In,Er)&&os(Ln,Er,In[Er]);return Ln},Ii=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const Ci=({shixunHomeworks:Ln,dispatch:In,classroomList:Er})=>{const{shixunWorkReport:vi}=Ln,ha=(0,He.useParams)(),[Ia,va]=(0,Me.useState)(!1),[Ji]=Sn.default.useForm(),[ya,No]=xe.default.useModal(),[Vo,cs]=(0,Me.useState)(!1),[Mo,ul]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var On,Dn,wr,ni;Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Ji.setFieldsValue({comment:(Dn=(On=Ln.actionTabs.selectArrs)==null?void 0:On.data)==null?void 0:Dn.work_comment,hidden_comment:(ni=(wr=Ln.actionTabs.selectArrs)==null?void 0:wr.data)==null?void 0:ni.work_comment_hidden})},[Ln.actionTabs.key]);const Ss=()=>Ii(void 0,null,function*(){const On=Ji.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${ha.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:On.hidden_comment,comment:On.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Ji.resetFields(),In({type:"shixunHomeworks/setActionTabs",payload:{}}),In({type:"shixunHomeworks/getShixunWorkReport",payload:Va({},ha)}))}),vr=[{title:"\u5173\u5361",dataIndex:"name",render:(On,Dn,wr)=>wr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(On,Dn,wr)=>ui.createElement("div",null,On,Dn.complete_status===4&&ui.createElement(dt.vA,{status:Dn.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:On=>On?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(On,Dn)=>ui.createElement("div",null,ui.createElement("span",{style:{color:parseFloat(Dn.game_score_full)!==parseFloat(On)?"#E30000":"#53C41B"}},On),"/",Dn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(On,Dn)=>(0,ht.GJ)()?ui.createElement(dr,{max:Dn.game_score_full,defaultValue:parseFloat(On),onBlur:wr=>Ii(void 0,null,function*(){var ni,li;if((0,ht.Rm)()&&!((ni=Er.AssistantObject.practice)!=null&&ni.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 Or=yield In({type:"shixunHomeworks/changeScore",payload:{categoryId:ha.homeworkId,type:"report",score:wr,challenge_id:Dn.challenge_id}});(li=Ln==null?void 0:Ln.actionTabs)==null||li.fn(),yield In({type:"shixunHomeworks/getShixunWorkReport",payload:Va({},ha)}),Or.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):On}];return ui.createElement(ui.Fragment,null,No,ui.createElement(xe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ii(void 0,null,function*(){var On;if((0,ht.Rm)()&&!((On=Er.AssistantObject.practice)!=null&&On.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 Dn=Ji.getFieldsValue();JSON.stringify(Dn)==="{}"||Dn.hidden_comment===""&&Dn.comment===""?va(!0):Ss()}),onCancel:()=>{In({type:"shixunHomeworks/setActionTabs",payload:{}})}},ui.createElement(Pe.Z,{justify:"space-between",className:ta.info},ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u59D3\u540D"),ui.createElement("span",{className:ta.blackContent},vi==null?void 0:vi.username)),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u5B66\u53F7"),ui.createElement("span",{className:ta.blackContent},(vi==null?void 0:vi.student_id)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u73ED\u7EA7"),ui.createElement("span",{className:ta.blackContent},(vi==null?void 0:vi.group_name)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u5173\u5361\u5F97\u5206"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.challenge_score)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u6548\u7387\u5206"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.eff_score)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u8865\u4EA4\u6263\u5206"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.late_penalty)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.work_score)||"--"))),ui.createElement(Sn.default,{form:Ji,onChange:()=>{Ia&&va(!1)}},ui.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},ui.createElement(Te.Z,null,ui.createElement("div",{className:`${ta.inputLabel} ${ta.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ui.createElement(Te.Z,null,ui.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Vo,onCancel:()=>{cs(!1)}},onDataSelect:(On,Dn)=>Ii(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({comment:ni==null?void 0:ni.value}),cs(!1)};if(Ji.getFieldValue("comment")){ya.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:li});return}li()})},ui.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:ui.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{cs(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ui.createElement(Sn.default.Item,{name:"comment"},ui.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),ui.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},ui.createElement(Te.Z,null,ui.createElement("div",{className:`${ta.inputLabel} ${ta.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ui.createElement(Te.Z,null,ui.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Mo,onCancel:()=>{ul(!1)}},onDataSelect:(On,Dn)=>Ii(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({hidden_comment:ni==null?void 0:ni.value}),ul(!1)};if(Ji.getFieldValue("hidden_comment")){ya.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:li});return}li()})},ui.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:ui.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{ul(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ui.createElement(Sn.default.Item,{name:"hidden_comment"},ui.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Ia&&ui.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),ui.createElement("div",{className:ta.tableTitle},"\u5173\u5361\u6210\u7EE9"),ui.createElement(Ye.default,{className:ta.scoreTable,dataSource:vi.stage_list,rowKey:"challenge_id",pagination:!1,columns:vr,scroll:{x:"max-content"}})))};var Ha=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In})=>({shixunHomeworks:Ln,classroomList:In}))(Ci),Oa=de(50436),eo={wrap:"wrap___LZOi9",line:"line___oju0L"},vo=({detailData:Ln})=>{var In;return Me.createElement("div",{className:eo.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(Ln),(Ln==null?void 0:Ln.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)(Ln)}),!!((In=Ln==null?void 0:Ln.photos)!=null&&In.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:eo.line}),Me.createElement(mi._s,{dataSource:Ln==null?void 0:Ln.photos,right:21,col:4,wrapWidth:1140}))))},jn=de(59301),Oo=Object.defineProperty,Ks=Object.defineProperties,Sa=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Es=(Ln,In,Er)=>In in Ln?Oo(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Js=(Ln,In)=>{for(var Er in In||(In={}))Co.call(In,Er)&&Es(Ln,Er,In[Er]);if(ga)for(var Er of ga(In))Fo.call(In,Er)&&Es(Ln,Er,In[Er]);return Ln},Os=(Ln,In)=>Ks(Ln,Sa(In)),ps=(Ln,In)=>{var Er={};for(var vi in Ln)Co.call(Ln,vi)&&In.indexOf(vi)<0&&(Er[vi]=Ln[vi]);if(Ln!=null&&ga)for(var vi of ga(Ln))In.indexOf(vi)<0&&Fo.call(Ln,vi)&&(Er[vi]=Ln[vi]);return Er},as=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const ol=Ln=>{var In=Ln,{shixunHomeworks:Er,classroomList:vi,globalSetting:ha,loading:Ia,user:va,dispatch:Ji}=In,ya=ps(In,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),No,Vo,cs;const[Mo,ul]=(0,Me.useState)(Js({},(0,He.useParams)())),Ss=(0,He.useParams)(),[vr,On]=(0,Me.useState)({page:1,page_size:10}),Dn=(0,He.useLocation)(),[]=(0,Me.useState)([]),[wr,ni]=(0,Me.useState)(),li=(0,Me.useRef)(),Or=(0,Me.useRef)(),[Hi,ca]=(0,Me.useState)(!1),[uo,Wa]=(0,Me.useState)(!0),[Ki,Na]=(0,Me.useState)(!1),[so,rr]=(0,Me.useState)(!1),{shixunWorkReport:Kn}=Er,[Ja,pa]=(0,Me.useState)(),[ka,ss]=(0,Me.useState)([]),[qs,tl]=(0,Me.useState)(),[eu,nu]=(0,Me.useState)("all"),Fu=(0,ht.GJ)(),[wl,Vl]=(0,Me.useState)(new(ve())),[Io,Xo]=(0,Me.useState)(0),[Pl,Tl]=(0,Me.useState)(!1),[ml,Wo]=(0,Me.useState)(!1),[js,zu]=(0,Me.useState)(!1),[mc,cl]=(0,Me.useState)(""),[ys,bs]=(0,Me.useState)(!1),[Xl,gl]=(0,Me.useState)(!0),[kl,vl]=(0,Me.useState)(0),Vs=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Gl=(0,Me.useRef)(),ic=()=>as(void 0,null,function*(){(va.userInfo.is_teacher||va.userInfo.admin)&&(bs(!0),gl(!1))});(0,Me.useEffect)(()=>{var fi;(0,ht.Rm)()&&vi.AssistantObject.practice&&!((fi=vi.AssistantObject.practice)!=null&&fi.can_view)&&He.history.replace("/403")},[(No=vi.AssistantObject.practice)==null?void 0:No.can_view]),(0,Me.useEffect)(()=>{ic(),console.log("\u6253\u5370\u7684------",Kn),Gl.current=Kn==null?void 0:Kn.next_student_work_id,cl(Kn.repeat_minus_score)},[Kn,va]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Kn.work_score),vl(Kn.work_score)},[Kn.work_score,mc]),(0,Me.useEffect)(()=>(Ji({type:"globalSetting/footerToggle",payload:!1}),()=>{Ji({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var fi;if(Kn){let To=[];(fi=Kn==null?void 0:Kn.target_test_sets)==null||fi.map((ds,mu)=>{var gu;(gu=ds==null?void 0:ds.targets)==null||gu.map((_l,Bc)=>{var Lc;_l.name=ds==null?void 0:ds.name,_l.total_target_score=ds==null?void 0:ds.total_target_score,_l.actual_target_score=ds==null?void 0:ds.actual_target_score,_l.rowSpan=Bc===0?(Lc=ds==null?void 0:ds.targets)==null?void 0:Lc.length:0,_l.order=mu+1,To.push(_l)})}),pa(To),(0,ht.Rm)()&&Ji({type:"classroomList/getAssistantPermissions",payload:{course_id:Mo.coursesId}})}},[Kn]),(0,Me.useEffect)(()=>{Er.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Kn==null?void 0:Kn.students_count)>0&&!uo&&setTimeout(()=>{kd("all")},800)},[Kn==null?void 0:Kn.homework_common_id,uo]),(0,Me.useEffect)(()=>{ul(Js({},Ss))},[Dn.pathname]);const Xc=()=>{document.body.scrollIntoView()},Jl=fi=>{vr.page=fi,On(Js({},vr)),ku(vr,eu)},ku=(fi,To)=>as(void 0,null,function*(){Na(!0);const ds=yield(0,Ae.ZP)(`/api/student_works/${Mo==null?void 0:Mo.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Os(Js({},fi),{challenge_id:To=="all"?null:To})});(ds==null?void 0:ds.status)===0&&(ss(ds==null?void 0:ds.list),tl(ds==null?void 0:ds.count)),Na(!1)});function qu(){return as(this,null,function*(){Vs.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Hc=()=>{document.querySelectorAll("canvas").forEach(fi=>{(!fi.clientWidth||!fi.clientHeight)&&fi.remove()})},Cu=()=>{li.current.offsetHeight>62e3?rr(!1):rr(!0)},nA=fi=>as(void 0,null,function*(){const To=yield(0,fr.t1)({homeworkId:fi||Mo.homeworkId});ni(To==null?void 0:To.data)}),kd=fi=>as(void 0,null,function*(){var To,ds,mu,gu;let _l=0,Bc;Bc=xe.default.info({width:460,title:jn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",jn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:jn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",jn.createElement("span",{className:"c-blue"},_l+1),"/",fi!=="all"?1:Kn==null?void 0:Kn.students_count,jn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:on.modal,onOk:()=>{}});const Lc={margin:[0,0],filename:`${Kn!=null&&Kn.student_id&&(Kn==null?void 0:Kn.student_id)!="--"?Kn==null?void 0:Kn.student_id:""}${Kn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Sc=wl.folder(Kn==null?void 0:Kn.shixun_name);function dl(Gs){return as(this,null,function*(){yield nA(Gs||Gl.current);const Ms=yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js({homeworkId:Gs||Gl.current},Vs.current||{})});Gl.current=Ms==null?void 0:Ms.next_student_work_id,Xc(),_l++,setTimeout(()=>as(this,null,function*(){var Wu,gc,Zu,vc;Hc();const cd=Sc.folder(`${Ms==null?void 0:Ms.group_name}`).folder(`${Ms!=null&&Ms.student_id&&(Ms==null?void 0:Ms.student_id)!="--"?Ms.student_id+"+":""}${Ms==null?void 0:Ms.username}`),ac=document.querySelector("#export-all").children;let Dc=Bi()();for(let Nu=0;Nu<ac.length;Nu++)yield Dc.set(Lc).from(ac[Nu]).toContainer().toCanvas().toPdf().get("pdf").then(Ec=>as(this,null,function*(){Nu<ac.length-1&&(yield Ec.addPage())}));if(cd.file(`${Ms!=null&&Ms.student_id&&(Ms==null?void 0:Ms.student_id)!="--"?Ms.student_id+"+":""}${Ms==null?void 0:Ms.username}.pdf`,Dc.output("blob")),((Wu=Ms==null?void 0:Ms.shixun_detail)==null?void 0:Wu.length)>0&&((Zu=(gc=Ms==null?void 0:Ms.shixun_detail)==null?void 0:gc.filter(Nu=>{var Ec;return((Ec=Nu==null?void 0:Nu.game_codes)==null?void 0:Ec.length)>0}))==null?void 0:Zu.length)>0){const Nu=cd.folder("\u4EE3\u7801\u6587\u4EF6");(vc=Ms==null?void 0:Ms.shixun_detail)==null||vc.map((Ec,$u)=>{var Pu,Oc;if(((Pu=Ec==null?void 0:Ec.game_codes)==null?void 0:Pu.length)>0){const yd=Nu.folder(`\u7B2C${$u+1}\u5173-${Ec.subject}-${Ec.id}`);(Oc=Ec==null?void 0:Ec.game_codes)==null||Oc.map(nh=>{yd.file(`${nh.filename}.txt`,nh==null?void 0:nh.content)})}})}Bc.update({content:jn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",jn.createElement("span",{className:"c-blue"},_l),"/",Ms==null?void 0:Ms.students_count,jn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),_l==(Ms==null?void 0:Ms.students_count)?(Bc.destroy(),gd()):dl()}),2200)})}if(fi!=="all"||(Kn==null?void 0:Kn.students_count)<2){Hc(),Xc();const Gs=Or.current.children;let Ms=Bi()();const gc=Sc.folder(`${Kn==null?void 0:Kn.group_name}`).folder(`${Kn!=null&&Kn.student_id&&(Kn==null?void 0:Kn.student_id)!="--"?(Kn==null?void 0:Kn.student_id)+"+":""}${Kn==null?void 0:Kn.username}`);for(let Zu=0;Zu<Gs.length;Zu++)yield Ms.set(Lc).from(Gs[Zu]).toContainer().toCanvas().toPdf().get("pdf").then(vc=>as(void 0,null,function*(){Zu<Gs.length-1&&(yield vc.addPage())}));if(ca(!1),gc.file(`${Kn!=null&&Kn.student_id&&(Kn==null?void 0:Kn.student_id)!="--"?(Kn==null?void 0:Kn.student_id)+"+":""}${Kn.username}.pdf`,Ms.output("blob"),{base64:!1}),((To=Kn==null?void 0:Kn.shixun_detail)==null?void 0:To.length)>0&&((mu=(ds=Kn==null?void 0:Kn.shixun_detail)==null?void 0:ds.filter(Zu=>{var vc;return((vc=Zu==null?void 0:Zu.game_codes)==null?void 0:vc.length)>0}))==null?void 0:mu.length)>0){const Zu=gc.folder("\u4EE3\u7801\u6587\u4EF6");(gu=Kn==null?void 0:Kn.shixun_detail)==null||gu.map((vc,vd)=>{var cd,ac;if(((cd=vc==null?void 0:vc.game_codes)==null?void 0:cd.length)>0){const Dc=Zu.folder(`\u7B2C${vd+1}\u5173-${vc.subject}-${vc.id}`);(ac=vc==null?void 0:vc.game_codes)==null||ac.map(Nu=>{Dc.file(`${Nu.filename}.txt`,Nu==null?void 0:Nu.content)})}})}Bc.destroy(),gd();return}else dl(Kn==null?void 0:Kn.first_student_work_id)}),gd=()=>{wl.generateAsync({type:"blob"}).then(function(fi){console.log(Kn,"shixunWorkReport");const To=document.createElement("a");To.href=window.URL.createObjectURL(fi),To.download=(Kn==null?void 0:Kn.shixun_name)+".zip",document.body.appendChild(To);const ds=document.createEvent("MouseEvents");ds.initEvent("click",!1,!1),To.dispatchEvent(ds),document.body.removeChild(To),Vl(new(ve()))}),rr(!1)};(0,Me.useEffect)(()=>{uf()},[Mo.homeworkId]);const uf=()=>as(void 0,null,function*(){Wa(!0),yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}),nA(),(0,ht.GJ)()&&qu(),Wa(!1)}),ud=[{title:"\u5173\u5361",dataIndex:"name",render:(fi,To,ds)=>ds+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(fi,To,ds)=>jn.createElement("div",null,fi,To.complete_status===4&&jn.createElement(dt.vA,{status:To.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(fi,To,ds)=>fi||"- -"},{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:fi=>fi?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(fi,To)=>jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.myself_experience)!==parseFloat(fi)?"red":"green"}},To.myself_experience),"/",fi)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(fi,To)=>jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.game_score_full)!==parseFloat(fi)?"red":"green"}},fi),"/",To.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(fi,To)=>Fu?jn.createElement(dr,{max:To.game_score_full,defaultValue:parseFloat(fi),onBlur:ds=>as(void 0,null,function*(){var mu;if((0,ht.Rm)()&&!((mu=vi.AssistantObject.practice)!=null&&mu.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 gu=yield Ji({type:"shixunHomeworks/changeScore",payload:{categoryId:Mo.homeworkId,type:"report",score:ds,challenge_id:To.challenge_id}});ku({page:1,page_size:10},"all"),yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}),gu.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):fi}];let pA=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(fi,To,ds)=>({children:fi,props:{rowSpan:To.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(fi,To,ds)=>({children:fi,props:{rowSpan:To.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:(fi,To,ds)=>jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.actual_test_score)!==parseFloat(fi)?"red":"green"}},To.actual_test_score),"/",fi)},{title:"\u6307\u6807\u603B\u5206",render:(fi,To,ds)=>({children:jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.actual_target_score)!==parseFloat(fi)?"red":"green"}},To.actual_target_score),"/",fi),props:{rowSpan:To.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const lc=[{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:fi=>jn.createElement("span",null,fi?Oe()(fi).format("YYYY-MM-DD HH:mm"):"--")}],_d=fi=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{fi==="next"?He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${Kn==null?void 0:Kn.next_student_work_id}/comment`):He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${Kn==null?void 0:Kn.pre_student_work_id}/comment`)},200)},ki=fi=>{cl(""),fi.target.value&&(console.log("\u8FDB\u6765",Kn),fi.target.value=fi.target.value>Kn.repeat_setting_score?Kn.repeat_setting_score:fi.target.value,cl(fi.target.value))},lo=()=>as(void 0,null,function*(){const fi=yield(0,Ae.ZP)(`/api/student_works/${Kn==null?void 0:Kn.work_id}/update_repeat_score`,{method:"put",body:{score:mc}});yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}),fi.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return jn.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},jn.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},jn.createElement(Ke.Z,{loading:Ia["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},jn.createElement("div",{className:"edu-container"},Kn.course_id&&jn.createElement("section",{className:"animated fadeIn"},jn.createElement("aside",{className:""},Kn.category&&jn.createElement(Be.Z,{separator:">"},jn.createElement(Be.Z.Item,null,jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework`},Kn.course_name)),jn.createElement(Be.Z.Item,null,jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework/${Kn.category.main?"":Kn.category.category_id}`},Kn.category.category_name)),jn.createElement(Be.Z.Item,null,jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework/${Kn.homework_common_id}/detail${(0,ht.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),jn.createElement(Be.Z.Item,null,Kn.username))),jn.createElement("aside",{className:[on.title1,"mt20"].join(" ")},jn.createElement(Pe.Z,{align:"middle"},jn.createElement(Te.Z,{flex:1},jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework/${Kn.homework_common_id}/detail`},jn.createElement(Kt.Z,{className:"font16 c-black"})),jn.createElement("strong",{className:"font20 ml5"},Kn==null?void 0:Kn.homework_name),jn.createElement(dt.VV,{temporary:!0,status:Kn.homework_status})),jn.createElement(Te.Z,{className:on.title1_right},Kn.view_tpi&&jn.createElement(_e.ZP,{onClick:()=>{var fi,To;(0,dt.xg)(`/tasks/${Kn==null?void 0:Kn.course_id}/${Kn==null?void 0:Kn.homework_common_id}/${(To=(fi=Kn==null?void 0:Kn.shixun_detail)==null?void 0:fi[0])==null?void 0:To.game_identifier}`)}},jn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,ht.GJ)()&&Kn.homework_end===!1&&!!Kn.myshixun_id&&jn.createElement(_e.ZP,{className:"ml10",onClick:()=>as(void 0,null,function*(){yield Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Kn.myshixun_identifier},homework_common_id:Ss.categoryId}})})},jn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),jn.createElement(_e.ZP,{className:"ml10",onClick:()=>{var fi;if((0,ht.Rm)()&&!((fi=vi.AssistantObject.practice)!=null&&fi.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}kd("")},loading:Hi},jn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(Kn==null?void 0:Kn.students_count)>1&&jn.createElement(_e.ZP,{className:"ml10",onClick:()=>{var fi;if((0,ht.Rm)()&&!((fi=vi.AssistantObject.practice)!=null&&fi.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}xe.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:jn.createElement(Ne.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:jn.createElement(Ne.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:()=>{kd("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Wr.jj)({categoryId:Mo.categoryId,coursesId:Mo.coursesId},"shixun_report")}}})}},jn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),jn.createElement("aside",{className:"mt30 relative"})),jn.createElement("aside",{className:"edu-container bg-white",ref:li},jn.createElement("div",{id:"export-all",ref:Or},jn.createElement("div",{id:"export-all-1"},jn.createElement("div",{className:on.title},jn.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),jn.createElement("div",null,(0,ht.GJ)()&&jn.createElement(_e.ZP,{className:"mr20",type:"primary",onClick:()=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Kn.user_id,data:Js({},Kn)},fn:()=>ku({page:1,page_size:10},"all")}})}},jn.createElement(We.Z,null),Kn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),jn.createElement(ke.Z,{style:{marginTop:0}}),jn.createElement(Pe.Z,{className:"pl30 pr30"},jn.createElement(Te.Z,null,jn.createElement("img",{className:on.userPic,src:`${rt.Z.IMG_SERVER}/images/${Kn.image_url}`,alt:Kn.username})),jn.createElement(Te.Z,null,jn.createElement("span",{className:"font16 ml40"},Kn.username),jn.createElement(dt.vA,{status:Kn.compelete_status}),jn.createElement("ul",{className:on.userInfo},jn.createElement("li",null,"\u5B66\u53F7\uFF1A",Kn.student_id||"--"),jn.createElement("li",null,"\u5206\u73ED\uFF1A",Kn.group_name||"--"),jn.createElement("br",null),jn.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",jn.createElement("span",{className:"c-red"},Kn.complete_count),"/",jn.createElement("span",{className:"c-red"},Kn.challenges_count)),jn.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",jn.createElement("span",{className:"c-red"},Kn.current_complete_count||"-"),"/",jn.createElement("span",{className:"c-red"},Kn.challenges_count)),jn.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",Kn&&Kn.efficiency===null?"--":Kn&&Kn.efficiency),jn.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",Kn&&Kn.max_efficiency===null?"--":Kn&&Kn.max_efficiency))),jn.createElement("ul",{className:[on.listItem,"mt10"].join(" ")},jn.createElement("li",null,jn.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),jn.createElement("div",{className:"c-light-black mt20"},Kn&&Kn.passed_time===null||Kn&&Kn.passed_time==="--"?"--":Oe()(Kn&&Kn.passed_time).format("YYYY-MM-DD HH:mm"))),jn.createElement("li",null,jn.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",jn.createElement("i",{onClick:fi=>{fi.stopPropagation(),fi.preventDefault(),Tl(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),jn.createElement("div",{className:"c-light-black mt20"},Kn==null?void 0:Kn.human_training_time_rules)),jn.createElement("li",null,jn.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",jn.createElement("i",{onClick:fi=>{fi.stopPropagation(),fi.preventDefault(),Wo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),jn.createElement("div",{className:"c-light-black mt20"},Kn.time_consuming)),jn.createElement("li",null,jn.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),jn.createElement("div",{className:"mt20"},Kn.evaluate_count)),(Kn==null?void 0:Kn.eff_score_full)&&jn.createElement(jn.Fragment,null,jn.createElement("li",null,jn.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},Kn.challenge_score),"/",jn.createElement("span",{className:"c-light-black"},Kn.challenge_score_full))),jn.createElement("li",null,jn.createElement("strong",null,"\u6548\u7387\u5206"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},Kn.eff_score),"/",jn.createElement("span",{className:"c-light-black"},Kn.eff_score_full)))),(Kn==null?void 0:Kn.have_repeat)&&(Kn==null?void 0:Kn.repeat_minus_score)!==0&&jn.createElement("li",{style:{position:"relative"}},jn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},jn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),jn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},Kn!=null&&Kn.review_rate?jn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(Kn!=null&&Kn.review_id&&ys)localStorage.setItem("studentDetial",window.location.pathname),He.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Mo.categoryId}/review_detail/${Kn==null?void 0:Kn.review_id}`});else return}},Kn.review_rate.toFixed(1),"%"):jn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),ys?jn.createElement("div",{className:"mt20"},jn.createElement(Qe.default,{style:{width:"45px",height:"22px"},value:mc,onChange:fi=>{ki(fi)},onBlur:lo,disabled:Xl})," / ",Kn==null?void 0:Kn.repeat_setting_score):jn.createElement("div",{className:"mt20"},Kn==null?void 0:Kn.repeat_minus_score," / ",Kn==null?void 0:Kn.repeat_setting_score)),console.log("sssssssssssssssssssssss",Kn==null?void 0:Kn.have_repeat,Kn==null?void 0:Kn.repeat_minus_score),(Kn==null?void 0:Kn.have_repeat)&&(Kn==null?void 0:Kn.repeat_minus_score)===0&&jn.createElement("li",null,jn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),jn.createElement("div",{className:"mt20"}," - -")),!(Kn!=null&&Kn.have_repeat)&&jn.createElement("li",null,jn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),jn.createElement("div",{className:"mt20"}," - -")),jn.createElement("li",null,jn.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),jn.createElement("div",{className:"mt20"},jn.createElement("span",null,Kn.late_penalty||"- -"))),jn.createElement("li",null,jn.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},kl),"/",jn.createElement("span",{className:"c-light-black"},Kn.all_work_score))),jn.createElement("li",null,jn.createElement("strong",null,"\u603B\u8BC4"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},Kn.overall_appraisal))))),jn.createElement(ke.Z,{style:{margin:0}}),(Kn.work_comment_hidden||Kn.work_comment)&&jn.createElement("div",null,jn.createElement(Pe.Z,{align:"middle"},jn.createElement(Te.Z,{flex:1},jn.createElement("h1",{className:on.title},"\u70B9\u8BC4\u5185\u5BB9")),jn.createElement(Te.Z,{className:"pr30"},(0,ht.GJ)()&&jn.createElement(_e.ZP,{onClick:()=>as(void 0,null,function*(){xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:jn.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return as(this,null,function*(){(yield(0,fr.gZ)({comment_id:Kn.comment_id,homeworkId:Mo.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}))})}})})},jn.createElement(et.Z,null),"\u5220\u9664"))),jn.createElement(ke.Z,{style:{margin:0}}),Kn.work_comment&&jn.createElement("aside",{className:"pl30 pr30 mt20"},jn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),jn.createElement("br",null),jn.createElement(Sr.Z,{value:Kn.work_comment})),Kn.work_comment_hidden&&jn.createElement("aside",{className:"pl30 pr30 mt20"},jn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),jn.createElement("br",null),jn.createElement(Sr.Z,{value:Kn.work_comment_hidden}))),(Kn==null?void 0:Kn.action_analysis)&&jn.createElement(vo,{detailData:Kn}),jn.createElement("div",{className:on.score},jn.createElement("h1",{className:on.title},"\u9636\u6BB5\u6210\u7EE9"),(Kn==null?void 0:Kn.adjust_review_score_count)>0&&(0,ht.GJ)()&&jn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{zu(!0),ku({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Kn==null?void 0:Kn.adjust_review_score_count,"\u6B21\uFF09")),jn.createElement("aside",{className:"pl30 pr30"},jn.createElement(Ye.default,{dataSource:Kn.stage_list,rowKey:fi=>fi==null?void 0:fi.challenge_id,pagination:!1,columns:ud})),((Vo=Kn==null?void 0:Kn.target_test_sets)==null?void 0:Vo.length)>0&&jn.createElement("div",null,jn.createElement("h1",{className:on.title},"\u6307\u6807\u6210\u7EE9"),jn.createElement("aside",{className:"pl30 pr30"},jn.createElement(Ye.default,{dataSource:Ja,rowKey:fi=>fi==null?void 0:fi.challenge_id,pagination:!1,bordered:!0,columns:pA}))),(Kn==null?void 0:Kn.work_description)&&jn.createElement(jn.Fragment,null,jn.createElement("h1",{className:on.title},"\u4E2A\u4EBA\u603B\u7ED3"),jn.createElement("aside",{className:"pl30 pr30"},jn.createElement(Sr.Z,{value:Kn==null?void 0:Kn.work_description}))),jn.createElement("h1",{className:on.title},"\u56FE\u5F62\u7EDF\u8BA1"),jn.createElement(nr,{data:wr}),jn.createElement("h1",{className:on.title},"\u5B9E\u8BAD\u8BE6\u60C5")),jn.createElement(oo,{autoHeight:so}))),(0,ht.GJ)()&&jn.createElement("aside",{className:`${on.footerBar} ${Hi?on.footerBarStatic:""}`},jn.createElement("aside",{className:"edu-container"},jn.createElement(Pe.Z,{align:"middle"},jn.createElement(Te.Z,{flex:"1"},jn.createElement(He.Link,{className:on.exitComment,to:`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),jn.createElement(Te.Z,{flex:"1",className:"tr"},jn.createElement(_e.ZP,{type:"default",disabled:!(Kn!=null&&Kn.pre_student_work_id),onClick:()=>_d()},"\u4E0A\u4E00\u4E2A"),jn.createElement(_e.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(Kn!=null&&Kn.next_student_work_id),onClick:()=>_d("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&jn.createElement(_e.ZP,{type:"primary",onClick:()=>as(void 0,null,function*(){Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Kn.user_id,data:Js({},Kn)},fn:()=>ku({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),jn.createElement(Ha,null),jn.createElement(Oa.Z,null),jn.createElement(xe.default,{open:Pl,width:860,centered:!0,onCancel:()=>{Tl(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},jn.createElement("div",{style:{color:"#333333",fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),jn.createElement("br",null),jn.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"),jn.createElement("br",null),jn.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"),jn.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 "),jn.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")),jn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),jn.createElement("br",null),jn.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 "),jn.createElement("br",null),jn.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"),jn.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 "),jn.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"),jn.createElement("br",null),jn.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")),jn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),jn.createElement("br",null),jn.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")),jn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),jn.createElement("br",null),jn.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"))),jn.createElement(xe.default,{open:ml,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Wo(!1)},width:600},jn.createElement("div",{style:{fontWeight:400,color:"#333333"}},jn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",jn.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"),jn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",jn.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"),jn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",jn.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"))),jn.createElement(xe.default,{open:js,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{nu("all"),zu(!1)},destroyOnClose:!0,width:900},jn.createElement("div",{style:{fontWeight:400,color:"#333333"}},jn.createElement("div",null,jn.createElement("span",null,"\u5173\u5361\uFF1A"),jn.createElement(ze.default,{style:{width:300},value:eu,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:fi=>as(void 0,null,function*(){nu(fi),ku({page:1,page_size:10},fi)})},jn.createElement(ze.default.Option,{value:"all"}," \u5168\u90E8 "),(cs=Kn==null?void 0:Kn.stage_list)==null?void 0:cs.map((fi,To)=>jn.createElement(ze.default.Option,{key:To,value:fi==null?void 0:fi.challenge_id},"\u7B2C",(0,dt.EM)(To+1),"\u5173")))),jn.createElement("div",{className:"mt20"},jn.createElement(Ye.default,{dataSource:ka,rowKey:fi=>fi==null?void 0:fi.id,pagination:!1,columns:lc,loading:Ki})),jn.createElement("div",{className:on.footer},jn.createElement("div",null,jn.createElement("span",{style:{color:"#656F87"}},"\u5171",jn.createElement("span",{className:"c-light-primary"},qs),"\u6761\u6570\u636E")),jn.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(vr==null?void 0:vr.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:qs,onChange:Jl})))))};var fa=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In,loading:Er,globalSetting:vi,user:ha})=>({shixunHomeworks:Ln,classroomList:In,globalSetting:vi,loading:Er.effects,user:ha}))(ol);const la=({globalSetting:Ln})=>{var In;switch(Number((In=Ln==null?void 0:Ln.setting)==null?void 0:In.theme)){case he.Fy.THEMEONE:return Me.createElement(Wt,null);case he.Fy.DEFAULT:default:return Me.createElement(fa,null)}};var ia=(0,He.connect)(({globalSetting:Ln})=>({globalSetting:Ln}))(la)},59579:function(Qn,Yt,de){"use strict";var he=de(43418),Me=de(8591),He=de(79769),ft=de(91482),Oe=de(7544),Le=de(59301),ve=(xe,fe,Ke)=>new Promise((Be,_e)=>{var Ne=Pe=>{try{ke(Ke.next(Pe))}catch(Te){_e(Te)}},Qe=Pe=>{try{ke(Ke.throw(Pe))}catch(Te){_e(Te)}},ke=Pe=>Pe.done?Be(Pe.value):Promise.resolve(Pe.value).then(Ne,Qe);ke((Ke=Ke.apply(xe,fe)).next())});const Ae=({shixunHomeworks:xe,classroomList:fe,dispatch:Ke})=>{const Be=(0,ft.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Ne,Qe,ke;if((0,Oe.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 Pe=yield(0,He.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(Pe.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ke({type:"shixunHomeworks/setActionTabs",payload:{}});const Te=(Qe=(Ne=Pe==null?void 0:Pe.new_works)==null?void 0:Ne.find(Ye=>`${Ye.homework_common_id}`===Be.categoryId))==null?void 0:Qe.id;if((0,Oe.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;ft.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Te}/comment`)}}),onCancel:()=>{Ke({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?"))};Yt.Z=(0,ft.connect)(({shixunHomeworks:xe,classroomList:fe})=>({shixunHomeworks:xe,classroomList:fe}))(Ae)},96798:function(Qn,Yt,de){"use strict";de.d(Yt,{AD:function(){return Ht},BA:function(){return Fe},D9:function(){return Ue},Hp:function(){return Ze},IM:function(){return Xt},Iy:function(){return et},KM:function(){return Se},KU:function(){return An},MJ:function(){return rt},Ne:function(){return at},ON:function(){return dn},Uj:function(){return mn},VY:function(){return Qt},YO:function(){return Cn},YX:function(){return Gn},Zn:function(){return Qe},_g:function(){return ze},_k:function(){return wt},c6:function(){return Lt},cr:function(){return ke},eV:function(){return Re},fi:function(){return Pe},gh:function(){return Ct},hS:function(){return Vt},iA:function(){return Te},j6:function(){return qe},je:function(){return Tt},jj:function(){return We},kS:function(){return Tn},o6:function(){return Xe},pO:function(){return Bn},rQ:function(){return Et},sA:function(){return dt},xm:function(){return it},xo:function(){return xt},y8:function(){return bt},yd:function(){return Ye}});var he=de(20996),Me=de(91482),He=de(25544),ft=de(8591),Oe=de(6521),Le=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,fe=(ie,ae,se)=>ae in ie?Le(ie,ae,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ae]=se,Ke=(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))xe.call(ae,se)&&fe(ie,se,ae[se]);return ie},Be=(ie,ae,se)=>new Promise((oe,Je)=>{var vt=Pt=>{try{lt(se.next(Pt))}catch(_t){Je(_t)}},$e=Pt=>{try{lt(se.throw(Pt))}catch(_t){Je(_t)}},lt=Pt=>Pt.done?oe(Pt.value):Promise.resolve(Pt.value).then(vt,$e);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..."}})},Ne=()=>{(0,Me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},Qe=ie=>Be(void 0,null,function*(){_e(),(yield(0,he.YR)(Ke({},ie))).status===0&&(yield(0,He.QH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_couser_info.json`,query:ie}))),Ne()}),ke=ie=>Be(void 0,null,function*(){const ae=yield(0,he.yS)(Ke({},ie));if(ae.status===0)ft.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`))}}),Pe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.W0)(Ke({},ie));if(ae.status===0)ft.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`))}}),Te=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Nl)(Ke({},ie));if(ae.status===0)ft.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`))}}),Ye=ie=>Be(void 0,null,function*(){const ae=yield(0,he.IU)(Ke({},ie));if(ae.status===0)ft.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`))}}),ze=ie=>Be(void 0,null,function*(){const ae=yield(0,he.td)(Ke({},ie));if(ae.status===0)ft.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)(Ke({},ie));if(ae.status===0)ft.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_)(Ke({},ie));se.status===0?(ft.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)(Ke({},ie));se.status===0?(ft.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}`))}),et=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.aP)(Ke({},ie));se.status===0?(ft.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)(Ke({},ie));se.status===0?(ft.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(Ke({},ie))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ie.categoryId}/works_list.zip`,query:ie}))),Ne()}),dt=ie=>Be(void 0,null,function*(){_e(),yield(0,He.QH)("",Oe.Z.API_SERVER+`/api/polls/${ie.categoryId}/commit_result.xlsx`),Ne()}),Ct=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/attendances/export_xlsx_data.xlsx`,query:ie}))}),Xe=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/video_study_statics.xlsx`,query:ie}))}),Lt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_video_study.xlsx`,query:ie}))}),Re=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_course_students_info.xlsx`,query:ie}))}),Ht=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ie}))}),Et=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ie}))}),bt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ie}))}),Tt=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Uy)(Ke({},ie));ae.status===0?(ft.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,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/export_records/${ie.id}.xlsx`,query:ie}))}),it=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ie}))}),Ue=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.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,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_training_objectives.xlsx`,query:ie}))}),Xt=ie=>Be(void 0,null,function*(){yield(0,He.FH)(ie==null?void 0:ie.name,(0,He.NY)({url:Oe.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ie}))}),Vt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_courses.xlsx`,query:ie}))}),xt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.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,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ie}))}),An=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/exercises/${ie.categoryId}/rank_list.xlsx`,query:ie}))}),Tn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ie}))}),dn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/examination_banks/${ie.id}.json`,query:ie}))}),Gn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/exercises/${ie.categoryId}.json`,query:ie}))}),Cn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/polls/${ie==null?void 0:ie.id}/commit_result.json`,query:ie}))}),mn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ie}))}),Bn=(ie,ae)=>Be(void 0,null,function*(){yield(0,He.FH)(ae||"",(0,He.NY)({url:Oe.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,He.FH)("",(0,He.NY)({url:Oe.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,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie==null?void 0:ie.coursesId}/group_homeworks/import_group_template.xlsx`,query:ie}))})},87001:function(Qn,Yt,de){"use strict";de.d(Yt,{U:function(){return xe}});var he=de(59301),Me=Object.defineProperty,He=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Le=(fe,Ke,Be)=>Ke in fe?Me(fe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Be}):fe[Ke]=Be,ve=(fe,Ke)=>{for(var Be in Ke||(Ke={}))ft.call(Ke,Be)&&Le(fe,Be,Ke[Be]);if(He)for(var Be of He(Ke))Oe.call(Ke,Be)&&Le(fe,Be,Ke[Be]);return fe},Ae=(fe,Ke,Be)=>new Promise((_e,Ne)=>{var Qe=Te=>{try{Pe(Be.next(Te))}catch(Ye){Ne(Ye)}},ke=Te=>{try{Pe(Be.throw(Te))}catch(Ye){Ne(Ye)}},Pe=Te=>Te.done?_e(Te.value):Promise.resolve(Te.value).then(Qe,ke);Pe((Be=Be.apply(fe,Ke)).next())});function xe(fe,Ke){const[Be,_e]=(0,he.useState)(Ke),[Ne,Qe]=(0,he.useState)(!1),[ke,Pe]=(0,he.useState)();return[Be,Ne,(Ye,ze=!1)=>Ae(this,null,function*(){const qe=ze?Ke:ve(ve({},Be),Ye);Qe(!0),_e(qe);const We=yield fe(qe);return Qe(!1),Pe(We),We}),ke]}},50371:function(Qn,Yt){"use strict";function de(){const he=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Me=1;Me<arguments.length;Me++){const He=Me<0||arguments.length<=Me?void 0:arguments[Me];He&&Object.keys(He).forEach(ft=>{const Oe=He[ft];Oe!==void 0&&(he[ft]=Oe)})}return he}Yt.Z=de},13845:function(Qn,Yt,de){"use strict";de.d(Yt,{F:function(){return he},Z:function(){return Me}});function he(He){return He!=null&&He===He.window}function Me(He,ft){var Oe,Le;if(typeof window=="undefined")return 0;const ve=ft?"scrollTop":"scrollLeft";let Ae=0;return he(He)?Ae=He[ft?"pageYOffset":"pageXOffset"]:He instanceof Document?Ae=He.documentElement[ve]:(He instanceof HTMLElement||He)&&(Ae=He[ve]),He&&!he(He)&&typeof Ae!="number"&&(Ae=(Le=((Oe=He.ownerDocument)!==null&&Oe!==void 0?Oe:He).documentElement)===null||Le===void 0?void 0:Le[ve]),Ae}},56762:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});var he=de(59301);function Me(){const[,He]=he.useReducer(ft=>ft+1,0);return He}},68031:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return ft}});var he=de(16089);function Me(Oe,Le,ve,Ae){const xe=ve-Le;return Oe/=Ae/2,Oe<1?xe/2*Oe*Oe*Oe+Le:xe/2*((Oe-=2)*Oe*Oe+2)+Le}var He=de(13845);function ft(Oe){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:Ae,duration:xe=450}=Le,fe=ve(),Ke=(0,He.Z)(fe,!0),Be=Date.now(),_e=()=>{const Qe=Date.now()-Be,ke=Me(Qe>xe?xe:Qe,Ke,Oe,xe);(0,He.F)(fe)?fe.scrollTo(window.pageXOffset,ke):fe instanceof Document||fe.constructor.name==="HTMLDocument"?fe.documentElement.scrollTop=ke:fe.scrollTop=ke,Qe<xe?(0,he.Z)(_e):typeof Ae=="function"&&Ae()};(0,he.Z)(_e)}},19080:function(Qn,Yt,de){"use strict";de.d(Yt,{F:function(){return Oe},Z:function(){return ft}});var he=de(92310),Me=de.n(he);const He=null;function ft(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 Oe=(Le,ve)=>ve||Le},66104:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ht}});var he=de(92310),Me=de.n(he),He=de(11592),ft=de(26112),Oe=de(59301),Le=de(92343),ve=de(36355),Ae=de(84105),xe=de(91857);const fe=Et=>{let{children:bt}=Et;const{getPrefixCls:Tt}=Oe.useContext(ve.E_),wt=Tt("breadcrumb");return Oe.createElement("li",{className:`${wt}-separator`,"aria-hidden":"true"},bt===""?bt:bt||"/")};fe.__ANT_BREADCRUMB_SEPARATOR=!0;var Ke=fe,Be=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Et,wt[it])&&(Tt[wt[it]]=Et[wt[it]]);return Tt};function _e(Et,bt){if(Et.title===void 0||Et.title===null)return null;const Tt=Object.keys(bt).join("|");return typeof Et.title=="object"?Et.title:String(Et.title).replace(new RegExp(`:(${Tt})`,"g"),(wt,it)=>bt[it]||wt)}function Ne(Et,bt,Tt,wt){if(Tt==null)return null;const{className:it,onClick:Ue}=bt,at=Be(bt,["className","onClick"]),Xt=Object.assign(Object.assign({},(0,ft.Z)(at,{data:!0,aria:!0})),{onClick:Ue});return wt!==void 0?Oe.createElement("a",Object.assign({},Xt,{className:Me()(`${Et}-link`,it),href:wt}),Tt):Oe.createElement("span",Object.assign({},Xt,{className:Me()(`${Et}-link`,it)}),Tt)}function Qe(Et,bt){return(wt,it,Ue,at,Xt)=>{if(bt)return bt(wt,it,Ue,at);const Vt=_e(wt,it);return Ne(Et,wt,Vt,Xt)}}var ke=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Et,wt[it])&&(Tt[wt[it]]=Et[wt[it]]);return Tt};const Pe=Et=>{const{prefixCls:bt,separator:Tt="/",children:wt,menu:it,overlay:Ue,dropdownProps:at,href:Xt}=Et,xt=(Qt=>{if(it||Ue){const An=Object.assign({},at);if(it){const Tn=it||{},{items:dn}=Tn,Gn=ke(Tn,["items"]);An.menu=Object.assign(Object.assign({},Gn),{items:dn==null?void 0:dn.map((Cn,mn)=>{var{key:Bn,title:Se,label:Fe,path:ie}=Cn,ae=ke(Cn,["key","title","label","path"]);let se=Fe!=null?Fe:Se;return ie&&(se=Oe.createElement("a",{href:`${Xt}${ie}`},se)),Object.assign(Object.assign({},ae),{key:Bn!=null?Bn:mn,label:se})})})}else Ue&&(An.overlay=Ue);return Oe.createElement(xe.Z,Object.assign({placement:"bottom"},An),Oe.createElement("span",{className:`${bt}-overlay-link`},Qt,Oe.createElement(Ae.Z,null)))}return Qt})(wt);return xt!=null?Oe.createElement(Oe.Fragment,null,Oe.createElement("li",null,xt),Tt&&Oe.createElement(Ke,null,Tt)):null},Te=Et=>{const{prefixCls:bt,children:Tt,href:wt}=Et,it=ke(Et,["prefixCls","children","href"]),{getPrefixCls:Ue}=Oe.useContext(ve.E_),at=Ue("breadcrumb",bt);return Oe.createElement(Pe,Object.assign({},it,{prefixCls:at}),Ne(at,it,Tt,wt))};Te.__ANT_BREADCRUMB_ITEM=!0;var Ye=Te,ze=de(17313),qe=de(83116),We=de(37613);const Ze=Et=>{const{componentCls:bt,iconCls:Tt}=Et;return{[bt]:Object.assign(Object.assign({},(0,ze.Wf)(Et)),{color:Et.itemColor,fontSize:Et.fontSize,[Tt]:{fontSize:Et.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Et.linkColor,transition:`color ${Et.motionDurationMid}`,padding:`0 ${Et.paddingXXS}px`,borderRadius:Et.borderRadiusSM,height:Et.lineHeight*Et.fontSize,display:"inline-block",marginInline:-Et.marginXXS,"&:hover":{color:Et.linkHoverColor,backgroundColor:Et.colorBgTextHover}},(0,ze.Qy)(Et)),"li:last-child":{color:Et.lastItemColor},[`${bt}-separator`]:{marginInline:Et.separatorMargin,color:Et.separatorColor},[`${bt}-link`]:{[`
> ${Tt} + span,
> ${Tt} + a
`]:{marginInlineStart:Et.marginXXS}},[`${bt}-overlay-link`]:{borderRadius:Et.borderRadiusSM,height:Et.lineHeight*Et.fontSize,display:"inline-block",padding:`0 ${Et.paddingXXS}px`,marginInline:-Et.marginXXS,[`> ${Tt}`]:{marginInlineStart:Et.marginXXS,fontSize:Et.fontSizeIcon},"&:hover":{color:Et.linkHoverColor,backgroundColor:Et.colorBgTextHover,a:{color:Et.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Et.componentCls}-rtl`]:{direction:"rtl"}})}};var et=(0,qe.Z)("Breadcrumb",Et=>{const bt=(0,We.TS)(Et,{});return[Ze(bt)]},Et=>({itemColor:Et.colorTextDescription,lastItemColor:Et.colorText,iconFontSize:Et.fontSize,linkColor:Et.colorTextDescription,linkHoverColor:Et.colorText,separatorColor:Et.colorTextDescription,separatorMargin:Et.marginXS})),rt=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Et,wt[it])&&(Tt[wt[it]]=Et[wt[it]]);return Tt};function ht(Et){const{breadcrumbName:bt,children:Tt}=Et,wt=rt(Et,["breadcrumbName","children"]),it=Object.assign({title:bt},wt);return Tt&&(it.menu={items:Tt.map(Ue=>{var{breadcrumbName:at}=Ue,Xt=rt(Ue,["breadcrumbName"]);return Object.assign(Object.assign({},Xt),{title:at})})}),it}function dt(Et,bt){return(0,Oe.useMemo)(()=>Et||(bt?bt.map(ht):null),[Et,bt])}var Ct=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);it<wt.length;it++)bt.indexOf(wt[it])<0&&Object.prototype.propertyIsEnumerable.call(Et,wt[it])&&(Tt[wt[it]]=Et[wt[it]]);return Tt};const Xe=(Et,bt)=>{if(bt===void 0)return bt;let Tt=(bt||"").replace(/^\//,"");return Object.keys(Et).forEach(wt=>{Tt=Tt.replace(`:${wt}`,Et[wt])}),Tt},Lt=Et=>{const{prefixCls:bt,separator:Tt="/",style:wt,className:it,rootClassName:Ue,routes:at,items:Xt,children:Vt,itemRender:xt,params:Qt={}}=Et,An=Ct(Et,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Tn,direction:dn,breadcrumb:Gn}=Oe.useContext(ve.E_);let Cn;const mn=Tn("breadcrumb",bt),[Bn,Se]=et(mn),Fe=dt(Xt,at),ie=Qe(mn,xt);if(Fe&&Fe.length>0){const oe=[],Je=Xt||at;Cn=Fe.map((vt,$e)=>{const{path:lt,key:Pt,type:_t,menu:kt,overlay:$t,onClick:Sn,className:St,separator:nn,dropdownProps:tn}=vt,jt=Xe(Qt,lt);jt!==void 0&&oe.push(jt);const pt=Pt!=null?Pt:$e;if(_t==="separator")return Oe.createElement(Ke,{key:pt},nn);const Zt={},gn=$e===Fe.length-1;kt?Zt.menu=kt:$t&&(Zt.overlay=$t);let{href:wn}=vt;return oe.length&&jt!==void 0&&(wn=`#/${oe.join("/")}`),Oe.createElement(Pe,Object.assign({key:pt},Zt,(0,ft.Z)(vt,{data:!0,aria:!0}),{className:St,dropdownProps:tn,href:wn,separator:gn?"":Tt,onClick:Sn,prefixCls:mn}),ie(vt,Qt,Je,oe,wn))})}else if(Vt){const oe=(0,He.Z)(Vt).length;Cn=(0,He.Z)(Vt).map((Je,vt)=>{if(!Je)return Je;const $e=vt===oe-1;return(0,Le.Tm)(Je,{separator:$e?"":Tt,key:vt})})}const ae=Me()(mn,Gn==null?void 0:Gn.className,{[`${mn}-rtl`]:dn==="rtl"},it,Ue,Se),se=Object.assign(Object.assign({},Gn==null?void 0:Gn.style),wt);return Bn(Oe.createElement("nav",Object.assign({className:ae,style:se},An),Oe.createElement("ol",null,Cn)))};Lt.Item=Ye,Lt.Separator=Ke;var Re=Lt,Ht=Re},24905:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return et}});var he=de(92310),Me=de.n(he),He=de(5630),ft=de(59301),Oe=de(36355),Le=de(1684),ve=de(32441),xe=ft.createContext(null),fe=de(98447),Ke=de(14088),Be=de(4572),_e=function(rt,ht){var dt={};for(var Ct in rt)Object.prototype.hasOwnProperty.call(rt,Ct)&&ht.indexOf(Ct)<0&&(dt[Ct]=rt[Ct]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Ct=Object.getOwnPropertySymbols(rt);Xe<Ct.length;Xe++)ht.indexOf(Ct[Xe])<0&&Object.prototype.propertyIsEnumerable.call(rt,Ct[Xe])&&(dt[Ct[Xe]]=rt[Ct[Xe]]);return dt};const Ne=(rt,ht)=>{var dt;const{prefixCls:Ct,className:Xe,rootClassName:Lt,children:Re,indeterminate:Ht=!1,style:Et,onMouseEnter:bt,onMouseLeave:Tt,skipGroup:wt=!1,disabled:it}=rt,Ue=_e(rt,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Xt,checkbox:Vt}=ft.useContext(Oe.E_),xt=ft.useContext(xe),{isFormItemInput:Qt}=ft.useContext(ve.aM),An=ft.useContext(Le.Z),Tn=(dt=(xt==null?void 0:xt.disabled)||it)!==null&&dt!==void 0?dt:An,dn=ft.useRef(Ue.value);ft.useEffect(()=>{xt==null||xt.registerValue(Ue.value)},[]),ft.useEffect(()=>{if(!wt)return Ue.value!==dn.current&&(xt==null||xt.cancelValue(dn.current),xt==null||xt.registerValue(Ue.value),dn.current=Ue.value),()=>xt==null?void 0:xt.cancelValue(Ue.value)},[Ue.value]);const Gn=at("checkbox",Ct),[Cn,mn]=(0,fe.ZP)(Gn),Bn=Object.assign({},Ue);xt&&!wt&&(Bn.onChange=function(){Ue.onChange&&Ue.onChange.apply(Ue,arguments),xt.toggleOption&&xt.toggleOption({label:Re,value:Ue.value})},Bn.name=xt.name,Bn.checked=xt.value.includes(Ue.value));const Se=Me()(`${Gn}-wrapper`,{[`${Gn}-rtl`]:Xt==="rtl",[`${Gn}-wrapper-checked`]:Bn.checked,[`${Gn}-wrapper-disabled`]:Tn,[`${Gn}-wrapper-in-form-item`]:Qt},Vt==null?void 0:Vt.className,Xe,Lt,mn),Fe=Me()({[`${Gn}-indeterminate`]:Ht},Be.A,mn),ie=Ht?"mixed":void 0;return Cn(ft.createElement(Ke.Z,{component:"Checkbox",disabled:Tn},ft.createElement("label",{className:Se,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),Et),onMouseEnter:bt,onMouseLeave:Tt},ft.createElement(He.Z,Object.assign({"aria-checked":ie},Bn,{prefixCls:Gn,className:Fe,disabled:Tn,ref:ht})),Re!==void 0&&ft.createElement("span",null,Re))))};var ke=ft.forwardRef(Ne),Pe=de(77654),Te=de(2738),Ye=function(rt,ht){var dt={};for(var Ct in rt)Object.prototype.hasOwnProperty.call(rt,Ct)&&ht.indexOf(Ct)<0&&(dt[Ct]=rt[Ct]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Ct=Object.getOwnPropertySymbols(rt);Xe<Ct.length;Xe++)ht.indexOf(Ct[Xe])<0&&Object.prototype.propertyIsEnumerable.call(rt,Ct[Xe])&&(dt[Ct[Xe]]=rt[Ct[Xe]]);return dt};const ze=(rt,ht)=>{const{defaultValue:dt,children:Ct,options:Xe=[],prefixCls:Lt,className:Re,rootClassName:Ht,style:Et,onChange:bt}=rt,Tt=Ye(rt,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:wt,direction:it}=ft.useContext(Oe.E_),[Ue,at]=ft.useState(Tt.value||dt||[]),[Xt,Vt]=ft.useState([]);ft.useEffect(()=>{"value"in Tt&&at(Tt.value||[])},[Tt.value]);const xt=ft.useMemo(()=>Xe.map(ae=>typeof ae=="string"||typeof ae=="number"?{label:ae,value:ae}:ae),[Xe]),Qt=ae=>{Vt(se=>se.filter(oe=>oe!==ae))},An=ae=>{Vt(se=>[].concat((0,Pe.Z)(se),[ae]))},Tn=ae=>{const se=Ue.indexOf(ae.value),oe=(0,Pe.Z)(Ue);se===-1?oe.push(ae.value):oe.splice(se,1),"value"in Tt||at(oe),bt==null||bt(oe.filter(Je=>Xt.includes(Je)).sort((Je,vt)=>{const $e=xt.findIndex(Pt=>Pt.value===Je),lt=xt.findIndex(Pt=>Pt.value===vt);return $e-lt}))},dn=wt("checkbox",Lt),Gn=`${dn}-group`,[Cn,mn]=(0,fe.ZP)(dn),Bn=(0,Te.Z)(Tt,["value","disabled"]),Se=Xe.length?xt.map(ae=>ft.createElement(ke,{prefixCls:dn,key:ae.value.toString(),disabled:"disabled"in ae?ae.disabled:Tt.disabled,value:ae.value,checked:Ue.includes(ae.value),onChange:ae.onChange,className:`${Gn}-item`,style:ae.style,title:ae.title},ae.label)):Ct,Fe={toggleOption:Tn,value:Ue,disabled:Tt.disabled,name:Tt.name,registerValue:An,cancelValue:Qt},ie=Me()(Gn,{[`${Gn}-rtl`]:it==="rtl"},Re,Ht,mn);return Cn(ft.createElement("div",Object.assign({className:ie,style:Et},Bn,{ref:ht}),ft.createElement(xe.Provider,{value:Fe},Se)))},qe=ft.forwardRef(ze);var We=ft.memo(qe);const Ze=ke;Ze.Group=We,Ze.__ANT_CHECKBOX=!0;var et=Ze},98447:function(Qn,Yt,de){"use strict";de.d(Yt,{C2:function(){return Oe}});var he=de(17313),Me=de(37613),He=de(83116);const ft=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 Oe(Le,ve){const Ae=(0,Me.TS)(ve,{checkboxCls:`.${Le}`,checkboxSize:ve.controlInteractiveSize});return[ft(Ae)]}Yt.ZP=(0,He.Z)("Checkbox",(Le,ve)=>{let{prefixCls:Ae}=ve;return[Oe(Ae,Le)]})},93891:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(36355),He=de(64165);const ft=Oe=>{const{componentName:Le}=Oe,{getPrefixCls:ve}=(0,he.useContext)(Me.E_),Ae=ve("empty");switch(Le){case"Table":case"List":return he.createElement(He.Z,{image:He.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return he.createElement(He.Z,{image:He.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ae}-small`});default:return he.createElement(He.Z,null)}};Yt.Z=ft},28103:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Be}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(17313),Le=de(83116),ve=de(37613);const Ae=_e=>{const{componentCls:Ne,sizePaddingEdgeHorizontal:Qe,colorSplit:ke,lineWidth:Pe,textPaddingInline:Te,orientationMargin:Ye,verticalMarginInline:ze}=_e;return{[Ne]:Object.assign(Object.assign({},(0,Oe.Wf)(_e)),{borderBlockStart:`${Pe}px solid ${ke}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ze,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Pe}px solid ${ke}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${_e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Ne}-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:`${Pe}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Ne}-with-text-left`]:{"&::before":{width:`${Ye*100}%`},"&::after":{width:`${100-Ye*100}%`}},[`&-horizontal${Ne}-with-text-right`]:{"&::before":{width:`${100-Ye*100}%`},"&::after":{width:`${Ye*100}%`}},[`${Ne}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Te},"&-dashed":{background:"none",borderColor:ke,borderStyle:"dashed",borderWidth:`${Pe}px 0 0`},[`&-horizontal${Ne}-with-text${Ne}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Ne}-dashed`]:{borderInlineStartWidth:Pe,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Ne}-with-text`]:{color:_e.colorText,fontWeight:"normal",fontSize:_e.fontSize},[`&-horizontal${Ne}-with-text-left${Ne}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Ne}-inner-text`]:{paddingInlineStart:Qe}},[`&-horizontal${Ne}-with-text-right${Ne}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Ne}-inner-text`]:{paddingInlineEnd:Qe}}})}};var xe=(0,Le.Z)("Divider",_e=>{const Ne=(0,ve.TS)(_e,{dividerHorizontalWithTextGutterMargin:_e.margin,dividerHorizontalGutterMargin:_e.marginLG,sizePaddingEdgeHorizontal:0});return[Ae(Ne)]},_e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_e.marginXS})),fe=function(_e,Ne){var Qe={};for(var ke in _e)Object.prototype.hasOwnProperty.call(_e,ke)&&Ne.indexOf(ke)<0&&(Qe[ke]=_e[ke]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ke=Object.getOwnPropertySymbols(_e);Pe<ke.length;Pe++)Ne.indexOf(ke[Pe])<0&&Object.prototype.propertyIsEnumerable.call(_e,ke[Pe])&&(Qe[ke[Pe]]=_e[ke[Pe]]);return Qe},Be=_e=>{const{getPrefixCls:Ne,direction:Qe,divider:ke}=He.useContext(ft.E_),{prefixCls:Pe,type:Te="horizontal",orientation:Ye="center",orientationMargin:ze,className:qe,rootClassName:We,children:Ze,dashed:et,plain:rt,style:ht}=_e,dt=fe(_e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ct=Ne("divider",Pe),[Xe,Lt]=xe(Ct),Re=Ye.length>0?`-${Ye}`:Ye,Ht=!!Ze,Et=Ye==="left"&&ze!=null,bt=Ye==="right"&&ze!=null,Tt=Me()(Ct,ke==null?void 0:ke.className,Lt,`${Ct}-${Te}`,{[`${Ct}-with-text`]:Ht,[`${Ct}-with-text${Re}`]:Ht,[`${Ct}-dashed`]:!!et,[`${Ct}-plain`]:!!rt,[`${Ct}-rtl`]:Qe==="rtl",[`${Ct}-no-default-orientation-margin-left`]:Et,[`${Ct}-no-default-orientation-margin-right`]:bt},qe,We),wt=He.useMemo(()=>typeof ze=="number"?ze:/^\d+$/.test(ze)?Number(ze):ze,[ze]),it=Object.assign(Object.assign({},Et&&{marginLeft:wt}),bt&&{marginRight:wt});return Xe(He.createElement("div",Object.assign({className:Tt,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),ht)},dt,{role:"separator"}),Ze&&Te!=="vertical"&&He.createElement("span",{className:`${Ct}-inner-text`,style:it},Ze)))}},43428:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Cn}});var he=de(92310),Me=de.n(he),He=de(85899),ft=de(72190),Oe=de(43403),Le=de(34280),ve=de(59301),Ae=ve.createContext(null),xe=ve.createContext({}),fe=Ae,Ke=de(18642),Be=de(60499),_e=de(77900),Ne=de(10228),Qe=de(26112),ke=de(70425),Pe=function(Bn){var Se=Bn.prefixCls,Fe=Bn.className,ie=Bn.style,ae=Bn.children,se=Bn.containerRef,oe=Bn.id,Je=Bn.onMouseEnter,vt=Bn.onMouseOver,$e=Bn.onMouseLeave,lt=Bn.onClick,Pt=Bn.onKeyDown,_t=Bn.onKeyUp,kt={onMouseEnter:Je,onMouseOver:vt,onMouseLeave:$e,onClick:lt,onKeyDown:Pt,onKeyUp:_t},$t=ve.useContext(xe),Sn=$t.panel,St=(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,He.Z)({},ie),"aria-modal":"true",role:"dialog",ref:St},kt),ae))},Te=Pe,Ye=de(48736);function ze(mn){return typeof mn=="string"&&String(Number(mn))===mn?((0,Ye.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(mn)):mn}function qe(mn){warning(!("wrapperClassName"in mn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!mn.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(mn,Bn){var Se,Fe,ie,ae,se=mn.prefixCls,oe=mn.open,Je=mn.placement,vt=mn.inline,$e=mn.push,lt=mn.forceRender,Pt=mn.autoFocus,_t=mn.keyboard,kt=mn.rootClassName,$t=mn.rootStyle,Sn=mn.zIndex,St=mn.className,nn=mn.id,tn=mn.style,jt=mn.motion,pt=mn.width,Zt=mn.height,gn=mn.children,wn=mn.contentWrapperStyle,Xn=mn.mask,yr=mn.maskClosable,Dr=mn.maskMotion,Tr=mn.maskClassName,Rr=mn.maskStyle,Sr=mn.afterOpenChange,fr=mn.onClose,Vr=mn.onMouseEnter,Bi=mn.onMouseOver,yi=mn.onMouseLeave,mi=mn.onClick,Vi=mn.onKeyDown,ua=mn.onKeyUp,Wr=ve.useRef(),Mn=ve.useRef(),ea=ve.useRef();ve.useImperativeHandle(Bn,function(){return Wr.current});var Ea=function(nr){var dr=nr.keyCode,Pr=nr.shiftKey;switch(dr){case Ne.Z.TAB:{if(dr===Ne.Z.TAB){if(!Pr&&document.activeElement===ea.current){var Ur;(Ur=Mn.current)===null||Ur===void 0||Ur.focus({preventScroll:!0})}else if(Pr&&document.activeElement===Mn.current){var ei;(ei=ea.current)===null||ei===void 0||ei.focus({preventScroll:!0})}}break}case Ne.Z.ESC:{fr&&_t&&(nr.stopPropagation(),fr(nr));break}}};ve.useEffect(function(){if(oe&&Pt){var lr;(lr=Wr.current)===null||lr===void 0||lr.focus({preventScroll:!0})}},[oe]);var wo=ve.useState(!1),sa=(0,ft.Z)(wo,2),Pi=sa[0],Aa=sa[1],Si=ve.useContext(fe),qr;$e===!1?qr={distance:0}:$e===!0?qr={}:qr=$e||{};var Ma=(Se=(Fe=(ie=qr)===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,kn=ve.useMemo(function(){return{pushDistance:Ma,push:function(){Aa(!0)},pull:function(){Aa(!1)}}},[Ma]);ve.useEffect(function(){if(oe){var lr;Si==null||(lr=Si.push)===null||lr===void 0||lr.call(Si)}else{var nr;Si==null||(nr=Si.pull)===null||nr===void 0||nr.call(Si)}},[oe]),ve.useEffect(function(){return function(){var lr;Si==null||(lr=Si.pull)===null||lr===void 0||lr.call(Si)}},[]);var Dt=Xn&&ve.createElement(_e.default,(0,Be.Z)({key:"mask"},Dr,{visible:oe}),function(lr,nr){var dr=lr.className,Pr=lr.style;return ve.createElement("div",{className:Me()("".concat(se,"-mask"),dr,Tr),style:(0,He.Z)((0,He.Z)({},Pr),Rr),onClick:yr&&oe?fr:void 0,ref:nr})}),Gt=typeof jt=="function"?jt(Je):jt,Wt={};if(Pi&&Ma)switch(Je){case"top":Wt.transform="translateY(".concat(Ma,"px)");break;case"bottom":Wt.transform="translateY(".concat(-Ma,"px)");break;case"left":Wt.transform="translateX(".concat(Ma,"px)");break;default:Wt.transform="translateX(".concat(-Ma,"px)");break}Je==="left"||Je==="right"?Wt.width=ze(pt):Wt.height=ze(Zt);var Kt={onMouseEnter:Vr,onMouseOver:Bi,onMouseLeave:yi,onClick:mi,onKeyDown:Vi,onKeyUp:ua},on=ve.createElement(_e.default,(0,Be.Z)({key:"panel"},Gt,{visible:oe,forceRender:lt,onVisibleChanged:function(nr){Sr==null||Sr(nr)},removeOnLeave:!1,leavedClassName:"".concat(se,"-content-wrapper-hidden")}),function(lr,nr){var dr=lr.className,Pr=lr.style;return ve.createElement("div",(0,Be.Z)({className:Me()("".concat(se,"-content-wrapper"),dr),style:(0,He.Z)((0,He.Z)((0,He.Z)({},Wt),Pr),wn)},(0,Qe.Z)(mn,{data:!0})),ve.createElement(Te,(0,Be.Z)({id:nn,containerRef:nr,prefixCls:se,className:St,style:tn},Kt),gn))}),_n=(0,He.Z)({},$t);return Sn&&(_n.zIndex=Sn),ve.createElement(fe.Provider,{value:kn},ve.createElement("div",{className:Me()(se,"".concat(se,"-").concat(Je),kt,(ae={},(0,Ke.Z)(ae,"".concat(se,"-open"),oe),(0,Ke.Z)(ae,"".concat(se,"-inline"),vt),ae)),style:_n,tabIndex:-1,ref:Wr,onKeyDown:Ea},Dt,ve.createElement("div",{tabIndex:0,ref:Mn,style:We,"aria-hidden":"true","data-sentinel":"start"}),on,ve.createElement("div",{tabIndex:0,ref:ea,style:We,"aria-hidden":"true","data-sentinel":"end"})))}var et=ve.forwardRef(Ze),rt=et,ht=function(Bn){var Se=Bn.open,Fe=Se===void 0?!1:Se,ie=Bn.prefixCls,ae=ie===void 0?"rc-drawer":ie,se=Bn.placement,oe=se===void 0?"right":se,Je=Bn.autoFocus,vt=Je===void 0?!0:Je,$e=Bn.keyboard,lt=$e===void 0?!0:$e,Pt=Bn.width,_t=Pt===void 0?378:Pt,kt=Bn.mask,$t=kt===void 0?!0:kt,Sn=Bn.maskClosable,St=Sn===void 0?!0:Sn,nn=Bn.getContainer,tn=Bn.forceRender,jt=Bn.afterOpenChange,pt=Bn.destroyOnClose,Zt=Bn.onMouseEnter,gn=Bn.onMouseOver,wn=Bn.onMouseLeave,Xn=Bn.onClick,yr=Bn.onKeyDown,Dr=Bn.onKeyUp,Tr=Bn.panelRef,Rr=ve.useState(!1),Sr=(0,ft.Z)(Rr,2),fr=Sr[0],Vr=Sr[1],Bi=ve.useState(!1),yi=(0,ft.Z)(Bi,2),mi=yi[0],Vi=yi[1];(0,Le.Z)(function(){Vi(!0)},[]);var ua=mi?Fe:!1,Wr=ve.useRef(),Mn=ve.useRef();(0,Le.Z)(function(){ua&&(Mn.current=document.activeElement)},[ua]);var ea=function(Aa){var Si;if(Vr(Aa),jt==null||jt(Aa),!Aa&&Mn.current&&!((Si=Wr.current)!==null&&Si!==void 0&&Si.contains(Mn.current))){var qr;(qr=Mn.current)===null||qr===void 0||qr.focus({preventScroll:!0})}},Ea=ve.useMemo(function(){return{panel:Tr}},[Tr]);if(!tn&&!fr&&!ua&&pt)return null;var wo={onMouseEnter:Zt,onMouseOver:gn,onMouseLeave:wn,onClick:Xn,onKeyDown:yr,onKeyUp:Dr},sa=(0,He.Z)((0,He.Z)({},Bn),{},{open:ua,prefixCls:ae,placement:oe,autoFocus:vt,keyboard:lt,width:_t,mask:$t,maskClosable:St,inline:nn===!1,afterOpenChange:ea,ref:Wr},wo);return ve.createElement(xe.Provider,{value:Ea},ve.createElement(Oe.Z,{open:ua||tn||fr,autoDestroy:!1,getContainer:nn,autoLock:$t&&(ua||fr)},ve.createElement(rt,sa)))},dt=ht,Ct=dt,Xe=de(62892),Lt=de(36355),Re=de(32441),Ht=de(47729),bt=mn=>{const{prefixCls:Bn,title:Se,footer:Fe,extra:ie,closeIcon:ae,closable:se,onClose:oe,headerStyle:Je,drawerStyle:vt,bodyStyle:$e,footerStyle:lt,children:Pt}=mn,_t=ve.useCallback(nn=>ve.createElement("button",{type:"button",onClick:oe,"aria-label":"Close",className:`${Bn}-close`},nn),[oe]),[kt,$t]=(0,Ht.Z)(se,ae,_t,void 0,!0),Sn=ve.useMemo(()=>!Se&&!kt?null:ve.createElement("div",{style:Je,className:Me()(`${Bn}-header`,{[`${Bn}-header-close-only`]:kt&&!Se&&!ie})},ve.createElement("div",{className:`${Bn}-header-title`},$t,Se&&ve.createElement("div",{className:`${Bn}-title`},Se)),ie&&ve.createElement("div",{className:`${Bn}-extra`},ie)),[kt,$t,ie,Je,Bn,Se]),St=ve.useMemo(()=>{if(!Fe)return null;const nn=`${Bn}-footer`;return ve.createElement("div",{className:nn,style:lt},Fe)},[Fe,lt,Bn]);return ve.createElement("div",{className:`${Bn}-wrapper-body`,style:vt},Sn,ve.createElement("div",{className:`${Bn}-body`,style:$e},Pt),St)},Tt=de(33234),wt=de(83116),it=de(37613),at=mn=>{const{componentCls:Bn,motionDurationSlow:Se}=mn,Fe={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Se}`}}};return{[Bn]:{[`${Bn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Se}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Bn}-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 Xt=mn=>{const{componentCls:Bn,zIndexPopup:Se,colorBgMask:Fe,colorBgElevated:ie,motionDurationSlow:ae,motionDurationMid:se,padding:oe,paddingLG:Je,fontSizeLG:vt,lineHeightLG:$e,lineWidth:lt,lineType:Pt,colorSplit:_t,marginSM:kt,colorIcon:$t,colorIconHover:Sn,colorText:St,fontWeightStrong:nn,footerPaddingBlock:tn,footerPaddingInline:jt}=mn,pt=`${Bn}-content-wrapper`;return{[Bn]:{position:"fixed",inset:0,zIndex:Se,pointerEvents:"none","&-pure":{position:"relative",background:ie,[`&${Bn}-left`]:{boxShadow:mn.boxShadowDrawerLeft},[`&${Bn}-right`]:{boxShadow:mn.boxShadowDrawerRight},[`&${Bn}-top`]:{boxShadow:mn.boxShadowDrawerUp},[`&${Bn}-bottom`]:{boxShadow:mn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Bn}-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:mn.boxShadowDrawerLeft},[`&-right > ${pt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:mn.boxShadowDrawerRight},[`&-top > ${pt}`]:{top:0,insetInline:0,boxShadow:mn.boxShadowDrawerUp},[`&-bottom > ${pt}`]:{bottom:0,insetInline:0,boxShadow:mn.boxShadowDrawerDown},[`${Bn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ie,pointerEvents:"auto"},[`${Bn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Bn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${oe}px ${Je}px`,fontSize:vt,lineHeight:$e,borderBottom:`${lt}px ${Pt} ${_t}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Bn}-extra`]:{flex:"none"},[`${Bn}-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"}},[`${Bn}-title`]:{flex:1,margin:0,color:St,fontWeight:mn.fontWeightStrong,fontSize:vt,lineHeight:$e},[`${Bn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Je,overflow:"auto"},[`${Bn}-footer`]:{flexShrink:0,padding:`${tn}px ${jt}px`,borderTop:`${lt}px ${Pt} ${_t}`},"&-rtl":{direction:"rtl"}}}};var Vt=(0,wt.Z)("Drawer",mn=>{const Bn=(0,it.TS)(mn,{});return[Xt(Bn),at(Bn)]},mn=>({zIndexPopup:mn.zIndexPopupBase,footerPaddingBlock:mn.paddingXS,footerPaddingInline:mn.padding})),xt=de(11575),Qt=function(mn,Bn){var Se={};for(var Fe in mn)Object.prototype.hasOwnProperty.call(mn,Fe)&&Bn.indexOf(Fe)<0&&(Se[Fe]=mn[Fe]);if(mn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Fe=Object.getOwnPropertySymbols(mn);ie<Fe.length;ie++)Bn.indexOf(Fe[ie])<0&&Object.prototype.propertyIsEnumerable.call(mn,Fe[ie])&&(Se[Fe[ie]]=mn[Fe[ie]]);return Se};const An=null,Tn={distance:180},dn=mn=>{var Bn;const{rootClassName:Se,width:Fe,height:ie,size:ae="default",mask:se=!0,push:oe=Tn,open:Je,afterOpenChange:vt,onClose:$e,prefixCls:lt,getContainer:Pt,style:_t,className:kt,visible:$t,afterVisibleChange:Sn}=mn,St=Qt(mn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:nn,getPrefixCls:tn,direction:jt,drawer:pt}=ve.useContext(Lt.E_),Zt=tn("drawer",lt),[gn,wn]=Vt(Zt),Xn=Pt===void 0&&nn?()=>nn(document.body):Pt,yr=Me()({"no-mask":!se,[`${Zt}-rtl`]:jt==="rtl"},Se,wn),Dr=ve.useMemo(()=>Fe!=null?Fe:ae==="large"?736:378,[Fe,ae]),Tr=ve.useMemo(()=>ie!=null?ie:ae==="large"?736:378,[ie,ae]),Rr={motionName:(0,Xe.m)(Zt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Sr=Vr=>({motionName:(0,Xe.m)(Zt,`panel-motion-${Vr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),fr=(0,xt.H)();return gn(ve.createElement(Tt.BR,null,ve.createElement(Re.Ux,{status:!0,override:!0},ve.createElement(Ct,Object.assign({prefixCls:Zt,onClose:$e,maskMotion:Rr,motion:Sr},St,{open:Je!=null?Je:$t,mask:se,push:oe,width:Dr,height:Tr,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),_t),className:Me()(pt==null?void 0:pt.className,kt),rootClassName:yr,getContainer:Xn,afterOpenChange:vt!=null?vt:Sn,panelRef:fr}),ve.createElement(bt,Object.assign({prefixCls:Zt},St,{onClose:$e}))))))},Gn=mn=>{const{prefixCls:Bn,style:Se,className:Fe,placement:ie="right"}=mn,ae=Qt(mn,["prefixCls","style","className","placement"]),{getPrefixCls:se}=ve.useContext(Lt.E_),oe=se("drawer",Bn),[Je,vt]=Vt(oe),$e=Me()(oe,`${oe}-pure`,`${oe}-${ie}`,vt,Fe);return Je(ve.createElement("div",{className:$e,style:Se},ve.createElement(bt,Object.assign({prefixCls:oe},ae))))};dn._InternalPanelDoNotUseOrYouWillBeFired=Gn;var Cn=dn},91857:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(38819),He=de(92310),ft=de.n(He),Oe=de(31561),Le=de(70425),ve=de(18929),Ae=de(2738),xe=de(79676),fe=de(53487),Ke=de(92343),Be=de(36355),_e=de(20834),Ne=de(40875),Qe=de(88088),ke=de(47211);const Pe=null,Te=We=>{const{menu:Ze,arrow:et,prefixCls:rt,children:ht,trigger:dt,disabled:Ct,dropdownRender:Xe,getPopupContainer:Lt,overlayClassName:Re,rootClassName:Ht,open:Et,onOpenChange:bt,visible:Tt,onVisibleChange:wt,mouseEnterDelay:it=.15,mouseLeaveDelay:Ue=.1,autoAdjustOverflow:at=!0,placement:Xt="",overlay:Vt,transitionName:xt}=We,{getPopupContainer:Qt,getPrefixCls:An,direction:Tn}=he.useContext(Be.E_),dn=he.useMemo(()=>{const kt=An();return xt!==void 0?xt:Xt.includes("top")?`${kt}-slide-down`:`${kt}-slide-up`},[An,Xt,xt]),Gn=he.useMemo(()=>Xt?Xt.includes("Center")?Xt.slice(0,Xt.indexOf("Center")):Xt:Tn==="rtl"?"bottomRight":"bottomLeft",[Xt,Tn]),Cn=An("dropdown",rt),[mn,Bn]=(0,ke.Z)(Cn),[,Se]=(0,Qe.Z)(),Fe=he.Children.only(ht),ie=(0,Ke.Tm)(Fe,{className:ft()(`${Cn}-trigger`,{[`${Cn}-rtl`]:Tn==="rtl"},Fe.props.className),disabled:Ct}),ae=Ct?[]:dt;let se;ae&&ae.includes("contextMenu")&&(se=!0);const[oe,Je]=(0,ve.Z)(!1,{value:Et!=null?Et:Tt}),vt=(0,Le.useEvent)(kt=>{bt==null||bt(kt),wt==null||wt(kt),Je(kt)}),$e=ft()(Re,Ht,Bn,{[`${Cn}-rtl`]:Tn==="rtl"}),lt=(0,xe.Z)({arrowPointAtCenter:typeof et=="object"&&et.pointAtCenter,autoAdjustOverflow:at,offset:Se.marginXXS,arrowWidth:et?Se.sizePopupArrow:0,borderRadius:Se.borderRadius}),Pt=he.useCallback(()=>{Je(!1)},[]),_t=()=>{let kt;return Ze!=null&&Ze.items?kt=he.createElement(_e.default,Object.assign({},Ze)):typeof Vt=="function"?kt=Vt():kt=Vt,Xe&&(kt=Xe(kt)),kt=he.Children.only(typeof kt=="string"?he.createElement("span",null,kt):kt),he.createElement(Ne.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 mn(he.createElement(Oe.Z,Object.assign({alignPoint:se},(0,Ae.Z)(We,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:Ue,visible:oe,builtinPlacements:lt,arrow:!!et,overlayClassName:$e,prefixCls:Cn,getPopupContainer:Lt||Qt,transitionName:dn,trigger:ae,overlay:_t,placement:Gn,onVisibleChange:vt}),ie))};function Ye(We){return Object.assign(Object.assign({},We),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ze=(0,fe.Z)(Te,"dropdown",We=>We,Ye),qe=We=>he.createElement(ze,Object.assign({},We),he.createElement("span",null));Te._InternalPanelDoNotUseOrYouWillBeFired=qe,Yt.Z=Te},38854:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Qe}});var he=de(91857),Me=de(92310),He=de.n(Me),ft=de(59301),Oe=de(18785),Le=de(3113),ve=de(36355),Ae=de(81327),xe=de(33234),fe=de(47211),Ke=function(ke,Pe){var Te={};for(var Ye in ke)Object.prototype.hasOwnProperty.call(ke,Ye)&&Pe.indexOf(Ye)<0&&(Te[Ye]=ke[Ye]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ye=Object.getOwnPropertySymbols(ke);ze<Ye.length;ze++)Pe.indexOf(Ye[ze])<0&&Object.prototype.propertyIsEnumerable.call(ke,Ye[ze])&&(Te[Ye[ze]]=ke[Ye[ze]]);return Te};const Be=ke=>{const{getPopupContainer:Pe,getPrefixCls:Te,direction:Ye}=ft.useContext(ve.E_),{prefixCls:ze,type:qe="default",danger:We,disabled:Ze,loading:et,onClick:rt,htmlType:ht,children:dt,className:Ct,menu:Xe,arrow:Lt,autoFocus:Re,overlay:Ht,trigger:Et,align:bt,open:Tt,onOpenChange:wt,placement:it,getPopupContainer:Ue,href:at,icon:Xt=ft.createElement(Oe.Z,null),title:Vt,buttonsRender:xt=_t=>_t,mouseEnterDelay:Qt,mouseLeaveDelay:An,overlayClassName:Tn,overlayStyle:dn,destroyPopupOnHide:Gn,dropdownRender:Cn}=ke,mn=Ke(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"]),Bn=Te("dropdown",ze),Se=`${Bn}-button`,[Fe,ie]=(0,fe.Z)(Bn),ae={menu:Xe,arrow:Lt,autoFocus:Re,align:bt,disabled:Ze,trigger:Ze?[]:Et,onOpenChange:wt,getPopupContainer:Ue||Pe,mouseEnterDelay:Qt,mouseLeaveDelay:An,overlayClassName:Tn,overlayStyle:dn,destroyPopupOnHide:Gn,dropdownRender:Cn},{compactSize:se,compactItemClassnames:oe}=(0,xe.ri)(Bn,Ye),Je=He()(Se,oe,Ct,ie);"overlay"in ke&&(ae.overlay=Ht),"open"in ke&&(ae.open=Tt),"placement"in ke?ae.placement=it:ae.placement=Ye==="rtl"?"bottomLeft":"bottomRight";const vt=ft.createElement(Le.ZP,{type:qe,danger:We,disabled:Ze,loading:et,onClick:rt,htmlType:ht,href:at,title:Vt},dt),$e=ft.createElement(Le.ZP,{type:qe,danger:We,icon:Xt}),[lt,Pt]=xt([vt,$e]);return Fe(ft.createElement(Ae.Z.Compact,Object.assign({className:Je,size:se,block:!0},mn),lt,ft.createElement(he.Z,Object.assign({},ae),Pt)))};Be.__ANT_BUTTON=!0;var _e=Be;const Ne=he.Z;Ne.Button=_e;var Qe=Ne},47211:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ke}});var he=de(17313),Me=de(13826),He=de(92899),ft=de(29878),Oe=de(19447),Le=de(83116),ve=de(37613),xe=Be=>{const{componentCls:_e,menuCls:Ne,colorError:Qe,colorTextLightSolid:ke}=Be,Pe=`${Ne}-item`;return{[`${_e}, ${_e}-menu-submenu`]:{[`${Ne} ${Pe}`]:{[`&${Pe}-danger:not(${Pe}-disabled)`]:{color:Qe,"&:hover":{color:ke,backgroundColor:Qe}}}}}};const fe=Be=>{const{componentCls:_e,menuCls:Ne,zIndexPopup:Qe,dropdownArrowDistance:ke,sizePopupArrow:Pe,antCls:Te,iconCls:Ye,motionDurationMid:ze,dropdownPaddingVertical:qe,fontSize:We,dropdownEdgeChildPadding:Ze,colorTextDisabled:et,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:Qe,display:"block","&::before":{position:"absolute",insetBlock:-ke+Pe/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Te}-btn`]:{[`& > ${Ye}-down, & > ${Te}-btn-icon > ${Ye}-down`]:{fontSize:rt}},[`${_e}-wrap`]:{position:"relative",[`${Te}-btn > ${Ye}-down`]:{fontSize:rt},[`${Ye}-down::before`]:{transition:`transform ${ze}`}},[`${_e}-wrap-open`]:{[`${Ye}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Te}-slide-down-enter${Te}-slide-down-enter-active${_e}-placement-bottomLeft,
&${Te}-slide-down-appear${Te}-slide-down-appear-active${_e}-placement-bottomLeft,
&${Te}-slide-down-enter${Te}-slide-down-enter-active${_e}-placement-bottom,
&${Te}-slide-down-appear${Te}-slide-down-appear-active${_e}-placement-bottom,
&${Te}-slide-down-enter${Te}-slide-down-enter-active${_e}-placement-bottomRight,
&${Te}-slide-down-appear${Te}-slide-down-appear-active${_e}-placement-bottomRight`]:{animationName:Me.fJ},[`&${Te}-slide-up-enter${Te}-slide-up-enter-active${_e}-placement-topLeft,
&${Te}-slide-up-appear${Te}-slide-up-appear-active${_e}-placement-topLeft,
&${Te}-slide-up-enter${Te}-slide-up-enter-active${_e}-placement-top,
&${Te}-slide-up-appear${Te}-slide-up-appear-active${_e}-placement-top,
&${Te}-slide-up-enter${Te}-slide-up-enter-active${_e}-placement-topRight,
&${Te}-slide-up-appear${Te}-slide-up-appear-active${_e}-placement-topRight`]:{animationName:Me.Qt},[`&${Te}-slide-down-leave${Te}-slide-down-leave-active${_e}-placement-bottomLeft,
&${Te}-slide-down-leave${Te}-slide-down-leave-active${_e}-placement-bottom,
&${Te}-slide-down-leave${Te}-slide-down-leave-active${_e}-placement-bottomRight`]:{animationName:Me.Uw},[`&${Te}-slide-up-leave${Te}-slide-up-leave-active${_e}-placement-topLeft,
&${Te}-slide-up-leave${Te}-slide-up-leave-active${_e}-placement-top,
&${Te}-slide-up-leave${Te}-slide-up-leave-active${_e}-placement-topRight`]:{animationName:Me.ly}})},(0,Oe.ZP)(Be,{colorBg:dt,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${_e} ${Ne}`]:{position:"relative",margin:0},[`${Ne}-submenu-popup`]:{position:"absolute",zIndex:Qe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${_e}, ${_e}-menu-submenu`]:{[Ne]: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)),{[`${Ne}-item-group-title`]:{padding:`${qe}px ${ht}px`,color:Be.colorTextDescription,transition:`all ${ze}`},[`${Ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ne}-item-icon`]:{minWidth:We,marginInlineEnd:Be.marginXS,fontSize:Be.fontSizeSM},[`${Ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ze}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Ne}-item, ${Ne}-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 ${ze}`,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:et,cursor:"not-allowed","&:hover":{color:et,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"}}}),[`${Ne}-item-group-list`]:{margin:`0 ${Be.marginXS}px`,padding:0,listStyle:"none"},[`${Ne}-submenu-title`]:{paddingInlineEnd:ht+Be.fontSizeSM},[`${Ne}-submenu-vertical`]:{position:"relative"},[`${Ne}-submenu${Ne}-submenu-disabled ${_e}-menu-submenu-title`]:{[`&, ${_e}-menu-submenu-arrow-icon`]:{color:et,backgroundColor:dt,cursor:"not-allowed"}},[`${Ne}-submenu-selected ${_e}-menu-submenu-title`]:{color:Be.colorPrimary}})}},[(0,Me.oN)(Be,"slide-up"),(0,Me.oN)(Be,"slide-down"),(0,He.Fm)(Be,"move-up"),(0,He.Fm)(Be,"move-down"),(0,ft._y)(Be,"zoom-big")]]};var Ke=(0,Le.Z)("Dropdown",(Be,_e)=>{let{rootPrefixCls:Ne}=_e;const{marginXXS:Qe,sizePopupArrow:ke,controlHeight:Pe,fontSize:Te,lineHeight:Ye,paddingXXS:ze,componentCls:qe,borderRadiusLG:We}=Be,Ze=(Pe-Te*Ye)/2,{dropdownArrowOffset:et}=(0,Oe.fS)({contentRadius:We}),rt=(0,ve.TS)(Be,{menuCls:`${qe}-menu`,rootPrefixCls:Ne,dropdownArrowDistance:ke/2+Qe,dropdownArrowOffset:et,dropdownPaddingVertical:Ze,dropdownEdgeChildPadding:ze});return[fe(rt),xe(rt)]},Be=>({zIndexPopup:Be.zIndexPopupBase+50}))},64165:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return ze}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(9763),Le=de(64993),ve=de(88088),xe=()=>{const[,qe]=(0,ve.Z)(),Ze=new Le.C(qe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return He.createElement("svg",{style:Ze,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},He.createElement("g",{fill:"none",fillRule:"evenodd"},He.createElement("g",{transform:"translate(24 31.67)"},He.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),He.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"}),He.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)"}),He.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"}),He.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"})),He.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"}),He.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},He.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),He.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Ke=()=>{const[,qe]=(0,ve.Z)(),{colorFill:We,colorFillTertiary:Ze,colorFillQuaternary:et,colorBgContainer:rt}=qe,{borderColor:ht,shadowColor:dt,contentColor:Ct}=(0,He.useMemo)(()=>({borderColor:new Le.C(We).onBackground(rt).toHexShortString(),shadowColor:new Le.C(Ze).onBackground(rt).toHexShortString(),contentColor:new Le.C(et).onBackground(rt).toHexShortString()}),[We,Ze,et,rt]);return He.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},He.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},He.createElement("ellipse",{fill:dt,cx:"32",cy:"33",rx:"32",ry:"7"}),He.createElement("g",{fillRule:"nonzero",stroke:ht},He.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"}),He.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:Ct}))))},Be=de(83116),_e=de(37613);const Ne=qe=>{const{componentCls:We,margin:Ze,marginXS:et,marginXL:rt,fontSize:ht,lineHeight:dt}=qe;return{[We]:{marginInline:et,fontSize:ht,lineHeight:dt,textAlign:"center",[`${We}-image`]:{height:qe.emptyImgHeight,marginBottom:et,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:et,color:qe.colorTextDisabled,[`${We}-image`]:{height:qe.emptyImgHeightSM}}}}};var Qe=(0,Be.Z)("Empty",qe=>{const{componentCls:We,controlHeightLG:Ze}=qe,et=(0,_e.TS)(qe,{emptyImgCls:`${We}-img`,emptyImgHeight:Ze*2.5,emptyImgHeightMD:Ze,emptyImgHeightSM:Ze*.875});return[Ne(et)]}),ke=function(qe,We){var Ze={};for(var et in qe)Object.prototype.hasOwnProperty.call(qe,et)&&We.indexOf(et)<0&&(Ze[et]=qe[et]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,et=Object.getOwnPropertySymbols(qe);rt<et.length;rt++)We.indexOf(et[rt])<0&&Object.prototype.propertyIsEnumerable.call(qe,et[rt])&&(Ze[et[rt]]=qe[et[rt]]);return Ze};const Pe=He.createElement(xe,null),Te=He.createElement(Ke,null),Ye=qe=>{var{className:We,rootClassName:Ze,prefixCls:et,image:rt=Pe,description:ht,children:dt,imageStyle:Ct,style:Xe}=qe,Lt=ke(qe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Re,direction:Ht,empty:Et}=He.useContext(ft.E_),bt=Re("empty",et),[Tt,wt]=Qe(bt),[it]=(0,Oe.Z)("Empty"),Ue=typeof ht!="undefined"?ht:it==null?void 0:it.description,at=typeof Ue=="string"?Ue:"empty";let Xt=null;return typeof rt=="string"?Xt=He.createElement("img",{alt:at,src:rt}):Xt=rt,Tt(He.createElement("div",Object.assign({className:Me()(wt,bt,Et==null?void 0:Et.className,{[`${bt}-normal`]:rt===Te,[`${bt}-rtl`]:Ht==="rtl"},We,Ze),style:Object.assign(Object.assign({},Et==null?void 0:Et.style),Xe)},Lt),He.createElement("div",{className:`${bt}-image`,style:Ct},Xt),Ue&&He.createElement("div",{className:`${bt}-description`},Ue),dt&&He.createElement("div",{className:`${bt}-footer`},dt)))};Ye.PRESENTED_IMAGE_DEFAULT=Pe,Ye.PRESENTED_IMAGE_SIMPLE=Te;var ze=Ye},78241:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return Ma}});var he=de(77654),Me=de(92310),He=de.n(Me),ft=de(77900),Oe=de(59301),Le=de(62892),ve=de(32441);function Ae(kn){const[Dt,Gt]=Oe.useState(kn);return Oe.useEffect(()=>{const Wt=setTimeout(()=>{Gt(kn)},kn.length?0:10);return()=>{clearTimeout(Wt)}},[kn]),Dt}var xe=de(17313),fe=de(29878),Ke=de(8378),Be=de(37613),_e=de(83116),Qe=kn=>{const{componentCls:Dt}=kn,Gt=`${Dt}-show-help`,Wt=`${Dt}-show-help-item`;return{[Gt]:{transition:`opacity ${kn.motionDurationSlow} ${kn.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Wt]:{overflow:"hidden",transition:`height ${kn.motionDurationSlow} ${kn.motionEaseInOut},
opacity ${kn.motionDurationSlow} ${kn.motionEaseInOut},
transform ${kn.motionDurationSlow} ${kn.motionEaseInOut} !important`,[`&${Wt}-appear, &${Wt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Wt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ke=kn=>({legend:{display:"block",width:"100%",marginBottom:kn.marginLG,padding:0,color:kn.colorTextDescription,fontSize:kn.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${kn.lineWidth}px ${kn.lineType} ${kn.colorBorder}`},label:{fontSize:kn.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 ${kn.controlOutlineWidth}px ${kn.controlOutline}`},output:{display:"block",paddingTop:15,color:kn.colorText,fontSize:kn.fontSize,lineHeight:kn.lineHeight}}),Pe=(kn,Dt)=>{const{formItemCls:Gt}=kn;return{[Gt]:{[`${Gt}-label > label`]:{height:Dt},[`${Gt}-control-input`]:{minHeight:Dt}}}},Te=kn=>{const{componentCls:Dt}=kn;return{[kn.componentCls]:Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(kn)),ke(kn)),{[`${Dt}-text`]:{display:"inline-block",paddingInlineEnd:kn.paddingSM},"&-small":Object.assign({},Pe(kn,kn.controlHeightSM)),"&-large":Object.assign({},Pe(kn,kn.controlHeightLG))})}},Ye=kn=>{const{formItemCls:Dt,iconCls:Gt,componentCls:Wt,rootPrefixCls:Kt,labelRequiredMarkColor:on,labelColor:_n,labelFontSize:lr,labelHeight:nr,labelColonMarginInlineStart:dr,labelColonMarginInlineEnd:Pr,itemMarginBottom:Ur}=kn;return{[Dt]:Object.assign(Object.assign({},(0,xe.Wf)(kn)),{marginBottom:Ur,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${Kt}-row`]:{display:"none"},"&-has-warning":{[`${Dt}-split`]:{color:kn.colorError}},"&-has-error":{[`${Dt}-split`]:{color:kn.colorWarning}},[`${Dt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${kn.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nr,color:_n,fontSize:lr,[`> ${Gt}`]:{fontSize:kn.fontSize,verticalAlign:"top"},[`&${Dt}-required:not(${Dt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:kn.marginXXS,color:on,fontSize:kn.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Wt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-optional`]:{display:"inline-block",marginInlineStart:kn.marginXXS,color:kn.colorTextDescription,[`${Wt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-tooltip`]:{color:kn.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:kn.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:dr,marginInlineEnd:Pr},[`&${Dt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Dt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Kt}-col-'"]):not([class*="' ${Kt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:kn.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Dt]:{"&-explain, &-extra":{clear:"both",color:kn.colorTextDescription,fontSize:kn.fontSize,lineHeight:kn.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:kn.controlHeightSM,transition:`color ${kn.motionDurationMid} ${kn.motionEaseOut}`},"&-explain":{"&-error":{color:kn.colorError},"&-warning":{color:kn.colorWarning}}},[`&-with-help ${Dt}-explain`]:{height:"auto",opacity:1},[`${Dt}-feedback-icon`]:{fontSize:kn.fontSize,textAlign:"center",visibility:"visible",animationName:fe.kr,animationDuration:kn.motionDurationMid,animationTimingFunction:kn.motionEaseOutBack,pointerEvents:"none","&-success":{color:kn.colorSuccess},"&-error":{color:kn.colorError},"&-warning":{color:kn.colorWarning},"&-validating":{color:kn.colorPrimary}}})}},ze=kn=>{const{componentCls:Dt,formItemCls:Gt}=kn;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=kn=>{const{componentCls:Dt,formItemCls:Gt}=kn;return{[`${Dt}-inline`]:{display:"flex",flexWrap:"wrap",[Gt]:{flex:"none",marginInlineEnd:kn.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=kn=>({padding:kn.verticalLabelPadding,margin:kn.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Ze=kn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Wt}=kn;return{[`${Gt} ${Gt}-label`]:We(kn),[Dt]:{[Gt]:{flexWrap:"wrap",[`${Gt}-label, ${Gt}-control`]:{[`&:not([class*=" ${Wt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},et=kn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Wt}=kn;return{[`${Dt}-vertical`]:{[Gt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Dt}-item-control`]:{width:"100%"}}},[`${Dt}-vertical ${Gt}-label,
.${Wt}-col-24${Gt}-label,
.${Wt}-col-xl-24${Gt}-label`]:We(kn),[`@media (max-width: ${kn.screenXSMax}px)`]:[Ze(kn),{[Dt]:{[`.${Wt}-col-xs-24${Gt}-label`]:We(kn)}}],[`@media (max-width: ${kn.screenSMMax}px)`]:{[Dt]:{[`.${Wt}-col-sm-24${Gt}-label`]:We(kn)}},[`@media (max-width: ${kn.screenMDMax}px)`]:{[Dt]:{[`.${Wt}-col-md-24${Gt}-label`]:We(kn)}},[`@media (max-width: ${kn.screenLGMax}px)`]:{[Dt]:{[`.${Wt}-col-lg-24${Gt}-label`]:We(kn)}}}},rt=(kn,Dt)=>(0,Be.TS)(kn,{formItemCls:`${kn.componentCls}-item`,rootPrefixCls:Dt});var ht=(0,_e.Z)("Form",(kn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Wt=rt(kn,Gt);return[Te(Wt),Ye(Wt),Qe(Wt),ze(Wt),qe(Wt),et(Wt),(0,Ke.Z)(Wt),fe.kr]},kn=>({labelRequiredMarkColor:kn.colorError,labelColor:kn.colorTextHeading,labelFontSize:kn.fontSize,labelHeight:kn.controlHeight,labelColonMarginInlineStart:kn.marginXXS/2,labelColonMarginInlineEnd:kn.marginXS,itemMarginBottom:kn.marginLG,verticalLabelPadding:`0 0 ${kn.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const dt=[];function Ct(kn,Dt,Gt){let Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof kn=="string"?kn:`${Dt}-${Wt}`,error:kn,errorStatus:Gt}}var Lt=kn=>{let{help:Dt,helpStatus:Gt,errors:Wt=dt,warnings:Kt=dt,className:on,fieldId:_n,onVisibleChanged:lr}=kn;const{prefixCls:nr}=Oe.useContext(ve.Rk),dr=`${nr}-item-explain`,[,Pr]=ht(nr),Ur=(0,Oe.useMemo)(()=>(0,Le.Z)(nr),[nr]),ei=Ae(Wt),er=Ae(Kt),kr=Oe.useMemo(()=>Dt!=null?[Ct(Dt,"help",Gt)]:[].concat((0,he.Z)(ei.map((gi,ji)=>Ct(gi,"error","error",ji))),(0,he.Z)(er.map((gi,ji)=>Ct(gi,"warning","warning",ji)))),[Dt,Gt,ei,er]),_i={};return _n&&(_i.id=`${_n}_help`),Oe.createElement(ft.default,{motionDeadline:Ur.motionDeadline,motionName:`${nr}-show-help`,visible:!!kr.length,onVisibleChanged:lr},gi=>{const{className:ji,style:Mi}=gi;return Oe.createElement("div",Object.assign({},_i,{className:He()(dr,ji,on,Pr),style:Mi,role:"alert"}),Oe.createElement(ft.CSSMotionList,Object.assign({keys:kr},(0,Le.Z)(nr),{motionName:`${nr}-show-help-item`,component:!1}),Ca=>{const{key:Jr,error:ra,errorStatus:vn,className:gr,style:Ar}=Ca;return Oe.createElement("div",{key:Jr,className:He()(gr,{[`${dr}-${vn}`]:vn}),style:Ar},ra)}))})},Re=de(95013),Ht=de(36355),Et=de(1684),bt=de(52946),Tt=de(19716),wt=de(16722);const it=["parentNode"],Ue="form_item";function at(kn){return kn===void 0||kn===!1?[]:Array.isArray(kn)?kn:[kn]}function Xt(kn,Dt){if(!kn.length)return;const Gt=kn.join("_");return Dt?`${Dt}_${Gt}`:it.includes(Gt)?`${Ue}_${Gt}`:Gt}function Vt(kn,Dt,Gt,Wt,Kt,on){let _n=Wt;return on!==void 0?_n=on:Gt.validating?_n="validating":kn.length?_n="error":Dt.length?_n="warning":(Gt.touched||Kt&&Gt.validated)&&(_n="success"),_n}function xt(kn){return at(kn).join("_")}function Qt(kn){const[Dt]=(0,Re.useForm)(),Gt=Oe.useRef({}),Wt=Oe.useMemo(()=>kn!=null?kn:Object.assign(Object.assign({},Dt),{__INTERNAL__:{itemRef:Kt=>on=>{const _n=xt(Kt);on?Gt.current[_n]=on:delete Gt.current[_n]}},scrollToField:function(Kt){let on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const _n=at(Kt),lr=Xt(_n,Wt.__INTERNAL__.name),nr=lr?document.getElementById(lr):null;nr&&(0,wt.Z)(nr,Object.assign({scrollMode:"if-needed",block:"nearest"},on))},getFieldInstance:Kt=>{const on=xt(Kt);return Gt.current[on]}}),[kn,Dt]);return[Wt]}var An=de(28726),Tn=function(kn,Dt){var Gt={};for(var Wt in kn)Object.prototype.hasOwnProperty.call(kn,Wt)&&Dt.indexOf(Wt)<0&&(Gt[Wt]=kn[Wt]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Wt=Object.getOwnPropertySymbols(kn);Kt<Wt.length;Kt++)Dt.indexOf(Wt[Kt])<0&&Object.prototype.propertyIsEnumerable.call(kn,Wt[Kt])&&(Gt[Wt[Kt]]=kn[Wt[Kt]]);return Gt};const dn=(kn,Dt)=>{const Gt=Oe.useContext(Et.Z),{getPrefixCls:Wt,direction:Kt,form:on}=Oe.useContext(Ht.E_),{prefixCls:_n,className:lr,rootClassName:nr,size:dr,disabled:Pr=Gt,form:Ur,colon:ei,labelAlign:er,labelWrap:kr,labelCol:_i,wrapperCol:gi,hideRequiredMark:ji,layout:Mi="horizontal",scrollToFirstError:Ca,requiredMark:Jr,onFinishFailed:ra,name:vn,style:gr,feedbackIcons:Ar}=kn,jr=Tn(kn,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),br=(0,Tt.Z)(dr),Ir=Oe.useContext(An.Z),Fr=(0,Oe.useMemo)(()=>Jr!==void 0?Jr:on&&on.requiredMark!==void 0?on.requiredMark:!ji,[ji,Jr,on]),si=ei!=null?ei:on==null?void 0:on.colon,bi=Wt("form",_n),[Ti,Pa]=ht(bi),Ka=He()(bi,`${bi}-${Mi}`,{[`${bi}-hide-required-mark`]:Fr===!1,[`${bi}-rtl`]:Kt==="rtl",[`${bi}-${br}`]:br},Pa,on==null?void 0:on.className,lr,nr),[$a]=Qt(Ur),{__INTERNAL__:Ua}=$a;Ua.name=vn;const Fa=(0,Oe.useMemo)(()=>({name:vn,labelAlign:er,labelCol:_i,labelWrap:kr,wrapperCol:gi,vertical:Mi==="vertical",colon:si,requiredMark:Fr,itemRef:Ua.itemRef,form:$a,feedbackIcons:Ar}),[vn,er,_i,gi,Mi,si,Fr,$a,Ar]);Oe.useImperativeHandle(Dt,()=>$a);const ho=(ta,ui)=>{if(ta){let za={block:"nearest"};typeof ta=="object"&&(za=ta),$a.scrollToField(ui,za)}},oo=ta=>{if(ra==null||ra(ta),ta.errorFields.length){const ui=ta.errorFields[0].name;if(Ca!==void 0){ho(Ca,ui);return}on&&on.scrollToFirstError!==void 0&&ho(on.scrollToFirstError,ui)}};return Ti(Oe.createElement(Et.n,{disabled:Pr},Oe.createElement(bt.q,{size:br},Oe.createElement(ve.RV,Object.assign({},{validateMessages:Ir}),Oe.createElement(ve.q3.Provider,{value:Fa},Oe.createElement(Re.default,Object.assign({id:vn},jr,{name:vn,onFinishFailed:oo,form:$a,style:Object.assign(Object.assign({},on==null?void 0:on.style),gr),className:Ka})))))))};var Cn=Oe.forwardRef(dn),mn=de(41799),Bn=de(8654),Se=de(92343),Fe=de(11592);function ie(kn){if(typeof kn=="function")return kn;const Dt=(0,Fe.Z)(kn);return Dt.length<=1?Dt[0]:Dt}const ae=()=>{const{status:kn,errors:Dt=[],warnings:Gt=[]}=(0,Oe.useContext)(ve.aM);return{status:kn,errors:Dt,warnings:Gt}};ae.Context=ve.aM;var se=ae,oe=de(16089);function Je(kn){const[Dt,Gt]=Oe.useState(kn),Wt=(0,Oe.useRef)(null),Kt=(0,Oe.useRef)([]),on=(0,Oe.useRef)(!1);Oe.useEffect(()=>(on.current=!1,()=>{on.current=!0,oe.Z.cancel(Wt.current),Wt.current=null}),[]);function _n(lr){on.current||(Wt.current===null&&(Kt.current=[],Wt.current=(0,oe.Z)(()=>{Wt.current=null,Gt(nr=>{let dr=nr;return Kt.current.forEach(Pr=>{dr=Pr(dr)}),dr})})),Kt.current.push(lr))}return[Dt,_n]}function vt(){const{itemRef:kn}=Oe.useContext(ve.q3),Dt=Oe.useRef({});function Gt(Wt,Kt){const on=Kt&&typeof Kt=="object"&&Kt.ref,_n=Wt.join("_");return(Dt.current.name!==_n||Dt.current.originRef!==on)&&(Dt.current.name=_n,Dt.current.originRef=on,Dt.current.ref=(0,Bn.sQ)(kn(Wt),on)),Dt.current.ref}return Gt}var $e=de(29194),lt=de(34280),Pt=de(2738),_t=de(27382),kt=de(37028);const $t=kn=>{const{formItemCls:Dt}=kn;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Dt}-control`]:{display:"flex"}}}};var Sn=(0,_e.b)(["Form","item-item"],(kn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Wt=rt(kn,Gt);return[$t(Wt)]}),nn=kn=>{const{prefixCls:Dt,status:Gt,wrapperCol:Wt,children:Kt,errors:on,warnings:_n,_internalItemRender:lr,extra:nr,help:dr,fieldId:Pr,marginBottom:Ur,onErrorVisibleChanged:ei}=kn,er=`${Dt}-item`,kr=Oe.useContext(ve.q3),_i=Wt||kr.wrapperCol||{},gi=He()(`${er}-control`,_i.className),ji=Oe.useMemo(()=>Object.assign({},kr),[kr]);delete ji.labelCol,delete ji.wrapperCol;const Mi=Oe.createElement("div",{className:`${er}-control-input`},Oe.createElement("div",{className:`${er}-control-input-content`},Kt)),Ca=Oe.useMemo(()=>({prefixCls:Dt,status:Gt}),[Dt,Gt]),Jr=Ur!==null||on.length||_n.length?Oe.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Oe.createElement(ve.Rk.Provider,{value:Ca},Oe.createElement(Lt,{fieldId:Pr,errors:on,warnings:_n,help:dr,helpStatus:Gt,className:`${er}-explain-connected`,onVisibleChanged:ei})),!!Ur&&Oe.createElement("div",{style:{width:0,height:Ur}})):null,ra={};Pr&&(ra.id=`${Pr}_extra`);const vn=nr?Oe.createElement("div",Object.assign({},ra,{className:`${er}-extra`}),nr):null,gr=lr&&lr.mark==="pro_table_render"&&lr.render?lr.render(kn,{input:Mi,errorList:Jr,extra:vn}):Oe.createElement(Oe.Fragment,null,Mi,Jr,vn);return Oe.createElement(ve.q3.Provider,{value:ji},Oe.createElement(kt.Z,Object.assign({},_i,{className:gi}),gr),Oe.createElement(Sn,{prefixCls:Dt}))},tn=de(61485),jt=de(31724),pt=de(9763),Zt=de(6848),gn=function(kn,Dt){var Gt={};for(var Wt in kn)Object.prototype.hasOwnProperty.call(kn,Wt)&&Dt.indexOf(Wt)<0&&(Gt[Wt]=kn[Wt]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Wt=Object.getOwnPropertySymbols(kn);Kt<Wt.length;Kt++)Dt.indexOf(Wt[Kt])<0&&Object.prototype.propertyIsEnumerable.call(kn,Wt[Kt])&&(Gt[Wt[Kt]]=kn[Wt[Kt]]);return Gt};function wn(kn){return kn?typeof kn=="object"&&!Oe.isValidElement(kn)?kn:{title:kn}:null}var yr=kn=>{let{prefixCls:Dt,label:Gt,htmlFor:Wt,labelCol:Kt,labelAlign:on,colon:_n,required:lr,requiredMark:nr,tooltip:dr}=kn;var Pr;const[Ur]=(0,pt.Z)("Form"),{vertical:ei,labelAlign:er,labelCol:kr,labelWrap:_i,colon:gi}=Oe.useContext(ve.q3);if(!Gt)return null;const ji=Kt||kr||{},Mi=on||er,Ca=`${Dt}-item-label`,Jr=He()(Ca,Mi==="left"&&`${Ca}-left`,ji.className,{[`${Ca}-wrap`]:!!_i});let ra=Gt;const vn=_n===!0||gi!==!1&&_n!==!1;vn&&!ei&&typeof Gt=="string"&&Gt.trim()!==""&&(ra=Gt.replace(/[:|]\s*$/,""));const Ar=wn(dr);if(Ar){const{icon:Fr=Oe.createElement(tn.Z,null)}=Ar,si=gn(Ar,["icon"]),bi=Oe.createElement(Zt.Z,Object.assign({},si),Oe.cloneElement(Fr,{className:`${Dt}-item-tooltip`,title:""}));ra=Oe.createElement(Oe.Fragment,null,ra,bi)}const jr=nr==="optional",br=typeof nr=="function";br?ra=nr(ra,{required:!!lr}):jr&&!lr&&(ra=Oe.createElement(Oe.Fragment,null,ra,Oe.createElement("span",{className:`${Dt}-item-optional`,title:""},(Ur==null?void 0:Ur.optional)||((Pr=jt.Z.Form)===null||Pr===void 0?void 0:Pr.optional))));const Ir=He()({[`${Dt}-item-required`]:lr,[`${Dt}-item-required-mark-optional`]:jr||br,[`${Dt}-item-no-colon`]:!vn});return Oe.createElement(kt.Z,Object.assign({},ji,{className:Jr}),Oe.createElement("label",{htmlFor:Wt,className:Ir,title:typeof Gt=="string"?Gt:""},ra))},Dr=de(29679),Tr=de(19248),Rr=de(96512),Sr=de(58617);const fr={success:Dr.Z,warning:Rr.Z,error:Tr.Z,validating:Sr.Z};function Vr(kn){let{children:Dt,errors:Gt,warnings:Wt,hasFeedback:Kt,validateStatus:on,prefixCls:_n,meta:lr,noStyle:nr}=kn;const dr=`${_n}-item`,{feedbackIcons:Pr}=Oe.useContext(ve.q3),Ur=Vt(Gt,Wt,lr,null,!!Kt,on),{isFormItemInput:ei,status:er}=Oe.useContext(ve.aM),kr=Oe.useMemo(()=>{var _i;let gi;if(Kt){const Ca=Kt!==!0&&Kt.icons||Pr,Jr=Ur&&((_i=Ca==null?void 0:Ca({status:Ur,errors:Gt,warnings:Wt}))===null||_i===void 0?void 0:_i[Ur]),ra=Ur&&fr[Ur];gi=Jr!==!1&&ra?Oe.createElement("span",{className:He()(`${dr}-feedback-icon`,`${dr}-feedback-icon-${Ur}`)},Jr||Oe.createElement(ra,null)):null}let ji=!0,Mi=Ur||"";return nr&&(ji=ei,Mi=(Ur!=null?Ur:er)||""),{status:Mi,errors:Gt,warnings:Wt,hasFeedback:!!Kt,feedbackIcon:gi,isFormItemInput:ji}},[Ur,Kt,nr,ei,er]);return Oe.createElement(ve.aM.Provider,{value:kr},Dt)}var Bi=function(kn,Dt){var Gt={};for(var Wt in kn)Object.prototype.hasOwnProperty.call(kn,Wt)&&Dt.indexOf(Wt)<0&&(Gt[Wt]=kn[Wt]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Wt=Object.getOwnPropertySymbols(kn);Kt<Wt.length;Kt++)Dt.indexOf(Wt[Kt])<0&&Object.prototype.propertyIsEnumerable.call(kn,Wt[Kt])&&(Gt[Wt[Kt]]=kn[Wt[Kt]]);return Gt};function yi(kn){const{prefixCls:Dt,className:Gt,rootClassName:Wt,style:Kt,help:on,errors:_n,warnings:lr,validateStatus:nr,meta:dr,hasFeedback:Pr,hidden:Ur,children:ei,fieldId:er,required:kr,isRequired:_i,onSubItemMetaChange:gi}=kn,ji=Bi(kn,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),Mi=`${Dt}-item`,{requiredMark:Ca}=Oe.useContext(ve.q3),Jr=Oe.useRef(null),ra=Ae(_n),vn=Ae(lr),gr=on!=null,Ar=!!(gr||_n.length||lr.length),jr=!!Jr.current&&(0,$e.Z)(Jr.current),[br,Ir]=Oe.useState(null);(0,lt.Z)(()=>{if(Ar&&Jr.current){const Pa=getComputedStyle(Jr.current);Ir(parseInt(Pa.marginBottom,10))}},[Ar,jr]);const Fr=Pa=>{Pa||Ir(null)},bi=function(){let Pa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Ka=Pa?ra:dr.errors,$a=Pa?vn:dr.warnings;return Vt(Ka,$a,dr,"",!!Pr,nr)}(),Ti=He()(Mi,Gt,Wt,{[`${Mi}-with-help`]:gr||ra.length||vn.length,[`${Mi}-has-feedback`]:bi&&Pr,[`${Mi}-has-success`]:bi==="success",[`${Mi}-has-warning`]:bi==="warning",[`${Mi}-has-error`]:bi==="error",[`${Mi}-is-validating`]:bi==="validating",[`${Mi}-hidden`]:Ur});return Oe.createElement("div",{className:Ti,style:Kt,ref:Jr},Oe.createElement(_t.Z,Object.assign({className:`${Mi}-row`},(0,Pt.Z)(ji,["_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"])),Oe.createElement(yr,Object.assign({htmlFor:er},kn,{requiredMark:Ca,required:kr!=null?kr:_i,prefixCls:Dt})),Oe.createElement(nn,Object.assign({},kn,dr,{errors:ra,warnings:vn,prefixCls:Dt,status:bi,help:on,marginBottom:br,onErrorVisibleChanged:Fr}),Oe.createElement(ve.qI.Provider,{value:gi},Oe.createElement(Vr,{prefixCls:Dt,meta:dr,errors:dr.errors,warnings:dr.warnings,hasFeedback:Pr,validateStatus:bi},ei)))),!!br&&Oe.createElement("div",{className:`${Mi}-margin-offset`,style:{marginBottom:-br}}))}const mi="__SPLIT__",Vi=null,ua=Oe.memo(kn=>{let{children:Dt}=kn;return Dt},(kn,Dt)=>kn.value===Dt.value&&kn.update===Dt.update&&kn.childProps.length===Dt.childProps.length&&kn.childProps.every((Gt,Wt)=>Gt===Dt.childProps[Wt]));function Wr(kn){return kn!=null}function Mn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ea(kn){const{name:Dt,noStyle:Gt,className:Wt,dependencies:Kt,prefixCls:on,shouldUpdate:_n,rules:lr,children:nr,required:dr,label:Pr,messageVariables:Ur,trigger:ei="onChange",validateTrigger:er,hidden:kr,help:_i}=kn,{getPrefixCls:gi}=Oe.useContext(Ht.E_),{name:ji}=Oe.useContext(ve.q3),Mi=ie(nr),Ca=typeof Mi=="function",Jr=Oe.useContext(ve.qI),{validateTrigger:ra}=Oe.useContext(Re.FieldContext),vn=er!==void 0?er:ra,gr=Wr(Dt),Ar=gi("form",on),[jr,br]=ht(Ar),Ir=Oe.useContext(Re.ListContext),Fr=Oe.useRef(),[si,bi]=Je({}),[Ti,Pa]=(0,mn.Z)(()=>Mn()),Ka=ui=>{const za=Ir==null?void 0:Ir.getKey(ui.name);if(Pa(ui.destroy?Mn():ui,!0),Gt&&_i!==!1&&Jr){let no=ui.name;if(ui.destroy)no=Fr.current||no;else if(za!==void 0){const[La,xo]=za;no=[La].concat((0,he.Z)(xo)),Fr.current=no}Jr(ui,no)}},$a=(ui,za)=>{bi(no=>{const La=Object.assign({},no),os=[].concat((0,he.Z)(ui.name.slice(0,-1)),(0,he.Z)(za)).join(mi);return ui.destroy?delete La[os]:La[os]=ui,La})},[Ua,Fa]=Oe.useMemo(()=>{const ui=(0,he.Z)(Ti.errors),za=(0,he.Z)(Ti.warnings);return Object.values(si).forEach(no=>{ui.push.apply(ui,(0,he.Z)(no.errors||[])),za.push.apply(za,(0,he.Z)(no.warnings||[]))}),[ui,za]},[si,Ti.errors,Ti.warnings]),ho=vt();function oo(ui,za,no){return Gt&&!kr?Oe.createElement(Vr,{prefixCls:Ar,hasFeedback:kn.hasFeedback,validateStatus:kn.validateStatus,meta:Ti,errors:Ua,warnings:Fa,noStyle:!0},ui):Oe.createElement(yi,Object.assign({key:"row"},kn,{className:He()(Wt,br),prefixCls:Ar,fieldId:za,isRequired:no,errors:Ua,warnings:Fa,meta:Ti,onSubItemMetaChange:$a}),ui)}if(!gr&&!Ca&&!Kt)return jr(oo(Mi));let ta={};return typeof Pr=="string"?ta.label=Pr:Dt&&(ta.label=String(Dt)),Ur&&(ta=Object.assign(Object.assign({},ta),Ur)),jr(Oe.createElement(Re.Field,Object.assign({},kn,{messageVariables:ta,trigger:ei,validateTrigger:vn,onMetaChange:Ka}),(ui,za,no)=>{const La=at(Dt).length&&za?za.name:[],xo=Xt(La,ji),os=dr!==void 0?dr:!!(lr&&lr.some(Ci=>{if(Ci&&typeof Ci=="object"&&Ci.required&&!Ci.warningOnly)return!0;if(typeof Ci=="function"){const Ha=Ci(no);return Ha&&Ha.required&&!Ha.warningOnly}return!1})),Va=Object.assign({},ui);let Ii=null;if(Array.isArray(Mi)&&gr)Ii=Mi;else if(!(Ca&&(!(_n||Kt)||gr))){if(!(Kt&&!Ca&&!gr))if((0,Se.l$)(Mi)){const Ci=Object.assign(Object.assign({},Mi.props),Va);if(Ci.id||(Ci.id=xo),_i||Ua.length>0||Fa.length>0||kn.extra){const eo=[];(_i||Ua.length>0)&&eo.push(`${xo}_help`),kn.extra&&eo.push(`${xo}_extra`),Ci["aria-describedby"]=eo.join(" ")}Ua.length>0&&(Ci["aria-invalid"]="true"),os&&(Ci["aria-required"]="true"),(0,Bn.Yr)(Mi)&&(Ci.ref=ho(La,Mi)),new Set([].concat((0,he.Z)(at(ei)),(0,he.Z)(at(vn)))).forEach(eo=>{Ci[eo]=function(){for(var Lo,vo,jn,Oo,Ks,Sa=arguments.length,ga=new Array(Sa),Co=0;Co<Sa;Co++)ga[Co]=arguments[Co];(jn=Va[eo])===null||jn===void 0||(Lo=jn).call.apply(Lo,[Va].concat(ga)),(Ks=(Oo=Mi.props)[eo])===null||Ks===void 0||(vo=Ks).call.apply(vo,[Oo].concat(ga))}});const Oa=[Ci["aria-required"],Ci["aria-invalid"],Ci["aria-describedby"]];Ii=Oe.createElement(ua,{value:Va[kn.valuePropName||"value"],update:Mi,childProps:Oa},(0,Se.Tm)(Mi,Ci))}else Ca&&(_n||Kt)&&!gr?Ii=Mi(no):Ii=Mi}return oo(Ii,xo,os)}))}const Ea=ea;Ea.useStatus=se;var wo=Ea,sa=function(kn,Dt){var Gt={};for(var Wt in kn)Object.prototype.hasOwnProperty.call(kn,Wt)&&Dt.indexOf(Wt)<0&&(Gt[Wt]=kn[Wt]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Wt=Object.getOwnPropertySymbols(kn);Kt<Wt.length;Kt++)Dt.indexOf(Wt[Kt])<0&&Object.prototype.propertyIsEnumerable.call(kn,Wt[Kt])&&(Gt[Wt[Kt]]=kn[Wt[Kt]]);return Gt},Aa=kn=>{var{prefixCls:Dt,children:Gt}=kn,Wt=sa(kn,["prefixCls","children"]);const{getPrefixCls:Kt}=Oe.useContext(Ht.E_),on=Kt("form",Dt),_n=Oe.useMemo(()=>({prefixCls:on,status:"error"}),[on]);return Oe.createElement(Re.List,Object.assign({},Wt),(lr,nr,dr)=>Oe.createElement(ve.Rk.Provider,{value:_n},Gt(lr.map(Pr=>Object.assign(Object.assign({},Pr),{fieldKey:Pr.key})),nr,{errors:dr.errors,warnings:dr.warnings})))};function Si(){const{form:kn}=(0,Oe.useContext)(ve.q3);return kn}const qr=Cn;qr.Item=wo,qr.List=Aa,qr.ErrorList=Lt,qr.useForm=Qt,qr.useFormInstance=Si,qr.useWatch=Re.useWatch,qr.Provider=ve.RV,qr.create=()=>{};var Ma=qr},8628:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(34280),He=de(56762),ft=de(69507);function Oe(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,he.useRef)({}),Ae=(0,He.Z)(),xe=(0,ft.ZP)();return(0,Me.Z)(()=>{const fe=xe.subscribe(Ke=>{ve.current=Ke,Le&&Ae()});return()=>xe.unsubscribe(fe)},[]),ve.current}Yt.Z=Oe},5871:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return tn}});var he=de(84105),Me=de(87395),He=de(92310),ft=de.n(He),Oe=de(60499),Le=de(18642),ve=de(43749),Ae=de(72190),xe=de(42244),fe=de(38705),Ke=de(17212);function Be(){return typeof BigInt=="function"}function _e(jt){return!jt&&jt!==0&&!Number.isNaN(jt)||!String(jt).trim()}function Ne(jt){var pt=jt.trim(),Zt=pt.startsWith("-");Zt&&(pt=pt.slice(1)),pt=pt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),pt.startsWith(".")&&(pt="0".concat(pt));var gn=pt||"0",wn=gn.split("."),Xn=wn[0]||"0",yr=wn[1]||"0";Xn==="0"&&yr==="0"&&(Zt=!1);var Dr=Zt?"-":"";return{negative:Zt,negativeStr:Dr,trimStr:gn,integerStr:Xn,decimalStr:yr,fullStr:"".concat(Dr).concat(gn)}}function Qe(jt){var pt=String(jt);return!Number.isNaN(Number(pt))&&pt.includes("e")}function ke(jt){var pt=String(jt);if(Qe(jt)){var Zt=Number(pt.slice(pt.indexOf("e-")+2)),gn=pt.match(/\.(\d+)/);return gn!=null&&gn[1]&&(Zt+=gn[1].length),Zt}return pt.includes(".")&&Te(pt)?pt.length-pt.indexOf(".")-1:0}function Pe(jt){var pt=String(jt);if(Qe(jt)){if(jt>Number.MAX_SAFE_INTEGER)return String(Be()?BigInt(jt).toString():Number.MAX_SAFE_INTEGER);if(jt<Number.MIN_SAFE_INTEGER)return String(Be()?BigInt(jt).toString():Number.MIN_SAFE_INTEGER);pt=jt.toFixed(ke(pt))}return Ne(pt).fullStr}function Te(jt){return typeof jt=="number"?!Number.isNaN(jt):jt?/^\s*-?\d+(\.\d+)?\s*$/.test(jt)||/^\s*-?\d+\.\s*$/.test(jt)||/^\s*-?\.\d+\s*$/.test(jt):!1}var Ye=function(){function jt(pt){if((0,fe.Z)(this,jt),(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 Zt=pt;if(Qe(Zt)&&(Zt=Number(Zt)),Zt=typeof Zt=="string"?Zt:Pe(Zt),Te(Zt)){var gn=Ne(Zt);this.negative=gn.negative;var wn=gn.trimStr.split(".");this.integer=BigInt(wn[0]);var Xn=wn[1]||"0";this.decimal=BigInt(Xn),this.decimalLen=Xn.length}else this.nan=!0}return(0,Ke.Z)(jt,[{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(Zt){var gn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Zt,"0"));return BigInt(gn)}},{key:"negate",value:function(){var Zt=new jt(this.toString());return Zt.negative=!Zt.negative,Zt}},{key:"cal",value:function(Zt,gn,wn){var Xn=Math.max(this.getDecimalStr().length,Zt.getDecimalStr().length),yr=this.alignDecimal(Xn),Dr=Zt.alignDecimal(Xn),Tr=gn(yr,Dr).toString(),Rr=wn(Xn),Sr=Ne(Tr),fr=Sr.negativeStr,Vr=Sr.trimStr,Bi="".concat(fr).concat(Vr.padStart(Rr+1,"0"));return new jt("".concat(Bi.slice(0,-Rr),".").concat(Bi.slice(-Rr)))}},{key:"add",value:function(Zt){if(this.isInvalidate())return new jt(Zt);var gn=new jt(Zt);return gn.isInvalidate()?this:this.cal(gn,function(wn,Xn){return wn+Xn},function(wn){return wn})}},{key:"multi",value:function(Zt){var gn=new jt(Zt);return this.isInvalidate()||gn.isInvalidate()?new jt(NaN):this.cal(gn,function(wn,Xn){return wn*Xn},function(wn){return wn*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(Zt){return this.toString()===(Zt==null?void 0:Zt.toString())}},{key:"lessEquals",value:function(Zt){return this.add(Zt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Zt?this.isInvalidate()?"":Ne("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),jt}(),ze=function(){function jt(pt){if((0,fe.Z)(this,jt),(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,Ke.Z)(jt,[{key:"negate",value:function(){return new jt(-this.toNumber())}},{key:"add",value:function(Zt){if(this.isInvalidate())return new jt(Zt);var gn=Number(Zt);if(Number.isNaN(gn))return this;var wn=this.number+gn;if(wn>Number.MAX_SAFE_INTEGER)return new jt(Number.MAX_SAFE_INTEGER);if(wn<Number.MIN_SAFE_INTEGER)return new jt(Number.MIN_SAFE_INTEGER);var Xn=Math.max(ke(this.number),ke(gn));return new jt(wn.toFixed(Xn))}},{key:"multi",value:function(Zt){var gn=Number(Zt);if(this.isInvalidate()||Number.isNaN(gn))return new jt(NaN);var wn=this.number*gn;if(wn>Number.MAX_SAFE_INTEGER)return new jt(Number.MAX_SAFE_INTEGER);if(wn<Number.MIN_SAFE_INTEGER)return new jt(Number.MIN_SAFE_INTEGER);var Xn=Math.max(ke(this.number),ke(gn));return new jt(wn.toFixed(Xn))}},{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(Zt){return this.toNumber()===(Zt==null?void 0:Zt.toNumber())}},{key:"lessEquals",value:function(Zt){return this.add(Zt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Zt?this.isInvalidate()?"":Pe(this.number):this.origin}}]),jt}();function qe(jt){return Be()?new Ye(jt):new ze(jt)}function We(jt,pt,Zt){var gn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(jt==="")return"";var wn=Ne(jt),Xn=wn.negativeStr,yr=wn.integerStr,Dr=wn.decimalStr,Tr="".concat(pt).concat(Dr),Rr="".concat(Xn).concat(yr);if(Zt>=0){var Sr=Number(Dr[Zt]);if(Sr>=5&&!gn){var fr=qe(jt).add("".concat(Xn,"0.").concat("0".repeat(Zt)).concat(10-Sr));return We(fr.toString(),pt,Zt,gn)}return Zt===0?Rr:"".concat(Rr).concat(pt).concat(Dr.padEnd(Zt,"0").slice(0,Zt))}return Tr===".0"?Rr:"".concat(Rr).concat(Tr)}var Ze=qe,et=de(93681),rt=de(34280),ht=de(8654),dt=de(59301),Ct=de(48736);function Xe(jt,pt){var Zt=(0,dt.useRef)(null);function gn(){try{var Xn=jt.selectionStart,yr=jt.selectionEnd,Dr=jt.value,Tr=Dr.substring(0,Xn),Rr=Dr.substring(yr);Zt.current={start:Xn,end:yr,value:Dr,beforeTxt:Tr,afterTxt:Rr}}catch(Sr){}}function wn(){if(jt&&Zt.current&&pt)try{var Xn=jt.value,yr=Zt.current,Dr=yr.beforeTxt,Tr=yr.afterTxt,Rr=yr.start,Sr=Xn.length;if(Xn.endsWith(Tr))Sr=Xn.length-Zt.current.afterTxt.length;else if(Xn.startsWith(Dr))Sr=Dr.length;else{var fr=Dr[Rr-1],Vr=Xn.indexOf(fr,Rr-1);Vr!==-1&&(Sr=Vr+1)}jt.setSelectionRange(Sr,Sr)}catch(Bi){(0,Ct.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Bi.message))}}return[gn,wn]}var Lt=de(49658),Re=function(){var pt=(0,dt.useState)(!1),Zt=(0,Ae.Z)(pt,2),gn=Zt[0],wn=Zt[1];return(0,rt.Z)(function(){wn((0,Lt.Z)())},[]),gn},Ht=Re,Et=de(16089),bt=200,Tt=600;function wt(jt){var pt=jt.prefixCls,Zt=jt.upNode,gn=jt.downNode,wn=jt.upDisabled,Xn=jt.downDisabled,yr=jt.onStep,Dr=dt.useRef(),Tr=dt.useRef([]),Rr=dt.useRef();Rr.current=yr;var Sr=function(){clearTimeout(Dr.current)},fr=function(Mn,ea){Mn.preventDefault(),Sr(),Rr.current(ea);function Ea(){Rr.current(ea),Dr.current=setTimeout(Ea,bt)}Dr.current=setTimeout(Ea,Tt)};dt.useEffect(function(){return function(){Sr(),Tr.current.forEach(function(Wr){return Et.Z.cancel(Wr)})}},[]);var Vr=Ht();if(Vr)return null;var Bi="".concat(pt,"-handler"),yi=ft()(Bi,"".concat(Bi,"-up"),(0,Le.Z)({},"".concat(Bi,"-up-disabled"),wn)),mi=ft()(Bi,"".concat(Bi,"-down"),(0,Le.Z)({},"".concat(Bi,"-down-disabled"),Xn)),Vi=function(){return Tr.current.push((0,Et.Z)(Sr))},ua={unselectable:"on",role:"button",onMouseUp:Vi,onMouseLeave:Vi};return dt.createElement("div",{className:"".concat(Bi,"-wrap")},dt.createElement("span",(0,Oe.Z)({},ua,{onMouseDown:function(Mn){fr(Mn,!0)},"aria-label":"Increase Value","aria-disabled":wn,className:yi}),Zt||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-up-inner")})),dt.createElement("span",(0,Oe.Z)({},ua,{onMouseDown:function(Mn){fr(Mn,!1)},"aria-label":"Decrease Value","aria-disabled":Xn,className:mi}),gn||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-down-inner")})))}function it(jt){var pt=typeof jt=="number"?Pe(jt):Ne(jt).fullStr,Zt=pt.includes(".");return Zt?Ne(pt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:jt+"0"}var Ue=de(5643),at=function(){var jt=(0,dt.useRef)(0),pt=function(){Et.Z.cancel(jt.current)};return(0,dt.useEffect)(function(){return pt},[]),function(Zt){pt(),jt.current=(0,Et.Z)(function(){Zt()})}},Xt=["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"],xt=function(pt,Zt){return pt||Zt.isEmpty()?Zt.toString():Zt.toNumber()},Qt=function(pt){var Zt=Ze(pt);return Zt.isInvalidate()?null:Zt},An=dt.forwardRef(function(jt,pt){var Zt,gn=jt.prefixCls,wn=gn===void 0?"rc-input-number":gn,Xn=jt.className,yr=jt.style,Dr=jt.min,Tr=jt.max,Rr=jt.step,Sr=Rr===void 0?1:Rr,fr=jt.defaultValue,Vr=jt.value,Bi=jt.disabled,yi=jt.readOnly,mi=jt.upHandler,Vi=jt.downHandler,ua=jt.keyboard,Wr=jt.controls,Mn=Wr===void 0?!0:Wr,ea=jt.classNames,Ea=jt.stringMode,wo=jt.parser,sa=jt.formatter,Pi=jt.precision,Aa=jt.decimalSeparator,Si=jt.onChange,qr=jt.onInput,Ma=jt.onPressEnter,kn=jt.onStep,Dt=(0,xe.Z)(jt,Xt),Gt="".concat(wn,"-input"),Wt=dt.useRef(null),Kt=dt.useState(!1),on=(0,Ae.Z)(Kt,2),_n=on[0],lr=on[1],nr=dt.useRef(!1),dr=dt.useRef(!1),Pr=dt.useRef(!1),Ur=dt.useState(function(){return Ze(Vr!=null?Vr:fr)}),ei=(0,Ae.Z)(Ur,2),er=ei[0],kr=ei[1];function _i(Ii){Vr===void 0&&kr(Ii)}var gi=dt.useCallback(function(Ii,Ci){if(!Ci)return Pi>=0?Pi:Math.max(ke(Ii),ke(Sr))},[Pi,Sr]),ji=dt.useCallback(function(Ii){var Ci=String(Ii);if(wo)return wo(Ci);var Ha=Ci;return Aa&&(Ha=Ha.replace(Aa,".")),Ha.replace(/[^\w.-]+/g,"")},[wo,Aa]),Mi=dt.useRef(""),Ca=dt.useCallback(function(Ii,Ci){if(sa)return sa(Ii,{userTyping:Ci,input:String(Mi.current)});var Ha=typeof Ii=="number"?Pe(Ii):Ii;if(!Ci){var Oa=gi(Ha,Ci);if(Te(Ha)&&(Aa||Oa>=0)){var eo=Aa||".";Ha=We(Ha,eo,Oa)}}return Ha},[sa,gi,Aa]),Jr=dt.useState(function(){var Ii=fr!=null?fr:Vr;return er.isInvalidate()&&["string","number"].includes((0,ve.Z)(Ii))?Number.isNaN(Ii)?"":Ii:Ca(er.toString(),!1)}),ra=(0,Ae.Z)(Jr,2),vn=ra[0],gr=ra[1];Mi.current=vn;function Ar(Ii,Ci){gr(Ca(Ii.isInvalidate()?Ii.toString(!1):Ii.toString(!Ci),Ci))}var jr=dt.useMemo(function(){return Qt(Tr)},[Tr,Pi]),br=dt.useMemo(function(){return Qt(Dr)},[Dr,Pi]),Ir=dt.useMemo(function(){return!jr||!er||er.isInvalidate()?!1:jr.lessEquals(er)},[jr,er]),Fr=dt.useMemo(function(){return!br||!er||er.isInvalidate()?!1:er.lessEquals(br)},[br,er]),si=Xe(Wt.current,_n),bi=(0,Ae.Z)(si,2),Ti=bi[0],Pa=bi[1],Ka=function(Ci){return jr&&!Ci.lessEquals(jr)?jr:br&&!br.lessEquals(Ci)?br:null},$a=function(Ci){return!Ka(Ci)},Ua=function(Ci,Ha){var Oa=Ci,eo=$a(Oa)||Oa.isEmpty();if(!Oa.isEmpty()&&!Ha&&(Oa=Ka(Oa)||Oa,eo=!0),!yi&&!Bi&&eo){var Lo=Oa.toString(),vo=gi(Lo,Ha);return vo>=0&&(Oa=Ze(We(Lo,".",vo)),$a(Oa)||(Oa=Ze(We(Lo,".",vo,!0)))),Oa.equals(er)||(_i(Oa),Si==null||Si(Oa.isEmpty()?null:xt(Ea,Oa)),Vr===void 0&&Ar(Oa,Ha)),Oa}return er},Fa=at(),ho=function Ii(Ci){if(Ti(),Mi.current=Ci,gr(Ci),!dr.current){var Ha=ji(Ci),Oa=Ze(Ha);Oa.isNaN()||Ua(Oa,!0)}qr==null||qr(Ci),Fa(function(){var eo=Ci;wo||(eo=Ci.replace(/。/g,".")),eo!==Ci&&Ii(eo)})},oo=function(){dr.current=!0},ta=function(){dr.current=!1,ho(Wt.current.value)},ui=function(Ci){ho(Ci.target.value)},za=function(Ci){var Ha;if(!(Ci&&Ir||!Ci&&Fr)){nr.current=!1;var Oa=Ze(Pr.current?it(Sr):Sr);Ci||(Oa=Oa.negate());var eo=(er||Ze(0)).add(Oa.toString()),Lo=Ua(eo,!1);kn==null||kn(xt(Ea,Lo),{offset:Pr.current?it(Sr):Sr,type:Ci?"up":"down"}),(Ha=Wt.current)===null||Ha===void 0||Ha.focus()}},no=function(Ci){var Ha=Ze(ji(vn)),Oa=Ha;Ha.isNaN()?Oa=Ua(er,Ci):Oa=Ua(Ha,Ci),Vr!==void 0?Ar(er,!1):Oa.isNaN()||Ar(Oa,!1)},La=function(){nr.current=!0},xo=function(Ci){var Ha=Ci.key,Oa=Ci.shiftKey;nr.current=!0,Pr.current=Oa,Ha==="Enter"&&(dr.current||(nr.current=!1),no(!1),Ma==null||Ma(Ci)),ua!==!1&&!dr.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ha)&&(za(Ha==="Up"||Ha==="ArrowUp"),Ci.preventDefault())},os=function(){nr.current=!1,Pr.current=!1},Va=function(){no(!1),lr(!1),nr.current=!1};return(0,rt.o)(function(){er.isInvalidate()||Ar(er,!1)},[Pi]),(0,rt.o)(function(){var Ii=Ze(Vr);kr(Ii);var Ci=Ze(ji(vn));(!Ii.equals(Ci)||!nr.current||sa)&&Ar(Ii,nr.current)},[Vr]),(0,rt.o)(function(){sa&&Pa()},[vn]),dt.createElement("div",{className:ft()(wn,ea==null?void 0:ea.input,Xn,(Zt={},(0,Le.Z)(Zt,"".concat(wn,"-focused"),_n),(0,Le.Z)(Zt,"".concat(wn,"-disabled"),Bi),(0,Le.Z)(Zt,"".concat(wn,"-readonly"),yi),(0,Le.Z)(Zt,"".concat(wn,"-not-a-number"),er.isNaN()),(0,Le.Z)(Zt,"".concat(wn,"-out-of-range"),!er.isInvalidate()&&!$a(er)),Zt)),style:yr,onFocus:function(){lr(!0)},onBlur:Va,onKeyDown:xo,onKeyUp:os,onCompositionStart:oo,onCompositionEnd:ta,onBeforeInput:La},Mn&&dt.createElement(wt,{prefixCls:wn,upNode:mi,downNode:Vi,upDisabled:Ir,downDisabled:Fr,onStep:za}),dt.createElement("div",{className:"".concat(Gt,"-wrap")},dt.createElement("input",(0,Oe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Dr,"aria-valuemax":Tr,"aria-valuenow":er.isInvalidate()?null:er.toString(),step:Sr},Dt,{ref:(0,ht.sQ)(Wt,pt),className:Gt,value:vn,onChange:ui,disabled:Bi,readOnly:yi}))))}),Tn=dt.forwardRef(function(jt,pt){var Zt=jt.disabled,gn=jt.style,wn=jt.prefixCls,Xn=jt.value,yr=jt.prefix,Dr=jt.suffix,Tr=jt.addonBefore,Rr=jt.addonAfter,Sr=jt.classes,fr=jt.className,Vr=jt.classNames,Bi=(0,xe.Z)(jt,Vt),yi=dt.useRef(null),mi=function(ua){yi.current&&(0,Ue.nH)(yi.current,ua)};return dt.createElement(et.BaseInput,{inputElement:dt.createElement(An,(0,Oe.Z)({prefixCls:wn,disabled:Zt,classNames:Vr,ref:(0,ht.sQ)(yi,pt)},Bi)),className:fr,triggerFocus:mi,prefixCls:wn,value:Xn,disabled:Zt,style:gn,prefix:yr,suffix:Dr,addonAfter:Rr,addonBefore:Tr,classes:Sr,classNames:Vr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Tn.displayName="InputNumber";var dn=Tn,Gn=dn,Cn=de(19080),mn=de(36355),Bn=de(92736),Se=de(1684),Fe=de(19716),ie=de(32441),ae=de(33234),se=de(9937),oe=de(17313),Je=de(74207),vt=de(83116),$e=de(37613);const lt=(jt,pt)=>{let{componentCls:Zt,borderRadiusSM:gn,borderRadiusLG:wn}=jt;const Xn=pt==="lg"?wn:gn;return{[`&-${pt}`]:{[`${Zt}-handler-wrap`]:{borderStartEndRadius:Xn,borderEndEndRadius:Xn},[`${Zt}-handler-up`]:{borderStartEndRadius:Xn},[`${Zt}-handler-down`]:{borderEndEndRadius:Xn}}}},Pt=jt=>{const{componentCls:pt,lineWidth:Zt,lineType:gn,colorBorder:wn,borderRadius:Xn,fontSizeLG:yr,controlHeightLG:Dr,controlHeightSM:Tr,colorError:Rr,paddingInlineSM:Sr,colorTextDescription:fr,motionDurationMid:Vr,handleHoverColor:Bi,paddingInline:yi,paddingBlock:mi,handleBg:Vi,handleActiveBg:ua,colorTextDisabled:Wr,borderRadiusSM:Mn,borderRadiusLG:ea,controlWidth:Ea,handleVisible:wo,handleBorderColor:sa}=jt;return[{[pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(jt)),(0,se.ik)(jt)),(0,se.bi)(jt,pt)),{display:"inline-block",width:Ea,margin:0,padding:0,border:`${Zt}px ${gn} ${wn}`,borderRadius:Xn,"&-rtl":{direction:"rtl",[`${pt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:yr,borderRadius:ea,[`input${pt}-input`]:{height:Dr-2*Zt}},"&-sm":{padding:0,borderRadius:Mn,[`input${pt}-input`]:{height:Tr-2*Zt,padding:`0 ${Sr}px`}},"&:hover":Object.assign({},(0,se.pU)(jt)),"&-focused":Object.assign({},(0,se.M1)(jt)),"&-out-of-range":{[`${pt}-input-wrap`]:{input:{color:Rr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(jt)),(0,se.s7)(jt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${pt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${pt}-group-addon`]:{borderRadius:ea,fontSize:jt.fontSizeLG}},"&-sm":{[`${pt}-group-addon`]:{borderRadius:Mn}},[`${pt}-wrapper-disabled > ${pt}-group-addon`]:Object.assign({},(0,se.Xy)(jt))}}),[`&-disabled ${pt}-input`]:{cursor:"not-allowed"},[pt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(jt)),{width:"100%",padding:`${mi}px ${yi}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Xn,outline:0,transition:`all ${Vr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,se.nz)(jt.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:jt.handleWidth,height:"100%",background:Vi,borderStartStartRadius:0,borderStartEndRadius:Xn,borderEndEndRadius:Xn,borderEndStartRadius:0,opacity:wo===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Vr} linear ${Vr}`,[`${pt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${pt}-handler-up-inner,
${pt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:jt.handleFontSize}}},[`${pt}-handler`]:{height:"50%",overflow:"hidden",color:fr,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Zt}px ${gn} ${sa}`,transition:`all ${Vr} linear`,"&:active":{background:ua},"&: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:fr,transition:`all ${Vr} linear`,userSelect:"none"})},[`${pt}-handler-up`]:{borderStartEndRadius:Xn},[`${pt}-handler-down`]:{borderBlockStart:`${Zt}px ${gn} ${sa}`,borderEndEndRadius:Xn}},lt(jt,"lg")),lt(jt,"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:Wr}})},{[`${pt}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${pt}-handler-down`]:{borderBlockStartWidth:0}}}]},_t=jt=>{const{componentCls:pt,paddingBlock:Zt,paddingInline:gn,inputAffixPadding:wn,controlWidth:Xn,borderRadiusLG:yr,borderRadiusSM:Dr}=jt;return{[`${pt}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,se.ik)(jt)),(0,se.bi)(jt,`${pt}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Xn,padding:0,paddingInlineStart:gn,"&-lg":{borderRadius:yr},"&-sm":{borderRadius:Dr},[`&:not(${pt}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,se.pU)(jt)),{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:`${Zt}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:wn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:gn,marginInlineStart:wn}}})}};var kt=(0,vt.Z)("InputNumber",jt=>{const pt=(0,$e.TS)(jt,(0,se.e5)(jt));return[Pt(pt),_t(pt),(0,Je.c)(pt)]},jt=>Object.assign(Object.assign({},(0,se.TM)(jt)),{controlWidth:90,handleWidth:jt.controlHeightSM-jt.lineWidth*2,handleFontSize:jt.fontSize/2,handleVisible:"auto",handleActiveBg:jt.colorFillAlter,handleBg:jt.colorBgContainer,handleHoverColor:jt.colorPrimary,handleBorderColor:jt.colorBorder})),$t=function(jt,pt){var Zt={};for(var gn in jt)Object.prototype.hasOwnProperty.call(jt,gn)&&pt.indexOf(gn)<0&&(Zt[gn]=jt[gn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,gn=Object.getOwnPropertySymbols(jt);wn<gn.length;wn++)pt.indexOf(gn[wn])<0&&Object.prototype.propertyIsEnumerable.call(jt,gn[wn])&&(Zt[gn[wn]]=jt[gn[wn]]);return Zt};const Sn=dt.forwardRef((jt,pt)=>{const{getPrefixCls:Zt,direction:gn}=dt.useContext(mn.E_),wn=dt.useRef(null);dt.useImperativeHandle(pt,()=>wn.current);const{className:Xn,rootClassName:yr,size:Dr,disabled:Tr,prefixCls:Rr,addonBefore:Sr,addonAfter:fr,prefix:Vr,bordered:Bi=!0,readOnly:yi,status:mi,controls:Vi}=jt,ua=$t(jt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Wr=Zt("input-number",Rr),[Mn,ea]=kt(Wr),{compactSize:Ea,compactItemClassnames:wo}=(0,ae.ri)(Wr,gn);let sa=dt.createElement(Me.Z,{className:`${Wr}-handler-up-inner`}),Pi=dt.createElement(he.Z,{className:`${Wr}-handler-down-inner`});const Aa=typeof Vi=="boolean"?Vi:void 0;typeof Vi=="object"&&(sa=typeof Vi.upIcon=="undefined"?sa:dt.createElement("span",{className:`${Wr}-handler-up-inner`},Vi.upIcon),Pi=typeof Vi.downIcon=="undefined"?Pi:dt.createElement("span",{className:`${Wr}-handler-down-inner`},Vi.downIcon));const{hasFeedback:Si,status:qr,isFormItemInput:Ma,feedbackIcon:kn}=dt.useContext(ie.aM),Dt=(0,Cn.F)(qr,mi),Gt=(0,Fe.Z)(nr=>{var dr;return(dr=Dr!=null?Dr:Ea)!==null&&dr!==void 0?dr:nr}),Wt=dt.useContext(Se.Z),Kt=Tr!=null?Tr:Wt,on=ft()({[`${Wr}-lg`]:Gt==="large",[`${Wr}-sm`]:Gt==="small",[`${Wr}-rtl`]:gn==="rtl",[`${Wr}-borderless`]:!Bi,[`${Wr}-in-form-item`]:Ma},(0,Cn.Z)(Wr,Dt),wo,ea),_n=`${Wr}-group`,lr=dt.createElement(Gn,Object.assign({ref:wn,disabled:Kt,className:ft()(Xn,yr),upHandler:sa,downHandler:Pi,prefixCls:Wr,readOnly:yi,controls:Aa,prefix:Vr,suffix:Si&&kn,addonAfter:fr&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},fr)),addonBefore:Sr&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},Sr)),classNames:{input:on},classes:{affixWrapper:ft()((0,Cn.Z)(`${Wr}-affix-wrapper`,Dt,Si),{[`${Wr}-affix-wrapper-sm`]:Gt==="small",[`${Wr}-affix-wrapper-lg`]:Gt==="large",[`${Wr}-affix-wrapper-rtl`]:gn==="rtl",[`${Wr}-affix-wrapper-borderless`]:!Bi},ea),wrapper:ft()({[`${_n}-rtl`]:gn==="rtl",[`${Wr}-wrapper-disabled`]:Kt},ea),group:ft()({[`${Wr}-group-wrapper-sm`]:Gt==="small",[`${Wr}-group-wrapper-lg`]:Gt==="large",[`${Wr}-group-wrapper-rtl`]:gn==="rtl"},(0,Cn.Z)(`${Wr}-group-wrapper`,Dt,Si),ea)}},ua));return Mn(lr)}),St=Sn,nn=jt=>dt.createElement(Bn.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},dt.createElement(Sn,Object.assign({},jt)));St._InternalPanelDoNotUseOrYouWillBeFired=nn;var tn=St},9432:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ye},n:function(){return Pe}});var he=de(19248),Me=de(92310),He=de.n(Me),ft=de(93681),Oe=de(8654),Le=de(59301),ve=de(19080),Ae=de(36355),xe=de(1684),fe=de(19716),Ke=de(32441),Be=de(33234),_e=de(59412),Ne=de(9937);function Qe(ze){return!!(ze.prefix||ze.suffix||ze.allowClear)}var ke=function(ze,qe){var We={};for(var Ze in ze)Object.prototype.hasOwnProperty.call(ze,Ze)&&qe.indexOf(Ze)<0&&(We[Ze]=ze[Ze]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ze=Object.getOwnPropertySymbols(ze);et<Ze.length;et++)qe.indexOf(Ze[et])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ze[et])&&(We[Ze[et]]=ze[Ze[et]]);return We};function Pe(ze,qe){if(!ze)return;ze.focus(qe);const{cursor:We}=qe||{};if(We){const Ze=ze.value.length;switch(We){case"start":ze.setSelectionRange(0,0);break;case"end":ze.setSelectionRange(Ze,Ze);break;default:ze.setSelectionRange(0,Ze);break}}}var Ye=(0,Le.forwardRef)((ze,qe)=>{var We;const{prefixCls:Ze,bordered:et=!0,status:rt,size:ht,disabled:dt,onBlur:Ct,onFocus:Xe,suffix:Lt,allowClear:Re,addonAfter:Ht,addonBefore:Et,className:bt,style:Tt,styles:wt,rootClassName:it,onChange:Ue,classNames:at}=ze,Xt=ke(ze,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Vt,direction:xt,input:Qt}=Le.useContext(Ae.E_),An=Vt("input",Ze),Tn=(0,Le.useRef)(null),[dn,Gn]=(0,Ne.ZP)(An),{compactSize:Cn,compactItemClassnames:mn}=(0,Be.ri)(An,xt),Bn=(0,fe.Z)(Sn=>{var St;return(St=ht!=null?ht:Cn)!==null&&St!==void 0?St:Sn}),Se=Le.useContext(xe.Z),Fe=dt!=null?dt:Se,{status:ie,hasFeedback:ae,feedbackIcon:se}=(0,Le.useContext)(Ke.aM),oe=(0,ve.F)(ie,rt),Je=Qe(ze)||!!ae,vt=(0,Le.useRef)(Je);(0,Le.useEffect)(()=>{var Sn;Je&&vt.current,vt.current=Je},[Je]);const $e=(0,_e.Z)(Tn,!0),lt=Sn=>{$e(),Ct==null||Ct(Sn)},Pt=Sn=>{$e(),Xe==null||Xe(Sn)},_t=Sn=>{$e(),Ue==null||Ue(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)}),dn(Le.createElement(ft.default,Object.assign({ref:(0,Oe.sQ)(qe,Tn),prefixCls:An,autoComplete:Qt==null?void 0:Qt.autoComplete},Xt,{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:He()(bt,it,mn,Qt==null?void 0:Qt.className),onChange:_t,addonAfter:Ht&&Le.createElement(Be.BR,null,Le.createElement(Ke.Ux,{override:!0,status:!0},Ht)),addonBefore:Et&&Le.createElement(Be.BR,null,Le.createElement(Ke.Ux,{override:!0,status:!0},Et)),classNames:Object.assign(Object.assign(Object.assign({},at),Qt==null?void 0:Qt.classNames),{input:He()({[`${An}-sm`]:Bn==="small",[`${An}-lg`]:Bn==="large",[`${An}-rtl`]:xt==="rtl",[`${An}-borderless`]:!et},!Je&&(0,ve.Z)(An,oe),at==null?void 0:at.input,(We=Qt==null?void 0:Qt.classNames)===null||We===void 0?void 0:We.input,Gn)}),classes:{affixWrapper:He()({[`${An}-affix-wrapper-sm`]:Bn==="small",[`${An}-affix-wrapper-lg`]:Bn==="large",[`${An}-affix-wrapper-rtl`]:xt==="rtl",[`${An}-affix-wrapper-borderless`]:!et},(0,ve.Z)(`${An}-affix-wrapper`,oe,ae),Gn),wrapper:He()({[`${An}-group-rtl`]:xt==="rtl"},Gn),group:He()({[`${An}-group-wrapper-sm`]:Bn==="small",[`${An}-group-wrapper-lg`]:Bn==="large",[`${An}-group-wrapper-rtl`]:xt==="rtl",[`${An}-group-wrapper-disabled`]:Fe},(0,ve.Z)(`${An}-group-wrapper`,oe,ae),Gn)}})))})},1643:function(Qn,Yt,de){"use strict";var he=de(19248),Me=de(92310),He=de.n(Me),ft=de(9296),Oe=de(59301),Le=de(19080),ve=de(36355),Ae=de(1684),xe=de(19716),fe=de(32441),Ke=de(9432),Be=de(9937),_e=function(Qe,ke){var Pe={};for(var Te in Qe)Object.prototype.hasOwnProperty.call(Qe,Te)&&ke.indexOf(Te)<0&&(Pe[Te]=Qe[Te]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Te=Object.getOwnPropertySymbols(Qe);Ye<Te.length;Ye++)ke.indexOf(Te[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Te[Ye])&&(Pe[Te[Ye]]=Qe[Te[Ye]]);return Pe};const Ne=(0,Oe.forwardRef)((Qe,ke)=>{const{prefixCls:Pe,bordered:Te=!0,size:Ye,disabled:ze,status:qe,allowClear:We,showCount:Ze,classNames:et,rootClassName:rt,className:ht}=Qe,dt=_e(Qe,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Ct,direction:Xe}=Oe.useContext(ve.E_),Lt=(0,xe.Z)(Ye),Re=Oe.useContext(Ae.Z),Ht=ze!=null?ze:Re,{status:Et,hasFeedback:bt,feedbackIcon:Tt}=Oe.useContext(fe.aM),wt=(0,Le.F)(Et,qe),it=Oe.useRef(null);Oe.useImperativeHandle(ke,()=>{var xt;return{resizableTextArea:(xt=it.current)===null||xt===void 0?void 0:xt.resizableTextArea,focus:Qt=>{var An,Tn;(0,Ke.n)((Tn=(An=it.current)===null||An===void 0?void 0:An.resizableTextArea)===null||Tn===void 0?void 0:Tn.textArea,Qt)},blur:()=>{var Qt;return(Qt=it.current)===null||Qt===void 0?void 0:Qt.blur()}}});const Ue=Ct("input",Pe);let at;typeof We=="object"&&(We!=null&&We.clearIcon)?at=We:We&&(at={clearIcon:Oe.createElement(he.Z,null)});const[Xt,Vt]=(0,Be.ZP)(Ue);return Xt(Oe.createElement(ft.default,Object.assign({},dt,{disabled:Ht,allowClear:at,className:He()(ht,rt),classes:{affixWrapper:He()(`${Ue}-textarea-affix-wrapper`,{[`${Ue}-affix-wrapper-rtl`]:Xe==="rtl",[`${Ue}-affix-wrapper-borderless`]:!Te,[`${Ue}-affix-wrapper-sm`]:Lt==="small",[`${Ue}-affix-wrapper-lg`]:Lt==="large",[`${Ue}-textarea-show-count`]:Ze},(0,Le.Z)(`${Ue}-affix-wrapper`,wt),Vt)},classNames:Object.assign(Object.assign({},et),{textarea:He()({[`${Ue}-borderless`]:!Te,[`${Ue}-sm`]:Lt==="small",[`${Ue}-lg`]:Lt==="large"},(0,Le.Z)(Ue,wt),Vt,et==null?void 0:et.textarea)}),prefixCls:Ue,suffix:bt&&Oe.createElement("span",{className:`${Ue}-textarea-suffix`},Tt),showCount:Ze,ref:it})))});Yt.Z=Ne},59412:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});var he=de(59301);function Me(He,ft){const Oe=(0,he.useRef)([]),Le=()=>{Oe.current.push(setTimeout(()=>{var ve,Ae,xe,fe;!((ve=He.current)===null||ve===void 0)&&ve.input&&((Ae=He.current)===null||Ae===void 0?void 0:Ae.input.getAttribute("type"))==="password"&&(!((xe=He.current)===null||xe===void 0)&&xe.input.hasAttribute("value"))&&((fe=He.current)===null||fe===void 0||fe.input.removeAttribute("value"))}))};return(0,he.useEffect)(()=>(ft&&Le(),()=>Oe.current.forEach(ve=>{ve&&clearTimeout(ve)})),[]),Le}},92832:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return Lt}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(32441),Le=de(9937),Ae=Re=>{const{getPrefixCls:Ht,direction:Et}=(0,He.useContext)(ft.E_),{prefixCls:bt,className:Tt}=Re,wt=Ht("input-group",bt),it=Ht("input"),[Ue,at]=(0,Le.ZP)(it),Xt=Me()(wt,{[`${wt}-lg`]:Re.size==="large",[`${wt}-sm`]:Re.size==="small",[`${wt}-compact`]:Re.compact,[`${wt}-rtl`]:Et==="rtl"},at,Tt),Vt=(0,He.useContext)(Oe.aM),xt=(0,He.useMemo)(()=>Object.assign(Object.assign({},Vt),{isFormItemInput:!1}),[Vt]);return Ue(He.createElement("span",{className:Xt,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},He.createElement(Oe.aM.Provider,{value:xt},Re.children)))},xe=de(9432),fe=de(73331),Ke=de(15277),Be=de(2738),_e=de(8654),Ne=de(59412),Qe=function(Re,Ht){var Et={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt<bt.length;Tt++)Ht.indexOf(bt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Re,bt[Tt])&&(Et[bt[Tt]]=Re[bt[Tt]]);return Et};const ke=Re=>Re?He.createElement(Ke.Z,null):He.createElement(fe.Z,null),Pe={click:"onClick",hover:"onMouseOver"};var Ye=He.forwardRef((Re,Ht)=>{const{visibilityToggle:Et=!0}=Re,bt=typeof Et=="object"&&Et.visible!==void 0,[Tt,wt]=(0,He.useState)(()=>bt?Et.visible:!1),it=(0,He.useRef)(null);He.useEffect(()=>{bt&&wt(Et.visible)},[bt,Et]);const Ue=(0,Ne.Z)(it),at=()=>{const{disabled:Fe}=Re;Fe||(Tt&&Ue(),wt(ie=>{var ae;const se=!ie;return typeof Et=="object"&&((ae=Et.onVisibleChange)===null||ae===void 0||ae.call(Et,se)),se}))},Xt=Fe=>{const{action:ie="click",iconRender:ae=ke}=Re,se=Pe[ie]||"",oe=ae(Tt),Je={[se]:at,className:`${Fe}-icon`,key:"passwordIcon",onMouseDown:vt=>{vt.preventDefault()},onMouseUp:vt=>{vt.preventDefault()}};return He.cloneElement(He.isValidElement(oe)?oe:He.createElement("span",null,oe),Je)},{className:Vt,prefixCls:xt,inputPrefixCls:Qt,size:An}=Re,Tn=Qe(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:dn}=He.useContext(ft.E_),Gn=dn("input",Qt),Cn=dn("input-password",xt),mn=Et&&Xt(Cn),Bn=Me()(Cn,Vt,{[`${Cn}-${An}`]:!!An}),Se=Object.assign(Object.assign({},(0,Be.Z)(Tn,["suffix","iconRender","visibilityToggle"])),{type:Tt?"text":"password",className:Bn,prefixCls:Gn,suffix:mn});return An&&(Se.size=An),He.createElement(xe.Z,Object.assign({ref:(0,_e.sQ)(Ht,it)},Se))}),ze=de(47472),qe=de(92343),We=de(3113),Ze=de(19716),et=de(33234),rt=function(Re,Ht){var Et={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt<bt.length;Tt++)Ht.indexOf(bt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Re,bt[Tt])&&(Et[bt[Tt]]=Re[bt[Tt]]);return Et},dt=He.forwardRef((Re,Ht)=>{const{prefixCls:Et,inputPrefixCls:bt,className:Tt,size:wt,suffix:it,enterButton:Ue=!1,addonAfter:at,loading:Xt,disabled:Vt,onSearch:xt,onChange:Qt,onCompositionStart:An,onCompositionEnd:Tn}=Re,dn=rt(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Gn,direction:Cn}=He.useContext(ft.E_),mn=He.useRef(!1),Bn=Gn("input-search",Et),Se=Gn("input",bt),{compactSize:Fe}=(0,et.ri)(Bn,Cn),ie=(0,Ze.Z)(nn=>{var tn;return(tn=wt!=null?wt:Fe)!==null&&tn!==void 0?tn:nn}),ae=He.useRef(null),se=nn=>{nn&&nn.target&&nn.type==="click"&&xt&&xt(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()},Je=nn=>{var tn,jt;xt&&xt((jt=(tn=ae.current)===null||tn===void 0?void 0:tn.input)===null||jt===void 0?void 0:jt.value,nn,{source:"input"})},vt=nn=>{mn.current||Xt||Je(nn)},$e=typeof Ue=="boolean"?He.createElement(ze.Z,null):null,lt=`${Bn}-button`;let Pt;const _t=Ue||{},kt=_t.type&&_t.type.__ANT_BUTTON===!0;kt||_t.type==="button"?Pt=(0,qe.Tm)(_t,Object.assign({onMouseDown:oe,onClick:nn=>{var tn,jt;(jt=(tn=_t==null?void 0:_t.props)===null||tn===void 0?void 0:tn.onClick)===null||jt===void 0||jt.call(tn,nn),Je(nn)},key:"enterButton"},kt?{className:lt,size:ie}:{})):Pt=He.createElement(We.ZP,{className:lt,type:Ue?"primary":void 0,size:ie,disabled:Vt,key:"enterButton",onMouseDown:oe,onClick:Je,loading:Xt,icon:$e},Ue),at&&(Pt=[Pt,(0,qe.Tm)(at,{key:"addonAfter"})]);const $t=Me()(Bn,{[`${Bn}-rtl`]:Cn==="rtl",[`${Bn}-${ie}`]:!!ie,[`${Bn}-with-button`]:!!Ue},Tt),Sn=nn=>{mn.current=!0,An==null||An(nn)},St=nn=>{mn.current=!1,Tn==null||Tn(nn)};return He.createElement(xe.Z,Object.assign({ref:(0,_e.sQ)(ae,Ht),onPressEnter:vt},dn,{size:ie,onCompositionStart:Sn,onCompositionEnd:St,prefixCls:Se,addonAfter:Pt,suffix:it,onChange:se,className:$t,disabled:Vt}))}),Ct=de(1643);const Xe=xe.Z;Xe.Group=Ae,Xe.Search=dt,Xe.TextArea=Ct.Z,Xe.Password=Ye;var Lt=Xe},9937:function(Qn,Yt,de){"use strict";de.d(Yt,{M1:function(){return ve},TM:function(){return qe},Xy:function(){return Ae},bi:function(){return Ke},e5:function(){return ze},ik:function(){return Be},nz:function(){return Oe},pU:function(){return Le},s7:function(){return _e},x0:function(){return fe}});var he=de(17313),Me=de(74207),He=de(37613),ft=de(83116);const Oe=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,He.TS)(We,{hoverBorderColor:We.colorBorder})))}),xe=We=>{const{paddingBlockLG:Ze,fontSizeLG:et,lineHeightLG:rt,borderRadiusLG:ht,paddingInlineLG:dt}=We;return{padding:`${Ze}px ${dt}px`,fontSize:et,lineHeight:rt,borderRadius:ht}},fe=We=>({padding:`${We.paddingBlockSM}px ${We.paddingInlineSM}px`,borderRadius:We.borderRadiusSM}),Ke=(We,Ze)=>{const{componentCls:et,colorError:rt,colorWarning:ht,errorActiveShadow:dt,warningActiveShadow:Ct,colorErrorBorderHover:Xe,colorWarningBorderHover:Lt}=We;return{[`&-status-error:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:rt,"&:hover":{borderColor:Xe},"&:focus, &-focused":Object.assign({},ve((0,He.TS)(We,{activeBorderColor:rt,activeShadow:dt}))),[`${et}-prefix, ${et}-suffix`]:{color:rt}},[`&-status-warning:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:ht,"&:hover":{borderColor:Lt},"&:focus, &-focused":Object.assign({},ve((0,He.TS)(We,{activeBorderColor:ht,activeShadow:Ct}))),[`${et}-prefix, ${et}-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}`},Oe(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({},xe(We)),"&-sm":Object.assign({},fe(We)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),_e=We=>{const{componentCls:Ze,antCls:et}=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({},xe(We)),[`&-sm ${Ze}, &-sm > ${Ze}-group-addon`]:Object.assign({},fe(We)),[`&-lg ${et}-select-single ${et}-select-selector`]:{height:We.controlHeightLG},[`&-sm ${et}-select-single ${et}-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,[`${et}-select`]:{margin:`-${We.paddingBlock+1}px -${We.paddingInline}px`,[`&${et}-select-single:not(${et}-select-customize-input)`]:{[`${et}-select-selector`]:{backgroundColor:"inherit",border:`${We.lineWidth}px ${We.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${et}-select-selector`]:{color:We.colorPrimary}}},[`${et}-cascader-picker`]:{margin:`-9px -${We.paddingInline}px`,backgroundColor:"transparent",[`${et}-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,[`${et}-select ${et}-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,[`${et}-select ${et}-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,
& > ${et}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-We.lineWidth,borderInlineEndWidth:We.lineWidth},[`${Ze}`]:{float:"none"},[`& > ${et}-select > ${et}-select-selector,
& > ${et}-select-auto-complete ${Ze},
& > ${et}-cascader-picker ${Ze},
& > ${Ze}-group-wrapper ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${et}-select-focused`]:{zIndex:1},[`& > ${et}-select > ${et}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${et}-select:first-child > ${et}-select-selector,
& > ${et}-select-auto-complete:first-child ${Ze},
& > ${et}-cascader-picker:first-child ${Ze}`]:{borderStartStartRadius:We.borderRadius,borderEndStartRadius:We.borderRadius},[`& > *:last-child,
& > ${et}-select:last-child > ${et}-select-selector,
& > ${et}-cascader-picker:last-child ${Ze},
& > ${et}-cascader-picker-focused:last-child ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderStartEndRadius:We.borderRadius,borderEndEndRadius:We.borderRadius},[`& > ${et}-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}}}})}},Ne=We=>{const{componentCls:Ze,controlHeightSM:et,lineWidth:rt}=We,dt=(et-rt*2-16)/2;return{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(We)),Be(We)),Ke(We,Ze)),{'&[type="color"]':{height:We.controlHeight,[`&${Ze}-lg`]:{height:We.controlHeightLG},[`&${Ze}-sm`]:{height:et,paddingTop:dt,paddingBottom:dt}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Qe=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:et,colorTextDescription:rt,motionDurationSlow:ht,colorIcon:dt,colorIconHover:Ct,iconCls:Xe}=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:et},"&-suffix":{marginInlineStart:et}}}),Qe(We)),{[`${Xe}${Ze}-password-icon`]:{color:dt,cursor:"pointer",transition:`all ${ht}`,"&:hover":{color:Ct}}}),Ke(We,`${Ze}-affix-wrapper`))}},Pe=We=>{const{componentCls:Ze,colorError:et,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:et,borderColor:et}},"&-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}}}})}},Te=We=>{const{componentCls:Ze,antCls:et}=We,rt=`${Ze}-search`;return{[rt]:{[`${Ze}`]:{"&:hover, &:focus":{borderColor:We.colorPrimaryHover,[`+ ${Ze}-group-addon ${rt}-button:not(${et}-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(${et}-btn-primary)`]:{color:We.colorTextDescription,"&:hover":{color:We.colorPrimaryHover},"&:active":{color:We.colorPrimaryActive},[`&${et}-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}}}}},Ye=We=>{const{componentCls:Ze,paddingLG:et}=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:et}},[`&-affix-wrapper${rt}-has-feedback`]:{[`${Ze}`]:{paddingInlineEnd:et}},[`&-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 ze(We){return(0,He.TS)(We,{inputAffixPadding:We.paddingXXS})}const qe=We=>{const{controlHeight:Ze,fontSize:et,lineHeight:rt,lineWidth:ht,controlHeightSM:dt,controlHeightLG:Ct,fontSizeLG:Xe,lineHeightLG:Lt,paddingSM:Re,controlPaddingHorizontalSM:Ht,controlPaddingHorizontal:Et,colorFillAlter:bt,colorPrimaryHover:Tt,controlOutlineWidth:wt,controlOutline:it,colorErrorOutline:Ue,colorWarningOutline:at}=We;return{paddingBlock:Math.max(Math.round((Ze-et*rt)/2*10)/10-ht,3),paddingBlockSM:Math.max(Math.round((dt-et*rt)/2*10)/10-ht,0),paddingBlockLG:Math.ceil((Ct-Xe*Lt)/2*10)/10-ht,paddingInline:Re-ht,paddingInlineSM:Ht-ht,paddingInlineLG:Et-ht,addonBg:bt,activeBorderColor:Tt,hoverBorderColor:Tt,activeShadow:`0 0 0 ${wt}px ${it}`,errorActiveShadow:`0 0 0 ${wt}px ${Ue}`,warningActiveShadow:`0 0 0 ${wt}px ${at}`}};Yt.ZP=(0,ft.Z)("Input",We=>{const Ze=(0,He.TS)(We,ze(We));return[Ne(Ze),Ye(Ze),ke(Ze),Pe(Ze),Te(Ze),(0,Me.c)(Ze)]},qe)},45818:function(Qn,Yt,de){"use strict";de.d(Yt,{D:function(){return ze},Z:function(){return Ze}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(rt,ht){return Me.createElement(Oe.Z,(0,he.Z)({},rt,{ref:ht,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(33853),fe=de(38819),Ke=de(92310),Be=de.n(Ke),_e=de(2738),Qe=et=>!isNaN(parseFloat(et))&&isFinite(et),ke=de(36355),Pe=de(84966),Te=function(et,rt){var ht={};for(var dt in et)Object.prototype.hasOwnProperty.call(et,dt)&&rt.indexOf(dt)<0&&(ht[dt]=et[dt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,dt=Object.getOwnPropertySymbols(et);Ct<dt.length;Ct++)rt.indexOf(dt[Ct])<0&&Object.prototype.propertyIsEnumerable.call(et,dt[Ct])&&(ht[dt[Ct]]=et[dt[Ct]]);return ht};const Ye={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ze=Me.createContext({}),qe=(()=>{let et=0;return function(){let rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return et+=1,`${rt}${et}`}})();var Ze=Me.forwardRef((et,rt)=>{const{prefixCls:ht,className:dt,trigger:Ct,children:Xe,defaultCollapsed:Lt=!1,theme:Re="dark",style:Ht={},collapsible:Et=!1,reverseArrow:bt=!1,width:Tt=200,collapsedWidth:wt=80,zeroWidthTriggerStyle:it,breakpoint:Ue,onCollapse:at,onBreakpoint:Xt}=et,Vt=Te(et,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:xt}=(0,Me.useContext)(Pe.Gs),[Qt,An]=(0,Me.useState)("collapsed"in et?et.collapsed:Lt),[Tn,dn]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{"collapsed"in et&&An(et.collapsed)},[et.collapsed]);const Gn=(ie,ae)=>{"collapsed"in et||An(ie),at==null||at(ie,ae)},Cn=(0,Me.useRef)();Cn.current=ie=>{dn(ie.matches),Xt==null||Xt(ie.matches),Qt!==ie.matches&&Gn(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&&Ue&&Ue in Ye){ae=se(`(max-width: ${Ye[Ue]})`);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)}}},[Ue]),(0,Me.useEffect)(()=>{const ie=qe("ant-sider-");return xt.addSider(ie),()=>xt.removeSider(ie)},[]);const mn=()=>{Gn(!Qt,"clickTrigger")},{getPrefixCls:Bn}=(0,Me.useContext)(ke.E_),Se=()=>{const ie=Bn("layout-sider",ht),ae=(0,_e.Z)(Vt,["collapsed"]),se=Qt?wt:Tt,oe=Qe(se)?`${se}px`:String(se),Je=parseFloat(String(wt||0))===0?Me.createElement("span",{onClick:mn,className:Be()(`${ie}-zero-width-trigger`,`${ie}-zero-width-trigger-${bt?"right":"left"}`),style:it},Ct||Me.createElement(Ae,null)):null,lt={expanded:bt?Me.createElement(fe.Z,null):Me.createElement(xe.Z,null),collapsed:bt?Me.createElement(xe.Z,null):Me.createElement(fe.Z,null)}[Qt?"collapsed":"expanded"],Pt=Ct!==null?Je||Me.createElement("div",{className:`${ie}-trigger`,onClick:mn,style:{width:oe}},Ct||lt):null,_t=Object.assign(Object.assign({},Ht),{flex:`0 0 ${oe}`,maxWidth:oe,minWidth:oe,width:oe}),kt=Be()(ie,`${ie}-${Re}`,{[`${ie}-collapsed`]:!!Qt,[`${ie}-has-trigger`]:Et&&Ct!==null&&!Je,[`${ie}-below`]:!!Tn,[`${ie}-zero-width`]:parseFloat(oe)===0},dt);return Me.createElement("aside",Object.assign({className:kt},ae,{style:_t,ref:rt}),Me.createElement("div",{className:`${ie}-children`},Xe),Et||Tn&&Je?Pt:null)},Fe=Me.useMemo(()=>({siderCollapsed:Qt}),[Qt]);return Me.createElement(ze.Provider,{value:Fe},Se())})},84966:function(Qn,Yt,de){"use strict";de.d(Yt,{VY:function(){return ze},$_:function(){return Ye},h4:function(){return Te},Gs:function(){return _e},ZP:function(){return qe}});var he=de(77654),Me=de(92310),He=de.n(Me),ft=de(2738),Oe=de(59301),Le=de(36355),ve=de(83116),xe=We=>{const{componentCls:Ze,bodyBg:et,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 ${et}`,borderInlineStart:0}}}};const fe=We=>{const{antCls:Ze,componentCls:et,colorText:rt,triggerColor:ht,footerBg:dt,triggerBg:Ct,headerHeight:Xe,headerPadding:Lt,headerColor:Re,footerPadding:Ht,triggerHeight:Et,zeroTriggerHeight:bt,zeroTriggerWidth:Tt,motionDurationMid:wt,motionDurationSlow:it,fontSize:Ue,borderRadius:at,bodyBg:Xt,headerBg:Vt,siderBg:xt}=We;return{[et]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Xt,"&, *":{boxSizing:"border-box"},[`&${et}-has-sider`]:{flexDirection:"row",[`> ${et}, > ${et}-content`]:{width:0}},[`${et}-header, &${et}-footer`]:{flex:"0 0 auto"},[`${et}-sider`]:{position:"relative",minWidth:0,background:xt,transition:`all ${wt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ze}-menu${Ze}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Et},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Et,color:ht,lineHeight:`${Et}px`,textAlign:"center",background:Ct,cursor:"pointer",transition:`all ${wt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Xe,insetInlineEnd:-Tt,zIndex:1,width:Tt,height:bt,color:ht,fontSize:We.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:xt,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}}}}},xe(We)),{"&-rtl":{direction:"rtl"}}),[`${et}-header`]:{height:Xe,padding:Lt,color:Re,lineHeight:`${Xe}px`,background:Vt,[`${Ze}-menu`]:{lineHeight:"inherit"}},[`${et}-footer`]:{padding:Ht,color:rt,fontSize:Ue,background:dt},[`${et}-content`]:{flex:"auto",minHeight:0}}};var Ke=(0,ve.Z)("Layout",We=>[fe(We)],We=>{const{colorBgLayout:Ze,controlHeight:et,controlHeightLG:rt,colorText:ht,controlHeightSM:dt,marginXXS:Ct,colorTextLightSolid:Xe,colorBgContainer:Lt}=We,Re=rt*1.25;return{colorBgHeader:"#001529",colorBgBody:Ze,colorBgTrigger:"#002140",bodyBg:Ze,headerBg:"#001529",headerHeight:et*2,headerPadding:`0 ${Re}px`,headerColor:ht,footerPadding:`${dt}px ${Re}px`,footerBg:Ze,siderBg:"#001529",triggerHeight:rt+Ct*2,triggerBg:"#002140",triggerColor:Xe,zeroTriggerWidth:rt,zeroTriggerHeight:rt,lightSiderBg:Lt,lightTriggerBg:Lt,lightTriggerColor:ht}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Be=function(We,Ze){var et={};for(var rt in We)Object.prototype.hasOwnProperty.call(We,rt)&&Ze.indexOf(rt)<0&&(et[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])&&(et[rt[ht]]=We[rt[ht]]);return et};const _e=Oe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function Ne(We){let{suffixCls:Ze,tagName:et,displayName:rt}=We;return ht=>Oe.forwardRef((Ct,Xe)=>Oe.createElement(ht,Object.assign({ref:Xe,suffixCls:Ze,tagName:et},Ct)))}const Qe=Oe.forwardRef((We,Ze)=>{const{prefixCls:et,suffixCls:rt,className:ht,tagName:dt}=We,Ct=Be(We,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Xe}=Oe.useContext(Le.E_),Lt=Xe("layout",et),[Re,Ht]=Ke(Lt),Et=rt?`${Lt}-${rt}`:Lt;return Re(Oe.createElement(dt,Object.assign({className:He()(et||Et,ht,Ht),ref:Ze},Ct)))}),ke=Oe.forwardRef((We,Ze)=>{const{direction:et}=Oe.useContext(Le.E_),[rt,ht]=Oe.useState([]),{prefixCls:dt,className:Ct,rootClassName:Xe,children:Lt,hasSider:Re,tagName:Ht,style:Et}=We,bt=Be(We,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Tt=(0,ft.Z)(bt,["suffixCls"]),{getPrefixCls:wt,layout:it}=Oe.useContext(Le.E_),Ue=wt("layout",dt),[at,Xt]=Ke(Ue),Vt=He()(Ue,{[`${Ue}-has-sider`]:typeof Re=="boolean"?Re:rt.length>0,[`${Ue}-rtl`]:et==="rtl"},it==null?void 0:it.className,Ct,Xe,Xt),xt=Oe.useMemo(()=>({siderHook:{addSider:Qt=>{ht(An=>[].concat((0,he.Z)(An),[Qt]))},removeSider:Qt=>{ht(An=>An.filter(Tn=>Tn!==Qt))}}}),[]);return at(Oe.createElement(_e.Provider,{value:xt},Oe.createElement(Ht,Object.assign({ref:Ze,className:Vt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Et)},Tt),Lt)))}),Pe=Ne({tagName:"div",displayName:"Layout"})(ke),Te=Ne({suffixCls:"header",tagName:"header",displayName:"Header"})(Qe),Ye=Ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Qe),ze=Ne({suffixCls:"content",tagName:"main",displayName:"Content"})(Qe);var qe=Pe},40875:function(Qn,Yt,de){"use strict";de.d(Yt,{J:function(){return Le}});var he=de(59301),Me=de(33234),He=de(70425),ft=function(ve,Ae){var xe={};for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&Ae.indexOf(fe)<0&&(xe[fe]=ve[fe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,fe=Object.getOwnPropertySymbols(ve);Ke<fe.length;Ke++)Ae.indexOf(fe[Ke])<0&&Object.prototype.propertyIsEnumerable.call(ve,fe[Ke])&&(xe[fe[Ke]]=ve[fe[Ke]]);return xe};const Oe=he.createContext(null),Le=he.forwardRef((ve,Ae)=>{const{children:xe}=ve,fe=ft(ve,["children"]),Ke=he.useContext(Oe),Be=he.useMemo(()=>Object.assign(Object.assign({},Ke),fe),[Ke,fe.prefixCls,fe.mode,fe.selectable]);return he.createElement(Oe.Provider,{value:Be},he.createElement(Me.BR,null,(0,He.supportNodeRef)(xe)?he.cloneElement(xe,{ref:Ae}):xe))});Yt.Z=Oe},20834:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return Fe}});var he=de(15285),Me=de(59301),He=de(45818),ft=de(92310),Oe=de.n(ft),Le=de(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 Je=0,oe=Object.getOwnPropertySymbols(ie);Je<oe.length;Je++)ae.indexOf(oe[Je])<0&&Object.prototype.propertyIsEnumerable.call(ie,oe[Je])&&(se[oe[Je]]=ie[oe[Je]]);return se},xe=ie=>{const{prefixCls:ae,className:se,dashed:oe}=ie,Je=ve(ie,["prefixCls","className","dashed"]),{getPrefixCls:vt}=Me.useContext(Le.E_),$e=vt("menu",ae),lt=Oe()({[`${$e}-item-divider-dashed`]:!!oe},se);return Me.createElement(he.iz,Object.assign({className:lt},Je))},fe=de(11592),Ke=de(2738),Be=de(6848),_e=de(92343),Qe=(0,Me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Pe=ie=>{var ae;const{className:se,children:oe,icon:Je,title:vt,danger:$e}=ie,{prefixCls:lt,firstLevel:Pt,direction:_t,disableMenuItemTitleTooltip:kt,inlineCollapsed:$t}=Me.useContext(Qe),Sn=Zt=>{const gn=Me.createElement("span",{className:`${lt}-title-content`},oe);return(!Je||(0,_e.l$)(oe)&&oe.type==="span")&&oe&&Zt&&Pt&&typeof oe=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},oe.charAt(0)):gn},{siderCollapsed:St}=Me.useContext(He.D);let nn=vt;typeof vt=="undefined"?nn=Pt?oe:"":vt===!1&&(nn="");const tn={title:nn};!St&&!$t&&(tn.title=null,tn.open=!1);const jt=(0,fe.Z)(oe).length;let pt=Me.createElement(he.ck,Object.assign({},(0,Ke.Z)(ie,["title","icon","danger"]),{className:Oe()({[`${lt}-item-danger`]:$e,[`${lt}-item-only-child`]:(Je?jt+1:jt)===1},se),title:typeof vt=="string"?vt:void 0}),(0,_e.Tm)(Je,{className:Oe()((0,_e.l$)(Je)?(ae=Je.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:_t==="rtl"?"left":"right",overlayClassName:`${lt}-inline-collapsed-tooltip`}),pt)),pt},Ye=ie=>{var ae;const{popupClassName:se,icon:oe,title:Je,theme:vt}=ie,$e=Me.useContext(Qe),{prefixCls:lt,inlineCollapsed:Pt,theme:_t}=$e,kt=(0,he.Xl)();let $t;if(!oe)$t=Pt&&!kt.length&&Je&&typeof Je=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},Je.charAt(0)):Me.createElement("span",{className:`${lt}-title-content`},Je);else{const St=(0,_e.l$)(Je)&&Je.type==="span";$t=Me.createElement(Me.Fragment,null,(0,_e.Tm)(oe,{className:Oe()((0,_e.l$)(oe)?(ae=oe.props)===null||ae===void 0?void 0:ae.className:"",`${lt}-item-icon`)}),St?Je:Me.createElement("span",{className:`${lt}-title-content`},Je))}const Sn=Me.useMemo(()=>Object.assign(Object.assign({},$e),{firstLevel:!1}),[$e]);return Me.createElement(Qe.Provider,{value:Sn},Me.createElement(he.Wd,Object.assign({},(0,Ke.Z)(ie,["icon"]),{title:$t,popupClassName:Oe()(lt,se,`${lt}-${vt||_t}`)})))},ze=de(18785),qe=de(70425),We=de(62892),Ze=de(40875),et=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 Je=0,oe=Object.getOwnPropertySymbols(ie);Je<oe.length;Je++)ae.indexOf(oe[Je])<0&&Object.prototype.propertyIsEnumerable.call(ie,oe[Je])&&(se[oe[Je]]=ie[oe[Je]]);return se};function rt(ie){return(ie||[]).map((ae,se)=>{if(ae&&typeof ae=="object"){const oe=ae,{label:Je,children:vt,key:$e,type:lt}=oe,Pt=et(oe,["label","children","key","type"]),_t=$e!=null?$e:`tmp-${se}`;return vt||lt==="group"?lt==="group"?Me.createElement(he.BW,Object.assign({key:_t},Pt,{title:Je}),rt(vt)):Me.createElement(Ye,Object.assign({key:_t},Pt,{title:Je}),rt(vt)):lt==="divider"?Me.createElement(xe,Object.assign({key:_t},Pt)):Me.createElement(Pe,Object.assign({key:_t},Pt),Je)}return null}).filter(ae=>ae)}function ht(ie){return Me.useMemo(()=>ie&&rt(ie),[ie])}var dt=de(64993),Ct=de(17313),Xe=de(8378),Lt=de(13826),Re=de(29878),Ht=de(83116),Et=de(37613),Tt=ie=>{const{componentCls:ae,motionDurationSlow:se,horizontalLineHeight:oe,colorSplit:Je,lineWidth:vt,lineType:$e,itemPaddingInline:lt}=ie;return{[`${ae}-horizontal`]:{lineHeight:oe,border:0,borderBottom:`${vt}px ${$e} ${Je}`,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 Ue=ie=>Object.assign({},(0,Ct.oN)(ie));var Xt=(ie,ae)=>{const{componentCls:se,itemColor:oe,itemSelectedColor:Je,groupTitleColor:vt,itemBg:$e,subMenuItemBg:lt,itemSelectedBg:Pt,activeBarHeight:_t,activeBarWidth:kt,activeBarBorderWidth:$t,motionDurationSlow:Sn,motionEaseInOut:St,motionEaseOut:nn,itemPaddingInline:tn,motionDurationMid:jt,itemHoverColor:pt,lineType:Zt,colorSplit:gn,itemDisabledColor:wn,dangerItemColor:Xn,dangerItemHoverColor:yr,dangerItemSelectedColor:Dr,dangerItemActiveBg:Tr,dangerItemSelectedBg:Rr,itemHoverBg:Sr,itemActiveBg:fr,menuSubMenuBg:Vr,horizontalItemSelectedColor:Bi,horizontalItemSelectedBg:yi,horizontalItemBorderRadius:mi,horizontalItemHoverBg:Vi,popupBg:ua}=ie;return{[`${se}-${ae}, ${se}-${ae} > ${se}`]:{color:oe,background:$e,[`&${se}-root:focus-visible`]:Object.assign({},Ue(ie)),[`${se}-item-group-title`]:{color:vt},[`${se}-submenu-selected`]:{[`> ${se}-submenu-title`]:{color:Je}},[`${se}-item-disabled, ${se}-submenu-disabled`]:{color:`${wn} !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:Sr},"&:active":{backgroundColor:fr}},[`${se}-submenu-title`]:{"&:hover":{backgroundColor:Sr},"&:active":{backgroundColor:fr}}},[`${se}-item-danger`]:{color:Xn,[`&${se}-item:hover`]:{[`&:not(${se}-item-selected):not(${se}-submenu-selected)`]:{color:yr}},[`&${se}-item:active`]:{background:Tr}},[`${se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${se}-item-selected`]:{color:Je,[`&${se}-item-danger`]:{color:Dr},"a, a:hover":{color:"inherit"}},[`& ${se}-item-selected`]:{backgroundColor:Pt,[`&${se}-item-danger`]:{backgroundColor:Rr}},[`${se}-item, ${se}-submenu-title`]:{[`&:not(${se}-item-disabled):focus-visible`]:Object.assign({},Ue(ie))},[`&${se}-submenu > ${se}`]:{backgroundColor:Vr},[`&${se}-popup > ${se}`]:{backgroundColor:ua},[`&${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:`${_t}px solid transparent`,transition:`border-color ${Sn} ${St}`,content:'""'},"&:hover, &-active, &-open":{background:Vi,"&::after":{borderBottomWidth:_t,borderBottomColor:Bi}},"&-selected":{color:Bi,backgroundColor:yi,"&:hover":{backgroundColor:yi},"&::after":{borderBottomWidth:_t,borderBottomColor:Bi}}}}),[`&${se}-root`]:{[`&${se}-inline, &${se}-vertical`]:{borderInlineEnd:`${$t}px ${Zt} ${gn}`}},[`&${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 ${Je}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${jt} ${nn}`,`opacity ${jt} ${nn}`].join(","),content:'""'},[`&${se}-item-danger`]:{"&::after":{borderInlineEndColor:Dr}}},[`${se}-selected, ${se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${jt} ${St}`,`opacity ${jt} ${St}`].join(",")}}}}}};const Vt=ie=>{const{componentCls:ae,itemHeight:se,itemMarginInline:oe,padding:Je,menuArrowSize:vt,marginXS:$e,itemMarginBlock:lt}=ie,Pt=Je+vt+$e;return{[`${ae}-item`]:{position:"relative",overflow:"hidden"},[`${ae}-item, ${ae}-submenu-title`]:{height:se,lineHeight:`${se}px`,paddingInline:Je,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:Je,dropdownWidth:vt,controlHeightLG:$e,motionDurationMid:lt,motionEaseOut:Pt,paddingXL:_t,itemMarginInline:kt,fontSizeLG:$t,motionDurationSlow:Sn,paddingXS:St,boxShadowSecondary:nn,collapsedWidth:tn,collapsedIconSize:jt}=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 - ${$e*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:_t}},[`${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:jt,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:Je}},[`${ae}-item-group-title`]:Object.assign(Object.assign({},Ct.vS),{paddingInline:St})}}]};const An=ie=>{const{componentCls:ae,motionDurationSlow:se,motionDurationMid:oe,motionEaseInOut:Je,motionEaseOut:vt,iconCls:$e,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} ${Je}`].join(","),[`${ae}-item-icon, ${$e}`]:{minWidth:lt,fontSize:lt,transition:[`font-size ${oe} ${vt}`,`margin ${se} ${Je}`,`color ${se}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${se} ${Je}`,`margin ${se}`,`color ${se}`].join(",")}},[`${ae}-item-icon`]:Object.assign({},(0,Ct.Ro)()),[`&${ae}-item-only-child`]:{[`> ${$e}, > ${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"}}}},Tn=ie=>{const{componentCls:ae,motionDurationSlow:se,motionEaseInOut:oe,borderRadius:Je,menuArrowSize:vt,menuArrowOffset:$e}=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:Je,transition:[`background ${se} ${oe}`,`transform ${se} ${oe}`,`top ${se} ${oe}`,`color ${se} ${oe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${$e})`},"&::after":{transform:`rotate(-45deg) translateY(${$e})`}}}}},dn=ie=>{const{antCls:ae,componentCls:se,fontSize:oe,motionDurationSlow:Je,motionDurationMid:vt,motionEaseInOut:$e,paddingXS:lt,padding:Pt,colorSplit:_t,lineWidth:kt,zIndexPopup:$t,borderRadiusLG:Sn,subMenuItemBorderRadius:St,menuArrowSize:nn,menuArrowOffset:tn,lineType:jt,menuPanelMaskInset:pt,groupTitleLineHeight:Zt,groupTitleFontSize:gn}=ie;return[{"":{[`${se}`]:Object.assign(Object.assign({},(0,Ct.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,Ct.Wf)(ie)),(0,Ct.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:oe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Je} 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:gn,lineHeight:Zt,transition:`all ${Je}`},[`&-horizontal ${se}-submenu`]:{transition:[`border-color ${Je} ${$e}`,`background ${Je} ${$e}`].join(",")},[`${se}-submenu, ${se}-submenu-inline`]:{transition:[`border-color ${Je} ${$e}`,`background ${Je} ${$e}`,`padding ${vt} ${$e}`].join(",")},[`${se}-submenu ${se}-sub`]:{cursor:"initial",transition:[`background ${Je} ${$e}`,`padding ${Je} ${$e}`].join(",")},[`${se}-title-content`]:{transition:`color ${Je}`},[`${se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:_t,borderStyle:jt,borderWidth:0,borderTopWidth:kt,marginBlock:kt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),An(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},An(ie)),Tn(ie)),{[`${se}-item, ${se}-submenu > ${se}-submenu-title`]:{borderRadius:St},[`${se}-submenu-title::after`]:{transition:`transform ${Je} ${$e}`}})}}),Tn(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 Gn=(ie,ae)=>(0,Ht.Z)("Menu",oe=>{if(ae===!1)return[];const{colorBgElevated:Je,colorPrimary:vt,colorTextLightSolid:$e,controlHeightLG:lt,fontSize:Pt,darkItemColor:_t,darkDangerItemColor:kt,darkItemBg:$t,darkSubMenuItemBg:Sn,darkItemSelectedColor:St,darkItemSelectedBg:nn,darkDangerItemSelectedBg:tn,darkItemHoverBg:jt,darkGroupTitleColor:pt,darkItemHoverColor:Zt,darkItemDisabledColor:gn,darkDangerItemHoverColor:wn,darkDangerItemSelectedColor:Xn,darkDangerItemActiveBg:yr}=oe,Dr=Pt/7*5,Tr=(0,Et.TS)(oe,{menuArrowSize:Dr,menuHorizontalHeight:lt*1.15,menuArrowOffset:`${Dr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Je}),Rr=(0,Et.TS)(Tr,{itemColor:_t,itemHoverColor:Zt,groupTitleColor:pt,itemSelectedColor:St,itemBg:$t,popupBg:$t,subMenuItemBg:Sn,itemActiveBg:"transparent",itemSelectedBg:nn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:jt,itemDisabledColor:gn,dangerItemColor:kt,dangerItemHoverColor:wn,dangerItemSelectedColor:Xn,dangerItemActiveBg:yr,dangerItemSelectedBg:tn,menuSubMenuBg:Sn,horizontalItemSelectedColor:$e,horizontalItemSelectedBg:vt});return[dn(Tr),Tt(Tr),Qt(Tr),Xt(Tr,"light"),Xt(Rr,"dark"),it(Tr),(0,Xe.Z)(Tr),(0,Lt.oN)(Tr,"slide-up"),(0,Lt.oN)(Tr,"slide-down"),(0,Re._y)(Tr,"zoom-big")]},oe=>{const{colorPrimary:Je,colorError:vt,colorTextDisabled:$e,colorErrorBg:lt,colorText:Pt,colorTextDescription:_t,colorBgContainer:kt,colorFillAlter:$t,colorFillContent:Sn,lineWidth:St,lineWidthBold:nn,controlItemBgActive:tn,colorBgTextHover:jt,controlHeightLG:pt,lineHeight:Zt,colorBgElevated:gn,marginXXS:wn,padding:Xn,fontSize:yr,controlHeightSM:Dr,fontSizeLG:Tr,colorTextLightSolid:Rr,colorErrorHover:Sr}=oe,fr=new dt.C(Rr).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:Je,horizontalItemHoverColor:Je,colorGroupTitle:_t,groupTitleColor:_t,colorItemTextSelected:Je,itemSelectedColor:Je,colorItemTextSelectedHorizontal:Je,horizontalItemSelectedColor:Je,colorItemBg:kt,itemBg:kt,colorItemBgHover:jt,itemHoverBg:jt,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:St,activeBarBorderWidth:St,colorItemTextDisabled:$e,itemDisabledColor:$e,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:Zt,collapsedWidth:pt*2,popupBg:gn,itemMarginBlock:wn,itemPaddingInline:Xn,horizontalLineHeight:`${pt*1.15}px`,iconSize:yr,iconMarginInlineEnd:Dr-yr,collapsedIconSize:Tr,groupTitleFontSize:yr,darkItemDisabledColor:new dt.C(Rr).setAlpha(.25).toRgbString(),darkItemColor:fr,darkDangerItemColor:vt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Rr,darkItemSelectedBg:Je,darkDangerItemSelectedBg:vt,darkItemHoverBg:"transparent",darkGroupTitleColor:fr,darkItemHoverColor:Rr,darkDangerItemHoverColor:Sr,darkDangerItemSelectedColor:Rr,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 Je=0,oe=Object.getOwnPropertySymbols(ie);Je<oe.length;Je++)ae.indexOf(oe[Je])<0&&Object.prototype.propertyIsEnumerable.call(ie,oe[Je])&&(se[oe[Je]]=ie[oe[Je]]);return se},Bn=(0,Me.forwardRef)((ie,ae)=>{var se,oe;const Je=Me.useContext(Ze.Z),vt=Je||{},{getPrefixCls:$e,getPopupContainer:lt,direction:Pt,menu:_t}=Me.useContext(Le.E_),kt=$e(),{prefixCls:$t,className:Sn,style:St,theme:nn="light",expandIcon:tn,_internalDisableMenuItemTitleTooltip:jt,inlineCollapsed:pt,siderCollapsed:Zt,items:gn,children:wn,rootClassName:Xn,mode:yr,selectable:Dr,onClick:Tr,overflowedIndicatorPopupClassName:Rr}=ie,Sr=Cn(ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),fr=(0,Ke.Z)(Sr,["collapsedWidth"]),Vr=ht(gn)||wn;(se=vt.validator)===null||se===void 0||se.call(vt,{mode:yr});const Bi=(0,qe.useEvent)(function(){var Pi;Tr==null||Tr.apply(void 0,arguments),(Pi=vt.onClick)===null||Pi===void 0||Pi.call(vt)}),yi=vt.mode||yr,mi=Dr!=null?Dr:vt.selectable,Vi=Me.useMemo(()=>Zt!==void 0?Zt:pt,[pt,Zt]),ua={horizontal:{motionName:`${kt}-slide-up`},inline:(0,We.Z)(kt),other:{motionName:`${kt}-zoom-big`}},Wr=$e("menu",$t||vt.prefixCls),[Mn,ea]=Gn(Wr,!Je),Ea=Oe()(`${Wr}-${nn}`,_t==null?void 0:_t.className,Sn);let wo;if(typeof tn=="function")wo=tn;else if(tn===null||tn===!1)wo=null;else if(vt.expandIcon===null||vt.expandIcon===!1)wo=null;else{const Pi=tn!=null?tn:vt.expandIcon;wo=(0,_e.Tm)(Pi,{className:Oe()(`${Wr}-submenu-expand-icon`,(0,_e.l$)(Pi)?(oe=Pi.props)===null||oe===void 0?void 0:oe.className:"")})}const sa=Me.useMemo(()=>({prefixCls:Wr,inlineCollapsed:Vi||!1,direction:Pt,firstLevel:!0,theme:nn,mode:yi,disableMenuItemTitleTooltip:jt}),[Wr,Vi,Pt,jt,nn]);return Mn(Me.createElement(Ze.Z.Provider,{value:null},Me.createElement(Qe.Provider,{value:sa},Me.createElement(he.ZP,Object.assign({getPopupContainer:lt,overflowedIndicator:Me.createElement(ze.Z,null),overflowedIndicatorPopupClassName:Oe()(Wr,`${Wr}-${nn}`,Rr),mode:yi,selectable:mi,onClick:Bi},fr,{inlineCollapsed:Vi,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),St),className:Ea,prefixCls:Wr,direction:Pt,defaultMotions:ua,expandIcon:wo,ref:ae,rootClassName:Oe()(Xn,ea)}),Vr))))});const Se=(0,Me.forwardRef)((ie,ae)=>{const se=(0,Me.useRef)(null),oe=Me.useContext(He.D);return(0,Me.useImperativeHandle)(ae,()=>({menu:se.current,focus:Je=>{var vt;(vt=se.current)===null||vt===void 0||vt.focus(Je)}})),Me.createElement(Bn,Object.assign({ref:se},ie,oe))});Se.Item=Pe,Se.SubMenu=Ye,Se.Divider=xe,Se.ItemGroup=he.BW;var Fe=Se},58421:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return vt}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(lt,Pt){return Me.createElement(Oe.Z,(0,he.Z)({},lt,{ref:Pt,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(49198),fe=de(33853),Ke=de(38819),Be=de(92310),_e=de.n(Be),Ne=de(18642),Qe=de(85899),ke=de(38705),Pe=de(17212),Te=de(39153),Ye=de(55401),ze=de(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=de(91735),et=function($e){(0,Te.Z)(Pt,$e);var lt=(0,Ye.Z)(Pt);function Pt(){var _t;(0,ke.Z)(this,Pt);for(var kt=arguments.length,$t=new Array(kt),Sn=0;Sn<kt;Sn++)$t[Sn]=arguments[Sn];return _t=lt.call.apply(lt,[this].concat($t)),_t.state={goInputText:""},_t.getValidValue=function(){var St=_t.state.goInputText;return!St||Number.isNaN(St)?void 0:Number(St)},_t.buildOptionText=function(St){return"".concat(St," ").concat(_t.props.locale.items_per_page)},_t.changeSize=function(St){_t.props.changeSize(Number(St))},_t.handleChange=function(St){_t.setState({goInputText:St.target.value})},_t.handleBlur=function(St){var nn=_t.props,tn=nn.goButton,jt=nn.quickGo,pt=nn.rootPrefixCls,Zt=_t.state.goInputText;tn||Zt===""||(_t.setState({goInputText:""}),!(St.relatedTarget&&(St.relatedTarget.className.indexOf("".concat(pt,"-item-link"))>=0||St.relatedTarget.className.indexOf("".concat(pt,"-item"))>=0))&&jt(_t.getValidValue()))},_t.go=function(St){var nn=_t.state.goInputText;nn!==""&&(St.keyCode===We.ENTER||St.type==="click")&&(_t.setState({goInputText:""}),_t.props.quickGo(_t.getValidValue()))},_t}return(0,Pe.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var kt=this.props,$t=kt.pageSize,Sn=kt.pageSizeOptions;return Sn.some(function(St){return St.toString()===$t.toString()})?Sn:Sn.concat([$t.toString()]).sort(function(St,nn){var tn=Number.isNaN(Number(St))?0:Number(St),jt=Number.isNaN(Number(nn))?0:Number(nn);return tn-jt})}},{key:"render",value:function(){var kt=this,$t=this.props,Sn=$t.pageSize,St=$t.locale,nn=$t.rootPrefixCls,tn=$t.changeSize,jt=$t.quickGo,pt=$t.goButton,Zt=$t.selectComponentClass,gn=$t.buildOptionText,wn=$t.selectPrefixCls,Xn=$t.disabled,yr=this.state.goInputText,Dr="".concat(nn,"-options"),Tr=Zt,Rr=null,Sr=null,fr=null;if(!tn&&!jt)return null;var Vr=this.getPageSizeOptions();if(tn&&Tr){var Bi=Vr.map(function(yi,mi){return Me.createElement(Tr.Option,{key:mi,value:yi.toString()},(gn||kt.buildOptionText)(yi))});Rr=Me.createElement(Tr,{disabled:Xn,prefixCls:wn,showSearch:!1,className:"".concat(Dr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Sn||Vr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(mi){return mi.parentNode},"aria-label":St.page_size,defaultOpen:!1},Bi)}return jt&&(pt&&(fr=typeof pt=="boolean"?Me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Xn,className:"".concat(Dr,"-quick-jumper-button")},St.jump_to_confirm):Me.createElement("span",{onClick:this.go,onKeyUp:this.go},pt)),Sr=Me.createElement("div",{className:"".concat(Dr,"-quick-jumper")},St.jump_to,Me.createElement("input",{disabled:Xn,type:"text",value:yr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":St.page}),St.page,fr)),Me.createElement("li",{className:"".concat(Dr)},Rr,Sr)}}]),Pt}(Me.Component);et.defaultProps={pageSizeOptions:["10","20","50","100"]};var rt=et,ht=function(lt){var Pt,_t=lt.rootPrefixCls,kt=lt.page,$t=lt.active,Sn=lt.className,St=lt.showTitle,nn=lt.onClick,tn=lt.onKeyPress,jt=lt.itemRender,pt="".concat(_t,"-item"),Zt=_e()(pt,"".concat(pt,"-").concat(kt),(Pt={},(0,Ne.Z)(Pt,"".concat(pt,"-active"),$t),(0,Ne.Z)(Pt,"".concat(pt,"-disabled"),!kt),(0,Ne.Z)(Pt,lt.className,Sn),Pt)),gn=function(){nn(kt)},wn=function(Dr){tn(Dr,nn,kt)},Xn=jt(kt,"page",Me.createElement("a",{rel:"nofollow"},kt));return Xn?Me.createElement("li",{title:St?kt.toString():null,className:Zt,onClick:gn,onKeyPress:wn,tabIndex:0},Xn):null},dt=ht;function Ct(){}function Xe($e){var lt=Number($e);return typeof lt=="number"&&!Number.isNaN(lt)&&isFinite(lt)&&Math.floor(lt)===lt}var Lt=function(lt,Pt,_t){return _t};function Re($e,lt,Pt){var _t=typeof $e=="undefined"?lt.pageSize:$e;return Math.floor((Pt.total-1)/_t)+1}var Ht=function($e){(0,Te.Z)(Pt,$e);var lt=(0,Ye.Z)(Pt);function Pt(_t){var kt;(0,ke.Z)(this,Pt),kt=lt.call(this,_t),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,jt){var pt=kt.props.prefixCls,Zt=tn||Me.createElement("button",{type:"button","aria-label":jt,className:"".concat(pt,"-item-link")});return typeof tn=="function"&&(Zt=Me.createElement(tn,(0,Qe.Z)({},kt.props))),Zt},kt.isValid=function(tn){var jt=kt.props.total;return Xe(tn)&&tn!==kt.state.current&&Xe(jt)&&jt>0},kt.shouldDisplayQuickJumper=function(){var tn=kt.props,jt=tn.showQuickJumper,pt=tn.total,Zt=kt.state.pageSize;return pt<=Zt?!1:jt},kt.handleKeyDown=function(tn){(tn.keyCode===We.ARROW_UP||tn.keyCode===We.ARROW_DOWN)&&tn.preventDefault()},kt.handleKeyUp=function(tn){var jt=kt.getValidValue(tn),pt=kt.state.currentInputValue;jt!==pt&&kt.setState({currentInputValue:jt}),tn.keyCode===We.ENTER?kt.handleChange(jt):tn.keyCode===We.ARROW_UP?kt.handleChange(jt-1):tn.keyCode===We.ARROW_DOWN&&kt.handleChange(jt+1)},kt.handleBlur=function(tn){var jt=kt.getValidValue(tn);kt.handleChange(jt)},kt.changePageSize=function(tn){var jt=kt.state.current,pt=Re(tn,kt.state,kt.props);jt=jt>pt?pt:jt,pt===0&&(jt=kt.state.current),typeof tn=="number"&&("pageSize"in kt.props||kt.setState({pageSize:tn}),"current"in kt.props||kt.setState({current:jt,currentInputValue:jt})),kt.props.onShowSizeChange(jt,tn),"onChange"in kt.props&&kt.props.onChange&&kt.props.onChange(jt,tn)},kt.handleChange=function(tn){var jt=kt.props,pt=jt.disabled,Zt=jt.onChange,gn=kt.state,wn=gn.pageSize,Xn=gn.current,yr=gn.currentInputValue;if(kt.isValid(tn)&&!pt){var Dr=Re(void 0,kt.state,kt.props),Tr=tn;return tn>Dr?Tr=Dr:tn<1&&(Tr=1),"current"in kt.props||kt.setState({current:Tr}),Tr!==yr&&kt.setState({currentInputValue:Tr}),Zt(Tr,wn),Tr}return Xn},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,jt){if(tn.key==="Enter"||tn.charCode===13){for(var pt=arguments.length,Zt=new Array(pt>2?pt-2:0),gn=2;gn<pt;gn++)Zt[gn-2]=arguments[gn];jt.apply(void 0,Zt)}},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 jt=kt.props,pt=jt.prevIcon,Zt=jt.itemRender,gn=Zt(tn,"prev",kt.getItemIcon(pt,"prev page")),wn=!kt.hasPrev();return(0,Me.isValidElement)(gn)?(0,Me.cloneElement)(gn,{disabled:wn}):gn},kt.renderNext=function(tn){var jt=kt.props,pt=jt.nextIcon,Zt=jt.itemRender,gn=Zt(tn,"next",kt.getItemIcon(pt,"next page")),wn=!kt.hasNext();return(0,Me.isValidElement)(gn)?(0,Me.cloneElement)(gn,{disabled:wn}):gn};var $t=_t.onChange!==Ct,Sn="current"in _t;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 St=_t.defaultCurrent;"current"in _t&&(St=_t.current);var nn=_t.defaultPageSize;return"pageSize"in _t&&(nn=_t.pageSize),St=Math.min(St,Re(nn,void 0,_t)),kt.state={current:St,currentInputValue:St,pageSize:nn},kt}return(0,Pe.Z)(Pt,[{key:"componentDidUpdate",value:function(kt,$t){var Sn=this.props.prefixCls;if($t.current!==this.state.current&&this.paginationNode.current){var St=this.paginationNode.current.querySelector(".".concat(Sn,"-item-").concat($t.current));if(St&&document.activeElement===St){var nn;St==null||(nn=St.blur)===null||nn===void 0||nn.call(St)}}}},{key:"getValidValue",value:function(kt){var $t=kt.target.value,Sn=Re(void 0,this.state,this.props),St=this.state.currentInputValue,nn;return $t===""?nn=$t:Number.isNaN(Number($t))?nn=St:$t>=Sn?nn=Sn:nn=Number($t),nn}},{key:"getShowSizeChanger",value:function(){var kt=this.props,$t=kt.showSizeChanger,Sn=kt.total,St=kt.totalBoundaryShowSizeChanger;return typeof $t!="undefined"?$t:Sn>St}},{key:"render",value:function(){var kt=this.props,$t=kt.prefixCls,Sn=kt.className,St=kt.style,nn=kt.disabled,tn=kt.hideOnSinglePage,jt=kt.total,pt=kt.locale,Zt=kt.showQuickJumper,gn=kt.showLessItems,wn=kt.showTitle,Xn=kt.showTotal,yr=kt.simple,Dr=kt.itemRender,Tr=kt.showPrevNextJumpers,Rr=kt.jumpPrevIcon,Sr=kt.jumpNextIcon,fr=kt.selectComponentClass,Vr=kt.selectPrefixCls,Bi=kt.pageSizeOptions,yi=this.state,mi=yi.current,Vi=yi.pageSize,ua=yi.currentInputValue;if(tn===!0&&jt<=Vi)return null;var Wr=Re(void 0,this.state,this.props),Mn=[],ea=null,Ea=null,wo=null,sa=null,Pi=null,Aa=Zt&&Zt.goButton,Si=gn?1:2,qr=mi-1>0?mi-1:0,Ma=mi+1<Wr?mi+1:Wr,kn=(0,ze.Z)(this.props,{aria:!0,data:!0}),Dt=Xn&&Me.createElement("li",{className:"".concat($t,"-total-text")},Xn(jt,[jt===0?0:(mi-1)*Vi+1,mi*Vi>jt?jt:mi*Vi]));if(yr){Aa&&(typeof Aa=="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},Aa),Pi=Me.createElement("li",{title:wn?"".concat(pt.jump_to).concat(mi,"/").concat(Wr):null,className:"".concat($t,"-simple-pager")},Pi));var Gt=this.renderPrev(qr);return Me.createElement("ul",(0,he.Z)({className:_e()($t,"".concat($t,"-simple"),(0,Ne.Z)({},"".concat($t,"-disabled"),nn),Sn),style:St,ref:this.paginationNode},kn),Dt,Gt?Me.createElement("li",{title:wn?pt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Ne.Z)({},"".concat($t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Gt):null,Me.createElement("li",{title:wn?"".concat(mi,"/").concat(Wr):null,className:"".concat($t,"-simple-pager")},Me.createElement("input",{type:"text",value:ua,disabled:nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Me.createElement("span",{className:"".concat($t,"-slash")},"/"),Wr),Me.createElement("li",{title:wn?pt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Ne.Z)({},"".concat($t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ma)),Pi)}if(Wr<=3+Si*2){var Wt={locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wn,itemRender:Dr};Wr||Mn.push(Me.createElement(dt,(0,he.Z)({},Wt,{key:"noPager",page:1,className:"".concat($t,"-item-disabled")})));for(var Kt=1;Kt<=Wr;Kt+=1){var on=mi===Kt;Mn.push(Me.createElement(dt,(0,he.Z)({},Wt,{key:Kt,page:Kt,active:on})))}}else{var _n=gn?pt.prev_3:pt.prev_5,lr=gn?pt.next_3:pt.next_5,nr=Dr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Rr,"prev page")),dr=Dr(this.getJumpNextPage(),"jump-next",this.getItemIcon(Sr,"next page"));Tr&&(ea=nr?Me.createElement("li",{title:wn?_n:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:_e()("".concat($t,"-jump-prev"),(0,Ne.Z)({},"".concat($t,"-jump-prev-custom-icon"),!!Rr))},nr):null,Ea=dr?Me.createElement("li",{title:wn?lr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:_e()("".concat($t,"-jump-next"),(0,Ne.Z)({},"".concat($t,"-jump-next-custom-icon"),!!Sr))},dr):null),sa=Me.createElement(dt,{locale:pt,last:!0,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Wr,page:Wr,active:!1,showTitle:wn,itemRender:Dr}),wo=Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wn,itemRender:Dr});var Pr=Math.max(1,mi-Si),Ur=Math.min(mi+Si,Wr);mi-1<=Si&&(Ur=1+Si*2),Wr-mi<=Si&&(Pr=Wr-Si*2);for(var ei=Pr;ei<=Ur;ei+=1){var er=mi===ei;Mn.push(Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ei,page:ei,active:er,showTitle:wn,itemRender:Dr}))}mi-1>=Si*2&&mi!==3&&(Mn[0]=(0,Me.cloneElement)(Mn[0],{className:"".concat($t,"-item-after-jump-prev")}),Mn.unshift(ea)),Wr-mi>=Si*2&&mi!==Wr-2&&(Mn[Mn.length-1]=(0,Me.cloneElement)(Mn[Mn.length-1],{className:"".concat($t,"-item-before-jump-next")}),Mn.push(Ea)),Pr!==1&&Mn.unshift(wo),Ur!==Wr&&Mn.push(sa)}var kr=!this.hasPrev()||!Wr,_i=!this.hasNext()||!Wr,gi=this.renderPrev(qr),ji=this.renderNext(Ma);return Me.createElement("ul",(0,he.Z)({className:_e()($t,Sn,(0,Ne.Z)({},"".concat($t,"-disabled"),nn)),style:St,ref:this.paginationNode},kn),Dt,gi?Me.createElement("li",{title:wn?pt.prev_page:null,onClick:this.prev,tabIndex:kr?null:0,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Ne.Z)({},"".concat($t,"-disabled"),kr)),"aria-disabled":kr},gi):null,Mn,ji?Me.createElement("li",{title:wn?pt.next_page:null,onClick:this.next,tabIndex:_i?null:0,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Ne.Z)({},"".concat($t,"-disabled"),_i)),"aria-disabled":_i},ji):null,Me.createElement(rt,{disabled:nn,locale:pt,rootPrefixCls:$t,selectComponentClass:fr,selectPrefixCls:Vr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:mi,pageSize:Vi,pageSizeOptions:Bi,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Aa}))}}],[{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 St=$t.current,nn=Re(kt.pageSize,$t,kt);St=St>nn?nn:St,"current"in kt||(Sn.current=St,Sn.currentInputValue=St),Sn.pageSize=kt.pageSize}return Sn}}]),Pt}(Me.Component);Ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ct,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ct,locale:Ze.Z,style:{},itemRender:Lt,totalBoundaryShowSizeChanger:50};var Et=Ht,bt=de(22075),Tt=de(36355),wt=de(19716),it=de(8628),Ue=de(9763),at=de(57809);const Xt=$e=>Me.createElement(at.default,Object.assign({},$e,{showSearch:!0,size:"small"})),Vt=$e=>Me.createElement(at.default,Object.assign({},$e,{showSearch:!0,size:"middle"}));Xt.Option=at.default.Option,Vt.Option=at.default.Option;var xt=de(9937),Qt=de(17313),An=de(83116),Tn=de(37613);const dn=$e=>{const{componentCls:lt}=$e;return{[`${lt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${lt}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${lt}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}}},[`&${lt}-disabled`]:{cursor:"not-allowed",[`${lt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:$e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:$e.colorBorder,backgroundColor:$e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:$e.itemActiveBgDisabled},a:{color:$e.itemActiveColorDisabled}}},[`${lt}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${lt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${lt}-simple-pager`]:{color:$e.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"}}}}}},Gn=$e=>{const{componentCls:lt}=$e;return{[`&${lt}-mini ${lt}-total-text, &${lt}-mini ${lt}-simple-pager`]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`},[`&${lt}-mini ${lt}-item`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM-2}px`},[`&${lt}-mini:not(${lt}-disabled) ${lt}-item:not(${lt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},[`&${lt}-mini ${lt}-prev, &${lt}-mini ${lt}-next`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM}px`},[`&${lt}-mini:not(${lt}-disabled)`]:{[`${lt}-prev, ${lt}-next`]:{[`&:hover ${lt}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:$e.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:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}},[`&${lt}-mini ${lt}-jump-prev, &${lt}-mini ${lt}-jump-next`]:{height:$e.itemSizeSM,marginInlineEnd:0,lineHeight:`${$e.itemSizeSM}px`},[`&${lt}-mini ${lt}-options`]:{marginInlineStart:$e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:$e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,xt.x0)($e)),{width:$e.paginationMiniQuickJumperInputWidth,height:$e.controlHeightSM})}}}},Cn=$e=>{const{componentCls:lt}=$e;return{[`
&${lt}-simple ${lt}-prev,
&${lt}-simple ${lt}-next
`]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,verticalAlign:"top",[`${lt}-item-link`]:{height:$e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive},"&::after":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}}},[`&${lt}-simple ${lt}-simple-pager`]:{display:"inline-block",height:$e.itemSizeSM,marginInlineEnd:$e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:$e.marginXS,padding:`0 ${$e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:$e.itemInputBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadius,outline:"none",transition:`border-color ${$e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:$e.colorPrimary},"&:focus":{borderColor:$e.colorPrimaryHover,boxShadow:`${$e.inputOutlineOffset}px 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`},"&[disabled]":{color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,cursor:"not-allowed"}}}}},mn=$e=>{const{componentCls:lt}=$e;return{[`${lt}-jump-prev, ${lt}-jump-next`]:{outline:0,[`${lt}-item-container`]:{position:"relative",[`${lt}-item-link-icon`]:{color:$e.colorPrimary,fontSize:$e.fontSizeSM,opacity:0,transition:`all ${$e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${lt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:$e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:$e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:$e.paginationEllipsisTextIndent,opacity:1,transition:`all ${$e.motionDurationMid}`}},"&:hover":{[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}}},[`
${lt}-prev,
${lt}-jump-prev,
${lt}-jump-next
`]:{marginInlineEnd:$e.marginXS},[`
${lt}-prev,
${lt}-next,
${lt}-jump-prev,
${lt}-jump-next
`]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,color:$e.colorText,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:$e.borderRadius,cursor:"pointer",transition:`all ${$e.motionDurationMid}`},[`${lt}-prev, ${lt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:$e.colorText,cursor:"pointer",userSelect:"none"},[`${lt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:$e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:"none",transition:`all ${$e.motionDurationMid}`},[`&:hover ${lt}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:$e.colorBgTextActive},[`&${lt}-disabled:hover`]:{[`${lt}-item-link`]:{backgroundColor:"transparent"}}},[`${lt}-slash`]:{marginInlineEnd:$e.paginationSlashMarginInlineEnd,marginInlineStart:$e.paginationSlashMarginInlineStart},[`${lt}-options`]:{display:"inline-block",marginInlineStart:$e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:$e.controlHeight,marginInlineStart:$e.marginXS,lineHeight:`${$e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,xt.ik)($e)),{width:$e.controlHeightLG*1.25,height:$e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:$e.marginXS,marginInlineEnd:$e.marginXS})}}}},Bn=$e=>{const{componentCls:lt}=$e;return{[`${lt}-item`]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,marginInlineEnd:$e.marginXS,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${$e.paginationItemPaddingInline}px`,color:$e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${lt}-item-active)`]:{"&:hover":{transition:`all ${$e.motionDurationMid}`,backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},"&-active":{fontWeight:$e.fontWeightStrong,backgroundColor:$e.itemActiveBg,borderColor:$e.colorPrimary,a:{color:$e.colorPrimary},"&:hover":{borderColor:$e.colorPrimaryHover},"&:hover a":{color:$e.colorPrimaryHover}}}}},Se=$e=>{const{componentCls:lt}=$e;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qt.Wf)($e)),{"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:$e.itemSize,marginInlineEnd:$e.marginXS,lineHeight:`${$e.itemSize-2}px`,verticalAlign:"middle"}}),Bn($e)),mn($e)),Cn($e)),Gn($e)),dn($e)),{[`@media only screen and (max-width: ${$e.screenLG}px)`]:{[`${lt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${$e.screenSM}px)`]:{[`${lt}-options`]:{display:"none"}}}),[`&${$e.componentCls}-rtl`]:{direction:"rtl"}}},Fe=$e=>{const{componentCls:lt}=$e;return{[`${lt}${lt}-disabled:not(${lt}-mini)`]:{"&, &:hover":{[`${lt}-item-link`]:{borderColor:$e.colorBorder}},"&:focus-visible":{[`${lt}-item-link`]:{borderColor:$e.colorBorder}},[`${lt}-item, ${lt}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,[`&:hover:not(${lt}-item-active)`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,a:{color:$e.colorTextDisabled}},[`&${lt}-item-active`]:{backgroundColor:$e.itemActiveBgDisabled}},[`${lt}-prev, ${lt}-next`]:{"&:hover button":{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,color:$e.colorTextDisabled},[`${lt}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder}}},[`${lt}:not(${lt}-mini)`]:{[`${lt}-prev, ${lt}-next`]:{"&:hover button":{borderColor:$e.colorPrimaryHover,backgroundColor:$e.itemBg},[`${lt}-item-link`]:{backgroundColor:$e.itemLinkBg,borderColor:$e.colorBorder},[`&:hover ${lt}-item-link`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,color:$e.colorPrimary},[`&${lt}-disabled`]:{[`${lt}-item-link`]:{borderColor:$e.colorBorder,color:$e.colorTextDisabled}}},[`${lt}-item`]:{backgroundColor:$e.itemBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,[`&:hover:not(${lt}-item-active)`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,a:{color:$e.colorPrimary}},"&-active":{borderColor:$e.colorPrimary}}}}},ie=$e=>{const{componentCls:lt}=$e;return{[`${lt}:not(${lt}-disabled)`]:{[`${lt}-item`]:Object.assign({},(0,Qt.Qy)($e)),[`${lt}-jump-prev, ${lt}-jump-next`]:{"&:focus-visible":Object.assign({[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}},(0,Qt.oN)($e))},[`${lt}-prev, ${lt}-next`]:{[`&:focus-visible ${lt}-item-link`]:Object.assign({},(0,Qt.oN)($e))}}}};var ae=(0,An.Z)("Pagination",$e=>{const lt=(0,Tn.TS)($e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:$e.marginXXS/2,paginationMiniQuickJumperInputWidth:$e.controlHeightLG*1.1,paginationItemPaddingInline:$e.marginXXS*1.5,paginationEllipsisLetterSpacing:$e.marginXXS/2,paginationSlashMarginInlineStart:$e.marginXXS,paginationSlashMarginInlineEnd:$e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,xt.e5)($e),(0,xt.TM)($e));return[Se(lt),ie(lt),$e.wireframe&&Fe(lt)]},$e=>({itemBg:$e.colorBgContainer,itemSize:$e.controlHeight,itemSizeSM:$e.controlHeightSM,itemActiveBg:$e.colorBgContainer,itemLinkBg:$e.colorBgContainer,itemActiveColorDisabled:$e.colorTextDisabled,itemActiveBgDisabled:$e.controlItemBgActiveDisabled,itemInputBg:$e.colorBgContainer,miniOptionsSizeChangerTop:0})),se=function($e,lt){var Pt={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&lt.indexOf(_t)<0&&(Pt[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,_t=Object.getOwnPropertySymbols($e);kt<_t.length;kt++)lt.indexOf(_t[kt])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[kt])&&(Pt[_t[kt]]=$e[_t[kt]]);return Pt},Je=$e=>{const{prefixCls:lt,selectPrefixCls:Pt,className:_t,rootClassName:kt,style:$t,size:Sn,locale:St,selectComponentClass:nn,responsive:tn,showSizeChanger:jt}=$e,pt=se($e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Zt}=(0,it.Z)(tn),{getPrefixCls:gn,direction:wn,pagination:Xn={}}=Me.useContext(Tt.E_),yr=gn("pagination",lt),[Dr,Tr]=ae(yr),Rr=jt!=null?jt:Xn.showSizeChanger,Sr=Me.useMemo(()=>{const Wr=Me.createElement("span",{className:`${yr}-item-ellipsis`},"\u2022\u2022\u2022"),Mn=Me.createElement("button",{className:`${yr}-item-link`,type:"button",tabIndex:-1},wn==="rtl"?Me.createElement(Ke.Z,null):Me.createElement(fe.Z,null)),ea=Me.createElement("button",{className:`${yr}-item-link`,type:"button",tabIndex:-1},wn==="rtl"?Me.createElement(fe.Z,null):Me.createElement(Ke.Z,null)),Ea=Me.createElement("a",{className:`${yr}-item-link`},Me.createElement("div",{className:`${yr}-item-container`},wn==="rtl"?Me.createElement(xe.Z,{className:`${yr}-item-link-icon`}):Me.createElement(Ae,{className:`${yr}-item-link-icon`}),Wr)),wo=Me.createElement("a",{className:`${yr}-item-link`},Me.createElement("div",{className:`${yr}-item-container`},wn==="rtl"?Me.createElement(Ae,{className:`${yr}-item-link-icon`}):Me.createElement(xe.Z,{className:`${yr}-item-link-icon`}),Wr));return{prevIcon:Mn,nextIcon:ea,jumpPrevIcon:Ea,jumpNextIcon:wo}},[wn,yr]),[fr]=(0,Ue.Z)("Pagination",bt.Z),Vr=Object.assign(Object.assign({},fr),St),Bi=(0,wt.Z)(Sn),yi=Bi==="small"||!!(Zt&&!Bi&&tn),mi=gn("select",Pt),Vi=_e()({[`${yr}-mini`]:yi,[`${yr}-rtl`]:wn==="rtl"},Xn==null?void 0:Xn.className,_t,kt,Tr),ua=Object.assign(Object.assign({},Xn==null?void 0:Xn.style),$t);return Dr(Me.createElement(Et,Object.assign({},Sr,pt,{style:ua,prefixCls:yr,selectPrefixCls:mi,className:Vi,selectComponentClass:nn||(yi?Xt:Vt),locale:Vr,showSizeChanger:Rr})))},vt=Je},93948:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return jt}});var he=de(59301),Me=de(29679),He=de(40001),ft=de(19248),Oe=de(99267),Le=de(92310),ve=de.n(Le),Ae=de(2738),xe=de(36355),fe=de(60499),Ke=de(85899),Be=de(42244),_e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ne=function(){var Zt=(0,he.useRef)([]),gn=(0,he.useRef)(null);return(0,he.useEffect)(function(){var wn=Date.now(),Xn=!1;Zt.current.forEach(function(yr){if(yr){Xn=!0;var Dr=yr.style;Dr.transitionDuration=".3s, .3s, .3s, .06s",gn.current&&wn-gn.current<100&&(Dr.transitionDuration="0s, 0s")}}),Xn&&(gn.current=Date.now())}),Zt.current},Qe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ke=function(Zt){var gn=(0,Ke.Z)((0,Ke.Z)({},_e),Zt),wn=gn.className,Xn=gn.percent,yr=gn.prefixCls,Dr=gn.strokeColor,Tr=gn.strokeLinecap,Rr=gn.strokeWidth,Sr=gn.style,fr=gn.trailColor,Vr=gn.trailWidth,Bi=gn.transition,yi=(0,Be.Z)(gn,Qe);delete yi.gapPosition;var mi=Array.isArray(Xn)?Xn:[Xn],Vi=Array.isArray(Dr)?Dr:[Dr],ua=Ne(),Wr=Rr/2,Mn=100-Rr/2,ea="M ".concat(Tr==="round"?Wr:0,",").concat(Wr,`
L `).concat(Tr==="round"?Mn:100,",").concat(Wr),Ea="0 0 100 ".concat(Rr),wo=0;return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(yr,"-line"),wn),viewBox:Ea,preserveAspectRatio:"none",style:Sr},yi),he.createElement("path",{className:"".concat(yr,"-line-trail"),d:ea,strokeLinecap:Tr,stroke:fr,strokeWidth:Vr||Rr,fillOpacity:"0"}),mi.map(function(sa,Pi){var Aa=1;switch(Tr){case"round":Aa=1-Rr/100;break;case"square":Aa=1-Rr/2/100;break;default:Aa=1;break}var Si={strokeDasharray:"".concat(sa*Aa,"px, 100px"),strokeDashoffset:"-".concat(wo,"px"),transition:Bi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},qr=Vi[Pi]||Vi[Vi.length-1];return wo+=sa,he.createElement("path",{key:Pi,className:"".concat(yr,"-line-path"),d:ea,strokeLinecap:Tr,stroke:qr,strokeWidth:Rr,fillOpacity:"0",ref:function(kn){ua[Pi]=kn},style:Si})}))},Pe=ke,Te=de(43749),Ye=de(72190),ze=de(47273),qe=0,We=(0,ze.Z)();function Ze(){var pt;return We?(pt=qe,qe+=1):pt="TEST_OR_SSR",pt}var et=function(pt){var Zt=he.useState(),gn=(0,Ye.Z)(Zt,2),wn=gn[0],Xn=gn[1];return he.useEffect(function(){Xn("rc_progress_".concat(Ze()))},[]),pt||wn},rt=function(Zt){var gn=Zt.bg,wn=Zt.children;return he.createElement("div",{style:{width:"100%",height:"100%",background:gn}},wn)};function ht(pt,Zt){return Object.keys(pt).map(function(gn){var wn=parseFloat(gn),Xn="".concat(Math.floor(wn*Zt),"%");return"".concat(pt[gn]," ").concat(Xn)})}var dt=he.forwardRef(function(pt,Zt){var gn=pt.prefixCls,wn=pt.color,Xn=pt.gradientId,yr=pt.radius,Dr=pt.style,Tr=pt.ptg,Rr=pt.strokeLinecap,Sr=pt.strokeWidth,fr=pt.size,Vr=pt.gapDegree,Bi=wn&&(0,Te.Z)(wn)==="object",yi=Bi?"#FFF":void 0,mi=fr/2,Vi=he.createElement("circle",{className:"".concat(gn,"-circle-path"),r:yr,cx:mi,cy:mi,stroke:yi,strokeLinecap:Rr,strokeWidth:Sr,opacity:Tr===0?0:1,style:Dr,ref:Zt});if(!Bi)return Vi;var ua="".concat(Xn,"-conic"),Wr=Vr?"".concat(180+Vr/2,"deg"):"0deg",Mn=ht(wn,(360-Vr)/360),ea=ht(wn,1),Ea="conic-gradient(from ".concat(Wr,", ").concat(Mn.join(", "),")"),wo="linear-gradient(to ".concat(Vr?"bottom":"top",", ").concat(ea.join(", "),")");return he.createElement(he.Fragment,null,he.createElement("mask",{id:ua},Vi),he.createElement("foreignObject",{x:0,y:0,width:fr,height:fr,mask:"url(#".concat(ua,")")},he.createElement(rt,{bg:wo},he.createElement(rt,{bg:Ea}))))}),Ct=dt,Xe=100,Lt=function(Zt,gn,wn,Xn,yr,Dr,Tr,Rr,Sr,fr){var Vr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Bi=wn/100*360*((360-Dr)/360),yi=Dr===0?0:{bottom:0,top:180,left:90,right:-90}[Tr],mi=(100-Xn)/100*gn;Sr==="round"&&Xn!==100&&(mi+=fr/2,mi>=gn&&(mi=gn-.01));var Vi=Xe/2;return{stroke:typeof Rr=="string"?Rr:void 0,strokeDasharray:"".concat(gn,"px ").concat(Zt),strokeDashoffset:mi+Vr,transform:"rotate(".concat(yr+Bi+yi,"deg)"),transformOrigin:"".concat(Vi,"px ").concat(Vi,"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 Ht(pt){var Zt=pt!=null?pt:[];return Array.isArray(Zt)?Zt:[Zt]}var Et=function(Zt){var gn=(0,Ke.Z)((0,Ke.Z)({},_e),Zt),wn=gn.id,Xn=gn.prefixCls,yr=gn.steps,Dr=gn.strokeWidth,Tr=gn.trailWidth,Rr=gn.gapDegree,Sr=Rr===void 0?0:Rr,fr=gn.gapPosition,Vr=gn.trailColor,Bi=gn.strokeLinecap,yi=gn.style,mi=gn.className,Vi=gn.strokeColor,ua=gn.percent,Wr=(0,Be.Z)(gn,Re),Mn=Xe/2,ea=et(wn),Ea="".concat(ea,"-gradient"),wo=Mn-Dr/2,sa=Math.PI*2*wo,Pi=Sr>0?90+Sr/2:-90,Aa=sa*((360-Sr)/360),Si=(0,Te.Z)(yr)==="object"?yr:{count:yr,space:2},qr=Si.count,Ma=Si.space,kn=Ht(ua),Dt=Ht(Vi),Gt=Dt.find(function(dr){return dr&&(0,Te.Z)(dr)==="object"}),Wt=Gt&&(0,Te.Z)(Gt)==="object",Kt=Wt?"butt":Bi,on=Lt(sa,Aa,0,100,Pi,Sr,fr,Vr,Kt,Dr),_n=Ne(),lr=function(){var Pr=0;return kn.map(function(Ur,ei){var er=Dt[ei]||Dt[Dt.length-1],kr=Lt(sa,Aa,Pr,Ur,Pi,Sr,fr,er,Kt,Dr);return Pr+=Ur,he.createElement(Ct,{key:ei,color:er,ptg:Ur,radius:wo,prefixCls:Xn,gradientId:Ea,style:kr,strokeLinecap:Kt,strokeWidth:Dr,gapDegree:Sr,ref:function(gi){_n[ei]=gi},size:Xe})}).reverse()},nr=function(){var Pr=Math.round(qr*(kn[0]/100)),Ur=100/qr,ei=0;return new Array(qr).fill(null).map(function(er,kr){var _i=kr<=Pr-1?Dt[0]:Vr,gi=_i&&(0,Te.Z)(_i)==="object"?"url(#".concat(Ea,")"):void 0,ji=Lt(sa,Aa,ei,Ur,Pi,Sr,fr,_i,"butt",Dr,Ma);return ei+=(Aa-ji.strokeDashoffset+Ma)*100/Aa,he.createElement("circle",{key:kr,className:"".concat(Xn,"-circle-path"),r:wo,cx:Mn,cy:Mn,stroke:gi,strokeWidth:Dr,opacity:1,style:ji,ref:function(Ca){_n[kr]=Ca}})})};return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(Xn,"-circle"),mi),viewBox:"0 0 ".concat(Xe," ").concat(Xe),style:yi,id:wn,role:"presentation"},Wr),!qr&&he.createElement("circle",{className:"".concat(Xn,"-circle-trail"),r:wo,cx:Mn,cy:Mn,stroke:Vr,strokeLinecap:Kt,strokeWidth:Tr||Dr,style:on}),qr?nr():lr())},bt=Et,Tt={Line:Pe,Circle:bt},wt=de(6848),it=de(30071);function Ue(pt){return!pt||pt<0?0:pt>100?100:pt}function at(pt){let{success:Zt,successPercent:gn}=pt,wn=gn;return Zt&&"progress"in Zt&&(wn=Zt.progress),Zt&&"percent"in Zt&&(wn=Zt.percent),wn}const Xt=pt=>{let{percent:Zt,success:gn,successPercent:wn}=pt;const Xn=Ue(at({success:gn,successPercent:wn}));return[Xn,Ue(Ue(Zt)-Xn)]},Vt=pt=>{let{success:Zt={},strokeColor:gn}=pt;const{strokeColor:wn}=Zt;return[wn||it.presetPrimaryColors.green,gn||null]},xt=(pt,Zt,gn)=>{var wn,Xn,yr,Dr;let Tr=-1,Rr=-1;if(Zt==="step"){const Sr=gn.steps,fr=gn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?(Tr=pt==="small"?2:14,Rr=fr!=null?fr:8):typeof pt=="number"?[Tr,Rr]=[pt,pt]:[Tr=14,Rr=8]=pt,Tr*=Sr}else if(Zt==="line"){const Sr=gn==null?void 0:gn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?Rr=Sr||(pt==="small"?6:8):typeof pt=="number"?[Tr,Rr]=[pt,pt]:[Tr=-1,Rr=8]=pt}else(Zt==="circle"||Zt==="dashboard")&&(typeof pt=="string"||typeof pt=="undefined"?[Tr,Rr]=pt==="small"?[60,60]:[120,120]:typeof pt=="number"?[Tr,Rr]=[pt,pt]:(Tr=(Xn=(wn=pt[0])!==null&&wn!==void 0?wn:pt[1])!==null&&Xn!==void 0?Xn:120,Rr=(Dr=(yr=pt[0])!==null&&yr!==void 0?yr:pt[1])!==null&&Dr!==void 0?Dr:120));return[Tr,Rr]},Qt=3,An=pt=>Qt/pt*100;var dn=pt=>{const{prefixCls:Zt,trailColor:gn=null,strokeLinecap:wn="round",gapPosition:Xn,gapDegree:yr,width:Dr=120,type:Tr,children:Rr,success:Sr,size:fr=Dr}=pt,[Vr,Bi]=xt(fr,"circle");let{strokeWidth:yi}=pt;yi===void 0&&(yi=Math.max(An(Vr),6));const mi={width:Vr,height:Bi,fontSize:Vr*.15+6},Vi=he.useMemo(()=>{if(yr||yr===0)return yr;if(Tr==="dashboard")return 75},[yr,Tr]),ua=Xn||Tr==="dashboard"&&"bottom"||void 0,Wr=Object.prototype.toString.call(pt.strokeColor)==="[object Object]",Mn=Vt({success:Sr,strokeColor:pt.strokeColor}),ea=ve()(`${Zt}-inner`,{[`${Zt}-circle-gradient`]:Wr}),Ea=he.createElement(bt,{percent:Xt(pt),strokeWidth:yi,trailWidth:yi,strokeColor:Mn,strokeLinecap:wn,trailColor:gn,prefixCls:Zt,gapDegree:Vi,gapPosition:ua});return he.createElement("div",{className:ea,style:mi},Vr<=20?he.createElement(wt.Z,{title:Rr},he.createElement("span",null,Ea)):he.createElement(he.Fragment,null,Ea,Rr))},Gn=function(pt,Zt){var gn={};for(var wn in pt)Object.prototype.hasOwnProperty.call(pt,wn)&&Zt.indexOf(wn)<0&&(gn[wn]=pt[wn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,wn=Object.getOwnPropertySymbols(pt);Xn<wn.length;Xn++)Zt.indexOf(wn[Xn])<0&&Object.prototype.propertyIsEnumerable.call(pt,wn[Xn])&&(gn[wn[Xn]]=pt[wn[Xn]]);return gn};const Cn=pt=>{let Zt=[];return Object.keys(pt).forEach(gn=>{const wn=parseFloat(gn.replace(/%/g,""));isNaN(wn)||Zt.push({key:wn,value:pt[gn]})}),Zt=Zt.sort((gn,wn)=>gn.key-wn.key),Zt.map(gn=>{let{key:wn,value:Xn}=gn;return`${Xn} ${wn}%`}).join(", ")},mn=(pt,Zt)=>{const{from:gn=it.presetPrimaryColors.blue,to:wn=it.presetPrimaryColors.blue,direction:Xn=Zt==="rtl"?"to left":"to right"}=pt,yr=Gn(pt,["from","to","direction"]);if(Object.keys(yr).length!==0){const Dr=Cn(yr);return{backgroundImage:`linear-gradient(${Xn}, ${Dr})`}}return{backgroundImage:`linear-gradient(${Xn}, ${gn}, ${wn})`}};var Se=pt=>{const{prefixCls:Zt,direction:gn,percent:wn,size:Xn,strokeWidth:yr,strokeColor:Dr,strokeLinecap:Tr="round",children:Rr,trailColor:Sr=null,success:fr}=pt,Vr=Dr&&typeof Dr!="string"?mn(Dr,gn):{backgroundColor:Dr},Bi=Tr==="square"||Tr==="butt"?0:void 0,yi={backgroundColor:Sr||void 0,borderRadius:Bi},mi=Xn!=null?Xn:[-1,yr||(Xn==="small"?6:8)],[Vi,ua]=xt(mi,"line",{strokeWidth:yr}),Wr=Object.assign({width:`${Ue(wn)}%`,height:ua,borderRadius:Bi},Vr),Mn=at(pt),ea={width:`${Ue(Mn)}%`,height:ua,borderRadius:Bi,backgroundColor:fr==null?void 0:fr.strokeColor},Ea={width:Vi<0?"100%":Vi,height:ua};return he.createElement(he.Fragment,null,he.createElement("div",{className:`${Zt}-outer`,style:Ea},he.createElement("div",{className:`${Zt}-inner`,style:yi},he.createElement("div",{className:`${Zt}-bg`,style:Wr}),Mn!==void 0?he.createElement("div",{className:`${Zt}-success-bg`,style:ea}):null)),Rr)},ie=pt=>{const{size:Zt,steps:gn,percent:wn=0,strokeWidth:Xn=8,strokeColor:yr,trailColor:Dr=null,prefixCls:Tr,children:Rr}=pt,Sr=Math.round(gn*(wn/100)),fr=Zt==="small"?2:14,Vr=Zt!=null?Zt:[fr,Xn],[Bi,yi]=xt(Vr,"step",{steps:gn,strokeWidth:Xn}),mi=Bi/gn,Vi=new Array(gn);for(let ua=0;ua<gn;ua++){const Wr=Array.isArray(yr)?yr[ua]:yr;Vi[ua]=he.createElement("div",{key:ua,className:ve()(`${Tr}-steps-item`,{[`${Tr}-steps-item-active`]:ua<=Sr-1}),style:{backgroundColor:ua<=Sr-1?Wr:Dr,width:mi,height:yi}})}return he.createElement("div",{className:`${Tr}-steps-outer`},Vi,Rr)},ae=de(36237),se=de(17313),oe=de(83116),Je=de(37613);const vt=pt=>{const Zt=pt?"100%":"-100%";return new ae.Keyframes(`antProgress${pt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Zt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Zt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},$e=pt=>{const{componentCls:Zt,iconCls:gn}=pt;return{[Zt]: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},[`${Zt}-outer`]:{display:"inline-block",width:"100%"},[`&${Zt}-show-info`]:{[`${Zt}-outer`]:{marginInlineEnd:`calc(-2em - ${pt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${pt.paddingXS}px)`}},[`${Zt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:pt.remainingColor,borderRadius:pt.lineBorderRadius},[`${Zt}-inner:not(${Zt}-circle-gradient)`]:{[`${Zt}-circle-path`]:{stroke:pt.defaultColor}},[`${Zt}-success-bg, ${Zt}-bg`]:{position:"relative",backgroundColor:pt.defaultColor,borderRadius:pt.lineBorderRadius,transition:`all ${pt.motionDurationSlow} ${pt.motionEaseInOutCirc}`},[`${Zt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:pt.colorSuccess},[`${Zt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:pt.marginXS,color:pt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[gn]:{fontSize:pt.fontSize}},[`&${Zt}-status-active`]:{[`${Zt}-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:'""'}},[`&${Zt}-rtl${Zt}-status-active`]:{[`${Zt}-bg::before`]:{animationName:vt(!0)}},[`&${Zt}-status-exception`]:{[`${Zt}-bg`]:{backgroundColor:pt.colorError},[`${Zt}-text`]:{color:pt.colorError}},[`&${Zt}-status-exception ${Zt}-inner:not(${Zt}-circle-gradient)`]:{[`${Zt}-circle-path`]:{stroke:pt.colorError}},[`&${Zt}-status-success`]:{[`${Zt}-bg`]:{backgroundColor:pt.colorSuccess},[`${Zt}-text`]:{color:pt.colorSuccess}},[`&${Zt}-status-success ${Zt}-inner:not(${Zt}-circle-gradient)`]:{[`${Zt}-circle-path`]:{stroke:pt.colorSuccess}}})}},lt=pt=>{const{componentCls:Zt,iconCls:gn}=pt;return{[Zt]:{[`${Zt}-circle-trail`]:{stroke:pt.remainingColor},[`&${Zt}-circle ${Zt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Zt}-circle ${Zt}-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%)",[gn]:{fontSize:`${pt.fontSize/pt.fontSizeSM}em`}},[`${Zt}-circle&-status-exception`]:{[`${Zt}-text`]:{color:pt.colorError}},[`${Zt}-circle&-status-success`]:{[`${Zt}-text`]:{color:pt.colorSuccess}}},[`${Zt}-inline-circle`]:{lineHeight:1,[`${Zt}-inner`]:{verticalAlign:"bottom"}}}},Pt=pt=>{const{componentCls:Zt}=pt;return{[Zt]:{[`${Zt}-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}}}}}},_t=pt=>{const{componentCls:Zt,iconCls:gn}=pt;return{[Zt]:{[`${Zt}-small&-line, ${Zt}-small&-line ${Zt}-text ${gn}`]:{fontSize:pt.fontSizeSM}}}};var kt=(0,oe.Z)("Progress",pt=>{const Zt=pt.marginXXS/2,gn=(0,Je.TS)(pt,{progressStepMarginInlineEnd:Zt,progressStepMinWidth:Zt,progressActiveMotionDuration:"2.4s"});return[$e(gn),lt(gn),Pt(gn),_t(gn)]},pt=>({circleTextColor:pt.colorText,defaultColor:pt.colorInfo,remainingColor:pt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),$t=function(pt,Zt){var gn={};for(var wn in pt)Object.prototype.hasOwnProperty.call(pt,wn)&&Zt.indexOf(wn)<0&&(gn[wn]=pt[wn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,wn=Object.getOwnPropertySymbols(pt);Xn<wn.length;Xn++)Zt.indexOf(wn[Xn])<0&&Object.prototype.propertyIsEnumerable.call(pt,wn[Xn])&&(gn[wn[Xn]]=pt[wn[Xn]]);return gn};const Sn=null,St=["normal","exception","active","success"];var tn=he.forwardRef((pt,Zt)=>{const{prefixCls:gn,className:wn,rootClassName:Xn,steps:yr,strokeColor:Dr,percent:Tr=0,size:Rr="default",showInfo:Sr=!0,type:fr="line",status:Vr,format:Bi,style:yi}=pt,mi=$t(pt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Vi=he.useMemo(()=>{var kn,Dt;const Gt=at(pt);return parseInt(Gt!==void 0?(kn=Gt!=null?Gt:0)===null||kn===void 0?void 0:kn.toString():(Dt=Tr!=null?Tr:0)===null||Dt===void 0?void 0:Dt.toString(),10)},[Tr,pt.success,pt.successPercent]),ua=he.useMemo(()=>!St.includes(Vr)&&Vi>=100?"success":Vr||"normal",[Vr,Vi]),{getPrefixCls:Wr,direction:Mn,progress:ea}=he.useContext(xe.E_),Ea=Wr("progress",gn),[wo,sa]=kt(Ea),Pi=he.useMemo(()=>{if(!Sr)return null;const kn=at(pt);let Dt;const Gt=Bi||(Kt=>`${Kt}%`),Wt=fr==="line";return Bi||ua!=="exception"&&ua!=="success"?Dt=Gt(Ue(Tr),Ue(kn)):ua==="exception"?Dt=Wt?he.createElement(ft.Z,null):he.createElement(Oe.Z,null):ua==="success"&&(Dt=Wt?he.createElement(Me.Z,null):he.createElement(He.Z,null)),he.createElement("span",{className:`${Ea}-text`,title:typeof Dt=="string"?Dt:void 0},Dt)},[Sr,Tr,Vi,ua,fr,Ea,Bi]),Aa=Array.isArray(Dr)?Dr[0]:Dr,Si=typeof Dr=="string"||Array.isArray(Dr)?Dr:void 0;let qr;fr==="line"?qr=yr?he.createElement(ie,Object.assign({},pt,{strokeColor:Si,prefixCls:Ea,steps:yr}),Pi):he.createElement(Se,Object.assign({},pt,{strokeColor:Aa,prefixCls:Ea,direction:Mn}),Pi):(fr==="circle"||fr==="dashboard")&&(qr=he.createElement(dn,Object.assign({},pt,{strokeColor:Aa,prefixCls:Ea,progressStatus:ua}),Pi));const Ma=ve()(Ea,`${Ea}-status-${ua}`,`${Ea}-${fr==="dashboard"&&"circle"||yr&&"steps"||fr}`,{[`${Ea}-inline-circle`]:fr==="circle"&&xt(Rr,"circle")[0]<=20,[`${Ea}-show-info`]:Sr,[`${Ea}-${Rr}`]:typeof Rr=="string",[`${Ea}-rtl`]:Mn==="rtl"},ea==null?void 0:ea.className,wn,Xn,sa);return wo(he.createElement("div",Object.assign({ref:Zt,style:Object.assign(Object.assign({},ea==null?void 0:ea.style),yi),className:Ma,role:"progressbar","aria-valuenow":Vi},(0,Ae.Z)(mi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),qr))}),jt=tn},5112:function(Qn,Yt,de){"use strict";de.d(Yt,{ZP:function(){return it}});var he=de(92310),Me=de.n(he),He=de(18929),ft=de(26112),Oe=de(59301),Le=de(36355),ve=de(19716);const Ae=Oe.createContext(null),xe=Ae.Provider;var fe=Ae;const Ke=Oe.createContext(null),Be=Ke.Provider;var _e=de(5630),Ne=de(8654),Qe=de(1684),ke=de(32441),Pe=de(17313),Te=de(83116),Ye=de(37613);const ze=Ue=>{const{componentCls:at,antCls:Xt}=Ue,Vt=`${at}-group`;return{[Vt]:Object.assign(Object.assign({},(0,Pe.Wf)(Ue)),{display:"inline-block",fontSize:0,[`&${Vt}-rtl`]:{direction:"rtl"},[`${Xt}-badge ${Xt}-badge-count`]:{zIndex:1},[`> ${Xt}-badge:not(:first-child) > ${Xt}-button-wrapper`]:{borderInlineStart:"none"}})}},qe=Ue=>{const{componentCls:at,wrapperMarginInlineEnd:Xt,colorPrimary:Vt,radioSize:xt,motionDurationSlow:Qt,motionDurationMid:An,motionEaseInOutCirc:Tn,colorBgContainer:dn,colorBorder:Gn,lineWidth:Cn,dotSize:mn,colorBgContainerDisabled:Bn,colorTextDisabled:Se,paddingXS:Fe,dotColorDisabled:ie,lineType:ae,radioDotDisabledSize:se,wireframe:oe,colorWhite:Je}=Ue,vt=`${at}-inner`;return{[`${at}-wrapper`]:Object.assign(Object.assign({},(0,Pe.Wf)(Ue)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Xt,cursor:"pointer",[`&${at}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ue.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,Pe.Wf)(Ue)),{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,Pe.oN)(Ue)),[`${at}:hover::after, ${at}-wrapper:hover &::after`]:{visibility:"visible"},[`${at}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:xt,height:xt,marginBlockStart:xt/-2,marginInlineStart:xt/-2,backgroundColor:oe?Vt:Je,borderBlockStart:0,borderInlineStart:0,borderRadius:xt,transform:"scale(0)",opacity:0,transition:`all ${Qt} ${Tn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:xt,height:xt,backgroundColor:dn,borderColor:Gn,borderStyle:"solid",borderWidth:Cn,borderRadius:"50%",transition:`all ${An}`},[`${at}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${at}-checked`]:{[vt]:{borderColor:Vt,backgroundColor:oe?dn:Vt,"&::after":{transform:`scale(${mn/xt})`,opacity:1,transition:`all ${Qt} ${Tn}`}}},[`${at}-disabled`]:{cursor:"not-allowed",[vt]:{backgroundColor:Bn,borderColor:Gn,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/xt})`}}}},[`span${at} + *`]:{paddingInlineStart:Fe,paddingInlineEnd:Fe}})}},We=Ue=>{const{buttonColor:at,controlHeight:Xt,componentCls:Vt,lineWidth:xt,lineType:Qt,colorBorder:An,motionDurationSlow:Tn,motionDurationMid:dn,buttonPaddingInline:Gn,fontSize:Cn,buttonBg:mn,fontSizeLG:Bn,controlHeightLG:Se,controlHeightSM:Fe,paddingXS:ie,borderRadius:ae,borderRadiusSM:se,borderRadiusLG:oe,buttonCheckedBg:Je,buttonSolidCheckedColor:vt,colorTextDisabled:$e,colorBgContainerDisabled:lt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:_t,colorPrimary:kt,colorPrimaryHover:$t,colorPrimaryActive:Sn,buttonSolidCheckedBg:St,buttonSolidCheckedHoverBg:nn,buttonSolidCheckedActiveBg:tn}=Ue;return{[`${Vt}-button-wrapper`]:{position:"relative",display:"inline-block",height:Xt,margin:0,paddingInline:Gn,paddingBlock:0,color:at,fontSize:Cn,lineHeight:`${Xt-xt*2}px`,background:mn,border:`${xt}px ${Qt} ${An}`,borderBlockStartWidth:xt+.02,borderInlineStartWidth:0,borderInlineEndWidth:xt,cursor:"pointer",transition:[`color ${dn}`,`background ${dn}`,`box-shadow ${dn}`].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:-xt,insetInlineStart:-xt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:xt,paddingInline:0,backgroundColor:An,transition:`background-color ${Tn}`,content:'""'}},"&:first-child":{borderInlineStart:`${xt}px ${Qt} ${An}`,borderStartStartRadius:ae,borderEndStartRadius:ae},"&:last-child":{borderStartEndRadius:ae,borderEndEndRadius:ae},"&:first-child:last-child":{borderRadius:ae},[`${Vt}-group-large &`]:{height:Se,fontSize:Bn,lineHeight:`${Se-xt*2}px`,"&:first-child":{borderStartStartRadius:oe,borderEndStartRadius:oe},"&:last-child":{borderStartEndRadius:oe,borderEndEndRadius:oe}},[`${Vt}-group-small &`]:{height:Fe,paddingInline:ie-xt,paddingBlock:0,lineHeight:`${Fe-xt*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,Pe.oN)(Ue)),[`${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:Je,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:St,borderColor:St,"&:hover":{color:vt,background:nn,borderColor:nn},"&:active":{color:vt,background:tn,borderColor:tn}},"&-disabled":{color:$e,backgroundColor:lt,borderColor:An,cursor:"not-allowed","&:first-child, &:hover":{color:$e,backgroundColor:lt,borderColor:An}},[`&-disabled${Vt}-button-wrapper-checked`]:{color:_t,backgroundColor:Pt,borderColor:An,boxShadow:"none"}}}},Ze=Ue=>Ue-4*2;var et=(0,Te.Z)("Radio",Ue=>{const{controlOutline:at,controlOutlineWidth:Xt,radioSize:Vt}=Ue,xt=`0 0 0 ${Xt}px ${at}`,Qt=xt,An=Ze(Vt),Tn=(0,Ye.TS)(Ue,{radioDotDisabledSize:An,radioFocusShadow:xt,radioButtonFocusShadow:Qt});return[ze(Tn),qe(Tn),We(Tn)]},Ue=>{const{wireframe:at,padding:Xt,marginXS:Vt,lineWidth:xt,fontSizeLG:Qt,colorText:An,colorBgContainer:Tn,colorTextDisabled:dn,controlItemBgActiveDisabled:Gn,colorTextLightSolid:Cn,colorPrimary:mn,colorPrimaryHover:Bn,colorPrimaryActive:Se}=Ue,Fe=4,ie=Qt,ae=at?Ze(ie):ie-(Fe+xt)*2;return{radioSize:ie,dotSize:ae,dotColorDisabled:dn,buttonSolidCheckedColor:Cn,buttonSolidCheckedBg:mn,buttonSolidCheckedHoverBg:Bn,buttonSolidCheckedActiveBg:Se,buttonBg:Tn,buttonCheckedBg:Tn,buttonColor:An,buttonCheckedBgDisabled:Gn,buttonCheckedColorDisabled:dn,buttonPaddingInline:Xt-xt,wrapperMarginInlineEnd:Vt}}),rt=de(14088),ht=de(4572),dt=function(Ue,at){var Xt={};for(var Vt in Ue)Object.prototype.hasOwnProperty.call(Ue,Vt)&&at.indexOf(Vt)<0&&(Xt[Vt]=Ue[Vt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Vt=Object.getOwnPropertySymbols(Ue);xt<Vt.length;xt++)at.indexOf(Vt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Vt[xt])&&(Xt[Vt[xt]]=Ue[Vt[xt]]);return Xt};const Ct=(Ue,at)=>{var Xt,Vt;const xt=Oe.useContext(fe),Qt=Oe.useContext(Ke),{getPrefixCls:An,direction:Tn,radio:dn}=Oe.useContext(Le.E_),Gn=Oe.useRef(null),Cn=(0,Ne.sQ)(at,Gn),{isFormItemInput:mn}=Oe.useContext(ke.aM),Bn=Sn=>{var St,nn;(St=Ue.onChange)===null||St===void 0||St.call(Ue,Sn),(nn=xt==null?void 0:xt.onChange)===null||nn===void 0||nn.call(xt,Sn)},{prefixCls:Se,className:Fe,rootClassName:ie,children:ae,style:se}=Ue,oe=dt(Ue,["prefixCls","className","rootClassName","children","style"]),Je=An("radio",Se),vt=((xt==null?void 0:xt.optionType)||Qt)==="button",$e=vt?`${Je}-button`:Je,[lt,Pt]=et(Je),_t=Object.assign({},oe),kt=Oe.useContext(Qe.Z);xt&&(_t.name=xt.name,_t.onChange=Bn,_t.checked=Ue.value===xt.value,_t.disabled=(Xt=_t.disabled)!==null&&Xt!==void 0?Xt:xt.disabled),_t.disabled=(Vt=_t.disabled)!==null&&Vt!==void 0?Vt:kt;const $t=Me()(`${$e}-wrapper`,{[`${$e}-wrapper-checked`]:_t.checked,[`${$e}-wrapper-disabled`]:_t.disabled,[`${$e}-wrapper-rtl`]:Tn==="rtl",[`${$e}-wrapper-in-form-item`]:mn},dn==null?void 0:dn.className,Fe,ie,Pt);return lt(Oe.createElement(rt.Z,{component:"Radio",disabled:_t.disabled},Oe.createElement("label",{className:$t,style:Object.assign(Object.assign({},dn==null?void 0:dn.style),se),onMouseEnter:Ue.onMouseEnter,onMouseLeave:Ue.onMouseLeave},Oe.createElement(_e.Z,Object.assign({},_t,{className:Me()(_t.className,!vt&&ht.A),type:"radio",prefixCls:$e,ref:Cn})),ae!==void 0?Oe.createElement("span",null,ae):null)))};var Lt=Oe.forwardRef(Ct);const Re=Oe.forwardRef((Ue,at)=>{const{getPrefixCls:Xt,direction:Vt}=Oe.useContext(Le.E_),[xt,Qt]=(0,He.Z)(Ue.defaultValue,{value:Ue.value}),An=St=>{const nn=xt,tn=St.target.value;"value"in Ue||Qt(tn);const{onChange:jt}=Ue;jt&&tn!==nn&&jt(St)},{prefixCls:Tn,className:dn,rootClassName:Gn,options:Cn,buttonStyle:mn="outline",disabled:Bn,children:Se,size:Fe,style:ie,id:ae,onMouseEnter:se,onMouseLeave:oe,onFocus:Je,onBlur:vt}=Ue,$e=Xt("radio",Tn),lt=`${$e}-group`,[Pt,_t]=et($e);let kt=Se;Cn&&Cn.length>0&&(kt=Cn.map(St=>typeof St=="string"||typeof St=="number"?Oe.createElement(Lt,{key:St.toString(),prefixCls:$e,disabled:Bn,value:St,checked:xt===St},St):Oe.createElement(Lt,{key:`radio-group-value-options-${St.value}`,prefixCls:$e,disabled:St.disabled||Bn,value:St.value,checked:xt===St.value,title:St.title,style:St.style},St.label)));const $t=(0,ve.Z)(Fe),Sn=Me()(lt,`${lt}-${mn}`,{[`${lt}-${$t}`]:$t,[`${lt}-rtl`]:Vt==="rtl"},dn,Gn,_t);return Pt(Oe.createElement("div",Object.assign({},(0,ft.Z)(Ue,{aria:!0,data:!0}),{className:Sn,style:ie,onMouseEnter:se,onMouseLeave:oe,onFocus:Je,onBlur:vt,id:ae,ref:at}),Oe.createElement(xe,{value:{onChange:An,value:xt,disabled:Ue.disabled,name:Ue.name,optionType:Ue.optionType}},kt)))});var Ht=Oe.memo(Re),Et=function(Ue,at){var Xt={};for(var Vt in Ue)Object.prototype.hasOwnProperty.call(Ue,Vt)&&at.indexOf(Vt)<0&&(Xt[Vt]=Ue[Vt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Vt=Object.getOwnPropertySymbols(Ue);xt<Vt.length;xt++)at.indexOf(Vt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Vt[xt])&&(Xt[Vt[xt]]=Ue[Vt[xt]]);return Xt};const bt=(Ue,at)=>{const{getPrefixCls:Xt}=Oe.useContext(Le.E_),{prefixCls:Vt}=Ue,xt=Et(Ue,["prefixCls"]),Qt=Xt("radio",Vt);return Oe.createElement(Be,{value:"button"},Oe.createElement(Lt,Object.assign({prefixCls:Qt},xt,{type:"radio",ref:at})))};var Tt=Oe.forwardRef(bt);const wt=Lt;wt.Button=Tt,wt.Group=Ht,wt.__ANT_RADIO=!0;var it=wt},13570:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ue}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(Xt,Vt){return Me.createElement(Oe.Z,(0,he.Z)({},Xt,{ref:Vt,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(92310),fe=de.n(xe),Ke=de(18642),Be=de(72190),_e=de(42244),Ne=de(18929),Qe=de(10228),ke=de(26112);function Pe(at,Xt){var Vt=at.disabled,xt=at.prefixCls,Qt=at.character,An=at.characterRender,Tn=at.index,dn=at.count,Gn=at.value,Cn=at.allowHalf,mn=at.focused,Bn=at.onHover,Se=at.onClick,Fe=function(lt){Bn(lt,Tn)},ie=function(lt){Se(lt,Tn)},ae=function(lt){lt.keyCode===Qe.Z.ENTER&&Se(lt,Tn)},se=Tn+1,oe=new Set([xt]);Gn===0&&Tn===0&&mn?oe.add("".concat(xt,"-focused")):Cn&&Gn+.5>=se&&Gn<se?(oe.add("".concat(xt,"-half")),oe.add("".concat(xt,"-active")),mn&&oe.add("".concat(xt,"-focused"))):(se<=Gn?oe.add("".concat(xt,"-full")):oe.add("".concat(xt,"-zero")),se===Gn&&mn&&oe.add("".concat(xt,"-focused")));var Je=typeof Qt=="function"?Qt(at):Qt,vt=Me.createElement("li",{className:fe()(Array.from(oe)),ref:Xt},Me.createElement("div",{onClick:Vt?null:ie,onKeyDown:Vt?null:ae,onMouseMove:Vt?null:Fe,role:"radio","aria-checked":Gn>Tn?"true":"false","aria-posinset":Tn+1,"aria-setsize":dn,tabIndex:Vt?-1:0},Me.createElement("div",{className:"".concat(xt,"-first")},Je),Me.createElement("div",{className:"".concat(xt,"-second")},Je)));return An&&(vt=An(vt,at)),vt}var Te=Me.forwardRef(Pe);function Ye(){var at=Me.useRef({});function Xt(xt){return at.current[xt]}function Vt(xt){return function(Qt){at.current[xt]=Qt}}return[Xt,Vt]}function ze(at){var Xt=at.pageXOffset,Vt="scrollLeft";if(typeof Xt!="number"){var xt=at.document;Xt=xt.documentElement[Vt],typeof Xt!="number"&&(Xt=xt.body[Vt])}return Xt}function qe(at){var Xt,Vt,xt=at.ownerDocument,Qt=xt.body,An=xt&&xt.documentElement,Tn=at.getBoundingClientRect();return Xt=Tn.left,Vt=Tn.top,Xt-=An.clientLeft||Qt.clientLeft||0,Vt-=An.clientTop||Qt.clientTop||0,{left:Xt,top:Vt}}function We(at){var Xt=qe(at),Vt=at.ownerDocument,xt=Vt.defaultView||Vt.parentWindow;return Xt.left+=ze(xt),Xt.left}var Ze=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function et(at,Xt){var Vt,xt=at.prefixCls,Qt=xt===void 0?"rc-rate":xt,An=at.className,Tn=at.defaultValue,dn=at.value,Gn=at.count,Cn=Gn===void 0?5:Gn,mn=at.allowHalf,Bn=mn===void 0?!1:mn,Se=at.allowClear,Fe=Se===void 0?!0:Se,ie=at.character,ae=ie===void 0?"\u2605":ie,se=at.characterRender,oe=at.disabled,Je=at.direction,vt=Je===void 0?"ltr":Je,$e=at.tabIndex,lt=$e===void 0?0:$e,Pt=at.autoFocus,_t=at.onHoverChange,kt=at.onChange,$t=at.onFocus,Sn=at.onBlur,St=at.onKeyDown,nn=at.onMouseLeave,tn=(0,_e.Z)(at,Ze),jt=Ye(),pt=(0,Be.Z)(jt,2),Zt=pt[0],gn=pt[1],wn=Me.useRef(null),Xn=function(){if(!oe){var Kt;(Kt=wn.current)===null||Kt===void 0||Kt.focus()}};Me.useImperativeHandle(Xt,function(){return{focus:Xn,blur:function(){if(!oe){var Kt;(Kt=wn.current)===null||Kt===void 0||Kt.blur()}}}});var yr=(0,Ne.Z)(Tn||0,{value:dn}),Dr=(0,Be.Z)(yr,2),Tr=Dr[0],Rr=Dr[1],Sr=(0,Ne.Z)(null),fr=(0,Be.Z)(Sr,2),Vr=fr[0],Bi=fr[1],yi=function(Kt,on){var _n=vt==="rtl",lr=Kt+1;if(Bn){var nr=Zt(Kt),dr=We(nr),Pr=nr.clientWidth;(_n&&on-dr>Pr/2||!_n&&on-dr<Pr/2)&&(lr-=.5)}return lr},mi=function(Kt){Rr(Kt),kt==null||kt(Kt)},Vi=Me.useState(!1),ua=(0,Be.Z)(Vi,2),Wr=ua[0],Mn=ua[1],ea=function(){Mn(!0),$t==null||$t()},Ea=function(){Mn(!1),Sn==null||Sn()},wo=Me.useState(null),sa=(0,Be.Z)(wo,2),Pi=sa[0],Aa=sa[1],Si=function(Kt,on){var _n=yi(on,Kt.pageX);_n!==Vr&&(Aa(_n),Bi(null)),_t==null||_t(_n)},qr=function(Kt){oe||(Aa(null),Bi(null),_t==null||_t(void 0)),Kt&&(nn==null||nn(Kt))},Ma=function(Kt,on){var _n=yi(on,Kt.pageX),lr=!1;Fe&&(lr=_n===Tr),qr(),mi(lr?0:_n),Bi(lr?_n:null)},kn=function(Kt){var on=Kt.keyCode,_n=vt==="rtl",lr=Tr;on===Qe.Z.RIGHT&&lr<Cn&&!_n?(Bn?lr+=.5:lr+=1,mi(lr),Kt.preventDefault()):on===Qe.Z.LEFT&&lr>0&&!_n||on===Qe.Z.RIGHT&&lr>0&&_n?(Bn?lr-=.5:lr-=1,mi(lr),Kt.preventDefault()):on===Qe.Z.LEFT&&lr<Cn&&_n&&(Bn?lr+=.5:lr+=1,mi(lr),Kt.preventDefault()),St==null||St(Kt)};Me.useEffect(function(){Pt&&!oe&&Xn()},[]);var Dt=new Array(Cn).fill(0).map(function(Wt,Kt){return Me.createElement(Te,{ref:gn(Kt),index:Kt,count:Cn,disabled:oe,prefixCls:"".concat(Qt,"-star"),allowHalf:Bn,value:Pi===null?Tr:Pi,onClick:Ma,onHover:Si,key:Wt||Kt,character:ae,characterRender:se,focused:Wr})}),Gt=fe()(Qt,An,(Vt={},(0,Ke.Z)(Vt,"".concat(Qt,"-disabled"),oe),(0,Ke.Z)(Vt,"".concat(Qt,"-rtl"),vt==="rtl"),Vt));return Me.createElement("ul",(0,he.Z)({className:Gt,onMouseLeave:qr,tabIndex:oe?-1:lt,onFocus:oe?null:ea,onBlur:oe?null:Ea,onKeyDown:oe?null:kn,ref:wn,role:"radiogroup"},(0,ke.Z)(tn,{aria:!0,data:!0,attr:!0})),Dt)}var rt=Me.forwardRef(et),ht=rt,dt=de(36355),Ct=de(6848),Xe=de(17313),Lt=de(83116),Re=de(37613);const Ht=at=>{const{componentCls:Xt}=at;return{[`${Xt}-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 ${Xt}-star-first, &-half ${Xt}-star-second`]:{opacity:1},[`&-half ${Xt}-star-first, &-full ${Xt}-star-second`]:{color:"inherit"}}}},Et=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),bt=at=>{const{componentCls:Xt}=at;return{[Xt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(at)),{display:"inline-block",margin:0,padding:0,color:at.starColor,fontSize:at.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Xt} ${Xt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ht(at)),{[`+ ${Xt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),Et(at))}};var Tt=(0,Lt.Z)("Rate",at=>{const Xt=(0,Re.TS)(at,{});return[bt(Xt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),wt=function(at,Xt){var Vt={};for(var xt in at)Object.prototype.hasOwnProperty.call(at,xt)&&Xt.indexOf(xt)<0&&(Vt[xt]=at[xt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,xt=Object.getOwnPropertySymbols(at);Qt<xt.length;Qt++)Xt.indexOf(xt[Qt])<0&&Object.prototype.propertyIsEnumerable.call(at,xt[Qt])&&(Vt[xt[Qt]]=at[xt[Qt]]);return Vt},Ue=Me.forwardRef((at,Xt)=>{const{prefixCls:Vt,className:xt,rootClassName:Qt,style:An,tooltips:Tn,character:dn=Me.createElement(Ae,null)}=at,Gn=wt(at,["prefixCls","className","rootClassName","style","tooltips","character"]),Cn=(oe,Je)=>{let{index:vt}=Je;return Tn?Me.createElement(Ct.Z,{title:Tn[vt]},oe):oe},{getPrefixCls:mn,direction:Bn,rate:Se}=Me.useContext(dt.E_),Fe=mn("rate",Vt),[ie,ae]=Tt(Fe),se=Object.assign(Object.assign({},Se==null?void 0:Se.style),An);return ie(Me.createElement(ht,Object.assign({ref:Xt,character:dn,characterRender:Cn},Gn,{className:fe()(xt,Qt,ae,Se==null?void 0:Se.className),style:se,prefixCls:Fe,direction:Bn})))})},57809:function(Qn,Yt,de){"use strict";var he=de(92310),Me=de.n(he),He=de(77861),ft=de(2738),Oe=de(59301),Le=de(53487),ve=de(62892),Ae=de(19080),xe=de(36355),fe=de(1684),Ke=de(93891),Be=de(19716),_e=de(32441),Ne=de(33234),Qe=de(14154),ke=de(58582),Pe=de(84443),Te=de(66339),Ye=function(et,rt){var ht={};for(var dt in et)Object.prototype.hasOwnProperty.call(et,dt)&&rt.indexOf(dt)<0&&(ht[dt]=et[dt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,dt=Object.getOwnPropertySymbols(et);Ct<dt.length;Ct++)rt.indexOf(dt[Ct])<0&&Object.prototype.propertyIsEnumerable.call(et,dt[Ct])&&(ht[dt[Ct]]=et[dt[Ct]]);return ht};const ze="SECRET_COMBOBOX_MODE_DO_NOT_USE",qe=(et,rt)=>{var ht,{prefixCls:dt,bordered:Ct=!0,className:Xe,rootClassName:Lt,getPopupContainer:Re,popupClassName:Ht,dropdownClassName:Et,listHeight:bt=256,placement:Tt,listItemHeight:wt=24,size:it,disabled:Ue,notFoundContent:at,status:Xt,builtinPlacements:Vt,dropdownMatchSelectWidth:xt,popupMatchSelectWidth:Qt,direction:An,style:Tn,allowClear:dn}=et,Gn=Ye(et,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Cn,getPrefixCls:mn,renderEmpty:Bn,direction:Se,virtual:Fe,popupMatchSelectWidth:ie,popupOverflow:ae,select:se}=Oe.useContext(xe.E_),oe=mn("select",dt),Je=mn(),vt=An!=null?An:Se,{compactSize:$e,compactItemClassnames:lt}=(0,Ne.ri)(oe,vt),[Pt,_t]=(0,Qe.Z)(oe),kt=Oe.useMemo(()=>{const{mode:ua}=Gn;if(ua!=="combobox")return ua===ze?"combobox":ua},[Gn.mode]),$t=kt==="multiple"||kt==="tags",Sn=(0,Pe.Z)(Gn.suffixIcon,Gn.showArrow),St=(ht=Qt!=null?Qt:xt)!==null&&ht!==void 0?ht:ie,{status:nn,hasFeedback:tn,isFormItemInput:jt,feedbackIcon:pt}=Oe.useContext(_e.aM),Zt=(0,Ae.F)(nn,Xt);let gn;at!==void 0?gn=at:kt==="combobox"?gn=null:gn=(Bn==null?void 0:Bn("Select"))||Oe.createElement(Ke.Z,{componentName:"Select"});const{suffixIcon:wn,itemIcon:Xn,removeIcon:yr,clearIcon:Dr}=(0,Te.Z)(Object.assign(Object.assign({},Gn),{multiple:$t,hasFeedback:tn,feedbackIcon:pt,showSuffixIcon:Sn,prefixCls:oe,showArrow:Gn.showArrow,componentName:"Select"})),Tr=dn===!0?{clearIcon:Dr}:dn,Rr=(0,ft.Z)(Gn,["suffixIcon","itemIcon"]),Sr=Me()(Ht||Et,{[`${oe}-dropdown-${vt}`]:vt==="rtl"},Lt,_t),fr=(0,Be.Z)(ua=>{var Wr;return(Wr=it!=null?it:$e)!==null&&Wr!==void 0?Wr:ua}),Vr=Oe.useContext(fe.Z),Bi=Ue!=null?Ue:Vr,yi=Me()({[`${oe}-lg`]:fr==="large",[`${oe}-sm`]:fr==="small",[`${oe}-rtl`]:vt==="rtl",[`${oe}-borderless`]:!Ct,[`${oe}-in-form-item`]:jt},(0,Ae.Z)(oe,Zt,tn),lt,se==null?void 0:se.className,Xe,Lt,_t),mi=Oe.useMemo(()=>Tt!==void 0?Tt:vt==="rtl"?"bottomRight":"bottomLeft",[Tt,vt]),Vi=(0,ke.Z)(Vt,ae);return Pt(Oe.createElement(He.ZP,Object.assign({ref:rt,virtual:Fe,showSearch:se==null?void 0:se.showSearch},Rr,{style:Object.assign(Object.assign({},se==null?void 0:se.style),Tn),dropdownMatchSelectWidth:St,builtinPlacements:Vi,transitionName:(0,ve.m)(Je,"slide-up",Gn.transitionName),listHeight:bt,listItemHeight:wt,mode:kt,prefixCls:oe,placement:mi,direction:vt,suffixIcon:wn,menuItemSelectedIcon:Xn,removeIcon:yr,allowClear:Tr,notFoundContent:gn,className:yi,getPopupContainer:Re||Cn,dropdownClassName:Sr,disabled:Bi})))},We=Oe.forwardRef(qe),Ze=(0,Le.Z)(We);We.SECRET_COMBOBOX_MODE_DO_NOT_USE=ze,We.Option=He.Wx,We.OptGroup=He.Xo,We._InternalPanelDoNotUseOrYouWillBeFired=Ze,Yt.default=We},14154:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return We}});var he=de(17313),Me=de(74207),He=de(37613),ft=de(83116),Oe=de(13826),Le=de(92899);const ve=Ze=>{const{optionHeight:et,optionFontSize:rt,optionLineHeight:ht,optionPadding:dt}=Ze;return{position:"relative",display:"block",minHeight:et,padding:dt,color:Ze.colorText,fontWeight:"normal",fontSize:rt,lineHeight:ht,boxSizing:"border-box"}};var xe=Ze=>{const{antCls:et,componentCls:rt}=Ze,ht=`${rt}-item`,dt=`&${et}-slide-up-enter${et}-slide-up-enter-active`,Ct=`&${et}-slide-up-appear${et}-slide-up-appear-active`,Xe=`&${et}-slide-up-leave${et}-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,
${Ct}${Lt}bottomLeft
`]:{animationName:Oe.fJ},[`
${dt}${Lt}topLeft,
${Ct}${Lt}topLeft,
${dt}${Lt}topRight,
${Ct}${Lt}topRight
`]:{animationName:Oe.Qt},[`${Xe}${Lt}bottomLeft`]:{animationName:Oe.Uw},[`
${Xe}${Lt}topLeft,
${Xe}${Lt}topRight
`]:{animationName:Oe.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,Oe.oN)(Ze,"slide-up"),(0,Oe.oN)(Ze,"slide-down"),(0,Le.Fm)(Ze,"move-up"),(0,Le.Fm)(Ze,"move-down")]};const fe=2,Ke=Ze=>{let{controlHeightSM:et,controlHeight:rt,lineWidth:ht}=Ze;const dt=(rt-et)/2-ht,Ct=Math.ceil(dt/2);return[dt,Ct]};function Be(Ze,et){const{componentCls:rt,iconCls:ht}=Ze,dt=`${rt}-selection-overflow`,Ct=Ze.multipleSelectItemHeight,[Xe]=Ke(Ze),Lt=et?`${rt}-${et}`:"";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:`${Xe-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:`${Ct}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:Ct,marginTop:fe,marginBottom:fe,lineHeight:`${Ct-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-Xe,"\n &-input,\n &-mirror\n ":{height:Ct,fontFamily:Ze.fontFamily,lineHeight:`${Ct}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 Ne=Ze=>{const{componentCls:et}=Ze,rt=(0,He.TS)(Ze,{controlHeight:Ze.controlHeightSM,multipleSelectItemHeight:Ze.controlHeightXS,borderRadius:Ze.borderRadiusSM,borderRadiusSM:Ze.borderRadiusXS}),ht=(0,He.TS)(Ze,{fontSize:Ze.fontSizeLG,controlHeight:Ze.controlHeightLG,multipleSelectItemHeight:Ze.multipleItemHeightLG,borderRadius:Ze.borderRadiusLG,borderRadiusSM:Ze.borderRadius}),[,dt]=Ke(Ze);return[Be(Ze),Be(rt,"sm"),{[`${et}-multiple${et}-sm`]:{[`${et}-selection-placeholder`]:{insetInline:Ze.controlPaddingHorizontalSM-Ze.lineWidth},[`${et}-selection-search`]:{marginInlineStart:dt}}},Be(ht,"lg")]};function Qe(Ze,et){const{componentCls:rt,inputPaddingHorizontalBase:ht,borderRadius:dt}=Ze,Ct=Ze.controlHeight-Ze.lineWidth*2,Xe=Math.ceil(Ze.fontSize*1.25),Lt=et?`${rt}-${et}`:"";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:`${Ct}px`,transition:`all ${Ze.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Ct}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:Xe},[`&${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:Ct},"&:after":{lineHeight:`${Ct}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:et}=Ze,rt=Ze.controlPaddingHorizontalSM-Ze.lineWidth;return[Qe(Ze),Qe((0,He.TS)(Ze,{controlHeight:Ze.controlHeightSM,borderRadius:Ze.borderRadiusSM}),"sm"),{[`${et}-single${et}-sm`]:{[`&:not(${et}-customize-input)`]:{[`${et}-selection-search`]:{insetInlineStart:rt,insetInlineEnd:rt},[`${et}-selector`]:{padding:`0 ${rt}px`},[`&${et}-show-arrow ${et}-selection-search`]:{insetInlineEnd:rt+Ze.fontSize*1.5},[`
&${et}-show-arrow ${et}-selection-item,
&${et}-show-arrow ${et}-selection-placeholder
`]:{paddingInlineEnd:Ze.fontSize*1.5}}}},Qe((0,He.TS)(Ze,{controlHeight:Ze.singleItemHeightLG,fontSize:Ze.fontSizeLG,borderRadius:Ze.borderRadiusLG}),"lg")]}const Pe=Ze=>{const{componentCls:et,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"},[`${et}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${et}-disabled&`]:{color:Ze.colorTextDisabled,background:Ze.colorBgContainerDisabled,cursor:"not-allowed",[`${et}-multiple&`]:{background:Ze.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Te=function(Ze,et){let rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ht,borderHoverColor:dt,outlineColor:Ct,antCls:Xe}=et,Lt=rt?{[`${ht}-selector`]:{borderColor:dt}}:{};return{[Ze]:{[`&:not(${ht}-disabled):not(${ht}-customize-input):not(${Xe}-pagination-size-changer)`]:Object.assign(Object.assign({},Lt),{[`${ht}-focused& ${ht}-selector`]:{borderColor:dt,boxShadow:`0 0 0 ${et.controlOutlineWidth}px ${Ct}`,outline:0},[`&:hover ${ht}-selector`]:{borderColor:dt}})}}},Ye=Ze=>{const{componentCls:et}=Ze;return{[`${et}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ze=Ze=>{const{componentCls:et,inputPaddingHorizontalBase:rt,iconCls:ht}=Ze;return{[et]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${et}-customize-input) ${et}-selector`]:Object.assign(Object.assign({},Pe(Ze)),Ye(Ze)),[`${et}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},he.vS),[`${et}-selection-placeholder`]:Object.assign(Object.assign({},he.vS),{flex:1,color:Ze.colorTextPlaceholder,pointerEvents:"none"}),[`${et}-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(${et}-suffix)`]:{pointerEvents:"auto"}},[`${et}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${et}-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":{[`${et}-clear`]:{opacity:1}}}),[`${et}-has-feedback`]:{[`${et}-clear`]:{insetInlineEnd:rt+Ze.fontSize+Ze.paddingXS}}}},qe=Ze=>{const{componentCls:et}=Ze;return[{[et]:{[`&-borderless ${et}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${et}-in-form-item`]:{width:"100%"}}},ze(Ze),ke(Ze),Ne(Ze),xe(Ze),{[`${et}-rtl`]:{direction:"rtl"}},Te(et,(0,He.TS)(Ze,{borderHoverColor:Ze.colorPrimaryHover,outlineColor:Ze.controlOutline})),Te(`${et}-status-error`,(0,He.TS)(Ze,{borderHoverColor:Ze.colorErrorHover,outlineColor:Ze.colorErrorOutline}),!0),Te(`${et}-status-warning`,(0,He.TS)(Ze,{borderHoverColor:Ze.colorWarningHover,outlineColor:Ze.colorWarningOutline}),!0),(0,Me.c)(Ze,{borderElCls:`${et}-selector`,focusElCls:`${et}-focused`})]};var We=(0,ft.Z)("Select",(Ze,et)=>{let{rootPrefixCls:rt}=et;const ht=(0,He.TS)(Ze,{rootPrefixCls:rt,inputPaddingHorizontalBase:Ze.paddingSM-1,multipleSelectItemHeight:Ze.multipleItemHeight});return[qe(ht)]},Ze=>{const{fontSize:et,lineHeight:rt,controlHeight:ht,controlPaddingHorizontal:dt,zIndexPopupBase:Ct,colorText:Xe,fontWeightStrong:Lt,controlItemBgActive:Re,controlItemBgHover:Ht,colorBgContainer:Et,colorFillSecondary:bt,controlHeightLG:Tt,controlHeightSM:wt,colorBgContainerDisabled:it,colorTextDisabled:Ue}=Ze;return{zIndexPopup:Ct+50,optionSelectedColor:Xe,optionSelectedFontWeight:Lt,optionSelectedBg:Re,optionActiveBg:Ht,optionPadding:`${(ht-et*rt)/2}px ${dt}px`,optionFontSize:et,optionLineHeight:rt,optionHeight:ht,selectorBg:Et,clearBg:Et,singleItemHeightLG:Tt,multipleItemBg:bt,multipleItemBorderColor:"transparent",multipleItemHeight:wt,multipleItemHeightLG:ht,multipleSelectorBgDisabled:it,multipleItemColorDisabled:Ue,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});const he=He=>{const Oe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:He==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Oe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Oe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Oe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Oe),{points:["br","tr"],offset:[0,-4]})}};function Me(He,ft){return He||he(ft)}},84443:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return he}});function he(Me,He){return He!==void 0?He:Me!==null}},66339:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(40001),Me=de(19248),He=de(99267),ft=de(84105),Oe=de(58617),Le=de(47472),ve=de(59301);function Ae(xe){let{suffixIcon:fe,clearIcon:Ke,menuItemSelectedIcon:Be,removeIcon:_e,loading:Ne,multiple:Qe,hasFeedback:ke,prefixCls:Pe,showSuffixIcon:Te,feedbackIcon:Ye,showArrow:ze,componentName:qe}=xe;const We=Ke!=null?Ke:ve.createElement(Me.Z,null),Ze=dt=>fe===null&&!ke&&!ze?null:ve.createElement(ve.Fragment,null,Te!==!1&&dt,ke&&Ye);let et=null;if(fe!==void 0)et=Ze(fe);else if(Ne)et=Ze(ve.createElement(Oe.Z,{spin:!0}));else{const dt=`${Pe}-suffix`;et=Ct=>{let{open:Xe,showSearch:Lt}=Ct;return Ze(Xe&&Lt?ve.createElement(Le.Z,{className:dt}):ve.createElement(ft.Z,{className:dt}))}}let rt=null;Be!==void 0?rt=Be:Qe?rt=ve.createElement(he.Z,null):rt=null;let ht=null;return _e!==void 0?ht=_e:ht=ve.createElement(He.Z,null),{clearIcon:We,suffixIcon:et,itemIcon:rt,removeIcon:ht}}},61621:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return ae}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(2738),ve=se=>{const{prefixCls:oe,className:Je,style:vt,size:$e,shape:lt}=se,Pt=Me()({[`${oe}-lg`]:$e==="large",[`${oe}-sm`]:$e==="small"}),_t=Me()({[`${oe}-circle`]:lt==="circle",[`${oe}-square`]:lt==="square",[`${oe}-round`]:lt==="round"}),kt=He.useMemo(()=>typeof $e=="number"?{width:$e,height:$e,lineHeight:`${$e}px`}:{},[$e]);return He.createElement("span",{className:Me()(oe,Pt,_t,Je),style:Object.assign(Object.assign({},kt),vt)})},Ae=de(36237),xe=de(83116),fe=de(37613);const Ke=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)),Ne=se=>({background:se.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ke,animationDuration:se.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Qe=se=>Object.assign({width:se*5,minWidth:se*5},Be(se)),ke=se=>{const{skeletonAvatarCls:oe,gradientFromColor:Je,controlHeight:vt,controlHeightLG:$e,controlHeightSM:lt}=se;return{[`${oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je},_e(vt)),[`${oe}${oe}-circle`]:{borderRadius:"50%"},[`${oe}${oe}-lg`]:Object.assign({},_e($e)),[`${oe}${oe}-sm`]:Object.assign({},_e(lt))}},Pe=se=>{const{controlHeight:oe,borderRadiusSM:Je,skeletonInputCls:vt,controlHeightLG:$e,controlHeightSM:lt,gradientFromColor:Pt}=se;return{[`${vt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:Je},Qe(oe)),[`${vt}-lg`]:Object.assign({},Qe($e)),[`${vt}-sm`]:Object.assign({},Qe(lt))}},Te=se=>Object.assign({width:se},Be(se)),Ye=se=>{const{skeletonImageCls:oe,imageSizeBase:Je,gradientFromColor:vt,borderRadiusSM:$e}=se;return{[`${oe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:vt,borderRadius:$e},Te(Je*2)),{[`${oe}-path`]:{fill:"#bfbfbf"},[`${oe}-svg`]:Object.assign(Object.assign({},Te(Je)),{maxWidth:Je*4,maxHeight:Je*4}),[`${oe}-svg${oe}-svg-circle`]:{borderRadius:"50%"}}),[`${oe}${oe}-circle`]:{borderRadius:"50%"}}},ze=(se,oe,Je)=>{const{skeletonButtonCls:vt}=se;return{[`${Je}${vt}-circle`]:{width:oe,minWidth:oe,borderRadius:"50%"},[`${Je}${vt}-round`]:{borderRadius:oe}}},qe=se=>Object.assign({width:se*2,minWidth:se*2},Be(se)),We=se=>{const{borderRadiusSM:oe,skeletonButtonCls:Je,controlHeight:vt,controlHeightLG:$e,controlHeightSM:lt,gradientFromColor:Pt}=se;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:oe,width:vt*2,minWidth:vt*2},qe(vt))},ze(se,vt,Je)),{[`${Je}-lg`]:Object.assign({},qe($e))}),ze(se,$e,`${Je}-lg`)),{[`${Je}-sm`]:Object.assign({},qe(lt))}),ze(se,lt,`${Je}-sm`))},Ze=se=>{const{componentCls:oe,skeletonAvatarCls:Je,skeletonTitleCls:vt,skeletonParagraphCls:$e,skeletonButtonCls:lt,skeletonInputCls:Pt,skeletonImageCls:_t,controlHeight:kt,controlHeightLG:$t,controlHeightSM:Sn,gradientFromColor:St,padding:nn,marginSM:tn,borderRadius:jt,titleHeight:pt,blockRadius:Zt,paragraphLiHeight:gn,controlHeightXS:wn,paragraphMarginTop:Xn}=se;return{[`${oe}`]:{display:"table",width:"100%",[`${oe}-header`]:{display:"table-cell",paddingInlineEnd:nn,verticalAlign:"top",[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St},_e(kt)),[`${Je}-circle`]:{borderRadius:"50%"},[`${Je}-lg`]:Object.assign({},_e($t)),[`${Je}-sm`]:Object.assign({},_e(Sn))},[`${oe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${vt}`]:{width:"100%",height:pt,background:St,borderRadius:Zt,[`+ ${$e}`]:{marginBlockStart:Sn}},[`${$e}`]:{padding:0,"> li":{width:"100%",height:gn,listStyle:"none",background:St,borderRadius:Zt,"+ li":{marginBlockStart:wn}}},[`${$e}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${oe}-content`]:{[`${vt}, ${$e} > li`]:{borderRadius:jt}}},[`${oe}-with-avatar ${oe}-content`]:{[`${vt}`]:{marginBlockStart:tn,[`+ ${$e}`]:{marginBlockStart:Xn}}},[`${oe}${oe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},We(se)),ke(se)),Pe(se)),Ye(se)),[`${oe}${oe}-block`]:{width:"100%",[`${lt}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${oe}${oe}-active`]:{[`
${vt},
${$e} > li,
${Je},
${lt},
${Pt},
${_t}
`]:Object.assign({},Ne(se))}}};var et=(0,xe.Z)("Skeleton",se=>{const{componentCls:oe}=se,Je=(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(Je)]},se=>{const{colorFillContent:oe,colorFill:Je}=se,vt=oe,$e=Je;return{color:vt,colorGradientEnd:$e,gradientFromColor:vt,gradientToColor:$e,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:Je,rootClassName:vt,active:$e,shape:lt="circle",size:Pt="default"}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=(0,Oe.Z)(se,["prefixCls","className"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:$e},Je,vt,Sn);return $t(He.createElement("div",{className:nn},He.createElement(ve,Object.assign({prefixCls:`${kt}-avatar`,shape:lt,size:Pt},St))))},Ct=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,active:$e,block:lt=!1,size:Pt="default"}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=(0,Oe.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:$e,[`${kt}-block`]:lt},Je,vt,Sn);return $t(He.createElement("div",{className:nn},He.createElement(ve,Object.assign({prefixCls:`${kt}-button`,size:Pt},St))))};const Xe="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:Je,rootClassName:vt,style:$e,active:lt}=se,{getPrefixCls:Pt}=He.useContext(ft.E_),_t=Pt("skeleton",oe),[kt,$t]=et(_t),Sn=Me()(_t,`${_t}-element`,{[`${_t}-active`]:lt},Je,vt,$t);return kt(He.createElement("div",{className:Sn},He.createElement("div",{className:Me()(`${_t}-image`,Je),style:$e},He.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${_t}-image-svg`},He.createElement("path",{d:Xe,className:`${_t}-image-path`})))))},Et=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,active:$e,block:lt,size:Pt="default"}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=(0,Oe.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:$e,[`${kt}-block`]:lt},Je,vt,Sn);return $t(He.createElement("div",{className:nn},He.createElement(ve,Object.assign({prefixCls:`${kt}-input`,size:Pt},St))))},bt=de(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=de(7657),Ue=function(oe,Je){return He.createElement(it.Z,(0,bt.Z)({},oe,{ref:Je,icon:wt}))},at=He.forwardRef(Ue),Xt=at,xt=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,style:$e,active:lt,children:Pt}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=Me()(kt,`${kt}-element`,{[`${kt}-active`]:lt},Sn,Je,vt),nn=Pt!=null?Pt:He.createElement(Xt,null);return $t(He.createElement("div",{className:St},He.createElement("div",{className:Me()(`${kt}-image`,Je),style:$e},nn)))},Qt=de(77654),Tn=se=>{const oe=_t=>{const{width:kt,rows:$t=2}=se;if(Array.isArray(kt))return kt[_t];if($t-1===_t)return kt},{prefixCls:Je,className:vt,style:$e,rows:lt}=se,Pt=(0,Qt.Z)(Array(lt)).map((_t,kt)=>He.createElement("li",{key:kt,style:{width:oe(kt)}}));return He.createElement("ul",{className:Me()(Je,vt),style:$e},Pt)},Gn=se=>{let{prefixCls:oe,className:Je,width:vt,style:$e}=se;return He.createElement("h3",{className:Me()(oe,Je),style:Object.assign({width:vt},$e)})};function Cn(se){return se&&typeof se=="object"?se:{}}function mn(se,oe){return se&&!oe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Bn(se,oe){return!se&&oe?{width:"38%"}:se&&oe?{width:"50%"}:{}}function Se(se,oe){const Je={};return(!se||!oe)&&(Je.width="61%"),!se&&oe?Je.rows=3:Je.rows=2,Je}const Fe=se=>{const{prefixCls:oe,loading:Je,className:vt,rootClassName:$e,style:lt,children:Pt,avatar:_t=!1,title:kt=!0,paragraph:$t=!0,active:Sn,round:St}=se,{getPrefixCls:nn,direction:tn,skeleton:jt}=He.useContext(ft.E_),pt=nn("skeleton",oe),[Zt,gn]=et(pt);if(Je||!("loading"in se)){const wn=!!_t,Xn=!!kt,yr=!!$t;let Dr;if(wn){const Sr=Object.assign(Object.assign({prefixCls:`${pt}-avatar`},mn(Xn,yr)),Cn(_t));Dr=He.createElement("div",{className:`${pt}-header`},He.createElement(ve,Object.assign({},Sr)))}let Tr;if(Xn||yr){let Sr;if(Xn){const Vr=Object.assign(Object.assign({prefixCls:`${pt}-title`},Bn(wn,yr)),Cn(kt));Sr=He.createElement(Gn,Object.assign({},Vr))}let fr;if(yr){const Vr=Object.assign(Object.assign({prefixCls:`${pt}-paragraph`},Se(wn,Xn)),Cn($t));fr=He.createElement(Tn,Object.assign({},Vr))}Tr=He.createElement("div",{className:`${pt}-content`},Sr,fr)}const Rr=Me()(pt,{[`${pt}-with-avatar`]:wn,[`${pt}-active`]:Sn,[`${pt}-rtl`]:tn==="rtl",[`${pt}-round`]:St},jt==null?void 0:jt.className,vt,$e,gn);return Zt(He.createElement("div",{className:Rr,style:Object.assign(Object.assign({},jt==null?void 0:jt.style),lt)},Dr,Tr))}return typeof Pt!="undefined"?Pt:null};Fe.Button=Ct,Fe.Avatar=ht,Fe.Input=Et,Fe.Image=Re,Fe.Node=xt;var ie=Fe,ae=ie},31797:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return et}});var he=de(59301),Me=de(56762),He=de(92343),ft=de(92310),Oe=de.n(ft),Le=de(36355),ve=de(61621),xe=rt=>{const{value:ht,formatter:dt,precision:Ct,decimalSeparator:Xe,groupSeparator:Lt="",prefixCls:Re}=rt;let Ht;if(typeof dt=="function")Ht=dt(ht);else{const Et=String(ht),bt=Et.match(/^(-?)(\d*)(\.(\d+))?$/);if(!bt||Et==="-")Ht=Et;else{const Tt=bt[1];let wt=bt[2]||"0",it=bt[4]||"";wt=wt.replace(/\B(?=(\d{3})+(?!\d))/g,Lt),typeof Ct=="number"&&(it=it.padEnd(Ct,"0").slice(0,Ct>0?Ct:0)),it&&(it=`${Xe}${it}`),Ht=[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`},Ht)},fe=de(17313),Ke=de(83116),Be=de(37613);const _e=rt=>{const{componentCls:ht,marginXXS:dt,padding:Ct,colorTextDescription:Xe,titleFontSize:Lt,colorTextHeading:Re,contentFontSize:Ht,fontFamily:Et}=rt;return{[`${ht}`]:Object.assign(Object.assign({},(0,fe.Wf)(rt)),{[`${ht}-title`]:{marginBottom:dt,color:Xe,fontSize:Lt},[`${ht}-skeleton`]:{paddingTop:Ct},[`${ht}-content`]:{color:Re,fontSize:Ht,fontFamily:Et,[`${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 Ne=(0,Ke.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:Ct,style:Xe,valueStyle:Lt,value:Re=0,title:Ht,valueRender:Et,prefix:bt,suffix:Tt,loading:wt=!1,onMouseEnter:it,onMouseLeave:Ue,decimalSeparator:at=".",groupSeparator:Xt=","}=rt,{getPrefixCls:Vt,direction:xt,statistic:Qt}=he.useContext(Le.E_),An=Vt("statistic",ht),[Tn,dn]=Ne(An),Gn=he.createElement(xe,Object.assign({decimalSeparator:at,groupSeparator:Xt,prefixCls:An},rt,{value:Re})),Cn=Oe()(An,{[`${An}-rtl`]:xt==="rtl"},Qt==null?void 0:Qt.className,dt,Ct,dn);return Tn(he.createElement("div",{className:Cn,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Xe),onMouseEnter:it,onMouseLeave:Ue},Ht&&he.createElement("div",{className:`${An}-title`},Ht),he.createElement(ve.Z,{paragraph:!1,loading:wt,className:`${An}-skeleton`},he.createElement("div",{style:Lt,className:`${An}-content`},bt&&he.createElement("span",{className:`${An}-content-prefix`},bt),Et?Et(Gn):Gn,Tt&&he.createElement("span",{className:`${An}-content-suffix`},Tt)))))};const Pe=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function Te(rt,ht){let dt=rt;const Ct=/\[[^\]]*]/g,Xe=(ht.match(Ct)||[]).map(Et=>Et.slice(1,-1)),Lt=ht.replace(Ct,"[]"),Re=Pe.reduce((Et,bt)=>{let[Tt,wt]=bt;if(Et.includes(Tt)){const it=Math.floor(dt/wt);return dt-=it*wt,Et.replace(new RegExp(`${Tt}+`,"g"),Ue=>{const at=Ue.length;return it.toString().padStart(at,"0")})}return Et},Lt);let Ht=0;return Re.replace(Ct,()=>{const Et=Xe[Ht];return Ht+=1,Et})}function Ye(rt,ht){const{format:dt=""}=ht,Ct=new Date(rt).getTime(),Xe=Date.now(),Lt=Math.max(Ct-Xe,0);return Te(Lt,dt)}const ze=1e3/30;function qe(rt){return new Date(rt).getTime()}const We=rt=>{const{value:ht,format:dt="HH:mm:ss",onChange:Ct,onFinish:Xe}=rt,Lt=(0,Me.Z)(),Re=he.useRef(null),Ht=()=>{Xe==null||Xe(),Re.current&&(clearInterval(Re.current),Re.current=null)},Et=()=>{const wt=qe(ht);wt>=Date.now()&&(Re.current=setInterval(()=>{Lt(),Ct==null||Ct(wt-Date.now()),wt<Date.now()&&Ht()},ze))};he.useEffect(()=>(Et(),()=>{Re.current&&(clearInterval(Re.current),Re.current=null)}),[ht]);const bt=(wt,it)=>Ye(wt,Object.assign(Object.assign({},it),{format:dt})),Tt=wt=>(0,He.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 et=ke},8378:function(Qn,Yt){"use strict";const de=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`}}});Yt.Z=de},92899:function(Qn,Yt,de){"use strict";de.d(Yt,{Fm:function(){return Be}});var he=de(36237),Me=de(95406);const He=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}}),ft=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}}),Oe=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}}),xe=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}}),Ke={"move-up":{inKeyframes:xe,outKeyframes:fe},"move-down":{inKeyframes:He,outKeyframes:ft},"move-left":{inKeyframes:Oe,outKeyframes:Le},"move-right":{inKeyframes:ve,outKeyframes:Ae}},Be=(_e,Ne)=>{const{antCls:Qe}=_e,ke=`${Qe}-${Ne}`,{inKeyframes:Pe,outKeyframes:Te}=Ke[Ne];return[(0,Me.R)(ke,Pe,Te,_e.motionDurationMid),{[`
${ke}-enter,
${ke}-appear
`]:{opacity:0,animationTimingFunction:_e.motionEaseOutCirc},[`${ke}-leave`]:{animationTimingFunction:_e.motionEaseInOutCirc}}]}},13826:function(Qn,Yt,de){"use strict";de.d(Yt,{Qt:function(){return Oe},Uw:function(){return ft},fJ:function(){return He},ly:function(){return Le},oN:function(){return Be}});var he=de(36237),Me=de(95406);const He=new he.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ft=new he.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Oe=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}}),xe=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}}),Ke={"slide-up":{inKeyframes:He,outKeyframes:ft},"slide-down":{inKeyframes:Oe,outKeyframes:Le},"slide-left":{inKeyframes:ve,outKeyframes:Ae},"slide-right":{inKeyframes:xe,outKeyframes:fe}},Be=(_e,Ne)=>{const{antCls:Qe}=_e,ke=`${Qe}-${Ne}`,{inKeyframes:Pe,outKeyframes:Te}=Ke[Ne];return[(0,Me.R)(ke,Pe,Te,_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(Qn,Yt,de){"use strict";de.d(Yt,{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(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Lt}});var he=de(58617),Me=de(92310),He=de.n(Me),ft=de(60499),Oe=de(18642),Le=de(72190),ve=de(42244),Ae=de(59301),xe=de(18929),fe=de(10228),Ke=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Be=Ae.forwardRef(function(Re,Ht){var Et,bt=Re.prefixCls,Tt=bt===void 0?"rc-switch":bt,wt=Re.className,it=Re.checked,Ue=Re.defaultChecked,at=Re.disabled,Xt=Re.loadingIcon,Vt=Re.checkedChildren,xt=Re.unCheckedChildren,Qt=Re.onClick,An=Re.onChange,Tn=Re.onKeyDown,dn=(0,ve.Z)(Re,Ke),Gn=(0,xe.Z)(!1,{value:it,defaultValue:Ue}),Cn=(0,Le.Z)(Gn,2),mn=Cn[0],Bn=Cn[1];function Se(se,oe){var Je=mn;return at||(Je=se,Bn(Je),An==null||An(Je,oe)),Je}function Fe(se){se.which===fe.Z.LEFT?Se(!1,se):se.which===fe.Z.RIGHT&&Se(!0,se),Tn==null||Tn(se)}function ie(se){var oe=Se(!mn,se);Qt==null||Qt(oe,se)}var ae=He()(Tt,wt,(Et={},(0,Oe.Z)(Et,"".concat(Tt,"-checked"),mn),(0,Oe.Z)(Et,"".concat(Tt,"-disabled"),at),Et));return Ae.createElement("button",(0,ft.Z)({},dn,{type:"button",role:"switch","aria-checked":mn,disabled:at,className:ae,ref:Ht,onKeyDown:Fe,onClick:ie}),Xt,Ae.createElement("span",{className:"".concat(Tt,"-inner")},Ae.createElement("span",{className:"".concat(Tt,"-inner-checked")},Vt),Ae.createElement("span",{className:"".concat(Tt,"-inner-unchecked")},xt)))});Be.displayName="Switch";var _e=Be,Ne=de(14088),Qe=de(36355),ke=de(1684),Pe=de(19716),Te=de(64993),Ye=de(17313),ze=de(83116),qe=de(37613);const We=Re=>{const{componentCls:Ht,trackHeightSM:Et,trackPadding:bt,trackMinWidthSM:Tt,innerMinMarginSM:wt,innerMaxMarginSM:it,handleSizeSM:Ue}=Re,at=`${Ht}-inner`;return{[Ht]:{[`&${Ht}-small`]:{minWidth:Tt,height:Et,lineHeight:`${Et}px`,[`${Ht}-inner`]:{paddingInlineStart:it,paddingInlineEnd:wt,[`${at}-checked`]:{marginInlineStart:`calc(-100% + ${Ue+bt*2}px - ${it*2}px)`,marginInlineEnd:`calc(100% - ${Ue+bt*2}px + ${it*2}px)`},[`${at}-unchecked`]:{marginTop:-Et,marginInlineStart:0,marginInlineEnd:0}},[`${Ht}-handle`]:{width:Ue,height:Ue},[`${Ht}-loading-icon`]:{top:(Ue-Re.switchLoadingIconSize)/2,fontSize:Re.switchLoadingIconSize},[`&${Ht}-checked`]:{[`${Ht}-inner`]:{paddingInlineStart:wt,paddingInlineEnd:it,[`${at}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${at}-unchecked`]:{marginInlineStart:`calc(100% - ${Ue+bt*2}px + ${it*2}px)`,marginInlineEnd:`calc(-100% + ${Ue+bt*2}px - ${it*2}px)`}},[`${Ht}-handle`]:{insetInlineStart:`calc(100% - ${Ue+bt}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${at}`]:{[`${at}-unchecked`]:{marginInlineStart:Re.marginXXS/2,marginInlineEnd:-Re.marginXXS/2}},[`&${Ht}-checked ${at}`]:{[`${at}-checked`]:{marginInlineStart:-Re.marginXXS/2,marginInlineEnd:Re.marginXXS/2}}}}}}},Ze=Re=>{const{componentCls:Ht,handleSize:Et}=Re;return{[Ht]:{[`${Ht}-loading-icon${Re.iconCls}`]:{position:"relative",top:(Et-Re.fontSize)/2,color:Re.switchLoadingIconColor,verticalAlign:"top"},[`&${Ht}-checked ${Ht}-loading-icon`]:{color:Re.switchColor}}}},et=Re=>{const{componentCls:Ht,motion:Et,trackPadding:bt,handleBg:Tt,handleShadow:wt,handleSize:it}=Re,Ue=`${Ht}-handle`;return{[Ht]:{[Ue]:{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:'""'}},[`&${Ht}-checked ${Ue}`]:{insetInlineStart:`calc(100% - ${it+bt}px)`},[`&:not(${Ht}-disabled):active`]:Et?{[`${Ue}::before`]:{insetInlineEnd:Re.switchHandleActiveInset,insetInlineStart:0},[`&${Ht}-checked ${Ue}::before`]:{insetInlineEnd:0,insetInlineStart:Re.switchHandleActiveInset}}:{}}}},rt=Re=>{const{componentCls:Ht,trackHeight:Et,trackPadding:bt,innerMinMargin:Tt,innerMaxMargin:wt,handleSize:it}=Re,Ue=`${Ht}-inner`;return{[Ht]:{[Ue]:{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`,[`${Ue}-checked, ${Ue}-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"},[`${Ue}-checked`]:{marginInlineStart:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`,marginInlineEnd:`calc(100% - ${it+bt*2}px + ${wt*2}px)`},[`${Ue}-unchecked`]:{marginTop:-Et,marginInlineStart:0,marginInlineEnd:0}},[`&${Ht}-checked ${Ue}`]:{paddingInlineStart:Tt,paddingInlineEnd:wt,[`${Ue}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ue}-unchecked`]:{marginInlineStart:`calc(100% - ${it+bt*2}px + ${wt*2}px)`,marginInlineEnd:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${Ue}`]:{[`${Ue}-unchecked`]:{marginInlineStart:bt*2,marginInlineEnd:-bt*2}},[`&${Ht}-checked ${Ue}`]:{[`${Ue}-checked`]:{marginInlineStart:-bt*2,marginInlineEnd:bt*2}}}}}},ht=Re=>{const{componentCls:Ht,trackHeight:Et,trackMinWidth:bt}=Re;return{[Ht]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(Re)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:bt,height:Et,lineHeight:`${Et}px`,verticalAlign:"middle",background:Re.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ht}-disabled)`]:{background:Re.colorTextTertiary}}),(0,Ye.Qy)(Re)),{[`&${Ht}-checked`]:{background:Re.switchColor,[`&:hover:not(${Ht}-disabled)`]:{background:Re.colorPrimaryHover}},[`&${Ht}-loading, &${Ht}-disabled`]:{cursor:"not-allowed",opacity:Re.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ht}-rtl`]:{direction:"rtl"}})}};var dt=(0,ze.Z)("Switch",Re=>{const Ht=(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(Ht),rt(Ht),et(Ht),Ze(Ht),We(Ht)]},Re=>{const{fontSize:Ht,lineHeight:Et,controlHeight:bt,colorWhite:Tt}=Re,wt=Ht*Et,it=bt/2,Ue=2,at=wt-Ue*2,Xt=it-Ue*2;return{trackHeight:wt,trackHeightSM:it,trackMinWidth:at*2+Ue*4,trackMinWidthSM:Xt*2+Ue*2,trackPadding:Ue,handleBg:Tt,handleSize:at,handleSizeSM:Xt,handleShadow:`0 2px 4px 0 ${new Te.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:at/2,innerMaxMargin:at+Ue+Ue*2,innerMinMarginSM:Xt/2,innerMaxMarginSM:Xt+Ue+Ue*2}}),Ct=function(Re,Ht){var Et={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt<bt.length;Tt++)Ht.indexOf(bt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Re,bt[Tt])&&(Et[bt[Tt]]=Re[bt[Tt]]);return Et};const Xe=Ae.forwardRef((Re,Ht)=>{const{prefixCls:Et,size:bt,disabled:Tt,loading:wt,className:it,rootClassName:Ue,style:at}=Re,Xt=Ct(Re,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Vt,direction:xt,switch:Qt}=Ae.useContext(Qe.E_),An=Ae.useContext(ke.Z),Tn=(Tt!=null?Tt:An)||wt,dn=Vt("switch",Et),Gn=Ae.createElement("div",{className:`${dn}-handle`},wt&&Ae.createElement(he.Z,{className:`${dn}-loading-icon`})),[Cn,mn]=dt(dn),Bn=(0,Pe.Z)(bt),Se=He()(Qt==null?void 0:Qt.className,{[`${dn}-small`]:Bn==="small",[`${dn}-loading`]:wt,[`${dn}-rtl`]:xt==="rtl"},it,Ue,mn),Fe=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),at);return Cn(Ae.createElement(Ne.Z,{component:"Switch"},Ae.createElement(_e,Object.assign({},Xt,{prefixCls:dn,className:Se,style:Fe,disabled:Tn,ref:Ht,loadingIcon:Gn}))))});Xe.__ANT_SWITCH=!0;var Lt=Xe},1710:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return rp}});var he={},Me="rc-table-internal-hook",He=de(72190),ft=de(6089),Oe=de(34280),Le=de(13697),ve=de(59301),Ae=de(4676);function xe(Ot){var Rt=ve.createContext(void 0),fn=function(Jn){var Rn=Jn.value,mr=Jn.children,hr=ve.useRef(Rn);hr.current=Rn;var cr=ve.useState(function(){return{getValue:function(){return hr.current},listeners:new Set}}),Zr=(0,He.Z)(cr,1),hi=Zr[0];return(0,Oe.Z)(function(){(0,Ae.unstable_batchedUpdates)(function(){hi.listeners.forEach(function($r){$r(Rn)})})},[Rn]),ve.createElement(Rt.Provider,{value:hi},mr)};return{Context:Rt,Provider:fn,defaultValue:Ot}}function fe(Ot,Rt){var fn=(0,ft.Z)(typeof Rt=="function"?Rt:function($r){if(Rt===void 0)return $r;if(!Array.isArray(Rt))return $r[Rt];var Yi={};return Rt.forEach(function(Ri){Yi[Ri]=$r[Ri]}),Yi}),En=ve.useContext(Ot==null?void 0:Ot.Context),Jn=En||{},Rn=Jn.listeners,mr=Jn.getValue,hr=ve.useRef();hr.current=fn(En?mr():Ot==null?void 0:Ot.defaultValue);var cr=ve.useState({}),Zr=(0,He.Z)(cr,2),hi=Zr[1];return(0,Oe.Z)(function(){if(!En)return;function $r(Yi){var Ri=fn(Yi);(0,Le.Z)(hr.current,Ri,!0)||hi({})}return Rn.add($r),function(){Rn.delete($r)}},[En]),hr.current}var Ke=de(60499),Be=de(8654);function _e(){var Ot=ve.createContext(null);function Rt(){return ve.useContext(Ot)}function fn(Jn,Rn){var mr=(0,Be.Yr)(Jn),hr=function(Zr,hi){var $r=mr?{ref:hi}:{},Yi=ve.useRef(0),Ri=ve.useRef(Zr),zi=Rt();return zi!==null?ve.createElement(Jn,(0,Ke.Z)({},Zr,$r)):((!Rn||Rn(Ri.current,Zr))&&(Yi.current+=1),Ri.current=Zr,ve.createElement(Ot.Provider,{value:Yi.current},ve.createElement(Jn,(0,Ke.Z)({},Zr,$r))))};return mr?ve.forwardRef(hr):hr}function En(Jn,Rn){var mr=(0,Be.Yr)(Jn),hr=function(Zr,hi){var $r=mr?{ref:hi}:{};return Rt(),ve.createElement(Jn,(0,Ke.Z)({},Zr,$r))};return mr?ve.memo(ve.forwardRef(hr),Rn):ve.memo(hr,Rn)}return{makeImmutable:fn,responseImmutable:En,useImmutableMark:Rt}}var Ne=_e(),Qe=Ne.makeImmutable,ke=Ne.responseImmutable,Pe=Ne.useImmutableMark,Te=_e(),Ye=Te.makeImmutable,ze=Te.responseImmutable,qe=Te.useImmutableMark,We=xe(),Ze=We;function et(Ot,Rt){var fn=ve.useRef(0);fn.current+=1;var En=ve.useRef(Ot),Jn=[];Object.keys(Ot||{}).map(function(mr){var hr;(Ot==null?void 0:Ot[mr])!==((hr=En.current)===null||hr===void 0?void 0:hr[mr])&&Jn.push(mr)}),En.current=Ot;var Rn=ve.useRef([]);return Jn.length&&(Rn.current=Jn),ve.useDebugValue(fn.current),ve.useDebugValue(Rn.current.join(", ")),Rt&&console.log("".concat(Rt,":"),fn.current,Rn.current),fn.current}var rt=null,ht=ve.memo(function(){var Ot=et();return ve.createElement("h1",null,"Render Times: ",Ot)});ht.displayName="RenderBlock";var dt=de(43749),Ct=de(85899),Xe=de(18642),Lt=de(92310),Re=de.n(Lt),Ht=de(80547),Et=de(97938),bt=de(48736),Tt=ve.createContext({renderWithProps:!1}),wt=Tt,it="RC_TABLE_KEY";function Ue(Ot){return Ot==null?[]:Array.isArray(Ot)?Ot:[Ot]}function at(Ot){var Rt=[],fn={};return Ot.forEach(function(En){for(var Jn=En||{},Rn=Jn.key,mr=Jn.dataIndex,hr=Rn||Ue(mr).join("-")||it;fn[hr];)hr="".concat(hr,"_next");fn[hr]=!0,Rt.push(hr)}),Rt}function Xt(Ot){return Ot!=null}function Vt(Ot){return Ot&&(0,dt.Z)(Ot)==="object"&&!Array.isArray(Ot)&&!ve.isValidElement(Ot)}function xt(Ot,Rt,fn,En,Jn,Rn){var mr=ve.useContext(wt),hr=qe(),cr=(0,Ht.Z)(function(){if(Xt(En))return[En];var Zr=Rt==null||Rt===""?[]:Array.isArray(Rt)?Rt:[Rt],hi=(0,Et.Z)(Ot,Zr),$r=hi,Yi=void 0;if(Jn){var Ri=Jn(hi,Ot,fn);Vt(Ri)?($r=Ri.children,Yi=Ri.props,mr.renderWithProps=!0):$r=Ri}return[$r,Yi]},[hr,Ot,En,Rt,Jn,fn],function(Zr,hi){if(Rn){var $r=(0,He.Z)(Zr,2),Yi=$r[1],Ri=(0,He.Z)(hi,2),zi=Ri[1];return Rn(zi,Yi)}return mr.renderWithProps?!0:!(0,Le.Z)(Zr,hi,!0)});return cr}function Qt(Ot,Rt,fn,En){var Jn=Ot+Rt-1;return Ot<=En&&Jn>=fn}function An(Ot,Rt){return fe(Ze,function(fn){var En=Qt(Ot,Rt||1,fn.hoverStartRow,fn.hoverEndRow);return[En,fn.onHover]})}var Tn=function(Rt){var fn=Rt.ellipsis,En=Rt.rowType,Jn=Rt.children,Rn,mr=fn===!0?{showTitle:!0}:fn;return mr&&(mr.showTitle||En==="header")&&(typeof Jn=="string"||typeof Jn=="number"?Rn=Jn.toString():ve.isValidElement(Jn)&&typeof Jn.props.children=="string"&&(Rn=Jn.props.children)),Rn};function dn(Ot){var Rt,fn,En,Jn,Rn,mr,hr,cr,Zr=Ot.component,hi=Ot.children,$r=Ot.ellipsis,Yi=Ot.scope,Ri=Ot.prefixCls,zi=Ot.className,Za=Ot.align,_a=Ot.record,Ra=Ot.render,Da=Ot.dataIndex,ro=Ot.renderIndex,Qo=Ot.shouldCellUpdate,Jo=Ot.index,ko=Ot.rowType,ls=Ot.colSpan,Fs=Ot.rowSpan,Ao=Ot.fixLeft,Po=Ot.fixRight,yo=Ot.firstFixLeft,Ba=Ot.lastFixLeft,Bo=Ot.firstFixRight,ns=Ot.lastFixRight,Ys=Ot.appendNode,rs=Ot.additionalProps,Ga=rs===void 0?{}:rs,ms=Ot.isSticky,Is="".concat(Ri,"-cell"),Rl=fe(Ze,["supportSticky","allColumnsFixedLeft"]),Ml=Rl.supportSticky,Bu=Rl.allColumnsFixedLeft,Su=xt(_a,Da,ro,hi,Ra,Qo),ks=(0,He.Z)(Su,2),oc=ks[0],yl=ks[1],cu={},du=typeof Ao=="number"&&Ml,Fc=typeof Po=="number"&&Ml;du&&(cu.position="sticky",cu.left=Ao),Fc&&(cu.position="sticky",cu.right=Po);var So=(Rt=(fn=(En=yl==null?void 0:yl.colSpan)!==null&&En!==void 0?En:Ga.colSpan)!==null&&fn!==void 0?fn:ls)!==null&&Rt!==void 0?Rt:1,$o=(Jn=(Rn=(mr=yl==null?void 0:yl.rowSpan)!==null&&mr!==void 0?mr:Ga.rowSpan)!==null&&Rn!==void 0?Rn:Fs)!==null&&Jn!==void 0?Jn:1,es=An(Jo,$o),Ro=(0,He.Z)(es,2),Ll=Ro[0],jo=Ro[1],ws=function(to){var Nc;_a&&jo(Jo,Jo+$o-1),Ga==null||(Nc=Ga.onMouseEnter)===null||Nc===void 0||Nc.call(Ga,to)},nl=function(to){var Nc;_a&&jo(-1,-1),Ga==null||(Nc=Ga.onMouseLeave)===null||Nc===void 0||Nc.call(Ga,to)};if(So===0||$o===0)return null;var Al=(hr=Ga.title)!==null&&hr!==void 0?hr:Tn({rowType:ko,ellipsis:$r,children:oc}),qc=Re()(Is,zi,(cr={},(0,Xe.Z)(cr,"".concat(Is,"-fix-left"),du&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-left-first"),yo&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-left-last"),Ba&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-left-all"),Ba&&Bu&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-right"),Fc&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-right-first"),Bo&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-right-last"),ns&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-ellipsis"),$r),(0,Xe.Z)(cr,"".concat(Is,"-with-append"),Ys),(0,Xe.Z)(cr,"".concat(Is,"-fix-sticky"),(du||Fc)&&ms&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-row-hover"),!yl&&Ll),cr),Ga.className,yl==null?void 0:yl.className),Vu={};Za&&(Vu.textAlign=Za);var Pd=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},cu),Ga.style),Vu),yl==null?void 0:yl.style),ec=oc;return(0,dt.Z)(ec)==="object"&&!Array.isArray(ec)&&!ve.isValidElement(ec)&&(ec=null),$r&&(Ba||Bo)&&(ec=ve.createElement("span",{className:"".concat(Is,"-content")},ec)),ve.createElement(Zr,(0,Ke.Z)({},yl,Ga,{className:qc,style:Pd,title:Al,scope:Yi,onMouseEnter:ws,onMouseLeave:nl,colSpan:So!==1?So:null,rowSpan:$o!==1?$o:null}),Ys,ec)}var Gn=ve.memo(dn);function Cn(Ot,Rt,fn,En,Jn,Rn){var mr=fn[Ot]||{},hr=fn[Rt]||{},cr,Zr;mr.fixed==="left"?cr=En.left[Jn==="rtl"?Rt:Ot]:hr.fixed==="right"&&(Zr=En.right[Jn==="rtl"?Ot:Rt]);var hi=!1,$r=!1,Yi=!1,Ri=!1,zi=fn[Rt+1],Za=fn[Ot-1],_a=!(Rn!=null&&Rn.children);if(Jn==="rtl"){if(cr!==void 0){var Ra=Za&&Za.fixed==="left";Ri=!Ra&&_a}else if(Zr!==void 0){var Da=zi&&zi.fixed==="right";Yi=!Da&&_a}}else if(cr!==void 0){var ro=zi&&zi.fixed==="left";hi=!ro&&_a}else if(Zr!==void 0){var Qo=Za&&Za.fixed==="right";$r=!Qo&&_a}return{fixLeft:cr,fixRight:Zr,lastFixLeft:hi,firstFixRight:$r,lastFixRight:Yi,firstFixLeft:Ri,isSticky:En.isSticky}}var mn=ve.createContext({}),Bn=mn;function Se(Ot){var Rt=Ot.className,fn=Ot.index,En=Ot.children,Jn=Ot.colSpan,Rn=Jn===void 0?1:Jn,mr=Ot.rowSpan,hr=Ot.align,cr=fe(Ze,["prefixCls","direction"]),Zr=cr.prefixCls,hi=cr.direction,$r=ve.useContext(Bn),Yi=$r.scrollColumnIndex,Ri=$r.stickyOffsets,zi=$r.flattenColumns,Za=$r.columns,_a=fn+Rn-1,Ra=_a+1===Yi?Rn+1:Rn,Da=Cn(fn,fn+Ra-1,zi,Ri,hi,Za==null?void 0:Za[fn]);return ve.createElement(Gn,(0,Ke.Z)({className:Rt,index:fn,component:"td",prefixCls:Zr,record:null,dataIndex:null,align:hr,colSpan:Ra,rowSpan:mr,render:function(){return En}},Da))}var Fe=de(42244),ie=["children"];function ae(Ot){var Rt=Ot.children,fn=(0,Fe.Z)(Ot,ie);return ve.createElement("tr",fn,Rt)}function se(Ot){var Rt=Ot.children;return Rt}se.Row=ae,se.Cell=Se;var oe=se;function Je(Ot){var Rt=Ot.children,fn=Ot.stickyOffsets,En=Ot.flattenColumns,Jn=Ot.columns,Rn=fe(Ze,"prefixCls"),mr=En.length-1,hr=En[mr],cr=ve.useMemo(function(){return{stickyOffsets:fn,flattenColumns:En,scrollColumnIndex:hr!=null&&hr.scrollbar?mr:null,columns:Jn}},[hr,En,mr,fn,Jn]);return ve.createElement(Bn.Provider,{value:cr},ve.createElement("tfoot",{className:"".concat(Rn,"-summary")},Rt))}var vt=ze(Je),$e=oe,lt=de(70425),Pt=de(29301),_t=de(29194),kt=de(24514),$t=de(75152),Sn=de(26112);function St(Ot,Rt,fn,En,Jn,Rn,mr){Ot.push({record:Rt,indent:fn,index:mr});var hr=Rn(Rt),cr=Jn==null?void 0:Jn.has(hr);if(Rt&&Array.isArray(Rt[En])&&cr)for(var Zr=0;Zr<Rt[En].length;Zr+=1)St(Ot,Rt[En][Zr],fn+1,En,Jn,Rn,Zr)}function nn(Ot,Rt,fn,En){var Jn=ve.useMemo(function(){if(fn!=null&&fn.size){for(var Rn=[],mr=0;mr<(Ot==null?void 0:Ot.length);mr+=1){var hr=Ot[mr];St(Rn,hr,0,Rt,fn,En,mr)}return Rn}return Ot==null?void 0:Ot.map(function(cr,Zr){return{record:cr,indent:0,index:Zr}})},[Ot,Rt,fn,En]);return Jn}function tn(Ot){var Rt=Ot.prefixCls,fn=Ot.children,En=Ot.component,Jn=Ot.cellComponent,Rn=Ot.className,mr=Ot.expanded,hr=Ot.colSpan,cr=Ot.isEmpty,Zr=fe(Ze,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),hi=Zr.scrollbarSize,$r=Zr.fixHeader,Yi=Zr.fixColumn,Ri=Zr.componentWidth,zi=Zr.horizonScroll,Za=fn;return(cr?zi&&Ri:Yi)&&(Za=ve.createElement("div",{style:{width:Ri-($r?hi:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Rt,"-expanded-row-fixed")},Za)),ve.createElement(En,{className:Rn,style:{display:mr?null:"none"}},ve.createElement(Gn,{component:Jn,prefixCls:Rt,colSpan:hr},Za))}var jt=tn;function pt(Ot,Rt,fn,En){var Jn=fe(Ze,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Rn=Jn.flattenColumns,mr=Jn.expandableType,hr=Jn.expandedKeys,cr=Jn.childrenColumnName,Zr=Jn.onTriggerExpand,hi=Jn.rowExpandable,$r=Jn.onRow,Yi=Jn.expandRowByClick,Ri=Jn.rowClassName,zi=mr==="nest",Za=mr==="row"&&(!hi||hi(Ot)),_a=Za||zi,Ra=hr&&hr.has(Rt),Da=cr&&Ot&&Ot[cr],ro=(0,lt.useEvent)(Zr),Qo=$r==null?void 0:$r(Ot,fn),Jo=Qo==null?void 0:Qo.onClick,ko=function(Po){Yi&&_a&&Zr(Ot,Po);for(var yo=arguments.length,Ba=new Array(yo>1?yo-1:0),Bo=1;Bo<yo;Bo++)Ba[Bo-1]=arguments[Bo];Jo==null||Jo.apply(void 0,[Po].concat(Ba))},ls;typeof Ri=="string"?ls=Ri:typeof Ri=="function"&&(ls=Ri(Ot,fn,En));var Fs=at(Rn);return(0,Ct.Z)((0,Ct.Z)({},Jn),{},{columnsKey:Fs,nestExpandable:zi,expanded:Ra,hasNestChildren:Da,record:Ot,onTriggerExpand:ro,rowSupportExpand:Za,expandable:_a,rowProps:(0,Ct.Z)((0,Ct.Z)({},Qo),{},{className:Re()(ls,Qo==null?void 0:Qo.className),onClick:ko})})}function Zt(Ot,Rt,fn,En,Jn){var Rn=Ot.record,mr=Ot.prefixCls,hr=Ot.columnsKey,cr=Ot.fixedInfoList,Zr=Ot.expandIconColumnIndex,hi=Ot.nestExpandable,$r=Ot.indentSize,Yi=Ot.expandIcon,Ri=Ot.expanded,zi=Ot.hasNestChildren,Za=Ot.onTriggerExpand,_a=hr[fn],Ra=cr[fn],Da;fn===(Zr||0)&&hi&&(Da=ve.createElement(ve.Fragment,null,ve.createElement("span",{style:{paddingLeft:"".concat($r*En,"px")},className:"".concat(mr,"-row-indent indent-level-").concat(En)}),Yi({prefixCls:mr,expanded:Ri,expandable:zi,record:Rn,onExpand:Za})));var ro;return Rt.onCell&&(ro=Rt.onCell(Rn,Jn)),{key:_a,fixedInfo:Ra,appendCellNode:Da,additionalCellProps:ro||{}}}function gn(Ot){var Rt=Ot.className,fn=Ot.style,En=Ot.record,Jn=Ot.index,Rn=Ot.renderIndex,mr=Ot.rowKey,hr=Ot.indent,cr=hr===void 0?0:hr,Zr=Ot.rowComponent,hi=Ot.cellComponent,$r=Ot.scopeCellComponent,Yi=pt(En,mr,Jn,cr),Ri=Yi.prefixCls,zi=Yi.flattenColumns,Za=Yi.expandedRowClassName,_a=Yi.expandedRowRender,Ra=Yi.rowProps,Da=Yi.expanded,ro=Yi.rowSupportExpand,Qo=ve.useState(!1),Jo=(0,He.Z)(Qo,2),ko=Jo[0],ls=Jo[1];ve.useEffect(function(){Da&&ls(!0)},[Da]);var Fs=ve.createElement(Zr,(0,Ke.Z)({},Ra,{"data-row-key":mr,className:Re()(Rt,"".concat(Ri,"-row"),"".concat(Ri,"-row-level-").concat(cr),Ra==null?void 0:Ra.className),style:(0,Ct.Z)((0,Ct.Z)({},fn),Ra==null?void 0:Ra.style)}),zi.map(function(Ba,Bo){var ns=Ba.render,Ys=Ba.dataIndex,rs=Ba.className,Ga=Zt(Yi,Ba,Bo,cr,Jn),ms=Ga.key,Is=Ga.fixedInfo,Rl=Ga.appendCellNode,Ml=Ga.additionalCellProps;return ve.createElement(Gn,(0,Ke.Z)({className:rs,ellipsis:Ba.ellipsis,align:Ba.align,scope:Ba.rowScope,component:Ba.rowScope?$r:hi,prefixCls:Ri,key:ms,record:En,index:Jn,renderIndex:Rn,dataIndex:Ys,render:ns,shouldCellUpdate:Ba.shouldCellUpdate},Is,{appendNode:Rl,additionalProps:Ml}))})),Ao;if(ro&&(ko||Da)){var Po=_a(En,Jn,cr+1,Da),yo=Za&&Za(En,Jn,cr);Ao=ve.createElement(jt,{expanded:Da,className:Re()("".concat(Ri,"-expanded-row"),"".concat(Ri,"-expanded-row-level-").concat(cr+1),yo),prefixCls:Ri,component:Zr,cellComponent:hi,colSpan:zi.length,isEmpty:!1},Po)}return ve.createElement(ve.Fragment,null,Fs,Ao)}gn.displayName="BodyRow";var wn=ze(gn);function Xn(Ot){var Rt=Ot.columnKey,fn=Ot.onColumnResize,En=ve.useRef();return ve.useEffect(function(){En.current&&fn(Rt,En.current.offsetWidth)},[]),ve.createElement(Pt.Z,{data:Rt},ve.createElement("td",{ref:En,style:{padding:0,border:0,height:0}},ve.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function yr(Ot){var Rt=Ot.prefixCls,fn=Ot.columnsKey,En=Ot.onColumnResize;return ve.createElement("tr",{"aria-hidden":"true",className:"".concat(Rt,"-measure-row"),style:{height:0,fontSize:0}},ve.createElement(Pt.Z.Collection,{onBatchResize:function(Rn){Rn.forEach(function(mr){var hr=mr.data,cr=mr.size;En(hr,cr.offsetWidth)})}},fn.map(function(Jn){return ve.createElement(Xn,{key:Jn,columnKey:Jn,onColumnResize:En})})))}function Dr(Ot){var Rt=Ot.data,fn=Ot.measureColumnWidth,En=fe(Ze,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Jn=En.prefixCls,Rn=En.getComponent,mr=En.onColumnResize,hr=En.flattenColumns,cr=En.getRowKey,Zr=En.expandedKeys,hi=En.childrenColumnName,$r=En.emptyNode,Yi=nn(Rt,hi,Zr,cr),Ri=ve.useRef({renderWithProps:!1}),zi=Rn(["body","wrapper"],"tbody"),Za=Rn(["body","row"],"tr"),_a=Rn(["body","cell"],"td"),Ra=Rn(["body","cell"],"th"),Da;Rt.length?Da=Yi.map(function(Qo,Jo){var ko=Qo.record,ls=Qo.indent,Fs=Qo.index,Ao=cr(ko,Jo);return ve.createElement(wn,{key:Ao,rowKey:Ao,record:ko,index:Jo,renderIndex:Fs,rowComponent:Za,cellComponent:_a,scopeCellComponent:Ra,getRowKey:cr,indent:ls})}):Da=ve.createElement(jt,{expanded:!0,className:"".concat(Jn,"-placeholder"),prefixCls:Jn,component:Za,cellComponent:_a,colSpan:hr.length,isEmpty:!0},$r);var ro=at(hr);return ve.createElement(wt.Provider,{value:Ri.current},ve.createElement(zi,{className:"".concat(Jn,"-tbody")},fn&&ve.createElement(yr,{prefixCls:Jn,columnsKey:ro,onColumnResize:mr}),Da))}Dr.displayName="Body";var Tr=ze(Dr),Rr=["expandable"],Sr="RC_TABLE_INTERNAL_COL_DEFINE";function fr(Ot){var Rt=Ot.expandable,fn=(0,Fe.Z)(Ot,Rr),En;return"expandable"in Ot?En=(0,Ct.Z)((0,Ct.Z)({},fn),Rt):En=fn,En.showExpandColumn===!1&&(En.expandIconColumnIndex=-1),En}var Vr=["columnType"];function Bi(Ot){for(var Rt=Ot.colWidths,fn=Ot.columns,En=Ot.columCount,Jn=[],Rn=En||fn.length,mr=!1,hr=Rn-1;hr>=0;hr-=1){var cr=Rt[hr],Zr=fn&&fn[hr],hi=Zr&&Zr[Sr];if(cr||hi||mr){var $r=hi||{},Yi=$r.columnType,Ri=(0,Fe.Z)($r,Vr);Jn.unshift(ve.createElement("col",(0,Ke.Z)({key:hr,style:{width:cr}},Ri))),mr=!0}}return ve.createElement("colgroup",null,Jn)}var yi=Bi,mi=de(77654),Vi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ua(Ot,Rt){return(0,ve.useMemo)(function(){for(var fn=[],En=0;En<Rt;En+=1){var Jn=Ot[En];if(Jn!==void 0)fn[En]=Jn;else return null}return fn},[Ot.join("_"),Rt])}var Wr=ve.forwardRef(function(Ot,Rt){var fn=Ot.className,En=Ot.noData,Jn=Ot.columns,Rn=Ot.flattenColumns,mr=Ot.colWidths,hr=Ot.columCount,cr=Ot.stickyOffsets,Zr=Ot.direction,hi=Ot.fixHeader,$r=Ot.stickyTopOffset,Yi=Ot.stickyBottomOffset,Ri=Ot.stickyClassName,zi=Ot.onScroll,Za=Ot.maxContentScroll,_a=Ot.children,Ra=(0,Fe.Z)(Ot,Vi),Da=fe(Ze,["prefixCls","scrollbarSize","isSticky"]),ro=Da.prefixCls,Qo=Da.scrollbarSize,Jo=Da.isSticky,ko=Jo&&!hi?0:Qo,ls=ve.useRef(null),Fs=ve.useCallback(function(rs){(0,Be.mH)(Rt,rs),(0,Be.mH)(ls,rs)},[]);ve.useEffect(function(){var rs;function Ga(ms){var Is=ms,Rl=Is.currentTarget,Ml=Is.deltaX;Ml&&(zi({currentTarget:Rl,scrollLeft:Rl.scrollLeft+Ml}),ms.preventDefault())}return(rs=ls.current)===null||rs===void 0||rs.addEventListener("wheel",Ga),function(){var ms;(ms=ls.current)===null||ms===void 0||ms.removeEventListener("wheel",Ga)}},[]);var Ao=ve.useMemo(function(){return Rn.every(function(rs){return rs.width})},[Rn]),Po=Rn[Rn.length-1],yo={fixed:Po?Po.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ro,"-cell-scrollbar")}}},Ba=(0,ve.useMemo)(function(){return ko?[].concat((0,mi.Z)(Jn),[yo]):Jn},[ko,Jn]),Bo=(0,ve.useMemo)(function(){return ko?[].concat((0,mi.Z)(Rn),[yo]):Rn},[ko,Rn]),ns=(0,ve.useMemo)(function(){var rs=cr.right,Ga=cr.left;return(0,Ct.Z)((0,Ct.Z)({},cr),{},{left:Zr==="rtl"?[].concat((0,mi.Z)(Ga.map(function(ms){return ms+ko})),[0]):Ga,right:Zr==="rtl"?rs:[].concat((0,mi.Z)(rs.map(function(ms){return ms+ko})),[0]),isSticky:Jo})},[ko,cr,Jo]),Ys=ua(mr,hr);return ve.createElement("div",{style:(0,Ct.Z)({overflow:"hidden"},Jo?{top:$r,bottom:Yi}:{}),ref:Fs,className:Re()(fn,(0,Xe.Z)({},Ri,!!Ri))},ve.createElement("table",{style:{tableLayout:"fixed",visibility:En||Ys?null:"hidden"}},(!En||!Za||Ao)&&ve.createElement(yi,{colWidths:Ys?[].concat((0,mi.Z)(Ys),[ko]):[],columCount:hr+1,columns:Bo}),_a((0,Ct.Z)((0,Ct.Z)({},Ra),{},{stickyOffsets:ns,columns:Ba,flattenColumns:Bo}))))});Wr.displayName="FixedHolder";var Mn=ve.memo(Wr);function ea(Ot){var Rt=Ot.cells,fn=Ot.stickyOffsets,En=Ot.flattenColumns,Jn=Ot.rowComponent,Rn=Ot.cellComponent,mr=Ot.tdCellComponent,hr=Ot.onHeaderRow,cr=Ot.index,Zr=fe(Ze,["prefixCls","direction"]),hi=Zr.prefixCls,$r=Zr.direction,Yi;hr&&(Yi=hr(Rt.map(function(zi){return zi.column}),cr));var Ri=at(Rt.map(function(zi){return zi.column}));return ve.createElement(Jn,Yi,Rt.map(function(zi,Za){var _a=zi.column,Ra=Cn(zi.colStart,zi.colEnd,En,fn,$r,_a),Da;return _a&&_a.onHeaderCell&&(Da=zi.column.onHeaderCell(_a)),ve.createElement(Gn,(0,Ke.Z)({},zi,{scope:_a.title?zi.colSpan>1?"colgroup":"col":null,ellipsis:_a.ellipsis,align:_a.align,component:_a.title?Rn:mr,prefixCls:hi,key:Ri[Za]},Ra,{additionalProps:Da,rowType:"header"}))}))}ea.displayName="HeaderRow";var Ea=ea;function wo(Ot){var Rt=[];function fn(mr,hr){var cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Rt[cr]=Rt[cr]||[];var Zr=hr,hi=mr.filter(Boolean).map(function($r){var Yi={key:$r.key,className:$r.className||"",children:$r.title,column:$r,colStart:Zr},Ri=1,zi=$r.children;return zi&&zi.length>0&&(Ri=fn(zi,Zr,cr+1).reduce(function(Za,_a){return Za+_a},0),Yi.hasSubColumns=!0),"colSpan"in $r&&(Ri=$r.colSpan),"rowSpan"in $r&&(Yi.rowSpan=$r.rowSpan),Yi.colSpan=Ri,Yi.colEnd=Yi.colStart+Ri-1,Rt[cr].push(Yi),Zr+=Ri,Ri});return hi}fn(Ot,0);for(var En=Rt.length,Jn=function(hr){Rt[hr].forEach(function(cr){!("rowSpan"in cr)&&!cr.hasSubColumns&&(cr.rowSpan=En-hr)})},Rn=0;Rn<En;Rn+=1)Jn(Rn);return Rt}function sa(Ot){var Rt=Ot.stickyOffsets,fn=Ot.columns,En=Ot.flattenColumns,Jn=Ot.onHeaderRow,Rn=fe(Ze,["prefixCls","getComponent"]),mr=Rn.prefixCls,hr=Rn.getComponent,cr=ve.useMemo(function(){return wo(fn)},[fn]),Zr=hr(["header","wrapper"],"thead"),hi=hr(["header","row"],"tr"),$r=hr(["header","cell"],"th"),Yi=hr(["header","cell"],"td");return ve.createElement(Zr,{className:"".concat(mr,"-thead")},cr.map(function(Ri,zi){var Za=ve.createElement(Ea,{key:zi,flattenColumns:En,cells:Ri,stickyOffsets:Rt,rowComponent:hi,cellComponent:$r,tdCellComponent:Yi,onHeaderRow:Jn,index:zi});return Za}))}var Pi=ze(sa),Aa=de(11592);function Si(Ot){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Rt=="number"?Rt:Rt.endsWith("%")?Ot*parseFloat(Rt)/100:null}function qr(Ot,Rt){return ve.useMemo(function(){if(Rt&&Rt>0){var fn=0,En=0;Ot.forEach(function(Zr){var hi=Si(Rt,Zr.width);hi?fn+=hi:En+=1});var Jn=Rt-fn,Rn=En,mr=Jn/En,hr=0,cr=Ot.map(function(Zr){var hi=(0,Ct.Z)({},Zr),$r=Si(Rt,hi.width);if($r)hi.width=$r;else{var Yi=Math.floor(mr);hi.width=Rn===1?Jn:Yi,Jn-=Yi,Rn-=1}return hr+=hi.width,hi});return[cr,hr]}return[Ot,Rt]},[Ot,Rt])}var Ma=["children"],kn=["fixed"];function Dt(Ot){return(0,Aa.Z)(Ot).filter(function(Rt){return ve.isValidElement(Rt)}).map(function(Rt){var fn=Rt.key,En=Rt.props,Jn=En.children,Rn=(0,Fe.Z)(En,Ma),mr=(0,Ct.Z)({key:fn},Rn);return Jn&&(mr.children=Dt(Jn)),mr})}function Gt(Ot){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ot.filter(function(fn){return fn&&(0,dt.Z)(fn)==="object"}).reduce(function(fn,En,Jn){var Rn=En.fixed,mr=Rn===!0?"left":Rn,hr="".concat(Rt,"-").concat(Jn),cr=En.children;return cr&&cr.length>0?[].concat((0,mi.Z)(fn),(0,mi.Z)(Gt(cr,hr).map(function(Zr){return(0,Ct.Z)({fixed:mr},Zr)}))):[].concat((0,mi.Z)(fn),[(0,Ct.Z)((0,Ct.Z)({key:hr},En),{},{fixed:mr})])},[])}function Wt(Ot){for(var Rt=!0,fn=0;fn<Ot.length;fn+=1){var En=Ot[fn];if(Rt&&En.fixed!=="left")Rt=!1;else if(!Rt&&En.fixed==="left"){warning(!1,"Index ".concat(fn-1," of `columns` missing `fixed='left'` prop."));break}}for(var Jn=!0,Rn=Ot.length-1;Rn>=0;Rn-=1){var mr=Ot[Rn];if(Jn&&mr.fixed!=="right")Jn=!1;else if(!Jn&&mr.fixed==="right"){warning(!1,"Index ".concat(Rn+1," of `columns` missing `fixed='right'` prop."));break}}}function Kt(Ot){return Ot.map(function(Rt){var fn=Rt.fixed,En=(0,Fe.Z)(Rt,kn),Jn=fn;return fn==="left"?Jn="right":fn==="right"&&(Jn="left"),(0,Ct.Z)({fixed:Jn},En)})}function on(Ot,Rt){var fn=Ot.prefixCls,En=Ot.columns,Jn=Ot.children,Rn=Ot.expandable,mr=Ot.expandedKeys,hr=Ot.columnTitle,cr=Ot.getRowKey,Zr=Ot.onTriggerExpand,hi=Ot.expandIcon,$r=Ot.rowExpandable,Yi=Ot.expandIconColumnIndex,Ri=Ot.direction,zi=Ot.expandRowByClick,Za=Ot.columnWidth,_a=Ot.fixed,Ra=Ot.scrollWidth,Da=ve.useMemo(function(){return En||Dt(Jn)},[En,Jn]),ro=ve.useMemo(function(){if(Rn){var Po,yo=Da.slice();if(!yo.includes(he)){var Ba=Yi||0;Ba>=0&&yo.splice(Ba,0,he)}var Bo=yo.indexOf(he);yo=yo.filter(function(Ga,ms){return Ga!==he||ms===Bo});var ns=Da[Bo],Ys;(_a==="left"||_a)&&!Yi?Ys="left":(_a==="right"||_a)&&Yi===Da.length?Ys="right":Ys=ns?ns.fixed:null;var rs=(Po={},(0,Xe.Z)(Po,Sr,{className:"".concat(fn,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Xe.Z)(Po,"title",hr),(0,Xe.Z)(Po,"fixed",Ys),(0,Xe.Z)(Po,"className","".concat(fn,"-row-expand-icon-cell")),(0,Xe.Z)(Po,"width",Za),(0,Xe.Z)(Po,"render",function(ms,Is,Rl){var Ml=cr(Is,Rl),Bu=mr.has(Ml),Su=$r?$r(Is):!0,ks=hi({prefixCls:fn,expanded:Bu,expandable:Su,record:Is,onExpand:Zr});return zi?ve.createElement("span",{onClick:function(yl){return yl.stopPropagation()}},ks):ks}),Po);return yo.map(function(Ga){return Ga===he?rs:Ga})}return Da.filter(function(Ga){return Ga!==he})},[Rn,Da,cr,mr,hi,Ri]),Qo=ve.useMemo(function(){var Po=ro;return Rt&&(Po=Rt(Po)),Po.length||(Po=[{render:function(){return null}}]),Po},[Rt,ro,Ri]),Jo=ve.useMemo(function(){return Ri==="rtl"?Kt(Gt(Qo)):Gt(Qo)},[Qo,Ri,Ra]),ko=qr(Jo,Ra),ls=(0,He.Z)(ko,2),Fs=ls[0],Ao=ls[1];return[Qo,Fs,Ao]}var _n=on;function lr(Ot){var Rt,fn=Ot.prefixCls,En=Ot.record,Jn=Ot.onExpand,Rn=Ot.expanded,mr=Ot.expandable,hr="".concat(fn,"-row-expand-icon");if(!mr)return ve.createElement("span",{className:Re()(hr,"".concat(fn,"-row-spaced"))});var cr=function(hi){Jn(En,hi),hi.stopPropagation()};return ve.createElement("span",{className:Re()(hr,(Rt={},(0,Xe.Z)(Rt,"".concat(fn,"-row-expanded"),Rn),(0,Xe.Z)(Rt,"".concat(fn,"-row-collapsed"),!Rn),Rt)),onClick:cr})}function nr(Ot,Rt,fn){var En=[];function Jn(Rn){(Rn||[]).forEach(function(mr,hr){En.push(Rt(mr,hr)),Jn(mr[fn])})}return Jn(Ot),En}function dr(Ot,Rt,fn){var En=fr(Ot),Jn=En.expandIcon,Rn=En.expandedRowKeys,mr=En.defaultExpandedRowKeys,hr=En.defaultExpandAllRows,cr=En.expandedRowRender,Zr=En.onExpand,hi=En.onExpandedRowsChange,$r=En.childrenColumnName,Yi=Jn||lr,Ri=$r||"children",zi=ve.useMemo(function(){return cr?"row":Ot.expandable&&Ot.internalHooks===Me&&Ot.expandable.__PARENT_RENDER_ICON__||Rt.some(function(Jo){return Jo&&(0,dt.Z)(Jo)==="object"&&Jo[Ri]})?"nest":!1},[!!cr,Rt]),Za=ve.useState(function(){return mr||(hr?nr(Rt,fn,Ri):[])}),_a=(0,He.Z)(Za,2),Ra=_a[0],Da=_a[1],ro=ve.useMemo(function(){return new Set(Rn||Ra||[])},[Rn,Ra]),Qo=ve.useCallback(function(Jo){var ko=fn(Jo,Rt.indexOf(Jo)),ls,Fs=ro.has(ko);Fs?(ro.delete(ko),ls=(0,mi.Z)(ro)):ls=[].concat((0,mi.Z)(ro),[ko]),Da(ls),Zr&&Zr(!Fs,Jo),hi&&hi(ls)},[fn,ro,Rt,Zr,hi]);return[En,zi,ro,Yi,Ri,Qo]}function Pr(Ot,Rt,fn,En){var Jn=Ot.map(function(Rn,mr){return Cn(mr,mr,Ot,Rt,fn,En==null?void 0:En[mr])});return(0,Ht.Z)(function(){return Jn},[Jn],function(Rn,mr){return!(0,Le.Z)(Rn,mr)})}function Ur(Ot){var Rt=(0,ve.useRef)(Ot),fn=(0,ve.useState)({}),En=(0,He.Z)(fn,2),Jn=En[1],Rn=(0,ve.useRef)(null),mr=(0,ve.useRef)([]);function hr(cr){mr.current.push(cr);var Zr=Promise.resolve();Rn.current=Zr,Zr.then(function(){if(Rn.current===Zr){var hi=mr.current,$r=Rt.current;mr.current=[],hi.forEach(function(Yi){Rt.current=Yi(Rt.current)}),Rn.current=null,$r!==Rt.current&&Jn({})}})}return(0,ve.useEffect)(function(){return function(){Rn.current=null}},[]),[Rt.current,hr]}function ei(Ot){var Rt=(0,ve.useRef)(Ot||null),fn=(0,ve.useRef)();function En(){window.clearTimeout(fn.current)}function Jn(mr){Rt.current=mr,En(),fn.current=window.setTimeout(function(){Rt.current=null,fn.current=void 0},100)}function Rn(){return Rt.current}return(0,ve.useEffect)(function(){return En},[]),[Jn,Rn]}function er(){var Ot=ve.useState(-1),Rt=(0,He.Z)(Ot,2),fn=Rt[0],En=Rt[1],Jn=ve.useState(-1),Rn=(0,He.Z)(Jn,2),mr=Rn[0],hr=Rn[1],cr=ve.useCallback(function(Zr,hi){En(Zr),hr(hi)},[]);return[fn,mr,cr]}var kr=de(47273),_i=(0,kr.Z)()?window:null;function gi(Ot,Rt){var fn=(0,dt.Z)(Ot)==="object"?Ot:{},En=fn.offsetHeader,Jn=En===void 0?0:En,Rn=fn.offsetSummary,mr=Rn===void 0?0:Rn,hr=fn.offsetScroll,cr=hr===void 0?0:hr,Zr=fn.getContainer,hi=Zr===void 0?function(){return _i}:Zr,$r=hi()||_i;return ve.useMemo(function(){var Yi=!!Ot;return{isSticky:Yi,stickyClassName:Yi?"".concat(Rt,"-sticky-holder"):"",offsetHeader:Jn,offsetSummary:mr,offsetScroll:cr,container:$r}},[cr,Jn,mr,Rt,$r])}function ji(Ot,Rt,fn){var En=(0,ve.useMemo)(function(){for(var Jn=[],Rn=[],mr=0,hr=0,cr=0;cr<Rt;cr+=1)if(fn==="rtl"){Rn[cr]=hr,hr+=Ot[cr]||0;var Zr=Rt-cr-1;Jn[Zr]=mr,mr+=Ot[Zr]||0}else{Jn[cr]=mr,mr+=Ot[cr]||0;var hi=Rt-cr-1;Rn[hi]=hr,hr+=Ot[hi]||0}return{left:Jn,right:Rn}},[Ot,Rt,fn]);return En}var Mi=ji;function Ca(Ot){var Rt=Ot.className,fn=Ot.children;return ve.createElement("div",{className:Rt},fn)}var Jr=Ca,ra=de(8224),vn=de(55468),gr=function(Rt,fn){var En,Jn,Rn=Rt.scrollBodyRef,mr=Rt.onScroll,hr=Rt.offsetScroll,cr=Rt.container,Zr=fe(Ze,"prefixCls"),hi=((En=Rn.current)===null||En===void 0?void 0:En.scrollWidth)||0,$r=((Jn=Rn.current)===null||Jn===void 0?void 0:Jn.clientWidth)||0,Yi=hi&&$r*($r/hi),Ri=ve.useRef(),zi=Ur({scrollLeft:0,isHiddenScrollBar:!1}),Za=(0,He.Z)(zi,2),_a=Za[0],Ra=Za[1],Da=ve.useRef({delta:0,x:0}),ro=ve.useState(!1),Qo=(0,He.Z)(ro,2),Jo=Qo[0],ko=Qo[1],ls=function(){ko(!1)},Fs=function(Bo){Bo.persist(),Da.current.delta=Bo.pageX-_a.scrollLeft,Da.current.x=0,ko(!0),Bo.preventDefault()},Ao=function(Bo){var ns,Ys=Bo||((ns=window)===null||ns===void 0?void 0:ns.event),rs=Ys.buttons;if(!Jo||rs===0){Jo&&ko(!1);return}var Ga=Da.current.x+Bo.pageX-Da.current.x-Da.current.delta;Ga<=0&&(Ga=0),Ga+Yi>=$r&&(Ga=$r-Yi),mr({scrollLeft:Ga/$r*(hi+2)}),Da.current.x=Bo.pageX},Po=function(){if(Rn.current){var Bo=(0,vn.os)(Rn.current).top,ns=Bo+Rn.current.offsetHeight,Ys=cr===window?document.documentElement.scrollTop+window.innerHeight:(0,vn.os)(cr).top+cr.clientHeight;ns-(0,$t.Z)()<=Ys||Bo>=Ys-hr?Ra(function(rs){return(0,Ct.Z)((0,Ct.Z)({},rs),{},{isHiddenScrollBar:!0})}):Ra(function(rs){return(0,Ct.Z)((0,Ct.Z)({},rs),{},{isHiddenScrollBar:!1})})}},yo=function(Bo){Ra(function(ns){return(0,Ct.Z)((0,Ct.Z)({},ns),{},{scrollLeft:Bo/hi*$r||0})})};return ve.useImperativeHandle(fn,function(){return{setScrollLeft:yo}}),ve.useEffect(function(){var Ba=(0,ra.Z)(document.body,"mouseup",ls,!1),Bo=(0,ra.Z)(document.body,"mousemove",Ao,!1);return Po(),function(){Ba.remove(),Bo.remove()}},[Yi,Jo]),ve.useEffect(function(){var Ba=(0,ra.Z)(cr,"scroll",Po,!1),Bo=(0,ra.Z)(window,"resize",Po,!1);return function(){Ba.remove(),Bo.remove()}},[cr]),ve.useEffect(function(){_a.isHiddenScrollBar||Ra(function(Ba){var Bo=Rn.current;return Bo?(0,Ct.Z)((0,Ct.Z)({},Ba),{},{scrollLeft:Bo.scrollLeft/Bo.scrollWidth*Bo.clientWidth}):Ba})},[_a.isHiddenScrollBar]),hi<=$r||!Yi||_a.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,$t.Z)(),width:$r,bottom:hr},className:"".concat(Zr,"-sticky-scroll")},ve.createElement("div",{onMouseDown:Fs,ref:Ri,className:Re()("".concat(Zr,"-sticky-scroll-bar"),(0,Xe.Z)({},"".concat(Zr,"-sticky-scroll-bar-active"),Jo)),style:{width:"".concat(Yi,"px"),transform:"translate3d(".concat(_a.scrollLeft,"px, 0, 0)")}}))},Ar=ve.forwardRef(gr);function jr(Ot){return null}var br=jr;function Ir(Ot){return null}var Fr=Ir,si="rc-table",bi=[],Ti={};function Pa(){return"No Data"}function Ka(Ot){var Rt,fn=(0,Ct.Z)({rowKey:"key",prefixCls:si,emptyText:Pa},Ot),En=fn.prefixCls,Jn=fn.className,Rn=fn.rowClassName,mr=fn.style,hr=fn.data,cr=fn.rowKey,Zr=fn.scroll,hi=fn.tableLayout,$r=fn.direction,Yi=fn.title,Ri=fn.footer,zi=fn.summary,Za=fn.caption,_a=fn.id,Ra=fn.showHeader,Da=fn.components,ro=fn.emptyText,Qo=fn.onRow,Jo=fn.onHeaderRow,ko=fn.internalHooks,ls=fn.transformColumns,Fs=fn.internalRefs,Ao=fn.tailor,Po=fn.sticky,yo=hr||bi,Ba=!!yo.length,Bo=ko===Me,ns=ve.useCallback(function(Cl,jl){return(0,Et.Z)(Da,Cl)||jl},[Da]),Ys=ve.useMemo(function(){return typeof cr=="function"?cr:function(Cl){var jl=Cl&&Cl[cr];return jl}},[cr]),rs=ns(["body"]),Ga=er(),ms=(0,He.Z)(Ga,3),Is=ms[0],Rl=ms[1],Ml=ms[2],Bu=dr(fn,yo,Ys),Su=(0,He.Z)(Bu,6),ks=Su[0],oc=Su[1],yl=Su[2],cu=Su[3],du=Su[4],Fc=Su[5],So=Zr==null?void 0:Zr.x,$o=ve.useState(0),es=(0,He.Z)($o,2),Ro=es[0],Ll=es[1],jo=_n((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},fn),ks),{},{expandable:!!ks.expandedRowRender,columnTitle:ks.columnTitle,expandedKeys:yl,getRowKey:Ys,onTriggerExpand:Fc,expandIcon:cu,expandIconColumnIndex:ks.expandIconColumnIndex,direction:$r,scrollWidth:Bo&&Ao&&typeof So=="number"?So:null}),Bo?ls:null),ws=(0,He.Z)(jo,3),nl=ws[0],Al=ws[1],qc=ws[2],Vu=qc!=null?qc:So,Pd=ve.useMemo(function(){return{columns:nl,flattenColumns:Al}},[nl,Al]),ec=ve.useRef(),Td=ve.useRef(),to=ve.useRef(),Nc=ve.useRef(),ZA=ve.useRef(),bl=ve.useState(!1),aa=(0,He.Z)(bl,2),Ql=aa[0],yc=aa[1],_u=ve.useState(!1),fs=(0,He.Z)(_u,2),ql=fs[0],Pc=fs[1],Md=Ur(new Map),bd=(0,He.Z)(Md,2),Tc=bd[0],Gu=bd[1],vA=at(Al),Qc=vA.map(function(Cl){return Tc.get(Cl)}),Yu=ve.useMemo(function(){return Qc},[Qc.join("_")]),Rc=Mi(Yu,Al.length,$r),Iu=Zr&&Xt(Zr.y),Tu=Zr&&Xt(Vu)||!!ks.fixed,rd=Tu&&Al.some(function(Cl){var jl=Cl.fixed;return jl}),oA=ve.useRef(),Rd=gi(Po,En),yA=Rd.isSticky,VA=Rd.offsetHeader,Sh=Rd.offsetSummary,xl=Rd.offsetScroll,iu=Rd.stickyClassName,kc=Rd.container,au=ve.useMemo(function(){return zi==null?void 0:zi(yo)},[zi,yo]),bc=(Iu||yA)&&ve.isValidElement(au)&&au.type===oe&&au.props.fixed,_c,tc,bA;Iu&&(tc={overflowY:"scroll",maxHeight:Zr.y}),Tu&&(_c={overflowX:"auto"},Iu||(tc={overflowY:"hidden"}),bA={width:Vu===!0?"auto":Vu,minWidth:"100%"});var ih=ve.useCallback(function(Cl,jl){(0,_t.Z)(ec.current)&&Gu(function(wd){if(wd.get(Cl)!==jl){var XA=new Map(wd);return XA.set(Cl,jl),XA}return wd})},[]),wA=ei(null),xA=(0,He.Z)(wA,2),fl=xA[0],Ru=xA[1];function sA(Cl,jl){jl&&(typeof jl=="function"?jl(Cl):jl.scrollLeft!==Cl&&(jl.scrollLeft=Cl,jl.scrollLeft!==Cl&&setTimeout(function(){jl.scrollLeft=Cl},0)))}var CA=(0,ft.Z)(function(Cl){var jl=Cl.currentTarget,wd=Cl.scrollLeft,XA=$r==="rtl",JA=typeof wd=="number"?wd:jl.scrollLeft,_0=jl||Ti;if(!Ru()||Ru()===_0){var Mc;fl(_0),sA(JA,Td.current),sA(JA,to.current),sA(JA,ZA.current),sA(JA,(Mc=oA.current)===null||Mc===void 0?void 0:Mc.setScrollLeft)}var FA=jl||Td.current;if(FA){var M0=FA.scrollWidth,xf=FA.clientWidth;if(M0===xf){yc(!1),Pc(!1);return}XA?(yc(-JA<M0-xf),Pc(-JA>0)):(yc(JA>0),Pc(JA<M0-xf))}}),id=function(){Tu&&to.current?CA({currentTarget:to.current}):(yc(!1),Pc(!1))},$h=function(jl){var wd=jl.width;wd!==Ro&&(id(),Ll(ec.current?ec.current.offsetWidth:wd))},cc=ve.useRef(!1);ve.useEffect(function(){cc.current&&id()},[Tu,hr,nl.length]),ve.useEffect(function(){cc.current=!0},[]);var Eh=ve.useState(0),e0=(0,He.Z)(Eh,2),If=e0[0],ah=e0[1],Lf=ve.useState(!0),yf=(0,He.Z)(Lf,2),Li=yf[0],oh=yf[1];ve.useEffect(function(){(!Ao||!Bo)&&(to.current instanceof Element?ah((0,$t.o)(to.current).width):ah((0,$t.o)(Nc.current).width)),oh((0,kt.G)("position","sticky"))},[]),ve.useEffect(function(){Bo&&Fs&&(Fs.body.current=to.current)});var Fh=ve.useCallback(function(Cl){return ve.createElement(ve.Fragment,null,ve.createElement(Pi,Cl),bc==="top"&&ve.createElement(vt,Cl,au))},[bc,au]),t0=ve.useCallback(function(Cl){return ve.createElement(vt,Cl,au)},[au]),BA=ns(["table"],"table"),Df=ve.useMemo(function(){return hi||(rd?Vu==="max-content"?"auto":"fixed":Iu||yA||Al.some(function(Cl){var jl=Cl.ellipsis;return jl})?"fixed":"auto")},[Iu,rd,Al,hi,yA]),sh,bf={colWidths:Yu,columCount:Al.length,stickyOffsets:Rc,onHeaderRow:Jo,fixHeader:Iu,scroll:Zr},Lu=ve.useMemo(function(){return Ba?null:typeof ro=="function"?ro():ro},[Ba,ro]),wf=ve.createElement(Tr,{data:yo,measureColumnWidth:Iu||Tu||yA}),kh=ve.createElement(yi,{colWidths:Al.map(function(Cl){var jl=Cl.width;return jl}),columns:Al}),SA=Za!=null?ve.createElement("caption",{className:"".concat(En,"-caption")},Za):void 0,lh=(0,Sn.Z)(fn,{data:!0}),EA=(0,Sn.Z)(fn,{aria:!0});if(Iu||yA){var GA;typeof rs=="function"?(GA=rs(yo,{scrollbarSize:If,ref:to,onScroll:CA}),bf.colWidths=Al.map(function(Cl,jl){var wd=Cl.width,XA=jl===Al.length-1?wd-If:wd;return typeof XA=="number"&&!Number.isNaN(XA)?XA:0})):GA=ve.createElement("div",{style:(0,Ct.Z)((0,Ct.Z)({},_c),tc),onScroll:CA,ref:to,className:Re()("".concat(En,"-body"))},ve.createElement(BA,(0,Ke.Z)({style:(0,Ct.Z)((0,Ct.Z)({},bA),{},{tableLayout:Df})},EA),SA,kh,wf,!bc&&au&&ve.createElement(vt,{stickyOffsets:Rc,flattenColumns:Al,columns:nl},au)));var Au=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({noData:!yo.length,maxContentScroll:Tu&&Vu==="max-content"},bf),Pd),{},{direction:$r,stickyClassName:iu,onScroll:CA});sh=ve.createElement(ve.Fragment,null,Ra!==!1&&ve.createElement(Mn,(0,Ke.Z)({},Au,{stickyTopOffset:VA,className:"".concat(En,"-header"),ref:Td}),Fh),GA,bc&&bc!=="top"&&ve.createElement(Mn,(0,Ke.Z)({},Au,{stickyBottomOffset:Sh,className:"".concat(En,"-summary"),ref:ZA}),t0),yA&&ve.createElement(Ar,{ref:oA,offsetScroll:xl,scrollBodyRef:to,onScroll:CA,container:kc}))}else sh=ve.createElement("div",{style:(0,Ct.Z)((0,Ct.Z)({},_c),tc),className:Re()("".concat(En,"-content")),onScroll:CA,ref:to},ve.createElement(BA,(0,Ke.Z)({style:(0,Ct.Z)((0,Ct.Z)({},bA),{},{tableLayout:Df})},EA),SA,kh,Ra!==!1&&ve.createElement(Pi,(0,Ke.Z)({},bf,Pd)),wf,au&&ve.createElement(vt,{stickyOffsets:Rc,flattenColumns:Al,columns:nl},au)));var $c=ve.createElement("div",(0,Ke.Z)({className:Re()(En,Jn,(Rt={},(0,Xe.Z)(Rt,"".concat(En,"-rtl"),$r==="rtl"),(0,Xe.Z)(Rt,"".concat(En,"-ping-left"),Ql),(0,Xe.Z)(Rt,"".concat(En,"-ping-right"),ql),(0,Xe.Z)(Rt,"".concat(En,"-layout-fixed"),hi==="fixed"),(0,Xe.Z)(Rt,"".concat(En,"-fixed-header"),Iu),(0,Xe.Z)(Rt,"".concat(En,"-fixed-column"),rd),(0,Xe.Z)(Rt,"".concat(En,"-scroll-horizontal"),Tu),(0,Xe.Z)(Rt,"".concat(En,"-has-fix-left"),Al[0]&&Al[0].fixed),(0,Xe.Z)(Rt,"".concat(En,"-has-fix-right"),Al[Al.length-1]&&Al[Al.length-1].fixed==="right"),Rt)),style:mr,id:_a,ref:ec},lh),Yi&&ve.createElement(Jr,{className:"".concat(En,"-title")},Yi(yo)),ve.createElement("div",{ref:Nc,className:"".concat(En,"-container")},sh),Ri&&ve.createElement(Jr,{className:"".concat(En,"-footer")},Ri(yo)));Tu&&($c=ve.createElement(Pt.Z,{onResize:$h},$c));var jc=Pr(Al,Rc,$r,nl),YA=ve.useMemo(function(){return{scrollX:Vu,prefixCls:En,getComponent:ns,scrollbarSize:If,direction:$r,fixedInfoList:jc,isSticky:yA,supportSticky:Li,componentWidth:Ro,fixHeader:Iu,fixColumn:rd,horizonScroll:Tu,tableLayout:Df,rowClassName:Rn,expandedRowClassName:ks.expandedRowClassName,expandIcon:cu,expandableType:oc,expandRowByClick:ks.expandRowByClick,expandedRowRender:ks.expandedRowRender,onTriggerExpand:Fc,expandIconColumnIndex:ks.expandIconColumnIndex,indentSize:ks.indentSize,allColumnsFixedLeft:Al.every(function(Cl){return Cl.fixed==="left"}),emptyNode:Lu,columns:nl,flattenColumns:Al,onColumnResize:ih,hoverStartRow:Is,hoverEndRow:Rl,onHover:Ml,rowExpandable:ks.rowExpandable,onRow:Qo,getRowKey:Ys,expandedKeys:yl,childrenColumnName:du}},[Vu,En,ns,If,$r,jc,yA,Li,Ro,Iu,rd,Tu,Df,Rn,ks.expandedRowClassName,cu,oc,ks.expandRowByClick,ks.expandedRowRender,Fc,ks.expandIconColumnIndex,ks.indentSize,Lu,nl,Al,ih,Is,Rl,Ml,ks.rowExpandable,Qo,Ys,yl,du]);return ve.createElement(Ze.Provider,{value:YA},$c)}function $a(Ot){return Ye(Ka,Ot)}var Ua=$a();Ua.EXPAND_COLUMN=he,Ua.INTERNAL_HOOKS=Me,Ua.Column=br,Ua.ColumnGroup=Fr,Ua.Summary=$e;var Fa=Ua,ho=de(48911),oo=xe(null),ta=xe(null);function ui(Ot,Rt,fn){var En=Rt||1;return fn[Ot+En]-(fn[Ot]||0)}function za(Ot){var Rt=Ot.rowInfo,fn=Ot.column,En=Ot.colIndex,Jn=Ot.indent,Rn=Ot.index,mr=Ot.renderIndex,hr=Ot.record,cr=Ot.style,Zr=Ot.className,hi=Ot.inverse,$r=Ot.getHeight,Yi=fn.render,Ri=fn.dataIndex,zi=fn.className,Za=fn.width,_a=fe(ta,["columnsOffset"]),Ra=_a.columnsOffset,Da=Zt(Rt,fn,En,Jn,Rn),ro=Da.key,Qo=Da.fixedInfo,Jo=Da.appendCellNode,ko=Da.additionalCellProps,ls=ko.style,Fs=ko.colSpan,Ao=Fs===void 0?1:Fs,Po=ko.rowSpan,yo=Po===void 0?1:Po,Ba=En-1,Bo=ui(Ba,Ao,Ra),ns=Ao>1?Za-Bo:0,Ys=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},ls),cr),{},{flex:"0 0 ".concat(Bo,"px"),width:"".concat(Bo,"px"),marginRight:ns,pointerEvents:"auto"}),rs=ve.useMemo(function(){return hi?yo<=1:Ao===0||yo===0||yo>1},[yo,Ao,hi]);rs?Ys.visibility="hidden":hi&&(Ys.height=$r==null?void 0:$r(yo));var Ga=rs?function(){return null}:Yi,ms={};return(yo===0||Ao===0)&&(ms.rowSpan=1,ms.colSpan=1),ve.createElement(Gn,(0,Ke.Z)({className:Re()(zi,Zr),ellipsis:fn.ellipsis,align:fn.align,scope:fn.rowScope,component:"div",prefixCls:Rt.prefixCls,key:ro,record:hr,index:Rn,renderIndex:mr,dataIndex:Ri,render:Ga,shouldCellUpdate:fn.shouldCellUpdate},Qo,{appendNode:Jo,additionalProps:(0,Ct.Z)((0,Ct.Z)({},ko),{},{style:Ys},ms)}))}var no=za,La=["data","index","className","rowKey","style","extra","getHeight"],xo=ve.forwardRef(function(Ot,Rt){var fn=Ot.data,En=Ot.index,Jn=Ot.className,Rn=Ot.rowKey,mr=Ot.style,hr=Ot.extra,cr=Ot.getHeight,Zr=(0,Fe.Z)(Ot,La),hi=fn.record,$r=fn.indent,Yi=fn.index,Ri=fe(Ze,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),zi=Ri.scrollX,Za=Ri.flattenColumns,_a=Ri.prefixCls,Ra=Ri.fixColumn,Da=Ri.componentWidth,ro=pt(hi,Rn,En,$r),Qo=ro.rowSupportExpand,Jo=ro.expanded,ko=ro.rowProps,ls=ro.expandedRowRender,Fs=ro.expandedRowClassName,Ao;if(Qo&&Jo){var Po=ls(hi,En,$r+1,Jo),yo=Fs==null?void 0:Fs(hi,En,$r),Ba={};Ra&&(Ba={style:(0,Xe.Z)({},"--virtual-width","".concat(Da,"px"))});var Bo="".concat(_a,"-expanded-row-cell");Ao=ve.createElement("div",{className:Re()("".concat(_a,"-expanded-row"),"".concat(_a,"-expanded-row-level-").concat($r+1),yo)},ve.createElement(Gn,{component:"div",prefixCls:_a,className:Re()(Bo,(0,Xe.Z)({},"".concat(Bo,"-fixed"),Ra)),additionalProps:Ba},Po))}var ns=(0,Ct.Z)((0,Ct.Z)({},mr),{},{width:zi});hr&&(ns.position="absolute",ns.pointerEvents="none");var Ys=ve.createElement("div",(0,Ke.Z)({},ko,Zr,{ref:Qo?null:Rt,className:Re()(Jn,"".concat(_a,"-row"),ko==null?void 0:ko.className,(0,Xe.Z)({},"".concat(_a,"-row-extra"),hr)),style:(0,Ct.Z)((0,Ct.Z)({},ns),ko==null?void 0:ko.style)}),Za.map(function(rs,Ga){return ve.createElement(no,{key:Ga,rowInfo:ro,column:rs,colIndex:Ga,indent:$r,index:En,renderIndex:Yi,record:hi,inverse:hr,getHeight:cr})}));return Qo?ve.createElement("div",{ref:Rt},Ys,Ao):Ys}),os=ze(xo),Va=os,Ii=ve.forwardRef(function(Ot,Rt){var fn=Ot.data,En=Ot.onScroll,Jn=fe(Ze,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Rn=Jn.flattenColumns,mr=Jn.onColumnResize,hr=Jn.getRowKey,cr=Jn.expandedKeys,Zr=Jn.prefixCls,hi=Jn.childrenColumnName,$r=Jn.emptyNode,Yi=Jn.scrollX,Ri=fe(oo),zi=Ri.scrollY,Za=Ri.listItemHeight,_a=ve.useRef(),Ra=nn(fn,hi,cr,hr),Da=ve.useMemo(function(){var Ao=0;return Rn.map(function(Po){var yo=Po.width,Ba=Po.key;return Ao+=yo,[Ba,yo,Ao]})},[Rn]),ro=ve.useMemo(function(){return Da.map(function(Ao){return Ao[2]})},[Da]);ve.useEffect(function(){Da.forEach(function(Ao){var Po=(0,He.Z)(Ao,2),yo=Po[0],Ba=Po[1];mr(yo,Ba)})},[Da]),ve.useImperativeHandle(Rt,function(){var Ao={};return Object.defineProperty(Ao,"scrollLeft",{get:function(){var yo;return((yo=_a.current)===null||yo===void 0?void 0:yo.getScrollInfo().x)||0},set:function(yo){var Ba;(Ba=_a.current)===null||Ba===void 0||Ba.scrollTo({left:yo})}}),Ao});var Qo=function(Po,yo){var Ba,Bo=(Ba=Ra[yo])===null||Ba===void 0?void 0:Ba.record,ns=Po.onCell;if(ns){var Ys,rs=ns(Bo,yo);return(Ys=rs==null?void 0:rs.rowSpan)!==null&&Ys!==void 0?Ys:1}return 1},Jo=function(Po){var yo=Po.start,Ba=Po.end,Bo=Po.getSize,ns=Po.offsetY;if(Ba<0)return null;for(var Ys=Rn.filter(function(So){return Qo(So,yo)===0}),rs=yo,Ga=function($o){if(Ys=Ys.filter(function(es){return Qo(es,$o)===0}),!Ys.length)return rs=$o,"break"},ms=yo;ms>=0;ms-=1){var Is=Ga(ms);if(Is==="break")break}for(var Rl=Rn.filter(function(So){return Qo(So,Ba)!==1}),Ml=Ba,Bu=function($o){if(Rl=Rl.filter(function(es){return Qo(es,$o)!==1}),!Rl.length)return Ml=Math.max($o-1,Ba),"break"},Su=Ba;Su<Ra.length;Su+=1){var ks=Bu(Su);if(ks==="break")break}for(var oc=[],yl=function($o){var es=Ra[$o];if(!es)return"continue";Rn.some(function(Ro){return Qo(Ro,$o)>1})&&oc.push($o)},cu=rs;cu<=Ml;cu+=1)var du=yl(cu);var Fc=oc.map(function(So){var $o=Ra[So],es=hr($o.record,So),Ro=function(ws){var nl=So+ws-1,Al=hr(Ra[nl].record,nl),qc=Bo(es,Al);return qc.bottom-qc.top},Ll=Bo(es);return ve.createElement(Va,{key:So,data:$o,rowKey:es,index:So,style:{top:-ns+Ll.top},extra:!0,getHeight:Ro})});return Fc},ko=ve.useMemo(function(){return{columnsOffset:ro}},[ro]),ls="".concat(Zr,"-tbody"),Fs;return Ra.length?Fs=ve.createElement(ho.Z,{fullHeight:!1,ref:_a,className:Re()(ls,"".concat(ls,"-virtual")),height:zi,itemHeight:Za||24,data:Ra,itemKey:function(Po){return hr(Po.record)},scrollWidth:Yi,onVirtualScroll:function(Po){var yo=Po.x;En({scrollLeft:yo})},extraRender:Jo},function(Ao,Po,yo){var Ba=hr(Ao.record,Po);return ve.createElement(Va,(0,Ke.Z)({data:Ao,rowKey:Ba,index:Po},yo))}):Fs=ve.createElement("div",{className:Re()("".concat(Zr,"-placeholder"))},ve.createElement(Gn,{component:"div",prefixCls:Zr},$r)),ve.createElement(ta.Provider,{value:ko},Fs)}),Ci=ze(Ii),Ha=Ci,Oa=function(Rt,fn){var En=fn.ref,Jn=fn.onScroll;return ve.createElement(Ha,{ref:En,data:Rt,onScroll:Jn})},eo=100;function Lo(Ot){var Rt=Ot.columns,fn=Ot.scroll,En=Ot.prefixCls,Jn=En===void 0?si:En,Rn=Ot.className,mr=Ot.listItemHeight,hr=fn||{},cr=hr.x,Zr=hr.y;typeof cr!="number"&&(cr=((Rt||[]).length+1)*eo),typeof Zr!="number"&&(Zr=500);var hi=ve.useMemo(function(){return{scrollY:Zr,listItemHeight:mr}},[Zr,mr]);return ve.createElement(oo.Provider,{value:hi},ve.createElement(Fa,(0,Ke.Z)({},Ot,{className:Re()(Rn,"".concat(Jn,"-virtual")),scroll:(0,Ct.Z)((0,Ct.Z)({},fn),{},{x:cr}),components:{body:Oa},columns:Rt,internalHooks:Me,tailor:!0})))}function vo(Ot){return Ye(Lo,Ot)}var jn=vo(),Oo=null;function Ks(Ot){return null}var Sa=Ks;function ga(Ot){return null}var Co=ga,Fo=de(2738),Es=de(68031),Js=de(36355),Os=de(93891),ps=de(19716),as=de(8628),ol=de(31724),fa=de(58421),la=de(71418),ia=de(88088);function Ln(Ot){return function(fn){let{prefixCls:En,onExpand:Jn,record:Rn,expanded:mr,expandable:hr}=fn;const cr=`${En}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:Zr=>{Jn(Rn,Zr),Zr.stopPropagation()},className:Re()(cr,{[`${cr}-spaced`]:!hr,[`${cr}-expanded`]:hr&&mr,[`${cr}-collapsed`]:hr&&!mr}),"aria-label":mr?Ot.collapse:Ot.expand,"aria-expanded":mr})}}var In=Ln;function Er(Ot,Rt){return"key"in Ot&&Ot.key!==void 0&&Ot.key!==null?Ot.key:Ot.dataIndex?Array.isArray(Ot.dataIndex)?Ot.dataIndex.join("."):Ot.dataIndex:Rt}function vi(Ot,Rt){return Rt?`${Rt}-${Ot}`:`${Ot}`}function ha(Ot,Rt){return typeof Ot=="function"?Ot(Rt):Ot}function Ia(Ot,Rt){const fn=ha(Ot,Rt);return Object.prototype.toString.call(fn)==="[object Object]"?"":fn}var va={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"},Ji=va,ya=de(7657),No=function(Rt,fn){return ve.createElement(ya.Z,(0,Ke.Z)({},Rt,{ref:fn,icon:Ji}))},Vo=ve.forwardRef(No),cs=Vo,Mo=de(56762);function ul(Ot){const Rt=ve.useRef(Ot),fn=(0,Mo.Z)();return[()=>Rt.current,En=>{Rt.current=En,fn()}]}var Ss=de(3113),vr=de(24905),On=de(38854),Dn=de(64165),wr=de(20834),ni=de(40875),li=de(5112),Or=de(17574),Hi=de(47472),ca=de(92832);function uo(Ot){let{value:Rt,onChange:fn,filterSearch:En,tablePrefixCls:Jn,locale:Rn}=Ot;return En?ve.createElement("div",{className:`${Jn}-filter-dropdown-search`},ve.createElement(ca.default,{prefix:ve.createElement(Hi.Z,null),placeholder:Rn.filterSearchPlaceholder,onChange:fn,value:Rt,htmlSize:1,className:`${Jn}-filter-dropdown-search-input`})):null}var Wa=uo,Ki=de(10228);const Na=Ot=>{const{keyCode:Rt}=Ot;Rt===Ki.Z.ENTER&&Ot.stopPropagation()};var rr=ve.forwardRef((Ot,Rt)=>ve.createElement("div",{className:Ot.className,onClick:fn=>fn.stopPropagation(),onKeyDown:Na,ref:Rt},Ot.children));function Kn(Ot){let Rt=[];return(Ot||[]).forEach(fn=>{let{value:En,children:Jn}=fn;Rt.push(En),Jn&&(Rt=[].concat((0,mi.Z)(Rt),(0,mi.Z)(Kn(Jn))))}),Rt}function Ja(Ot){return Ot.some(Rt=>{let{children:fn}=Rt;return fn})}function pa(Ot,Rt){return typeof Rt=="string"||typeof Rt=="number"?Rt==null?void 0:Rt.toString().toLowerCase().includes(Ot.trim().toLowerCase()):!1}function ka(Ot){let{filters:Rt,prefixCls:fn,filteredKeys:En,filterMultiple:Jn,searchValue:Rn,filterSearch:mr}=Ot;return Rt.map((hr,cr)=>{const Zr=String(hr.value);if(hr.children)return{key:Zr||cr,label:hr.text,popupClassName:`${fn}-dropdown-submenu`,children:ka({filters:hr.children,prefixCls:fn,filteredKeys:En,filterMultiple:Jn,searchValue:Rn,filterSearch:mr})};const hi=Jn?vr.default:li.ZP,$r={key:hr.value!==void 0?Zr:cr,label:ve.createElement(ve.Fragment,null,ve.createElement(hi,{checked:En.includes(Zr)}),ve.createElement("span",null,hr.text))};return Rn.trim()?typeof mr=="function"?mr(Rn,hr)?$r:null:pa(Rn,hr.text)?$r:null:$r})}function ss(Ot){var Rt,fn;const{tablePrefixCls:En,prefixCls:Jn,column:Rn,dropdownPrefixCls:mr,columnKey:hr,filterMultiple:cr,filterMode:Zr="menu",filterSearch:hi=!1,filterState:$r,triggerFilter:Yi,locale:Ri,children:zi,getPopupContainer:Za}=Ot,{filterDropdownOpen:_a,onFilterDropdownOpenChange:Ra,filterResetToDefaultFilteredValue:Da,defaultFilteredValue:ro,filterDropdownVisible:Qo,onFilterDropdownVisibleChange:Jo}=Rn,[ko,ls]=ve.useState(!1),Fs=!!($r&&(!((Rt=$r.filteredKeys)===null||Rt===void 0)&&Rt.length||$r.forceFiltered)),Ao=jo=>{ls(jo),Ra==null||Ra(jo),Jo==null||Jo(jo)},Po=(fn=_a!=null?_a:Qo)!==null&&fn!==void 0?fn:ko,yo=$r==null?void 0:$r.filteredKeys,[Ba,Bo]=ul(yo||[]),ns=jo=>{let{selectedKeys:ws}=jo;Bo(ws)},Ys=(jo,ws)=>{let{node:nl,checked:Al}=ws;ns(cr?{selectedKeys:jo}:{selectedKeys:Al&&nl.key?[nl.key]:[]})};ve.useEffect(()=>{ko&&ns({selectedKeys:yo||[]})},[yo]);const[rs,Ga]=ve.useState([]),ms=jo=>{Ga(jo)},[Is,Rl]=ve.useState(""),Ml=jo=>{const{value:ws}=jo.target;Rl(ws)};ve.useEffect(()=>{ko||Rl("")},[ko]);const Bu=jo=>{const ws=jo&&jo.length?jo:null;if(ws===null&&(!$r||!$r.filteredKeys)||(0,Le.Z)(ws,$r==null?void 0:$r.filteredKeys,!0))return null;Yi({column:Rn,key:hr,filteredKeys:ws})},Su=()=>{Ao(!1),Bu(Ba())},ks=function(){let{confirm:jo,closeDropdown:ws}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};jo&&Bu([]),ws&&Ao(!1),Rl(""),Bo(Da?(ro||[]).map(nl=>String(nl)):[])},oc=function(){let{closeDropdown:jo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};jo&&Ao(!1),Bu(Ba())},yl=jo=>{jo&&yo!==void 0&&Bo(yo||[]),Ao(jo),!jo&&!Rn.filterDropdown&&Su()},cu=Re()({[`${mr}-menu-without-submenu`]:!Ja(Rn.filters||[])}),du=jo=>{if(jo.target.checked){const ws=Kn(Rn==null?void 0:Rn.filters).map(nl=>String(nl));Bo(ws)}else Bo([])},Fc=jo=>{let{filters:ws}=jo;return(ws||[]).map((nl,Al)=>{const qc=String(nl.value),Vu={title:nl.text,key:nl.value!==void 0?qc:Al};return nl.children&&(Vu.children=Fc({filters:nl.children})),Vu})},So=jo=>{var ws;return Object.assign(Object.assign({},jo),{text:jo.title,value:jo.key,children:((ws=jo.children)===null||ws===void 0?void 0:ws.map(nl=>So(nl)))||[]})};let $o;if(typeof Rn.filterDropdown=="function")$o=Rn.filterDropdown({prefixCls:`${mr}-custom`,setSelectedKeys:jo=>ns({selectedKeys:jo}),selectedKeys:Ba(),confirm:oc,clearFilters:ks,filters:Rn.filters,visible:Po,close:()=>{Ao(!1)}});else if(Rn.filterDropdown)$o=Rn.filterDropdown;else{const jo=Ba()||[],ws=()=>(Rn.filters||[]).length===0?ve.createElement(Dn.Z,{image:Dn.Z.PRESENTED_IMAGE_SIMPLE,description:Ri.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Zr==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(Wa,{filterSearch:hi,value:Is,onChange:Ml,tablePrefixCls:En,locale:Ri}),ve.createElement("div",{className:`${En}-filter-dropdown-tree`},cr?ve.createElement(vr.default,{checked:jo.length===Kn(Rn.filters).length,indeterminate:jo.length>0&&jo.length<Kn(Rn.filters).length,className:`${En}-filter-dropdown-checkall`,onChange:du},Ri.filterCheckall):null,ve.createElement(Or.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:cr,checkStrictly:!cr,className:`${mr}-menu`,onCheck:Ys,checkedKeys:jo,selectedKeys:jo,showIcon:!1,treeData:Fc({filters:Rn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Is.trim()?Al=>typeof hi=="function"?hi(Is,So(Al)):pa(Is,Al.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(Wa,{filterSearch:hi,value:Is,onChange:Ml,tablePrefixCls:En,locale:Ri}),ve.createElement(wr.default,{selectable:!0,multiple:cr,prefixCls:`${mr}-menu`,className:cu,onSelect:ns,onDeselect:ns,selectedKeys:jo,getPopupContainer:Za,openKeys:rs,onOpenChange:ms,items:ka({filters:Rn.filters||[],filterSearch:hi,prefixCls:Jn,filteredKeys:Ba(),filterMultiple:cr,searchValue:Is})})),nl=()=>Da?(0,Le.Z)((ro||[]).map(Al=>String(Al)),jo,!0):jo.length===0;$o=ve.createElement(ve.Fragment,null,ws(),ve.createElement("div",{className:`${Jn}-dropdown-btns`},ve.createElement(Ss.ZP,{type:"link",size:"small",disabled:nl(),onClick:()=>ks()},Ri.filterReset),ve.createElement(Ss.ZP,{type:"primary",size:"small",onClick:Su},Ri.filterConfirm)))}Rn.filterDropdown&&($o=ve.createElement(ni.J,{selectable:void 0},$o));const es=()=>ve.createElement(rr,{className:`${Jn}-dropdown`},$o);let Ro;typeof Rn.filterIcon=="function"?Ro=Rn.filterIcon(Fs):Rn.filterIcon?Ro=Rn.filterIcon:Ro=ve.createElement(cs,null);const{direction:Ll}=ve.useContext(Js.E_);return ve.createElement("div",{className:`${Jn}-column`},ve.createElement("span",{className:`${En}-column-title`},zi),ve.createElement(On.Z,{dropdownRender:es,trigger:["click"],open:Po,onOpenChange:yl,getPopupContainer:Za,placement:Ll==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:Re()(`${Jn}-trigger`,{active:Fs}),onClick:jo=>{jo.stopPropagation()}},Ro)))}var qs=ss;function tl(Ot,Rt,fn){let En=[];return(Ot||[]).forEach((Jn,Rn)=>{var mr;const hr=vi(Rn,fn);if(Jn.filters||"filterDropdown"in Jn||"onFilter"in Jn)if("filteredValue"in Jn){let cr=Jn.filteredValue;"filterDropdown"in Jn||(cr=(mr=cr==null?void 0:cr.map(String))!==null&&mr!==void 0?mr:cr),En.push({column:Jn,key:Er(Jn,hr),filteredKeys:cr,forceFiltered:Jn.filtered})}else En.push({column:Jn,key:Er(Jn,hr),filteredKeys:Rt&&Jn.defaultFilteredValue?Jn.defaultFilteredValue:void 0,forceFiltered:Jn.filtered});"children"in Jn&&(En=[].concat((0,mi.Z)(En),(0,mi.Z)(tl(Jn.children,Rt,hr))))}),En}function eu(Ot,Rt,fn,En,Jn,Rn,mr,hr){return fn.map((cr,Zr)=>{const hi=vi(Zr,hr),{filterMultiple:$r=!0,filterMode:Yi,filterSearch:Ri}=cr;let zi=cr;if(zi.filters||zi.filterDropdown){const Za=Er(zi,hi),_a=En.find(Ra=>{let{key:Da}=Ra;return Za===Da});zi=Object.assign(Object.assign({},zi),{title:Ra=>ve.createElement(qs,{tablePrefixCls:Ot,prefixCls:`${Ot}-filter`,dropdownPrefixCls:Rt,column:zi,columnKey:Za,filterState:_a,filterMultiple:$r,filterMode:Yi,filterSearch:Ri,triggerFilter:Rn,locale:Jn,getPopupContainer:mr},ha(cr.title,Ra))})}return"children"in zi&&(zi=Object.assign(Object.assign({},zi),{children:eu(Ot,Rt,zi.children,En,Jn,Rn,mr,hi)})),zi})}function nu(Ot){const Rt={};return Ot.forEach(fn=>{let{key:En,filteredKeys:Jn,column:Rn}=fn;const{filters:mr,filterDropdown:hr}=Rn;if(hr)Rt[En]=Jn||null;else if(Array.isArray(Jn)){const cr=Kn(mr);Rt[En]=cr.filter(Zr=>Jn.includes(String(Zr)))}else Rt[En]=null}),Rt}function Fu(Ot,Rt){return Rt.reduce((fn,En)=>{const{column:{onFilter:Jn,filters:Rn},filteredKeys:mr}=En;return Jn&&mr&&mr.length?fn.filter(hr=>mr.some(cr=>{const Zr=Kn(Rn),hi=Zr.findIndex(Yi=>String(Yi)===String(cr)),$r=hi!==-1?Zr[hi]:cr;return Jn($r,hr)})):fn},Ot)}const wl=Ot=>Ot.flatMap(Rt=>"children"in Rt?[Rt].concat((0,mi.Z)(wl(Rt.children||[]))):[Rt]);function Vl(Ot){let{prefixCls:Rt,dropdownPrefixCls:fn,mergedColumns:En,onFilterChange:Jn,getPopupContainer:Rn,locale:mr}=Ot;const hr=ve.useMemo(()=>wl(En||[]),[En]),[cr,Zr]=ve.useState(()=>tl(hr,!0)),hi=ve.useMemo(()=>{const zi=tl(hr,!1);if(zi.length===0)return zi;let Za=!0,_a=!0;if(zi.forEach(Ra=>{let{filteredKeys:Da}=Ra;Da!==void 0?Za=!1:_a=!1}),Za){const Ra=(hr||[]).map((Da,ro)=>Er(Da,vi(ro)));return cr.filter(Da=>{let{key:ro}=Da;return Ra.includes(ro)}).map(Da=>{const ro=hr[Ra.findIndex(Qo=>Qo===Da.key)];return Object.assign(Object.assign({},Da),{column:Object.assign(Object.assign({},Da.column),ro),forceFiltered:ro.filtered})})}return zi},[hr,cr]),$r=ve.useMemo(()=>nu(hi),[hi]),Yi=zi=>{const Za=hi.filter(_a=>{let{key:Ra}=_a;return Ra!==zi.key});Za.push(zi),Zr(Za),Jn(nu(Za),Za)};return[zi=>eu(Rt,fn,zi,hi,mr,Yi,Rn),hi,$r]}var Io=Vl;function Xo(Ot,Rt,fn){const En=ve.useRef({});function Jn(Rn){if(!En.current||En.current.data!==Ot||En.current.childrenColumnName!==Rt||En.current.getRowKey!==fn){let hr=function(cr){cr.forEach((Zr,hi)=>{const $r=fn(Zr,hi);mr.set($r,Zr),Zr&&typeof Zr=="object"&&Rt in Zr&&hr(Zr[Rt]||[])})};const mr=new Map;hr(Ot),En.current={data:Ot,childrenColumnName:Rt,kvMap:mr,getRowKey:fn}}return En.current.kvMap.get(Rn)}return[Jn]}var Pl=de(50371),Tl=function(Ot,Rt){var fn={};for(var En in Ot)Object.prototype.hasOwnProperty.call(Ot,En)&&Rt.indexOf(En)<0&&(fn[En]=Ot[En]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,En=Object.getOwnPropertySymbols(Ot);Jn<En.length;Jn++)Rt.indexOf(En[Jn])<0&&Object.prototype.propertyIsEnumerable.call(Ot,En[Jn])&&(fn[En[Jn]]=Ot[En[Jn]]);return fn};const ml=10;function Wo(Ot,Rt){const fn={current:Ot.current,pageSize:Ot.pageSize};return Object.keys(Rt&&typeof Rt=="object"?Rt:{}).forEach(Jn=>{const Rn=Ot[Jn];typeof Rn!="function"&&(fn[Jn]=Rn)}),fn}function js(Ot,Rt,fn){const En=fn&&typeof fn=="object"?fn:{},{total:Jn=0}=En,Rn=Tl(En,["total"]),[mr,hr]=(0,ve.useState)(()=>({current:"defaultCurrent"in Rn?Rn.defaultCurrent:1,pageSize:"defaultPageSize"in Rn?Rn.defaultPageSize:ml})),cr=(0,Pl.Z)(mr,Rn,{total:Jn>0?Jn:Ot}),Zr=Math.ceil((Jn||Ot)/cr.pageSize);cr.current>Zr&&(cr.current=Zr||1);const hi=(Yi,Ri)=>{hr({current:Yi!=null?Yi:1,pageSize:Ri||cr.pageSize})},$r=(Yi,Ri)=>{var zi;fn&&((zi=fn.onChange)===null||zi===void 0||zi.call(fn,Yi,Ri)),hi(Yi,Ri),Rt(Yi,Ri||(cr==null?void 0:cr.pageSize))};return fn===!1?[{},()=>{}]:[Object.assign(Object.assign({},cr),{onChange:$r}),hi]}var zu=js,mc=de(84105),cl=de(35654),ys=de(90782),bs=de(71430),Xl=de(18929);const gl={},kl="SELECT_ALL",vl="SELECT_INVERT",Vs="SELECT_NONE",Gl=[],ic=(Ot,Rt)=>{let fn=[];return(Rt||[]).forEach(En=>{fn.push(En),En&&typeof En=="object"&&Ot in En&&(fn=[].concat((0,mi.Z)(fn),(0,mi.Z)(ic(Ot,En[Ot]))))}),fn};var Jl=(Ot,Rt)=>{const{preserveSelectedRowKeys:fn,selectedRowKeys:En,defaultSelectedRowKeys:Jn,getCheckboxProps:Rn,onChange:mr,onSelect:hr,onSelectAll:cr,onSelectInvert:Zr,onSelectNone:hi,onSelectMultiple:$r,columnWidth:Yi,type:Ri,selections:zi,fixed:Za,renderCell:_a,hideSelectAll:Ra,checkStrictly:Da=!0}=Rt||{},{prefixCls:ro,data:Qo,pageData:Jo,getRecordByKey:ko,getRowKey:ls,expandType:Fs,childrenColumnName:Ao,locale:Po,getPopupContainer:yo}=Ot,[Ba,Bo]=(0,Xl.Z)(En||Jn||Gl,{value:En}),ns=ve.useRef(new Map),Ys=(0,ve.useCallback)(So=>{if(fn){const $o=new Map;So.forEach(es=>{let Ro=ko(es);!Ro&&ns.current.has(es)&&(Ro=ns.current.get(es)),$o.set(es,Ro)}),ns.current=$o}},[ko,fn]);ve.useEffect(()=>{Ys(Ba)},[Ba]);const{keyEntities:rs}=(0,ve.useMemo)(()=>{if(Da)return{keyEntities:null};let So=Qo;if(fn){const $o=new Set(Qo.map((Ro,Ll)=>ls(Ro,Ll))),es=Array.from(ns.current).reduce((Ro,Ll)=>{let[jo,ws]=Ll;return $o.has(jo)?Ro:Ro.concat(ws)},[]);So=[].concat((0,mi.Z)(So),(0,mi.Z)(es))}return(0,bs.I8)(So,{externalGetKey:ls,childrenPropName:Ao})},[Qo,ls,Da,Ao,fn]),Ga=(0,ve.useMemo)(()=>ic(Ao,Jo),[Ao,Jo]),ms=(0,ve.useMemo)(()=>{const So=new Map;return Ga.forEach(($o,es)=>{const Ro=ls($o,es),Ll=(Rn?Rn($o):null)||{};So.set(Ro,Ll)}),So},[Ga,ls,Rn]),Is=(0,ve.useCallback)(So=>{var $o;return!!(!(($o=ms.get(ls(So)))===null||$o===void 0)&&$o.disabled)},[ms,ls]),[Rl,Ml]=(0,ve.useMemo)(()=>{if(Da)return[Ba||[],[]];const{checkedKeys:So,halfCheckedKeys:$o}=(0,ys.S)(Ba,!0,rs,Is);return[So||[],$o]},[Ba,Da,rs,Is]),Bu=(0,ve.useMemo)(()=>{const So=Ri==="radio"?Rl.slice(0,1):Rl;return new Set(So)},[Rl,Ri]),Su=(0,ve.useMemo)(()=>Ri==="radio"?new Set:new Set(Ml),[Ml,Ri]),[ks,oc]=(0,ve.useState)(null);ve.useEffect(()=>{Rt||Bo(Gl)},[!!Rt]);const yl=(0,ve.useCallback)((So,$o)=>{let es,Ro;Ys(So),fn?(es=So,Ro=So.map(Ll=>ns.current.get(Ll))):(es=[],Ro=[],So.forEach(Ll=>{const jo=ko(Ll);jo!==void 0&&(es.push(Ll),Ro.push(jo))})),Bo(es),mr==null||mr(es,Ro,{type:$o})},[Bo,ko,mr,fn]),cu=(0,ve.useCallback)((So,$o,es,Ro)=>{if(hr){const Ll=es.map(jo=>ko(jo));hr(ko(So),$o,Ll,Ro)}yl(es,"single")},[hr,ko,yl]),du=(0,ve.useMemo)(()=>!zi||Ra?null:(zi===!0?[kl,vl,Vs]:zi).map($o=>$o===kl?{key:"all",text:Po.selectionAll,onSelect(){yl(Qo.map((es,Ro)=>ls(es,Ro)).filter(es=>{const Ro=ms.get(es);return!(Ro!=null&&Ro.disabled)||Bu.has(es)}),"all")}}:$o===vl?{key:"invert",text:Po.selectInvert,onSelect(){const es=new Set(Bu);Jo.forEach((Ll,jo)=>{const ws=ls(Ll,jo),nl=ms.get(ws);nl!=null&&nl.disabled||(es.has(ws)?es.delete(ws):es.add(ws))});const Ro=Array.from(es);Zr&&Zr(Ro),yl(Ro,"invert")}}:$o===Vs?{key:"none",text:Po.selectNone,onSelect(){hi==null||hi(),yl(Array.from(Bu).filter(es=>{const Ro=ms.get(es);return Ro==null?void 0:Ro.disabled}),"none")}}:$o).map($o=>Object.assign(Object.assign({},$o),{onSelect:function(){for(var es,Ro,Ll=arguments.length,jo=new Array(Ll),ws=0;ws<Ll;ws++)jo[ws]=arguments[ws];(Ro=$o.onSelect)===null||Ro===void 0||(es=Ro).call.apply(es,[$o].concat(jo)),oc(null)}})),[zi,Bu,Jo,ls,Zr,yl]);return[(0,ve.useCallback)(So=>{var $o;if(!Rt)return So.filter(bl=>bl!==gl);let es=(0,mi.Z)(So);const Ro=new Set(Bu),Ll=Ga.map(ls).filter(bl=>!ms.get(bl).disabled),jo=Ll.every(bl=>Ro.has(bl)),ws=Ll.some(bl=>Ro.has(bl)),nl=()=>{const bl=[];jo?Ll.forEach(Ql=>{Ro.delete(Ql),bl.push(Ql)}):Ll.forEach(Ql=>{Ro.has(Ql)||(Ro.add(Ql),bl.push(Ql))});const aa=Array.from(Ro);cr==null||cr(!jo,aa.map(Ql=>ko(Ql)),bl.map(Ql=>ko(Ql))),yl(aa,"all"),oc(null)};let Al;if(Ri!=="radio"){let bl;if(du){const fs={getPopupContainer:yo,items:du.map((ql,Pc)=>{const{key:Md,text:bd,onSelect:Tc}=ql;return{key:Md!=null?Md:Pc,onClick:()=>{Tc==null||Tc(Ll)},label:bd}})};bl=ve.createElement("div",{className:`${ro}-selection-extra`},ve.createElement(On.Z,{menu:fs,getPopupContainer:yo},ve.createElement("span",null,ve.createElement(mc.Z,null))))}const aa=Ga.map((fs,ql)=>{const Pc=ls(fs,ql),Md=ms.get(Pc)||{};return Object.assign({checked:Ro.has(Pc)},Md)}).filter(fs=>{let{disabled:ql}=fs;return ql}),Ql=!!aa.length&&aa.length===Ga.length,yc=Ql&&aa.every(fs=>{let{checked:ql}=fs;return ql}),_u=Ql&&aa.some(fs=>{let{checked:ql}=fs;return ql});Al=!Ra&&ve.createElement("div",{className:`${ro}-selection`},ve.createElement(vr.default,{checked:Ql?yc:!!Ga.length&&jo,indeterminate:Ql?!yc&&_u:!jo&&ws,onChange:nl,disabled:Ga.length===0||Ql,"aria-label":bl?"Custom selection":"Select all",skipGroup:!0}),bl)}let qc;Ri==="radio"?qc=(bl,aa,Ql)=>{const yc=ls(aa,Ql),_u=Ro.has(yc);return{node:ve.createElement(li.ZP,Object.assign({},ms.get(yc),{checked:_u,onClick:fs=>fs.stopPropagation(),onChange:fs=>{Ro.has(yc)||cu(yc,!0,[yc],fs.nativeEvent)}})),checked:_u}}:qc=(bl,aa,Ql)=>{var yc;const _u=ls(aa,Ql),fs=Ro.has(_u),ql=Su.has(_u),Pc=ms.get(_u);let Md;return Fs==="nest"?Md=ql:Md=(yc=Pc==null?void 0:Pc.indeterminate)!==null&&yc!==void 0?yc:ql,{node:ve.createElement(vr.default,Object.assign({},Pc,{indeterminate:Md,checked:fs,skipGroup:!0,onClick:bd=>bd.stopPropagation(),onChange:bd=>{let{nativeEvent:Tc}=bd;const{shiftKey:Gu}=Tc;let vA=-1,Qc=-1;if(Gu&&Da){const Yu=new Set([ks,_u]);Ll.some((Rc,Iu)=>{if(Yu.has(Rc))if(vA===-1)vA=Iu;else return Qc=Iu,!0;return!1})}if(Qc!==-1&&vA!==Qc&&Da){const Yu=Ll.slice(vA,Qc+1),Rc=[];fs?Yu.forEach(Tu=>{Ro.has(Tu)&&(Rc.push(Tu),Ro.delete(Tu))}):Yu.forEach(Tu=>{Ro.has(Tu)||(Rc.push(Tu),Ro.add(Tu))});const Iu=Array.from(Ro);$r==null||$r(!fs,Iu.map(Tu=>ko(Tu)),Rc.map(Tu=>ko(Tu))),yl(Iu,"multiple")}else{const Yu=Rl;if(Da){const Rc=fs?(0,cl._5)(Yu,_u):(0,cl.L0)(Yu,_u);cu(_u,!fs,Rc,Tc)}else{const Rc=(0,ys.S)([].concat((0,mi.Z)(Yu),[_u]),!0,rs,Is),{checkedKeys:Iu,halfCheckedKeys:Tu}=Rc;let rd=Iu;if(fs){const oA=new Set(Iu);oA.delete(_u),rd=(0,ys.S)(Array.from(oA),{checked:!1,halfCheckedKeys:Tu},rs,Is).checkedKeys}cu(_u,!fs,rd,Tc)}}oc(fs?null:_u)}})),checked:fs}};const Vu=(bl,aa,Ql)=>{const{node:yc,checked:_u}=qc(bl,aa,Ql);return _a?_a(_u,aa,Ql,yc):yc};if(!es.includes(gl))if(es.findIndex(bl=>{var aa;return((aa=bl[Sr])===null||aa===void 0?void 0:aa.columnType)==="EXPAND_COLUMN"})===0){const[bl,...aa]=es;es=[bl,gl].concat((0,mi.Z)(aa))}else es=[gl].concat((0,mi.Z)(es));const Pd=es.indexOf(gl);es=es.filter((bl,aa)=>bl!==gl||aa===Pd);const ec=es[Pd-1],Td=es[Pd+1];let to=Za;to===void 0&&((Td==null?void 0:Td.fixed)!==void 0?to=Td.fixed:(ec==null?void 0:ec.fixed)!==void 0&&(to=ec.fixed)),to&&ec&&(($o=ec[Sr])===null||$o===void 0?void 0:$o.columnType)==="EXPAND_COLUMN"&&ec.fixed===void 0&&(ec.fixed=to);const Nc=Re()(`${ro}-selection-col`,{[`${ro}-selection-col-with-dropdown`]:zi&&Ri==="checkbox"}),ZA={fixed:to,width:Yi,className:`${ro}-selection-column`,title:Rt.columnTitle||Al,render:Vu,onCell:Rt.onCell,[Sr]:{className:Nc}};return es.map(bl=>bl===gl?ZA:bl)},[ls,Ga,Rt,Rl,Bu,Su,Yi,du,Fs,ks,ms,$r,cu,Is]),Bu]},ku=de(89489),qu=de(59477),Hc=de(6848);const Cu="ascend",nA="descend";function kd(Ot){return typeof Ot.sorter=="object"&&typeof Ot.sorter.multiple=="number"?Ot.sorter.multiple:!1}function gd(Ot){return typeof Ot=="function"?Ot:Ot&&typeof Ot=="object"&&Ot.compare?Ot.compare:!1}function uf(Ot,Rt){return Rt?Ot[Ot.indexOf(Rt)+1]:Ot[0]}function ud(Ot,Rt,fn){let En=[];function Jn(Rn,mr){En.push({column:Rn,key:Er(Rn,mr),multiplePriority:kd(Rn),sortOrder:Rn.sortOrder})}return(Ot||[]).forEach((Rn,mr)=>{const hr=vi(mr,fn);Rn.children?("sortOrder"in Rn&&Jn(Rn,hr),En=[].concat((0,mi.Z)(En),(0,mi.Z)(ud(Rn.children,Rt,hr)))):Rn.sorter&&("sortOrder"in Rn?Jn(Rn,hr):Rt&&Rn.defaultSortOrder&&En.push({column:Rn,key:Er(Rn,hr),multiplePriority:kd(Rn),sortOrder:Rn.defaultSortOrder}))}),En}function pA(Ot,Rt,fn,En,Jn,Rn,mr,hr){return(Rt||[]).map((cr,Zr)=>{const hi=vi(Zr,hr);let $r=cr;if($r.sorter){const Yi=$r.sortDirections||Jn,Ri=$r.showSorterTooltip===void 0?mr:$r.showSorterTooltip,zi=Er($r,hi),Za=fn.find(Fs=>{let{key:Ao}=Fs;return Ao===zi}),_a=Za?Za.sortOrder:null,Ra=uf(Yi,_a);let Da;if(cr.sortIcon)Da=cr.sortIcon({sortOrder:_a});else{const Fs=Yi.includes(Cu)&&ve.createElement(qu.Z,{className:Re()(`${Ot}-column-sorter-up`,{active:_a===Cu})}),Ao=Yi.includes(nA)&&ve.createElement(ku.Z,{className:Re()(`${Ot}-column-sorter-down`,{active:_a===nA})});Da=ve.createElement("span",{className:Re()(`${Ot}-column-sorter`,{[`${Ot}-column-sorter-full`]:!!(Fs&&Ao)})},ve.createElement("span",{className:`${Ot}-column-sorter-inner`,"aria-hidden":"true"},Fs,Ao))}const{cancelSort:ro,triggerAsc:Qo,triggerDesc:Jo}=Rn||{};let ko=ro;Ra===nA?ko=Jo:Ra===Cu&&(ko=Qo);const ls=typeof Ri=="object"?Ri:{title:ko};$r=Object.assign(Object.assign({},$r),{className:Re()($r.className,{[`${Ot}-column-sort`]:_a}),title:Fs=>{const Ao=ve.createElement("div",{className:`${Ot}-column-sorters`},ve.createElement("span",{className:`${Ot}-column-title`},ha(cr.title,Fs)),Da);return Ri?ve.createElement(Hc.Z,Object.assign({},ls),Ao):Ao},onHeaderCell:Fs=>{const Ao=cr.onHeaderCell&&cr.onHeaderCell(Fs)||{},Po=Ao.onClick,yo=Ao.onKeyDown;Ao.onClick=ns=>{En({column:cr,key:zi,sortOrder:Ra,multiplePriority:kd(cr)}),Po==null||Po(ns)},Ao.onKeyDown=ns=>{ns.keyCode===Ki.Z.ENTER&&(En({column:cr,key:zi,sortOrder:Ra,multiplePriority:kd(cr)}),yo==null||yo(ns))};const Ba=Ia(cr.title,{}),Bo=Ba==null?void 0:Ba.toString();return _a?Ao["aria-sort"]=_a==="ascend"?"ascending":"descending":Ao["aria-label"]=Bo||"",Ao.className=Re()(Ao.className,`${Ot}-column-has-sorters`),Ao.tabIndex=0,cr.ellipsis&&(Ao.title=(Ba!=null?Ba:"").toString()),Ao}})}return"children"in $r&&($r=Object.assign(Object.assign({},$r),{children:pA(Ot,$r.children,fn,En,Jn,Rn,mr,hi)})),$r})}function lc(Ot){const{column:Rt,sortOrder:fn}=Ot;return{column:Rt,order:fn,field:Rt.dataIndex,columnKey:Rt.key}}function _d(Ot){const Rt=Ot.filter(fn=>{let{sortOrder:En}=fn;return En}).map(lc);return Rt.length===0&&Ot.length?Object.assign(Object.assign({},lc(Ot[Ot.length-1])),{column:void 0}):Rt.length<=1?Rt[0]||{}:Rt}function ki(Ot,Rt,fn){const En=Rt.slice().sort((mr,hr)=>hr.multiplePriority-mr.multiplePriority),Jn=Ot.slice(),Rn=En.filter(mr=>{let{column:{sorter:hr},sortOrder:cr}=mr;return gd(hr)&&cr});return Rn.length?Jn.sort((mr,hr)=>{for(let cr=0;cr<Rn.length;cr+=1){const Zr=Rn[cr],{column:{sorter:hi},sortOrder:$r}=Zr,Yi=gd(hi);if(Yi&&$r){const Ri=Yi(mr,hr,$r);if(Ri!==0)return $r===Cu?Ri:-Ri}}return 0}).map(mr=>{const hr=mr[fn];return hr?Object.assign(Object.assign({},mr),{[fn]:ki(hr,Rt,fn)}):mr}):Jn}function lo(Ot){let{prefixCls:Rt,mergedColumns:fn,onSorterChange:En,sortDirections:Jn,tableLocale:Rn,showSorterTooltip:mr}=Ot;const[hr,cr]=ve.useState(ud(fn,!0)),Zr=ve.useMemo(()=>{let zi=!0;const Za=ud(fn,!1);if(!Za.length)return hr;const _a=[];function Ra(ro){zi?_a.push(ro):_a.push(Object.assign(Object.assign({},ro),{sortOrder:null}))}let Da=null;return Za.forEach(ro=>{Da===null?(Ra(ro),ro.sortOrder&&(ro.multiplePriority===!1?zi=!1:Da=!0)):(Da&&ro.multiplePriority!==!1||(zi=!1),Ra(ro))}),_a},[fn,hr]),hi=ve.useMemo(()=>{const zi=Zr.map(Za=>{let{column:_a,sortOrder:Ra}=Za;return{column:_a,order:Ra}});return{sortColumns:zi,sortColumn:zi[0]&&zi[0].column,sortOrder:zi[0]&&zi[0].order}},[Zr]);function $r(zi){let Za;zi.multiplePriority===!1||!Zr.length||Zr[0].multiplePriority===!1?Za=[zi]:Za=[].concat((0,mi.Z)(Zr.filter(_a=>{let{key:Ra}=_a;return Ra!==zi.key})),[zi]),cr(Za),En(_d(Za),Za)}return[zi=>pA(Rt,zi,Zr,$r,Jn,Rn,mr),Zr,hi,()=>_d(Zr)]}function fi(Ot,Rt){return Ot.map(fn=>{const En=Object.assign({},fn);return En.title=ha(fn.title,Rt),"children"in En&&(En.children=fi(En.children,Rt)),En})}function To(Ot){return[ve.useCallback(fn=>fi(fn,Ot),[Ot])]}var ds=$a((Ot,Rt)=>{const{_renderTimes:fn}=Ot,{_renderTimes:En}=Rt;return fn!==En}),mu=vo((Ot,Rt)=>{const{_renderTimes:fn}=Ot,{_renderTimes:En}=Rt;return fn!==En}),gu=de(64993),_l=de(17313),Bc=de(83116),Lc=de(37613),dl=Ot=>{const{componentCls:Rt}=Ot,fn=`${Ot.lineWidth}px ${Ot.lineType} ${Ot.tableBorderColor}`,En=(Jn,Rn,mr)=>({[`&${Rt}-${Jn}`]:{[`> ${Rt}-container`]:{[`> ${Rt}-content, > ${Rt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Rt}-expanded-row-fixed`]:{margin:`-${Rn}px -${mr+Ot.lineWidth}px`}}}}}});return{[`${Rt}-wrapper`]:{[`${Rt}${Rt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Rt}-title`]:{border:fn,borderBottom:0},[`> ${Rt}-container`]:{borderInlineStart:fn,borderTop:fn,[`
> ${Rt}-content,
> ${Rt}-header,
> ${Rt}-body,
> ${Rt}-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:fn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:fn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Rt}-cell-fix-right-first::after`]:{borderInlineEnd:fn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Rt}-expanded-row-fixed`]:{margin:`-${Ot.tablePaddingVertical}px -${Ot.tablePaddingHorizontal+Ot.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ot.lineWidth,bottom:0,borderInlineEnd:fn,content:'""'}}}}}},[`&${Rt}-scroll-horizontal`]:{[`> ${Rt}-container > ${Rt}-body`]:{"> table > tbody":{[`
> tr${Rt}-expanded-row,
> tr${Rt}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},En("middle",Ot.tablePaddingVerticalMiddle,Ot.tablePaddingHorizontalMiddle)),En("small",Ot.tablePaddingVerticalSmall,Ot.tablePaddingHorizontalSmall)),{[`> ${Rt}-footer`]:{border:fn,borderTop:0}}),[`${Rt}-cell`]:{[`${Rt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ot.lineWidth}px 0 ${Ot.lineWidth}px ${Ot.tableHeaderBg}`}},[`${Rt}-bordered ${Rt}-cell-scrollbar`]:{borderInlineEnd:fn}}}},Ms=Ot=>{const{componentCls:Rt}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-cell-ellipsis`]:Object.assign(Object.assign({},_l.vS),{wordBreak:"keep-all",[`
&${Rt}-cell-fix-left-last,
&${Rt}-cell-fix-right-first
`]:{overflow:"visible",[`${Rt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Rt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},gc=Ot=>{const{componentCls:Rt}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-tbody > tr${Rt}-placeholder`]:{textAlign:"center",color:Ot.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ot.colorBgContainer}}}}},Zu=de(15969),vd=Ot=>{const{componentCls:Rt,antCls:fn,controlInteractiveSize:En,motionDurationSlow:Jn,lineWidth:Rn,paddingXS:mr,lineType:hr,tableBorderColor:cr,tableExpandIconBg:Zr,tableExpandColumnWidth:hi,borderRadius:$r,fontSize:Yi,fontSizeSM:Ri,lineHeight:zi,tablePaddingVertical:Za,tablePaddingHorizontal:_a,tableExpandedRowBg:Ra,paddingXXS:Da}=Ot,ro=En/2-Rn,Qo=ro*2+Rn*3,Jo=`${Rn}px ${hr} ${cr}`,ko=Da-Rn;return{[`${Rt}-wrapper`]:{[`${Rt}-expand-icon-col`]:{width:hi},[`${Rt}-row-expand-icon-cell`]:{textAlign:"center",[`${Rt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Rt}-row-indent`]:{height:1,float:"left"},[`${Rt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Zu.N)(Ot)),{position:"relative",float:"left",boxSizing:"border-box",width:Qo,height:Qo,padding:0,color:"inherit",lineHeight:`${Qo}px`,background:Zr,border:Jo,borderRadius:$r,transform:`scale(${En/Qo})`,transition:`all ${Jn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Jn} ease-out`,content:'""'},"&::before":{top:ro,insetInlineEnd:ko,insetInlineStart:ko,height:Rn},"&::after":{top:ko,bottom:ko,insetInlineStart:ro,width:Rn,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"}}),[`${Rt}-row-indent + ${Rt}-row-expand-icon`]:{marginTop:(Yi*zi-Rn*3)/2-Math.ceil((Ri*1.4-Rn*3)/2),marginInlineEnd:mr},[`tr${Rt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ra}},[`${fn}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Rt}-expanded-row-fixed`]:{position:"relative",margin:`-${Za}px -${_a}px`,padding:`${Za}px ${_a}px`}}}},ac=Ot=>{const{componentCls:Rt,antCls:fn,iconCls:En,tableFilterDropdownWidth:Jn,tableFilterDropdownSearchWidth:Rn,paddingXXS:mr,paddingXS:hr,colorText:cr,lineWidth:Zr,lineType:hi,tableBorderColor:$r,tableHeaderIconColor:Yi,fontSizeSM:Ri,tablePaddingHorizontal:zi,borderRadius:Za,motionDurationSlow:_a,colorTextDescription:Ra,colorPrimary:Da,tableHeaderFilterActiveBg:ro,colorTextDisabled:Qo,tableFilterDropdownBg:Jo,tableFilterDropdownHeight:ko,controlItemBgHover:ls,controlItemBgActive:Fs,boxShadowSecondary:Ao,filterDropdownMenuBg:Po}=Ot,yo=`${fn}-dropdown`,Ba=`${Rt}-filter-dropdown`,Bo=`${fn}-tree`,ns=`${Zr}px ${hi} ${$r}`;return[{[`${Rt}-wrapper`]:{[`${Rt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Rt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-mr,marginInline:`${mr}px ${-zi/2}px`,padding:`0 ${mr}px`,color:Yi,fontSize:Ri,borderRadius:Za,cursor:"pointer",transition:`all ${_a}`,"&:hover":{color:Ra,background:ro},"&.active":{color:Da}}}},{[`${fn}-dropdown`]:{[Ba]:Object.assign(Object.assign({},(0,_l.Wf)(Ot)),{minWidth:Jn,backgroundColor:Jo,borderRadius:Za,boxShadow:Ao,overflow:"hidden",[`${yo}-menu`]:{maxHeight:ko,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Po,"&:empty::after":{display:"block",padding:`${hr}px 0`,color:Qo,fontSize:Ri,textAlign:"center",content:'"Not Found"'}},[`${Ba}-tree`]:{paddingBlock:`${hr}px 0`,paddingInline:hr,[Bo]:{padding:0},[`${Bo}-treenode ${Bo}-node-content-wrapper:hover`]:{backgroundColor:ls},[`${Bo}-treenode-checkbox-checked ${Bo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Fs}}},[`${Ba}-search`]:{padding:hr,borderBottom:ns,"&-input":{input:{minWidth:Rn},[En]:{color:Qo}}},[`${Ba}-checkall`]:{width:"100%",marginBottom:mr,marginInlineStart:mr},[`${Ba}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${hr-Zr}px ${hr}px`,overflow:"hidden",borderTop:ns}})}},{[`${fn}-dropdown ${Ba}, ${Ba}-submenu`]:{[`${fn}-checkbox-wrapper + span`]:{paddingInlineStart:hr,color:cr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Nu=Ot=>{const{componentCls:Rt,lineWidth:fn,colorSplit:En,motionDurationSlow:Jn,zIndexTableFixed:Rn,tableBg:mr,zIndexTableSticky:hr}=Ot,cr=En;return{[`${Rt}-wrapper`]:{[`
${Rt}-cell-fix-left,
${Rt}-cell-fix-right
`]:{position:"sticky !important",zIndex:Rn,background:mr},[`
${Rt}-cell-fix-left-first::after,
${Rt}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-fn,width:30,transform:"translateX(100%)",transition:`box-shadow ${Jn}`,content:'""',pointerEvents:"none"},[`${Rt}-cell-fix-left-all::after`]:{display:"none"},[`
${Rt}-cell-fix-right-first::after,
${Rt}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-fn,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Jn}`,content:'""',pointerEvents:"none"},[`${Rt}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:hr+1,width:30,transition:`box-shadow ${Jn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Rt}-ping-left`]:{[`&:not(${Rt}-has-fix-left) ${Rt}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${cr}`}},[`
${Rt}-cell-fix-left-first::after,
${Rt}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${cr}`},[`${Rt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Rt}-ping-right`]:{[`&:not(${Rt}-has-fix-right) ${Rt}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${cr}`}},[`
${Rt}-cell-fix-right-first::after,
${Rt}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${cr}`}}}}},$u=Ot=>{const{componentCls:Rt,antCls:fn}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-pagination${fn}-pagination`]:{margin:`${Ot.margin}px 0`},[`${Rt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ot.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Oc=Ot=>{const{componentCls:Rt,tableRadius:fn}=Ot;return{[`${Rt}-wrapper`]:{[Rt]:{[`${Rt}-title, ${Rt}-header`]:{borderRadius:`${fn}px ${fn}px 0 0`},[`${Rt}-title + ${Rt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Rt}-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:fn,borderStartEndRadius:fn,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:fn},"> *:last-child":{borderStartEndRadius:fn}}},"&-footer":{borderRadius:`0 0 ${fn}px ${fn}px`}}}}},nh=Ot=>{const{componentCls:Rt}=Ot;return{[`${Rt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Rt}-pagination-left`]:{justifyContent:"flex-end"},[`${Rt}-pagination-right`]:{justifyContent:"flex-start"},[`${Rt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Rt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Rt}-row-indent`]:{float:"right"}}}}},Bh=Ot=>{const{componentCls:Rt,antCls:fn,iconCls:En,fontSizeIcon:Jn,padding:Rn,paddingXS:mr,tableHeaderIconColor:hr,tableHeaderIconColorHover:cr,tableSelectionColumnWidth:Zr}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-selection-col`]:{width:Zr,[`&${Rt}-selection-col-with-dropdown`]:{width:Zr+Jn+Rn/4}},[`${Rt}-bordered ${Rt}-selection-col`]:{width:Zr+mr*2,[`&${Rt}-selection-col-with-dropdown`]:{width:Zr+Jn+Rn/4+mr*2}},[`
table tr th${Rt}-selection-column,
table tr td${Rt}-selection-column
`]:{paddingInlineEnd:Ot.paddingXS,paddingInlineStart:Ot.paddingXS,textAlign:"center",[`${fn}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Rt}-selection-column${Rt}-cell-fix-left`]:{zIndex:Ot.zIndexTableFixed+1},[`table tr th${Rt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Rt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Rt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ot.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ot.tablePaddingHorizontal/4}px`,[En]:{color:hr,fontSize:Jn,verticalAlign:"baseline","&:hover":{color:cr}}}}}},zA=Ot=>{const{componentCls:Rt}=Ot,fn=(En,Jn,Rn,mr)=>({[`${Rt}${Rt}-${En}`]:{fontSize:mr,[`
${Rt}-title,
${Rt}-footer,
${Rt}-cell,
${Rt}-thead > tr > th,
${Rt}-tbody > tr > th,
${Rt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Jn}px ${Rn}px`},[`${Rt}-filter-trigger`]:{marginInlineEnd:`-${Rn/2}px`},[`${Rt}-expanded-row-fixed`]:{margin:`-${Jn}px -${Rn}px`},[`${Rt}-tbody`]:{[`${Rt}-wrapper:only-child ${Rt}`]:{marginBlock:`-${Jn}px`,marginInline:`${Ot.tableExpandColumnWidth-Rn}px -${Rn}px`}},[`${Rt}-selection-column`]:{paddingInlineStart:`${Rn/4}px`}}});return{[`${Rt}-wrapper`]:Object.assign(Object.assign({},fn("middle",Ot.tablePaddingVerticalMiddle,Ot.tablePaddingHorizontalMiddle,Ot.tableFontSizeMiddle)),fn("small",Ot.tablePaddingVerticalSmall,Ot.tablePaddingHorizontalSmall,Ot.tableFontSizeSmall))}},mA=Ot=>{const{componentCls:Rt,marginXXS:fn,fontSizeIcon:En,tableHeaderIconColor:Jn,tableHeaderIconColorHover:Rn}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-thead th${Rt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ot.motionDurationSlow}`,"&:hover":{background:Ot.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ot.colorPrimary},[`
&${Rt}-cell-fix-left:hover,
&${Rt}-cell-fix-right:hover
`]:{background:Ot.tableFixedHeaderSortActiveBg}},[`${Rt}-thead th${Rt}-column-sort`]:{background:Ot.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Rt}-column-sort`]:{background:Ot.tableBodySortBg},[`${Rt}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Rt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Rt}-column-sorter`]:{marginInlineStart:fn,color:Jn,fontSize:0,transition:`color ${Ot.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:En,"&.active":{color:Ot.colorPrimary}},[`${Rt}-column-sorter-up + ${Rt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Rt}-column-sorters:hover ${Rt}-column-sorter`]:{color:Rn}}}},Jc=Ot=>{const{componentCls:Rt,opacityLoading:fn,tableScrollThumbBg:En,tableScrollThumbBgHover:Jn,tableScrollThumbSize:Rn,tableScrollBg:mr,zIndexTableSticky:hr,stickyScrollBarBorderRadius:cr}=Ot,Zr=`${Ot.lineWidth}px ${Ot.lineType} ${Ot.tableBorderColor}`;return{[`${Rt}-wrapper`]:{[`${Rt}-sticky`]:{"&-holder":{position:"sticky",zIndex:hr,background:Ot.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Rn}px !important`,zIndex:hr,display:"flex",alignItems:"center",background:mr,borderTop:Zr,opacity:fn,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Rn,backgroundColor:En,borderRadius:cr,transition:`all ${Ot.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Jn}}}}}}},iA=Ot=>{const{componentCls:Rt,lineWidth:fn,tableBorderColor:En}=Ot,Jn=`${fn}px ${Ot.lineType} ${En}`;return{[`${Rt}-wrapper`]:{[`${Rt}-summary`]:{position:"relative",zIndex:Ot.zIndexTableFixed,background:Ot.tableBg,"> tr":{"> th, > td":{borderBottom:Jn}}},[`div${Rt}-summary`]:{boxShadow:`0 -${fn}px 0 ${En}`}}}},WA=Ot=>{const{componentCls:Rt}=Ot,fn=`${Ot.lineWidth}px ${Ot.lineType} ${Ot.tableBorderColor}`,En=`${Rt}-expanded-row-cell`;return{[`${Rt}-wrapper`]:{[`${Rt}-tbody-virtual`]:{[`${Rt}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Rt}-cell`]:{borderBottom:fn},[`${Rt}-expanded-row`]:{[`${En}${En}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ot.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Rt}-bordered`]:{[`${Rt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:fn,position:"absolute"},[`${Rt}-cell`]:{borderInlineEnd:fn,[`&${Rt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ot.lineWidth,borderInlineStart:fn}}}}}}};const nd=Ot=>{const{componentCls:Rt,fontWeightStrong:fn,tablePaddingVertical:En,tablePaddingHorizontal:Jn,lineWidth:Rn,lineType:mr,tableBorderColor:hr,tableFontSize:cr,tableBg:Zr,tableRadius:hi,tableHeaderTextColor:$r,motionDurationMid:Yi,tableHeaderBg:Ri,tableHeaderCellSplitColor:zi,tableRowHoverBg:Za,tableSelectedRowBg:_a,tableSelectedRowHoverBg:Ra,tableFooterTextColor:Da,tableFooterBg:ro,paddingContentVerticalLG:Qo}=Ot,Jo=`${Rn}px ${mr} ${hr}`;return{[`${Rt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,_l.dF)()),{[Rt]:Object.assign(Object.assign({},(0,_l.Wf)(Ot)),{fontSize:cr,background:Zr,borderRadius:`${hi}px ${hi}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${hi}px ${hi}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Rt}-cell,
${Rt}-thead > tr > th,
${Rt}-tbody > tr > th,
${Rt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Qo}px ${Jn}px`,overflowWrap:"break-word"},[`${Rt}-title`]:{padding:`${En}px ${Jn}px`},[`${Rt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:$r,fontWeight:fn,textAlign:"start",background:Ri,borderBottom:Jo,transition:`background ${Yi} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Rt}-selection-column):not(${Rt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:zi,transform:"translateY(-50%)",transition:`background-color ${Yi}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Rt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Yi}, border-color ${Yi}`,borderBottom:Jo,[`
> ${Rt}-wrapper:only-child,
> ${Rt}-expanded-row-fixed > ${Rt}-wrapper:only-child
`]:{[Rt]:{marginBlock:`-${En}px`,marginInline:`${Ot.tableExpandColumnWidth-Jn}px -${Jn}px`,[`${Rt}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:$r,fontWeight:fn,textAlign:"start",background:Ri,borderBottom:Jo,transition:`background ${Yi} ease`},[`
&${Rt}-row:hover > th,
&${Rt}-row:hover > td,
> th${Rt}-cell-row-hover,
> td${Rt}-cell-row-hover
`]:{background:Za},[`&${Rt}-row-selected`]:{"> th, > td":{background:_a},"&:hover > th, &:hover > td":{background:Ra}}}},[`${Rt}-footer`]:{padding:`${En}px ${Jn}px`,color:Da,background:ro}})}};var gA=(0,Bc.Z)("Table",Ot=>{const{colorTextHeading:Rt,colorSplit:fn,colorIcon:En,colorIconHover:Jn,opacityLoading:Rn,colorBgContainer:mr,controlInteractiveSize:hr,headerBg:cr,headerColor:Zr,headerSortActiveBg:hi,headerSortHoverBg:$r,bodySortBg:Yi,rowHoverBg:Ri,rowSelectedBg:zi,rowSelectedHoverBg:Za,rowExpandedBg:_a,cellPaddingBlock:Ra,cellPaddingInline:Da,cellPaddingBlockMD:ro,cellPaddingInlineMD:Qo,cellPaddingBlockSM:Jo,cellPaddingInlineSM:ko,borderColor:ls,footerBg:Fs,footerColor:Ao,headerBorderRadius:Po,cellFontSize:yo,cellFontSizeMD:Ba,cellFontSizeSM:Bo,headerSplitColor:ns,fixedHeaderSortActiveBg:Ys,headerFilterHoverBg:rs,filterDropdownBg:Ga,expandIconBg:ms,selectionColumnWidth:Is,stickyScrollBarBg:Rl}=Ot,Ml=new gu.C(En),Bu=new gu.C(Jn),Su=2,ks=(0,Lc.TS)(Ot,{tableFontSize:yo,tableBg:mr,tableRadius:Po,tablePaddingVertical:Ra,tablePaddingHorizontal:Da,tablePaddingVerticalMiddle:ro,tablePaddingHorizontalMiddle:Qo,tablePaddingVerticalSmall:Jo,tablePaddingHorizontalSmall:ko,tableBorderColor:ls,tableHeaderTextColor:Zr,tableHeaderBg:cr,tableFooterTextColor:Ao,tableFooterBg:Fs,tableHeaderCellSplitColor:ns,tableHeaderSortBg:hi,tableHeaderSortHoverBg:$r,tableHeaderIconColor:Ml.clone().setAlpha(Ml.getAlpha()*Rn).toRgbString(),tableHeaderIconColorHover:Bu.clone().setAlpha(Bu.getAlpha()*Rn).toRgbString(),tableBodySortBg:Yi,tableFixedHeaderSortActiveBg:Ys,tableHeaderFilterActiveBg:rs,tableFilterDropdownBg:Ga,tableRowHoverBg:Ri,tableSelectedRowBg:zi,tableSelectedRowHoverBg:Za,zIndexTableFixed:Su,zIndexTableSticky:Su+1,tableFontSizeMiddle:Ba,tableFontSizeSmall:Bo,tableSelectionColumnWidth:Is,tableExpandIconBg:ms,tableExpandColumnWidth:hr+2*Ot.padding,tableExpandedRowBg:_a,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Rl,tableScrollThumbBgHover:Rt,tableScrollBg:fn});return[nd(ks),$u(ks),iA(ks),mA(ks),ac(ks),dl(ks),Oc(ks),vd(ks),iA(ks),gc(ks),Bh(ks),Nu(ks),Jc(ks),Ms(ks),zA(ks),nh(ks),WA(ks)]},Ot=>{const{colorFillAlter:Rt,colorBgContainer:fn,colorTextHeading:En,colorFillSecondary:Jn,colorFillContent:Rn,controlItemBgActive:mr,controlItemBgActiveHover:hr,padding:cr,paddingSM:Zr,paddingXS:hi,colorBorderSecondary:$r,borderRadiusLG:Yi,fontSize:Ri,controlHeight:zi,colorTextPlaceholder:Za}=Ot,_a=new gu.C(Jn).onBackground(fn).toHexShortString(),Ra=new gu.C(Rn).onBackground(fn).toHexShortString(),Da=new gu.C(Rt).onBackground(fn).toHexShortString();return{headerBg:Da,headerColor:En,headerSortActiveBg:_a,headerSortHoverBg:Ra,bodySortBg:Da,rowHoverBg:Da,rowSelectedBg:mr,rowSelectedHoverBg:hr,rowExpandedBg:Rt,cellPaddingBlock:cr,cellPaddingInline:cr,cellPaddingBlockMD:Zr,cellPaddingInlineMD:hi,cellPaddingBlockSM:hi,cellPaddingInlineSM:hi,borderColor:$r,headerBorderRadius:Yi,footerBg:Da,footerColor:En,cellFontSize:Ri,cellFontSizeMD:Ri,cellFontSizeSM:Ri,headerSplitColor:$r,fixedHeaderSortActiveBg:_a,headerFilterHoverBg:Rn,filterDropdownMenuBg:fn,filterDropdownBg:fn,expandIconBg:fn,selectionColumnWidth:zi,stickyScrollBarBg:Za,stickyScrollBarBorderRadius:100}});const rh=[],vf=(Ot,Rt)=>{const{prefixCls:fn,className:En,rootClassName:Jn,style:Rn,size:mr,bordered:hr,dropdownPrefixCls:cr,dataSource:Zr,pagination:hi,rowSelection:$r,rowKey:Yi="key",rowClassName:Ri,columns:zi,children:Za,childrenColumnName:_a,onChange:Ra,getPopupContainer:Da,loading:ro,expandIcon:Qo,expandable:Jo,expandedRowRender:ko,expandIconColumnIndex:ls,indentSize:Fs,scroll:Ao,sortDirections:Po,locale:yo,showSorterTooltip:Ba=!0,virtual:Bo}=Ot,ns=ve.useMemo(()=>zi||Dt(Za),[zi,Za]),Ys=ve.useMemo(()=>ns.some(xl=>xl.responsive),[ns]),rs=(0,as.Z)(Ys),Ga=ve.useMemo(()=>{const xl=new Set(Object.keys(rs).filter(iu=>rs[iu]));return ns.filter(iu=>!iu.responsive||iu.responsive.some(kc=>xl.has(kc)))},[ns,rs]),ms=(0,Fo.Z)(Ot,["className","style","columns"]),{locale:Is=ol.Z,direction:Rl,table:Ml,renderEmpty:Bu,getPrefixCls:Su,getPopupContainer:ks}=ve.useContext(Js.E_),oc=(0,ps.Z)(mr),yl=Object.assign(Object.assign({},Is.Table),yo),cu=Zr||rh,du=Su("table",fn),Fc=Su("dropdown",cr),So=Object.assign({childrenColumnName:_a,expandIconColumnIndex:ls},Jo),{childrenColumnName:$o="children"}=So,es=ve.useMemo(()=>cu.some(xl=>xl==null?void 0:xl[$o])?"nest":ko||Jo&&Jo.expandedRowRender?"row":null,[cu]),Ro={body:ve.useRef()},Ll=ve.useMemo(()=>typeof Yi=="function"?Yi:xl=>xl==null?void 0:xl[Yi],[Yi]),[jo]=Xo(cu,$o,Ll),ws={},nl=function(xl,iu){let kc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var au,bc,_c;const tc=Object.assign(Object.assign({},ws),xl);kc&&((au=ws.resetPagination)===null||au===void 0||au.call(ws),!((bc=tc.pagination)===null||bc===void 0)&&bc.current&&(tc.pagination.current=1),hi&&hi.onChange&&hi.onChange(1,(_c=tc.pagination)===null||_c===void 0?void 0:_c.pageSize)),Ao&&Ao.scrollToFirstRowOnChange!==!1&&Ro.body.current&&(0,Es.Z)(0,{getContainer:()=>Ro.body.current}),Ra==null||Ra(tc.pagination,tc.filters,tc.sorter,{currentDataSource:Fu(ki(cu,tc.sorterStates,$o),tc.filterStates),action:iu})},Al=(xl,iu)=>{nl({sorter:xl,sorterStates:iu},"sort",!1)},[qc,Vu,Pd,ec]=lo({prefixCls:du,mergedColumns:Ga,onSorterChange:Al,sortDirections:Po||["ascend","descend"],tableLocale:yl,showSorterTooltip:Ba}),Td=ve.useMemo(()=>ki(cu,Vu,$o),[cu,Vu]);ws.sorter=ec(),ws.sorterStates=Vu;const to=(xl,iu)=>{nl({filters:xl,filterStates:iu},"filter",!0)},[Nc,ZA,bl]=Io({prefixCls:du,locale:yl,dropdownPrefixCls:Fc,mergedColumns:Ga,onFilterChange:to,getPopupContainer:Da||ks}),aa=Fu(Td,ZA);ws.filters=bl,ws.filterStates=ZA;const Ql=ve.useMemo(()=>{const xl={};return Object.keys(bl).forEach(iu=>{bl[iu]!==null&&(xl[iu]=bl[iu])}),Object.assign(Object.assign({},Pd),{filters:xl})},[Pd,bl]),[yc]=To(Ql),_u=(xl,iu)=>{nl({pagination:Object.assign(Object.assign({},ws.pagination),{current:xl,pageSize:iu})},"paginate")},[fs,ql]=zu(aa.length,_u,hi);ws.pagination=hi===!1?{}:Wo(fs,hi),ws.resetPagination=ql;const Pc=ve.useMemo(()=>{if(hi===!1||!fs.pageSize)return aa;const{current:xl=1,total:iu,pageSize:kc=ml}=fs;return aa.length<iu?aa.length>kc?aa.slice((xl-1)*kc,xl*kc):aa:aa.slice((xl-1)*kc,xl*kc)},[!!hi,aa,fs&&fs.current,fs&&fs.pageSize,fs&&fs.total]),[Md,bd]=Jl({prefixCls:du,data:aa,pageData:Pc,getRowKey:Ll,getRecordByKey:jo,expandType:es,childrenColumnName:$o,locale:yl,getPopupContainer:Da||ks},$r),Tc=(xl,iu,kc)=>{let au;return typeof Ri=="function"?au=Re()(Ri(xl,iu,kc)):au=Re()(Ri),Re()({[`${du}-row-selected`]:bd.has(Ll(xl,iu))},au)};So.__PARENT_RENDER_ICON__=So.expandIcon,So.expandIcon=So.expandIcon||Qo||In(yl),es==="nest"&&So.expandIconColumnIndex===void 0?So.expandIconColumnIndex=$r?1:0:So.expandIconColumnIndex>0&&$r&&(So.expandIconColumnIndex-=1),typeof So.indentSize!="number"&&(So.indentSize=typeof Fs=="number"?Fs:15);const Gu=ve.useCallback(xl=>yc(Md(Nc(qc(xl)))),[qc,Nc,Md]);let vA,Qc;if(hi!==!1&&(fs!=null&&fs.total)){let xl;fs.size?xl=fs.size:xl=oc==="small"||oc==="middle"?"small":void 0;const iu=bc=>ve.createElement(fa.Z,Object.assign({},fs,{className:Re()(`${du}-pagination ${du}-pagination-${bc}`,fs.className),size:xl})),kc=Rl==="rtl"?"left":"right",{position:au}=fs;if(au!==null&&Array.isArray(au)){const bc=au.find(bA=>bA.includes("top")),_c=au.find(bA=>bA.includes("bottom")),tc=au.every(bA=>`${bA}`=="none");!bc&&!_c&&!tc&&(Qc=iu(kc)),bc&&(vA=iu(bc.toLowerCase().replace("top",""))),_c&&(Qc=iu(_c.toLowerCase().replace("bottom","")))}else Qc=iu(kc)}let Yu;typeof ro=="boolean"?Yu={spinning:ro}:typeof ro=="object"&&(Yu=Object.assign({spinning:!0},ro));const[Rc,Iu]=gA(du),[,Tu]=(0,ia.Z)(),rd=Re()(`${du}-wrapper`,Ml==null?void 0:Ml.className,{[`${du}-wrapper-rtl`]:Rl==="rtl"},En,Jn,Iu),oA=Object.assign(Object.assign({},Ml==null?void 0:Ml.style),Rn),Rd=yo&&yo.emptyText||(Bu==null?void 0:Bu("Table"))||ve.createElement(Os.Z,{componentName:"Table"}),yA=Bo?mu:ds,VA={},Sh=ve.useMemo(()=>{const{fontSize:xl,lineHeight:iu,padding:kc,paddingXS:au,paddingSM:bc}=Tu,_c=Math.floor(xl*iu);switch(oc){case"large":return kc*2+_c;case"small":return au*2+_c;default:return bc*2+_c}},[Tu,oc]);return Bo&&(VA.listItemHeight=Sh),Rc(ve.createElement("div",{ref:Rt,className:rd,style:oA},ve.createElement(la.Z,Object.assign({spinning:!1},Yu),vA,ve.createElement(yA,Object.assign({},VA,ms,{columns:Ga,direction:Rl,expandable:So,prefixCls:du,className:Re()({[`${du}-middle`]:oc==="middle",[`${du}-small`]:oc==="small",[`${du}-bordered`]:hr,[`${du}-empty`]:cu.length===0}),data:Pc,rowKey:Ll,rowClassName:Tc,emptyText:Rd,internalHooks:Me,internalRefs:Ro,transformColumns:Gu})),Qc)))};var k0=ve.forwardRef(vf);const np=(Ot,Rt)=>{const fn=ve.useRef(0);return fn.current+=1,ve.createElement(k0,Object.assign({},Ot,{ref:Rt,_renderTimes:fn.current}))},uc=ve.forwardRef(np);uc.SELECTION_COLUMN=gl,uc.EXPAND_COLUMN=he,uc.SELECTION_ALL=kl,uc.SELECTION_INVERT=vl,uc.SELECTION_NONE=Vs,uc.Column=Sa,uc.ColumnGroup=Co,uc.Summary=$e;var aA=uc,rp=aA},99313:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return kn}});var he=de(99267),Me=de(18785),He=de(62772),ft=de(92310),Oe=de.n(ft),Le=de(60499),ve=de(18642),Ae=de(85899),xe=de(72190),fe=de(43749),Ke=de(42244),Be=de(59301),_e=de(49658),Ne=de(18929),Qe=de(77900),ke=(0,Be.createContext)(null),Pe=Be.forwardRef(function(Dt,Gt){var Wt=Dt.prefixCls,Kt=Dt.className,on=Dt.style,_n=Dt.id,lr=Dt.active,nr=Dt.tabKey,dr=Dt.children;return Be.createElement("div",{id:_n&&"".concat(_n,"-panel-").concat(nr),role:"tabpanel",tabIndex:lr?0:-1,"aria-labelledby":_n&&"".concat(_n,"-tab-").concat(nr),"aria-hidden":!lr,style:on,className:Oe()(Wt,lr&&"".concat(Wt,"-active"),Kt),ref:Gt},dr)}),Te=Pe,Ye=["key","forceRender","style","className"];function ze(Dt){var Gt=Dt.id,Wt=Dt.activeKey,Kt=Dt.animated,on=Dt.tabPosition,_n=Dt.destroyInactiveTabPane,lr=Be.useContext(ke),nr=lr.prefixCls,dr=lr.tabs,Pr=Kt.tabPane,Ur="".concat(nr,"-tabpane");return Be.createElement("div",{className:Oe()("".concat(nr,"-content-holder"))},Be.createElement("div",{className:Oe()("".concat(nr,"-content"),"".concat(nr,"-content-").concat(on),(0,ve.Z)({},"".concat(nr,"-content-animated"),Pr))},dr.map(function(ei){var er=ei.key,kr=ei.forceRender,_i=ei.style,gi=ei.className,ji=(0,Ke.Z)(ei,Ye),Mi=er===Wt;return Be.createElement(Qe.default,(0,Le.Z)({key:er,visible:Mi,forceRender:kr,removeOnLeave:!!_n,leavedClassName:"".concat(Ur,"-hidden")},Kt.tabPaneMotion),function(Ca,Jr){var ra=Ca.style,vn=Ca.className;return Be.createElement(Te,(0,Le.Z)({},ji,{prefixCls:Ur,id:Gt,tabKey:er,animated:Pr,active:Mi,style:(0,Ae.Z)((0,Ae.Z)({},_i),ra),className:Oe()(gi,vn),ref:Jr}))})})))}var qe=de(77654),We=de(29301),Ze=de(6089),et=de(8654),rt={width:0,height:0,left:0,top:0};function ht(Dt,Gt,Wt){return(0,Be.useMemo)(function(){for(var Kt,on=new Map,_n=Gt.get((Kt=Dt[0])===null||Kt===void 0?void 0:Kt.key)||rt,lr=_n.left+_n.width,nr=0;nr<Dt.length;nr+=1){var dr=Dt[nr].key,Pr=Gt.get(dr);if(!Pr){var Ur;Pr=Gt.get((Ur=Dt[nr-1])===null||Ur===void 0?void 0:Ur.key)||rt}var ei=on.get(dr)||(0,Ae.Z)({},Pr);ei.right=lr-ei.left-ei.width,on.set(dr,ei)}return on},[Dt.map(function(Kt){return Kt.key}).join("_"),Gt,Wt])}function dt(Dt,Gt){var Wt=Be.useRef(Dt),Kt=Be.useState({}),on=(0,xe.Z)(Kt,2),_n=on[1];function lr(nr){var dr=typeof nr=="function"?nr(Wt.current):nr;dr!==Wt.current&&Gt(dr,Wt.current),Wt.current=dr,_n({})}return[Wt.current,lr]}var Ct=.1,Xe=.01,Lt=20,Re=Math.pow(.995,Lt);function Ht(Dt,Gt){var Wt=(0,Be.useState)(),Kt=(0,xe.Z)(Wt,2),on=Kt[0],_n=Kt[1],lr=(0,Be.useState)(0),nr=(0,xe.Z)(lr,2),dr=nr[0],Pr=nr[1],Ur=(0,Be.useState)(0),ei=(0,xe.Z)(Ur,2),er=ei[0],kr=ei[1],_i=(0,Be.useState)(),gi=(0,xe.Z)(_i,2),ji=gi[0],Mi=gi[1],Ca=(0,Be.useRef)();function Jr(br){var Ir=br.touches[0],Fr=Ir.screenX,si=Ir.screenY;_n({x:Fr,y:si}),window.clearInterval(Ca.current)}function ra(br){if(on){br.preventDefault();var Ir=br.touches[0],Fr=Ir.screenX,si=Ir.screenY;_n({x:Fr,y:si});var bi=Fr-on.x,Ti=si-on.y;Gt(bi,Ti);var Pa=Date.now();Pr(Pa),kr(Pa-dr),Mi({x:bi,y:Ti})}}function vn(){if(on&&(_n(null),Mi(null),ji)){var br=ji.x/er,Ir=ji.y/er,Fr=Math.abs(br),si=Math.abs(Ir);if(Math.max(Fr,si)<Ct)return;var bi=br,Ti=Ir;Ca.current=window.setInterval(function(){if(Math.abs(bi)<Xe&&Math.abs(Ti)<Xe){window.clearInterval(Ca.current);return}bi*=Re,Ti*=Re,Gt(bi*Lt,Ti*Lt)},Lt)}}var gr=(0,Be.useRef)();function Ar(br){var Ir=br.deltaX,Fr=br.deltaY,si=0,bi=Math.abs(Ir),Ti=Math.abs(Fr);bi===Ti?si=gr.current==="x"?Ir:Fr:bi>Ti?(si=Ir,gr.current="x"):(si=Fr,gr.current="y"),Gt(-si,-si)&&br.preventDefault()}var jr=(0,Be.useRef)(null);jr.current={onTouchStart:Jr,onTouchMove:ra,onTouchEnd:vn,onWheel:Ar},Be.useEffect(function(){function br(bi){jr.current.onTouchStart(bi)}function Ir(bi){jr.current.onTouchMove(bi)}function Fr(bi){jr.current.onTouchEnd(bi)}function si(bi){jr.current.onWheel(bi)}return document.addEventListener("touchmove",Ir,{passive:!1}),document.addEventListener("touchend",Fr,{passive:!1}),Dt.current.addEventListener("touchstart",br,{passive:!1}),Dt.current.addEventListener("wheel",si),function(){document.removeEventListener("touchmove",Ir),document.removeEventListener("touchend",Fr)}},[])}var Et=de(34280);function bt(Dt){var Gt=(0,Be.useState)(0),Wt=(0,xe.Z)(Gt,2),Kt=Wt[0],on=Wt[1],_n=(0,Be.useRef)(0),lr=(0,Be.useRef)();return lr.current=Dt,(0,Et.o)(function(){var nr;(nr=lr.current)===null||nr===void 0||nr.call(lr)},[Kt]),function(){_n.current===Kt&&(_n.current+=1,on(_n.current))}}function Tt(Dt){var Gt=(0,Be.useRef)([]),Wt=(0,Be.useState)({}),Kt=(0,xe.Z)(Wt,2),on=Kt[1],_n=(0,Be.useRef)(typeof Dt=="function"?Dt():Dt),lr=bt(function(){var dr=_n.current;Gt.current.forEach(function(Pr){dr=Pr(dr)}),Gt.current=[],_n.current=dr,on({})});function nr(dr){Gt.current.push(dr),lr()}return[_n.current,nr]}var wt={width:0,height:0,left:0,top:0,right:0};function it(Dt,Gt,Wt,Kt,on,_n,lr){var nr=lr.tabs,dr=lr.tabPosition,Pr=lr.rtl,Ur,ei,er;return["top","bottom"].includes(dr)?(Ur="width",ei=Pr?"right":"left",er=Math.abs(Wt)):(Ur="height",ei="top",er=-Wt),(0,Be.useMemo)(function(){if(!nr.length)return[0,0];for(var kr=nr.length,_i=kr,gi=0;gi<kr;gi+=1){var ji=Dt.get(nr[gi].key)||wt;if(ji[ei]+ji[Ur]>er+Gt){_i=gi-1;break}}for(var Mi=0,Ca=kr-1;Ca>=0;Ca-=1){var Jr=Dt.get(nr[Ca].key)||wt;if(Jr[ei]<er){Mi=Ca+1;break}}return Mi>=_i?[0,0]:[Mi,_i]},[Dt,Gt,Kt,on,_n,er,dr,nr.map(function(kr){return kr.key}).join("_"),Pr])}function Ue(Dt){var Gt;return Dt instanceof Map?(Gt={},Dt.forEach(function(Wt,Kt){Gt[Kt]=Wt})):Gt=Dt,JSON.stringify(Gt)}var at="TABS_DQ";function Xt(Dt){return String(Dt).replace(/"/g,at)}function Vt(Dt,Gt,Wt,Kt){return!(!Wt||Kt||Dt===!1||Dt===void 0&&(Gt===!1||Gt===null))}function xt(Dt,Gt){var Wt=Dt.prefixCls,Kt=Dt.editable,on=Dt.locale,_n=Dt.style;return!Kt||Kt.showAdd===!1?null:Be.createElement("button",{ref:Gt,type:"button",className:"".concat(Wt,"-nav-add"),style:_n,"aria-label":(on==null?void 0:on.addAriaLabel)||"Add tab",onClick:function(nr){Kt.onEdit("add",{event:nr})}},Kt.addIcon||"+")}var Qt=Be.forwardRef(xt),An=Be.forwardRef(function(Dt,Gt){var Wt=Dt.position,Kt=Dt.prefixCls,on=Dt.extra;if(!on)return null;var _n,lr={};return(0,fe.Z)(on)==="object"&&!Be.isValidElement(on)?lr=on:lr.right=on,Wt==="right"&&(_n=lr.right),Wt==="left"&&(_n=lr.left),_n?Be.createElement("div",{className:"".concat(Kt,"-extra-content"),ref:Gt},_n):null}),Tn=An,dn=de(31561),Gn=de(15285),Cn=de(10228);function mn(Dt,Gt){var Wt=Dt.prefixCls,Kt=Dt.id,on=Dt.tabs,_n=Dt.locale,lr=Dt.mobile,nr=Dt.moreIcon,dr=nr===void 0?"More":nr,Pr=Dt.moreTransitionName,Ur=Dt.style,ei=Dt.className,er=Dt.editable,kr=Dt.tabBarGutter,_i=Dt.rtl,gi=Dt.removeAriaLabel,ji=Dt.onTabClick,Mi=Dt.getPopupContainer,Ca=Dt.popupClassName,Jr=(0,Be.useState)(!1),ra=(0,xe.Z)(Jr,2),vn=ra[0],gr=ra[1],Ar=(0,Be.useState)(null),jr=(0,xe.Z)(Ar,2),br=jr[0],Ir=jr[1],Fr="".concat(Kt,"-more-popup"),si="".concat(Wt,"-dropdown"),bi=br!==null?"".concat(Fr,"-").concat(br):null,Ti=_n==null?void 0:_n.dropdownAriaLabel;function Pa(ta,ui){ta.preventDefault(),ta.stopPropagation(),er.onEdit("remove",{key:ui,event:ta})}var Ka=Be.createElement(Gn.ZP,{onClick:function(ui){var za=ui.key,no=ui.domEvent;ji(za,no),gr(!1)},prefixCls:"".concat(si,"-menu"),id:Fr,tabIndex:-1,role:"listbox","aria-activedescendant":bi,selectedKeys:[br],"aria-label":Ti!==void 0?Ti:"expanded dropdown"},on.map(function(ta){var ui=ta.closable,za=ta.disabled,no=ta.closeIcon,La=ta.key,xo=ta.label,os=Vt(ui,no,er,za);return Be.createElement(Gn.sN,{key:La,id:"".concat(Fr,"-").concat(La),role:"option","aria-controls":Kt&&"".concat(Kt,"-panel-").concat(La),disabled:za},Be.createElement("span",null,xo),os&&Be.createElement("button",{type:"button","aria-label":gi||"remove",tabIndex:0,className:"".concat(si,"-menu-item-remove"),onClick:function(Ii){Ii.stopPropagation(),Pa(Ii,La)}},no||er.removeIcon||"\xD7"))}));function $a(ta){for(var ui=on.filter(function(os){return!os.disabled}),za=ui.findIndex(function(os){return os.key===br})||0,no=ui.length,La=0;La<no;La+=1){za=(za+ta+no)%no;var xo=ui[za];if(!xo.disabled){Ir(xo.key);return}}}function Ua(ta){var ui=ta.which;if(!vn){[Cn.Z.DOWN,Cn.Z.SPACE,Cn.Z.ENTER].includes(ui)&&(gr(!0),ta.preventDefault());return}switch(ui){case Cn.Z.UP:$a(-1),ta.preventDefault();break;case Cn.Z.DOWN:$a(1),ta.preventDefault();break;case Cn.Z.ESC:gr(!1);break;case Cn.Z.SPACE:case Cn.Z.ENTER:br!==null&&ji(br,ta);break}}(0,Be.useEffect)(function(){var ta=document.getElementById(bi);ta&&ta.scrollIntoView&&ta.scrollIntoView(!1)},[br]),(0,Be.useEffect)(function(){vn||Ir(null)},[vn]);var Fa=(0,ve.Z)({},_i?"marginRight":"marginLeft",kr);on.length||(Fa.visibility="hidden",Fa.order=1);var ho=Oe()((0,ve.Z)({},"".concat(si,"-rtl"),_i)),oo=lr?null:Be.createElement(dn.Z,{prefixCls:si,overlay:Ka,trigger:["hover"],visible:on.length?vn:!1,transitionName:Pr,onVisibleChange:gr,overlayClassName:Oe()(ho,Ca),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:Mi},Be.createElement("button",{type:"button",className:"".concat(Wt,"-nav-more"),style:Fa,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Fr,id:"".concat(Kt,"-more"),"aria-expanded":vn,onKeyDown:Ua},dr));return Be.createElement("div",{className:Oe()("".concat(Wt,"-nav-operations"),ei),style:Ur,ref:Gt},oo,Be.createElement(Qt,{prefixCls:Wt,locale:_n,editable:er}))}var Bn=Be.memo(Be.forwardRef(mn),function(Dt,Gt){return Gt.tabMoving});function Se(Dt){var Gt,Wt=Dt.prefixCls,Kt=Dt.id,on=Dt.active,_n=Dt.tab,lr=_n.key,nr=_n.label,dr=_n.disabled,Pr=_n.closeIcon,Ur=Dt.closable,ei=Dt.renderWrapper,er=Dt.removeAriaLabel,kr=Dt.editable,_i=Dt.onClick,gi=Dt.onFocus,ji=Dt.style,Mi="".concat(Wt,"-tab"),Ca=Vt(Ur,Pr,kr,dr);function Jr(gr){dr||_i(gr)}function ra(gr){gr.preventDefault(),gr.stopPropagation(),kr.onEdit("remove",{key:lr,event:gr})}var vn=Be.createElement("div",{key:lr,"data-node-key":Xt(lr),className:Oe()(Mi,(Gt={},(0,ve.Z)(Gt,"".concat(Mi,"-with-remove"),Ca),(0,ve.Z)(Gt,"".concat(Mi,"-active"),on),(0,ve.Z)(Gt,"".concat(Mi,"-disabled"),dr),Gt)),style:ji,onClick:Jr},Be.createElement("div",{role:"tab","aria-selected":on,id:Kt&&"".concat(Kt,"-tab-").concat(lr),className:"".concat(Mi,"-btn"),"aria-controls":Kt&&"".concat(Kt,"-panel-").concat(lr),"aria-disabled":dr,tabIndex:dr?null:0,onClick:function(Ar){Ar.stopPropagation(),Jr(Ar)},onKeyDown:function(Ar){[Cn.Z.SPACE,Cn.Z.ENTER].includes(Ar.which)&&(Ar.preventDefault(),Jr(Ar))},onFocus:gi},nr),Ca&&Be.createElement("button",{type:"button","aria-label":er||"remove",tabIndex:0,className:"".concat(Mi,"-remove"),onClick:function(Ar){Ar.stopPropagation(),ra(Ar)}},Pr||kr.removeIcon||"\xD7"));return ei?ei(vn):vn}var Fe=Se,ie=de(16089),ae=function(Gt){var Wt=Gt.activeTabOffset,Kt=Gt.horizontal,on=Gt.rtl,_n=Gt.indicatorSize,lr=(0,Be.useState)(),nr=(0,xe.Z)(lr,2),dr=nr[0],Pr=nr[1],Ur=(0,Be.useRef)(),ei=function(_i){return typeof _n=="function"?_n(_i):typeof _n=="number"?_n:_i};function er(){ie.Z.cancel(Ur.current)}return(0,Be.useEffect)(function(){var kr={};return Wt&&(Kt?(on?(kr.right=Wt.right+Wt.width/2,kr.transform="translateX(50%)"):(kr.left=Wt.left+Wt.width/2,kr.transform="translateX(-50%)"),kr.width=ei(Wt.width)):(kr.top=Wt.top+Wt.height/2,kr.transform="translateY(-50%)",kr.height=ei(Wt.height))),er(),Ur.current=(0,ie.Z)(function(){Pr(kr)}),er},[Wt,Kt,on,_n]),{style:dr}},se=ae,oe=function(Gt){var Wt=Gt.current||{},Kt=Wt.offsetWidth,on=Kt===void 0?0:Kt,_n=Wt.offsetHeight,lr=_n===void 0?0:_n;return[on,lr]},Je=function(Gt,Wt){return Gt[Wt?0:1]};function vt(Dt,Gt){var Wt,Kt=Be.useContext(ke),on=Kt.prefixCls,_n=Kt.tabs,lr=Dt.className,nr=Dt.style,dr=Dt.id,Pr=Dt.animated,Ur=Dt.activeKey,ei=Dt.rtl,er=Dt.extra,kr=Dt.editable,_i=Dt.locale,gi=Dt.tabPosition,ji=Dt.tabBarGutter,Mi=Dt.children,Ca=Dt.onTabClick,Jr=Dt.onTabScroll,ra=Dt.indicatorSize,vn=(0,Be.useRef)(),gr=(0,Be.useRef)(),Ar=(0,Be.useRef)(),jr=(0,Be.useRef)(),br=(0,Be.useRef)(),Ir=(0,Be.useRef)(),Fr=(0,Be.useRef)(),si=gi==="top"||gi==="bottom",bi=dt(0,function(Na,so){si&&Jr&&Jr({direction:Na>so?"left":"right"})}),Ti=(0,xe.Z)(bi,2),Pa=Ti[0],Ka=Ti[1],$a=dt(0,function(Na,so){!si&&Jr&&Jr({direction:Na>so?"top":"bottom"})}),Ua=(0,xe.Z)($a,2),Fa=Ua[0],ho=Ua[1],oo=(0,Be.useState)([0,0]),ta=(0,xe.Z)(oo,2),ui=ta[0],za=ta[1],no=(0,Be.useState)([0,0]),La=(0,xe.Z)(no,2),xo=La[0],os=La[1],Va=(0,Be.useState)([0,0]),Ii=(0,xe.Z)(Va,2),Ci=Ii[0],Ha=Ii[1],Oa=(0,Be.useState)([0,0]),eo=(0,xe.Z)(Oa,2),Lo=eo[0],vo=eo[1],jn=Tt(new Map),Oo=(0,xe.Z)(jn,2),Ks=Oo[0],Sa=Oo[1],ga=ht(_n,Ks,xo[0]),Co=Je(ui,si),Fo=Je(xo,si),Es=Je(Ci,si),Js=Je(Lo,si),Os=Co<Fo+Es,ps=Os?Co-Js:Co-Es,as="".concat(on,"-nav-operations-hidden"),ol=0,fa=0;si&&ei?(ol=0,fa=Math.max(0,Fo-ps)):(ol=Math.min(0,ps-Fo),fa=0);function la(Na){return Na<ol?ol:Na>fa?fa:Na}var ia=(0,Be.useRef)(),Ln=(0,Be.useState)(),In=(0,xe.Z)(Ln,2),Er=In[0],vi=In[1];function ha(){vi(Date.now())}function Ia(){window.clearTimeout(ia.current)}Ht(jr,function(Na,so){function rr(Kn,Ja){Kn(function(pa){var ka=la(pa+Ja);return ka})}return Os?(si?rr(Ka,Na):rr(ho,so),Ia(),ha(),!0):!1}),(0,Be.useEffect)(function(){return Ia(),Er&&(ia.current=window.setTimeout(function(){vi(0)},100)),Ia},[Er]);var va=it(ga,ps,si?Pa:Fa,Fo,Es,Js,(0,Ae.Z)((0,Ae.Z)({},Dt),{},{tabs:_n})),Ji=(0,xe.Z)(va,2),ya=Ji[0],No=Ji[1],Vo=(0,Ze.Z)(function(){var Na=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ur,so=ga.get(Na)||{width:0,height:0,left:0,right:0,top:0};if(si){var rr=Pa;ei?so.right<Pa?rr=so.right:so.right+so.width>Pa+ps&&(rr=so.right+so.width-ps):so.left<-Pa?rr=-so.left:so.left+so.width>-Pa+ps&&(rr=-(so.left+so.width-ps)),ho(0),Ka(la(rr))}else{var Kn=Fa;so.top<-Fa?Kn=-so.top:so.top+so.height>-Fa+ps&&(Kn=-(so.top+so.height-ps)),Ka(0),ho(la(Kn))}}),cs={};gi==="top"||gi==="bottom"?cs[ei?"marginRight":"marginLeft"]=ji:cs.marginTop=ji;var Mo=_n.map(function(Na,so){var rr=Na.key;return Be.createElement(Fe,{id:dr,prefixCls:on,key:rr,tab:Na,style:so===0?void 0:cs,closable:Na.closable,editable:kr,active:rr===Ur,renderWrapper:Mi,removeAriaLabel:_i==null?void 0:_i.removeAriaLabel,onClick:function(Ja){Ca(rr,Ja)},onFocus:function(){Vo(rr),ha(),jr.current&&(ei||(jr.current.scrollLeft=0),jr.current.scrollTop=0)}})}),ul=function(){return Sa(function(){var so=new Map;return _n.forEach(function(rr){var Kn,Ja=rr.key,pa=(Kn=br.current)===null||Kn===void 0?void 0:Kn.querySelector('[data-node-key="'.concat(Xt(Ja),'"]'));pa&&so.set(Ja,{width:pa.offsetWidth,height:pa.offsetHeight,left:pa.offsetLeft,top:pa.offsetTop})}),so})};(0,Be.useEffect)(function(){ul()},[_n.map(function(Na){return Na.key}).join("_")]);var Ss=bt(function(){var Na=oe(vn),so=oe(gr),rr=oe(Ar);za([Na[0]-so[0]-rr[0],Na[1]-so[1]-rr[1]]);var Kn=oe(Fr);Ha(Kn);var Ja=oe(Ir);vo(Ja);var pa=oe(br);os([pa[0]-Kn[0],pa[1]-Kn[1]]),ul()}),vr=_n.slice(0,ya),On=_n.slice(No+1),Dn=[].concat((0,qe.Z)(vr),(0,qe.Z)(On)),wr=ga.get(Ur),ni=se({activeTabOffset:wr,horizontal:si,rtl:ei,indicatorSize:ra}),li=ni.style;(0,Be.useEffect)(function(){Vo()},[Ur,ol,fa,Ue(wr),Ue(ga),si]),(0,Be.useEffect)(function(){Ss()},[ei]);var Or=!!Dn.length,Hi="".concat(on,"-nav-wrap"),ca,uo,Wa,Ki;return si?ei?(uo=Pa>0,ca=Pa!==fa):(ca=Pa<0,uo=Pa!==ol):(Wa=Fa<0,Ki=Fa!==ol),Be.createElement(We.Z,{onResize:Ss},Be.createElement("div",{ref:(0,et.x1)(Gt,vn),role:"tablist",className:Oe()("".concat(on,"-nav"),lr),style:nr,onKeyDown:function(){ha()}},Be.createElement(Tn,{ref:gr,position:"left",extra:er,prefixCls:on}),Be.createElement(We.Z,{onResize:Ss},Be.createElement("div",{className:Oe()(Hi,(Wt={},(0,ve.Z)(Wt,"".concat(Hi,"-ping-left"),ca),(0,ve.Z)(Wt,"".concat(Hi,"-ping-right"),uo),(0,ve.Z)(Wt,"".concat(Hi,"-ping-top"),Wa),(0,ve.Z)(Wt,"".concat(Hi,"-ping-bottom"),Ki),Wt)),ref:jr},Be.createElement(We.Z,{onResize:Ss},Be.createElement("div",{ref:br,className:"".concat(on,"-nav-list"),style:{transform:"translate(".concat(Pa,"px, ").concat(Fa,"px)"),transition:Er?"none":void 0}},Mo,Be.createElement(Qt,{ref:Fr,prefixCls:on,locale:_i,editable:kr,style:(0,Ae.Z)((0,Ae.Z)({},Mo.length===0?void 0:cs),{},{visibility:Or?"hidden":null})}),Be.createElement("div",{className:Oe()("".concat(on,"-ink-bar"),(0,ve.Z)({},"".concat(on,"-ink-bar-animated"),Pr.inkBar)),style:li}))))),Be.createElement(Bn,(0,Le.Z)({},Dt,{removeAriaLabel:_i==null?void 0:_i.removeAriaLabel,ref:Ir,prefixCls:on,tabs:Dn,className:!Or&&as,tabMoving:!!Er})),Be.createElement(Tn,{ref:Ar,position:"right",extra:er,prefixCls:on})))}var $e=Be.forwardRef(vt),lt=["renderTabBar"],Pt=["label","key"];function _t(Dt){var Gt=Dt.renderTabBar,Wt=(0,Ke.Z)(Dt,lt),Kt=Be.useContext(ke),on=Kt.tabs;if(Gt){var _n=(0,Ae.Z)((0,Ae.Z)({},Wt),{},{panes:on.map(function(lr){var nr=lr.label,dr=lr.key,Pr=(0,Ke.Z)(lr,Pt);return Be.createElement(Te,(0,Le.Z)({tab:nr,key:dr,tabKey:dr},Pr))})});return Gt(_n,$e)}return Be.createElement($e,Wt)}var kt=de(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"],St=0;function nn(Dt,Gt){var Wt,Kt=Dt.id,on=Dt.prefixCls,_n=on===void 0?"rc-tabs":on,lr=Dt.className,nr=Dt.items,dr=Dt.direction,Pr=Dt.activeKey,Ur=Dt.defaultActiveKey,ei=Dt.editable,er=Dt.animated,kr=Dt.tabPosition,_i=kr===void 0?"top":kr,gi=Dt.tabBarGutter,ji=Dt.tabBarStyle,Mi=Dt.tabBarExtraContent,Ca=Dt.locale,Jr=Dt.moreIcon,ra=Dt.moreTransitionName,vn=Dt.destroyInactiveTabPane,gr=Dt.renderTabBar,Ar=Dt.onChange,jr=Dt.onTabClick,br=Dt.onTabScroll,Ir=Dt.getPopupContainer,Fr=Dt.popupClassName,si=Dt.indicatorSize,bi=(0,Ke.Z)(Dt,Sn),Ti=Be.useMemo(function(){return(nr||[]).filter(function(vo){return vo&&(0,fe.Z)(vo)==="object"&&"key"in vo})},[nr]),Pa=dr==="rtl",Ka=$t(er),$a=(0,Be.useState)(!1),Ua=(0,xe.Z)($a,2),Fa=Ua[0],ho=Ua[1];(0,Be.useEffect)(function(){ho((0,_e.Z)())},[]);var oo=(0,Ne.Z)(function(){var vo;return(vo=Ti[0])===null||vo===void 0?void 0:vo.key},{value:Pr,defaultValue:Ur}),ta=(0,xe.Z)(oo,2),ui=ta[0],za=ta[1],no=(0,Be.useState)(function(){return Ti.findIndex(function(vo){return vo.key===ui})}),La=(0,xe.Z)(no,2),xo=La[0],os=La[1];(0,Be.useEffect)(function(){var vo=Ti.findIndex(function(Oo){return Oo.key===ui});if(vo===-1){var jn;vo=Math.max(0,Math.min(xo,Ti.length-1)),za((jn=Ti[vo])===null||jn===void 0?void 0:jn.key)}os(vo)},[Ti.map(function(vo){return vo.key}).join("_"),ui,xo]);var Va=(0,Ne.Z)(null,{value:Kt}),Ii=(0,xe.Z)(Va,2),Ci=Ii[0],Ha=Ii[1];(0,Be.useEffect)(function(){Kt||(Ha("rc-tabs-".concat(St)),St+=1)},[]);function Oa(vo,jn){jr==null||jr(vo,jn);var Oo=vo!==ui;za(vo),Oo&&(Ar==null||Ar(vo))}var eo={id:Ci,activeKey:ui,animated:Ka,tabPosition:_i,rtl:Pa,mobile:Fa},Lo=(0,Ae.Z)((0,Ae.Z)({},eo),{},{editable:ei,locale:Ca,moreIcon:Jr,moreTransitionName:ra,tabBarGutter:gi,onTabClick:Oa,onTabScroll:br,extra:Mi,style:ji,panes:null,getPopupContainer:Ir,popupClassName:Fr,indicatorSize:si});return Be.createElement(ke.Provider,{value:{tabs:Ti,prefixCls:_n}},Be.createElement("div",(0,Le.Z)({ref:Gt,id:Kt,className:Oe()(_n,"".concat(_n,"-").concat(_i),(Wt={},(0,ve.Z)(Wt,"".concat(_n,"-mobile"),Fa),(0,ve.Z)(Wt,"".concat(_n,"-editable"),ei),(0,ve.Z)(Wt,"".concat(_n,"-rtl"),Pa),Wt),lr)},bi),Be.createElement(_t,(0,Le.Z)({},Lo,{renderTabBar:gr})),Be.createElement(ze,(0,Le.Z)({destroyInactiveTabPane:vn},eo,{animated:Ka}))))}var tn=Be.forwardRef(nn),jt=tn,pt=jt,Zt=de(36355),gn=de(19716),Xn=()=>null,yr=de(62892);const Dr={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Tr(Dt){let Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Wt;return Gt===!1?Wt={inkBar:!1,tabPane:!1}:Gt===!0?Wt={inkBar:!0,tabPane:!0}:Wt=Object.assign({inkBar:!0},typeof Gt=="object"?Gt:{}),Wt.tabPane&&(Wt.tabPaneMotion=Object.assign(Object.assign({},Dr),{motionName:(0,yr.m)(Dt,"switch")})),Wt}var Rr=de(11592),Sr=function(Dt,Gt){var Wt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Gt.indexOf(Kt)<0&&(Wt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,Kt=Object.getOwnPropertySymbols(Dt);on<Kt.length;on++)Gt.indexOf(Kt[on])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[on])&&(Wt[Kt[on]]=Dt[Kt[on]]);return Wt};function fr(Dt){return Dt.filter(Gt=>Gt)}function Vr(Dt,Gt){if(Dt)return Dt;const Wt=(0,Rr.Z)(Gt).map(Kt=>{if(Be.isValidElement(Kt)){const{key:on,props:_n}=Kt,lr=_n||{},{tab:nr}=lr,dr=Sr(lr,["tab"]);return Object.assign(Object.assign({key:String(on)},dr),{label:nr})}return null});return fr(Wt)}var Bi=de(17313),yi=de(83116),mi=de(37613),Vi=de(13826),Wr=Dt=>{const{componentCls:Gt,motionDurationSlow:Wt}=Dt;return[{[Gt]:{[`${Gt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Wt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Wt}`}}}}},[(0,Vi.oN)(Dt,"slide-up"),(0,Vi.oN)(Dt,"slide-down")]]};const Mn=Dt=>{const{componentCls:Gt,tabsCardPadding:Wt,cardBg:Kt,cardGutter:on,colorBorderSecondary:_n,itemSelectedColor:lr}=Dt;return{[`${Gt}-card`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{margin:0,padding:Wt,background:Kt,border:`${Dt.lineWidth}px ${Dt.lineType} ${_n}`,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`},[`${Gt}-tab-active`]:{color:lr,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}}}}}}},ea=Dt=>{const{componentCls:Gt,itemHoverColor:Wt,dropdownEdgeChildVerticalPadding:Kt}=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:`${Kt}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:Wt}},"&:hover":{background:Dt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Dt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ea=Dt=>{const{componentCls:Gt,margin:Wt,colorBorderSecondary:Kt,horizontalMargin:on,verticalItemPadding:_n,verticalItemMargin:lr}=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} ${Kt}`,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:`${Wt}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:_n,textAlign:"center"},[`${Gt}-tab + ${Gt}-tab`]:{margin:lr},[`${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}}}}}},wo=Dt=>{const{componentCls:Gt,cardPaddingSM:Wt,cardPaddingLG:Kt,horizontalItemPaddingSM:on,horizontalItemPaddingLG:_n}=Dt;return{[Gt]:{"&-small":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:on,fontSize:Dt.titleFontSizeSM}}},"&-large":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:_n,fontSize:Dt.titleFontSizeLG}}}},[`${Gt}-card`]:{[`&${Gt}-small`]:{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:Wt}},[`&${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:Kt}}}}}},sa=Dt=>{const{componentCls:Gt,itemActiveColor:Wt,itemHoverColor:Kt,iconCls:on,tabsHorizontalItemMargin:_n,horizontalItemPadding:lr,itemSelectedColor:nr,itemColor:dr}=Dt,Pr=`${Gt}-tab`;return{[Pr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:lr,fontSize:Dt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:dr,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Wt}},(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:Kt},[`&${Pr}-active ${Pr}-btn`]:{color:nr,textShadow:Dt.tabsActiveTextShadow},[`&${Pr}-disabled`]:{color:Dt.colorTextDisabled,cursor:"not-allowed"},[`&${Pr}-disabled ${Pr}-btn, &${Pr}-disabled ${Gt}-remove`]:{"&:focus, &:active":{color:Dt.colorTextDisabled}},[`& ${Pr}-remove ${on}`]:{margin:0},[on]:{marginRight:{_skip_check_:!0,value:Dt.marginSM}}},[`${Pr} + ${Pr}`]:{margin:{_skip_check_:!0,value:_n}}}},Pi=Dt=>{const{componentCls:Gt,tabsHorizontalItemMarginRTL:Wt,iconCls:Kt,cardGutter:on}=Dt;return{[`${Gt}-rtl`]:{direction:"rtl",[`${Gt}-nav`]:{[`${Gt}-tab`]:{margin:{_skip_check_:!0,value:Wt},[`${Gt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Kt]:{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`},[Kt]:{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"}}}}},Aa=Dt=>{const{componentCls:Gt,tabsCardPadding:Wt,cardHeight:Kt,cardGutter:on,itemHoverColor:_n,itemActiveColor:lr,colorBorderSecondary:nr}=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:Wt,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:Kt,marginLeft:{_skip_check_:!0,value:on},padding:`0 ${Dt.paddingXS}px`,background:"transparent",border:`${Dt.lineWidth}px ${Dt.lineType} ${nr}`,borderRadius:`${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Dt.colorText,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`,"&:hover":{color:_n},"&:active, &:focus:not(:focus-visible)":{color:lr}},(0,Bi.Qy)(Dt))},[`${Gt}-extra-content`]:{flex:"none"},[`${Gt}-ink-bar`]:{position:"absolute",background:Dt.inkBarColor,pointerEvents:"none"}}),sa(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,yi.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[wo(Gt),Pi(Gt),Ea(Gt),ea(Gt),Mn(Gt),Aa(Gt),Wr(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}}),qr=function(Dt,Gt){var Wt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Gt.indexOf(Kt)<0&&(Wt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,Kt=Object.getOwnPropertySymbols(Dt);on<Kt.length;on++)Gt.indexOf(Kt[on])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Kt[on])&&(Wt[Kt[on]]=Dt[Kt[on]]);return Wt};const Ma=Dt=>{const{type:Gt,className:Wt,rootClassName:Kt,size:on,onEdit:_n,hideAdd:lr,centered:nr,addIcon:dr,popupClassName:Pr,children:Ur,items:ei,animated:er,style:kr,indicatorSize:_i}=Dt,gi=qr(Dt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:ji,moreIcon:Mi=Be.createElement(Me.Z,null)}=gi,{direction:Ca,tabs:Jr,getPrefixCls:ra,getPopupContainer:vn}=Be.useContext(Zt.E_),gr=ra("tabs",ji),[Ar,jr]=Si(gr);let br;Gt==="editable-card"&&(br={onEdit:(Pa,Ka)=>{let{key:$a,event:Ua}=Ka;_n==null||_n(Pa==="add"?Ua:$a,Pa)},removeIcon:Be.createElement(he.Z,null),addIcon:dr||Be.createElement(He.Z,null),showAdd:lr!==!0});const Ir=ra(),Fr=Vr(ei,Ur),si=Tr(gr,er),bi=(0,gn.Z)(on),Ti=Object.assign(Object.assign({},Jr==null?void 0:Jr.style),kr);return Ar(Be.createElement(pt,Object.assign({direction:Ca,getPopupContainer:vn,moreTransitionName:`${Ir}-slide-up`},gi,{items:Fr,className:Oe()({[`${gr}-${bi}`]:bi,[`${gr}-card`]:["card","editable-card"].includes(Gt),[`${gr}-editable-card`]:Gt==="editable-card",[`${gr}-centered`]:nr},Jr==null?void 0:Jr.className,Wt,Kt,jr),popupClassName:Oe()(Pr,jr),style:Ti,editable:br,moreIcon:Mi,prefixCls:gr,animated:si,indicatorSize:_i!=null?_i:Jr==null?void 0:Jr.indicatorSize})))};Ma.TabPane=Xn;var kn=Ma},17574:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return it}});var he=de(38028),Me=de(77654),He=de(52671),ft=de(8657),Oe=de(60499),Le=de(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,xe=de(7657),fe=function(at,Xt){return Le.createElement(xe.Z,(0,Oe.Z)({},at,{ref:Xt,icon:Ae}))},Ke=Le.forwardRef(fe),Be=Ke,_e=de(92310),Ne=de.n(_e),Qe=de(35654),ke=de(71430),Pe=de(36355),Te=de(56082),Ye=de(62892),ze=de(20648);const qe=4;function We(Ue){const{dropPosition:at,dropLevelOffset:Xt,prefixCls:Vt,indent:xt,direction:Qt="ltr"}=Ue,An=Qt==="ltr"?"left":"right",Tn=Qt==="ltr"?"right":"left",dn={[An]:-Xt*xt+qe,[Tn]:0};switch(at){case-1:dn.top=-3;break;case 1:dn.bottom=-3;break;default:dn.bottom=-3,dn[An]=xt+qe;break}return Le.createElement("div",{style:dn,className:`${Vt}-drop-indicator`})}var Ze=de(71997),rt=Le.forwardRef((Ue,at)=>{const{getPrefixCls:Xt,direction:Vt,virtual:xt,tree:Qt}=Le.useContext(Pe.E_),{prefixCls:An,className:Tn,showIcon:dn=!1,showLine:Gn,switcherIcon:Cn,blockNode:mn=!1,children:Bn,checkable:Se=!1,selectable:Fe=!0,draggable:ie,motion:ae,style:se}=Ue,oe=Xt("tree",An),Je=Xt(),vt=ae!=null?ae:Object.assign(Object.assign({},(0,Ye.Z)(Je)),{motionAppear:!1}),$e=Object.assign(Object.assign({},Ue),{checkable:Se,selectable:Fe,showIcon:dn,motion:vt,blockNode:mn,showLine:!!Gn,dropIndicatorRender:We}),[lt,Pt]=(0,ze.ZP)(oe),_t=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(Te.Z,null)),$t},[ie]),kt=$t=>Le.createElement(Ze.Z,{prefixCls:oe,switcherIcon:Cn,treeNodeProps:$t,showLine:Gn});return lt(Le.createElement(he.Z,Object.assign({itemHeight:20,ref:at,virtual:xt},$e,{style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),se),prefixCls:oe,className:Ne()({[`${oe}-icon-hide`]:!dn,[`${oe}-block-node`]:mn,[`${oe}-unselectable`]:!Fe,[`${oe}-rtl`]:Vt==="rtl"},Qt==null?void 0:Qt.className,Tn,Pt),direction:Vt,checkable:Se&&Le.createElement("span",{className:`${oe}-checkbox-inner`}),selectable:Fe,switcherIcon:kt,draggable:_t}),Bn))}),ht;(function(Ue){Ue[Ue.None=0]="None",Ue[Ue.Start=1]="Start",Ue[Ue.End=2]="End"})(ht||(ht={}));function dt(Ue,at){function Xt(Vt){const{key:xt,children:Qt}=Vt;at(xt,Vt)!==!1&&dt(Qt||[],at)}Ue.forEach(Xt)}function Ct(Ue){let{treeData:at,expandedKeys:Xt,startKey:Vt,endKey:xt}=Ue;const Qt=[];let An=ht.None;if(Vt&&Vt===xt)return[Vt];if(!Vt||!xt)return[];function Tn(dn){return dn===Vt||dn===xt}return dt(at,dn=>{if(An===ht.End)return!1;if(Tn(dn)){if(Qt.push(dn),An===ht.None)An=ht.Start;else if(An===ht.Start)return An=ht.End,!1}else An===ht.Start&&Qt.push(dn);return Xt.includes(dn)}),Qt}function Xe(Ue,at){const Xt=(0,Me.Z)(at),Vt=[];return dt(Ue,(xt,Qt)=>{const An=Xt.indexOf(xt);return An!==-1&&(Vt.push(Qt),Xt.splice(An,1)),!!Xt.length}),Vt}var Lt=function(Ue,at){var Xt={};for(var Vt in Ue)Object.prototype.hasOwnProperty.call(Ue,Vt)&&at.indexOf(Vt)<0&&(Xt[Vt]=Ue[Vt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Vt=Object.getOwnPropertySymbols(Ue);xt<Vt.length;xt++)at.indexOf(Vt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Vt[xt])&&(Xt[Vt[xt]]=Ue[Vt[xt]]);return Xt};function Re(Ue){const{isLeaf:at,expanded:Xt}=Ue;return at?Le.createElement(He.Z,null):Xt?Le.createElement(ft.Z,null):Le.createElement(Be,null)}function Ht(Ue){let{treeData:at,children:Xt}=Ue;return at||(0,ke.zn)(Xt)}const Et=(Ue,at)=>{var{defaultExpandAll:Xt,defaultExpandParent:Vt,defaultExpandedKeys:xt}=Ue,Qt=Lt(Ue,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const An=Le.useRef(),Tn=Le.useRef(),dn=()=>{const{keyEntities:_t}=(0,ke.I8)(Ht(Qt));let kt;return Xt?kt=Object.keys(_t):Vt?kt=(0,Qe.r7)(Qt.expandedKeys||xt||[],_t):kt=Qt.expandedKeys||xt,kt},[Gn,Cn]=Le.useState(Qt.selectedKeys||Qt.defaultSelectedKeys||[]),[mn,Bn]=Le.useState(()=>dn());Le.useEffect(()=>{"selectedKeys"in Qt&&Cn(Qt.selectedKeys)},[Qt.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in Qt&&Bn(Qt.expandedKeys)},[Qt.expandedKeys]);const Se=(_t,kt)=>{var $t;return"expandedKeys"in Qt||Bn(_t),($t=Qt.onExpand)===null||$t===void 0?void 0:$t.call(Qt,_t,kt)},Fe=(_t,kt)=>{var $t;const{multiple:Sn}=Qt,{node:St,nativeEvent:nn}=kt,{key:tn=""}=St,jt=Ht(Qt),pt=Object.assign(Object.assign({},kt),{selected:!0}),Zt=(nn==null?void 0:nn.ctrlKey)||(nn==null?void 0:nn.metaKey),gn=nn==null?void 0:nn.shiftKey;let wn;Sn&&Zt?(wn=_t,An.current=tn,Tn.current=wn,pt.selectedNodes=Xe(jt,wn)):Sn&&gn?(wn=Array.from(new Set([].concat((0,Me.Z)(Tn.current||[]),(0,Me.Z)(Ct({treeData:jt,expandedKeys:mn,startKey:tn,endKey:An.current}))))),pt.selectedNodes=Xe(jt,wn)):(wn=[tn],An.current=tn,Tn.current=wn,pt.selectedNodes=Xe(jt,wn)),($t=Qt.onSelect)===null||$t===void 0||$t.call(Qt,wn,pt),"selectedKeys"in Qt||Cn(wn)},{getPrefixCls:ie,direction:ae}=Le.useContext(Pe.E_),{prefixCls:se,className:oe,showIcon:Je=!0,expandAction:vt="click"}=Qt,$e=Lt(Qt,["prefixCls","className","showIcon","expandAction"]),lt=ie("tree",se),Pt=Ne()(`${lt}-directory`,{[`${lt}-directory-rtl`]:ae==="rtl"},oe);return Le.createElement(rt,Object.assign({icon:Re,ref:at,blockNode:!0},$e,{showIcon:Je,expandAction:vt,prefixCls:lt,className:Pt,expandedKeys:mn,selectedKeys:Gn,onSelect:Fe,onExpand:Se}))};var Tt=Le.forwardRef(Et);const wt=rt;wt.DirectoryTree=Tt,wt.TreeNode=he.O;var it=wt},20648:function(Qn,Yt,de){"use strict";de.d(Yt,{TM:function(){return _e},Yk:function(){return Be}});var he=de(36237),Me=de(98447),He=de(17313),ft=de(8378),Oe=de(37613),Le=de(83116);const ve=new he.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ae=(Ne,Qe)=>({[`.${Ne}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Qe.motionDurationSlow}`}}}),xe=(Ne,Qe)=>({[`.${Ne}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Qe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Qe.lineWidthBold}px solid ${Qe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),fe=(Ne,Qe)=>{const{treeCls:ke,treeNodeCls:Pe,treeNodePadding:Te,titleHeight:Ye,nodeSelectedBg:ze,nodeHoverBg:qe}=Qe,We=Qe.paddingXS;return{[ke]:Object.assign(Object.assign({},(0,He.Wf)(Qe)),{background:Qe.colorBgContainer,borderRadius:Qe.borderRadius,transition:`background-color ${Qe.motionDurationSlow}`,[`&${ke}-rtl`]:{[`${ke}-switcher`]:{"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ke}-active-focused)`]:Object.assign({},(0,He.oN)(Qe)),[`${ke}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ke}-block-node`]:{[`${ke}-list-holder-inner`]:{alignItems:"stretch",[`${ke}-node-content-wrapper`]:{flex:"auto"},[`${Pe}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Te,insetInlineStart:0,border:`1px solid ${Qe.colorPrimary}`,opacity:0,animationName:ve,animationDuration:Qe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Pe}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Te}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ke}-node-content-wrapper`]:{color:Qe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ke}-node-content-wrapper`]:Object.assign({},(0,He.oN)(Qe)),[`&:not(${Pe}-disabled).filter-node ${ke}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ke}-draggable-icon`]:{flexShrink:0,width:Ye,lineHeight:`${Ye}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Qe.motionDurationSlow}`,[`${Pe}:hover &`]:{opacity:.45}},[`&${Pe}-disabled`]:{[`${ke}-draggable-icon`]:{visibility:"hidden"}}}},[`${ke}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Ye}},[`${ke}-draggable-icon`]:{visibility:"hidden"},[`${ke}-switcher`]:Object.assign(Object.assign({},Ae(Ne,Qe)),{position:"relative",flex:"none",alignSelf:"stretch",width:Ye,margin:0,lineHeight:`${Ye}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Qe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ye/2,bottom:-Te,marginInlineStart:-1,borderInlineEnd:`1px solid ${Qe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ye/2*.8,height:Ye/2,borderBottom:`1px solid ${Qe.colorBorder}`,content:'""'}}}),[`${ke}-checkbox`]:{top:"initial",marginInlineEnd:We},[`${ke}-node-content-wrapper, ${ke}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Ye,margin:0,padding:`0 ${Qe.paddingXS/2}px`,color:"inherit",lineHeight:`${Ye}px`,background:"transparent",borderRadius:Qe.borderRadius,cursor:"pointer",transition:`all ${Qe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:qe},[`&${ke}-node-selected`]:{backgroundColor:ze},[`${ke}-iconEle`]:{display:"inline-block",width:Ye,height:Ye,lineHeight:`${Ye}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ke}-unselectable ${ke}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ke}-node-content-wrapper`]:Object.assign({lineHeight:`${Ye}px`,userSelect:"none"},xe(Ne,Qe)),[`${Pe}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Qe.colorPrimary}`}},"&-show-line":{[`${ke}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ye/2,bottom:-Te,borderInlineEnd:`1px solid ${Qe.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ke}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Pe}-leaf-last`]:{[`${ke}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Ye/2}px !important`}}}}})}},Ke=Ne=>{const{treeCls:Qe,treeNodeCls:ke,treeNodePadding:Pe,directoryNodeSelectedBg:Te,directoryNodeSelectedColor:Ye}=Ne;return{[`${Qe}${Qe}-directory`]:{[ke]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Pe,insetInlineStart:0,transition:`background-color ${Ne.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Ne.controlItemBgHover}},"> *":{zIndex:1},[`${Qe}-switcher`]:{transition:`color ${Ne.motionDurationMid}`},[`${Qe}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Qe}-node-selected`]:{color:Ye,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Te},[`${Qe}-switcher`]:{color:Ye},[`${Qe}-node-content-wrapper`]:{color:Ye,background:"transparent"}}}}}},Be=(Ne,Qe)=>{const ke=`.${Ne}`,Pe=`${ke}-treenode`,Te=Qe.paddingXS/2,Ye=(0,Oe.TS)(Qe,{treeCls:ke,treeNodeCls:Pe,treeNodePadding:Te});return[fe(Ne,Ye),Ke(Ye)]},_e=Ne=>{const{controlHeightSM:Qe}=Ne;return{titleHeight:Qe,nodeHoverBg:Ne.controlItemBgHover,nodeSelectedBg:Ne.controlItemBgActive}};Yt.ZP=(0,Le.Z)("Tree",(Ne,Qe)=>{let{prefixCls:ke}=Qe;return[{[Ne.componentCls]:(0,Me.C2)(`${ke}-checkbox`,Ne)},Be(ke,Ne),(0,ft.Z)(Ne)]},Ne=>{const{colorTextLightSolid:Qe,colorPrimary:ke}=Ne;return Object.assign(Object.assign({},_e(Ne)),{directoryNodeSelectedColor:Qe,directoryNodeSelectedBg:ke})})},71997:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Pe}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(Ye,ze){return Me.createElement(Oe.Z,(0,he.Z)({},Ye,{ref:ze,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(52671),fe=de(58617),Ke=de(15075),Be=de(43531),_e=de(92310),Ne=de.n(_e),Qe=de(92343),Pe=Te=>{const{prefixCls:Ye,switcherIcon:ze,treeNodeProps:qe,showLine:We}=Te,{isLeaf:Ze,expanded:et,loading:rt}=qe;if(rt)return Me.createElement(fe.Z,{className:`${Ye}-switcher-loading-icon`});let ht;if(We&&typeof We=="object"&&(ht=We.showLeafIcon),Ze){if(!We)return null;if(typeof ht!="boolean"&&ht){const Xe=typeof ht=="function"?ht(qe):ht,Lt=`${Ye}-switcher-line-custom-icon`;return(0,Qe.l$)(Xe)?(0,Qe.Tm)(Xe,{className:Ne()(Xe.props.className||"",Lt)}):Xe}return ht?Me.createElement(xe.Z,{className:`${Ye}-switcher-line-icon`}):Me.createElement("span",{className:`${Ye}-switcher-leaf-line`})}const dt=`${Ye}-switcher-icon`,Ct=typeof ze=="function"?ze(qe):ze;return(0,Qe.l$)(Ct)?(0,Qe.Tm)(Ct,{className:Ne()(Ct.props.className||"",dt)}):Ct!==void 0?Ct:We?et?Me.createElement(Ke.Z,{className:`${Ye}-switcher-line-icon`}):Me.createElement(Be.Z,{className:`${Ye}-switcher-line-icon`}):Me.createElement(Ae,{className:dt})}},86251:function(Qn,Yt){"use strict";Yt.byteLength=ve,Yt.toByteArray=xe,Yt.fromByteArray=Be;for(var de=[],he=[],Me=typeof Uint8Array!="undefined"?Uint8Array:Array,He="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ft=0,Oe=He.length;ft<Oe;++ft)de[ft]=He[ft],he[He.charCodeAt(ft)]=ft;he[45]=62,he[95]=63;function Le(_e){var Ne=_e.length;if(Ne%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Qe=_e.indexOf("=");Qe===-1&&(Qe=Ne);var ke=Qe===Ne?0:4-Qe%4;return[Qe,ke]}function ve(_e){var Ne=Le(_e),Qe=Ne[0],ke=Ne[1];return(Qe+ke)*3/4-ke}function Ae(_e,Ne,Qe){return(Ne+Qe)*3/4-Qe}function xe(_e){var Ne,Qe=Le(_e),ke=Qe[0],Pe=Qe[1],Te=new Me(Ae(_e,ke,Pe)),Ye=0,ze=Pe>0?ke-4:ke,qe;for(qe=0;qe<ze;qe+=4)Ne=he[_e.charCodeAt(qe)]<<18|he[_e.charCodeAt(qe+1)]<<12|he[_e.charCodeAt(qe+2)]<<6|he[_e.charCodeAt(qe+3)],Te[Ye++]=Ne>>16&255,Te[Ye++]=Ne>>8&255,Te[Ye++]=Ne&255;return Pe===2&&(Ne=he[_e.charCodeAt(qe)]<<2|he[_e.charCodeAt(qe+1)]>>4,Te[Ye++]=Ne&255),Pe===1&&(Ne=he[_e.charCodeAt(qe)]<<10|he[_e.charCodeAt(qe+1)]<<4|he[_e.charCodeAt(qe+2)]>>2,Te[Ye++]=Ne>>8&255,Te[Ye++]=Ne&255),Te}function fe(_e){return de[_e>>18&63]+de[_e>>12&63]+de[_e>>6&63]+de[_e&63]}function Ke(_e,Ne,Qe){for(var ke,Pe=[],Te=Ne;Te<Qe;Te+=3)ke=(_e[Te]<<16&16711680)+(_e[Te+1]<<8&65280)+(_e[Te+2]&255),Pe.push(fe(ke));return Pe.join("")}function Be(_e){for(var Ne,Qe=_e.length,ke=Qe%3,Pe=[],Te=16383,Ye=0,ze=Qe-ke;Ye<ze;Ye+=Te)Pe.push(Ke(_e,Ye,Ye+Te>ze?ze:Ye+Te));return ke===1?(Ne=_e[Qe-1],Pe.push(de[Ne>>2]+de[Ne<<4&63]+"==")):ke===2&&(Ne=(_e[Qe-2]<<8)+_e[Qe-1],Pe.push(de[Ne>>10]+de[Ne>>4&63]+de[Ne<<2&63]+"=")),Pe.join("")}},19208:function(Qn,Yt,de){"use strict";var he;var Me=de(86251),He=de(67467),ft=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Yt.lW=Ae,he=Ye,Yt.h2=50;var Oe=2147483647;he=Oe,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>Oe)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 xe(ie,ae,se)}Ae.poolSize=8192;function xe(ie,ae,se){if(typeof ie=="string")return _e(ie,ae);if(ArrayBuffer.isView(ie))return Qe(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(Bn(ie,ArrayBuffer)||ie&&Bn(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Bn(ie,SharedArrayBuffer)||ie&&Bn(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 Je=Pe(ie);if(Je)return Je;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 xe(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 Ke(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 Ke(ie,ae,se)};function Be(ie){return fe(ie),ve(ie<0?0:Te(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=ze(ie,ae)|0,oe=ve(se),Je=oe.write(ie,ae);return Je!==se&&(oe=oe.slice(0,Je)),oe}function Ne(ie){for(var ae=ie.length<0?0:Te(ie.length)|0,se=ve(ae),oe=0;oe<ae;oe+=1)se[oe]=ie[oe]&255;return se}function Qe(ie){if(Bn(ie,Uint8Array)){var ae=new Uint8Array(ie);return ke(ae.buffer,ae.byteOffset,ae.byteLength)}return Ne(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 Pe(ie){if(Ae.isBuffer(ie)){var ae=Te(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):Ne(ie);if(ie.type==="Buffer"&&Array.isArray(ie.data))return Ne(ie.data)}function Te(ie){if(ie>=Oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Oe.toString(16)+" bytes");return ie|0}function Ye(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(Bn(ae,Uint8Array)&&(ae=Ae.from(ae,ae.offset,ae.byteLength)),Bn(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,Je=se.length,vt=0,$e=Math.min(oe,Je);vt<$e;++vt)if(ae[vt]!==se[vt]){oe=ae[vt],Je=se[vt];break}return oe<Je?-1:Je<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 Je=Ae.allocUnsafe(se),vt=0;for(oe=0;oe<ae.length;++oe){var $e=ae[oe];if(Bn($e,Uint8Array))vt+$e.length>Je.length?Ae.from($e).copy(Je,vt):Uint8Array.prototype.set.call(Je,$e,vt);else if(Ae.isBuffer($e))$e.copy(Je,vt);else throw new TypeError('"list" argument must be an Array of Buffers');vt+=$e.length}return Je};function ze(ie,ae){if(Ae.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||Bn(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 Je=!1;;)switch(ae){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return Tn(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(Je)return oe?-1:Tn(ie).length;ae=(""+ae).toLowerCase(),Je=!0}}Ae.byteLength=ze;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=Yt.h2;return ae=this.toString("hex",0,se).replace(/(.{2})/g,"$1 ").trim(),this.length>se&&(ae+=" ... "),"<Buffer "+ae+">"},ft&&(Ae.prototype[ft]=Ae.prototype.inspect),Ae.prototype.compare=function(ae,se,oe,Je,vt){if(Bn(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),Je===void 0&&(Je=0),vt===void 0&&(vt=this.length),se<0||oe>ae.length||Je<0||vt>this.length)throw new RangeError("out of range index");if(Je>=vt&&se>=oe)return 0;if(Je>=vt)return-1;if(se>=oe)return 1;if(se>>>=0,oe>>>=0,Je>>>=0,vt>>>=0,this===ae)return 0;for(var $e=vt-Je,lt=oe-se,Pt=Math.min($e,lt),_t=this.slice(Je,vt),kt=ae.slice(se,oe),$t=0;$t<Pt;++$t)if(_t[$t]!==kt[$t]){$e=_t[$t],lt=kt[$t];break}return $e<lt?-1:lt<$e?1:0};function Ze(ie,ae,se,oe,Je){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=Je?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Je)return-1;se=ie.length-1}else if(se<0)if(Je)se=0;else return-1;if(typeof ae=="string"&&(ae=Ae.from(ae,oe)),Ae.isBuffer(ae))return ae.length===0?-1:et(ie,ae,se,oe,Je);if(typeof ae=="number")return ae=ae&255,typeof Uint8Array.prototype.indexOf=="function"?Je?Uint8Array.prototype.indexOf.call(ie,ae,se):Uint8Array.prototype.lastIndexOf.call(ie,ae,se):et(ie,[ae],se,oe,Je);throw new TypeError("val must be string, number or Buffer")}function et(ie,ae,se,oe,Je){var vt=1,$e=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,$e/=2,lt/=2,se/=2}function Pt(St,nn){return vt===1?St[nn]:St.readUInt16BE(nn*vt)}var _t;if(Je){var kt=-1;for(_t=se;_t<$e;_t++)if(Pt(ie,_t)===Pt(ae,kt===-1?0:_t-kt)){if(kt===-1&&(kt=_t),_t-kt+1===lt)return kt*vt}else kt!==-1&&(_t-=_t-kt),kt=-1}else for(se+lt>$e&&(se=$e-lt),_t=se;_t>=0;_t--){for(var $t=!0,Sn=0;Sn<lt;Sn++)if(Pt(ie,_t+Sn)!==Pt(ae,Sn)){$t=!1;break}if($t)return _t}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 Je=ie.length-se;oe?(oe=Number(oe),oe>Je&&(oe=Je)):oe=Je;var vt=ae.length;oe>vt/2&&(oe=vt/2);for(var $e=0;$e<oe;++$e){var lt=parseInt(ae.substr($e*2,2),16);if(Se(lt))return $e;ie[se+$e]=lt}return $e}function ht(ie,ae,se,oe){return mn(Tn(ae,ie.length-se),ie,se,oe)}function dt(ie,ae,se,oe){return mn(dn(ae),ie,se,oe)}function Ct(ie,ae,se,oe){return mn(Cn(ae),ie,se,oe)}function Xe(ie,ae,se,oe){return mn(Gn(ae,ie.length-se),ie,se,oe)}Ae.prototype.write=function(ae,se,oe,Je){if(se===void 0)Je="utf8",oe=this.length,se=0;else if(oe===void 0&&typeof se=="string")Je=se,oe=this.length,se=0;else if(isFinite(se))se=se>>>0,isFinite(oe)?(oe=oe>>>0,Je===void 0&&(Je="utf8")):(Je=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");Je||(Je="utf8");for(var $e=!1;;)switch(Je){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 Ct(this,ae,se,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,ae,se,oe);default:if($e)throw new TypeError("Unknown encoding: "+Je);Je=(""+Je).toLowerCase(),$e=!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=[],Je=ae;Je<se;){var vt=ie[Je],$e=null,lt=vt>239?4:vt>223?3:vt>191?2:1;if(Je+lt<=se){var Pt,_t,kt,$t;switch(lt){case 1:vt<128&&($e=vt);break;case 2:Pt=ie[Je+1],(Pt&192)===128&&($t=(vt&31)<<6|Pt&63,$t>127&&($e=$t));break;case 3:Pt=ie[Je+1],_t=ie[Je+2],(Pt&192)===128&&(_t&192)===128&&($t=(vt&15)<<12|(Pt&63)<<6|_t&63,$t>2047&&($t<55296||$t>57343)&&($e=$t));break;case 4:Pt=ie[Je+1],_t=ie[Je+2],kt=ie[Je+3],(Pt&192)===128&&(_t&192)===128&&(kt&192)===128&&($t=(vt&15)<<18|(Pt&63)<<12|(_t&63)<<6|kt&63,$t>65535&&$t<1114112&&($e=$t))}}$e===null?($e=65533,lt=1):$e>65535&&($e-=65536,oe.push($e>>>10&1023|55296),$e=56320|$e&1023),oe.push($e),Je+=lt}return Et(oe)}var Ht=4096;function Et(ie){var ae=ie.length;if(ae<=Ht)return String.fromCharCode.apply(String,ie);for(var se="",oe=0;oe<ae;)se+=String.fromCharCode.apply(String,ie.slice(oe,oe+=Ht));return se}function bt(ie,ae,se){var oe="";se=Math.min(ie.length,se);for(var Je=ae;Je<se;++Je)oe+=String.fromCharCode(ie[Je]&127);return oe}function Tt(ie,ae,se){var oe="";se=Math.min(ie.length,se);for(var Je=ae;Je<se;++Je)oe+=String.fromCharCode(ie[Je]);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 Je="",vt=ae;vt<se;++vt)Je+=Fe[ie[vt]];return Je}function it(ie,ae,se){for(var oe=ie.slice(ae,se),Je="",vt=0;vt<oe.length-1;vt+=2)Je+=String.fromCharCode(oe[vt]+oe[vt+1]*256);return Je}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 Je=this.subarray(ae,se);return Object.setPrototypeOf(Je,Ae.prototype),Je};function Ue(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||Ue(ae,se,this.length);for(var Je=this[ae],vt=1,$e=0;++$e<se&&(vt*=256);)Je+=this[ae+$e]*vt;return Je},Ae.prototype.readUintBE=Ae.prototype.readUIntBE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||Ue(ae,se,this.length);for(var Je=this[ae+--se],vt=1;se>0&&(vt*=256);)Je+=this[ae+--se]*vt;return Je},Ae.prototype.readUint8=Ae.prototype.readUInt8=function(ae,se){return ae=ae>>>0,se||Ue(ae,1,this.length),this[ae]},Ae.prototype.readUint16LE=Ae.prototype.readUInt16LE=function(ae,se){return ae=ae>>>0,se||Ue(ae,2,this.length),this[ae]|this[ae+1]<<8},Ae.prototype.readUint16BE=Ae.prototype.readUInt16BE=function(ae,se){return ae=ae>>>0,se||Ue(ae,2,this.length),this[ae]<<8|this[ae+1]},Ae.prototype.readUint32LE=Ae.prototype.readUInt32LE=function(ae,se){return ae=ae>>>0,se||Ue(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||Ue(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||Ue(ae,se,this.length);for(var Je=this[ae],vt=1,$e=0;++$e<se&&(vt*=256);)Je+=this[ae+$e]*vt;return vt*=128,Je>=vt&&(Je-=Math.pow(2,8*se)),Je},Ae.prototype.readIntBE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||Ue(ae,se,this.length);for(var Je=se,vt=1,$e=this[ae+--Je];Je>0&&(vt*=256);)$e+=this[ae+--Je]*vt;return vt*=128,$e>=vt&&($e-=Math.pow(2,8*se)),$e},Ae.prototype.readInt8=function(ae,se){return ae=ae>>>0,se||Ue(ae,1,this.length),this[ae]&128?(255-this[ae]+1)*-1:this[ae]},Ae.prototype.readInt16LE=function(ae,se){ae=ae>>>0,se||Ue(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||Ue(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||Ue(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||Ue(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||Ue(ae,4,this.length),He.read(this,ae,!0,23,4)},Ae.prototype.readFloatBE=function(ae,se){return ae=ae>>>0,se||Ue(ae,4,this.length),He.read(this,ae,!1,23,4)},Ae.prototype.readDoubleLE=function(ae,se){return ae=ae>>>0,se||Ue(ae,8,this.length),He.read(this,ae,!0,52,8)},Ae.prototype.readDoubleBE=function(ae,se){return ae=ae>>>0,se||Ue(ae,8,this.length),He.read(this,ae,!1,52,8)};function at(ie,ae,se,oe,Je,vt){if(!Ae.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ae>Je||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,Je){if(ae=+ae,se=se>>>0,oe=oe>>>0,!Je){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var $e=1,lt=0;for(this[se]=ae&255;++lt<oe&&($e*=256);)this[se+lt]=ae/$e&255;return se+oe},Ae.prototype.writeUintBE=Ae.prototype.writeUIntBE=function(ae,se,oe,Je){if(ae=+ae,se=se>>>0,oe=oe>>>0,!Je){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var $e=oe-1,lt=1;for(this[se+$e]=ae&255;--$e>=0&&(lt*=256);)this[se+$e]=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,Je){if(ae=+ae,se=se>>>0,!Je){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var $e=0,lt=1,Pt=0;for(this[se]=ae&255;++$e<oe&&(lt*=256);)ae<0&&Pt===0&&this[se+$e-1]!==0&&(Pt=1),this[se+$e]=(ae/lt>>0)-Pt&255;return se+oe},Ae.prototype.writeIntBE=function(ae,se,oe,Je){if(ae=+ae,se=se>>>0,!Je){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var $e=oe-1,lt=1,Pt=0;for(this[se+$e]=ae&255;--$e>=0&&(lt*=256);)ae<0&&Pt===0&&this[se+$e+1]!==0&&(Pt=1),this[se+$e]=(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 Xt(ie,ae,se,oe,Je,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,Je){return ae=+ae,se=se>>>0,Je||Xt(ie,ae,se,4,34028234663852886e22,-34028234663852886e22),He.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 xt(ie,ae,se,oe,Je){return ae=+ae,se=se>>>0,Je||Xt(ie,ae,se,8,17976931348623157e292,-17976931348623157e292),He.write(ie,ae,se,oe,52,8),se+8}Ae.prototype.writeDoubleLE=function(ae,se,oe){return xt(this,ae,se,!0,oe)},Ae.prototype.writeDoubleBE=function(ae,se,oe){return xt(this,ae,se,!1,oe)},Ae.prototype.copy=function(ae,se,oe,Je){if(!Ae.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(oe||(oe=0),!Je&&Je!==0&&(Je=this.length),se>=ae.length&&(se=ae.length),se||(se=0),Je>0&&Je<oe&&(Je=oe),Je===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(Je<0)throw new RangeError("sourceEnd out of bounds");Je>this.length&&(Je=this.length),ae.length-se<Je-oe&&(Je=ae.length-se+oe);var vt=Je-oe;return this===ae&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(se,oe,Je):Uint8Array.prototype.set.call(ae,this.subarray(oe,Je),se),vt},Ae.prototype.fill=function(ae,se,oe,Je){if(typeof ae=="string"){if(typeof se=="string"?(Je=se,se=0,oe=this.length):typeof oe=="string"&&(Je=oe,oe=this.length),Je!==void 0&&typeof Je!="string")throw new TypeError("encoding must be a string");if(typeof Je=="string"&&!Ae.isEncoding(Je))throw new TypeError("Unknown encoding: "+Je);if(ae.length===1){var vt=ae.charCodeAt(0);(Je==="utf8"&&vt<128||Je==="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 $e;if(typeof ae=="number")for($e=se;$e<oe;++$e)this[$e]=ae;else{var lt=Ae.isBuffer(ae)?ae:Ae.from(ae,Je),Pt=lt.length;if(Pt===0)throw new TypeError('The value "'+ae+'" is invalid for argument "value"');for($e=0;$e<oe-se;++$e)this[$e+se]=lt[$e%Pt]}return this};var Qt=/[^+/0-9A-Za-z-_]/g;function An(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 Tn(ie,ae){ae=ae||1/0;for(var se,oe=ie.length,Je=null,vt=[],$e=0;$e<oe;++$e){if(se=ie.charCodeAt($e),se>55295&&se<57344){if(!Je){if(se>56319){(ae-=3)>-1&&vt.push(239,191,189);continue}else if($e+1===oe){(ae-=3)>-1&&vt.push(239,191,189);continue}Je=se;continue}if(se<56320){(ae-=3)>-1&&vt.push(239,191,189),Je=se;continue}se=(Je-55296<<10|se-56320)+65536}else Je&&(ae-=3)>-1&&vt.push(239,191,189);if(Je=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 dn(ie){for(var ae=[],se=0;se<ie.length;++se)ae.push(ie.charCodeAt(se)&255);return ae}function Gn(ie,ae){for(var se,oe,Je,vt=[],$e=0;$e<ie.length&&!((ae-=2)<0);++$e)se=ie.charCodeAt($e),oe=se>>8,Je=se%256,vt.push(Je),vt.push(oe);return vt}function Cn(ie){return Me.toByteArray(An(ie))}function mn(ie,ae,se,oe){for(var Je=0;Je<oe&&!(Je+se>=ae.length||Je>=ie.length);++Je)ae[Je+se]=ie[Je];return Je}function Bn(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,Je=0;Je<16;++Je)ae[oe+Je]=ie[se]+ie[Je];return ae}()},14625:function(Qn){function Yt(he){var Me,He,ft="";if(typeof he=="string"||typeof he=="number")ft+=he;else if(typeof he=="object")if(Array.isArray(he)){var Oe=he.length;for(Me=0;Me<Oe;Me++)he[Me]&&(He=Yt(he[Me]))&&(ft&&(ft+=" "),ft+=He)}else for(He in he)he[He]&&(ft&&(ft+=" "),ft+=He);return ft}function de(){for(var he,Me,He=0,ft="",Oe=arguments.length;He<Oe;He++)(he=arguments[He])&&(Me=Yt(he))&&(ft&&(ft+=" "),ft+=Me);return ft}Qn.exports=de,Qn.exports.clsx=de},99498:function(Qn,Yt,de){(function(he){he(de(89780))})(function(he){he.defineOption("placeholder","",function(Ae,xe,fe){var Ke=fe&&fe!=he.Init;if(xe&&!Ke)Ae.on("blur",Oe),Ae.on("change",Le),Ae.on("swapDoc",Le),he.on(Ae.getInputField(),"compositionupdate",Ae.state.placeholderCompose=function(){ft(Ae)}),Le(Ae);else if(!xe&&Ke){Ae.off("blur",Oe),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","")}xe&&!Ae.hasFocus()&&Oe(Ae)});function Me(Ae){Ae.state.placeholder&&(Ae.state.placeholder.parentNode.removeChild(Ae.state.placeholder),Ae.state.placeholder=null)}function He(Ae){Me(Ae);var xe=Ae.state.placeholder=document.createElement("pre");xe.style.cssText="height: 0; overflow: visible",xe.style.direction=Ae.getOption("direction"),xe.className="CodeMirror-placeholder CodeMirror-line-like";var fe=Ae.getOption("placeholder");typeof fe=="string"&&(fe=document.createTextNode(fe)),xe.appendChild(fe),Ae.display.lineSpace.insertBefore(xe,Ae.display.lineSpace.firstChild)}function ft(Ae){setTimeout(function(){var xe=!1,fe=Ae.getInputField();fe.nodeName=="TEXTAREA"?xe=!fe.value:Ae.lineCount()==1&&(xe=!/[^\u200b]/.test(fe.querySelector(".CodeMirror-line").textContent)),xe?He(Ae):Me(Ae)},20)}function Oe(Ae){ve(Ae)&&He(Ae)}function Le(Ae){var xe=Ae.getWrapperElement(),fe=ve(Ae);xe.className=xe.className.replace(" CodeMirror-empty","")+(fe?" CodeMirror-empty":""),fe?He(Ae):Me(Ae)}function ve(Ae){return Ae.lineCount()===1&&Ae.getLine(0)===""}})},25717:function(Qn,Yt,de){(function(he){he(de(89780))})(function(he){var Me={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},He=he.Pos;he.defineOption("autoCloseBrackets",!1,function(Qe,ke,Pe){Pe&&Pe!=he.Init&&(Qe.removeKeyMap(Oe),Qe.state.closeBrackets=null),ke&&(Le(ft(ke,"pairs")),Qe.state.closeBrackets=ke,Qe.addKeyMap(Oe))});function ft(Qe,ke){return ke=="pairs"&&typeof Qe=="string"?Qe:typeof Qe=="object"&&Qe[ke]!=null?Qe[ke]:Me[ke]}var Oe={Backspace:xe,Enter:fe};function Le(Qe){for(var ke=0;ke<Qe.length;ke++){var Pe=Qe.charAt(ke),Te="'"+Pe+"'";Oe[Te]||(Oe[Te]=ve(Pe))}}Le(Me.pairs+"`");function ve(Qe){return function(ke){return Be(ke,Qe)}}function Ae(Qe){var ke=Qe.state.closeBrackets;if(!ke||ke.override)return ke;var Pe=Qe.getModeAt(Qe.getCursor());return Pe.closeBrackets||ke}function xe(Qe){var ke=Ae(Qe);if(!ke||Qe.getOption("disableInput"))return he.Pass;for(var Pe=ft(ke,"pairs"),Te=Qe.listSelections(),Ye=0;Ye<Te.length;Ye++){if(!Te[Ye].empty())return he.Pass;var ze=_e(Qe,Te[Ye].head);if(!ze||Pe.indexOf(ze)%2!=0)return he.Pass}for(var Ye=Te.length-1;Ye>=0;Ye--){var qe=Te[Ye].head;Qe.replaceRange("",He(qe.line,qe.ch-1),He(qe.line,qe.ch+1),"+delete")}}function fe(Qe){var ke=Ae(Qe),Pe=ke&&ft(ke,"explode");if(!Pe||Qe.getOption("disableInput"))return he.Pass;for(var Te=Qe.listSelections(),Ye=0;Ye<Te.length;Ye++){if(!Te[Ye].empty())return he.Pass;var ze=_e(Qe,Te[Ye].head);if(!ze||Pe.indexOf(ze)%2!=0)return he.Pass}Qe.operation(function(){var qe=Qe.lineSeparator()||`
`;Qe.replaceSelection(qe+qe,null),Qe.execCommand("goCharLeft"),Te=Qe.listSelections();for(var We=0;We<Te.length;We++){var Ze=Te[We].head.line;Qe.indentLine(Ze,null,!0),Qe.indentLine(Ze+1,null,!0)}})}function Ke(Qe){var ke=he.cmpPos(Qe.anchor,Qe.head)>0;return{anchor:new He(Qe.anchor.line,Qe.anchor.ch+(ke?-1:1)),head:new He(Qe.head.line,Qe.head.ch+(ke?1:-1))}}function Be(Qe,ke){var Pe=Ae(Qe);if(!Pe||Qe.getOption("disableInput"))return he.Pass;var Te=ft(Pe,"pairs"),Ye=Te.indexOf(ke);if(Ye==-1)return he.Pass;for(var ze=ft(Pe,"closeBefore"),qe=ft(Pe,"triples"),We=Te.charAt(Ye+1)==ke,Ze=Qe.listSelections(),et=Ye%2==0,rt,ht=0;ht<Ze.length;ht++){var dt=Ze[ht],Ct=dt.head,Xe,Lt=Qe.getRange(Ct,He(Ct.line,Ct.ch+1));if(et&&!dt.empty())Xe="surround";else if((We||!et)&&Lt==ke)We&&Ne(Qe,Ct)?Xe="both":qe.indexOf(ke)>=0&&Qe.getRange(Ct,He(Ct.line,Ct.ch+3))==ke+ke+ke?Xe="skipThree":Xe="skip";else if(We&&Ct.ch>1&&qe.indexOf(ke)>=0&&Qe.getRange(He(Ct.line,Ct.ch-2),Ct)==ke+ke){if(Ct.ch>2&&/\bstring/.test(Qe.getTokenTypeAt(He(Ct.line,Ct.ch-2))))return he.Pass;Xe="addFour"}else if(We){var Re=Ct.ch==0?" ":Qe.getRange(He(Ct.line,Ct.ch-1),Ct);if(!he.isWordChar(Lt)&&Re!=ke&&!he.isWordChar(Re))Xe="both";else return he.Pass}else if(et&&(Lt.length===0||/\s/.test(Lt)||ze.indexOf(Lt)>-1))Xe="both";else return he.Pass;if(!rt)rt=Xe;else if(rt!=Xe)return he.Pass}var Ht=Ye%2?Te.charAt(Ye-1):ke,Et=Ye%2?ke:Te.charAt(Ye+1);Qe.operation(function(){if(rt=="skip")Qe.execCommand("goCharRight");else if(rt=="skipThree")for(var bt=0;bt<3;bt++)Qe.execCommand("goCharRight");else if(rt=="surround"){for(var Tt=Qe.getSelections(),bt=0;bt<Tt.length;bt++)Tt[bt]=Ht+Tt[bt]+Et;Qe.replaceSelections(Tt,"around"),Tt=Qe.listSelections().slice();for(var bt=0;bt<Tt.length;bt++)Tt[bt]=Ke(Tt[bt]);Qe.setSelections(Tt)}else rt=="both"?(Qe.replaceSelection(Ht+Et,null),Qe.triggerElectric(Ht+Et),Qe.execCommand("goCharLeft")):rt=="addFour"&&(Qe.replaceSelection(Ht+Ht+Ht+Ht,"before"),Qe.execCommand("goCharRight"))})}function _e(Qe,ke){var Pe=Qe.getRange(He(ke.line,ke.ch-1),He(ke.line,ke.ch+1));return Pe.length==2?Pe:null}function Ne(Qe,ke){var Pe=Qe.getTokenAt(He(ke.line,ke.ch+1));return/\bstring/.test(Pe.type)&&Pe.start==ke.ch&&(ke.ch==0||!/\bstring/.test(Qe.getTokenTypeAt(ke)))}})},6313:function(Qn,Yt,de){(function(he){he(de(89780),de(32855))})(function(he){he.defineOption("autoCloseTags",!1,function(xe,fe,Ke){if(Ke!=he.Init&&Ke&&xe.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 ft(_e)}),xe.addKeyMap(Be)}});var Me=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],He=["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 ft(xe){if(xe.getOption("disableInput"))return he.Pass;for(var fe=xe.listSelections(),Ke=[],Be=xe.getOption("autoCloseTags"),_e=0;_e<fe.length;_e++){if(!fe[_e].empty())return he.Pass;var Ne=fe[_e].head,Qe=xe.getTokenAt(Ne),ke=he.innerMode(xe.getMode(),Qe.state),Pe=ke.state,Te=ke.mode.xmlCurrentTag&&ke.mode.xmlCurrentTag(Pe),Ye=Te&&Te.name;if(!Ye)return he.Pass;var ze=ke.mode.configuration=="html",qe=typeof Be=="object"&&Be.dontCloseTags||ze&&Me,We=typeof Be=="object"&&Be.indentTags||ze&&He;Qe.end>Ne.ch&&(Ye=Ye.slice(0,Ye.length-Qe.end+Ne.ch));var Ze=Ye.toLowerCase();if(!Ye||Qe.type=="string"&&(Qe.end!=Ne.ch||!/[\"\']/.test(Qe.string.charAt(Qe.string.length-1))||Qe.string.length==1)||Qe.type=="tag"&&Te.close||Qe.string.indexOf("/")==Ne.ch-Qe.start-1||qe&&ve(qe,Ze)>-1||Ae(xe,ke.mode.xmlCurrentContext&&ke.mode.xmlCurrentContext(Pe)||[],Ye,Ne,!0))return he.Pass;var et=typeof Be=="object"&&Be.emptyTags;if(et&&ve(et,Ye)>-1){Ke[_e]={text:"/>",newPos:he.Pos(Ne.line,Ne.ch+2)};continue}var rt=We&&ve(We,Ze)>-1;Ke[_e]={indent:rt,text:">"+(rt?`
`:"")+"</"+Ye+">",newPos:rt?he.Pos(Ne.line+1,0):he.Pos(Ne.line,Ne.ch+1)}}for(var ht=typeof Be=="object"&&Be.dontIndentOnAutoClose,_e=fe.length-1;_e>=0;_e--){var dt=Ke[_e];xe.replaceRange(dt.text,fe[_e].head,fe[_e].anchor,"+insert");var Ct=xe.listSelections().slice(0);Ct[_e]={head:dt.newPos,anchor:dt.newPos},xe.setSelections(Ct),!ht&&dt.indent&&(xe.indentLine(dt.newPos.line,null,!0),xe.indentLine(dt.newPos.line+1,null,!0))}}function Oe(xe,fe){for(var Ke=xe.listSelections(),Be=[],_e=fe?"/":"</",Ne=xe.getOption("autoCloseTags"),Qe=typeof Ne=="object"&&Ne.dontIndentOnSlash,ke=0;ke<Ke.length;ke++){if(!Ke[ke].empty())return he.Pass;var Pe=Ke[ke].head,Te=xe.getTokenAt(Pe),Ye=he.innerMode(xe.getMode(),Te.state),ze=Ye.state;if(fe&&(Te.type=="string"||Te.string.charAt(0)!="<"||Te.start!=Pe.ch-1))return he.Pass;var qe,We=Ye.mode.name!="xml"&&xe.getMode().name=="htmlmixed";if(We&&Ye.mode.name=="javascript")qe=_e+"script";else if(We&&Ye.mode.name=="css")qe=_e+"style";else{var Ze=Ye.mode.xmlCurrentContext&&Ye.mode.xmlCurrentContext(ze);if(!Ze||Ze.length&&Ae(xe,Ze,Ze[Ze.length-1],Pe))return he.Pass;qe=_e+Ze[Ze.length-1]}xe.getLine(Pe.line).charAt(Te.end)!=">"&&(qe+=">"),Be[ke]=qe}if(xe.replaceSelections(Be),Ke=xe.listSelections(),!Qe)for(var ke=0;ke<Ke.length;ke++)(ke==Ke.length-1||Ke[ke].head.line<Ke[ke+1].head.line)&&xe.indentLine(Ke[ke].head.line)}function Le(xe){return xe.getOption("disableInput")?he.Pass:Oe(xe,!0)}he.commands.closeTag=function(xe){return Oe(xe)};function ve(xe,fe){if(xe.indexOf)return xe.indexOf(fe);for(var Ke=0,Be=xe.length;Ke<Be;++Ke)if(xe[Ke]==fe)return Ke;return-1}function Ae(xe,fe,Ke,Be,_e){if(!he.scanForClosingTag)return!1;var Ne=Math.min(xe.lastLine()+1,Be.line+500),Qe=he.scanForClosingTag(xe,Be,null,Ne);if(!Qe||Qe.tag!=Ke)return!1;for(var ke=_e?1:0,Pe=fe.length-1;Pe>=0&&fe[Pe]==Ke;Pe--)++ke;Be=Qe.to;for(var Pe=1;Pe<ke;Pe++){var Te=he.scanForClosingTag(xe,Be,null,Ne);if(!Te||Te.tag!=Ke)return!1;Be=Te.to}return!0}})},32855:function(Qn,Yt,de){(function(he){he(de(89780))})(function(he){"use strict";var Me=he.Pos;function He(Pe,Te){return Pe.line-Te.line||Pe.ch-Te.ch}var ft="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",Oe=ft+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Le=new RegExp("<(/?)(["+ft+"]["+Oe+"]*)","g");function ve(Pe,Te,Ye,ze){this.line=Te,this.ch=Ye,this.cm=Pe,this.text=Pe.getLine(Te),this.min=ze?Math.max(ze.from,Pe.firstLine()):Pe.firstLine(),this.max=ze?Math.min(ze.to-1,Pe.lastLine()):Pe.lastLine()}function Ae(Pe,Te){var Ye=Pe.cm.getTokenTypeAt(Me(Pe.line,Te));return Ye&&/\btag\b/.test(Ye)}function xe(Pe){if(!(Pe.line>=Pe.max))return Pe.ch=0,Pe.text=Pe.cm.getLine(++Pe.line),!0}function fe(Pe){if(!(Pe.line<=Pe.min))return Pe.text=Pe.cm.getLine(--Pe.line),Pe.ch=Pe.text.length,!0}function Ke(Pe){for(;;){var Te=Pe.text.indexOf(">",Pe.ch);if(Te==-1){if(xe(Pe))continue;return}if(!Ae(Pe,Te+1)){Pe.ch=Te+1;continue}var Ye=Pe.text.lastIndexOf("/",Te),ze=Ye>-1&&!/\S/.test(Pe.text.slice(Ye+1,Te));return Pe.ch=Te+1,ze?"selfClose":"regular"}}function Be(Pe){for(;;){var Te=Pe.ch?Pe.text.lastIndexOf("<",Pe.ch-1):-1;if(Te==-1){if(fe(Pe))continue;return}if(!Ae(Pe,Te+1)){Pe.ch=Te;continue}Le.lastIndex=Te,Pe.ch=Te;var Ye=Le.exec(Pe.text);if(Ye&&Ye.index==Te)return Ye}}function _e(Pe){for(;;){Le.lastIndex=Pe.ch;var Te=Le.exec(Pe.text);if(!Te){if(xe(Pe))continue;return}if(!Ae(Pe,Te.index+1)){Pe.ch=Te.index+1;continue}return Pe.ch=Te.index+Te[0].length,Te}}function Ne(Pe){for(;;){var Te=Pe.ch?Pe.text.lastIndexOf(">",Pe.ch-1):-1;if(Te==-1){if(fe(Pe))continue;return}if(!Ae(Pe,Te+1)){Pe.ch=Te;continue}var Ye=Pe.text.lastIndexOf("/",Te),ze=Ye>-1&&!/\S/.test(Pe.text.slice(Ye+1,Te));return Pe.ch=Te+1,ze?"selfClose":"regular"}}function Qe(Pe,Te){for(var Ye=[];;){var ze=_e(Pe),qe,We=Pe.line,Ze=Pe.ch-(ze?ze[0].length:0);if(!ze||!(qe=Ke(Pe)))return;if(qe!="selfClose")if(ze[1]){for(var et=Ye.length-1;et>=0;--et)if(Ye[et]==ze[2]){Ye.length=et;break}if(et<0&&(!Te||Te==ze[2]))return{tag:ze[2],from:Me(We,Ze),to:Me(Pe.line,Pe.ch)}}else Ye.push(ze[2])}}function ke(Pe,Te){for(var Ye=[];;){var ze=Ne(Pe);if(!ze)return;if(ze=="selfClose"){Be(Pe);continue}var qe=Pe.line,We=Pe.ch,Ze=Be(Pe);if(!Ze)return;if(Ze[1])Ye.push(Ze[2]);else{for(var et=Ye.length-1;et>=0;--et)if(Ye[et]==Ze[2]){Ye.length=et;break}if(et<0&&(!Te||Te==Ze[2]))return{tag:Ze[2],from:Me(Pe.line,Pe.ch),to:Me(qe,We)}}}}he.registerHelper("fold","xml",function(Pe,Te){for(var Ye=new ve(Pe,Te.line,0);;){var ze=_e(Ye);if(!ze||Ye.line!=Te.line)return;var qe=Ke(Ye);if(!qe)return;if(!ze[1]&&qe!="selfClose"){var We=Me(Ye.line,Ye.ch),Ze=Qe(Ye,ze[2]);return Ze&&He(Ze.from,We)>0?{from:We,to:Ze.from}:null}}}),he.findMatchingTag=function(Pe,Te,Ye){var ze=new ve(Pe,Te.line,Te.ch,Ye);if(!(ze.text.indexOf(">")==-1&&ze.text.indexOf("<")==-1)){var qe=Ke(ze),We=qe&&Me(ze.line,ze.ch),Ze=qe&&Be(ze);if(!(!qe||!Ze||He(ze,Te)>0)){var et={from:Me(ze.line,ze.ch),to:We,tag:Ze[2]};return qe=="selfClose"?{open:et,close:null,at:"open"}:Ze[1]?{open:ke(ze,Ze[2]),close:et,at:"close"}:(ze=new ve(Pe,We.line,We.ch,Ye),{open:et,close:Qe(ze,Ze[2]),at:"open"})}}},he.findEnclosingTag=function(Pe,Te,Ye,ze){for(var qe=new ve(Pe,Te.line,Te.ch,Ye);;){var We=ke(qe,ze);if(!We)break;var Ze=new ve(Pe,Te.line,Te.ch,Ye),et=Qe(Ze,We.tag);if(et)return{open:We,close:et}}},he.scanForClosingTag=function(Pe,Te,Ye,ze){var qe=new ve(Pe,Te.line,Te.ch,ze?{from:0,to:ze}:null);return Qe(qe,Ye)}})},89780:function(Qn){(function(Yt,de){Qn.exports=de()})(this,function(){"use strict";var Yt=navigator.userAgent,de=navigator.platform,he=/gecko\/\d/i.test(Yt),Me=/MSIE \d/.test(Yt),He=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yt),ft=/Edge\/(\d+)/.exec(Yt),Oe=Me||He||ft,Le=Oe&&(Me?document.documentMode||6:+(ft||He)[1]),ve=!ft&&/WebKit\//.test(Yt),Ae=ve&&/Qt\/\d+\.\d+/.test(Yt),xe=!ft&&/Chrome\//.test(Yt),fe=/Opera\//.test(Yt),Ke=/Apple Computer/.test(navigator.vendor),Be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Yt),_e=/PhantomJS/.test(Yt),Ne=!ft&&/AppleWebKit/.test(Yt)&&/Mobile\/\w+/.test(Yt),Qe=/Android/.test(Yt),ke=Ne||Qe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Yt),Pe=Ne||/Mac/.test(de),Te=/\bCrOS\b/.test(Yt),Ye=/win/i.test(de),ze=fe&&Yt.match(/Version\/(\d*\.\d*)/);ze&&(ze=Number(ze[1])),ze&&ze>=15&&(fe=!1,ve=!0);var qe=Pe&&(Ae||fe&&(ze==null||ze<12.11)),We=he||Oe&&Le>=9;function Ze(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var et=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 Ct(x,ee,ue,le){var me=dt(x,ee,ue,le);return me.setAttribute("role","presentation"),me}var Xe;document.createRange?Xe=function(x,ee,ue,le){var me=document.createRange();return me.setEnd(le||x,ue),me.setStart(x,ee),me}:Xe=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 Ht(x,ee){var ue=x.className;Ze(ee).test(ue)||(x.className+=(ue?" ":"")+ee)}function Et(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()};Ne?bt=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:Oe&&(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 Ue=function(){this.id=null,this.f=null,this.time=0,this.handler=Tt(this.onTimeout,this)};Ue.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Ue.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 Xt=50,Vt={toString:function(){return"CodeMirror.Pass"}},xt={scroll:!1},Qt={origin:"*mouse"},An={origin:"+move"};function Tn(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 dn=[""];function Gn(x){for(;dn.length<=x;)dn.push(Cn(dn)+" ");return dn[x]}function Cn(x){return x[x.length-1]}function mn(x,ee){for(var ue=[],le=0;le<x.length;le++)ue[le]=ee(x[le],le);return ue}function Bn(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 Je=/[\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&&Je.test(x)}function $e(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 _t=null;function kt(x,ee,ue){var le;_t=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:_t=me),Ve.from==ee&&(Ve.from!=Ve.to&&ue!="before"?le=me:_t=me)}return le!=null?le:_t}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 Ut(Jt,Zn,ir){this.level=Jt,this.from=Zn,this.to=ir}return function(Jt,Zn){var ir=Zn=="ltr"?"L":"R";if(Jt.length==0||Zn=="ltr"&&!le.test(Jt))return!1;for(var Yr=Jt.length,Qr=[],Oi=0;Oi<Yr;++Oi)Qr.push(ue(Jt.charCodeAt(Oi)));for(var ma=0,qa=ir;ma<Yr;++ma){var bo=Qr[ma];bo=="m"?Qr[ma]=qa:qa=bo}for(var _o=0,po=ir;_o<Yr;++_o){var Uo=Qr[_o];Uo=="1"&&po=="r"?Qr[_o]="n":Ve.test(Uo)&&(po=Uo,Uo=="r"&&(Qr[_o]="R"))}for(var hs=1,vs=Qr[0];hs<Yr-1;++hs){var Ns=Qr[hs];Ns=="+"&&vs=="1"&&Qr[hs+1]=="1"?Qr[hs]="1":Ns==","&&vs==Qr[hs+1]&&(vs=="1"||vs=="n")&&(Qr[hs]=vs),vs=Ns}for(var Hu=0;Hu<Yr;++Hu){var dd=Qr[Hu];if(dd==",")Qr[Hu]="N";else if(dd=="%"){var wc=void 0;for(wc=Hu+1;wc<Yr&&Qr[wc]=="%";++wc);for(var Id=Hu&&Qr[Hu-1]=="!"||wc<Yr&&Qr[wc]=="1"?"1":"N",xd=Hu;xd<wc;++xd)Qr[xd]=Id;Hu=wc-1}}for(var ad=0,Hd=ir;ad<Yr;++ad){var $s=Qr[ad];Hd=="L"&&$s=="1"?Qr[ad]="L":Ve.test($s)&&(Hd=$s)}for(var fo=0;fo<Yr;++fo)if(me.test(Qr[fo])){var Xu=void 0;for(Xu=fo+1;Xu<Yr&&me.test(Qr[Xu]);++Xu);for(var xc=(fo?Qr[fo-1]:ir)=="L",Mu=(Xu<Yr?Qr[Xu]:ir)=="L",Nh=xc==Mu?xc?"L":"R":ir,Dl=fo;Dl<Xu;++Dl)Qr[Dl]=Nh;fo=Xu-1}for(var Ul=[],su,Cd=0;Cd<Yr;)if(mt.test(Qr[Cd])){var o0=Cd;for(++Cd;Cd<Yr&&mt.test(Qr[Cd]);++Cd);Ul.push(new Ut(0,o0,Cd))}else{var Ps=Cd,LA=Ul.length,fu=Zn=="rtl"?1:0;for(++Cd;Cd<Yr&&Qr[Cd]!="L";++Cd);for(var Kc=Ps;Kc<Cd;)if(It.test(Qr[Kc])){Ps<Kc&&(Ul.splice(LA,0,new Ut(1,Ps,Kc)),LA+=fu);var Uf=Kc;for(++Kc;Kc<Cd&&It.test(Qr[Kc]);++Kc);Ul.splice(LA,0,new Ut(2,Uf,Kc)),LA+=fu,Ps=Kc}else++Kc;Ps<Cd&&Ul.splice(LA,0,new Ut(1,Ps,Cd))}return Zn=="ltr"&&(Ul[0].level==1&&(su=Jt.match(/^\s+/))&&(Ul[0].from=su[0].length,Ul.unshift(new Ut(0,0,su[0].length))),Cn(Ul).level==1&&(su=Jt.match(/\s+$/))&&(Cn(Ul).to-=su[0].length,Ul.push(new Ut(0,Yr-su[0].length,Yr)))),Zn=="rtl"?Ul.reverse():Ul}}();function Sn(x,ee){var ue=x.order;return ue==null&&(ue=x.order=$t(x.text,ee)),ue}var St=[],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]||St).concat(ue)}};function tn(x,ee){return x._handlers&&x._handlers[ee]||St}function jt(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 Zt(x,ee,ue){return typeof ee=="string"&&(ee={type:ee,preventDefault:function(){this.defaultPrevented=!0}}),pt(x,ue||ee.type,x,ee),Tr(ee)||ee.codemirrorIgnore}function gn(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 wn(x,ee){return tn(x,ee).length>0}function Xn(x){x.prototype.on=function(ee,ue){nn(this,ee,ue)},x.prototype.off=function(ee,ue){jt(this,ee,ue)}}function yr(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Dr(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Tr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Rr(x){yr(x),Dr(x)}function Sr(x){return x.target||x.srcElement}function fr(x){var ee=x.which;return ee==null&&(x.button&1?ee=1:x.button&2?ee=3:x.button&4&&(ee=2)),Pe&&x.ctrlKey&&ee==1&&(ee=3),ee}var Vr=function(){if(Oe&&Le<9)return!1;var x=dt("div");return"draggable"in x||"dragDrop"in x}(),Bi;function yi(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&&!(Oe&&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 Vi(x){if(mi!=null)return mi;var ee=ht(x,document.createTextNode("A\u062EA")),ue=Xe(ee,0,1).getBoundingClientRect(),le=Xe(ee,1,2).getBoundingClientRect();return rt(x),!ue||ue.left==ue.right?!1:mi=le.right-ue.right<3}var ua=`
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/)},Wr=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},Mn=function(){var x=dt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),ea=null;function Ea(x){if(ea!=null)return ea;var ee=ht(x,dt("span","x")),ue=ee.getBoundingClientRect(),le=Xe(ee,0,1).getBoundingClientRect();return ea=Math.abs(ue.left-le.left)>1}var wo={},sa={};function Pi(x,ee){arguments.length>2&&(ee.dependencies=Array.prototype.slice.call(arguments,2)),wo[x]=ee}function Aa(x,ee){sa[x]=ee}function Si(x){if(typeof x=="string"&&sa.hasOwnProperty(x))x=sa[x];else if(x&&typeof x.name=="string"&&sa.hasOwnProperty(x.name)){var ee=sa[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 qr(x,ee){ee=Si(ee);var ue=wo[ee.name];if(!ue)return qr(x,"text/plain");var le=ue(x,ee);if(Ma.hasOwnProperty(ee.name)){var me=Ma[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 Ma={};function kn(x,ee){var ue=Ma.hasOwnProperty(x)?Ma[x]:Ma[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 Wt(x,ee,ue){return x.startState?x.startState(ee,ue):!0}var Kt=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};Kt.prototype.eol=function(){return this.pos>=this.string.length},Kt.prototype.sol=function(){return this.pos==this.lineStart},Kt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Kt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Kt.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},Kt.prototype.eatWhile=function(x){for(var ee=this.pos;this.eat(x););return this.pos>ee},Kt.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},Kt.prototype.skipToEnd=function(){this.pos=this.string.length},Kt.prototype.skipTo=function(x){var ee=this.string.indexOf(x,this.pos);if(ee>-1)return this.pos=ee,!0},Kt.prototype.backUp=function(x){this.pos-=x},Kt.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)},Kt.prototype.indentation=function(){return it(this.string,null,this.tabSize)-(this.lineStart?it(this.string,this.lineStart,this.tabSize):0)},Kt.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)}},Kt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Kt.prototype.hideFirstChars=function(x,ee){this.lineStart+=x;try{return ee()}finally{this.lineStart-=x}},Kt.prototype.lookAhead=function(x){var ee=this.lineOracle;return ee&&ee.lookAhead(x)},Kt.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 _n(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 lr(x,ee,ue){var le=[];return x.iter(ee,ue,function(me){le.push(me.text)}),le}function nr(x,ee){var ue=ee-x.height;if(ue)for(var le=x;le;le=le.parent)le.height+=ue}function dr(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 Pr(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],Ut=It.height;if(ee<Ut)break;ee-=Ut}return ue+mt}function Ur(x,ee){return ee>=x.first&&ee<x.first+x.size}function ei(x,ee){return String(x.lineNumberFormatter(ee+x.firstLineNumber))}function er(x,ee,ue){if(ue===void 0&&(ue=null),!(this instanceof er))return new er(x,ee,ue);this.line=x,this.ch=ee,this.sticky=ue}function kr(x,ee){return x.line-ee.line||x.ch-ee.ch}function _i(x,ee){return x.sticky==ee.sticky&&kr(x,ee)==0}function gi(x){return er(x.line,x.ch)}function ji(x,ee){return kr(x,ee)<0?ee:x}function Mi(x,ee){return kr(x,ee)<0?x:ee}function Ca(x,ee){return Math.max(x.first,Math.min(ee,x.first+x.size-1))}function Jr(x,ee){if(ee.line<x.first)return er(x.first,0);var ue=x.first+x.size-1;return ee.line>ue?er(ue,on(x,ue).text.length):ra(ee,on(x,ee.line).text.length)}function ra(x,ee){var ue=x.ch;return ue==null||ue>ee?er(x.line,ee):ue<0?er(x.line,0):x}function vn(x,ee){for(var ue=[],le=0;le<ee.length;le++)ue[le]=Jr(x,ee[le]);return ue}var gr=function(x,ee){this.state=x,this.lookAhead=ee},Ar=function(x,ee,ue,le){this.state=ee,this.doc=x,this.line=ue,this.maxLookAhead=le||0,this.baseTokens=null,this.baseTokenPos=1};Ar.prototype.lookAhead=function(x){var ee=this.doc.getLine(this.line+x);return ee!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),ee},Ar.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}},Ar.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ar.fromSaved=function(x,ee,ue){return ee instanceof gr?new Ar(x,Dt(x.mode,ee.state),ue,ee.lookAhead):new Ar(x,Dt(x.mode,ee),ue)},Ar.prototype.save=function(x){var ee=x!==!1?Dt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gr(ee,this.maxLookAhead):ee};function jr(x,ee,ue,le){var me=[x.state.modeGen],Ve={};$a(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],ir=1,Yr=0;ue.state=!0,$a(x,ee.text,Zn.mode,ue,function(Qr,Oi){for(var ma=ir;Yr<Qr;){var qa=me[ir];qa>Qr&&me.splice(ir,1,Qr,me[ir+1],qa),ir+=2,Yr=Math.min(Qr,qa)}if(Oi)if(Zn.opaque)me.splice(ma,ir-ma,Qr,"overlay "+Oi),ir=ma+2;else for(;ma<ir;ma+=2){var bo=me[ma+1];me[ma+1]=(bo?bo+" ":"")+"overlay "+Oi}},Ve),ue.state=mt,ue.baseTokens=null,ue.baseTokenPos=1},Ut=0;Ut<x.state.overlays.length;++Ut)It(Ut);return{styles:me,classes:Ve.bgClass||Ve.textClass?Ve:null}}function br(x,ee,ue){if(!ee.styles||ee.styles[0]!=x.state.modeGen){var le=Ir(x,dr(ee)),me=ee.text.length>x.options.maxHighlightLength&&Dt(x.doc.mode,le.state),Ve=jr(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 Ir(x,ee,ue){var le=x.doc,me=x.display;if(!le.mode.startState)return new Ar(le,!0,ee);var Ve=Ua(x,ee,ue),mt=Ve>le.first&&on(le,Ve-1).stateAfter,It=mt?Ar.fromSaved(le,mt,Ve):new Ar(le,Wt(le.mode),Ve);return le.iter(Ve,ee,function(Ut){Fr(x,Ut.text,It);var Jt=It.line;Ut.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 Kt(ee,x.options.tabSize,ue);for(Ve.start=Ve.pos=le||0,ee==""&&si(me,ue.state);!Ve.eol();)bi(me,Ve,ue.state),Ve.start=Ve.pos}function si(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 bi(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 Ti=function(x,ee,ue){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=ee||null,this.state=ue};function Pa(x,ee,ue,le){var me=x.doc,Ve=me.mode,mt;ee=Jr(me,ee);var It=on(me,ee.line),Ut=Ir(x,ee.line,ue),Jt=new Kt(It.text,x.options.tabSize,Ut),Zn;for(le&&(Zn=[]);(le||Jt.pos<ee.ch)&&!Jt.eol();)Jt.start=Jt.pos,mt=bi(Ve,Jt,Ut.state),le&&Zn.push(new Ti(Jt,mt,Dt(me.mode,Ut.state)));return le?Zn:new Ti(Jt,mt,Ut.state)}function Ka(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 $a(x,ee,ue,le,me,Ve,mt){var It=ue.flattenSpans;It==null&&(It=x.options.flattenSpans);var Ut=0,Jt=null,Zn=new Kt(ee,x.options.tabSize,le),ir,Yr=x.options.addModeClass&&[null];for(ee==""&&Ka(si(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,ir=null):ir=Ka(bi(ue,Zn,le.state,Yr),Ve),Yr){var Qr=Yr[0].name;Qr&&(ir="m-"+(ir?Qr+" "+ir:Qr))}if(!It||Jt!=ir){for(;Ut<Zn.start;)Ut=Math.min(Zn.start,Ut+5e3),me(Ut,Jt);Jt=ir}Zn.start=Zn.pos}for(;Ut<Zn.pos;){var Oi=Math.min(Zn.pos,Ut+5e3);me(Oi,Jt),Ut=Oi}}function Ua(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 Ut=on(Ve,It-1),Jt=Ut.stateAfter;if(Jt&&(!ue||It+(Jt instanceof gr?Jt.lookAhead:0)<=Ve.modeFrontier))return It;var Zn=it(Ut.text,null,x.options.tabSize);(me==null||le>Zn)&&(me=It-1,le=Zn)}return me}function Fa(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 gr)||le+me.lookAhead<ee)){ue=le+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ue)}}var ho=!1,oo=!1;function ta(){ho=!0}function ui(){oo=!0}function za(x,ee,ue){this.marker=x,this.from=ee,this.to=ue}function no(x,ee){if(x)for(var ue=0;ue<x.length;++ue){var le=x[ue];if(le.marker==ee)return le}}function La(x,ee){for(var ue,le=0;le<x.length;++le)x[le]!=ee&&(ue||(ue=[])).push(x[le]);return ue}function xo(x,ee){x.markedSpans=x.markedSpans?x.markedSpans.concat([ee]):[ee],ee.marker.attachLine(x)}function os(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 Ut=Ve.to==null||(mt.inclusiveRight?Ve.to>=ee:Ve.to>ee);(le||(le=[])).push(new za(mt,Ve.from,Ut?null:Ve.to))}}return le}function Va(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 Ut=Ve.from==null||(mt.inclusiveLeft?Ve.from<=ee:Ve.from<ee);(le||(le=[])).push(new za(mt,Ut?null:Ve.from-ee,Ve.to==null?null:Ve.to-ee))}}return le}function Ii(x,ee){if(ee.full)return null;var ue=Ur(x,ee.from.line)&&on(x,ee.from.line).markedSpans,le=Ur(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=kr(ee.from,ee.to)==0,It=os(ue,me,mt),Ut=Va(le,Ve,mt),Jt=ee.text.length==1,Zn=Cn(ee.text).length+(Jt?me:0);if(It)for(var ir=0;ir<It.length;++ir){var Yr=It[ir];if(Yr.to==null){var Qr=no(Ut,Yr.marker);Qr?Jt&&(Yr.to=Qr.to==null?null:Qr.to+Zn):Yr.to=me}}if(Ut)for(var Oi=0;Oi<Ut.length;++Oi){var ma=Ut[Oi];if(ma.to!=null&&(ma.to+=Zn),ma.from==null){var qa=no(It,ma.marker);qa||(ma.from=Zn,Jt&&(It||(It=[])).push(ma))}else ma.from+=Zn,Jt&&(It||(It=[])).push(ma)}It&&(It=Ci(It)),Ut&&Ut!=It&&(Ut=Ci(Ut));var bo=[It];if(!Jt){var _o=ee.text.length-2,po;if(_o>0&&It)for(var Uo=0;Uo<It.length;++Uo)It[Uo].to==null&&(po||(po=[])).push(new za(It[Uo].marker,null,null));for(var hs=0;hs<_o;++hs)bo.push(po);bo.push(Ut)}return bo}function Ci(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 Ha(x,ee,ue){var le=null;if(x.iter(ee.line,ue.line+1,function(Qr){if(Qr.markedSpans)for(var Oi=0;Oi<Qr.markedSpans.length;++Oi){var ma=Qr.markedSpans[Oi].marker;ma.readOnly&&(!le||at(le,ma)==-1)&&(le||(le=[])).push(ma)}}),!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),Ut=0;Ut<me.length;++Ut){var Jt=me[Ut];if(!(kr(Jt.to,It.from)<0||kr(Jt.from,It.to)>0)){var Zn=[Ut,1],ir=kr(Jt.from,It.from),Yr=kr(Jt.to,It.to);(ir<0||!mt.inclusiveLeft&&!ir)&&Zn.push({from:Jt.from,to:It.from}),(Yr>0||!mt.inclusiveRight&&!Yr)&&Zn.push({from:It.to,to:Jt.to}),me.splice.apply(me,Zn),Ut+=Zn.length-3}}return me}function Oa(x){var ee=x.markedSpans;if(ee){for(var ue=0;ue<ee.length;++ue)ee[ue].marker.detachLine(x);x.markedSpans=null}}function eo(x,ee){if(ee){for(var ue=0;ue<ee.length;++ue)ee[ue].marker.attachLine(x);x.markedSpans=ee}}function Lo(x){return x.inclusiveLeft?-1:0}function vo(x){return x.inclusiveRight?1:0}function jn(x,ee){var ue=x.lines.length-ee.lines.length;if(ue!=0)return ue;var le=x.find(),me=ee.find(),Ve=kr(le.from,me.from)||Lo(x)-Lo(ee);if(Ve)return-Ve;var mt=kr(le.to,me.to)||vo(x)-vo(ee);return mt||ee.id-x.id}function Oo(x,ee){var ue=oo&&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||jn(le,me.marker)<0)&&(le=me.marker);return le}function Ks(x){return Oo(x,!0)}function Sa(x){return Oo(x,!1)}function ga(x,ee){var ue=oo&&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||jn(le,Ve.marker)<0)&&(le=Ve.marker)}return le}function Co(x,ee,ue,le,me){var Ve=on(x,ee),mt=oo&&Ve.markedSpans;if(mt)for(var It=0;It<mt.length;++It){var Ut=mt[It];if(Ut.marker.collapsed){var Jt=Ut.marker.find(0),Zn=kr(Jt.from,ue)||Lo(Ut.marker)-Lo(me),ir=kr(Jt.to,le)||vo(Ut.marker)-vo(me);if(!(Zn>=0&&ir<=0||Zn<=0&&ir>=0)&&(Zn<=0&&(Ut.marker.inclusiveRight&&me.inclusiveLeft?kr(Jt.to,ue)>=0:kr(Jt.to,ue)>0)||Zn>=0&&(Ut.marker.inclusiveRight&&me.inclusiveLeft?kr(Jt.from,le)<=0:kr(Jt.from,le)<0)))return!0}}}function Fo(x){for(var ee;ee=Ks(x);)x=ee.find(-1,!0).line;return x}function Es(x){for(var ee;ee=Sa(x);)x=ee.find(1,!0).line;return x}function Js(x){for(var ee,ue;ee=Sa(x);)x=ee.find(1,!0).line,(ue||(ue=[])).push(x);return ue}function Os(x,ee){var ue=on(x,ee),le=Fo(ue);return ue==le?ee:dr(le)}function ps(x,ee){if(ee>x.lastLine())return ee;var ue=on(x,ee),le;if(!as(x,ue))return ee;for(;le=Sa(ue);)ue=le.find(1,!0).line;return dr(ue)+1}function as(x,ee){var ue=oo&&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&&ol(x,ee,le))return!0}}}function ol(x,ee,ue){if(ue.to==null){var le=ue.marker.find(1,!0);return ol(x,le.line,no(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)&&ol(x,ee,me))return!0}function fa(x){x=Fo(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 la(x){if(x.height==0)return 0;for(var ee=x.text.length,ue,le=x;ue=Ks(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 ia(x){var ee=x.display,ue=x.doc;ee.maxLine=on(ue,ue.first),ee.maxLineLength=la(ee.maxLine),ee.maxLineChanged=!0,ue.iter(function(le){var me=la(le);me>ee.maxLineLength&&(ee.maxLineLength=me,ee.maxLine=le)})}var Ln=function(x,ee,ue){this.text=x,eo(this,ee),this.height=ue?ue(this):1};Ln.prototype.lineNo=function(){return dr(this)},Xn(Ln);function In(x,ee,ue,le){x.text=ee,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),Oa(x),eo(x,ue);var me=le?le(x):1;me!=x.height&&nr(x,me)}function Er(x){x.parent=null,Oa(x)}var vi={},ha={};function Ia(x,ee){if(!x||/^\s*$/.test(x))return null;var ue=ee.addModeClass?ha:vi;return ue[x]||(ue[x]=x.replace(/\S+/g,"cm-$&"))}function va(x,ee){var ue=Ct("span",null,null,ve?"padding-right: .1px":null),le={pre:Ct("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=ya,Vi(x.display.measure)&&(mt=Sn(Ve,x.doc.direction))&&(le.addToken=Vo(le.addToken,mt)),le.map=[];var It=ee!=x.display.externalMeasured&&dr(Ve);Mo(Ve,le,br(x,Ve,It)),Ve.styleClasses&&(Ve.styleClasses.bgClass&&(le.bgClass=Et(Ve.styleClasses.bgClass,le.bgClass||"")),Ve.styleClasses.textClass&&(le.textClass=Et(Ve.styleClasses.textClass,le.textClass||""))),le.map.length==0&&le.map.push(0,0,le.content.appendChild(yi(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 Ut=le.content.lastChild;(/\bcm-tab\b/.test(Ut.className)||Ut.querySelector&&Ut.querySelector(".cm-tab"))&&(le.content.className="cm-tab-wrap-hack")}return pt(x,"renderLine",x,ee.line,le.pre),le.pre.className&&(le.textClass=Et(le.pre.className,le.textClass||"")),le}function Ji(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 ya(x,ee,ue,le,me,Ve,mt){if(ee){var It=x.splitSpaces?No(ee,x.trailingSpace):ee,Ut=x.cm.state.specialChars,Jt=!1,Zn;if(!Ut.test(ee))x.col+=ee.length,Zn=document.createTextNode(It),x.map.push(x.pos,x.pos+ee.length,Zn),Oe&&Le<9&&(Jt=!0),x.pos+=ee.length;else{Zn=document.createDocumentFragment();for(var ir=0;;){Ut.lastIndex=ir;var Yr=Ut.exec(ee),Qr=Yr?Yr.index-ir:ee.length-ir;if(Qr){var Oi=document.createTextNode(It.slice(ir,ir+Qr));Oe&&Le<9?Zn.appendChild(dt("span",[Oi])):Zn.appendChild(Oi),x.map.push(x.pos,x.pos+Qr,Oi),x.col+=Qr,x.pos+=Qr}if(!Yr)break;ir+=Qr+1;var ma=void 0;if(Yr[0]==" "){var qa=x.cm.options.tabSize,bo=qa-x.col%qa;ma=Zn.appendChild(dt("span",Gn(bo),"cm-tab")),ma.setAttribute("role","presentation"),ma.setAttribute("cm-text"," "),x.col+=bo}else Yr[0]=="\r"||Yr[0]==`
`?(ma=Zn.appendChild(dt("span",Yr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ma.setAttribute("cm-text",Yr[0]),x.col+=1):(ma=x.cm.options.specialCharPlaceholder(Yr[0]),ma.setAttribute("cm-text",Yr[0]),Oe&&Le<9?Zn.appendChild(dt("span",[ma])):Zn.appendChild(ma),x.col+=1);x.map.push(x.pos,x.pos+1,ma),x.pos++}}if(x.trailingSpace=It.charCodeAt(ee.length-1)==32,ue||le||me||Jt||Ve||mt){var _o=ue||"";le&&(_o+=le),me&&(_o+=me);var po=dt("span",[Zn],_o,Ve);if(mt)for(var Uo in mt)mt.hasOwnProperty(Uo)&&Uo!="style"&&Uo!="class"&&po.setAttribute(Uo,mt[Uo]);return x.content.appendChild(po)}x.content.appendChild(Zn)}}function No(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 Vo(x,ee){return function(ue,le,me,Ve,mt,It,Ut){me=me?me+" cm-force-border":"cm-force-border";for(var Jt=ue.pos,Zn=Jt+le.length;;){for(var ir=void 0,Yr=0;Yr<ee.length&&(ir=ee[Yr],!(ir.to>Jt&&ir.from<=Jt));Yr++);if(ir.to>=Zn)return x(ue,le,me,Ve,mt,It,Ut);x(ue,le.slice(0,ir.to-Jt),me,Ve,null,It,Ut),Ve=null,le=le.slice(ir.to-Jt),Jt=ir.to}}}function cs(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 Mo(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]),Ia(ue[mt+1],ee.cm.options));return}for(var It=me.length,Ut=0,Jt=1,Zn="",ir,Yr,Qr=0,Oi,ma,qa,bo,_o;;){if(Qr==Ut){Oi=ma=qa=Yr="",_o=null,bo=null,Qr=1/0;for(var po=[],Uo=void 0,hs=0;hs<le.length;++hs){var vs=le[hs],Ns=vs.marker;if(Ns.type=="bookmark"&&vs.from==Ut&&Ns.widgetNode)po.push(Ns);else if(vs.from<=Ut&&(vs.to==null||vs.to>Ut||Ns.collapsed&&vs.to==Ut&&vs.from==Ut)){if(vs.to!=null&&vs.to!=Ut&&Qr>vs.to&&(Qr=vs.to,ma=""),Ns.className&&(Oi+=" "+Ns.className),Ns.css&&(Yr=(Yr?Yr+";":"")+Ns.css),Ns.startStyle&&vs.from==Ut&&(qa+=" "+Ns.startStyle),Ns.endStyle&&vs.to==Qr&&(Uo||(Uo=[])).push(Ns.endStyle,vs.to),Ns.title&&((_o||(_o={})).title=Ns.title),Ns.attributes)for(var Hu in Ns.attributes)(_o||(_o={}))[Hu]=Ns.attributes[Hu];Ns.collapsed&&(!bo||jn(bo.marker,Ns)<0)&&(bo=vs)}else vs.from>Ut&&Qr>vs.from&&(Qr=vs.from)}if(Uo)for(var dd=0;dd<Uo.length;dd+=2)Uo[dd+1]==Qr&&(ma+=" "+Uo[dd]);if(!bo||bo.from==Ut)for(var wc=0;wc<po.length;++wc)cs(ee,0,po[wc]);if(bo&&(bo.from||0)==Ut){if(cs(ee,(bo.to==null?It+1:bo.to)-Ut,bo.marker,bo.from==null),bo.to==null)return;bo.to==Ut&&(bo=!1)}}if(Ut>=It)break;for(var Id=Math.min(It,Qr);;){if(Zn){var xd=Ut+Zn.length;if(!bo){var ad=xd>Id?Zn.slice(0,Id-Ut):Zn;ee.addToken(ee,ad,ir?ir+Oi:Oi,qa,Ut+ad.length==Qr?ma:"",Yr,_o)}if(xd>=Id){Zn=Zn.slice(Id-Ut),Ut=Id;break}Ut=xd,qa=""}Zn=me.slice(Ve,Ve=ue[Jt++]),ir=Ia(ue[Jt++],ee.cm.options)}}}function ul(x,ee,ue){this.line=ee,this.rest=Js(ee),this.size=this.rest?dr(Cn(this.rest))-ue+1:1,this.node=this.text=null,this.hidden=as(x,ee)}function Ss(x,ee,ue){for(var le=[],me,Ve=ee;Ve<ue;Ve=me){var mt=new ul(x.doc,on(x.doc,Ve),Ve);me=Ve+mt.size,le.push(mt)}return le}var vr=null;function On(x){vr?vr.ops.push(x):x.ownsGroup=vr={ops:[x],delayedCallbacks:[]}}function Dn(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 wr(x,ee){var ue=x.ownsGroup;if(ue)try{Dn(ue)}finally{vr=null,ee(ue)}}var ni=null;function li(x,ee){var ue=tn(x,ee);if(ue.length){var le=Array.prototype.slice.call(arguments,2),me;vr?me=vr.delayedCallbacks:ni?me=ni:(me=ni=[],setTimeout(Or,0));for(var Ve=function(It){me.push(function(){return ue[It].apply(null,le)})},mt=0;mt<ue.length;++mt)Ve(mt)}}function Or(){var x=ni;ni=null;for(var ee=0;ee<x.length;++ee)x[ee]()}function Hi(x,ee,ue,le){for(var me=0;me<ee.changes.length;me++){var Ve=ee.changes[me];Ve=="text"?Ki(x,ee):Ve=="gutter"?so(x,ee,ue,le):Ve=="class"?Na(x,ee):Ve=="widget"&&rr(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),Oe&&Le<8&&(x.node.style.zIndex=2)),x.node}function uo(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 Wa(x,ee){var ue=x.display.externalMeasured;return ue&&ue.line==ee.line?(x.display.externalMeasured=null,ee.measure=ue.measure,ue.built):va(x,ee)}function Ki(x,ee){var ue=ee.text.className,le=Wa(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,Na(x,ee)):ue&&(ee.text.className=ue)}function Na(x,ee){uo(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 so(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",ei(x.options,ue),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+le.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),Ve)for(var Ut=0;Ut<x.display.gutterSpecs.length;++Ut){var Jt=x.display.gutterSpecs[Ut].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 rr(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);Ja(x,ee,ue)}function Kn(x,ee,ue,le){var me=Wa(x,ee);return ee.text=ee.node=me.pre,me.bgClass&&(ee.bgClass=me.bgClass),me.textClass&&(ee.textClass=me.textClass),Na(x,ee),so(x,ee,ue,le),Ja(x,ee,le),ee.node}function Ja(x,ee,ue){if(pa(x,ee.line,ee,ue,!0),ee.rest)for(var le=0;le<ee.rest.length;le++)pa(x,ee.rest[le],ee,ue,!1)}function pa(x,ee,ue,le,me){if(ee.widgets)for(var Ve=ca(ue),mt=0,It=ee.widgets;mt<It.length;++mt){var Ut=It[mt],Jt=dt("div",[Ut.node],"CodeMirror-linewidget"+(Ut.className?" "+Ut.className:""));Ut.handleMouseEvents||Jt.setAttribute("cm-ignore-events","true"),ka(Ut,Jt,ue,le),x.display.input.setUneditable(Jt),me&&Ut.above?Ve.insertBefore(Jt,ue.gutter||ue.text):Ve.appendChild(Jt),li(Ut,"redraw")}}function ka(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 ss(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 qs(x,ee){for(var ue=Sr(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 tl(x){return x.lineSpace.offsetTop}function eu(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function nu(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 Fu(x){return Xt-x.display.nativeBarWidth}function wl(x){return x.display.scroller.clientWidth-Fu(x)-x.display.barWidth}function Vl(x){return x.display.scroller.clientHeight-Fu(x)-x.display.barHeight}function Io(x,ee,ue){var le=x.options.lineWrapping,me=le&&wl(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 Ut=mt[It],Jt=mt[It+1];Math.abs(Ut.bottom-Jt.bottom)>2&&Ve.push((Ut.bottom+Jt.top)/2-ue.top)}}Ve.push(ue.bottom-ue.top)}}function Xo(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(dr(x.rest[me])>ue)return{map:x.measure.maps[me],cache:x.measure.caches[me],before:!0}}function Pl(x,ee){ee=Fo(ee);var ue=dr(ee),le=x.display.externalMeasured=new ul(x.doc,ee,ue);le.lineN=ue;var me=le.built=va(x,le);return le.text=me.pre,ht(x.display.lineMeasure,me.pre),le}function Tl(x,ee,ue,le){return js(x,Wo(x,ee),ue,le)}function ml(x,ee){if(ee>=x.display.viewFrom&&ee<x.display.viewTo)return x.display.view[gu(x,ee)];var ue=x.display.externalMeasured;if(ue&&ee>=ue.lineN&&ee<ue.lineN+ue.size)return ue}function Wo(x,ee){var ue=dr(ee),le=ml(x,ue);le&&!le.text?le=null:le&&le.changes&&(Hi(x,le,ue,lo(x)),x.curOp.forceUpdate=!0),le||(le=Pl(x,ee));var me=Xo(le,ee,ue);return{line:ee,view:le,rect:null,map:me.map,cache:me.cache,before:me.before,hasHeights:!1}}function js(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||(Io(x,ee.view,ee.rect),ee.hasHeights=!0),mt=ys(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 zu={left:0,right:0,top:0,bottom:0};function mc(x,ee,ue){for(var le,me,Ve,mt,It,Ut,Jt=0;Jt<x.length;Jt+=3)if(It=x[Jt],Ut=x[Jt+1],ee<It?(me=0,Ve=1,mt="left"):ee<Ut?(me=ee-It,Ve=me+1):(Jt==x.length-3||ee==Ut&&x[Jt+3]>ee)&&(Ve=Ut-It,me=Ve-1,ee>=Ut&&(mt="right")),me!=null){if(le=x[Jt+2],It==Ut&&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==Ut-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:Ut}}function cl(x,ee){var ue=zu;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 ys(x,ee,ue,le){var me=mc(ee.map,ue,le),Ve=me.node,mt=me.start,It=me.end,Ut=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(Oe&&Le<9&&mt==0&&It==me.coverEnd-me.coverStart?Jt=Ve.parentNode.getBoundingClientRect():Jt=cl(Xe(Ve,mt,It).getClientRects(),le),Jt.left||Jt.right||mt==0)break;It=mt,mt=mt-1,Ut="right"}Oe&&Le<11&&(Jt=bs(x.display.measure,Jt))}else{mt>0&&(Ut=le="right");var ir;x.options.lineWrapping&&(ir=Ve.getClientRects()).length>1?Jt=ir[le=="right"?ir.length-1:0]:Jt=Ve.getBoundingClientRect()}if(Oe&&Le<9&&!mt&&(!Jt||!Jt.left&&!Jt.right)){var Yr=Ve.parentNode.getClientRects()[0];Yr?Jt={left:Yr.left,right:Yr.left+ki(x.display),top:Yr.top,bottom:Yr.bottom}:Jt=zu}for(var Qr=Jt.top-ee.rect.top,Oi=Jt.bottom-ee.rect.top,ma=(Qr+Oi)/2,qa=ee.view.measure.heights,bo=0;bo<qa.length-1&&!(ma<qa[bo]);bo++);var _o=bo?qa[bo-1]:0,po=qa[bo],Uo={left:(Ut=="right"?Jt.right:Jt.left)-ee.rect.left,right:(Ut=="left"?Jt.left:Jt.right)-ee.rect.left,top:_o,bottom:po};return!Jt.left&&!Jt.right&&(Uo.bogus=!0),x.options.singleCursorHeightPerLine||(Uo.rtop=Qr,Uo.rbottom=Oi),Uo}function bs(x,ee){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ea(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 Xl(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 gl(x){x.display.externalMeasure=null,rt(x.display.lineMeasure);for(var ee=0;ee<x.display.view.length;ee++)Xl(x.display.view[ee])}function kl(x){gl(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function vl(){return xe&&Qe?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Vs(){return xe&&Qe?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Gl(x){var ee=0;if(x.widgets)for(var ue=0;ue<x.widgets.length;++ue)x.widgets[ue].above&&(ee+=ss(x.widgets[ue]));return ee}function ic(x,ee,ue,le,me){if(!me){var Ve=Gl(ee);ue.top+=Ve,ue.bottom+=Ve}if(le=="line")return ue;le||(le="local");var mt=fa(ee);if(le=="local"?mt+=tl(x.display):mt-=x.display.viewOffset,le=="page"||le=="window"){var It=x.display.lineSpace.getBoundingClientRect();mt+=It.top+(le=="window"?0:Vs());var Ut=It.left+(le=="window"?0:vl());ue.left+=Ut,ue.right+=Ut}return ue.top+=mt,ue.bottom+=mt,ue}function Xc(x,ee,ue){if(ue=="div")return ee;var le=ee.left,me=ee.top;if(ue=="page")le-=vl(),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 Jl(x,ee,ue,le,me){return le||(le=on(x.doc,ee.line)),ic(x,le,Tl(x,le,ee.ch,me),ue)}function ku(x,ee,ue,le,me,Ve){le=le||on(x.doc,ee.line),me||(me=Wo(x,le));function mt(Oi,ma){var qa=js(x,me,Oi,ma?"right":"left",Ve);return ma?qa.left=qa.right:qa.right=qa.left,ic(x,le,qa,ue)}var It=Sn(le,x.doc.direction),Ut=ee.ch,Jt=ee.sticky;if(Ut>=le.text.length?(Ut=le.text.length,Jt="before"):Ut<=0&&(Ut=0,Jt="after"),!It)return mt(Jt=="before"?Ut-1:Ut,Jt=="before");function Zn(Oi,ma,qa){var bo=It[ma],_o=bo.level==1;return mt(qa?Oi-1:Oi,_o!=qa)}var ir=kt(It,Ut,Jt),Yr=_t,Qr=Zn(Ut,ir,Jt=="before");return Yr!=null&&(Qr.other=Zn(Ut,Yr,Jt!="before")),Qr}function qu(x,ee){var ue=0;ee=Jr(x.doc,ee),x.options.lineWrapping||(ue=ki(x.display)*ee.ch);var le=on(x.doc,ee.line),me=fa(le)+tl(x.display);return{left:ue,right:ue,top:me,bottom:me+le.height}}function Hc(x,ee,ue,le,me){var Ve=er(x,ee,ue);return Ve.xRel=me,le&&(Ve.outside=le),Ve}function Cu(x,ee,ue){var le=x.doc;if(ue+=x.display.viewOffset,ue<0)return Hc(le.first,0,null,-1,-1);var me=Pr(le,ue),Ve=le.first+le.size-1;if(me>Ve)return Hc(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=uf(x,mt,me,ee,ue),Ut=ga(mt,It.ch+(It.xRel>0||It.outside>0?1:0));if(!Ut)return It;var Jt=Ut.find(1);if(Jt.line==me)return Jt;mt=on(le,me=Jt.line)}}function nA(x,ee,ue,le){le-=Gl(ee);var me=ee.text.length,Ve=lt(function(mt){return js(x,ue,mt-1).bottom<=le},me,0);return me=lt(function(mt){return js(x,ue,mt).top>le},Ve,me),{begin:Ve,end:me}}function kd(x,ee,ue,le){ue||(ue=Wo(x,ee));var me=ic(x,ee,js(x,ue,le),"line").top;return nA(x,ee,ue,me)}function gd(x,ee,ue,le){return x.bottom<=ue?!1:x.top>ue?!0:(le?x.left:x.right)>ee}function uf(x,ee,ue,le,me){me-=fa(ee);var Ve=Wo(x,ee),mt=Gl(ee),It=0,Ut=ee.text.length,Jt=!0,Zn=Sn(ee,x.doc.direction);if(Zn){var ir=(x.options.lineWrapping?pA:ud)(x,ee,ue,Ve,Zn,le,me);Jt=ir.level!=1,It=Jt?ir.from:ir.to-1,Ut=Jt?ir.to:ir.from-1}var Yr=null,Qr=null,Oi=lt(function(hs){var vs=js(x,Ve,hs);return vs.top+=mt,vs.bottom+=mt,gd(vs,le,me,!1)?(vs.top<=me&&vs.left<=le&&(Yr=hs,Qr=vs),!0):!1},It,Ut),ma,qa,bo=!1;if(Qr){var _o=le-Qr.left<Qr.right-le,po=_o==Jt;Oi=Yr+(po?0:1),qa=po?"after":"before",ma=_o?Qr.left:Qr.right}else{!Jt&&(Oi==Ut||Oi==It)&&Oi++,qa=Oi==0?"after":Oi==ee.text.length?"before":js(x,Ve,Oi-(Jt?1:0)).bottom+mt<=me==Jt?"after":"before";var Uo=ku(x,er(ue,Oi,qa),"line",ee,Ve);ma=Uo.left,bo=me<Uo.top?-1:me>=Uo.bottom?1:0}return Oi=$e(ee.text,Oi,1),Hc(ue,Oi,qa,bo,le-ma)}function ud(x,ee,ue,le,me,Ve,mt){var It=lt(function(ir){var Yr=me[ir],Qr=Yr.level!=1;return gd(ku(x,er(ue,Qr?Yr.to:Yr.from,Qr?"before":"after"),"line",ee,le),Ve,mt,!0)},0,me.length-1),Ut=me[It];if(It>0){var Jt=Ut.level!=1,Zn=ku(x,er(ue,Jt?Ut.from:Ut.to,Jt?"after":"before"),"line",ee,le);gd(Zn,Ve,mt,!0)&&Zn.top>mt&&(Ut=me[It-1])}return Ut}function pA(x,ee,ue,le,me,Ve,mt){var It=nA(x,ee,le,mt),Ut=It.begin,Jt=It.end;/\s/.test(ee.text.charAt(Jt-1))&&Jt--;for(var Zn=null,ir=null,Yr=0;Yr<me.length;Yr++){var Qr=me[Yr];if(!(Qr.from>=Jt||Qr.to<=Ut)){var Oi=Qr.level!=1,ma=js(x,le,Oi?Math.min(Jt,Qr.to)-1:Math.max(Ut,Qr.from)).right,qa=ma<Ve?Ve-ma+1e9:ma-Ve;(!Zn||ir>qa)&&(Zn=Qr,ir=qa)}}return Zn||(Zn=me[me.length-1]),Zn.from<Ut&&(Zn={from:Ut,to:Zn.to,level:Zn.level}),Zn.to>Jt&&(Zn={from:Zn.from,to:Jt,level:Zn.level}),Zn}var lc;function _d(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(lc==null){lc=dt("pre",null,"CodeMirror-line-like");for(var ee=0;ee<49;++ee)lc.appendChild(document.createTextNode("x")),lc.appendChild(dt("br"));lc.appendChild(document.createTextNode("x"))}ht(x.measure,lc);var ue=lc.offsetHeight/50;return ue>3&&(x.cachedTextHeight=ue),rt(x.measure),ue||1}function ki(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 lo(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:fi(ee),gutterTotalWidth:ee.gutters.offsetWidth,gutterLeft:ue,gutterWidth:le,wrapperWidth:ee.wrapper.clientWidth}}function fi(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function To(x){var ee=_d(x.display),ue=x.options.lineWrapping,le=ue&&Math.max(5,x.display.scroller.clientWidth/ki(x.display)-3);return function(me){if(as(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 ds(x){var ee=x.doc,ue=To(x);ee.iter(function(le){var me=ue(le);me!=le.height&&nr(le,me)})}function mu(x,ee,ue,le){var me=x.display;if(!ue&&Sr(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(ir){return null}var Ut=Cu(x,Ve,mt),Jt;if(le&&Ut.xRel>0&&(Jt=on(x.doc,Ut.line).text).length==Ut.ch){var Zn=it(Jt,Jt.length,x.options.tabSize)-Jt.length;Ut=er(Ut.line,Math.max(0,Math.round((Ve-nu(x.display).left)/ki(x.display))-Zn))}return Ut}function gu(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 _l(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)oo&&Os(x.doc,ee)<me.viewTo&&Lc(x);else if(ue<=me.viewFrom)oo&&ps(x.doc,ue+le)>me.viewFrom?Lc(x):(me.viewFrom+=le,me.viewTo+=le);else if(ee<=me.viewFrom&&ue>=me.viewTo)Lc(x);else if(ee<=me.viewFrom){var Ve=Sc(x,ue,ue+le,1);Ve?(me.view=me.view.slice(Ve.index),me.viewFrom=Ve.lineN,me.viewTo+=le):Lc(x)}else if(ue>=me.viewTo){var mt=Sc(x,ee,ee,-1);mt?(me.view=me.view.slice(0,mt.index),me.viewTo=mt.lineN):Lc(x)}else{var It=Sc(x,ee,ee,-1),Ut=Sc(x,ue,ue+le,1);It&&Ut?(me.view=me.view.slice(0,It.index).concat(Ss(x,It.lineN,Ut.lineN)).concat(me.view.slice(Ut.index)),me.viewTo+=le):Lc(x)}var Jt=me.externalMeasured;Jt&&(ue<Jt.lineN?Jt.lineN+=le:ee<Jt.lineN+Jt.size&&(me.externalMeasured=null))}function Bc(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[gu(x,ee)];if(Ve.node!=null){var mt=Ve.changes||(Ve.changes=[]);at(mt,ue)==-1&&mt.push(ue)}}}function Lc(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function Sc(x,ee,ue,le){var me=gu(x,ee),Ve,mt=x.display.view;if(!oo||ue==x.doc.first+x.doc.size)return{index:me,lineN:ue};for(var It=x.display.viewFrom,Ut=0;Ut<me;Ut++)It+=mt[Ut].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(;Os(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 dl(x,ee,ue){var le=x.display,me=le.view;me.length==0||ee>=le.viewTo||ue<=le.viewFrom?(le.view=Ss(x,ee,ue),le.viewFrom=ee):(le.viewFrom>ee?le.view=Ss(x,ee,le.viewFrom).concat(le.view):le.viewFrom<ee&&(le.view=le.view.slice(gu(x,ee))),le.viewFrom=ee,le.viewTo<ue?le.view=le.view.concat(Ss(x,le.viewTo,ue)):le.viewTo>ue&&(le.view=le.view.slice(0,gu(x,ue)))),le.viewTo=ue}function Gs(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 Ms(x){x.display.input.showSelection(x.display.input.prepareSelection())}function Wu(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 Ut=It.empty();(Ut||x.options.showCursorWhenSelecting)&&gc(x,It.head,me),Ut||vc(x,It,Ve)}}return le}function gc(x,ee,ue){var le=ku(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 Zu(x,ee){return x.top-ee.top||x.left-ee.left}function vc(x,ee,ue){var le=x.display,me=x.doc,Ve=document.createDocumentFragment(),mt=nu(x.display),It=mt.left,Ut=Math.max(le.sizerWidth,wl(x)-le.sizer.offsetLeft)-mt.right,Jt=me.direction=="ltr";function Zn(po,Uo,hs,vs){Uo<0&&(Uo=0),Uo=Math.round(Uo),vs=Math.round(vs),Ve.appendChild(dt("div",null,"CodeMirror-selected","position: absolute; left: "+po+`px;
top: `+Uo+"px; width: "+(hs==null?Ut-po:hs)+`px;
height: `+(vs-Uo)+"px"))}function ir(po,Uo,hs){var vs=on(me,po),Ns=vs.text.length,Hu,dd;function wc(ad,Hd){return Jl(x,er(po,ad),"div",vs,Hd)}function Id(ad,Hd,$s){var fo=kd(x,vs,null,ad),Xu=Hd=="ltr"==($s=="after")?"left":"right",xc=$s=="after"?fo.begin:fo.end-(/\s/.test(vs.text.charAt(fo.end-1))?2:1);return wc(xc,Xu)[Xu]}var xd=Sn(vs,me.direction);return Pt(xd,Uo||0,hs==null?Ns:hs,function(ad,Hd,$s,fo){var Xu=$s=="ltr",xc=wc(ad,Xu?"left":"right"),Mu=wc(Hd-1,Xu?"right":"left"),Nh=Uo==null&&ad==0,Dl=hs==null&&Hd==Ns,Ul=fo==0,su=!xd||fo==xd.length-1;if(Mu.top-xc.top<=3){var Cd=(Jt?Nh:Dl)&&Ul,o0=(Jt?Dl:Nh)&&su,Ps=Cd?It:(Xu?xc:Mu).left,LA=o0?Ut:(Xu?Mu:xc).right;Zn(Ps,xc.top,LA-Ps,xc.bottom)}else{var fu,Kc,Uf,od;Xu?(fu=Jt&&Nh&&Ul?It:xc.left,Kc=Jt?Ut:Id(ad,$s,"before"),Uf=Jt?It:Id(Hd,$s,"after"),od=Jt&&Dl&&su?Ut:Mu.right):(fu=Jt?Id(ad,$s,"before"):It,Kc=!Jt&&Nh&&Ul?Ut:xc.right,Uf=!Jt&&Dl&&su?It:Mu.left,od=Jt?Id(Hd,$s,"after"):Ut),Zn(fu,xc.top,Kc-fu,xc.bottom),xc.bottom<Mu.top&&Zn(It,xc.bottom,null,Mu.top),Zn(Uf,Mu.top,od-Uf,Mu.bottom)}(!Hu||Zu(xc,Hu)<0)&&(Hu=xc),Zu(Mu,Hu)<0&&(Hu=Mu),(!dd||Zu(xc,dd)<0)&&(dd=xc),Zu(Mu,dd)<0&&(dd=Mu)}),{start:Hu,end:dd}}var Yr=ee.from(),Qr=ee.to();if(Yr.line==Qr.line)ir(Yr.line,Yr.ch,Qr.ch);else{var Oi=on(me,Yr.line),ma=on(me,Qr.line),qa=Fo(Oi)==Fo(ma),bo=ir(Yr.line,Yr.ch,qa?Oi.text.length+1:null).end,_o=ir(Qr.line,qa?0:null,Qr.ch).start;qa&&(bo.top<_o.top-2?(Zn(bo.right,bo.top,null,bo.bottom),Zn(It,_o.top,_o.left,_o.bottom)):Zn(bo.right,bo.top,_o.left-bo.right,bo.bottom)),bo.bottom<_o.top&&Zn(It,bo.bottom,null,_o.top)}ue.appendChild(Ve)}function vd(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()||Nu(x),ee.cursorDiv.style.visibility=(ue=!ue)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(ee.cursorDiv.style.visibility="hidden")}}function cd(x){x.state.focused||(x.display.input.focus(),Dc(x))}function ac(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Nu(x))},100)}function Dc(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,Ht(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()),vd(x))}function Nu(x,ee){x.state.delayingBlurEvent||(x.state.focused&&(pt(x,"blur",x,ee),x.state.focused=!1,et(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function Ec(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(Oe&&Le<8){var Ut=me.node.offsetTop+me.node.offsetHeight;mt=Ut-ue,ue=Ut}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)&&(nr(me.line,mt),$u(me.line),me.rest))for(var ir=0;ir<me.rest.length;ir++)$u(me.rest[ir]);if(It>x.display.sizerWidth){var Yr=Math.ceil(It/ki(x.display));Yr>x.display.maxLineLength&&(x.display.maxLineLength=Yr,x.display.maxLine=me.line,x.display.maxLineChanged=!0)}}}}function $u(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 Pu(x,ee,ue){var le=ue&&ue.top!=null?Math.max(0,ue.top):x.scroller.scrollTop;le=Math.floor(le-tl(x));var me=ue&&ue.bottom!=null?ue.bottom:le+x.wrapper.clientHeight,Ve=Pr(ee,le),mt=Pr(ee,me);if(ue&&ue.ensure){var It=ue.ensure.from.line,Ut=ue.ensure.to.line;It<Ve?(Ve=It,mt=Pr(ee,fa(on(ee,It))+x.wrapper.clientHeight)):Math.min(Ut,ee.lastLine())>=mt&&(Ve=Pr(ee,fa(on(ee,Ut))-x.wrapper.clientHeight),mt=Ut)}return{from:Ve,to:Math.max(mt,Ve+1)}}function Oc(x,ee){if(!Zt(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-tl(x.display))+`px;
height: `+(ee.bottom-ee.top+Fu(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 yd(x,ee,ue,le){le==null&&(le=0);var me;!x.options.lineWrapping&&ee==ue&&(ee=ee.ch?er(ee.line,ee.sticky=="before"?ee.ch-1:ee.ch,"after"):ee,ue=ee.sticky=="before"?er(ee.line,ee.ch+1,"before"):ee);for(var Ve=0;Ve<5;Ve++){var mt=!1,It=ku(x,ee),Ut=!ue||ue==ee?It:ku(x,ue);me={left:Math.min(It.left,Ut.left),top:Math.min(It.top,Ut.top)-le,right:Math.max(It.left,Ut.left),bottom:Math.max(It.bottom,Ut.bottom)+le};var Jt=KA(x,me),Zn=x.doc.scrollTop,ir=x.doc.scrollLeft;if(Jt.scrollTop!=null&&(Jc(x,Jt.scrollTop),Math.abs(x.doc.scrollTop-Zn)>1&&(mt=!0)),Jt.scrollLeft!=null&&(iA(x,Jt.scrollLeft),Math.abs(x.doc.scrollLeft-ir)>1&&(mt=!0)),!mt)break}return me}function nh(x,ee){var ue=KA(x,ee);ue.scrollTop!=null&&Jc(x,ue.scrollTop),ue.scrollLeft!=null&&iA(x,ue.scrollLeft)}function KA(x,ee){var ue=x.display,le=_d(x.display);ee.top<0&&(ee.top=0);var me=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ue.scroller.scrollTop,Ve=Vl(x),mt={};ee.bottom-ee.top>Ve&&(ee.bottom=ee.top+Ve);var It=x.doc.height+eu(ue),Ut=ee.top<le,Jt=ee.bottom>It-le;if(ee.top<me)mt.scrollTop=Ut?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 ir=x.options.fixedGutter?0:ue.gutters.offsetWidth,Yr=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ue.scroller.scrollLeft-ir,Qr=wl(x)-ue.gutters.offsetWidth,Oi=ee.right-ee.left>Qr;return Oi&&(ee.right=ee.left+Qr),ee.left<10?mt.scrollLeft=0:ee.left<Yr?mt.scrollLeft=Math.max(0,ee.left+ir-(Oi?0:10)):ee.right>Qr+Yr-3&&(mt.scrollLeft=ee.right+(Oi?0:10)-Qr),mt}function Bh(x,ee){ee!=null&&(mA(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+ee)}function rA(x){mA(x);var ee=x.getCursor();x.curOp.scrollToPos={from:ee,to:ee,margin:x.options.cursorScrollMargin}}function zA(x,ee,ue){(ee!=null||ue!=null)&&mA(x),ee!=null&&(x.curOp.scrollLeft=ee),ue!=null&&(x.curOp.scrollTop=ue)}function am(x,ee){mA(x),x.curOp.scrollToPos=ee}function mA(x){var ee=x.curOp.scrollToPos;if(ee){x.curOp.scrollToPos=null;var ue=qu(x,ee.from),le=qu(x,ee.to);Vd(x,ue,le,ee.margin)}}function Vd(x,ee,ue,le){var me=KA(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});zA(x,me.scrollLeft,me.scrollTop)}function Jc(x,ee){Math.abs(x.doc.scrollTop-ee)<2||(he||Ra(x,{top:ee}),ru(x,ee,!0),he&&Ra(x),Zr(x,100))}function ru(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 iA(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 gf(x){var ee=x.display,ue=ee.gutters.offsetWidth,le=Math.round(x.doc.height+eu(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+Fu(x)+ee.barHeight,nativeBarWidth:ee.nativeBarWidth,gutterWidth:ue}}var WA=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,Oe&&Le<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};WA.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}},WA.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},WA.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},WA.prototype.zeroWidthHack=function(){var x=Pe&&!Be?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ue,this.disableVert=new Ue},WA.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)},WA.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var nd=function(){};nd.prototype.update=function(){return{bottom:0,right:0}},nd.prototype.setScrollLeft=function(){},nd.prototype.setScrollTop=function(){},nd.prototype.clear=function(){};function gA(x,ee){ee||(ee=gf(x));var ue=x.display.barWidth,le=x.display.barHeight;rh(x,ee);for(var me=0;me<4&&ue!=x.display.barWidth||le!=x.display.barHeight;me++)ue!=x.display.barWidth&&x.options.lineWrapping&&Ec(x),rh(x,gf(x)),ue=x.display.barWidth,le=x.display.barHeight}function rh(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 vf={native:WA,null:nd};function k0(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&et(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new vf[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"?iA(x,ee):Jc(x,ee)},x),x.display.scrollbars.addClass&&Ht(x.display.wrapper,x.display.scrollbars.addClass)}var np=0;function uc(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:++np},On(x.curOp)}function aA(x){var ee=x.curOp;ee&&wr(ee,function(ue){for(var le=0;le<ue.ops.length;le++)ue.ops[le].cm.curOp=null;rp(ue)})}function rp(x){for(var ee=x.ops,ue=0;ue<ee.length;ue++)Ot(ee[ue]);for(var le=0;le<ee.length;le++)Rt(ee[le]);for(var me=0;me<ee.length;me++)fn(ee[me]);for(var Ve=0;Ve<ee.length;Ve++)En(ee[Ve]);for(var mt=0;mt<ee.length;mt++)Jn(ee[mt])}function Ot(x){var ee=x.cm,ue=ee.display;Yi(ee),x.updateMaxLine&&ia(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 $r(ee,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Rt(x){x.updatedDisplay=x.mustUpdate&&Za(x.cm,x.update)}function fn(x){var ee=x.cm,ue=ee.display;x.updatedDisplay&&Ec(ee),x.barMeasure=gf(ee),ue.maxLineChanged&&!ee.options.lineWrapping&&(x.adjustWidthTo=Tl(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+Fu(ee)+ee.display.barWidth),x.maxScrollLeft=Math.max(0,ue.sizer.offsetLeft+x.adjustWidthTo-wl(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&&iA(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)&&gA(ee,x.barMeasure),x.updatedDisplay&&Qo(ee,x.barMeasure),x.selectionChanged&&vd(ee),ee.state.focused&&x.updateInput&&ee.display.input.reset(x.typing),ue&&cd(x.cm)}function Jn(x){var ee=x.cm,ue=ee.display,le=ee.doc;if(x.updatedDisplay&&_a(ee,x.update),ue.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ue.wheelStartX=ue.wheelStartY=null),x.scrollTop!=null&&ru(ee,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&iA(ee,x.scrollLeft,!0,!0),x.scrollToPos){var me=yd(ee,Jr(le,x.scrollToPos.from),Jr(le,x.scrollToPos.to),x.scrollToPos.margin);Oc(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 Ut=0;Ut<mt.length;++Ut)mt[Ut].lines.length&&pt(mt[Ut],"unhide");ue.wrapper.offsetHeight&&(le.scrollTop=ee.display.scroller.scrollTop),x.changeObjs&&pt(ee,"changes",ee,x.changeObjs),x.update&&x.update.finish()}function Rn(x,ee){if(x.curOp)return ee();uc(x);try{return ee()}finally{aA(x)}}function mr(x,ee){return function(){if(x.curOp)return ee.apply(x,arguments);uc(x);try{return ee.apply(x,arguments)}finally{aA(x)}}}function hr(x){return function(){if(this.curOp)return x.apply(this,arguments);uc(this);try{return x.apply(this,arguments)}finally{aA(this)}}}function cr(x){return function(){var ee=this.cm;if(!ee||ee.curOp)return x.apply(this,arguments);uc(ee);try{return x.apply(this,arguments)}finally{aA(ee)}}}function Zr(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=Ir(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,Ut=jr(x,Ve,le,!0);It&&(le.state=It),Ve.styles=Ut.styles;var Jt=Ve.styleClasses,Zn=Ut.classes;Zn?Ve.styleClasses=Zn:Jt&&(Ve.styleClasses=null);for(var ir=!mt||mt.length!=Ve.styles.length||Jt!=Zn&&(!Jt||!Zn||Jt.bgClass!=Zn.bgClass||Jt.textClass!=Zn.textClass),Yr=0;!ir&&Yr<mt.length;++Yr)ir=mt[Yr]!=Ve.styles[Yr];ir&&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 Zr(x,x.options.workDelay),!0}),ee.highlightFrontier=le.line,ee.modeFrontier=Math.max(ee.modeFrontier,le.line),me.length&&Rn(x,function(){for(var Ve=0;Ve<me.length;Ve++)Bc(x,me[Ve],"text")})}}var $r=function(x,ee,ue){var le=x.display;this.viewport=ee,this.visible=Pu(le,x.doc,ee),this.editorIsHidden=!le.wrapper.offsetWidth,this.wrapperHeight=le.wrapper.clientHeight,this.wrapperWidth=le.wrapper.clientWidth,this.oldDisplayWidth=wl(x),this.force=ue,this.dims=lo(x),this.events=[]};$r.prototype.signal=function(x,ee){wn(x,ee)&&this.events.push(arguments)},$r.prototype.finish=function(){for(var x=0;x<this.events.length;x++)pt.apply(null,this.events[x])};function Yi(x){var ee=x.display;!ee.scrollbarsClipped&&ee.scroller.offsetWidth&&(ee.nativeBarWidth=ee.scroller.offsetWidth-ee.scroller.clientWidth,ee.heightForcer.style.height=Fu(x)+"px",ee.sizer.style.marginBottom=-ee.nativeBarWidth+"px",ee.sizer.style.borderRightWidth=Fu(x)+"px",ee.scrollbarsClipped=!0)}function Ri(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 zi(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 Za(x,ee){var ue=x.display,le=x.doc;if(ee.editorIsHidden)return Lc(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&&Gs(x)==0)return!1;ko(x)&&(Lc(x),ee.dims=lo(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)),oo&&(Ve=Os(x.doc,Ve),mt=ps(x.doc,mt));var It=Ve!=ue.viewFrom||mt!=ue.viewTo||ue.lastWrapHeight!=ee.wrapperHeight||ue.lastWrapWidth!=ee.wrapperWidth;dl(x,Ve,mt),ue.viewOffset=fa(on(x.doc,ue.viewFrom)),x.display.mover.style.top=ue.viewOffset+"px";var Ut=Gs(x);if(!It&&Ut==0&&!ee.force&&ue.renderedView==ue.view&&(ue.updateLineNumbers==null||ue.updateLineNumbers>=ue.viewTo))return!1;var Jt=Ri(x);return Ut>4&&(ue.lineDiv.style.display="none"),Da(x,ue.updateLineNumbers,ee.dims),Ut>4&&(ue.lineDiv.style.display=""),ue.renderedView=ue.view,zi(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,Zr(x,400)),ue.updateLineNumbers=null,!0}function _a(x,ee){for(var ue=ee.viewport,le=!0;;le=!1){if(!le||!x.options.lineWrapping||ee.oldDisplayWidth==wl(x)){if(ue&&ue.top!=null&&(ue={top:Math.min(x.doc.height+eu(x.display)-Vl(x),ue.top)}),ee.visible=Pu(x.display,x.doc,ue),ee.visible.from>=x.display.viewFrom&&ee.visible.to<=x.display.viewTo)break}else le&&(ee.visible=Pu(x.display,x.doc,ue));if(!Za(x,ee))break;Ec(x);var me=gf(x);Ms(x),gA(x,me),Qo(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 Ra(x,ee){var ue=new $r(x,ee);if(Za(x,ue)){Ec(x),_a(x,ue);var le=gf(x);Ms(x),gA(x,le),Qo(x,le),ue.finish()}}function Da(x,ee,ue){var le=x.display,me=x.options.lineNumbers,Ve=le.lineDiv,mt=Ve.firstChild;function It(Oi){var ma=Oi.nextSibling;return ve&&Pe&&x.display.currentWheelTarget==Oi?Oi.style.display="none":Oi.parentNode.removeChild(Oi),ma}for(var Ut=le.view,Jt=le.viewFrom,Zn=0;Zn<Ut.length;Zn++){var ir=Ut[Zn];if(!ir.hidden)if(!ir.node||ir.node.parentNode!=Ve){var Yr=Kn(x,ir,Jt,ue);Ve.insertBefore(Yr,mt)}else{for(;mt!=ir.node;)mt=It(mt);var Qr=me&&ee!=null&&ee<=Jt&&ir.lineNumber;ir.changes&&(at(ir.changes,"gutter")>-1&&(Qr=!1),Hi(x,ir,Jt,ue)),Qr&&(rt(ir.lineNumber),ir.lineNumber.appendChild(document.createTextNode(ei(x.options,Jt)))),mt=ir.node.nextSibling}Jt+=ir.size}for(;mt;)mt=It(mt)}function ro(x){var ee=x.gutters.offsetWidth;x.sizer.style.marginLeft=ee+"px"}function Qo(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+Fu(x)+"px"}function Jo(x){var ee=x.display,ue=ee.view;if(!(!ee.alignWidgets&&(!ee.gutters.firstChild||!x.options.fixedGutter))){for(var le=fi(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 Ut=0;Ut<It.length;Ut++)It[Ut].style.left=Ve}x.options.fixedGutter&&(ee.gutters.style.left=le+me+"px")}}function ko(x){if(!x.options.lineNumbers)return!1;var ee=x.doc,ue=ei(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",ro(x.display),!0}return!1}function ls(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 Fs(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",ro(x)}function Ao(x){Fs(x.display),_l(x),Jo(x)}function Po(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=Ct("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=Ct("div",[me.measure,me.lineMeasure,me.selectionDiv,me.cursorDiv,me.lineDiv],null,"position: relative; outline: none");var Ve=Ct("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: "+Xt+"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"),Oe&&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=ls(le.gutters,le.lineNumbers),Fs(me),ue.init(me)}var yo=0,Ba=null;Oe?Ba=-.53:he?Ba=15:xe?Ba=-.7:Ke&&(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 ns(x){var ee=Bo(x);return ee.x*=Ba,ee.y*=Ba,ee}function Ys(x,ee){var ue=Bo(ee),le=ue.x,me=ue.y,Ve=x.display,mt=Ve.scroller,It=mt.scrollWidth>mt.clientWidth,Ut=mt.scrollHeight>mt.clientHeight;if(le&&It||me&&Ut){if(me&&Pe&&ve){e:for(var Jt=ee.target,Zn=Ve.view;Jt!=mt;Jt=Jt.parentNode)for(var ir=0;ir<Zn.length;ir++)if(Zn[ir].node==Jt){x.display.currentWheelTarget=Jt;break e}}if(le&&!he&&!fe&&Ba!=null){me&&Ut&&Jc(x,Math.max(0,mt.scrollTop+me*Ba)),iA(x,Math.max(0,mt.scrollLeft+le*Ba)),(!me||me&&Ut)&&yr(ee),Ve.wheelStartX=null;return}if(me&&Ba!=null){var Yr=me*Ba,Qr=x.doc.scrollTop,Oi=Qr+Ve.wrapper.clientHeight;Yr<0?Qr=Math.max(0,Qr+Yr-50):Oi=Math.min(x.doc.height,Oi+Yr+50),Ra(x,{top:Qr,bottom:Oi})}yo<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 ma=mt.scrollLeft-Ve.wheelStartX,qa=mt.scrollTop-Ve.wheelStartY,bo=qa&&Ve.wheelDY&&qa/Ve.wheelDY||ma&&Ve.wheelDX&&ma/Ve.wheelDX;Ve.wheelStartX=Ve.wheelStartY=null,bo&&(Ba=(Ba*yo+bo)/(yo+1),++yo)}},200)):(Ve.wheelDX+=le,Ve.wheelDY+=me))}}var rs=function(x,ee){this.ranges=x,this.primIndex=ee};rs.prototype.primary=function(){return this.ranges[this.primIndex]},rs.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(!_i(ue.anchor,le.anchor)||!_i(ue.head,le.head))return!1}return!0},rs.prototype.deepCopy=function(){for(var x=[],ee=0;ee<this.ranges.length;ee++)x[ee]=new Ga(gi(this.ranges[ee].anchor),gi(this.ranges[ee].head));return new rs(x,this.primIndex)},rs.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},rs.prototype.contains=function(x,ee){ee||(ee=x);for(var ue=0;ue<this.ranges.length;ue++){var le=this.ranges[ue];if(kr(ee,le.from())>=0&&kr(x,le.to())<=0)return ue}return-1};var Ga=function(x,ee){this.anchor=x,this.head=ee};Ga.prototype.from=function(){return Mi(this.anchor,this.head)},Ga.prototype.to=function(){return ji(this.anchor,this.head)},Ga.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ms(x,ee,ue){var le=x&&x.options.selectionsMayTouch,me=ee[ue];ee.sort(function(Yr,Qr){return kr(Yr.from(),Qr.from())}),ue=at(ee,me);for(var Ve=1;Ve<ee.length;Ve++){var mt=ee[Ve],It=ee[Ve-1],Ut=kr(It.to(),mt.from());if(le&&!mt.empty()?Ut>0:Ut>=0){var Jt=Mi(It.from(),mt.from()),Zn=ji(It.to(),mt.to()),ir=It.empty()?mt.from()==mt.head:It.from()==It.head;Ve<=ue&&--ue,ee.splice(--Ve,2,new Ga(ir?Zn:Jt,ir?Jt:Zn))}}return new rs(ee,ue)}function Is(x,ee){return new rs([new Ga(x,ee||x)],0)}function Rl(x){return x.text?er(x.from.line+x.text.length-1,Cn(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Ml(x,ee){if(kr(x,ee.from)<0)return x;if(kr(x,ee.to)<=0)return Rl(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+=Rl(ee).ch-ee.to.ch),er(ue,le)}function Bu(x,ee){for(var ue=[],le=0;le<x.sel.ranges.length;le++){var me=x.sel.ranges[le];ue.push(new Ga(Ml(me.anchor,ee),Ml(me.head,ee)))}return ms(x.cm,ue,x.sel.primIndex)}function Su(x,ee,ue){return x.line==ee.line?er(ue.line,x.ch-ee.ch+ue.ch):er(ue.line+(x.line-ee.line),x.ch)}function ks(x,ee,ue){for(var le=[],me=er(x.first,0),Ve=me,mt=0;mt<ee.length;mt++){var It=ee[mt],Ut=Su(It.from,me,Ve),Jt=Su(Rl(It),me,Ve);if(me=It.to,Ve=Jt,ue=="around"){var Zn=x.sel.ranges[mt],ir=kr(Zn.head,Zn.anchor)<0;le[mt]=new Ga(ir?Jt:Ut,ir?Ut:Jt)}else le[mt]=new Ga(Ut,Ut)}return new rs(le,x.sel.primIndex)}function oc(x){x.doc.mode=qr(x.options,x.doc.modeOption),yl(x)}function yl(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,Zr(x,100),x.state.modeGen++,x.curOp&&_l(x)}function cu(x,ee){return ee.from.ch==0&&ee.to.ch==0&&Cn(ee.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function du(x,ee,ue,le){function me(_o){return ue?ue[_o]:null}function Ve(_o,po,Uo){In(_o,po,Uo,le),li(_o,"change",_o,ee)}function mt(_o,po){for(var Uo=[],hs=_o;hs<po;++hs)Uo.push(new Ln(Jt[hs],me(hs),le));return Uo}var It=ee.from,Ut=ee.to,Jt=ee.text,Zn=on(x,It.line),ir=on(x,Ut.line),Yr=Cn(Jt),Qr=me(Jt.length-1),Oi=Ut.line-It.line;if(ee.full)x.insert(0,mt(0,Jt.length)),x.remove(Jt.length,x.size-Jt.length);else if(cu(x,ee)){var ma=mt(0,Jt.length-1);Ve(ir,ir.text,Qr),Oi&&x.remove(It.line,Oi),ma.length&&x.insert(It.line,ma)}else if(Zn==ir)if(Jt.length==1)Ve(Zn,Zn.text.slice(0,It.ch)+Yr+Zn.text.slice(Ut.ch),Qr);else{var qa=mt(1,Jt.length-1);qa.push(new Ln(Yr+Zn.text.slice(Ut.ch),Qr,le)),Ve(Zn,Zn.text.slice(0,It.ch)+Jt[0],me(0)),x.insert(It.line+1,qa)}else if(Jt.length==1)Ve(Zn,Zn.text.slice(0,It.ch)+Jt[0]+ir.text.slice(Ut.ch),me(0)),x.remove(It.line+1,Oi);else{Ve(Zn,Zn.text.slice(0,It.ch)+Jt[0],me(0)),Ve(ir,Yr+ir.text.slice(Ut.ch),Qr);var bo=mt(1,Jt.length-1);Oi>1&&x.remove(It.line+1,Oi-1),x.insert(It.line+1,bo)}li(x,"change",x,ee)}function Fc(x,ee,ue){function le(me,Ve,mt){if(me.linked)for(var It=0;It<me.linked.length;++It){var Ut=me.linked[It];if(Ut.doc!=Ve){var Jt=mt&&Ut.sharedHist;ue&&!Jt||(ee(Ut.doc,Jt),le(Ut.doc,me,Jt))}}}le(x,null,!0)}function So(x,ee){if(ee.cm)throw new Error("This document is already in use.");x.doc=ee,ee.cm=x,ds(x),oc(x),$o(x),x.options.lineWrapping||ia(x),x.options.mode=ee.modeOption,_l(x)}function $o(x){(x.doc.direction=="rtl"?Ht:et)(x.display.lineDiv,"CodeMirror-rtl")}function es(x){Rn(x,function(){$o(x),_l(x)})}function Ro(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 Ll(x,ee){var ue={from:gi(ee.from),to:Rl(ee),text:_n(x,ee.from,ee.to)};return Pd(x,ue,ee.from.line,ee.to.line+1),Fc(x,function(le){return Pd(le,ue,ee.from.line,ee.to.line+1)},!0),ue}function jo(x){for(;x.length;){var ee=Cn(x);if(ee.ranges)x.pop();else break}}function ws(x,ee){if(ee)return jo(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 nl(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=ws(me,me.lastOp==le)))It=Cn(mt.changes),kr(ee.from,ee.to)==0&&kr(ee.from,It.to)==0?It.to=Rl(ee):mt.changes.push(Ll(x,ee));else{var Ut=Cn(me.done);for((!Ut||!Ut.ranges)&&Vu(x.sel,me.done),mt={changes:[Ll(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 Al(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 qc(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||Al(x,Ve,Cn(me.done),ee))?me.done[me.done.length-1]=ee:Vu(ee,me.done),me.lastSelTime=+new Date,me.lastSelOrigin=Ve,me.lastSelOp=ue,le&&le.clearRedo!==!1&&jo(me.undone)}function Vu(x,ee){var ue=Cn(ee);ue&&ue.ranges&&ue.equals(x)||ee.push(x)}function Pd(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 ec(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 Td(x,ee){var ue=ee["spans_"+x.id];if(!ue)return null;for(var le=[],me=0;me<ee.text.length;++me)le.push(ec(ue[me]));return le}function to(x,ee){var ue=Td(x,ee),le=Ii(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 Ut=mt[It],Jt=0;Jt<Ve.length;++Jt)if(Ve[Jt].marker==Ut.marker)continue e;Ve.push(Ut)}else mt&&(ue[me]=mt)}return ue}function Nc(x,ee,ue){for(var le=[],me=0;me<x.length;++me){var Ve=x[me];if(Ve.ranges){le.push(ue?rs.prototype.deepCopy.call(Ve):Ve);continue}var mt=Ve.changes,It=[];le.push({changes:It});for(var Ut=0;Ut<mt.length;++Ut){var Jt=mt[Ut],Zn=void 0;if(It.push({from:Jt.from,to:Jt.to,text:Jt.text}),ee)for(var ir in Jt)(Zn=ir.match(/^spans_(\d+)$/))&&at(ee,Number(Zn[1]))>-1&&(Cn(It)[ir]=Jt[ir],delete Jt[ir])}}return le}function ZA(x,ee,ue,le){if(le){var me=x.anchor;if(ue){var Ve=kr(ee,me)<0;Ve!=kr(ue,me)<0?(me=ee,ee=ue):Ve!=kr(ee,ue)<0&&(ee=ue)}return new Ga(me,ee)}else return new Ga(ue||ee,ee)}function bl(x,ee,ue,le,me){me==null&&(me=x.cm&&(x.cm.display.shift||x.extend)),ql(x,new rs([ZA(x.sel.primary(),ee,ue,me)],0),le)}function aa(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]=ZA(x.sel.ranges[Ve],ee[Ve],null,me);var mt=ms(x.cm,le,x.sel.primIndex);ql(x,mt,ue)}function Ql(x,ee,ue,le){var me=x.sel.ranges.slice(0);me[ee]=ue,ql(x,ms(x.cm,me,x.sel.primIndex),le)}function yc(x,ee,ue,le){ql(x,Is(ee,ue),le)}function _u(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 Ga(Jr(x,me[Ve].anchor),Jr(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?ms(x.cm,le.ranges,le.ranges.length-1):ee}function fs(x,ee,ue){var le=x.history.done,me=Cn(le);me&&me.ranges?(le[le.length-1]=ee,Pc(x,ee,ue)):ql(x,ee,ue)}function ql(x,ee,ue){Pc(x,ee,ue),qc(x,x.sel,x.cm?x.cm.curOp.id:NaN,ue)}function Pc(x,ee,ue){(wn(x,"beforeSelectionChange")||x.cm&&wn(x.cm,"beforeSelectionChange"))&&(ee=_u(x,ee,ue));var le=ue&&ue.bias||(kr(ee.primary().head,x.sel.primary().head)<0?-1:1);Md(x,Tc(x,ee,le,!0)),!(ue&&ue.scroll===!1)&&x.cm&&rA(x.cm)}function Md(x,ee){ee.equals(x.sel)||(x.sel=ee,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,gn(x.cm)),li(x,"cursorActivity",x))}function bd(x){Md(x,Tc(x,x.sel,null,!1))}function Tc(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],Ut=vA(x,mt.anchor,It&&It.anchor,ue,le),Jt=vA(x,mt.head,It&&It.head,ue,le);(me||Ut!=mt.anchor||Jt!=mt.head)&&(me||(me=ee.ranges.slice(0,Ve)),me[Ve]=new Ga(Ut,Jt))}return me?ms(x.cm,me,ee.primIndex):ee}function Gu(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],Ut=It.marker,Jt="selectLeft"in Ut?!Ut.selectLeft:Ut.inclusiveLeft,Zn="selectRight"in Ut?!Ut.selectRight:Ut.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(Ut,"beforeCursorEnter"),Ut.explicitlyCleared))if(Ve.markedSpans){--mt;continue}else break;if(!Ut.atomic)continue;if(ue){var ir=Ut.find(le<0?1:-1),Yr=void 0;if((le<0?Zn:Jt)&&(ir=Qc(x,ir,-le,ir&&ir.line==ee.line?Ve:null)),ir&&ir.line==ee.line&&(Yr=kr(ir,ue))&&(le<0?Yr<0:Yr>0))return Gu(x,ir,ee,le,me)}var Qr=Ut.find(le<0?-1:1);return(le<0?Jt:Zn)&&(Qr=Qc(x,Qr,le,Qr.line==ee.line?Ve:null)),Qr?Gu(x,Qr,ee,le,me):null}}return ee}function vA(x,ee,ue,le,me){var Ve=le||1,mt=Gu(x,ee,ue,Ve,me)||!me&&Gu(x,ee,ue,Ve,!0)||Gu(x,ee,ue,-Ve,me)||!me&&Gu(x,ee,ue,-Ve,!0);return mt||(x.cantEdit=!0,er(x.first,0))}function Qc(x,ee,ue,le){return ue<0&&ee.ch==0?ee.line>x.first?Jr(x,er(ee.line-1)):null:ue>0&&ee.ch==(le||on(x,ee.line)).text.length?ee.line<x.first+x.size-1?er(ee.line+1,0):null:new er(ee.line,ee.ch+ue)}function Yu(x){x.setSelection(er(x.firstLine(),0),er(x.lastLine()),xt)}function Rc(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=Jr(x,me)),Ve&&(le.to=Jr(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 Iu(x,ee,ue){if(x.cm){if(!x.cm.curOp)return mr(x.cm,Iu)(x,ee,ue);if(x.cm.state.suppressEdits)return}if(!((wn(x,"beforeChange")||x.cm&&wn(x.cm,"beforeChange"))&&(ee=Rc(x,ee,!0),!ee))){var le=ho&&!ue&&Ha(x,ee.from,ee.to);if(le)for(var me=le.length-1;me>=0;--me)Tu(x,{from:le[me].from,to:le[me].to,text:me?[""]:ee.text,origin:ee.origin});else Tu(x,ee)}}function Tu(x,ee){if(!(ee.text.length==1&&ee.text[0]==""&&kr(ee.from,ee.to)==0)){var ue=Bu(x,ee);nl(x,ee,ue,x.cm?x.cm.curOp.id:NaN),Rd(x,ee,ue,Ii(x,ee));var le=[];Fc(x,function(me,Ve){!Ve&&at(le,me.history)==-1&&(iu(me.history,ee),le.push(me.history)),Rd(me,ee,null,Ii(me,ee))})}}function rd(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,Ut=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(Vu(Ve,Ut),ue&&!Ve.equals(x.sel)){ql(x,Ve,{clearRedo:!1});return}mt=Ve}else if(le){It.push(Ve);return}else break;var Zn=[];Vu(mt,Ut),Ut.push({changes:Zn,generation:me.generation}),me.generation=Ve.generation||++me.maxGeneration;for(var ir=wn(x,"beforeChange")||x.cm&&wn(x.cm,"beforeChange"),Yr=function(ma){var qa=Ve.changes[ma];if(qa.origin=ee,ir&&!Rc(x,qa,!1))return It.length=0,{};Zn.push(Ll(x,qa));var bo=ma?Bu(x,qa):Cn(It);Rd(x,qa,bo,to(x,qa)),!ma&&x.cm&&x.cm.scrollIntoView({from:qa.from,to:Rl(qa)});var _o=[];Fc(x,function(po,Uo){!Uo&&at(_o,po.history)==-1&&(iu(po.history,qa),_o.push(po.history)),Rd(po,qa,null,to(po,qa))})},Qr=Ve.changes.length-1;Qr>=0;--Qr){var Oi=Yr(Qr);if(Oi)return Oi.v}}}}function oA(x,ee){if(ee!=0&&(x.first+=ee,x.sel=new rs(mn(x.sel.ranges,function(me){return new Ga(er(me.anchor.line+ee,me.anchor.ch),er(me.head.line+ee,me.head.ch))}),x.sel.primIndex),x.cm)){_l(x.cm,x.first,x.first-ee,ee);for(var ue=x.cm.display,le=ue.viewFrom;le<ue.viewTo;le++)Bc(x.cm,le,"gutter")}}function Rd(x,ee,ue,le){if(x.cm&&!x.cm.curOp)return mr(x.cm,Rd)(x,ee,ue,le);if(ee.to.line<x.first){oA(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);oA(x,me),ee={from:er(x.first,0),to:er(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:er(Ve,on(x,Ve).text.length),text:[ee.text[0]],origin:ee.origin}),ee.removed=_n(x,ee.from,ee.to),ue||(ue=Bu(x,ee)),x.cm?yA(x.cm,ee,le):du(x,ee,le),Pc(x,ue,xt),x.cantEdit&&vA(x,er(x.firstLine(),0))&&(x.cantEdit=!1)}}function yA(x,ee,ue){var le=x.doc,me=x.display,Ve=ee.from,mt=ee.to,It=!1,Ut=Ve.line;x.options.lineWrapping||(Ut=dr(Fo(on(le,Ve.line))),le.iter(Ut,mt.line+1,function(Qr){if(Qr==me.maxLine)return It=!0,!0})),le.sel.contains(ee.from,ee.to)>-1&&gn(x),du(le,ee,ue,To(x)),x.options.lineWrapping||(le.iter(Ut,Ve.line+ee.text.length,function(Qr){var Oi=la(Qr);Oi>me.maxLineLength&&(me.maxLine=Qr,me.maxLineLength=Oi,me.maxLineChanged=!0,It=!1)}),It&&(x.curOp.updateMaxLine=!0)),Fa(le,Ve.line),Zr(x,400);var Jt=ee.text.length-(mt.line-Ve.line)-1;ee.full?_l(x):Ve.line==mt.line&&ee.text.length==1&&!cu(x.doc,ee)?Bc(x,Ve.line,"text"):_l(x,Ve.line,mt.line+1,Jt);var Zn=wn(x,"changes"),ir=wn(x,"change");if(ir||Zn){var Yr={from:Ve,to:mt,text:ee.text,removed:ee.removed,origin:ee.origin};ir&&li(x,"change",x,Yr),Zn&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(Yr)}x.display.selForContextMenu=null}function VA(x,ee,ue,le,me){var Ve;le||(le=ue),kr(le,ue)<0&&(Ve=[le,ue],ue=Ve[0],le=Ve[1]),typeof ee=="string"&&(ee=x.splitLines(ee)),Iu(x,{from:ue,to:le,text:ee,origin:me})}function Sh(x,ee,ue,le){ue<x.line?x.line+=le:ee<x.line&&(x.line=ee,x.ch=0)}function xl(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++)Sh(Ve.ranges[It].anchor,ee,ue,le),Sh(Ve.ranges[It].head,ee,ue,le);continue}for(var Ut=0;Ut<Ve.changes.length;++Ut){var Jt=Ve.changes[Ut];if(ue<Jt.from.line)Jt.from=er(Jt.from.line+le,Jt.from.ch),Jt.to=er(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 iu(x,ee){var ue=ee.from.line,le=ee.to.line,me=ee.text.length-(le-ue)-1;xl(x.done,ue,le,me),xl(x.undone,ue,le,me)}function kc(x,ee,ue,le){var me=ee,Ve=ee;return typeof ee=="number"?Ve=on(x,Ca(x,ee)):me=dr(ee),me==null?null:(le(Ve,me)&&x.cm&&Bc(x.cm,me,ue),Ve)}function au(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}au.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,Er(me),li(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 au))){var It=[];this.collapse(It),this.children=[new au(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 Ut=new au(me.lines.slice(It,It+=25));me.height-=Ut.height,this.children.splice(++le,0,Ut),Ut.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 _c=function(x,ee,ue){if(ue)for(var le in ue)ue.hasOwnProperty(le)&&(this[le]=ue[le]);this.doc=x,this.node=ee};_c.prototype.clear=function(){var x=this.doc.cm,ee=this.line.widgets,ue=this.line,le=dr(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=ss(this);nr(ue,Math.max(0,ue.height-Ve)),x&&(Rn(x,function(){tc(x,ue,-Ve),Bc(x,le,"widget")}),li(x,"lineWidgetCleared",x,this,le))}},_c.prototype.changed=function(){var x=this,ee=this.height,ue=this.doc.cm,le=this.line;this.height=null;var me=ss(this)-ee;me&&(as(this.doc,le)||nr(le,le.height+me),ue&&Rn(ue,function(){ue.curOp.forceUpdate=!0,tc(ue,le,me),li(ue,"lineWidgetChanged",ue,x,dr(le))}))},Xn(_c);function tc(x,ee,ue){fa(ee)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&Bh(x,ue)}function bA(x,ee,ue,le){var me=new _c(x,ue,le),Ve=x.cm;return Ve&&me.noHScroll&&(Ve.display.alignWidgets=!0),kc(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&&!as(x,mt)){var Ut=fa(mt)<x.scrollTop;nr(mt,mt.height+ss(me)),Ut&&Bh(Ve,me.height),Ve.curOp.forceUpdate=!0}return!0}),Ve&&li(Ve,"lineWidgetAdded",Ve,me,typeof ee=="number"?ee:dr(ee)),me}var ih=0,wA=function(x,ee){this.lines=[],this.type=ee,this.doc=x,this.id=++ih};wA.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,ee=x&&!x.curOp;if(ee&&uc(x),wn(this,"clear")){var ue=this.find();ue&&li(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=no(mt.markedSpans,this);x&&!this.collapsed?Bc(x,dr(mt),"text"):x&&(It.to!=null&&(me=dr(mt)),It.from!=null&&(le=dr(mt))),mt.markedSpans=La(mt.markedSpans,It),It.from==null&&this.collapsed&&!as(this.doc,mt)&&x&&nr(mt,_d(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ut=0;Ut<this.lines.length;++Ut){var Jt=Fo(this.lines[Ut]),Zn=la(Jt);Zn>x.display.maxLineLength&&(x.display.maxLine=Jt,x.display.maxLineLength=Zn,x.display.maxLineChanged=!0)}le!=null&&x&&this.collapsed&&_l(x,le,me+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&bd(x.doc)),x&&li(x,"markerCleared",x,this,le,me),ee&&aA(x),this.parent&&this.parent.clear()}},wA.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=no(Ve.markedSpans,this);if(mt.from!=null&&(ue=er(ee?Ve:dr(Ve),mt.from),x==-1))return ue;if(mt.to!=null&&(le=er(ee?Ve:dr(Ve),mt.to),x==1))return le}return ue&&{from:ue,to:le}},wA.prototype.changed=function(){var x=this,ee=this.find(-1,!0),ue=this,le=this.doc.cm;!ee||!le||Rn(le,function(){var me=ee.line,Ve=dr(ee.line),mt=ml(le,Ve);if(mt&&(Xl(mt),le.curOp.selectionChanged=le.curOp.forceUpdate=!0),le.curOp.updateMaxLine=!0,!as(ue.doc,me)&&ue.height!=null){var It=ue.height;ue.height=null;var Ut=ss(ue)-It;Ut&&nr(me,me.height+Ut)}li(le,"markerChanged",le,x)})},wA.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)},wA.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)}},Xn(wA);function xA(x,ee,ue,le,me){if(le&&le.shared)return Ru(x,ee,ue,le,me);if(x.cm&&!x.cm.curOp)return mr(x.cm,xA)(x,ee,ue,le,me);var Ve=new wA(x,me),mt=kr(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=Ct("span",[Ve.replacedWith],"CodeMirror-widget"),le.handleMouseEvents||Ve.widgetNode.setAttribute("cm-ignore-events","true"),le.insertLeft&&(Ve.widgetNode.insertLeft=!0)),Ve.collapsed){if(Co(x,ee.line,ee,ue,Ve)||ee.line!=ue.line&&Co(x,ue.line,ee,ue,Ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");ui()}Ve.addToHistory&&nl(x,{from:ee,to:ue,origin:"markText"},x.sel,NaN);var It=ee.line,Ut=x.cm,Jt;if(x.iter(It,ue.line+1,function(ir){Ut&&Ve.collapsed&&!Ut.options.lineWrapping&&Fo(ir)==Ut.display.maxLine&&(Jt=!0),Ve.collapsed&&It!=ee.line&&nr(ir,0),xo(ir,new za(Ve,It==ee.line?ee.ch:null,It==ue.line?ue.ch:null)),++It}),Ve.collapsed&&x.iter(ee.line,ue.line+1,function(ir){as(x,ir)&&nr(ir,0)}),Ve.clearOnEnter&&nn(Ve,"beforeCursorEnter",function(){return Ve.clear()}),Ve.readOnly&&(ta(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),Ve.collapsed&&(Ve.id=++ih,Ve.atomic=!0),Ut){if(Jt&&(Ut.curOp.updateMaxLine=!0),Ve.collapsed)_l(Ut,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++)Bc(Ut,Zn,"text");Ve.atomic&&bd(Ut.doc),li(Ut,"markerAdded",Ut,Ve)}return Ve}var fl=function(x,ee){this.markers=x,this.primary=ee;for(var ue=0;ue<x.length;++ue)x[ue].parent=this};fl.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();li(this,"clear")}},fl.prototype.find=function(x,ee){return this.primary.find(x,ee)},Xn(fl);function Ru(x,ee,ue,le,me){le=wt(le),le.shared=!1;var Ve=[xA(x,ee,ue,le,me)],mt=Ve[0],It=le.widgetNode;return Fc(x,function(Ut){It&&(le.widgetNode=It.cloneNode(!0)),Ve.push(xA(Ut,Jr(Ut,ee),Jr(Ut,ue),le,me));for(var Jt=0;Jt<Ut.linked.length;++Jt)if(Ut.linked[Jt].isParent)return;mt=Cn(Ve)}),new fl(Ve,mt)}function sA(x){return x.findMarks(er(x.first,0),x.clipPos(er(x.lastLine())),function(ee){return ee.parent})}function CA(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(kr(Ve,mt)){var It=xA(x,Ve,mt,le.primary,le.primary.type);le.markers.push(It),It.parent=le}}}function id(x){for(var ee=function(le){var me=x[le],Ve=[me.primary.doc];Fc(me.primary.doc,function(Ut){return Ve.push(Ut)});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 $h=0,cc=function(x,ee,ue,le,me){if(!(this instanceof cc))return new cc(x,ee,ue,le,me);ue==null&&(ue=0),bc.call(this,[new au([new Ln("",null)])]),this.first=ue,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ue;var Ve=er(ue,0);this.sel=Is(Ve),this.history=new Ro(null),this.id=++$h,this.modeOption=ee,this.lineSep=le,this.direction=me=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),du(this,{from:Ve,to:Ve,text:x}),ql(this,Is(Ve),xt)};cc.prototype=Fe(bc.prototype,{constructor:cc,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=lr(this,this.first,this.first+this.size);return x===!1?ee:ee.join(x||this.lineSeparator())},setValue:cr(function(x){var ee=er(this.first,0),ue=this.first+this.size-1;Iu(this,{from:ee,to:er(ue,on(this,ue).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&zA(this.cm,0,0),ql(this,Is(ee),xt)}),replaceRange:function(x,ee,ue,le){ee=Jr(this,ee),ue=ue?Jr(this,ue):ee,VA(this,x,ee,ue,le)},getRange:function(x,ee,ue){var le=_n(this,Jr(this,x),Jr(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(Ur(this,x))return on(this,x)},getLineNumber:function(x){return dr(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=on(this,x)),Fo(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return Jr(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:cr(function(x,ee,ue){yc(this,Jr(this,typeof x=="number"?er(x,ee||0):x),null,ue)}),setSelection:cr(function(x,ee,ue){yc(this,Jr(this,x),Jr(this,ee||x),ue)}),extendSelection:cr(function(x,ee,ue){bl(this,Jr(this,x),ee&&Jr(this,ee),ue)}),extendSelections:cr(function(x,ee){aa(this,vn(this,x),ee)}),extendSelectionsBy:cr(function(x,ee){var ue=mn(this.sel.ranges,x);aa(this,vn(this,ue),ee)}),setSelections:cr(function(x,ee,ue){if(x.length){for(var le=[],me=0;me<x.length;me++)le[me]=new Ga(Jr(this,x[me].anchor),Jr(this,x[me].head));ee==null&&(ee=Math.min(x.length-1,this.sel.primIndex)),ql(this,ms(this.cm,le,ee),ue)}}),addSelection:cr(function(x,ee,ue){var le=this.sel.ranges.slice(0);le.push(new Ga(Jr(this,x),Jr(this,ee||x))),ql(this,ms(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=_n(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=_n(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:cr(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"&&ks(this,le,ee),Ut=le.length-1;Ut>=0;Ut--)Iu(this,le[Ut]);It?fs(this,It):this.cm&&rA(this.cm)}),undo:cr(function(){rd(this,"undo")}),redo:cr(function(){rd(this,"redo")}),undoSelection:cr(function(){rd(this,"undo",!0)}),redoSelection:cr(function(){rd(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 Ro(this.history.maxGeneration),Fc(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:Nc(this.history.done),undone:Nc(this.history.undone)}},setHistory:function(x){var ee=this.history=new Ro(this.history.maxGeneration);ee.done=Nc(x.done.slice(0),null,!0),ee.undone=Nc(x.undone.slice(0),null,!0)},setGutterMarker:cr(function(x,ee,ue){return kc(this,x,"gutter",function(le){var me=le.gutterMarkers||(le.gutterMarkers={});return me[ee]=ue,!ue&&oe(me)&&(le.gutterMarkers=null),!0})}),clearGutter:cr(function(x){var ee=this;this.iter(function(ue){ue.gutterMarkers&&ue.gutterMarkers[x]&&kc(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(!Ur(this,x)||(ee=x,x=on(this,x),!x))return null}else if(ee=dr(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:cr(function(x,ee,ue){return kc(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:cr(function(x,ee,ue){return kc(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:cr(function(x,ee,ue){return bA(this,x,ee,ue)}),removeLineWidget:function(x){x.clear()},markText:function(x,ee,ue){return xA(this,Jr(this,x),Jr(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=Jr(this,x),xA(this,x,x,ue,"bookmark")},findMarksAt:function(x){x=Jr(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=Jr(this,x),ee=Jr(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 Ut=mt[It];!(Ut.to!=null&&me==x.line&&x.ch>=Ut.to||Ut.from==null&&me!=x.line||Ut.from!=null&&me==ee.line&&Ut.from>=ee.ch)&&(!ue||ue(Ut.marker))&&le.push(Ut.marker.parent||Ut.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}),Jr(this,er(ue,ee))},indexFromPos:function(x){x=Jr(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 cc(lr(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 cc(lr(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}],CA(le,sA(this)),le},unlinkDoc:function(x){if(x instanceof Us&&(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),id(sA(this));break}}if(x.history==this.history){var le=[x.id];Fc(x,function(me){return le.push(me.id)},!0),x.history=new Ro(null),x.history.done=Nc(this.history.done,le),x.history.undone=Nc(this.history.undone,le)}},iterLinkedDocs:function(x){Fc(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):ua(x)},lineSeparator:function(){return this.lineSep||`
`},setDirection:cr(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(ee){return ee.order=null}),this.cm&&es(this.cm))})}),cc.prototype.eachLine=cc.prototype.iter;var Eh=0;function e0(x){var ee=this;if(Lf(ee),!(Zt(ee,x)||qs(ee.display,x))){yr(x),Oe&&(Eh=+new Date);var ue=mu(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&&mr(ee,function(){ue=Jr(ee.doc,ue);var Qr={from:ue,to:ue,text:ee.doc.splitLines(Ve.filter(function(Oi){return Oi!=null}).join(ee.doc.lineSeparator())),origin:"paste"};Iu(ee.doc,Qr),fs(ee.doc,Is(Jr(ee.doc,ue),Jr(ee.doc,Rl(Qr))))})()},Ut=function(Qr,Oi){if(ee.options.allowDropFileTypes&&at(ee.options.allowDropFileTypes,Qr.type)==-1){It();return}var ma=new FileReader;ma.onerror=function(){return It()},ma.onload=function(){var qa=ma.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(qa)){It();return}Ve[Oi]=qa,It()},ma.readAsText(Qr)},Jt=0;Jt<le.length;Jt++)Ut(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 ir;if(ee.state.draggingText&&!ee.state.draggingText.copy&&(ir=ee.listSelections()),Pc(ee.doc,Is(ue,ue)),ir)for(var Yr=0;Yr<ir.length;++Yr)VA(ee.doc,"",ir[Yr].anchor,ir[Yr].head,"drag");ee.replaceSelection(Zn,"around","paste"),ee.display.input.focus()}}catch(Qr){}}}}function If(x,ee){if(Oe&&(!x.state.draggingText||+new Date-Eh<100)){Rr(ee);return}if(!(Zt(x,ee)||qs(x.display,ee))&&(ee.dataTransfer.setData("Text",x.getSelection()),ee.dataTransfer.effectAllowed="copyMove",ee.dataTransfer.setDragImage&&!Ke)){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 ah(x,ee){var ue=mu(x,ee);if(ue){var le=document.createDocumentFragment();gc(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 Lf(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function yf(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 oh(){Li||(Fh(),Li=!0)}function Fh(){var x;nn(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,yf(t0)},100))}),nn(window,"blur",function(){return yf(Nu)})}function t0(x){var ee=x.display;ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.scrollbarsClipped=!1,x.setSize()}for(var BA={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"},Df=0;Df<10;Df++)BA[Df+48]=BA[Df+96]=String(Df);for(var sh=65;sh<=90;sh++)BA[sh]=String.fromCharCode(sh);for(var bf=1;bf<=12;bf++)BA[bf+111]=BA[bf+63235]="F"+bf;var Lu={};Lu.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"},Lu.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"},Lu.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"},Lu.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"]},Lu.default=Pe?Lu.macDefault:Lu.pcDefault;function wf(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 kh(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=mn(ue.split(" "),wf),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 Ut=ee[It];if(!Ut)ee[It]=mt;else if(Ut!=mt)throw new Error("Inconsistent bindings for "+It)}delete x[ue]}for(var Jt in ee)x[Jt]=ee[Jt];return x}function SA(x,ee,ue,le){ee=Au(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 SA(x,ee.fallthrough,ue,le);for(var Ve=0;Ve<ee.fallthrough.length;Ve++){var mt=SA(x,ee.fallthrough[Ve],ue,le);if(mt)return mt}}}function lh(x){var ee=typeof x=="string"?x:BA[x.keyCode];return ee=="Ctrl"||ee=="Alt"||ee=="Shift"||ee=="Mod"}function EA(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 GA(x,ee){if(fe&&x.keyCode==34&&x.char)return!1;var ue=BA[x.keyCode];return ue==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ue=x.code),EA(ue,x,ee))}function Au(x){return typeof x=="string"?Lu[x]:x}function $c(x,ee){for(var ue=x.doc.sel.ranges,le=[],me=0;me<ue.length;me++){for(var Ve=ee(ue[me]);le.length&&kr(Ve.from,Cn(le).to)<=0;){var mt=le.pop();if(kr(mt.from,Ve.from)<0){Ve.from=mt.from;break}}le.push(Ve)}Rn(x,function(){for(var It=le.length-1;It>=0;It--)VA(x.doc,"",le[It].from,le[It].to,"+delete");rA(x)})}function jc(x,ee,ue){var le=$e(x.text,ee+ue,ue);return le<0||le>x.text.length?null:le}function YA(x,ee,ue){var le=jc(x,ee.ch,ue);return le==null?null:new er(ee.line,le,ue<0?"after":"before")}function Cl(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),Ut=It?"after":"before",Jt;if(mt.level>0||ee.doc.direction=="rtl"){var Zn=Wo(ee,ue);Jt=me<0?ue.text.length-1:0;var ir=js(ee,Zn,Jt).top;Jt=lt(function(Yr){return js(ee,Zn,Yr).top==ir},me<0==(mt.level==1)?mt.from:mt.to-1,Jt),Ut=="before"&&(Jt=jc(ue,Jt,1))}else Jt=me<0?mt.to:mt.from;return new er(le,Jt,Ut)}}return new er(le,me<0?ue.text.length:0,me<0?"before":"after")}function jl(x,ee,ue,le){var me=Sn(ee,x.doc.direction);if(!me)return YA(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 YA(ee,ue,le);var It=function(bo,_o){return jc(ee,bo instanceof er?bo.ch:bo,_o)},Ut,Jt=function(bo){return x.options.lineWrapping?(Ut=Ut||Wo(x,ee),kd(x,ee,Ut,bo)):{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 ir=mt.level==1==le<0,Yr=It(ue,ir?1:-1);if(Yr!=null&&(ir?Yr<=mt.to&&Yr<=Zn.end:Yr>=mt.from&&Yr>=Zn.begin)){var Qr=ir?"before":"after";return new er(ue.line,Yr,Qr)}}var Oi=function(bo,_o,po){for(var Uo=function(Hu,dd){return dd?new er(ue.line,It(Hu,1),"before"):new er(ue.line,Hu,"after")};bo>=0&&bo<me.length;bo+=_o){var hs=me[bo],vs=_o>0==(hs.level!=1),Ns=vs?po.begin:It(po.end,-1);if(hs.from<=Ns&&Ns<hs.to||(Ns=vs?hs.from:It(hs.to,-1),po.begin<=Ns&&Ns<po.end))return Uo(Ns,vs)}},ma=Oi(Ve+le,le,Zn);if(ma)return ma;var qa=le>0?Zn.end:It(Zn.begin,-1);return qa!=null&&!(le>0&&qa==ee.text.length)&&(ma=Oi(le>0?0:me.length-1,le,Jt(qa)),ma)?ma:null}var wd={selectAll:Yu,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),xt)},killLine:function(x){return $c(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:er(ee.head.line+1,0)}:{from:ee.head,to:er(ee.head.line,ue)}}else return{from:ee.from(),to:ee.to()}})},deleteLine:function(x){return $c(x,function(ee){return{from:er(ee.from().line,0),to:Jr(x.doc,er(ee.to().line+1,0))}})},delLineLeft:function(x){return $c(x,function(ee){return{from:er(ee.from().line,0),to:ee.from()}})},delWrappedLineLeft:function(x){return $c(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 $c(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(er(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(er(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(ee){return XA(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 JA(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")},An)},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")},An)},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},An)},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(Gn(le-mt%le))}x.replaceSelections(ee)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return Rn(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 er(me.line,me.ch-1)),me.ch>0)me=new er(me.line,me.ch+1),x.replaceRange(Ve.charAt(me.ch-1)+Ve.charAt(me.ch-2),er(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 er(me.line,1),x.replaceRange(Ve.charAt(0)+x.doc.lineSeparator()+mt.charAt(mt.length-1),er(me.line-1,mt.length-1),me,"+transpose"))}}ue.push(new Ga(me,me))}x.setSelections(ue)})},newlineAndIndent:function(x){return Rn(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);rA(x)})},openLine:function(x){return x.replaceSelection(`
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function XA(x,ee){var ue=on(x.doc,ee),le=Fo(ue);return le!=ue&&(ee=dr(le)),Cl(!0,x,le,ee,1)}function JA(x,ee){var ue=on(x.doc,ee),le=Es(ue);return le!=ue&&(ee=dr(le)),Cl(!0,x,ue,ee,-1)}function _0(x,ee){var ue=XA(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 er(ue.line,mt?0:Ve,ue.sticky)}return ue}function Mc(x,ee,ue){if(typeof ee=="string"&&(ee=wd[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 FA(x,ee,ue){for(var le=0;le<x.state.keyMaps.length;le++){var me=SA(ee,x.state.keyMaps[le],ue,x);if(me)return me}return x.options.extraKeys&&SA(ee,x.options.extraKeys,ue,x)||SA(ee,x.options.keyMap,ue,x)}var M0=new Ue;function xf(x,ee,ue,le){var me=x.state.keySeq;if(me){if(lh(ee))return"handled";if(/\'$/.test(ee)?x.state.keySeq=null:M0.set(50,function(){x.state.keySeq==me&&(x.state.keySeq=null,x.display.input.reset())}),I0(x,me+" "+ee,ue,le))return!0}return I0(x,ee,ue,le)}function I0(x,ee,ue,le){var me=FA(x,ee,le);return me=="multi"&&(x.state.keySeq=ee),me=="handled"&&li(x,"keyHandled",x,ee,ue),(me=="handled"||me=="multi")&&(yr(ue),vd(x)),!!me}function Kl(x,ee){var ue=GA(ee,!0);return ue?ee.shiftKey&&!x.state.keySeq?xf(x,"Shift-"+ue,ee,function(le){return Mc(x,le,!0)})||xf(x,ue,ee,function(le){if(typeof le=="string"?/^go[A-Z]/.test(le):le.motion)return Mc(x,le)}):xf(x,ue,ee,function(le){return Mc(x,le)}):!1}function _h(x,ee,ue){return xf(x,"'"+ue+"'",ee,function(le){return Mc(x,le,!0)})}var Cf=null;function Mh(x){var ee=this;if(!(x.target&&x.target!=ee.display.input.getField())&&(ee.curOp.focus=Re(),!Zt(ee,x))){Oe&&Le<11&&x.keyCode==27&&(x.returnValue=!1);var ue=x.keyCode;ee.display.shift=ue==16||x.shiftKey;var le=Kl(ee,x);fe&&(Cf=le?ue:null,!le&&ue==88&&!Mn&&(Pe?x.metaKey:x.ctrlKey)&&ee.replaceSelection("",null,"cut")),he&&!Pe&&!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;Ht(ee,"CodeMirror-crosshair");function ue(le){(le.keyCode==18||!le.altKey)&&(et(ee,"CodeMirror-crosshair"),jt(document,"keyup",ue),jt(document,"mouseover",ue))}nn(document,"keyup",ue),nn(document,"mouseover",ue)}function om(x){x.keyCode==16&&(this.doc.sel.shift=!1),Zt(this,x)}function sm(x){var ee=this;if(!(x.target&&x.target!=ee.display.input.getField())&&!(qs(ee.display,x)||Zt(ee,x)||x.ctrlKey&&!x.altKey||Pe&&x.metaKey)){var ue=x.keyCode,le=x.charCode;if(fe&&ue==Cf){Cf=null,yr(x);return}if(!(fe&&(!x.which||x.which<10)&&Kl(ee,x))){var me=String.fromCharCode(le==null?ue:le);me!="\b"&&(_h(ee,x,me)||ee.display.input.onKeyPress(x))}}}var ip=400,n0=function(x,ee,ue){this.time=x,this.pos=ee,this.button=ue};n0.prototype.compare=function(x,ee,ue){return this.time+ip>x&&kr(ee,this.pos)==0&&ue==this.button};var qA,Of;function ap(x,ee){var ue=+new Date;return Of&&Of.compare(ue,x,ee)?(qA=Of=null,"triple"):qA&&qA.compare(ue,x,ee)?(Of=new n0(ue,x,ee),qA=null,"double"):(qA=new n0(ue,x,ee),Of=null,"single")}function ed(x){var ee=this,ue=ee.display;if(!(Zt(ee,x)||ue.activeTouch&&ue.input.supportsTouch())){if(ue.input.ensurePolled(),ue.shift=x.shiftKey,qs(ue,x)){ve||(ue.scroller.draggable=!1,setTimeout(function(){return ue.scroller.draggable=!0},100));return}if(!Ud(ee,x)){var le=mu(ee,x),me=fr(x),Ve=le?ap(le,me):"single";window.focus(),me==1&&ee.state.selectingText&&ee.state.selectingText(x),!(le&&Nf(ee,me,le,Ve,x))&&(me==1?le?L0(ee,le,Ve,x):Sr(x)==ue.scroller&&yr(x):me==2?(le&&bl(ee.doc,le),setTimeout(function(){return ue.input.focus()},20)):me==3&&(We?ee.display.input.onContextMenu(x):ac(ee)))}}}function Nf(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,xf(x,EA(Ve,me),me,function(mt){if(typeof mt=="string"&&(mt=wd[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 r0(x,ee,ue){var le=x.getOption("configureMouse"),me=le?le(x,ee,ue):{};if(me.unit==null){var Ve=Te?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=Pe?ue.metaKey:ue.ctrlKey),me.moveOnDrag==null&&(me.moveOnDrag=!(Pe?ue.altKey:ue.ctrlKey)),me}function L0(x,ee,ue,le){Oe?setTimeout(Tt(cd,x),0):x.curOp.focus=Re();var me=r0(x,ue,le),Ve=x.doc.sel,mt;x.options.dragDrop&&Vr&&!x.isReadOnly()&&ue=="single"&&(mt=Ve.contains(ee))>-1&&(kr((mt=Ve.ranges[mt]).from(),ee)<0||ee.xRel>0)&&(kr(mt.to(),ee)>0||ee.xRel<0)?D0(x,le,ee,me):op(x,le,ee,me)}function D0(x,ee,ue,le){var me=x.display,Ve=!1,mt=mr(x,function(Jt){ve&&(me.scroller.draggable=!1),x.state.draggingText=!1,jt(me.wrapper.ownerDocument,"mouseup",mt),jt(me.wrapper.ownerDocument,"mousemove",It),jt(me.scroller,"dragstart",Ut),jt(me.scroller,"drop",mt),Ve||(yr(Jt),le.addNew||bl(x.doc,ue,null,null,le.extend),ve&&!Ke||Oe&&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},Ut=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",Ut),nn(me.scroller,"drop",mt),ac(x),setTimeout(function(){return me.input.focus()},20)}function Ih(x,ee,ue){if(ue=="char")return new Ga(ee,ee);if(ue=="word")return x.findWordAt(ee);if(ue=="line")return new Ga(er(ee.line,0),Jr(x.doc,er(ee.line+1,0)));var le=ue(x,ee);return new Ga(le.from,le.to)}function op(x,ee,ue,le){var me=x.display,Ve=x.doc;yr(ee);var mt,It,Ut=Ve.sel,Jt=Ut.ranges;if(le.addNew&&!le.extend?(It=Ve.sel.contains(ue),It>-1?mt=Jt[It]:mt=new Ga(ue,ue)):(mt=Ve.sel.primary(),It=Ve.sel.primIndex),le.unit=="rectangle")le.addNew||(mt=new Ga(ue,ue)),ue=mu(x,ee,!0,!0),It=-1;else{var Zn=Ih(x,ue,le.unit);le.extend?mt=ZA(mt,Zn.anchor,Zn.head,le.extend):mt=Zn}le.addNew?It==-1?(It=Jt.length,ql(Ve,ms(x,Jt.concat([mt]),It),{scroll:!1,origin:"*mouse"})):Jt.length>1&&Jt[It].empty()&&le.unit=="char"&&!le.extend?(ql(Ve,ms(x,Jt.slice(0,It).concat(Jt.slice(It+1)),0),{scroll:!1,origin:"*mouse"}),Ut=Ve.sel):Ql(Ve,It,mt,Qt):(It=0,ql(Ve,new rs([mt],0),Qt),Ut=Ve.sel);var ir=ue;function Yr(po){if(kr(ir,po)!=0)if(ir=po,le.unit=="rectangle"){for(var Uo=[],hs=x.options.tabSize,vs=it(on(Ve,ue.line).text,ue.ch,hs),Ns=it(on(Ve,po.line).text,po.ch,hs),Hu=Math.min(vs,Ns),dd=Math.max(vs,Ns),wc=Math.min(ue.line,po.line),Id=Math.min(x.lastLine(),Math.max(ue.line,po.line));wc<=Id;wc++){var xd=on(Ve,wc).text,ad=Tn(xd,Hu,hs);Hu==dd?Uo.push(new Ga(er(wc,ad),er(wc,ad))):xd.length>ad&&Uo.push(new Ga(er(wc,ad),er(wc,Tn(xd,dd,hs))))}Uo.length||Uo.push(new Ga(ue,ue)),ql(Ve,ms(x,Ut.ranges.slice(0,It).concat(Uo),It),{origin:"*mouse",scroll:!1}),x.scrollIntoView(po)}else{var Hd=mt,$s=Ih(x,po,le.unit),fo=Hd.anchor,Xu;kr($s.anchor,fo)>0?(Xu=$s.head,fo=Mi(Hd.from(),$s.anchor)):(Xu=$s.anchor,fo=ji(Hd.to(),$s.head));var xc=Ut.ranges.slice(0);xc[It]=Cp(x,new Ga(Jr(Ve,fo),Xu)),ql(Ve,ms(x,xc,It),Qt)}}var Qr=me.wrapper.getBoundingClientRect(),Oi=0;function ma(po){var Uo=++Oi,hs=mu(x,po,!0,le.unit=="rectangle");if(hs)if(kr(hs,ir)!=0){x.curOp.focus=Re(),Yr(hs);var vs=Pu(me,Ve);(hs.line>=vs.to||hs.line<vs.from)&&setTimeout(mr(x,function(){Oi==Uo&&ma(po)}),150)}else{var Ns=po.clientY<Qr.top?-20:po.clientY>Qr.bottom?20:0;Ns&&setTimeout(mr(x,function(){Oi==Uo&&(me.scroller.scrollTop+=Ns,ma(po))}),50)}}function qa(po){x.state.selectingText=!1,Oi=1/0,po&&(yr(po),me.input.focus()),jt(me.wrapper.ownerDocument,"mousemove",bo),jt(me.wrapper.ownerDocument,"mouseup",_o),Ve.history.lastSelOrigin=null}var bo=mr(x,function(po){po.buttons===0||!fr(po)?qa(po):ma(po)}),_o=mr(x,qa);x.state.selectingText=_o,nn(me.wrapper.ownerDocument,"mousemove",bo),nn(me.wrapper.ownerDocument,"mouseup",_o)}function Cp(x,ee){var ue=ee.anchor,le=ee.head,me=on(x.doc,ue.line);if(kr(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 Ut=mt+(It.from==ue.ch==(It.level!=1)?0:1);if(Ut==0||Ut==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),ir=Zn-mt||(le.ch-ue.ch)*(It.level==1?-1:1);Zn==Ut-1||Zn==Ut?Jt=ir<0:Jt=ir>0}var Yr=Ve[Ut+(Jt?-1:0)],Qr=Jt==(Yr.level==1),Oi=Qr?Yr.from:Yr.to,ma=Qr?"after":"before";return ue.ch==Oi&&ue.sticky==ma?ee:new Ga(new er(ue.line,Oi,ma),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(Yr){return!1}if(me>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;le&&yr(ee);var mt=x.display,It=mt.lineDiv.getBoundingClientRect();if(Ve>It.bottom||!wn(x,ue))return Tr(ee);Ve-=It.top-mt.viewOffset;for(var Ut=0;Ut<x.display.gutterSpecs.length;++Ut){var Jt=mt.gutters.childNodes[Ut];if(Jt&&Jt.getBoundingClientRect().right>=me){var Zn=Pr(x.doc,Ve),ir=x.display.gutterSpecs[Ut];return pt(x,ue,x,Zn,ir.className,ee),Tr(ee)}}}function Ud(x,ee){return O0(x,ee,"gutterClick",!0)}function Pf(x,ee){qs(x.display,ee)||Lh(x,ee)||Zt(x,ee,"contextmenu")||We||x.display.input.onContextMenu(ee)}function Lh(x,ee){return wn(x,"gutterContextMenu")?O0(x,ee,"gutterContextMenu",!1):!1}function N0(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),kl(x)}var cf={toString:function(){return"CodeMirror.Init"}},lm={},sp={};function Hm(x){var ee=x.optionHandlers;function ue(le,me,Ve,mt){x.defaults[le]=me,Ve&&(ee[le]=mt?function(It,Ut,Jt){Jt!=cf&&Ve(It,Ut,Jt)}:Ve)}x.defineOption=ue,x.Init=cf,ue("value","",function(le,me){return le.setValue(me)},!0),ue("mode",null,function(le,me){le.doc.modeOption=me,oc(le)},!0),ue("indentUnit",2,oc,!0),ue("indentWithTabs",!1),ue("smartIndent",!0),ue("tabSize",4,function(le){yl(le),kl(le),_l(le)},!0),ue("lineSeparator",null,function(le,me){if(le.doc.lineSep=me,!!me){var Ve=[],mt=le.doc.first;le.doc.iter(function(Ut){for(var Jt=0;;){var Zn=Ut.text.indexOf(me,Jt);if(Zn==-1)break;Jt=Zn+me.length,Ve.push(er(mt,Zn))}mt++});for(var It=Ve.length-1;It>=0;It--)VA(le.doc,me,Ve[It],er(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!=cf&&le.refresh()}),ue("specialCharPlaceholder",Ji,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",!Ye),ue("wholeLineUpdateBefore",!0),ue("theme","default",function(le){N0(le),Ao(le)},!0),ue("keyMap","default",function(le,me,Ve){var mt=Au(me),It=Ve!=cf&&Au(Ve);It&&It.detach&&It.detach(le,mt),mt.attach&&mt.attach(le,It||null)}),ue("extraKeys",null),ue("configureMouse",null),ue("lineWrapping",!1,Bp,!0),ue("gutters",[],function(le,me){le.display.gutterSpecs=ls(me,le.options.lineNumbers),Ao(le)},!0),ue("fixedGutter",!0,function(le,me){le.display.gutters.style.left=me?fi(le.display)+"px":"0",le.refresh()},!0),ue("coverGutterNextToScrollbar",!1,function(le){return gA(le)},!0),ue("scrollbarStyle","native",function(le){k0(le),gA(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=ls(le.options.gutters,me),Ao(le)},!0),ue("firstLineNumber",1,Ao,!0),ue("lineNumberFormatter",function(le){return le},Ao,!0),ue("showCursorWhenSelecting",!1,Ms,!0),ue("resetSelectionOnContextMenu",!0),ue("lineWiseCopyCut",!0),ue("pasteLinesPerSelection",!0),ue("selectionsMayTouch",!1),ue("readOnly",!1,function(le,me){me=="nocursor"&&(Nu(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,Qm),ue("allowDropFileTypes",null),ue("cursorBlinkRate",530),ue("cursorScrollMargin",0),ue("cursorHeight",1,Ms,!0),ue("singleCursorHeightPerLine",!0,Ms,!0),ue("workTime",100),ue("workDelay",100),ue("flattenSpans",!0,yl,!0),ue("addModeClass",!1,yl,!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,yl,!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 Qm(x,ee,ue){var le=ue&&ue!=cf;if(!ee!=!le){var me=x.display.dragFunctions,Ve=ee?nn:jt;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 Bp(x){x.options.lineWrapping?(Ht(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(et(x.display.wrapper,"CodeMirror-wrap"),ia(x)),ds(x),_l(x),kl(x),setTimeout(function(){return gA(x)},100)}function Us(x,ee){var ue=this;if(!(this instanceof Us))return new Us(x,ee);this.options=ee=ee?wt(ee):{},wt(lm,ee,!1);var le=ee.value;typeof le=="string"?le=new cc(le,ee.mode,null,ee.lineSeparator,ee.direction):ee.mode&&(le.modeOption=ee.mode),this.doc=le;var me=new Us.inputStyles[ee.inputStyle](this),Ve=this.display=new Po(x,le,me,ee);Ve.wrapper.CodeMirror=this,N0(this),ee.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),k0(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 Ue,keySeq:null,specialChars:null},ee.autofocus&&!ke&&Ve.input.focus(),Oe&&Le<11&&setTimeout(function(){return ue.display.input.reset(!0)},20),um(this),oh(),uc(this),this.curOp.forceUpdate=!0,So(this,le),ee.autofocus&&!ke||this.hasFocus()?setTimeout(function(){ue.hasFocus()&&!ue.state.focused&&Dc(ue)},20):Nu(this);for(var mt in sp)sp.hasOwnProperty(mt)&&sp[mt](this,ee[mt],cf);ko(this),ee.finishInit&&ee.finishInit(this);for(var It=0;It<lp.length;++It)lp[It](this);aA(this),ve&&ee.lineWrapping&&getComputedStyle(Ve.lineDiv).textRendering=="optimizelegibility"&&(Ve.lineDiv.style.textRendering="auto")}Us.defaults=lm,Us.optionHandlers=sp;function um(x){var ee=x.display;nn(ee.scroller,"mousedown",mr(x,ed)),Oe&&Le<11?nn(ee.scroller,"dblclick",mr(x,function(Ut){if(!Zt(x,Ut)){var Jt=mu(x,Ut);if(!(!Jt||Ud(x,Ut)||qs(x.display,Ut))){yr(Ut);var Zn=x.findWordAt(Jt);bl(x.doc,Zn.anchor,Zn.head)}}})):nn(ee.scroller,"dblclick",function(Ut){return Zt(x,Ut)||yr(Ut)}),nn(ee.scroller,"contextmenu",function(Ut){return Pf(x,Ut)}),nn(ee.input.getField(),"contextmenu",function(Ut){ee.scroller.contains(Ut.target)||Pf(x,Ut)});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(Ut){if(Ut.touches.length!=1)return!1;var Jt=Ut.touches[0];return Jt.radiusX<=1&&Jt.radiusY<=1}function mt(Ut,Jt){if(Jt.left==null)return!0;var Zn=Jt.left-Ut.left,ir=Jt.top-Ut.top;return Zn*Zn+ir*ir>20*20}nn(ee.scroller,"touchstart",function(Ut){if(!Zt(x,Ut)&&!Ve(Ut)&&!Ud(x,Ut)){ee.input.ensurePolled(),clearTimeout(ue);var Jt=+new Date;ee.activeTouch={start:Jt,moved:!1,prev:Jt-le.end<=300?le:null},Ut.touches.length==1&&(ee.activeTouch.left=Ut.touches[0].pageX,ee.activeTouch.top=Ut.touches[0].pageY)}}),nn(ee.scroller,"touchmove",function(){ee.activeTouch&&(ee.activeTouch.moved=!0)}),nn(ee.scroller,"touchend",function(Ut){var Jt=ee.activeTouch;if(Jt&&!qs(ee,Ut)&&Jt.left!=null&&!Jt.moved&&new Date-Jt.start<300){var Zn=x.coordsChar(ee.activeTouch,"page"),ir;!Jt.prev||mt(Jt,Jt.prev)?ir=new Ga(Zn,Zn):!Jt.prev.prev||mt(Jt,Jt.prev.prev)?ir=x.findWordAt(Zn):ir=new Ga(er(Zn.line,0),Jr(x.doc,er(Zn.line+1,0))),x.setSelection(ir.anchor,ir.head),x.focus(),yr(Ut)}me()}),nn(ee.scroller,"touchcancel",me),nn(ee.scroller,"scroll",function(){ee.scroller.clientHeight&&(Jc(x,ee.scroller.scrollTop),iA(x,ee.scroller.scrollLeft,!0),pt(x,"scroll",x))}),nn(ee.scroller,"mousewheel",function(Ut){return Ys(x,Ut)}),nn(ee.scroller,"DOMMouseScroll",function(Ut){return Ys(x,Ut)}),nn(ee.wrapper,"scroll",function(){return ee.wrapper.scrollTop=ee.wrapper.scrollLeft=0}),ee.dragFunctions={enter:function(Ut){Zt(x,Ut)||Rr(Ut)},over:function(Ut){Zt(x,Ut)||(ah(x,Ut),Rr(Ut))},start:function(Ut){return If(x,Ut)},drop:mr(x,e0),leave:function(Ut){Zt(x,Ut)||Lf(x)}};var It=ee.input.getField();nn(It,"keyup",function(Ut){return om.call(x,Ut)}),nn(It,"keydown",mr(x,Mh)),nn(It,"keypress",mr(x,sm)),nn(It,"focus",function(Ut){return Dc(x,Ut)}),nn(It,"blur",function(Ut){return Nu(x,Ut)})}var lp=[];Us.defineInitHook=function(x){return lp.push(x)};function IA(x,ee,ue,le){var me=x.doc,Ve;ue==null&&(ue="add"),ue=="smart"&&(me.mode.indent?Ve=Ir(x,ee).state:ue="prev");var mt=x.options.tabSize,It=on(me,ee),Ut=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=Ut+x.options.indentUnit:ue=="subtract"?Zn=Ut-x.options.indentUnit:typeof ue=="number"&&(Zn=Ut+ue),Zn=Math.max(0,Zn);var ir="",Yr=0;if(x.options.indentWithTabs)for(var Qr=Math.floor(Zn/mt);Qr;--Qr)Yr+=mt,ir+=" ";if(Yr<Zn&&(ir+=Gn(Zn-Yr)),ir!=Jt)return VA(me,ir,er(ee,0),er(ee,Jt.length),"+input"),It.stateAfter=null,!0;for(var Oi=0;Oi<me.sel.ranges.length;Oi++){var ma=me.sel.ranges[Oi];if(ma.head.line==ee&&ma.head.ch<Jt.length){var qa=er(ee,Jt.length);Ql(me,Oi,new Ga(qa,qa));break}}}var $A=null;function Tf(x){$A=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,Ut=ua(ee),Jt=null;if(It&&le.ranges.length>1)if($A&&$A.text.join(`
`)==ee){if(le.ranges.length%$A.text.length==0){Jt=[];for(var Zn=0;Zn<$A.text.length;Zn++)Jt.push(Ve.splitLines($A.text[Zn]))}}else Ut.length==le.ranges.length&&x.options.pasteLinesPerSelection&&(Jt=mn(Ut,function(bo){return[bo]}));for(var ir=x.curOp.updateInput,Yr=le.ranges.length-1;Yr>=0;Yr--){var Qr=le.ranges[Yr],Oi=Qr.from(),ma=Qr.to();Qr.empty()&&(ue&&ue>0?Oi=er(Oi.line,Oi.ch-ue):x.state.overwrite&&!It?ma=er(ma.line,Math.min(on(Ve,ma.line).text.length,ma.ch+Cn(Ut).length)):It&&$A&&$A.lineWise&&$A.text.join(`
`)==Ut.join(`
`)&&(Oi=ma=er(Oi.line,0)));var qa={from:Oi,to:ma,text:Jt?Jt[Yr%Jt.length]:Ut,origin:me||(It?"paste":x.state.cutIncoming>mt?"cut":"+input")};Iu(x.doc,qa),li(x,"inputRead",x,qa)}ee&&!It&&i0(x,ee),rA(x),x.curOp.updateInput<2&&(x.curOp.updateInput=ir),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Dh(x,ee){var ue=x.clipboardData&&x.clipboardData.getData("Text");if(ue)return x.preventDefault(),!ee.isReadOnly()&&!ee.options.disableInput&&Rn(ee,function(){return P0(ee,ue,0,null,"paste")}),!0}function i0(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=IA(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=IA(x,me.head.line,"smart"));mt&&li(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:er(me,0),head:er(me+1,0)};ue.push(Ve),ee.push(x.getRange(Ve.anchor,Ve.head))}return{text:ee,ranges:ue}}function Sp(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"),Ne&&(x.style.border="1px solid black"),Sp(x),ee}function T0(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)&&mr(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"](Au(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:hr(function(le,me){var Ve=le.token?le:x.getMode(this.options,le);if(Ve.startState)throw new Error("Overlays may not be stateful.");Bn(this.state.overlays,{mode:Ve,modeSpec:le,opaque:me&&me.opaque,priority:me&&me.priority||0},function(mt){return mt.priority}),this.state.modeGen++,_l(this)}),removeOverlay:hr(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++,_l(this);return}}}),indentLine:hr(function(le,me,Ve){typeof me!="string"&&typeof me!="number"&&(me==null?me=this.options.smartIndent?"smart":"prev":me=me?"add":"subtract"),Ur(this.doc,le)&&IA(this,le,me,Ve)}),indentSelection:hr(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&&(IA(this,It.head.line,le,!0),Ve=It.head.line,mt==this.doc.sel.primIndex&&rA(this));else{var Ut=It.from(),Jt=It.to(),Zn=Math.max(Ve,Ut.line);Ve=Math.min(this.lastLine(),Jt.line-(Jt.ch?0:1))+1;for(var ir=Zn;ir<Ve;++ir)IA(this,ir,le);var Yr=this.doc.sel.ranges;Ut.ch==0&&me.length==Yr.length&&Yr[mt].from().ch>0&&Ql(this.doc,mt,new Ga(Ut,Yr[mt].to()),xt)}}}),getTokenAt:function(le,me){return Pa(this,le,me)},getLineTokens:function(le,me){return Pa(this,er(le),me,!0)},getTokenTypeAt:function(le){le=Jr(this.doc,le);var me=br(this,on(this.doc,le.line)),Ve=0,mt=(me.length-1)/2,It=le.ch,Ut;if(It==0)Ut=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{Ut=me[Jt*2+2];break}}var Zn=Ut?Ut.indexOf("overlay "):-1;return Zn<0?Ut:Zn==0?null:Ut.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 Ut=0;Ut<It[me].length;Ut++){var Jt=mt[It[me][Ut]];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 ir=mt._global[Zn];ir.pred(It,this)&&at(Ve,ir.val)==-1&&Ve.push(ir.val)}return Ve},getStateAfter:function(le,me){var Ve=this.doc;return le=Ca(Ve,le==null?Ve.first+Ve.size-1:le),Ir(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=Jr(this.doc,le):Ve=le?mt.from():mt.to(),ku(this,Ve,me||"page")},charCoords:function(le,me){return Jl(this,Jr(this.doc,le),me||"page")},coordsChar:function(le,me){return le=Xc(this,le,me||"page"),Cu(this,le.left,le.top)},lineAtHeight:function(le,me){return le=Xc(this,{top:le,left:0},me||"page").top,Pr(this.doc,le+this.display.viewOffset)},heightAtLine:function(le,me,Ve){var mt=!1,It;if(typeof le=="number"){var Ut=this.doc.first+this.doc.size-1;le<this.doc.first?le=this.doc.first:le>Ut&&(le=Ut,mt=!0),It=on(this.doc,le)}else It=le;return ic(this,It,{top:0,left:0},me||"page",Ve||mt).top+(mt?this.doc.height-fa(It):0)},defaultTextHeight:function(){return _d(this.display)},defaultCharWidth:function(){return ki(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(le,me,Ve,mt,It){var Ut=this.display;le=ku(this,Jr(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),Ut.sizer.appendChild(me),mt=="over")Jt=le.top;else if(mt=="above"||mt=="near"){var ir=Math.max(Ut.wrapper.clientHeight,this.doc.height),Yr=Math.max(Ut.sizer.clientWidth,Ut.lineSpace.clientWidth);(mt=="above"||le.bottom+me.offsetHeight>ir)&&le.top>me.offsetHeight?Jt=le.top-me.offsetHeight:le.bottom+me.offsetHeight<=ir&&(Jt=le.bottom),Zn+me.offsetWidth>Yr&&(Zn=Yr-me.offsetWidth)}me.style.top=Jt+"px",me.style.left=me.style.right="",It=="right"?(Zn=Ut.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(It=="left"?Zn=0:It=="middle"&&(Zn=(Ut.sizer.clientWidth-me.offsetWidth)/2),me.style.left=Zn+"px"),Ve&&nh(this,{left:Zn,top:Jt,right:Zn+me.offsetWidth,bottom:Jt+me.offsetHeight})},triggerOnKeyDown:hr(Mh),triggerOnKeyPress:hr(sm),triggerOnKeyUp:om,triggerOnMouseDown:hr(ed),execCommand:function(le){if(wd.hasOwnProperty(le))return wd[le].call(null,this)},triggerElectric:hr(function(le){i0(this,le)}),findPosH:function(le,me,Ve,mt){var It=1;me<0&&(It=-1,me=-me);for(var Ut=Jr(this.doc,le),Jt=0;Jt<me&&(Ut=a0(this.doc,Ut,It,Ve,mt),!Ut.hitSide);++Jt);return Ut},moveH:hr(function(le,me){var Ve=this;this.extendSelectionsBy(function(mt){return Ve.display.shift||Ve.doc.extend||mt.empty()?a0(Ve.doc,mt.head,le,me,Ve.options.rtlMoveVisually):le<0?mt.from():mt.to()},An)}),deleteH:hr(function(le,me){var Ve=this.doc.sel,mt=this.doc;Ve.somethingSelected()?mt.replaceSelection("",null,"+delete"):$c(this,function(It){var Ut=a0(mt,It.head,le,me,!1);return le<0?{from:Ut,to:It.head}:{from:It.head,to:Ut}})}),findPosV:function(le,me,Ve,mt){var It=1,Ut=mt;me<0&&(It=-1,me=-me);for(var Jt=Jr(this.doc,le),Zn=0;Zn<me;++Zn){var ir=ku(this,Jt,"div");if(Ut==null?Ut=ir.left:ir.left=Ut,Jt=dm(this,ir,It,Ve),Jt.hitSide)break}return Jt},moveV:hr(function(le,me){var Ve=this,mt=this.doc,It=[],Ut=!this.display.shift&&!mt.extend&&mt.sel.somethingSelected();if(mt.extendSelectionsBy(function(Zn){if(Ut)return le<0?Zn.from():Zn.to();var ir=ku(Ve,Zn.head,"div");Zn.goalColumn!=null&&(ir.left=Zn.goalColumn),It.push(ir.left);var Yr=dm(Ve,ir,le,me);return me=="page"&&Zn==mt.sel.primary()&&Bh(Ve,Jl(Ve,Yr,"div").top-ir.top),Yr},An),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 Ut=this.getHelper(le,"wordChars");(le.sticky=="before"||It==Ve.length)&&mt?--mt:++It;for(var Jt=Ve.charAt(mt),Zn=se(Jt,Ut)?function(ir){return se(ir,Ut)}:/\s/.test(Jt)?function(ir){return/\s/.test(ir)}:function(ir){return!/\s/.test(ir)&&!se(ir)};mt>0&&Zn(Ve.charAt(mt-1));)--mt;for(;It<Ve.length&&Zn(Ve.charAt(It));)++It}return new Ga(er(le.line,mt),er(le.line,It))},toggleOverwrite:function(le){le!=null&&le==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Ht(this.display.cursorDiv,"CodeMirror-overwrite"):et(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:hr(function(le,me){zA(this,le,me)}),getScrollInfo:function(){var le=this.display.scroller;return{left:le.scrollLeft,top:le.scrollTop,height:le.scrollHeight-Fu(this)-this.display.barHeight,width:le.scrollWidth-Fu(this)-this.display.barWidth,clientHeight:Vl(this),clientWidth:wl(this)}},scrollIntoView:hr(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:er(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?am(this,le):Vd(this,le.from,le.to,le.margin)}),setSize:hr(function(le,me){var Ve=this,mt=function(Ut){return typeof Ut=="number"||/^\d+$/.test(String(Ut))?Ut+"px":Ut};le!=null&&(this.display.wrapper.style.width=mt(le)),me!=null&&(this.display.wrapper.style.height=mt(me)),this.options.lineWrapping&&gl(this);var It=this.display.viewFrom;this.doc.iter(It,this.display.viewTo,function(Ut){if(Ut.widgets){for(var Jt=0;Jt<Ut.widgets.length;Jt++)if(Ut.widgets[Jt].noHScroll){Bc(Ve,It,"widget");break}}++It}),this.curOp.forceUpdate=!0,pt(this,"refresh",this)}),operation:function(le){return Rn(this,le)},startOperation:function(){return uc(this)},endOperation:function(){return aA(this)},refresh:hr(function(){var le=this.display.cachedTextHeight;_l(this),this.curOp.forceUpdate=!0,kl(this),zA(this,this.doc.scrollLeft,this.doc.scrollTop),ro(this.display),(le==null||Math.abs(le-_d(this.display))>.5||this.options.lineWrapping)&&ds(this),pt(this,"refresh",this)}),swapDoc:hr(function(le){var me=this.doc;return me.cm=null,this.state.selectingText&&this.state.selectingText(),So(this,le),kl(this),this.display.input.reset(),zA(this,le.scrollLeft,le.scrollTop),this.curOp.forceScroll=!0,li(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}},Xn(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 a0(x,ee,ue,le,me){var Ve=ee,mt=ue,It=on(x,ee.line),Ut=me&&x.direction=="rtl"?-ue:ue;function Jt(){var _o=ee.line+Ut;return _o<x.first||_o>=x.first+x.size?!1:(ee=new er(_o,ee.ch,ee.sticky),It=on(x,_o))}function Zn(_o){var po;if(le=="codepoint"){var Uo=It.text.charCodeAt(ee.ch+(le>0?0:-1));isNaN(Uo)?po=null:po=new er(ee.line,Math.max(0,Math.min(It.text.length,ee.ch+ue*(Uo>=55296&&Uo<56320?2:1))),-ue)}else me?po=jl(x.cm,It,ee,ue):po=YA(It,ee,ue);if(po==null)if(!_o&&Jt())ee=Cl(me,x.cm,It,ee.line,Ut);else return!1;else ee=po;return!0}if(le=="char"||le=="codepoint")Zn();else if(le=="column")Zn(!0);else if(le=="word"||le=="group")for(var ir=null,Yr=le=="group",Qr=x.cm&&x.cm.getHelper(ee,"wordChars"),Oi=!0;!(ue<0&&!Zn(!Oi));Oi=!1){var ma=It.text.charAt(ee.ch)||`
`,qa=se(ma,Qr)?"w":Yr&&ma==`
`?"n":!Yr||/\s/.test(ma)?null:"p";if(Yr&&!Oi&&!qa&&(qa="s"),ir&&ir!=qa){ue<0&&(ue=1,Zn(),ee.sticky="after");break}if(qa&&(ir=qa),ue>0&&!Zn(!Oi))break}var bo=vA(x,ee,Ve,mt,!0);return _i(Ve,bo)&&(bo.hitSide=!0),bo}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),Ut=Math.max(It-.5*_d(x.display),3);mt=(ue>0?ee.bottom:ee.top)+ue*Ut}else le=="line"&&(mt=ue>0?ee.bottom+3:ee.top-3);for(var Jt;Jt=Cu(x,Ve,mt),!!Jt.outside;){if(ue<0?mt<=0:mt>=me.height){Jt.hitSide=!0;break}mt+=ue*5}return Jt}var Uu=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ue,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Uu.prototype.init=function(x){var ee=this,ue=this,le=ue.cm,me=ue.div=x.lineDiv;Sp(me,le.options.spellcheck,le.options.autocorrect,le.options.autocapitalize);function Ve(It){for(var Ut=It.target;Ut;Ut=Ut.parentNode){if(Ut==me)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ut.className))break}return!1}nn(me,"paste",function(It){!Ve(It)||Zt(le,It)||Dh(It,le)||Le<=11&&setTimeout(mr(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)||Zt(le,It))){if(le.somethingSelected())Tf({lineWise:!1,text:le.getSelections()}),It.type=="cut"&&le.replaceSelection("",null,"cut");else if(le.options.lineWiseCopyCut){var Ut=Oh(le);Tf({lineWise:!0,text:Ut.text}),It.type=="cut"&&le.operation(function(){le.setSelections(Ut.ranges,0,xt),le.replaceSelection("",null,"cut")})}else return;if(It.clipboardData){It.clipboardData.clearData();var Jt=$A.text.join(`
`);if(It.clipboardData.setData("Text",Jt),It.clipboardData.getData("Text")==Jt){It.preventDefault();return}}var Zn=cm(),ir=Zn.firstChild;le.display.lineSpace.insertBefore(Zn,le.display.lineSpace.firstChild),ir.value=$A.text.join(`
`);var Yr=document.activeElement;bt(ir),setTimeout(function(){le.display.lineSpace.removeChild(Zn),Yr.focus(),Yr==me&&ue.showPrimarySelection()},50)}}nn(me,"copy",mt),nn(me,"cut",mt)},Uu.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Uu.prototype.prepareSelection=function(){var x=Wu(this.cm,!1);return x.focus=document.activeElement==this.div,x},Uu.prototype.showSelection=function(x,ee){!x||!this.cm.display.view.length||((x.focus||ee)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Uu.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Uu.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=Bf(ee,x.anchorNode,x.anchorOffset),mt=Bf(ee,x.focusNode,x.focusOffset);if(!(Ve&&!Ve.bad&&mt&&!mt.bad&&kr(Mi(Ve,mt),le)==0&&kr(ji(Ve,mt),me)==0)){var It=ee.display.view,Ut=le.line>=ee.display.viewFrom&&uh(ee,le)||{node:It[0].measure.map[2],offset:0},Jt=me.line<ee.display.viewTo&&uh(ee,me);if(!Jt){var Zn=It[It.length-1].measure,ir=Zn.maps?Zn.maps[Zn.maps.length-1]:Zn.map;Jt={node:ir[ir.length-1],offset:ir[ir.length-2]-ir[ir.length-3]}}if(!Ut||!Jt){x.removeAllRanges();return}var Yr=x.rangeCount&&x.getRangeAt(0),Qr;try{Qr=Xe(Ut.node,Ut.offset,Jt.offset,Jt.node)}catch(Oi){}Qr&&(!he&&ee.state.focused?(x.collapse(Ut.node,Ut.offset),Qr.collapsed||(x.removeAllRanges(),x.addRange(Qr))):(x.removeAllRanges(),x.addRange(Qr)),Yr&&x.anchorNode==null?x.addRange(Yr):he&&this.startGracePeriod()),this.rememberSelection()}},Uu.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)},Uu.prototype.showMultipleSelections=function(x){ht(this.cm.display.cursorDiv,x.cursors),ht(this.cm.display.selectionDiv,x.selection)},Uu.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},Uu.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var ee=x.getRangeAt(0).commonAncestorContainer;return Lt(this.div,ee)},Uu.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Uu.prototype.blur=function(){this.div.blur()},Uu.prototype.getField=function(){return this.div},Uu.prototype.supportsTouch=function(){return!0},Uu.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():Rn(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)},Uu.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},Uu.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),ee=this.cm;if(Qe&&xe&&this.cm.display.gutterSpecs.length&&jm(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ue=Bf(ee,x.anchorNode,x.anchorOffset),le=Bf(ee,x.focusNode,x.focusOffset);ue&&le&&Rn(ee,function(){ql(ee.doc,Is(ue,le),xt),(ue.bad||le.bad)&&(ee.curOp.selectionChanged=!0)})}}},Uu.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=er(le.line-1,on(x.doc,le.line-1).length)),me.ch==on(x.doc,me.line).text.length&&me.line<x.lastLine()&&(me=er(me.line+1,0)),le.line<ee.viewFrom||me.line>ee.viewTo-1)return!1;var Ve,mt,It;le.line==ee.viewFrom||(Ve=gu(x,le.line))==0?(mt=dr(ee.view[0].line),It=ee.view[0].node):(mt=dr(ee.view[Ve].line),It=ee.view[Ve-1].node.nextSibling);var Ut=gu(x,me.line),Jt,Zn;if(Ut==ee.view.length-1?(Jt=ee.viewTo-1,Zn=ee.lineDiv.lastChild):(Jt=dr(ee.view[Ut+1].line)-1,Zn=ee.view[Ut+1].node.previousSibling),!It)return!1;for(var ir=x.doc.splitLines(ch(x,It,Zn,mt,Jt)),Yr=_n(x.doc,er(mt,0),er(Jt,on(x.doc,Jt).text.length));ir.length>1&&Yr.length>1;)if(Cn(ir)==Cn(Yr))ir.pop(),Yr.pop(),Jt--;else if(ir[0]==Yr[0])ir.shift(),Yr.shift(),mt++;else break;for(var Qr=0,Oi=0,ma=ir[0],qa=Yr[0],bo=Math.min(ma.length,qa.length);Qr<bo&&ma.charCodeAt(Qr)==qa.charCodeAt(Qr);)++Qr;for(var _o=Cn(ir),po=Cn(Yr),Uo=Math.min(_o.length-(ir.length==1?Qr:0),po.length-(Yr.length==1?Qr:0));Oi<Uo&&_o.charCodeAt(_o.length-Oi-1)==po.charCodeAt(po.length-Oi-1);)++Oi;if(ir.length==1&&Yr.length==1&&mt==le.line)for(;Qr&&Qr>le.ch&&_o.charCodeAt(_o.length-Oi-1)==po.charCodeAt(po.length-Oi-1);)Qr--,Oi++;ir[ir.length-1]=_o.slice(0,_o.length-Oi).replace(/^\u200b+/,""),ir[0]=ir[0].slice(Qr).replace(/\u200b+$/,"");var hs=er(mt,Qr),vs=er(Jt,Yr.length?Cn(Yr).length-Oi:0);if(ir.length>1||ir[0]||kr(hs,vs))return VA(x.doc,ir,hs,vs,"+input"),!0},Uu.prototype.ensurePolled=function(){this.forceCompositionEnd()},Uu.prototype.reset=function(){this.forceCompositionEnd()},Uu.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Uu.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))},Uu.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&Rn(this.cm,function(){return _l(x.cm)})},Uu.prototype.setUneditable=function(x){x.contentEditable="false"},Uu.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||mr(this.cm,P0)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Uu.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Uu.prototype.onContextMenu=function(){},Uu.prototype.resetPosition=function(){},Uu.prototype.needsContentAttribute=!0;function uh(x,ee){var ue=ml(x,ee.line);if(!ue||ue.hidden)return null;var le=on(x.doc,ee.line),me=Xo(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 Ut=mc(me.map,ee.ch,mt);return Ut.offset=Ut.collapse=="right"?Ut.end:Ut.start,Ut}function jm(x){for(var ee=x;ee;ee=ee.parentNode)if(/CodeMirror-gutter-wrapper/.test(ee.className))return!0;return!1}function dc(x,ee){return ee&&(x.bad=!0),x}function ch(x,ee,ue,le,me){var Ve="",mt=!1,It=x.doc.lineSeparator(),Ut=!1;function Jt(Qr){return function(Oi){return Oi.id==Qr}}function Zn(){mt&&(Ve+=It,Ut&&(Ve+=It),mt=Ut=!1)}function ir(Qr){Qr&&(Zn(),Ve+=Qr)}function Yr(Qr){if(Qr.nodeType==1){var Oi=Qr.getAttribute("cm-text");if(Oi){ir(Oi);return}var ma=Qr.getAttribute("cm-marker"),qa;if(ma){var bo=x.findMarks(er(le,0),er(me+1,0),Jt(+ma));bo.length&&(qa=bo[0].find(0))&&ir(_n(x.doc,qa.from,qa.to).join(It));return}if(Qr.getAttribute("contenteditable")=="false")return;var _o=/^(pre|div|p|li|table|br)$/i.test(Qr.nodeName);if(!/^br$/i.test(Qr.nodeName)&&Qr.textContent.length==0)return;_o&&Zn();for(var po=0;po<Qr.childNodes.length;po++)Yr(Qr.childNodes[po]);/^(pre|p)$/i.test(Qr.nodeName)&&(Ut=!0),_o&&(mt=!0)}else Qr.nodeType==3&&ir(Qr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Yr(ee),ee!=ue;)ee=ee.nextSibling,Ut=!1;return Ve}function Bf(x,ee,ue){var le;if(ee==x.display.lineDiv){if(le=x.display.lineDiv.childNodes[ue],!le)return dc(x.clipPos(er(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 Rf(Ve,ee,ue)}}function Rf(x,ee,ue){var le=x.text.firstChild,me=!1;if(!ee||!Lt(le,ee))return dc(er(dr(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 dc(er(dr(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 Ut=x.measure,Jt=Ut.maps;function Zn(qa,bo,_o){for(var po=-1;po<(Jt?Jt.length:0);po++)for(var Uo=po<0?Ut.map:Jt[po],hs=0;hs<Uo.length;hs+=3){var vs=Uo[hs+2];if(vs==qa||vs==bo){var Ns=dr(po<0?x.line:x.rest[po]),Hu=Uo[hs]+_o;return(_o<0||vs!=qa)&&(Hu=Uo[hs+(_o?1:0)]),er(Ns,Hu)}}}var ir=Zn(mt,It,ue);if(ir)return dc(ir,me);for(var Yr=It.nextSibling,Qr=mt?mt.nodeValue.length-ue:0;Yr;Yr=Yr.nextSibling){if(ir=Zn(Yr,Yr.firstChild,0),ir)return dc(er(ir.line,ir.ch-Qr),me);Qr+=Yr.textContent.length}for(var Oi=It.previousSibling,ma=ue;Oi;Oi=Oi.previousSibling){if(ir=Zn(Oi,Oi.firstChild,-1),ir)return dc(er(ir.line,ir.ch+ma),me);ma+=Oi.textContent.length}}var ou=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new Ue,this.hasSelection=!1,this.composing=null};ou.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),Ne&&(me.style.width="0px"),nn(me,"input",function(){Oe&&Le>=9&&ee.hasSelection&&(ee.hasSelection=null),ue.poll()}),nn(me,"paste",function(mt){Zt(le,mt)||Dh(mt,le)||(le.state.pasteIncoming=+new Date,ue.fastPoll())});function Ve(mt){if(!Zt(le,mt)){if(le.somethingSelected())Tf({lineWise:!1,text:le.getSelections()});else if(le.options.lineWiseCopyCut){var It=Oh(le);Tf({lineWise:!0,text:It.text}),mt.type=="cut"?le.setSelections(It.ranges,null,xt):(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(!(qs(x,mt)||Zt(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){qs(x,mt)||yr(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)})},ou.prototype.createField=function(x){this.wrapper=cm(),this.textarea=this.wrapper.firstChild},ou.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},ou.prototype.prepareSelection=function(){var x=this.cm,ee=x.display,ue=x.doc,le=Wu(x);if(x.options.moveInputWithCursor){var me=ku(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},ou.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")},ou.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),Oe&&Le>=9&&(this.hasSelection=ue)}else x||(this.prevInput=this.textarea.value="",Oe&&Le>=9&&(this.hasSelection=null))}},ou.prototype.getField=function(){return this.textarea},ou.prototype.supportsTouch=function(){return!1},ou.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ke||Re()!=this.textarea))try{this.textarea.focus()}catch(x){}},ou.prototype.blur=function(){this.textarea.blur()},ou.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ou.prototype.receivedFocus=function(){this.slowPoll()},ou.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},ou.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)},ou.prototype.poll=function(){var x=this,ee=this.cm,ue=this.textarea,le=this.prevInput;if(this.contextMenuPending||!ee.state.focused||Wr(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(Oe&&Le>=9&&this.hasSelection===me||Pe&&/[\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 Rn(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},ou.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ou.prototype.onKeyPress=function(){Oe&&Le>=9&&(this.hasSelection=null),this.fastPoll()},ou.prototype.onContextMenu=function(x){var ee=this,ue=ee.cm,le=ue.display,me=ee.textarea;ee.contextMenuPending&&ee.contextMenuPending();var Ve=mu(ue,x),mt=le.scroller.scrollTop;if(!Ve||fe)return;var It=ue.options.resetSelectionOnContextMenu;It&&ue.doc.sel.contains(Ve)==-1&&mr(ue,ql)(ue.doc,Is(Ve),xt);var Ut=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: `+(Oe?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var ir;ve&&(ir=window.scrollY),le.input.focus(),ve&&window.scrollTo(null,ir),le.input.reset(),ue.somethingSelected()||(me.value=ee.prevInput=" "),ee.contextMenuPending=Qr,le.selForContextMenu=ue.doc.sel,clearTimeout(le.detectingSelectAll);function Yr(){if(me.selectionStart!=null){var ma=ue.somethingSelected(),qa="\u200B"+(ma?me.value:"");me.value="\u21DA",me.value=qa,ee.prevInput=ma?"":"\u200B",me.selectionStart=1,me.selectionEnd=qa.length,le.selForContextMenu=ue.doc.sel}}function Qr(){if(ee.contextMenuPending==Qr&&(ee.contextMenuPending=!1,ee.wrapper.style.cssText=Jt,me.style.cssText=Ut,Oe&&Le<9&&le.scrollbars.setScrollTop(le.scroller.scrollTop=mt),me.selectionStart!=null)){(!Oe||Oe&&Le<9)&&Yr();var ma=0,qa=function(){le.selForContextMenu==ue.doc.sel&&me.selectionStart==0&&me.selectionEnd>0&&ee.prevInput=="\u200B"?mr(ue,Yu)(ue):ma++<10?le.detectingSelectAll=setTimeout(qa,500):(le.selForContextMenu=null,le.input.reset())};le.detectingSelectAll=setTimeout(qa,200)}}if(Oe&&Le>=9&&Yr(),We){Rr(x);var Oi=function(){jt(window,"mouseup",Oi),setTimeout(Qr,20)};nn(window,"mouseup",Oi)}else setTimeout(Qr,50)},ou.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},ou.prototype.setUneditable=function(){},ou.prototype.needsContentAttribute=!1;function df(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(Ut){}}ee.finishInit=function(Ut){Ut.save=le,Ut.getTextArea=function(){return x},Ut.toTextArea=function(){Ut.toTextArea=isNaN,le(),x.parentNode.removeChild(Ut.getWrapperElement()),x.style.display="",x.form&&(jt(x.form,"submit",le),!ee.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=me))}},x.style.display="none";var It=Us(function(Ut){return x.parentNode.insertBefore(Ut,x.nextSibling)},ee);return It}function kA(x){x.off=jt,x.on=nn,x.wheelEventPixels=ns,x.Doc=cc,x.splitLines=ua,x.countColumn=it,x.findColumn=Tn,x.isWordChar=ae,x.Pass=Vt,x.signal=pt,x.Line=Ln,x.changeEnd=Rl,x.scrollbarModel=vf,x.Pos=er,x.cmpPos=kr,x.modes=wo,x.mimeModes=sa,x.resolveMode=Si,x.getMode=qr,x.modeExtensions=Ma,x.extendMode=kn,x.copyState=Dt,x.startState=Wt,x.innerMode=Gt,x.commands=wd,x.keyMap=Lu,x.keyName=GA,x.isModifierKey=lh,x.lookupKey=SA,x.normalizeKeyMap=kh,x.StringStream=Kt,x.SharedTextMarker=fl,x.TextMarker=wA,x.LineWidget=_c,x.e_preventDefault=yr,x.e_stopPropagation=Dr,x.e_stop=Rr,x.addClass=Ht,x.contains=Lt,x.rmClass=et,x.keyNames=BA}Hm(Us),T0(Us);var Sf="iter insert remove copy getEditor constructor".split(" ");for(var ef in cc.prototype)cc.prototype.hasOwnProperty(ef)&&at(Sf,ef)<0&&(Us.prototype[ef]=function(x){return function(){return x.apply(this.doc,arguments)}}(cc.prototype[ef]));return Xn(cc),Us.inputStyles={textarea:ou,contenteditable:Uu},Us.defineMode=function(x){!Us.defaults.mode&&x!="null"&&(Us.defaults.mode=x),Pi.apply(this,arguments)},Us.defineMIME=Aa,Us.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),Us.defineMIME("text/plain","null"),Us.defineExtension=function(x,ee){Us.prototype[x]=ee},Us.defineDocExtension=function(x,ee){cc.prototype[x]=ee},Us.fromTextArea=df,kA(Us),Us.version="5.58.2",Us})},25419:function(Qn,Yt,de){(function(he){he(de(89780),de(15525),de(98101))})(function(he){"use strict";he.defineMode("markdown",function(Me,He){var ft=he.getMode(Me,"text/html"),Oe=ft.name=="null";function Le(it){if(he.findModeByName){var Ue=he.findModeByName(it);Ue&&(it=Ue.mime||Ue.mimes[0])}var at=he.getMode(Me,it);return at.name=="null"?null:at}He.highlightFormatting===void 0&&(He.highlightFormatting=!1),He.maxBlockquoteDepth===void 0&&(He.maxBlockquoteDepth=0),He.taskLists===void 0&&(He.taskLists=!1),He.strikethrough===void 0&&(He.strikethrough=!1),He.emoji===void 0&&(He.emoji=!1),He.fencedCodeBlockHighlighting===void 0&&(He.fencedCodeBlockHighlighting=!0),He.fencedCodeBlockDefaultMode===void 0&&(He.fencedCodeBlockDefaultMode="text/plain"),He.xml===void 0&&(He.xml=!0),He.tokenTypeOverrides===void 0&&(He.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)&&He.tokenTypeOverrides[Ae]&&(ve[Ae]=He.tokenTypeOverrides[Ae]);var xe=/^([*\-_])(?:\s*\1){2,}\s*$/,fe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ke=/^\[(x| )\](?=\s)/i,Be=He.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,_e=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ne=/^[^#!\[\]*_\\<>` "'(~:]+/,Qe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ke=/^\s*\[[^\]]+?\]:.*$/,Pe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Te=" ";function Ye(it,Ue,at){return Ue.f=Ue.inline=at,at(it,Ue)}function ze(it,Ue,at){return Ue.f=Ue.block=at,at(it,Ue)}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==et){var Ue=Oe;if(!Ue){var at=he.innerMode(ft,it.htmlState);Ue=at.mode.name=="xml"&&at.state.tagStart===null&&!at.state.context&&at.state.tokenize.isInText}Ue&&(it.f=Ct,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,Ue){var at=it.column()===Ue.indentation,Xt=qe(Ue.prevLine.stream),Vt=Ue.indentedCode,xt=Ue.prevLine.hr,Qt=Ue.list!==!1,An=(Ue.listStack[Ue.listStack.length-1]||0)+3;Ue.indentedCode=!1;var Tn=Ue.indentation;if(Ue.indentationDiff===null&&(Ue.indentationDiff=Ue.indentation,Qt)){for(Ue.list=null;Tn<Ue.listStack[Ue.listStack.length-1];)Ue.listStack.pop(),Ue.listStack.length?Ue.indentation=Ue.listStack[Ue.listStack.length-1]:Ue.list=!1;Ue.list!==!1&&(Ue.indentationDiff=Tn-Ue.listStack[Ue.listStack.length-1])}var dn=!Xt&&!xt&&!Ue.prevLine.header&&(!Qt||!Vt)&&!Ue.prevLine.fencedCodeEnd,Gn=(Ue.list===!1||xt||Xt)&&Ue.indentation<=An&&it.match(xe),Cn=null;if(Ue.indentationDiff>=4&&(Vt||Ue.prevLine.fencedCodeEnd||Ue.prevLine.header||Xt))return it.skipToEnd(),Ue.indentedCode=!0,ve.code;if(it.eatSpace())return null;if(at&&Ue.indentation<=An&&(Cn=it.match(Be))&&Cn[1].length<=6)return Ue.quote=0,Ue.header=Cn[1].length,Ue.thisLine.header=!0,He.highlightFormatting&&(Ue.formatting="header"),Ue.f=Ue.inline,ht(Ue);if(Ue.indentation<=An&&it.eat(">"))return Ue.quote=at?1:Ue.quote+1,He.highlightFormatting&&(Ue.formatting="quote"),it.eatSpace(),ht(Ue);if(!Gn&&!Ue.setext&&at&&Ue.indentation<=An&&(Cn=it.match(fe))){var mn=Cn[1]?"ol":"ul";return Ue.indentation=Tn+it.current().length,Ue.list=!0,Ue.quote=0,Ue.listStack.push(Ue.indentation),Ue.em=!1,Ue.strong=!1,Ue.code=!1,Ue.strikethrough=!1,He.taskLists&&it.match(Ke,!1)&&(Ue.taskList=!0),Ue.f=Ue.inline,He.highlightFormatting&&(Ue.formatting=["list","list-"+mn]),ht(Ue)}else{if(at&&Ue.indentation<=An&&(Cn=it.match(Qe,!0)))return Ue.quote=0,Ue.fencedEndRE=new RegExp(Cn[1]+"+ *$"),Ue.localMode=He.fencedCodeBlockHighlighting&&Le(Cn[2]||He.fencedCodeBlockDefaultMode),Ue.localMode&&(Ue.localState=he.startState(Ue.localMode)),Ue.f=Ue.block=rt,He.highlightFormatting&&(Ue.formatting="code-block"),Ue.code=-1,ht(Ue);if(Ue.setext||(!dn||!Qt)&&!Ue.quote&&Ue.list===!1&&!Ue.code&&!Gn&&!ke.test(it.string)&&(Cn=it.lookAhead(1))&&(Cn=Cn.match(_e)))return Ue.setext?(Ue.header=Ue.setext,Ue.setext=0,it.skipToEnd(),He.highlightFormatting&&(Ue.formatting="header")):(Ue.header=Cn[0].charAt(0)=="="?1:2,Ue.setext=Ue.header),Ue.thisLine.header=!0,Ue.f=Ue.inline,ht(Ue);if(Gn)return it.skipToEnd(),Ue.hr=!0,Ue.thisLine.hr=!0,ve.hr;if(it.peek()==="[")return Ye(it,Ue,Et)}return Ye(it,Ue,Ue.inline)}function et(it,Ue){var at=ft.token(it,Ue.htmlState);if(!Oe){var Xt=he.innerMode(ft,Ue.htmlState);(Xt.mode.name=="xml"&&Xt.state.tagStart===null&&!Xt.state.context&&Xt.state.tokenize.isInText||Ue.md_inside&&it.current().indexOf(">")>-1)&&(Ue.f=Ct,Ue.block=Ze,Ue.htmlState=null)}return at}function rt(it,Ue){var at=Ue.listStack[Ue.listStack.length-1]||0,Xt=Ue.indentation<at,Vt=at+3;if(Ue.fencedEndRE&&Ue.indentation<=Vt&&(Xt||it.match(Ue.fencedEndRE))){He.highlightFormatting&&(Ue.formatting="code-block");var xt;return Xt||(xt=ht(Ue)),Ue.localMode=Ue.localState=null,Ue.block=Ze,Ue.f=Ct,Ue.fencedEndRE=null,Ue.code=0,Ue.thisLine.fencedCodeEnd=!0,Xt?ze(it,Ue,Ue.block):xt}else return Ue.localMode?Ue.localMode.token(it,Ue.localState):(it.skipToEnd(),ve.code)}function ht(it){var Ue=[];if(it.formatting){Ue.push(ve.formatting),typeof it.formatting=="string"&&(it.formatting=[it.formatting]);for(var at=0;at<it.formatting.length;at++)Ue.push(ve.formatting+"-"+it.formatting[at]),it.formatting[at]==="header"&&Ue.push(ve.formatting+"-"+it.formatting[at]+"-"+it.header),it.formatting[at]==="quote"&&(!He.maxBlockquoteDepth||He.maxBlockquoteDepth>=it.quote?Ue.push(ve.formatting+"-"+it.formatting[at]+"-"+it.quote):Ue.push("error"))}if(it.taskOpen)return Ue.push("meta"),Ue.length?Ue.join(" "):null;if(it.taskClosed)return Ue.push("property"),Ue.length?Ue.join(" "):null;if(it.linkHref?Ue.push(ve.linkHref,"url"):(it.strong&&Ue.push(ve.strong),it.em&&Ue.push(ve.em),it.strikethrough&&Ue.push(ve.strikethrough),it.emoji&&Ue.push(ve.emoji),it.linkText&&Ue.push(ve.linkText),it.code&&Ue.push(ve.code),it.image&&Ue.push(ve.image),it.imageAltText&&Ue.push(ve.imageAltText,"link"),it.imageMarker&&Ue.push(ve.imageMarker)),it.header&&Ue.push(ve.header,ve.header+"-"+it.header),it.quote&&(Ue.push(ve.quote),!He.maxBlockquoteDepth||He.maxBlockquoteDepth>=it.quote?Ue.push(ve.quote+"-"+it.quote):Ue.push(ve.quote+"-"+He.maxBlockquoteDepth)),it.list!==!1){var Xt=(it.listStack.length-1)%3;Xt?Xt===1?Ue.push(ve.list2):Ue.push(ve.list3):Ue.push(ve.list1)}return it.trailingSpaceNewLine?Ue.push("trailing-space-new-line"):it.trailingSpace&&Ue.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),Ue.length?Ue.join(" "):null}function dt(it,Ue){if(it.match(Ne,!0))return ht(Ue)}function Ct(it,Ue){var at=Ue.text(it,Ue);if(typeof at!="undefined")return at;if(Ue.list)return Ue.list=null,ht(Ue);if(Ue.taskList){var Xt=it.match(Ke,!0)[1]===" ";return Xt?Ue.taskOpen=!0:Ue.taskClosed=!0,He.highlightFormatting&&(Ue.formatting="task"),Ue.taskList=!1,ht(Ue)}if(Ue.taskOpen=!1,Ue.taskClosed=!1,Ue.header&&it.match(/^#+$/,!0))return He.highlightFormatting&&(Ue.formatting="header"),ht(Ue);var Vt=it.next();if(Ue.linkTitle){Ue.linkTitle=!1;var xt=Vt;Vt==="("&&(xt=")"),xt=(xt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Qt="^\\s*(?:[^"+xt+"\\\\]+|\\\\\\\\|\\\\.)"+xt;if(it.match(new RegExp(Qt),!0))return ve.linkHref}if(Vt==="`"){var An=Ue.formatting;He.highlightFormatting&&(Ue.formatting="code"),it.eatWhile("`");var Tn=it.current().length;if(Ue.code==0&&(!Ue.quote||Tn==1))return Ue.code=Tn,ht(Ue);if(Tn==Ue.code){var dn=ht(Ue);return Ue.code=0,dn}else return Ue.formatting=An,ht(Ue)}else if(Ue.code)return ht(Ue);if(Vt==="\\"&&(it.next(),He.highlightFormatting)){var Gn=ht(Ue),Cn=ve.formatting+"-escape";return Gn?Gn+" "+Cn:Cn}if(Vt==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ue.imageMarker=!0,Ue.image=!0,He.highlightFormatting&&(Ue.formatting="image"),ht(Ue);if(Vt==="["&&Ue.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ue.imageMarker=!1,Ue.imageAltText=!0,He.highlightFormatting&&(Ue.formatting="image"),ht(Ue);if(Vt==="]"&&Ue.imageAltText){He.highlightFormatting&&(Ue.formatting="image");var Gn=ht(Ue);return Ue.imageAltText=!1,Ue.image=!1,Ue.inline=Ue.f=Lt,Gn}if(Vt==="["&&!Ue.image)return Ue.linkText&&it.match(/^.*?\]/)||(Ue.linkText=!0,He.highlightFormatting&&(Ue.formatting="link")),ht(Ue);if(Vt==="]"&&Ue.linkText){He.highlightFormatting&&(Ue.formatting="link");var Gn=ht(Ue);return Ue.linkText=!1,Ue.inline=Ue.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?Lt:Ct,Gn}if(Vt==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ue.f=Ue.inline=Xe,He.highlightFormatting&&(Ue.formatting="link");var Gn=ht(Ue);return Gn?Gn+=" ":Gn="",Gn+ve.linkInline}if(Vt==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ue.f=Ue.inline=Xe,He.highlightFormatting&&(Ue.formatting="link");var Gn=ht(Ue);return Gn?Gn+=" ":Gn="",Gn+ve.linkEmail}if(He.xml&&Vt==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var mn=it.string.indexOf(">",it.pos);if(mn!=-1){var Bn=it.string.substring(it.start,mn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Bn)&&(Ue.md_inside=!0)}return it.backUp(1),Ue.htmlState=he.startState(ft),ze(it,Ue,et)}if(He.xml&&Vt==="<"&&it.match(/^\/\w*?>/))return Ue.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)&&(!Pe.test(ie)||/\s/.test(Fe)||Pe.test(Fe)),se=!/\s/.test(Fe)&&(!Pe.test(Fe)||/\s/.test(ie)||Pe.test(ie)),oe=null,Je=null;if(Se%2&&(!Ue.em&&ae&&(Vt==="*"||!se||Pe.test(Fe))?oe=!0:Ue.em==Vt&&se&&(Vt==="*"||!ae||Pe.test(ie))&&(oe=!1)),Se>1&&(!Ue.strong&&ae&&(Vt==="*"||!se||Pe.test(Fe))?Je=!0:Ue.strong==Vt&&se&&(Vt==="*"||!ae||Pe.test(ie))&&(Je=!1)),Je!=null||oe!=null){He.highlightFormatting&&(Ue.formatting=oe==null?"strong":Je==null?"em":"strong em"),oe===!0&&(Ue.em=Vt),Je===!0&&(Ue.strong=Vt);var dn=ht(Ue);return oe===!1&&(Ue.em=!1),Je===!1&&(Ue.strong=!1),dn}}else if(Vt===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return ht(Ue);it.backUp(1)}if(He.strikethrough){if(Vt==="~"&&it.eatWhile(Vt)){if(Ue.strikethrough){He.highlightFormatting&&(Ue.formatting="strikethrough");var dn=ht(Ue);return Ue.strikethrough=!1,dn}else if(it.match(/^[^\s]/,!1))return Ue.strikethrough=!0,He.highlightFormatting&&(Ue.formatting="strikethrough"),ht(Ue)}else if(Vt===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return ht(Ue);it.backUp(2)}}if(He.emoji&&Vt===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ue.emoji=!0,He.highlightFormatting&&(Ue.formatting="emoji");var vt=ht(Ue);return Ue.emoji=!1,vt}return Vt===" "&&(it.match(/^ +$/,!1)?Ue.trailingSpace++:Ue.trailingSpace&&(Ue.trailingSpaceNewLine=!0)),ht(Ue)}function Xe(it,Ue){var at=it.next();if(at===">"){Ue.f=Ue.inline=Ct,He.highlightFormatting&&(Ue.formatting="link");var Xt=ht(Ue);return Xt?Xt+=" ":Xt="",Xt+ve.linkInline}return it.match(/^[^>]+/,!0),ve.linkInline}function Lt(it,Ue){if(it.eatSpace())return null;var at=it.next();return at==="("||at==="["?(Ue.f=Ue.inline=Ht(at==="("?")":"]"),He.highlightFormatting&&(Ue.formatting="link-string"),Ue.linkHref=!0,ht(Ue)):"error"}var Re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ht(it){return function(Ue,at){var Xt=Ue.next();if(Xt===it){at.f=at.inline=Ct,He.highlightFormatting&&(at.formatting="link-string");var Vt=ht(at);return at.linkHref=!1,Vt}return Ue.match(Re[it]),at.linkHref=!0,ht(at)}}function Et(it,Ue){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ue.f=bt,it.next(),He.highlightFormatting&&(Ue.formatting="link"),Ue.linkText=!0,ht(Ue)):Ye(it,Ue,Ct)}function bt(it,Ue){if(it.match(/^\]:/,!0)){Ue.f=Ue.inline=Tt,He.highlightFormatting&&(Ue.formatting="link");var at=ht(Ue);return Ue.linkText=!1,at}return it.match(/^([^\]\\]|\\.)+/,!0),ve.linkText}function Tt(it,Ue){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?Ue.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ue.f=Ue.inline=Ct,ve.linkHref+" url")}var wt={startState:function(){return{f:Ze,prevLine:{stream:null},thisLine:{stream:null},block:Ze,htmlState:null,indentation:0,inline:Ct,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(ft,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,Ue){if(Ue.formatting=!1,it!=Ue.thisLine.stream){if(Ue.header=0,Ue.hr=!1,it.match(/^\s*$/,!0))return We(Ue),null;if(Ue.prevLine=Ue.thisLine,Ue.thisLine={stream:it},Ue.taskList=!1,Ue.trailingSpace=0,Ue.trailingSpaceNewLine=!1,!Ue.localState&&(Ue.f=Ue.block,Ue.f!=et)){var at=it.match(/^\s*/,!0)[0].replace(/\t/g,Te).length;if(Ue.indentation=at,Ue.indentationDiff=null,at>0)return null}}return Ue.f(it,Ue)},innerMode:function(it){return it.block==et?{state:it.htmlState,mode:ft}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:wt}},indent:function(it,Ue,at){return it.block==et&&ft.indent?ft.indent(it.htmlState,Ue,at):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,Ue,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(Qn,Yt,de){(function(he){he(de(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 He=he.modeInfo[Me];He.mimes&&(He.mime=He.mimes[0])}he.findModeByMIME=function(ft){ft=ft.toLowerCase();for(var Oe=0;Oe<he.modeInfo.length;Oe++){var Le=he.modeInfo[Oe];if(Le.mime==ft)return Le;if(Le.mimes){for(var ve=0;ve<Le.mimes.length;ve++)if(Le.mimes[ve]==ft)return Le}}if(/\+xml$/.test(ft))return he.findModeByMIME("application/xml");if(/\+json$/.test(ft))return he.findModeByMIME("application/json")},he.findModeByExtension=function(ft){ft=ft.toLowerCase();for(var Oe=0;Oe<he.modeInfo.length;Oe++){var Le=he.modeInfo[Oe];if(Le.ext){for(var ve=0;ve<Le.ext.length;ve++)if(Le.ext[ve]==ft)return Le}}},he.findModeByFileName=function(ft){for(var Oe=0;Oe<he.modeInfo.length;Oe++){var Le=he.modeInfo[Oe];if(Le.file&&Le.file.test(ft))return Le}var ve=ft.lastIndexOf("."),Ae=ve>-1&&ft.substring(ve+1,ft.length);if(Ae)return he.findModeByExtension(Ae)},he.findModeByName=function(ft){ft=ft.toLowerCase();for(var Oe=0;Oe<he.modeInfo.length;Oe++){var Le=he.modeInfo[Oe];if(Le.name.toLowerCase()==ft)return Le;if(Le.alias){for(var ve=0;ve<Le.alias.length;ve++)if(Le.alias[ve].toLowerCase()==ft)return Le}}}})},67549:function(Qn,Yt,de){(function(he){he(de(89780))})(function(he){"use strict";he.defineMode("stex",function(Me,He){"use strict";function ft(Ne,Qe){Ne.cmdState.push(Qe)}function Oe(Ne){return Ne.cmdState.length>0?Ne.cmdState[Ne.cmdState.length-1]:null}function Le(Ne){var Qe=Ne.cmdState.pop();Qe&&Qe.closeBracket()}function ve(Ne){for(var Qe=Ne.cmdState,ke=Qe.length-1;ke>=0;ke--){var Pe=Qe[ke];if(Pe.name!="DEFAULT")return Pe}return{styleIdentifier:function(){return null}}}function Ae(Ne,Qe,ke){return function(){this.name=Ne,this.bracketNo=0,this.style=Qe,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 xe={};xe.importmodule=Ae("importmodule","tag",["string","builtin"]),xe.documentclass=Ae("documentclass","tag",["","atom"]),xe.usepackage=Ae("usepackage","tag",["atom"]),xe.begin=Ae("begin","tag",["atom"]),xe.end=Ae("end","tag",["atom"]),xe.label=Ae("label","tag",["atom"]),xe.ref=Ae("ref","tag",["atom"]),xe.eqref=Ae("eqref","tag",["atom"]),xe.cite=Ae("cite","tag",["atom"]),xe.bibitem=Ae("bibitem","tag",["atom"]),xe.Bibitem=Ae("Bibitem","tag",["atom"]),xe.RBibitem=Ae("RBibitem","tag",["atom"]),xe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function fe(Ne,Qe){Ne.f=Qe}function Ke(Ne,Qe){var ke;if(Ne.match(/^\\[a-zA-Z@]+/)){var Pe=Ne.current().slice(1);return ke=xe.hasOwnProperty(Pe)?xe[Pe]:xe.DEFAULT,ke=new ke,ft(Qe,ke),fe(Qe,_e),ke.style}if(Ne.match(/^\\[$&%#{}_]/)||Ne.match(/^\\[,;!\/\\]/))return"tag";if(Ne.match("\\["))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"\\]")}),"keyword";if(Ne.match("\\("))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"\\)")}),"keyword";if(Ne.match("$$"))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"$$")}),"keyword";if(Ne.match("$"))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"$")}),"keyword";var Te=Ne.next();if(Te=="%")return Ne.skipToEnd(),"comment";if(Te=="}"||Te=="]"){if(ke=Oe(Qe),ke)ke.closeBracket(Te),fe(Qe,_e);else return"error";return"bracket"}else return Te=="{"||Te=="["?(ke=xe.DEFAULT,ke=new ke,ft(Qe,ke),"bracket"):/\d/.test(Te)?(Ne.eatWhile(/[\w.%]/),"atom"):(Ne.eatWhile(/[\w\-_]/),ke=ve(Qe),ke.name=="begin"&&(ke.argument=Ne.current()),ke.styleIdentifier())}function Be(Ne,Qe,ke){if(Ne.eatSpace())return null;if(ke&&Ne.match(ke))return fe(Qe,Ke),"keyword";if(Ne.match(/^\\[a-zA-Z@]+/))return"tag";if(Ne.match(/^[a-zA-Z]+/))return"variable-2";if(Ne.match(/^\\[$&%#{}_]/)||Ne.match(/^\\[,;!\/]/)||Ne.match(/^[\^_&]/))return"tag";if(Ne.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ne.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Pe=Ne.next();return Pe=="{"||Pe=="}"||Pe=="["||Pe=="]"||Pe=="("||Pe==")"?"bracket":Pe=="%"?(Ne.skipToEnd(),"comment"):"error"}function _e(Ne,Qe){var ke=Ne.peek(),Pe;return ke=="{"||ke=="["?(Pe=Oe(Qe),Pe.openBracket(ke),Ne.eat(ke),fe(Qe,Ke),"bracket"):/[ \t\r]/.test(ke)?(Ne.eat(ke),null):(fe(Qe,Ke),Le(Qe),Ke(Ne,Qe))}return{startState:function(){var Ne=He.inMathMode?function(Qe,ke){return Be(Qe,ke)}:Ke;return{cmdState:[],f:Ne}},copyState:function(Ne){return{cmdState:Ne.cmdState.slice(),f:Ne.f}},token:function(Ne,Qe){return Qe.f(Ne,Qe)},blankLine:function(Ne){Ne.f=Ke,Ne.cmdState.length=0},lineComment:"%"}}),he.defineMIME("text/x-stex","stex"),he.defineMIME("text/x-latex","stex")})},15525:function(Qn,Yt,de){(function(he){he(de(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},He={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};he.defineMode("xml",function(ft,Oe){var Le=ft.indentUnit,ve={},Ae=Oe.htmlMode?Me:He;for(var xe in Ae)ve[xe]=Ae[xe];for(var xe in Oe)ve[xe]=Oe[xe];var fe,Ke;function Be(Xe,Lt){function Re(bt){return Lt.tokenize=bt,bt(Xe,Lt)}var Ht=Xe.next();if(Ht=="<")return Xe.eat("!")?Xe.eat("[")?Xe.match("CDATA[")?Re(Qe("atom","]]>")):null:Xe.match("--")?Re(Qe("comment","-->")):Xe.match("DOCTYPE",!0,!0)?(Xe.eatWhile(/[\w\._\-]/),Re(ke(1))):null:Xe.eat("?")?(Xe.eatWhile(/[\w\._\-]/),Lt.tokenize=Qe("meta","?>"),"meta"):(fe=Xe.eat("/")?"closeTag":"openTag",Lt.tokenize=_e,"tag bracket");if(Ht=="&"){var Et;return Xe.eat("#")?Xe.eat("x")?Et=Xe.eatWhile(/[a-fA-F\d]/)&&Xe.eat(";"):Et=Xe.eatWhile(/[\d]/)&&Xe.eat(";"):Et=Xe.eatWhile(/[\w\.\-:]/)&&Xe.eat(";"),Et?"atom":"error"}else return Xe.eatWhile(/[^&<]/),null}Be.isInText=!0;function _e(Xe,Lt){var Re=Xe.next();if(Re==">"||Re=="/"&&Xe.eat(">"))return Lt.tokenize=Be,fe=Re==">"?"endTag":"selfcloseTag","tag bracket";if(Re=="=")return fe="equals",null;if(Re=="<"){Lt.tokenize=Be,Lt.state=ze,Lt.tagName=Lt.tagStart=null;var Ht=Lt.tokenize(Xe,Lt);return Ht?Ht+" tag error":"tag error"}else return/[\'\"]/.test(Re)?(Lt.tokenize=Ne(Re),Lt.stringStartCol=Xe.column(),Lt.tokenize(Xe,Lt)):(Xe.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ne(Xe){var Lt=function(Re,Ht){for(;!Re.eol();)if(Re.next()==Xe){Ht.tokenize=_e;break}return"string"};return Lt.isInAttribute=!0,Lt}function Qe(Xe,Lt){return function(Re,Ht){for(;!Re.eol();){if(Re.match(Lt)){Ht.tokenize=Be;break}Re.next()}return Xe}}function ke(Xe){return function(Lt,Re){for(var Ht;(Ht=Lt.next())!=null;){if(Ht=="<")return Re.tokenize=ke(Xe+1),Re.tokenize(Lt,Re);if(Ht==">")if(Xe==1){Re.tokenize=Be;break}else return Re.tokenize=ke(Xe-1),Re.tokenize(Lt,Re)}return"meta"}}function Pe(Xe,Lt,Re){this.prev=Xe.context,this.tagName=Lt,this.indent=Xe.indented,this.startOfLine=Re,(ve.doNotIndent.hasOwnProperty(Lt)||Xe.context&&Xe.context.noIndent)&&(this.noIndent=!0)}function Te(Xe){Xe.context&&(Xe.context=Xe.context.prev)}function Ye(Xe,Lt){for(var Re;;){if(!Xe.context||(Re=Xe.context.tagName,!ve.contextGrabbers.hasOwnProperty(Re)||!ve.contextGrabbers[Re].hasOwnProperty(Lt)))return;Te(Xe)}}function ze(Xe,Lt,Re){return Xe=="openTag"?(Re.tagStart=Lt.column(),qe):Xe=="closeTag"?We:ze}function qe(Xe,Lt,Re){return Xe=="word"?(Re.tagName=Lt.current(),Ke="tag",rt):ve.allowMissingTagName&&Xe=="endTag"?(Ke="tag bracket",rt(Xe,Lt,Re)):(Ke="error",qe)}function We(Xe,Lt,Re){if(Xe=="word"){var Ht=Lt.current();return Re.context&&Re.context.tagName!=Ht&&ve.implicitlyClosed.hasOwnProperty(Re.context.tagName)&&Te(Re),Re.context&&Re.context.tagName==Ht||ve.matchClosing===!1?(Ke="tag",Ze):(Ke="tag error",et)}else return ve.allowMissingTagName&&Xe=="endTag"?(Ke="tag bracket",Ze(Xe,Lt,Re)):(Ke="error",et)}function Ze(Xe,Lt,Re){return Xe!="endTag"?(Ke="error",Ze):(Te(Re),ze)}function et(Xe,Lt,Re){return Ke="error",Ze(Xe,Lt,Re)}function rt(Xe,Lt,Re){if(Xe=="word")return Ke="attribute",ht;if(Xe=="endTag"||Xe=="selfcloseTag"){var Ht=Re.tagName,Et=Re.tagStart;return Re.tagName=Re.tagStart=null,Xe=="selfcloseTag"||ve.autoSelfClosers.hasOwnProperty(Ht)?Ye(Re,Ht):(Ye(Re,Ht),Re.context=new Pe(Re,Ht,Et==Re.indented)),ze}return Ke="error",rt}function ht(Xe,Lt,Re){return Xe=="equals"?dt:(ve.allowMissing||(Ke="error"),rt(Xe,Lt,Re))}function dt(Xe,Lt,Re){return Xe=="string"?Ct:Xe=="word"&&ve.allowUnquoted?(Ke="string",rt):(Ke="error",rt(Xe,Lt,Re))}function Ct(Xe,Lt,Re){return Xe=="string"?Ct:rt(Xe,Lt,Re)}return{startState:function(Xe){var Lt={tokenize:Be,state:ze,indented:Xe||0,tagName:null,tagStart:null,context:null};return Xe!=null&&(Lt.baseIndent=Xe),Lt},token:function(Xe,Lt){if(!Lt.tagName&&Xe.sol()&&(Lt.indented=Xe.indentation()),Xe.eatSpace())return null;fe=null;var Re=Lt.tokenize(Xe,Lt);return(Re||fe)&&Re!="comment"&&(Ke=null,Lt.state=Lt.state(fe||Re,Xe,Lt),Ke&&(Re=Ke=="error"?Re+" error":Ke)),Re},indent:function(Xe,Lt,Re){var Ht=Xe.context;if(Xe.tokenize.isInAttribute)return Xe.tagStart==Xe.indented?Xe.stringStartCol+1:Xe.indented+Le;if(Ht&&Ht.noIndent)return he.Pass;if(Xe.tokenize!=_e&&Xe.tokenize!=Be)return Re?Re.match(/^(\s*)/)[0].length:0;if(Xe.tagName)return ve.multilineTagIndentPastTag!==!1?Xe.tagStart+Xe.tagName.length+2:Xe.tagStart+Le*(ve.multilineTagIndentFactor||1);if(ve.alignCDATA&&/<!\[CDATA\[/.test(Lt))return 0;var Et=Lt&&/^<(\/)?([\w_:\.-]*)/.exec(Lt);if(Et&&Et[1])for(;Ht;)if(Ht.tagName==Et[2]){Ht=Ht.prev;break}else if(ve.implicitlyClosed.hasOwnProperty(Ht.tagName))Ht=Ht.prev;else break;else if(Et)for(;Ht;){var bt=ve.contextGrabbers[Ht.tagName];if(bt&&bt.hasOwnProperty(Et[2]))Ht=Ht.prev;else break}for(;Ht&&Ht.prev&&!Ht.startOfLine;)Ht=Ht.prev;return Ht?Ht.indent+Le:Xe.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ve.htmlMode?"html":"xml",helperType:ve.htmlMode?"html":"xml",skipAttribute:function(Xe){Xe.state==dt&&(Xe.state=rt)},xmlCurrentTag:function(Xe){return Xe.tagName?{name:Xe.tagName,close:Xe.type=="closeTag"}:null},xmlCurrentContext:function(Xe){for(var Lt=[],Re=Xe.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(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var he=Object.assign||function(ke){for(var Pe=1;Pe<arguments.length;Pe++){var Te=arguments[Pe];for(var Ye in Te)Object.prototype.hasOwnProperty.call(Te,Ye)&&(ke[Ye]=Te[Ye])}return ke},Me=function(){function ke(Pe,Te){for(var Ye=0;Ye<Te.length;Ye++){var ze=Te[Ye];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(Pe,ze.key,ze)}}return function(Pe,Te,Ye){return Te&&ke(Pe.prototype,Te),Ye&&ke(Pe,Ye),Pe}}(),He=de(59301),ft=Ke(He),Oe=de(12708),Le=Ke(Oe),ve=de(53291),Ae=Ke(ve),xe=de(10413),fe=de(65429);function Ke(ke){return ke&&ke.__esModule?ke:{default:ke}}function Be(ke,Pe){if(!(ke instanceof Pe))throw new TypeError("Cannot call a class as a function")}function _e(ke,Pe){if(!ke)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Pe&&(typeof Pe=="object"||typeof Pe=="function")?Pe:ke}function Ne(ke,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Pe);ke.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:ke,enumerable:!1,writable:!0,configurable:!0}}),Pe&&(Object.setPrototypeOf?Object.setPrototypeOf(ke,Pe):ke.__proto__=Pe)}var Qe=function(ke){Ne(Pe,ke);function Pe(Te){Be(this,Pe);var Ye=_e(this,(Pe.__proto__||Object.getPrototypeOf(Pe)).call(this,Te));return Ye.getEchartsInstance=function(){return Ye.echartsLib.getInstanceByDom(Ye.echartsElement)||Ye.echartsLib.init(Ye.echartsElement,Ye.props.theme,Ye.props.opts)},Ye.dispose=function(){if(Ye.echartsElement){try{(0,xe.clear)(Ye.echartsElement)}catch(ze){console.warn(ze)}Ye.echartsLib.dispose(Ye.echartsElement)}},Ye.rerender=function(){var ze=Ye.props,qe=ze.onEvents,We=ze.onChartReady,Ze=Ye.renderEchartDom();Ye.bindEvents(Ze,qe||{}),typeof We=="function"&&Ye.props.onChartReady(Ze),Ye.echartsElement&&(0,xe.bind)(Ye.echartsElement,function(){try{Ze.resize()}catch(et){console.warn(et)}})},Ye.bindEvents=function(ze,qe){var We=function(rt,ht){typeof rt=="string"&&typeof ht=="function"&&ze.on(rt,function(dt){ht(dt,ze)})};for(var Ze in qe)Object.prototype.hasOwnProperty.call(qe,Ze)&&We(Ze,qe[Ze])},Ye.renderEchartDom=function(){var ze=Ye.getEchartsInstance();return ze.setOption(Ye.props.option,Ye.props.notMerge||!1,Ye.props.lazyUpdate||!1),Ye.props.showLoading?ze.showLoading(Ye.props.loadingOption||null):ze.hideLoading(),ze},Ye.echartsLib=Te.echarts,Ye.echartsElement=null,Ye}return Me(Pe,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(Ye){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(Ye,this.props))){if(!(0,Ae.default)(Ye.theme,this.props.theme)||!(0,Ae.default)(Ye.opts,this.props.opts)||!(0,Ae.default)(Ye.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var ze=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,Ae.default)((0,fe.pick)(this.props,ze),(0,fe.pick)(Ye,ze))){var qe=this.renderEchartDom();if(!(0,Ae.default)(Ye.style,this.props.style)||!(0,Ae.default)(Ye.className,this.props.className))try{qe.resize()}catch(We){console.warn(We)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var Ye=this,ze=this.props,qe=ze.style,We=ze.className,Ze=he({height:300},qe);return ft.default.createElement("div",{ref:function(rt){Ye.echartsElement=rt},style:Ze,className:"echarts-for-react "+We})}}]),Pe}(He.Component);Yt.default=Qe,Qe.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},Qe.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(Qn,Yt,de){"use strict";var he;he={value:!0},Yt.Z=void 0;var Me=de(76411),He=Le(Me),ft=de(97774),Oe=Le(ft);function Le(Ke){return Ke&&Ke.__esModule?Ke:{default:Ke}}function ve(Ke,Be){if(!(Ke instanceof Be))throw new TypeError("Cannot call a class as a function")}function Ae(Ke,Be){if(!Ke)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Be&&(typeof Be=="object"||typeof Be=="function")?Be:Ke}function xe(Ke,Be){if(typeof Be!="function"&&Be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Be);Ke.prototype=Object.create(Be&&Be.prototype,{constructor:{value:Ke,enumerable:!1,writable:!0,configurable:!0}}),Be&&(Object.setPrototypeOf?Object.setPrototypeOf(Ke,Be):Ke.__proto__=Be)}var fe=function(Ke){xe(Be,Ke);function Be(_e){ve(this,Be);var Ne=Ae(this,(Be.__proto__||Object.getPrototypeOf(Be)).call(this,_e));return Ne.echartsLib=He.default,Ne}return Be}(Oe.default);Yt.Z=fe},65429:function(Qn,Yt){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});var de=Yt.pick=function(Me,He){var ft={};return He.forEach(function(Oe){ft[Oe]=Me[Oe]}),ft}},86204:function(Qn){"use strict";var Yt=typeof Reflect=="object"?Reflect:null,de=Yt&&typeof Yt.apply=="function"?Yt.apply:function(ze,qe,We){return Function.prototype.apply.call(ze,qe,We)},he;Yt&&typeof Yt.ownKeys=="function"?he=Yt.ownKeys:Object.getOwnPropertySymbols?he=function(ze){return Object.getOwnPropertyNames(ze).concat(Object.getOwnPropertySymbols(ze))}:he=function(ze){return Object.getOwnPropertyNames(ze)};function Me(Ye){console&&console.warn&&console.warn(Ye)}var He=Number.isNaN||function(ze){return ze!==ze};function ft(){ft.init.call(this)}Qn.exports=ft,Qn.exports.once=ke,ft.EventEmitter=ft,ft.prototype._events=void 0,ft.prototype._eventsCount=0,ft.prototype._maxListeners=void 0;var Oe=10;function Le(Ye){if(typeof Ye!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ye)}Object.defineProperty(ft,"defaultMaxListeners",{enumerable:!0,get:function(){return Oe},set:function(Ye){if(typeof Ye!="number"||Ye<0||He(Ye))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ye+".");Oe=Ye}}),ft.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},ft.prototype.setMaxListeners=function(ze){if(typeof ze!="number"||ze<0||He(ze))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ze+".");return this._maxListeners=ze,this};function ve(Ye){return Ye._maxListeners===void 0?ft.defaultMaxListeners:Ye._maxListeners}ft.prototype.getMaxListeners=function(){return ve(this)},ft.prototype.emit=function(ze){for(var qe=[],We=1;We<arguments.length;We++)qe.push(arguments[We]);var Ze=ze==="error",et=this._events;if(et!==void 0)Ze=Ze&&et.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=et[ze];if(dt===void 0)return!1;if(typeof dt=="function")de(dt,this,qe);else for(var Ct=dt.length,Xe=_e(dt,Ct),We=0;We<Ct;++We)de(Xe[We],this,qe);return!0};function Ae(Ye,ze,qe,We){var Ze,et,rt;if(Le(qe),et=Ye._events,et===void 0?(et=Ye._events=Object.create(null),Ye._eventsCount=0):(et.newListener!==void 0&&(Ye.emit("newListener",ze,qe.listener?qe.listener:qe),et=Ye._events),rt=et[ze]),rt===void 0)rt=et[ze]=qe,++Ye._eventsCount;else if(typeof rt=="function"?rt=et[ze]=We?[qe,rt]:[rt,qe]:We?rt.unshift(qe):rt.push(qe),Ze=ve(Ye),Ze>0&&rt.length>Ze&&!rt.warned){rt.warned=!0;var ht=new Error("Possible EventEmitter memory leak detected. "+rt.length+" "+String(ze)+" listeners added. Use emitter.setMaxListeners() to increase limit");ht.name="MaxListenersExceededWarning",ht.emitter=Ye,ht.type=ze,ht.count=rt.length,Me(ht)}return Ye}ft.prototype.addListener=function(ze,qe){return Ae(this,ze,qe,!1)},ft.prototype.on=ft.prototype.addListener,ft.prototype.prependListener=function(ze,qe){return Ae(this,ze,qe,!0)};function xe(){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(Ye,ze,qe){var We={fired:!1,wrapFn:void 0,target:Ye,type:ze,listener:qe},Ze=xe.bind(We);return Ze.listener=qe,We.wrapFn=Ze,Ze}ft.prototype.once=function(ze,qe){return Le(qe),this.on(ze,fe(this,ze,qe)),this},ft.prototype.prependOnceListener=function(ze,qe){return Le(qe),this.prependListener(ze,fe(this,ze,qe)),this},ft.prototype.removeListener=function(ze,qe){var We,Ze,et,rt,ht;if(Le(qe),Ze=this._events,Ze===void 0)return this;if(We=Ze[ze],We===void 0)return this;if(We===qe||We.listener===qe)--this._eventsCount===0?this._events=Object.create(null):(delete Ze[ze],Ze.removeListener&&this.emit("removeListener",ze,We.listener||qe));else if(typeof We!="function"){for(et=-1,rt=We.length-1;rt>=0;rt--)if(We[rt]===qe||We[rt].listener===qe){ht=We[rt].listener,et=rt;break}if(et<0)return this;et===0?We.shift():Ne(We,et),We.length===1&&(Ze[ze]=We[0]),Ze.removeListener!==void 0&&this.emit("removeListener",ze,ht||qe)}return this},ft.prototype.off=ft.prototype.removeListener,ft.prototype.removeAllListeners=function(ze){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[ze]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete We[ze]),this;if(arguments.length===0){var et=Object.keys(We),rt;for(Ze=0;Ze<et.length;++Ze)rt=et[Ze],rt!=="removeListener"&&this.removeAllListeners(rt);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(qe=We[ze],typeof qe=="function")this.removeListener(ze,qe);else if(qe!==void 0)for(Ze=qe.length-1;Ze>=0;Ze--)this.removeListener(ze,qe[Ze]);return this};function Ke(Ye,ze,qe){var We=Ye._events;if(We===void 0)return[];var Ze=We[ze];return Ze===void 0?[]:typeof Ze=="function"?qe?[Ze.listener||Ze]:[Ze]:qe?Qe(Ze):_e(Ze,Ze.length)}ft.prototype.listeners=function(ze){return Ke(this,ze,!0)},ft.prototype.rawListeners=function(ze){return Ke(this,ze,!1)},ft.listenerCount=function(Ye,ze){return typeof Ye.listenerCount=="function"?Ye.listenerCount(ze):Be.call(Ye,ze)},ft.prototype.listenerCount=Be;function Be(Ye){var ze=this._events;if(ze!==void 0){var qe=ze[Ye];if(typeof qe=="function")return 1;if(qe!==void 0)return qe.length}return 0}ft.prototype.eventNames=function(){return this._eventsCount>0?he(this._events):[]};function _e(Ye,ze){for(var qe=new Array(ze),We=0;We<ze;++We)qe[We]=Ye[We];return qe}function Ne(Ye,ze){for(;ze+1<Ye.length;ze++)Ye[ze]=Ye[ze+1];Ye.pop()}function Qe(Ye){for(var ze=new Array(Ye.length),qe=0;qe<ze.length;++qe)ze[qe]=Ye[qe].listener||Ye[qe];return ze}function ke(Ye,ze){return new Promise(function(qe,We){function Ze(rt){Ye.removeListener(ze,et),We(rt)}function et(){typeof Ye.removeListener=="function"&&Ye.removeListener("error",Ze),qe([].slice.call(arguments))}Te(Ye,ze,et,{once:!0}),ze!=="error"&&Pe(Ye,Ze,{once:!0})})}function Pe(Ye,ze,qe){typeof Ye.on=="function"&&Te(Ye,"error",ze,qe)}function Te(Ye,ze,qe,We){if(typeof Ye.on=="function")We.once?Ye.once(ze,qe):Ye.on(ze,qe);else if(typeof Ye.addEventListener=="function")Ye.addEventListener(ze,function Ze(et){We.once&&Ye.removeEventListener(ze,Ze),qe(et)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Ye)}},53291:function(Qn){"use strict";var Yt=Array.isArray,de=Object.keys,he=Object.prototype.hasOwnProperty;Qn.exports=function Me(He,ft){if(He===ft)return!0;if(He&&ft&&typeof He=="object"&&typeof ft=="object"){var Oe=Yt(He),Le=Yt(ft),ve,Ae,xe;if(Oe&&Le){if(Ae=He.length,Ae!=ft.length)return!1;for(ve=Ae;ve--!==0;)if(!Me(He[ve],ft[ve]))return!1;return!0}if(Oe!=Le)return!1;var fe=He instanceof Date,Ke=ft instanceof Date;if(fe!=Ke)return!1;if(fe&&Ke)return He.getTime()==ft.getTime();var Be=He instanceof RegExp,_e=ft instanceof RegExp;if(Be!=_e)return!1;if(Be&&_e)return He.toString()==ft.toString();var Ne=de(He);if(Ae=Ne.length,Ae!==de(ft).length)return!1;for(ve=Ae;ve--!==0;)if(!he.call(ft,Ne[ve]))return!1;for(ve=Ae;ve--!==0;)if(xe=Ne[ve],!Me(He[xe],ft[xe]))return!1;return!0}return He!==He&&ft!==ft}},64270:function(Qn){(function(Yt,de){Qn.exports=de()})(this,function(){"use strict";var Yt=function(Ee,be){return Yt=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])},Yt(Ee,be)};function de(Ee,be){if(typeof be!="function"&&be!==null)throw new TypeError("Class extends value "+String(be)+" is not a constructor or null");Yt(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 zt in De)Object.prototype.hasOwnProperty.call(De,zt)&&(be[zt]=De[zt])}return be},he.apply(this,arguments)};function Me(Ee,be,De,Ie){function yt(zt){return zt instanceof De?zt:new De(function(un){un(zt)})}return new(De||(De=Promise))(function(zt,un){function Un(Gr){try{Hr(Ie.next(Gr))}catch(ti){un(ti)}}function Hn(Gr){try{Hr(Ie.throw(Gr))}catch(ti){un(ti)}}function Hr(Gr){Gr.done?zt(Gr.value):yt(Gr.value).then(Un,Hn)}Hr((Ie=Ie.apply(Ee,be||[])).next())})}function He(Ee,be){var De={label:0,sent:function(){if(zt[0]&1)throw zt[1];return zt[1]},trys:[],ops:[]},Ie,yt,zt,un;return un={next:Un(0),throw:Un(1),return:Un(2)},typeof Symbol=="function"&&(un[Symbol.iterator]=function(){return this}),un;function Un(Hr){return function(Gr){return Hn([Hr,Gr])}}function Hn(Hr){if(Ie)throw new TypeError("Generator is already executing.");for(;De;)try{if(Ie=1,yt&&(zt=Hr[0]&2?yt.return:Hr[0]?yt.throw||((zt=yt.return)&&zt.call(yt),0):yt.next)&&!(zt=zt.call(yt,Hr[1])).done)return zt;switch(yt=0,zt&&(Hr=[Hr[0]&2,zt.value]),Hr[0]){case 0:case 1:zt=Hr;break;case 4:return De.label++,{value:Hr[1],done:!1};case 5:De.label++,yt=Hr[1],Hr=[0];continue;case 7:Hr=De.ops.pop(),De.trys.pop();continue;default:if(zt=De.trys,!(zt=zt.length>0&&zt[zt.length-1])&&(Hr[0]===6||Hr[0]===2)){De=0;continue}if(Hr[0]===3&&(!zt||Hr[1]>zt[0]&&Hr[1]<zt[3])){De.label=Hr[1];break}if(Hr[0]===6&&De.label<zt[1]){De.label=zt[1],zt=Hr;break}if(zt&&De.label<zt[2]){De.label=zt[2],De.ops.push(Hr);break}zt[2]&&De.ops.pop(),De.trys.pop();continue}Hr=be.call(Ee,De)}catch(Gr){Hr=[6,Gr],yt=0}finally{Ie=zt=0}if(Hr[0]&5)throw Hr[1];return{value:Hr[0]?Hr[1]:void 0,done:!0}}}function ft(Ee,be,De){if(De||arguments.length===2)for(var Ie=0,yt=be.length,zt;Ie<yt;Ie++)(zt||!(Ie in be))&&(zt||(zt=Array.prototype.slice.call(be,0,Ie)),zt[Ie]=be[Ie]);return Ee.concat(zt||be)}for(var Oe=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 Oe.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 Oe(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 zt=Ee.charCodeAt(De++);(zt&64512)===56320?be.push(((yt&1023)<<10)+(zt&1023)+65536):(be.push(yt),De--)}else be.push(yt)}return be},xe=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,zt="";++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)&&(zt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return zt},fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ke=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Be=0;Be<fe.length;Be++)Ke[fe.charCodeAt(Be)]=Be;for(var _e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ne=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Qe=0;Qe<_e.length;Qe++)Ne[_e.charCodeAt(Qe)]=Qe;for(var ke=function(Ee){var be=Ee.length*.75,De=Ee.length,Ie,yt=0,zt,un,Un,Hn;Ee[Ee.length-1]==="="&&(be--,Ee[Ee.length-2]==="="&&be--);var Hr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(be):new Array(be),Gr=Array.isArray(Hr)?Hr:new Uint8Array(Hr);for(Ie=0;Ie<De;Ie+=4)zt=Ne[Ee.charCodeAt(Ie)],un=Ne[Ee.charCodeAt(Ie+1)],Un=Ne[Ee.charCodeAt(Ie+2)],Hn=Ne[Ee.charCodeAt(Ie+3)],Gr[yt++]=zt<<2|un>>4,Gr[yt++]=(un&15)<<4|Un>>2,Gr[yt++]=(Un&3)<<6|Hn&63;return Hr},Pe=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie<be;Ie+=2)De.push(Ee[Ie+1]<<8|Ee[Ie]);return De},Te=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},Ye=5,ze=11,qe=2,We=ze-Ye,Ze=65536>>Ye,et=1<<Ye,rt=et-1,ht=1024>>Ye,dt=Ze+ht,Ct=dt,Xe=32,Lt=Ct+Xe,Re=65536>>ze,Ht=1<<We,Et=Ht-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)?Te(De):new Uint32Array(De),yt=Array.isArray(De)?Pe(De):new Uint16Array(De),zt=24,un=bt(yt,zt/2,Ie[4]/2),Un=Ie[5]===2?bt(yt,(zt+Ie[4])/2):Tt(Ie,Math.ceil((zt+Ie[4])/4));return new it(Ie[0],Ie[1],Ie[2],Ie[3],un,Un)},it=function(){function Ee(be,De,Ie,yt,zt,un){this.initialValue=be,this.errorValue=De,this.highStart=Ie,this.highValueIndex=yt,this.index=zt,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>>Ye],De=(De<<qe)+(be&rt),this.data[De];if(be<=65535)return De=this.index[Ze+(be-55296>>Ye)],De=(De<<qe)+(be&rt),this.data[De];if(be<this.highStart)return De=Lt-Re+(be>>ze),De=this.index[De],De+=be>>Ye&Et,De=this.index[De],De=(De<<qe)+(be&rt),this.data[De];if(be<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Ee}(),Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",at=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Xt=0;Xt<Ue.length;Xt++)at[Ue.charCodeAt(Xt)]=Xt;var Vt="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAA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dAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywH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ZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9c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AMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nD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KwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQ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AQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUA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KwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHg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gACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",xt=50,Qt=1,An=2,Tn=3,dn=4,Gn=5,Cn=7,mn=8,Bn=9,Se=10,Fe=11,ie=12,ae=13,se=14,oe=15,Je=16,vt=17,$e=18,lt=19,Pt=20,_t=21,kt=22,$t=23,Sn=24,St=25,nn=26,tn=27,jt=28,pt=29,Zt=30,gn=31,wn=32,Xn=33,yr=34,Dr=35,Tr=36,Rr=37,Sr=38,fr=39,Vr=40,Bi=41,yi=42,mi=43,Vi=[9001,65288],ua="!",Wr="\xD7",Mn="\xF7",ea=wt(Vt),Ea=[Zt,Tr],wo=[Qt,An,Tn,Gn],sa=[Se,mn],Pi=[tn,nn],Aa=wo.concat(sa),Si=[Sr,fr,Vr,yr,Dr],qr=[oe,ae],Ma=function(Ee,be){be===void 0&&(be="strict");var De=[],Ie=[],yt=[];return Ee.forEach(function(zt,un){var Un=ea.get(zt);if(Un>xt?(yt.push(!0),Un-=xt):yt.push(!1),["normal","auto","loose"].indexOf(be)!==-1&&[8208,8211,12316,12448].indexOf(zt)!==-1)return Ie.push(un),De.push(Je);if(Un===dn||Un===Fe){if(un===0)return Ie.push(un),De.push(Zt);var Hn=De[un-1];return Aa.indexOf(Hn)===-1?(Ie.push(Ie[un-1]),De.push(Hn)):(Ie.push(un),De.push(Zt))}if(Ie.push(un),Un===gn)return De.push(be==="strict"?_t:Rr);if(Un===yi||Un===pt)return De.push(Zt);if(Un===mi)return zt>=131072&&zt<=196605||zt>=196608&&zt<=262141?De.push(Rr):De.push(Zt);De.push(Un)}),[Ie,De,yt]},kn=function(Ee,be,De,Ie){var yt=Ie[De];if(Array.isArray(Ee)?Ee.indexOf(yt)!==-1:Ee===yt)for(var zt=De;zt<=Ie.length;){zt++;var un=Ie[zt];if(un===be)return!0;if(un!==Se)break}if(yt===Se)for(var zt=De;zt>0;){zt--;var Un=Ie[zt];if(Array.isArray(Ee)?Ee.indexOf(Un)!==-1:Ee===Un)for(var Hn=De;Hn<=Ie.length;){Hn++;var un=Ie[Hn];if(un===be)return!0;if(un!==Se)break}if(Un!==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 Wr;var zt=Ie-1;if(Array.isArray(yt)&&yt[zt]===!0)return Wr;var un=zt-1,Un=zt+1,Hn=be[zt],Hr=un>=0?be[un]:0,Gr=be[Un];if(Hn===An&&Gr===Tn)return Wr;if(wo.indexOf(Hn)!==-1)return ua;if(wo.indexOf(Gr)!==-1||sa.indexOf(Gr)!==-1)return Wr;if(Dt(zt,be)===mn)return Mn;if(ea.get(Ee[zt])===Fe||(Hn===wn||Hn===Xn)&&ea.get(Ee[Un])===Fe||Hn===Cn||Gr===Cn||Hn===Bn||[Se,ae,oe].indexOf(Hn)===-1&&Gr===Bn||[vt,$e,lt,Sn,jt].indexOf(Gr)!==-1||Dt(zt,be)===kt||kn($t,kt,zt,be)||kn([vt,$e],_t,zt,be)||kn(ie,ie,zt,be))return Wr;if(Hn===Se)return Mn;if(Hn===$t||Gr===$t)return Wr;if(Gr===Je||Hn===Je)return Mn;if([ae,oe,_t].indexOf(Gr)!==-1||Hn===se||Hr===Tr&&qr.indexOf(Hn)!==-1||Hn===jt&&Gr===Tr||Gr===Pt||Ea.indexOf(Gr)!==-1&&Hn===St||Ea.indexOf(Hn)!==-1&&Gr===St||Hn===tn&&[Rr,wn,Xn].indexOf(Gr)!==-1||[Rr,wn,Xn].indexOf(Hn)!==-1&&Gr===nn||Ea.indexOf(Hn)!==-1&&Pi.indexOf(Gr)!==-1||Pi.indexOf(Hn)!==-1&&Ea.indexOf(Gr)!==-1||[tn,nn].indexOf(Hn)!==-1&&(Gr===St||[kt,oe].indexOf(Gr)!==-1&&be[Un+1]===St)||[kt,oe].indexOf(Hn)!==-1&&Gr===St||Hn===St&&[St,jt,Sn].indexOf(Gr)!==-1)return Wr;if([St,jt,Sn,vt,$e].indexOf(Gr)!==-1)for(var ti=zt;ti>=0;){var Xi=be[ti];if(Xi===St)return Wr;if([jt,Sn].indexOf(Xi)!==-1)ti--;else break}if([tn,nn].indexOf(Gr)!==-1)for(var ti=[vt,$e].indexOf(Hn)!==-1?un:zt;ti>=0;){var Xi=be[ti];if(Xi===St)return Wr;if([jt,Sn].indexOf(Xi)!==-1)ti--;else break}if(Sr===Hn&&[Sr,fr,yr,Dr].indexOf(Gr)!==-1||[fr,yr].indexOf(Hn)!==-1&&[fr,Vr].indexOf(Gr)!==-1||[Vr,Dr].indexOf(Hn)!==-1&&Gr===Vr||Si.indexOf(Hn)!==-1&&[Pt,nn].indexOf(Gr)!==-1||Si.indexOf(Gr)!==-1&&Hn===tn||Ea.indexOf(Hn)!==-1&&Ea.indexOf(Gr)!==-1||Hn===Sn&&Ea.indexOf(Gr)!==-1||Ea.concat(St).indexOf(Hn)!==-1&&Gr===kt&&Vi.indexOf(Ee[Un])===-1||Ea.concat(St).indexOf(Gr)!==-1&&Hn===$e)return Wr;if(Hn===Bi&&Gr===Bi){for(var ts=De[zt],io=1;ts>0&&(ts--,be[ts]===Bi);)io++;if(io%2!==0)return Wr}return Hn===wn&&Gr===Xn?Wr:Mn},Wt=function(Ee,be){be||(be={lineBreak:"normal",wordBreak:"normal"});var De=Ma(Ee,be.lineBreak),Ie=De[0],yt=De[1],zt=De[2];(be.wordBreak==="break-all"||be.wordBreak==="break-word")&&(yt=yt.map(function(Un){return[St,Zt,yi].indexOf(Un)!==-1?Rr:Un}));var un=be.wordBreak==="keep-all"?zt.map(function(Un,Hn){return Un&&Ee[Hn]>=19968&&Ee[Hn]<=40959}):void 0;return[Ie,yt,un]},Kt=function(){function Ee(be,De,Ie,yt){this.codePoints=be,this.required=De===ua,this.start=Ie,this.end=yt}return Ee.prototype.slice=function(){return xe.apply(void 0,this.codePoints.slice(this.start,this.end))},Ee}(),on=function(Ee,be){var De=Ae(Ee),Ie=Wt(De,be),yt=Ie[0],zt=Ie[1],un=Ie[2],Un=De.length,Hn=0,Hr=0;return{next:function(){if(Hr>=Un)return{done:!0,value:null};for(var Gr=Wr;Hr<Un&&(Gr=Gt(De,zt,yt,++Hr,un))===Wr;);if(Gr!==Wr||Hr===Un){var ti=new Kt(De,Gr,Hn,Hr);return Hn=Hr,{value:ti,done:!1}}return{done:!0,value:null}}}},_n=1,lr=2,nr=4,dr=8,Pr=10,Ur=47,ei=92,er=9,kr=32,_i=34,gi=61,ji=35,Mi=36,Ca=37,Jr=39,ra=40,vn=41,gr=95,Ar=45,jr=33,br=60,Ir=62,Fr=64,si=91,bi=93,Ti=61,Pa=123,Ka=63,$a=125,Ua=124,Fa=126,ho=128,oo=65533,ta=42,ui=43,za=44,no=58,La=59,xo=46,os=0,Va=8,Ii=11,Ci=14,Ha=31,Oa=127,eo=-1,Lo=48,vo=97,jn=101,Oo=102,Ks=117,Sa=122,ga=65,Co=69,Fo=70,Es=85,Js=90,Os=function(Ee){return Ee>=Lo&&Ee<=57},ps=function(Ee){return Ee>=55296&&Ee<=57343},as=function(Ee){return Os(Ee)||Ee>=ga&&Ee<=Fo||Ee>=vo&&Ee<=Oo},ol=function(Ee){return Ee>=vo&&Ee<=Sa},fa=function(Ee){return Ee>=ga&&Ee<=Js},la=function(Ee){return ol(Ee)||fa(Ee)},ia=function(Ee){return Ee>=ho},Ln=function(Ee){return Ee===Pr||Ee===er||Ee===kr},In=function(Ee){return la(Ee)||ia(Ee)||Ee===gr},Er=function(Ee){return In(Ee)||Os(Ee)||Ee===Ar},vi=function(Ee){return Ee>=os&&Ee<=Va||Ee===Ii||Ee>=Ci&&Ee<=Ha||Ee===Oa},ha=function(Ee,be){return Ee!==ei?!1:be!==Pr},Ia=function(Ee,be,De){return Ee===Ar?In(be)||ha(be,De):In(Ee)?!0:!!(Ee===ei&&ha(Ee,be))},va=function(Ee,be,De){return Ee===ui||Ee===Ar?Os(be)?!0:be===xo&&Os(De):Os(Ee===xo?be:Ee)},Ji=function(Ee){var be=0,De=1;(Ee[be]===ui||Ee[be]===Ar)&&(Ee[be]===Ar&&(De=-1),be++);for(var Ie=[];Os(Ee[be]);)Ie.push(Ee[be++]);var yt=Ie.length?parseInt(xe.apply(void 0,Ie),10):0;Ee[be]===xo&&be++;for(var zt=[];Os(Ee[be]);)zt.push(Ee[be++]);var un=zt.length,Un=un?parseInt(xe.apply(void 0,zt),10):0;(Ee[be]===Co||Ee[be]===jn)&&be++;var Hn=1;(Ee[be]===ui||Ee[be]===Ar)&&(Ee[be]===Ar&&(Hn=-1),be++);for(var Hr=[];Os(Ee[be]);)Hr.push(Ee[be++]);var Gr=Hr.length?parseInt(xe.apply(void 0,Hr),10):0;return De*(yt+Un*Math.pow(10,-un))*Math.pow(10,Hn*Gr)},ya={type:2},No={type:3},Vo={type:4},cs={type:13},Mo={type:8},ul={type:21},Ss={type:9},vr={type:10},On={type:11},Dn={type:12},wr={type:14},ni={type:23},li={type:1},Or={type:25},Hi={type:24},ca={type:26},uo={type:27},Wa={type:28},Ki={type:29},Na={type:31},so={type:32},rr=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!==so;)be.push(De),De=this.consumeToken();return be},Ee.prototype.consumeToken=function(){var be=this.consumeCodePoint();switch(be){case _i:return this.consumeStringToken(_i);case ji:var De=this.peekCodePoint(0),Ie=this.peekCodePoint(1),yt=this.peekCodePoint(2);if(Er(De)||ha(Ie,yt)){var zt=Ia(De,Ie,yt)?lr:_n,un=this.consumeName();return{type:5,value:un,flags:zt}}break;case Mi:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),cs;break;case Jr:return this.consumeStringToken(Jr);case ra:return ya;case vn:return No;case ta:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),wr;break;case ui:if(va(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case za:return Vo;case Ar:var Un=be,Hn=this.peekCodePoint(0),Hr=this.peekCodePoint(1);if(va(Un,Hn,Hr))return this.reconsumeCodePoint(be),this.consumeNumericToken();if(Ia(Un,Hn,Hr))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();if(Hn===Ar&&Hr===Ir)return this.consumeCodePoint(),this.consumeCodePoint(),Hi;break;case xo:if(va(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case Ur:if(this.peekCodePoint(0)===ta)for(this.consumeCodePoint();;){var Gr=this.consumeCodePoint();if(Gr===ta&&(Gr=this.consumeCodePoint(),Gr===Ur))return this.consumeToken();if(Gr===eo)return this.consumeToken()}break;case no:return ca;case La:return uo;case br:if(this.peekCodePoint(0)===jr&&this.peekCodePoint(1)===Ar&&this.peekCodePoint(2)===Ar)return this.consumeCodePoint(),this.consumeCodePoint(),Or;break;case Fr:var ti=this.peekCodePoint(0),Xi=this.peekCodePoint(1),ts=this.peekCodePoint(2);if(Ia(ti,Xi,ts)){var un=this.consumeName();return{type:7,value:un}}break;case si:return Wa;case ei:if(ha(be,this.peekCodePoint(0)))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();break;case bi:return Ki;case Ti:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),Mo;break;case Pa:return On;case $a:return Dn;case Ks:case Es:var io=this.peekCodePoint(0),Do=this.peekCodePoint(1);return io===ui&&(as(Do)||Do===Ka)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(be),this.consumeIdentLikeToken();case Ua:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),Ss;if(this.peekCodePoint(0)===Ua)return this.consumeCodePoint(),ul;break;case Fa:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),vr;break;case eo:return so}return Ln(be)?(this.consumeWhiteSpace(),Na):Os(be)?(this.reconsumeCodePoint(be),this.consumeNumericToken()):In(be)?(this.reconsumeCodePoint(be),this.consumeIdentLikeToken()):{type:6,value:xe(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();as(De)&&be.length<6;)be.push(De),De=this.consumeCodePoint();for(var Ie=!1;De===Ka&&be.length<6;)be.push(De),De=this.consumeCodePoint(),Ie=!0;if(Ie){var yt=parseInt(xe.apply(void 0,be.map(function(Hn){return Hn===Ka?Lo:Hn})),16),zt=parseInt(xe.apply(void 0,be.map(function(Hn){return Hn===Ka?Fo:Hn})),16);return{type:30,start:yt,end:zt}}var un=parseInt(xe.apply(void 0,be),16);if(this.peekCodePoint(0)===Ar&&as(this.peekCodePoint(1))){this.consumeCodePoint(),De=this.consumeCodePoint();for(var Un=[];as(De)&&Un.length<6;)Un.push(De),De=this.consumeCodePoint();var zt=parseInt(xe.apply(void 0,Un),16);return{type:30,start:un,end:zt}}else return{type:30,start:un,end:un}},Ee.prototype.consumeIdentLikeToken=function(){var be=this.consumeName();return be.toLowerCase()==="url"&&this.peekCodePoint(0)===ra?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ra?(this.consumeCodePoint(),{type:19,value:be}):{type:20,value:be}},Ee.prototype.consumeUrlToken=function(){var be=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===eo)return{type:22,value:""};var De=this.peekCodePoint(0);if(De===Jr||De===_i){var Ie=this.consumeStringToken(this.consumeCodePoint());return Ie.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===eo||this.peekCodePoint(0)===vn)?(this.consumeCodePoint(),{type:22,value:Ie.value}):(this.consumeBadUrlRemnants(),ni)}for(;;){var yt=this.consumeCodePoint();if(yt===eo||yt===vn)return{type:22,value:xe.apply(void 0,be)};if(Ln(yt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===eo||this.peekCodePoint(0)===vn?(this.consumeCodePoint(),{type:22,value:xe.apply(void 0,be)}):(this.consumeBadUrlRemnants(),ni);if(yt===_i||yt===Jr||yt===ra||vi(yt))return this.consumeBadUrlRemnants(),ni;if(yt===ei)if(ha(yt,this.peekCodePoint(0)))be.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ni;else be.push(yt)}},Ee.prototype.consumeWhiteSpace=function(){for(;Ln(this.peekCodePoint(0));)this.consumeCodePoint()},Ee.prototype.consumeBadUrlRemnants=function(){for(;;){var be=this.consumeCodePoint();if(be===vn||be===eo)return;ha(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+=xe.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===eo||yt===void 0||yt===be)return De+=this.consumeStringSlice(Ie),{type:0,value:De};if(yt===Pr)return this._value.splice(0,Ie),li;if(yt===ei){var zt=this._value[Ie+1];zt!==eo&&zt!==void 0&&(zt===Pr?(De+=this.consumeStringSlice(Ie),Ie=-1,this._value.shift()):ha(yt,zt)&&(De+=this.consumeStringSlice(Ie),De+=xe(this.consumeEscapedCodePoint()),Ie=-1))}Ie++}while(!0)},Ee.prototype.consumeNumber=function(){var be=[],De=nr,Ie=this.peekCodePoint(0);for((Ie===ui||Ie===Ar)&&be.push(this.consumeCodePoint());Os(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0);var yt=this.peekCodePoint(1);if(Ie===xo&&Os(yt))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=dr;Os(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0),yt=this.peekCodePoint(1);var zt=this.peekCodePoint(2);if((Ie===Co||Ie===jn)&&((yt===ui||yt===Ar)&&Os(zt)||Os(yt)))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=dr;Os(this.peekCodePoint(0));)be.push(this.consumeCodePoint());return[Ji(be),De]},Ee.prototype.consumeNumericToken=function(){var be=this.consumeNumber(),De=be[0],Ie=be[1],yt=this.peekCodePoint(0),zt=this.peekCodePoint(1),un=this.peekCodePoint(2);if(Ia(yt,zt,un)){var Un=this.consumeName();return{type:15,number:De,flags:Ie,unit:Un}}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(as(be)){for(var De=xe(be);as(this.peekCodePoint(0))&&De.length<6;)De+=xe(this.consumeCodePoint());Ln(this.peekCodePoint(0))&&this.consumeCodePoint();var Ie=parseInt(De,16);return Ie===0||ps(Ie)||Ie>1114111?oo:Ie}return be===eo?oo:be},Ee.prototype.consumeName=function(){for(var be="";;){var De=this.consumeCodePoint();if(Er(De))be+=xe(De);else if(ha(De,this.peekCodePoint(0)))be+=xe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(De),be}},Ee}(),Kn=function(){function Ee(be){this._tokens=be}return Ee.create=function(be){var De=new rr;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||Fu(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"?so:be},Ee.prototype.reconsumeToken=function(be){this._tokens.unshift(be)},Ee}(),Ja=function(Ee){return Ee.type===15},pa=function(Ee){return Ee.type===17},ka=function(Ee){return Ee.type===20},ss=function(Ee){return Ee.type===0},qs=function(Ee,be){return ka(Ee)&&Ee.value===be},tl=function(Ee){return Ee.type!==31},eu=function(Ee){return Ee.type!==31&&Ee.type!==4},nu=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},Fu=function(Ee,be){return be===11&&Ee.type===12||be===28&&Ee.type===29?!0:be===2&&Ee.type===3},wl=function(Ee){return Ee.type===17||Ee.type===15},Vl=function(Ee){return Ee.type===16||wl(Ee)},Io=function(Ee){return Ee.length>1?[Ee[0],Ee[1]]:[Ee[0]]},Xo={type:17,number:0,flags:nr},Pl={type:16,number:50,flags:nr},Tl={type:16,number:100,flags:nr},ml=function(Ee,be,De){var Ie=Ee[0],yt=Ee[1];return[Wo(Ie,be),Wo(typeof yt!="undefined"?yt:Ie,De)]},Wo=function(Ee,be){if(Ee.type===16)return Ee.number/100*be;if(Ja(Ee))switch(Ee.unit){case"rem":case"em":return 16*Ee.number;case"px":default:return Ee.number}return Ee.number},js="deg",zu="grad",mc="rad",cl="turn",ys={name:"angle",parse:function(Ee,be){if(be.type===15)switch(be.unit){case js:return Math.PI*be.number/180;case zu:return Math.PI/200*be.number;case mc:return be.number;case cl:return Math.PI*2*be.number}throw new Error("Unsupported angle type")}},bs=function(Ee){return Ee.type===15&&(Ee.unit===js||Ee.unit===zu||Ee.unit===mc||Ee.unit===cl)},Xl=function(Ee){var be=Ee.filter(ka).map(function(De){return De.value}).join(" ");switch(be){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xo,Xo];case"to top":case"bottom":return gl(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xo,Tl];case"to right":case"left":return gl(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Tl,Tl];case"to bottom":case"top":return gl(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Tl,Xo];case"to left":case"right":return gl(270)}return 0},gl=function(Ee){return Math.PI*Ee/180},kl={name:"color",parse:function(Ee,be){if(be.type===18){var De=qu[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),zt=be.value.substring(2,3);return Gl(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(zt+zt,16),1)}if(be.value.length===4){var Ie=be.value.substring(0,1),yt=be.value.substring(1,2),zt=be.value.substring(2,3),un=be.value.substring(3,4);return Gl(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(zt+zt,16),parseInt(un+un,16)/255)}if(be.value.length===6){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),zt=be.value.substring(4,6);return Gl(parseInt(Ie,16),parseInt(yt,16),parseInt(zt,16),1)}if(be.value.length===8){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),zt=be.value.substring(4,6),un=be.value.substring(6,8);return Gl(parseInt(Ie,16),parseInt(yt,16),parseInt(zt,16),parseInt(un,16)/255)}}if(be.type===20){var Un=Cu[be.value.toUpperCase()];if(typeof Un!="undefined")return Un}return Cu.TRANSPARENT}},vl=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+")"},Gl=function(Ee,be,De,Ie){return(Ee<<24|be<<16|De<<8|Math.round(Ie*255)<<0)>>>0},ic=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},Xc=function(Ee,be){var De=be.filter(eu);if(De.length===3){var Ie=De.map(ic),yt=Ie[0],zt=Ie[1],un=Ie[2];return Gl(yt,zt,un,1)}if(De.length===4){var Un=De.map(ic),yt=Un[0],zt=Un[1],un=Un[2],Hn=Un[3];return Gl(yt,zt,un,Hn)}return 0};function Jl(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 ku=function(Ee,be){var De=be.filter(eu),Ie=De[0],yt=De[1],zt=De[2],un=De[3],Un=(Ie.type===17?gl(Ie.number):ys.parse(Ee,Ie))/(Math.PI*2),Hn=Vl(yt)?yt.number/100:0,Hr=Vl(zt)?zt.number/100:0,Gr=typeof un!="undefined"&&Vl(un)?Wo(un,1):1;if(Hn===0)return Gl(Hr*255,Hr*255,Hr*255,1);var ti=Hr<=.5?Hr*(Hn+1):Hr+Hn-Hr*Hn,Xi=Hr*2-ti,ts=Jl(Xi,ti,Un+1/3),io=Jl(Xi,ti,Un),Do=Jl(Xi,ti,Un-1/3);return Gl(ts*255,io*255,Do*255,Gr)},qu={hsl:ku,hsla:ku,rgb:Xc,rgba:Xc},Hc=function(Ee,be){return kl.parse(Ee,Kn.create(be).parseComponentValue())},Cu={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},nA={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(ka(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},kd={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gd=function(Ee,be){var De=kl.parse(Ee,be[0]),Ie=be[1];return Ie&&Vl(Ie)?{color:De,stop:Ie}:{color:De,stop:null}},uf=function(Ee,be){var De=Ee[0],Ie=Ee[Ee.length-1];De.stop===null&&(De.stop=Xo),Ie.stop===null&&(Ie.stop=Tl);for(var yt=[],zt=0,un=0;un<Ee.length;un++){var Un=Ee[un].stop;if(Un!==null){var Hn=Wo(Un,be);Hn>zt?yt.push(Hn):yt.push(zt),zt=Hn}else yt.push(null)}for(var Hr=null,un=0;un<yt.length;un++){var Gr=yt[un];if(Gr===null)Hr===null&&(Hr=un);else if(Hr!==null){for(var ti=un-Hr,Xi=yt[Hr-1],ts=(Gr-Xi)/(ti+1),io=1;io<=ti;io++)yt[Hr+io-1]=ts*io;Hr=null}}return Ee.map(function(Do,Bl){var As=Do.color;return{color:As,stop:Math.max(Math.min(1,yt[Bl]/be),0)}})},ud=function(Ee,be,De){var Ie=be/2,yt=De/2,zt=Wo(Ee[0],be)-Ie,un=yt-Wo(Ee[1],De);return(Math.atan2(un,zt)+Math.PI*2)%(Math.PI*2)},pA=function(Ee,be,De){var Ie=typeof Ee=="number"?Ee:ud(Ee,be,De),yt=Math.abs(be*Math.sin(Ie))+Math.abs(De*Math.cos(Ie)),zt=be/2,un=De/2,Un=yt/2,Hn=Math.sin(Ie-Math.PI/2)*Un,Hr=Math.cos(Ie-Math.PI/2)*Un;return[yt,zt-Hr,zt+Hr,un-Hn,un+Hn]},lc=function(Ee,be){return Math.sqrt(Ee*Ee+be*be)},_d=function(Ee,be,De,Ie,yt){var zt=[[0,0],[0,be],[Ee,0],[Ee,be]];return zt.reduce(function(un,Un){var Hn=Un[0],Hr=Un[1],Gr=lc(De-Hn,Ie-Hr);return(yt?Gr<un.optimumDistance:Gr>un.optimumDistance)?{optimumCorner:Un,optimumDistance:Gr}:un},{optimumDistance:yt?1/0:-1/0,optimumCorner:null}).optimumCorner},ki=function(Ee,be,De,Ie,yt){var zt=0,un=0;switch(Ee.size){case 0:Ee.shape===0?zt=un=Math.min(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(zt=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)zt=un=Math.min(lc(be,De),lc(be,De-yt),lc(be-Ie,De),lc(be-Ie,De-yt));else if(Ee.shape===1){var Un=Math.min(Math.abs(De),Math.abs(De-yt))/Math.min(Math.abs(be),Math.abs(be-Ie)),Hn=_d(Ie,yt,be,De,!0),Hr=Hn[0],Gr=Hn[1];zt=lc(Hr-be,(Gr-De)/Un),un=Un*zt}break;case 1:Ee.shape===0?zt=un=Math.max(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(zt=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)zt=un=Math.max(lc(be,De),lc(be,De-yt),lc(be-Ie,De),lc(be-Ie,De-yt));else if(Ee.shape===1){var Un=Math.max(Math.abs(De),Math.abs(De-yt))/Math.max(Math.abs(be),Math.abs(be-Ie)),ti=_d(Ie,yt,be,De,!1),Hr=ti[0],Gr=ti[1];zt=lc(Hr-be,(Gr-De)/Un),un=Un*zt}break}return Array.isArray(Ee.size)&&(zt=Wo(Ee.size[0],Ie),un=Ee.size.length===2?Wo(Ee.size[1],yt):zt),[zt,un]},lo=function(Ee,be){var De=gl(180),Ie=[];return nu(be).forEach(function(yt,zt){if(zt===0){var un=yt[0];if(un.type===20&&un.value==="to"){De=Xl(yt);return}else if(bs(un)){De=ys.parse(Ee,un);return}}var Un=gd(Ee,yt);Ie.push(Un)}),{angle:De,stops:Ie,type:1}},fi=function(Ee,be){var De=gl(180),Ie=[];return nu(be).forEach(function(yt,zt){if(zt===0){var un=yt[0];if(un.type===20&&["top","left","right","bottom"].indexOf(un.value)!==-1){De=Xl(yt);return}else if(bs(un)){De=(ys.parse(Ee,un)+gl(270))%gl(360);return}}var Un=gd(Ee,yt);Ie.push(Un)}),{angle:De,stops:Ie,type:1}},To=function(Ee,be){var De=gl(180),Ie=[],yt=1,zt=0,un=3,Un=[];return nu(be).forEach(function(Hn,Hr){var Gr=Hn[0];if(Hr===0){if(ka(Gr)&&Gr.value==="linear"){yt=1;return}else if(ka(Gr)&&Gr.value==="radial"){yt=2;return}}if(Gr.type===18){if(Gr.name==="from"){var ti=kl.parse(Ee,Gr.values[0]);Ie.push({stop:Xo,color:ti})}else if(Gr.name==="to"){var ti=kl.parse(Ee,Gr.values[0]);Ie.push({stop:Tl,color:ti})}else if(Gr.name==="color-stop"){var Xi=Gr.values.filter(eu);if(Xi.length===2){var ti=kl.parse(Ee,Xi[1]),ts=Xi[0];pa(ts)&&Ie.push({stop:{type:16,number:ts.number*100,flags:ts.flags},color:ti})}}}}),yt===1?{angle:(De+gl(180))%gl(360),stops:Ie,type:yt}:{size:un,shape:zt,stops:Ie,position:Un,type:yt}},ds="closest-side",mu="farthest-side",gu="closest-corner",_l="farthest-corner",Bc="circle",Lc="ellipse",Sc="cover",dl="contain",Gs=function(Ee,be){var De=0,Ie=3,yt=[],zt=[];return nu(be).forEach(function(un,Un){var Hn=!0;if(Un===0){var Hr=!1;Hn=un.reduce(function(ti,Xi){if(Hr)if(ka(Xi))switch(Xi.value){case"center":return zt.push(Pl),ti;case"top":case"left":return zt.push(Xo),ti;case"right":case"bottom":return zt.push(Tl),ti}else(Vl(Xi)||wl(Xi))&&zt.push(Xi);else if(ka(Xi))switch(Xi.value){case Bc:return De=0,!1;case Lc:return De=1,!1;case"at":return Hr=!0,!1;case ds:return Ie=0,!1;case Sc:case mu:return Ie=1,!1;case dl:case gu:return Ie=2,!1;case _l:return Ie=3,!1}else if(wl(Xi)||Vl(Xi))return Array.isArray(Ie)||(Ie=[]),Ie.push(Xi),!1;return ti},Hn)}if(Hn){var Gr=gd(Ee,un);yt.push(Gr)}}),{size:Ie,shape:De,stops:yt,position:zt,type:2}},Ms=function(Ee,be){var De=0,Ie=3,yt=[],zt=[];return nu(be).forEach(function(un,Un){var Hn=!0;if(Un===0?Hn=un.reduce(function(Gr,ti){if(ka(ti))switch(ti.value){case"center":return zt.push(Pl),!1;case"top":case"left":return zt.push(Xo),!1;case"right":case"bottom":return zt.push(Tl),!1}else if(Vl(ti)||wl(ti))return zt.push(ti),!1;return Gr},Hn):Un===1&&(Hn=un.reduce(function(Gr,ti){if(ka(ti))switch(ti.value){case Bc:return De=0,!1;case Lc:return De=1,!1;case dl:case ds:return Ie=0,!1;case mu:return Ie=1,!1;case gu:return Ie=2,!1;case Sc:case _l:return Ie=3,!1}else if(wl(ti)||Vl(ti))return Array.isArray(Ie)||(Ie=[]),Ie.push(ti),!1;return Gr},Hn)),Hn){var Hr=gd(Ee,un);yt.push(Hr)}}),{size:Ie,shape:De,stops:yt,position:zt,type:2}},Wu=function(Ee){return Ee.type===1},gc=function(Ee){return Ee.type===2},Zu={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=vd[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 vc(Ee){return!(Ee.type===20&&Ee.value==="none")&&(Ee.type!==18||!!vd[Ee.name])}var vd={"linear-gradient":lo,"-moz-linear-gradient":fi,"-ms-linear-gradient":fi,"-o-linear-gradient":fi,"-webkit-linear-gradient":fi,"radial-gradient":Gs,"-moz-radial-gradient":Ms,"-ms-radial-gradient":Ms,"-o-radial-gradient":Ms,"-webkit-radial-gradient":Ms,"-webkit-gradient":To},cd={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 eu(Ie)&&vc(Ie)}).map(function(Ie){return Zu.parse(Ee,Ie)})}},ac={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(ka(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Dc={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Ee,be){return nu(be).map(function(De){return De.filter(Vl)}).map(Io)}},Nu={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ee,be){return nu(be).map(function(De){return De.filter(ka).map(function(Ie){return Ie.value}).join(" ")}).map(Ec)}},Ec=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}},$u;(function(Ee){Ee.AUTO="auto",Ee.CONTAIN="contain",Ee.COVER="cover"})($u||($u={}));var Pu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ee,be){return nu(be).map(function(De){return De.filter(Oc)})}},Oc=function(Ee){return ka(Ee)||Vl(Ee)},yd=function(Ee){return{name:"border-"+Ee+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},nh=yd("top"),KA=yd("right"),Bh=yd("bottom"),rA=yd("left"),zA=function(Ee){return{name:"border-radius-"+Ee,initialValue:"0 0",prefix:!1,type:1,parse:function(be,De){return Io(De.filter(Vl))}}},am=zA("top-left"),mA=zA("top-right"),Vd=zA("bottom-right"),Jc=zA("bottom-left"),ru=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}}},iA=ru("top"),gf=ru("right"),WA=ru("bottom"),nd=ru("left"),gA=function(Ee){return{name:"border-"+Ee+"-width",initialValue:"0",type:0,prefix:!1,parse:function(be,De){return Ja(De)?De.number:0}}},rh=gA("top"),vf=gA("right"),k0=gA("bottom"),np=gA("left"),uc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},aA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"rtl":return 1;case"ltr":default:return 0}}},rp={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ee,be){return be.filter(ka).reduce(function(De,Ie){return De|Ot(Ie.value)},0)}},Ot=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},Rt={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}},fn={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 Jn={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}}},Rn={name:"line-height",initialValue:"normal",prefix:!1,type:4},mr=function(Ee,be){return ka(Ee)&&Ee.value==="normal"?1.2*be:Ee.type===17?be*Ee.number:Vl(Ee)?Wo(Ee,be):be},hr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ee,be){return be.type===20&&be.value==="none"?null:Zu.parse(Ee,be)}},cr={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}}},Zr={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}},$r=hi("top"),Yi=hi("right"),Ri=hi("bottom"),zi=hi("left"),Za={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ee,be){return be.filter(ka).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}})}},_a={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"}}},Ra=function(Ee){return{name:"padding-"+Ee,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Da=Ra("top"),ro=Ra("right"),Qo=Ra("bottom"),Jo=Ra("left"),ko={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}}},ls={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}},Fs={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.length===1&&qs(be[0],"none")?[]:nu(be).map(function(De){for(var Ie={color:Cu.TRANSPARENT,offsetX:Xo,offsetY:Xo,blur:Xo},yt=0,zt=0;zt<De.length;zt++){var un=De[zt];wl(un)?(yt===0?Ie.offsetX=un:yt===1?Ie.offsetY=un:Ie.blur=un,yt++):Ie.color=kl.parse(Ee,un)}return Ie})}},Ao={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}},Po={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}},yo=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(Hn){return Hn.type===17}).map(function(Hn){return Hn.number}),De=be[0],Ie=be[1];be[2],be[3];var yt=be[4],zt=be[5];be[6],be[7],be[8],be[9],be[10],be[11];var un=be[12],Un=be[13];return be[14],be[15],be.length===16?[De,Ie,yt,zt,un,Un]:null},Bo={matrix:yo,matrix3d:Ba},ns={type:16,number:50,flags:nr},Ys=[ns,ns],rs={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(Ee,be){var De=be.filter(Vl);return De.length!==2?Ys:[De[0],De[1]]}},Ga={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}}},ms;(function(Ee){Ee.NORMAL="normal",Ee.BREAK_ALL="break-all",Ee.KEEP_ALL="keep-all"})(ms||(ms={}));for(var Is={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"break-all":return ms.BREAK_ALL;case"keep-all":return ms.KEEP_ALL;case"normal":default:return ms.NORMAL}}},Rl={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(Ee,be){if(be.type===20)return{auto:!0,order:0};if(pa(be))return{auto:!1,order:be.number};throw new Error("Invalid z-index number parsed")}},Ml={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")}},Bu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(Ee,be){return pa(be)?be.number:1}},Su={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ks={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(Ee,be){return be.filter(ka).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})}},oc={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+"'"})}},yl={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},cu={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(Ee,be){if(pa(be))return be.number;if(ka(be))switch(be.value){case"bold":return 700;case"normal":default:return 400}return 400}},du={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.filter(ka).map(function(De){return De.value})}},Fc={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"}}},So=function(Ee,be){return(Ee&be)!==0},$o={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}},es={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(tl),zt=0;zt<yt.length;zt++){var un=yt[zt],Un=yt[zt+1];if(un.type===20){var Hn=Un&&pa(Un)?Un.number:1;Ie.push({counter:un.value,increment:Hn})}}return Ie}},Ro={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(Ee,be){if(be.length===0)return[];for(var De=[],Ie=be.filter(tl),yt=0;yt<Ie.length;yt++){var zt=Ie[yt],un=Ie[yt+1];if(ka(zt)&&zt.value!=="none"){var Un=un&&pa(un)?un.number:0;De.push({counter:zt.value,reset:Un})}}return De}},Ll={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(Ee,be){return be.filter(Ja).map(function(De){return Ml.parse(Ee,De)})}},jo={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(ss);if(yt.length%2!==0)return null;for(var zt=0;zt<yt.length;zt+=2){var un=yt[zt].value,Un=yt[zt+1].value;Ie.push({open:un,close:Un})}return Ie}},ws=function(Ee,be,De){if(!Ee)return"";var Ie=Ee[Math.min(be,Ee.length-1)];return Ie?De?Ie.open:Ie.close:""},nl={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.length===1&&qs(be[0],"none")?[]:nu(be).map(function(De){for(var Ie={color:255,offsetX:Xo,offsetY:Xo,blur:Xo,spread:Xo,inset:!1},yt=0,zt=0;zt<De.length;zt++){var un=De[zt];qs(un,"inset")?Ie.inset=!0:wl(un)?(yt===0?Ie.offsetX=un:yt===1?Ie.offsetY=un:yt===2?Ie.blur=un:Ie.spread=un,yt++):Ie.color=kl.parse(Ee,un)}return Ie})}},Al={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(Ee,be){var De=[0,1,2],Ie=[];return be.filter(ka).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}},qc={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Vu={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(Ee,be){return Ja(be)?be.number:0}},Pd=function(){function Ee(be,De){var Ie,yt;this.animationDuration=to(be,Ll,De.animationDuration),this.backgroundClip=to(be,nA,De.backgroundClip),this.backgroundColor=to(be,kd,De.backgroundColor),this.backgroundImage=to(be,cd,De.backgroundImage),this.backgroundOrigin=to(be,ac,De.backgroundOrigin),this.backgroundPosition=to(be,Dc,De.backgroundPosition),this.backgroundRepeat=to(be,Nu,De.backgroundRepeat),this.backgroundSize=to(be,Pu,De.backgroundSize),this.borderTopColor=to(be,nh,De.borderTopColor),this.borderRightColor=to(be,KA,De.borderRightColor),this.borderBottomColor=to(be,Bh,De.borderBottomColor),this.borderLeftColor=to(be,rA,De.borderLeftColor),this.borderTopLeftRadius=to(be,am,De.borderTopLeftRadius),this.borderTopRightRadius=to(be,mA,De.borderTopRightRadius),this.borderBottomRightRadius=to(be,Vd,De.borderBottomRightRadius),this.borderBottomLeftRadius=to(be,Jc,De.borderBottomLeftRadius),this.borderTopStyle=to(be,iA,De.borderTopStyle),this.borderRightStyle=to(be,gf,De.borderRightStyle),this.borderBottomStyle=to(be,WA,De.borderBottomStyle),this.borderLeftStyle=to(be,nd,De.borderLeftStyle),this.borderTopWidth=to(be,rh,De.borderTopWidth),this.borderRightWidth=to(be,vf,De.borderRightWidth),this.borderBottomWidth=to(be,k0,De.borderBottomWidth),this.borderLeftWidth=to(be,np,De.borderLeftWidth),this.boxShadow=to(be,nl,De.boxShadow),this.color=to(be,uc,De.color),this.direction=to(be,aA,De.direction),this.display=to(be,rp,De.display),this.float=to(be,Rt,De.cssFloat),this.fontFamily=to(be,oc,De.fontFamily),this.fontSize=to(be,yl,De.fontSize),this.fontStyle=to(be,Fc,De.fontStyle),this.fontVariant=to(be,du,De.fontVariant),this.fontWeight=to(be,cu,De.fontWeight),this.letterSpacing=to(be,fn,De.letterSpacing),this.lineBreak=to(be,Jn,De.lineBreak),this.lineHeight=to(be,Rn,De.lineHeight),this.listStyleImage=to(be,hr,De.listStyleImage),this.listStylePosition=to(be,cr,De.listStylePosition),this.listStyleType=to(be,Zr,De.listStyleType),this.marginTop=to(be,$r,De.marginTop),this.marginRight=to(be,Yi,De.marginRight),this.marginBottom=to(be,Ri,De.marginBottom),this.marginLeft=to(be,zi,De.marginLeft),this.opacity=to(be,Bu,De.opacity);var zt=to(be,Za,De.overflow);this.overflowX=zt[0],this.overflowY=zt[zt.length>1?1:0],this.overflowWrap=to(be,_a,De.overflowWrap),this.paddingTop=to(be,Da,De.paddingTop),this.paddingRight=to(be,ro,De.paddingRight),this.paddingBottom=to(be,Qo,De.paddingBottom),this.paddingLeft=to(be,Jo,De.paddingLeft),this.paintOrder=to(be,Al,De.paintOrder),this.position=to(be,ls,De.position),this.textAlign=to(be,ko,De.textAlign),this.textDecorationColor=to(be,Su,(Ie=De.textDecorationColor)!==null&&Ie!==void 0?Ie:De.color),this.textDecorationLine=to(be,ks,(yt=De.textDecorationLine)!==null&&yt!==void 0?yt:De.textDecoration),this.textShadow=to(be,Fs,De.textShadow),this.textTransform=to(be,Ao,De.textTransform),this.transform=to(be,Po,De.transform),this.transformOrigin=to(be,rs,De.transformOrigin),this.visibility=to(be,Ga,De.visibility),this.webkitTextStrokeColor=to(be,qc,De.webkitTextStrokeColor),this.webkitTextStrokeWidth=to(be,Vu,De.webkitTextStrokeWidth),this.wordBreak=to(be,Is,De.wordBreak),this.zIndex=to(be,Rl,De.zIndex)}return Ee.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ee.prototype.isTransparent=function(){return vl(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 So(this.display,4)||So(this.display,33554432)||So(this.display,268435456)||So(this.display,536870912)||So(this.display,67108864)||So(this.display,134217728)},Ee}(),ec=function(){function Ee(be,De){this.content=to(be,$o,De.content),this.quotes=to(be,jo,De.quotes)}return Ee}(),Td=function(){function Ee(be,De){this.counterIncrement=to(be,es,De.counterIncrement),this.counterReset=to(be,Ro,De.counterReset)}return Ee}(),to=function(Ee,be,De){var Ie=new rr,yt=De!==null&&typeof De!="undefined"?De.toString():be.initialValue;Ie.write(yt);var zt=new Kn(Ie.read());switch(be.type){case 2:var un=zt.parseComponentValue();return be.parse(Ee,ka(un)?un.value:be.initialValue);case 0:return be.parse(Ee,zt.parseComponentValue());case 1:return be.parse(Ee,zt.parseComponentValues());case 4:return zt.parseComponentValue();case 3:switch(be.format){case"angle":return ys.parse(Ee,zt.parseComponentValue());case"color":return kl.parse(Ee,zt.parseComponentValue());case"image":return Zu.parse(Ee,zt.parseComponentValue());case"length":var Un=zt.parseComponentValue();return wl(Un)?Un:Xo;case"length-percentage":var Hn=zt.parseComponentValue();return Vl(Hn)?Hn:Xo;case"time":return Ml.parse(Ee,zt.parseComponentValue())}break}},Nc="data-html2canvas-debug",ZA=function(Ee){var be=Ee.getAttribute(Nc);switch(be){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},bl=function(Ee,be){var De=ZA(Ee);return De===1||be===De},aa=function(){function Ee(be,De){if(this.context=be,this.textNodes=[],this.elements=[],this.flags=0,bl(De,3))debugger;this.styles=new Pd(be,window.getComputedStyle(De,null)),N0(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),bl(De,4)&&(this.flags|=16)}return Ee}(),Ql="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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TQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACA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UBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GM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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",yc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_u=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),fs=0;fs<yc.length;fs++)_u[yc.charCodeAt(fs)]=fs;for(var ql=function(Ee){var be=Ee.length*.75,De=Ee.length,Ie,yt=0,zt,un,Un,Hn;Ee[Ee.length-1]==="="&&(be--,Ee[Ee.length-2]==="="&&be--);var Hr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(be):new Array(be),Gr=Array.isArray(Hr)?Hr:new Uint8Array(Hr);for(Ie=0;Ie<De;Ie+=4)zt=_u[Ee.charCodeAt(Ie)],un=_u[Ee.charCodeAt(Ie+1)],Un=_u[Ee.charCodeAt(Ie+2)],Hn=_u[Ee.charCodeAt(Ie+3)],Gr[yt++]=zt<<2|un>>4,Gr[yt++]=(un&15)<<4|Un>>2,Gr[yt++]=(Un&3)<<6|Hn&63;return Hr},Pc=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie<be;Ie+=2)De.push(Ee[Ie+1]<<8|Ee[Ie]);return De},Md=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},bd=5,Tc=11,Gu=2,vA=Tc-bd,Qc=65536>>bd,Yu=1<<bd,Rc=Yu-1,Iu=1024>>bd,Tu=Qc+Iu,rd=Tu,oA=32,Rd=rd+oA,yA=65536>>Tc,VA=1<<vA,Sh=VA-1,xl=function(Ee,be,De){return Ee.slice?Ee.slice(be,De):new Uint16Array(Array.prototype.slice.call(Ee,be,De))},iu=function(Ee,be,De){return Ee.slice?Ee.slice(be,De):new Uint32Array(Array.prototype.slice.call(Ee,be,De))},kc=function(Ee,be){var De=ql(Ee),Ie=Array.isArray(De)?Md(De):new Uint32Array(De),yt=Array.isArray(De)?Pc(De):new Uint16Array(De),zt=24,un=xl(yt,zt/2,Ie[4]/2),Un=Ie[5]===2?xl(yt,(zt+Ie[4])/2):iu(Ie,Math.ceil((zt+Ie[4])/4));return new au(Ie[0],Ie[1],Ie[2],Ie[3],un,Un)},au=function(){function Ee(be,De,Ie,yt,zt,un){this.initialValue=be,this.errorValue=De,this.highStart=Ie,this.highValueIndex=yt,this.index=zt,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>>bd],De=(De<<Gu)+(be&Rc),this.data[De];if(be<=65535)return De=this.index[Qc+(be-55296>>bd)],De=(De<<Gu)+(be&Rc),this.data[De];if(be<this.highStart)return De=Rd-yA+(be>>Tc),De=this.index[De],De+=be>>bd&Sh,De=this.index[De],De=(De<<Gu)+(be&Rc),this.data[De];if(be<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Ee}(),bc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_c=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),tc=0;tc<bc.length;tc++)_c[bc.charCodeAt(tc)]=tc;var bA=1,ih=2,wA=3,xA=4,fl=5,Ru=7,sA=8,CA=9,id=10,$h=11,cc=12,Eh=13,e0=14,If=15,ah=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 zt=Ee.charCodeAt(De++);(zt&64512)===56320?be.push(((yt&1023)<<10)+(zt&1023)+65536):(be.push(yt),De--)}else be.push(yt)}return be},Lf=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,zt="";++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)&&(zt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return zt},yf=kc(Ql),Li="\xD7",oh="\xF7",Fh=function(Ee){return yf.get(Ee)},t0=function(Ee,be,De){var Ie=De-2,yt=be[Ie],zt=be[De-1],un=be[De];if(zt===ih&&un===wA)return Li;if(zt===ih||zt===wA||zt===xA||un===ih||un===wA||un===xA)return oh;if(zt===sA&&[sA,CA,$h,cc].indexOf(un)!==-1||(zt===$h||zt===CA)&&(un===CA||un===id)||(zt===cc||zt===id)&&un===id||un===Eh||un===fl||un===Ru||zt===bA)return Li;if(zt===Eh&&un===e0){for(;yt===fl;)yt=be[--Ie];if(yt===e0)return Li}if(zt===If&&un===If){for(var Un=0;yt===If;)Un++,yt=be[--Ie];if(Un%2===0)return Li}return oh},BA=function(Ee){var be=ah(Ee),De=be.length,Ie=0,yt=0,zt=be.map(Fh);return{next:function(){if(Ie>=De)return{done:!0,value:null};for(var un=Li;Ie<De&&(un=t0(be,zt,++Ie))===Li;);if(un!==Li||Ie===De){var Un=Lf.apply(null,be.slice(yt,Ie));return yt=Ie,{value:Un,done:!1}}return{done:!0,value:null}}}},Df=function(Ee){for(var be=BA(Ee),De=[],Ie;!(Ie=be.next()).done;)Ie.value&&De.push(Ie.value.slice());return De},sh=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(),zt=Math.round(yt.height);if(Ee.body.removeChild(Ie),zt===be)return!0}}return!1},bf=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(Hn){return xe(Hn)}),zt=0,un={},Un=yt.every(function(Hn,Hr){De.setStart(Ie,zt),De.setEnd(Ie,zt+Hn.length);var Gr=De.getBoundingClientRect();zt+=Hn.length;var ti=Gr.x>un.x||Gr.y>un.y;return un=Gr,Hr===0?!0:ti});return Ee.body.removeChild(be),Un},Lu=function(){return typeof new Image().crossOrigin!="undefined"},wf=function(){return typeof new XMLHttpRequest().responseType=="string"},kh=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},SA=function(Ee){return Ee[0]===0&&Ee[1]===255&&Ee[2]===0&&Ee[3]===255},lh=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,zt=be.toDataURL();yt.src=zt;var un=EA(De,De,0,0,yt);return Ie.fillStyle="red",Ie.fillRect(0,0,De,De),GA(un).then(function(Un){Ie.drawImage(Un,0,0);var Hn=Ie.getImageData(0,0,De,De).data;Ie.fillStyle="red",Ie.fillRect(0,0,De,De);var Hr=Ee.createElement("div");return Hr.style.backgroundImage="url("+zt+")",Hr.style.height=De+"px",SA(Hn)?GA(EA(De,De,0,0,Hr)):Promise.reject(!1)}).then(function(Un){return Ie.drawImage(Un,0,0),SA(Ie.getImageData(0,0,De,De).data)}).catch(function(){return!1})},EA=function(Ee,be,De,Ie,yt){var zt="http://www.w3.org/2000/svg",un=document.createElementNS(zt,"svg"),Un=document.createElementNS(zt,"foreignObject");return un.setAttributeNS(null,"width",Ee.toString()),un.setAttributeNS(null,"height",be.toString()),Un.setAttributeNS(null,"width","100%"),Un.setAttributeNS(null,"height","100%"),Un.setAttributeNS(null,"x",De.toString()),Un.setAttributeNS(null,"y",Ie.toString()),Un.setAttributeNS(null,"externalResourcesRequired","true"),un.appendChild(Un),Un.appendChild(yt),un},GA=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))})},Au={get SUPPORT_RANGE_BOUNDS(){var Ee=sh(document);return Object.defineProperty(Au,"SUPPORT_RANGE_BOUNDS",{value:Ee}),Ee},get SUPPORT_WORD_BREAKING(){var Ee=Au.SUPPORT_RANGE_BOUNDS&&bf(document);return Object.defineProperty(Au,"SUPPORT_WORD_BREAKING",{value:Ee}),Ee},get SUPPORT_SVG_DRAWING(){var Ee=kh(document);return Object.defineProperty(Au,"SUPPORT_SVG_DRAWING",{value:Ee}),Ee},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ee=typeof Array.from=="function"&&typeof window.fetch=="function"?lh(document):Promise.resolve(!1);return Object.defineProperty(Au,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ee}),Ee},get SUPPORT_CORS_IMAGES(){var Ee=Lu();return Object.defineProperty(Au,"SUPPORT_CORS_IMAGES",{value:Ee}),Ee},get SUPPORT_RESPONSE_TYPE(){var Ee=wf();return Object.defineProperty(Au,"SUPPORT_RESPONSE_TYPE",{value:Ee}),Ee},get SUPPORT_CORS_XHR(){var Ee="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Au,"SUPPORT_CORS_XHR",{value:Ee}),Ee},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ee=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Au,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ee}),Ee}},$c=function(){function Ee(be,De){this.text=be,this.bounds=De}return Ee}(),jc=function(Ee,be,De,Ie){var yt=XA(be,De),zt=[],un=0;return yt.forEach(function(Un){if(De.textDecorationLine.length||Un.trim().length>0)if(Au.SUPPORT_RANGE_BOUNDS){var Hn=Cl(Ie,un,Un.length).getClientRects();if(Hn.length>1){var Hr=jl(Un),Gr=0;Hr.forEach(function(Xi){zt.push(new $c(Xi,Oe.fromDOMRectList(Ee,Cl(Ie,Gr+un,Xi.length).getClientRects()))),Gr+=Xi.length})}else zt.push(new $c(Un,Oe.fromDOMRectList(Ee,Hn)))}else{var ti=Ie.splitText(Un.length);zt.push(new $c(Un,YA(Ee,Ie))),Ie=ti}else Au.SUPPORT_RANGE_BOUNDS||(Ie=Ie.splitText(Un.length));un+=Un.length}),zt},YA=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 zt=Le(Ee,Ie);return Ie.firstChild&&yt.replaceChild(Ie.firstChild,Ie),zt}}return Oe.EMPTY},Cl=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},jl=function(Ee){if(Au.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 Df(Ee)},wd=function(Ee,be){if(Au.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)},XA=function(Ee,be){return be.letterSpacing!==0?jl(Ee):wd(Ee,be)},JA=[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,zt=function(){if(yt.value){var un=yt.value.slice(),Un=Ae(un),Hn="";Un.forEach(function(Hr){JA.indexOf(Hr)===-1?Hn+=xe(Hr):(Hn.length&&Ie.push(Hn),Ie.push(xe(Hr)),Hn="")}),Hn.length&&Ie.push(Hn)}};!(yt=De.next()).done;)zt();return Ie},Mc=function(){function Ee(be,De,Ie){this.text=FA(De.data,Ie.textTransform),this.textBounds=jc(be,this.text,Ie,De)}return Ee}(),FA=function(Ee,be){switch(be){case 1:return Ee.toLowerCase();case 3:return Ee.replace(M0,xf);case 2:return Ee.toUpperCase();default:return Ee}},M0=/(^|\s|:|-|\(|\))([a-z])/g,xf=function(Ee,be,De){return Ee.length>0?be+De.toUpperCase():Ee},I0=function(Ee){de(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}(aa),Kl=function(Ee){de(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}(aa),_h=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this,zt=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(zt.serializeToString(Ie)),yt.intrinsicWidth=Ie.width.baseVal.value,yt.intrinsicHeight=Ie.height.baseVal.value,yt.context.cache.addImage(yt.svg),yt}return be}(aa),Cf=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.value=Ie.value,yt}return be}(aa),Mh=function(Ee){de(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}(aa),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 Oe(Ee.left+(Ee.width-Ee.height)/2,Ee.top,Ee.height,Ee.height):Ee.width<Ee.height?new Oe(Ee.left,Ee.top+(Ee.height-Ee.width)/2,Ee.width,Ee.width):Ee},ip=function(Ee){var be=Ee.type===Of?new Array(Ee.value.length+1).join("\u2022"):Ee.value;return be.length===0?Ee.placeholder||"":be},n0="checkbox",qA="radio",Of="password",ap=707406591,ed=function(Ee){de(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=ip(Ie),(yt.type===n0||yt.type===qA)&&(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 n0:yt.styles.borderTopRightRadius=yt.styles.borderTopLeftRadius=yt.styles.borderBottomRightRadius=yt.styles.borderBottomLeftRadius=Ei;break;case qA:yt.styles.borderTopRightRadius=yt.styles.borderTopLeftRadius=yt.styles.borderBottomRightRadius=yt.styles.borderBottomLeftRadius=om;break}return yt}return be}(aa),Nf=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this,zt=Ie.options[Ie.selectedIndex||0];return yt.value=zt&&zt.text||"",yt}return be}(aa),r0=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.value=Ie.value,yt}return be}(aa),L0=function(Ee){de(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=Cp(De,Ie.contentWindow.document.documentElement);var zt=Ie.contentWindow.document.documentElement?Hc(De,getComputedStyle(Ie.contentWindow.document.documentElement).backgroundColor):Cu.TRANSPARENT,un=Ie.contentWindow.document.body?Hc(De,getComputedStyle(Ie.contentWindow.document.body).backgroundColor):Cu.TRANSPARENT;yt.backgroundColor=vl(zt)?vl(un)?yt.styles.backgroundColor:un:zt}}catch(Un){}return yt}return be}(aa),D0=["OL","UL","MENU"],Ih=function(Ee,be,De,Ie){for(var yt=be.firstChild,zt=void 0;yt;yt=zt)if(zt=yt.nextSibling,Pf(yt)&&yt.data.trim().length>0)De.textNodes.push(new Mc(Ee,yt,De.styles));else if(Lh(yt))if(Oh(yt)&&yt.assignedNodes)yt.assignedNodes().forEach(function(Un){return Ih(Ee,Un,De,Ie)});else{var un=op(Ee,yt);un.styles.isVisible()&&(O0(yt,un,Ie)?un.flags|=4:Ud(un.styles)&&(un.flags|=2),D0.indexOf(yt.tagName)!==-1&&(un.flags|=8),De.elements.push(un),yt.slot,yt.shadowRoot?Ih(Ee,yt.shadowRoot,un,Ie):!Dh(yt)&&!Bp(yt)&&!i0(yt)&&Ih(Ee,yt,un,Ie))}},op=function(Ee,be){return IA(be)?new I0(Ee,be):um(be)?new Kl(Ee,be):Bp(be)?new _h(Ee,be):lm(be)?new Cf(Ee,be):sp(be)?new Mh(Ee,be):Hm(be)?new ed(Ee,be):i0(be)?new Nf(Ee,be):Dh(be)?new r0(Ee,be):$A(be)?new L0(Ee,be):new aa(Ee,be)},Cp=function(Ee,be){var De=op(Ee,be);return De.flags|=4,Ih(Ee,be,De,De),De},O0=function(Ee,be,De){return be.styles.isPositionedWithZIndex()||be.styles.opacity<1||be.styles.isTransformed()||Us(Ee)&&De.styles.isTransparent()},Ud=function(Ee){return Ee.isPositioned()||Ee.isFloating()},Pf=function(Ee){return Ee.nodeType===Node.TEXT_NODE},Lh=function(Ee){return Ee.nodeType===Node.ELEMENT_NODE},N0=function(Ee){return Lh(Ee)&&typeof Ee.style!="undefined"&&!cf(Ee)},cf=function(Ee){return typeof Ee.className=="object"},lm=function(Ee){return Ee.tagName==="LI"},sp=function(Ee){return Ee.tagName==="OL"},Hm=function(Ee){return Ee.tagName==="INPUT"},Qm=function(Ee){return Ee.tagName==="HTML"},Bp=function(Ee){return Ee.tagName==="svg"},Us=function(Ee){return Ee.tagName==="BODY"},um=function(Ee){return Ee.tagName==="CANVAS"},lp=function(Ee){return Ee.tagName==="VIDEO"},IA=function(Ee){return Ee.tagName==="IMG"},$A=function(Ee){return Ee.tagName==="IFRAME"},Tf=function(Ee){return Ee.tagName==="STYLE"},P0=function(Ee){return Ee.tagName==="SCRIPT"},Dh=function(Ee){return Ee.tagName==="TEXTAREA"},i0=function(Ee){return Ee.tagName==="SELECT"},Oh=function(Ee){return Ee.tagName==="SLOT"},Sp=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,zt=!0;Ie!==null&&Ie.forEach(function(Un){var Hn=De.counters[Un.counter];Hn&&Un.increment!==0&&(zt=!1,Hn.length||Hn.push(1),Hn[Math.max(0,Hn.length-1)]+=Un.increment)});var un=[];return zt&&yt.forEach(function(Un){var Hn=De.counters[Un.counter];un.push(Un.counter),Hn||(Hn=De.counters[Un.counter]=[]),Hn.push(Un.reset)}),un},Ee}(),T0={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"]},a0={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"]},Uu={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"]},uh=function(Ee,be,De,Ie,yt,zt){return Ee<be||Ee>De?ue(Ee,yt,zt.length>0):Ie.integers.reduce(function(un,Un,Hn){for(;Ee>=Un;)Ee-=Un,un+=Ie.values[Hn];return un},"")+zt},jm=function(Ee,be,De,Ie){var yt="";do De||Ee--,yt=Ie(Ee)+yt,Ee/=be;while(Ee*be>=be);return yt},dc=function(Ee,be,De,Ie,yt){var zt=De-be+1;return(Ee<0?"-":"")+(jm(Math.abs(Ee),zt,Ie,function(un){return xe(Math.floor(un%zt)+be)})+yt)},ch=function(Ee,be,De){De===void 0&&(De=". ");var Ie=be.length;return jm(Math.abs(Ee),Ie,!1,function(yt){return be[Math.floor(yt%Ie)]})+De},Bf=1,Rf=2,ou=4,df=8,kA=function(Ee,be,De,Ie,yt,zt){if(Ee<-9999||Ee>9999)return ue(Ee,4,yt.length>0);var un=Math.abs(Ee),Un=yt;if(un===0)return be[0]+Un;for(var Hn=0;un>0&&Hn<=4;Hn++){var Hr=un%10;Hr===0&&So(zt,Bf)&&Un!==""?Un=be[Hr]+Un:Hr>1||Hr===1&&Hn===0||Hr===1&&Hn===1&&So(zt,Rf)||Hr===1&&Hn===1&&So(zt,ou)&&Ee>100||Hr===1&&Hn>1&&So(zt,df)?Un=be[Hr]+(Hn>0?De[Hn-1]:"")+Un:Hr===1&&Hn>0&&(Un=De[Hn-1]+Un),un=Math.floor(un/10)}return(Ee<0?Ie:"")+Un},Sf="\u5341\u767E\u5343\u842C",ef="\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":"",zt=De?", ":"",un=De?" ":"";switch(be){case 0:return"\u2022"+un;case 1:return"\u25E6"+un;case 2:return"\u25FE"+un;case 5:var Un=dc(Ee,48,57,!0,Ie);return Un.length<4?"0"+Un:Un;case 4:return ch(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",yt);case 6:return uh(Ee,1,3999,T0,3,Ie).toLowerCase();case 7:return uh(Ee,1,3999,T0,3,Ie);case 8:return dc(Ee,945,969,!1,Ie);case 9:return dc(Ee,97,122,!1,Ie);case 10:return dc(Ee,65,90,!1,Ie);case 11:return dc(Ee,1632,1641,!0,Ie);case 12:case 49:return uh(Ee,1,9999,a0,3,Ie);case 35:return uh(Ee,1,9999,a0,3,Ie).toLowerCase();case 13:return dc(Ee,2534,2543,!0,Ie);case 14:case 30:return dc(Ee,6112,6121,!0,Ie);case 15:return ch(Ee,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",yt);case 16:return ch(Ee,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",yt);case 17:case 48:return kA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Sf,"\u8CA0",yt,Rf|ou|df);case 47:return kA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ef,"\u8CA0",yt,Bf|Rf|ou|df);case 42:return kA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Sf,"\u8D1F",yt,Rf|ou|df);case 41:return kA(Ee,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ef,"\u8D1F",yt,Bf|Rf|ou|df);case 26:return kA(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",x,yt,0);case 25:return kA(Ee,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",x,yt,Bf|Rf|ou);case 31:return kA(Ee,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ee,zt,Bf|Rf|ou);case 33:return kA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ee,zt,0);case 32:return kA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ee,zt,Bf|Rf|ou);case 18:return dc(Ee,2406,2415,!0,Ie);case 20:return uh(Ee,1,19999,Uu,3,Ie);case 21:return dc(Ee,2790,2799,!0,Ie);case 22:return dc(Ee,2662,2671,!0,Ie);case 22:return uh(Ee,1,10999,dm,3,Ie);case 23:return ch(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 ch(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 dc(Ee,3302,3311,!0,Ie);case 28:return ch(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 ch(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 dc(Ee,3792,3801,!0,Ie);case 37:return dc(Ee,6160,6169,!0,Ie);case 38:return dc(Ee,4160,4169,!0,Ie);case 39:return dc(Ee,2918,2927,!0,Ie);case 40:return dc(Ee,1776,1785,!0,Ie);case 43:return dc(Ee,3046,3055,!0,Ie);case 44:return dc(Ee,3174,3183,!0,Ie);case 45:return dc(Ee,3664,3673,!0,Ie);case 46:return dc(Ee,3872,3881,!0,Ie);case 3:default:return dc(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 zt=be.defaultView.pageXOffset,un=be.defaultView.pageYOffset,Un=yt.contentWindow,Hn=Un.document,Hr=Jt(yt).then(function(){return Me(Ie,void 0,void 0,function(){var Gr,ti;return He(this,function(Xi){switch(Xi.label){case 0:return this.scrolledElements.forEach(Oi),Un&&(Un.scrollTo(De.left,De.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Un.scrollY!==De.top||Un.scrollX!==De.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Un.scrollX-De.left,Un.scrollY-De.top,0,0))),Gr=this.options.onclone,ti=this.clonedReferenceElement,typeof ti=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hn.fonts&&Hn.fonts.ready?[4,Hn.fonts.ready]:[3,2];case 1:Xi.sent(),Xi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ut(Hn)]:[3,4];case 3:Xi.sent(),Xi.label=4;case 4:return typeof Gr=="function"?[2,Promise.resolve().then(function(){return Gr(Hn,ti)}).then(function(){return yt})]:[2,yt]}})})});return Hn.open(),Hn.write(Yr(document.doctype)+"<html></html>"),Qr(this.referenceElement.ownerDocument,zt,un),Hn.replaceChild(Hn.adoptNode(this.documentElement),Hn.documentElement),Hn.close(),Hr},Ee.prototype.createElementClone=function(be){if(bl(be,2))debugger;if(um(be))return this.createCanvasClone(be);if(lp(be))return this.createVideoClone(be);if(Tf(be))return this.createStyleClone(be);var De=be.cloneNode(!1);return IA(De)&&(IA(be)&&be.currentSrc&&be.currentSrc!==be.src&&(De.src=be.currentSrc,De.srcset=""),De.loading==="lazy"&&(De.loading="eager")),Sp(De)?this.createCustomElementClone(De):De},Ee.prototype.createCustomElementClone=function(be){var De=document.createElement("html2canvascustomelement");return ir(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(zt,un){return un&&typeof un.cssText=="string"?zt+un.cssText:zt},""),yt=be.cloneNode(!1);return yt.textContent=Ie,yt}}catch(zt){if(this.context.logger.error("Unable to access cssRules property",zt),zt.name!=="SecurityError")throw zt}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(Hr){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 zt=be.getContext("2d"),un=yt.getContext("2d");if(un)if(!this.options.allowTaint&&zt)un.putImageData(zt.getImageData(0,0,be.width,be.height),0,0);else{var Un=(De=be.getContext("webgl2"))!==null&&De!==void 0?De:be.getContext("webgl");if(Un){var Hn=Un.getContextAttributes();(Hn==null?void 0:Hn.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(Hr){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(zt){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){(!Lh(De)||!P0(De)&&!De.hasAttribute(le)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(De)))&&(!this.options.copyStyles||!Lh(De)||!Tf(De))&&be.appendChild(this.cloneNode(De,Ie))},Ee.prototype.cloneChildNodes=function(be,De,Ie){for(var yt=this,zt=be.shadowRoot?be.shadowRoot.firstChild:be.firstChild;zt;zt=zt.nextSibling)if(Lh(zt)&&Oh(zt)&&typeof zt.assignedNodes=="function"){var un=zt.assignedNodes();un.length&&un.forEach(function(Un){return yt.appendChildNode(De,Un,Ie)})}else this.appendChildNode(De,zt,Ie)},Ee.prototype.cloneNode=function(be,De){if(Pf(be))return document.createTextNode(be.data);if(!be.ownerDocument)return be.cloneNode(!1);var Ie=be.ownerDocument.defaultView;if(Ie&&Lh(be)&&(N0(be)||cf(be))){var yt=this.createElementClone(be);yt.style.transitionProperty="none";var zt=Ie.getComputedStyle(be),un=Ie.getComputedStyle(be,":before"),Un=Ie.getComputedStyle(be,":after");this.referenceElement===be&&N0(yt)&&(this.clonedReferenceElement=yt),Us(yt)&&Uo(yt);var Hn=this.counters.parse(new Td(this.context,zt)),Hr=this.resolvePseudoContent(be,yt,un,Ve.BEFORE);Sp(be)&&(De=!0),lp(be)||this.cloneChildNodes(be,yt,De),Hr&&yt.insertBefore(Hr,yt.firstChild);var Gr=this.resolvePseudoContent(be,yt,Un,Ve.AFTER);return Gr&&yt.appendChild(Gr),this.counters.pop(Hn),(zt&&(this.options.copyStyles||cf(be))&&!$A(be)||De)&&ir(zt,yt),(be.scrollTop!==0||be.scrollLeft!==0)&&this.scrolledElements.push([yt,be.scrollLeft,be.scrollTop]),(Dh(be)||i0(be))&&(Dh(yt)||i0(yt))&&(yt.value=be.value),yt}return be.cloneNode(!1)},Ee.prototype.resolvePseudoContent=function(be,De,Ie,yt){var zt=this;if(Ie){var un=Ie.content,Un=De.ownerDocument;if(!(!Un||!un||un==="none"||un==="-moz-alt-content"||Ie.display==="none")){this.counters.parse(new Td(this.context,Ie));var Hn=new ec(this.context,Ie),Hr=Un.createElement("html2canvaspseudoelement");ir(Ie,Hr),Hn.content.forEach(function(ti){if(ti.type===0)Hr.appendChild(Un.createTextNode(ti.value));else if(ti.type===22){var Xi=Un.createElement("img");Xi.src=ti.value,Xi.style.opacity="1",Hr.appendChild(Xi)}else if(ti.type===18){if(ti.name==="attr"){var ts=ti.values.filter(ka);ts.length&&Hr.appendChild(Un.createTextNode(be.getAttribute(ts[0].value)||""))}else if(ti.name==="counter"){var io=ti.values.filter(eu),Do=io[0],Bl=io[1];if(Do&&ka(Do)){var As=zt.counters.getCounterValue(Do.value),us=Bl&&ka(Bl)?Zr.parse(zt.context,Bl.value):3;Hr.appendChild(Un.createTextNode(ue(As,us,!1)))}}else if(ti.name==="counters"){var sl=ti.values.filter(eu),Do=sl[0],Hl=sl[1],Bl=sl[2];if(Do&&ka(Do)){var Xs=zt.counters.getCounterValues(Do.value),Go=Bl&&ka(Bl)?Zr.parse(zt.context,Bl.value):3,lu=Hl&&Hl.type===0?Hl.value:"",Il=Xs.map(function(Yd){return ue(Yd,Go,!1)}).join(lu);Hr.appendChild(Un.createTextNode(Il))}}}else if(ti.type===20)switch(ti.value){case"open-quote":Hr.appendChild(Un.createTextNode(ws(Hn.quotes,zt.quoteDepth++,!0)));break;case"close-quote":Hr.appendChild(Un.createTextNode(ws(Hn.quotes,--zt.quoteDepth,!1)));break;default:Hr.appendChild(Un.createTextNode(ti.value))}}),Hr.className=bo+" "+_o;var Gr=yt===Ve.BEFORE?" "+bo:" "+_o;return cf(De)?De.className.baseValue+=Gr:De.className+=Gr,Hr}}},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})},Ut=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 zt=setInterval(function(){yt.body.childNodes.length>0&&yt.readyState==="complete"&&(clearInterval(zt),be(Ee))},50)}})},Zn=["all","d","content"],ir=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},Yr=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},Qr=function(Ee,be,De){Ee&&Ee.defaultView&&(be!==Ee.defaultView.pageXOffset||De!==Ee.defaultView.pageYOffset)&&Ee.defaultView.scrollTo(be,De)},Oi=function(Ee){var be=Ee[0],De=Ee[1],Ie=Ee[2];be.scrollLeft=De,be.scrollTop=Ie},ma=":before",qa=":after",bo="___html2canvas___pseudoelement_before",_o="___html2canvas___pseudoelement_after",po=`{
content: "" !important;
display: none !important;
}`,Uo=function(Ee){hs(Ee,"."+bo+ma+po+`
.`+_o+qa+po)},hs=function(Ee,be){var De=Ee.ownerDocument;if(De){var Ie=De.createElement("style");Ie.textContent=be,Ee.appendChild(Ie)}},vs=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}(),Ns=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)||(Hd(be)||Id(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,zt,un=this;return He(this,function(Un){switch(Un.label){case 0:return De=vs.isSameOrigin(be),Ie=!xd(be)&&this._options.useCORS===!0&&Au.SUPPORT_CORS_IMAGES&&!De,yt=!xd(be)&&!De&&!Hd(be)&&typeof this._options.proxy=="string"&&Au.SUPPORT_CORS_XHR&&!Ie,!De&&this._options.allowTaint===!1&&!xd(be)&&!Hd(be)&&!yt&&!Ie?[2]:(zt=be,yt?[4,this.proxy(zt)]:[3,2]);case 1:zt=Un.sent(),Un.label=2;case 2:return this.context.logger.debug("Added image "+be.substring(0,256)),[4,new Promise(function(Hn,Hr){var Gr=new Image;Gr.onload=function(){return Hn(Gr)},Gr.onerror=Hr,(ad(zt)||Ie)&&(Gr.crossOrigin="anonymous"),Gr.src=zt,Gr.complete===!0&&setTimeout(function(){return Hn(Gr)},500),un._options.imageTimeout>0&&setTimeout(function(){return Hr("Timed out ("+un._options.imageTimeout+"ms) loading image")},un._options.imageTimeout)})];case 3:return[2,Un.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(zt,un){var Un=Au.SUPPORT_RESPONSE_TYPE?"blob":"text",Hn=new XMLHttpRequest;Hn.onload=function(){if(Hn.status===200)if(Un==="text")zt(Hn.response);else{var ti=new FileReader;ti.addEventListener("load",function(){return zt(ti.result)},!1),ti.addEventListener("error",function(Xi){return un(Xi)},!1),ti.readAsDataURL(Hn.response)}else un("Failed to proxy resource "+yt+" with status code "+Hn.status)},Hn.onerror=un;var Hr=Ie.indexOf("?")>-1?"&":"?";if(Hn.open("GET",""+Ie+Hr+"url="+encodeURIComponent(be)+"&responseType="+Un),Un!=="text"&&Hn instanceof XMLHttpRequest&&(Hn.responseType=Un),De._options.imageTimeout){var Gr=De._options.imageTimeout;Hn.timeout=Gr,Hn.ontimeout=function(){return un("Timed out ("+Gr+"ms) proxying "+yt)}}Hn.send()})},Ee}(),Hu=/^data:image\/svg\+xml/i,dd=/^data:image\/.*;base64,/i,wc=/^data:image\/.*/i,Id=function(Ee){return Au.SUPPORT_SVG_DRAWING||!$s(Ee)},xd=function(Ee){return wc.test(Ee)},ad=function(Ee){return dd.test(Ee)},Hd=function(Ee){return Ee.substr(0,4)==="blob"},$s=function(Ee){return Ee.substr(-3).toLowerCase()==="svg"||Hu.test(Ee)},fo=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}(),Xu=function(Ee,be,De){return new fo(Ee.x+(be.x-Ee.x)*De,Ee.y+(be.y-Ee.y)*De)},xc=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=Xu(this.start,this.startControl,be),yt=Xu(this.startControl,this.endControl,be),zt=Xu(this.endControl,this.end,be),un=Xu(Ie,yt,be),Un=Xu(yt,zt,be),Hn=Xu(un,Un,be);return De?new Ee(this.start,Ie,un,Hn):new Ee(Hn,Un,zt,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}(),Mu=function(Ee){return Ee.type===1},Nh=function(){function Ee(be){var De=be.styles,Ie=be.bounds,yt=ml(De.borderTopLeftRadius,Ie.width,Ie.height),zt=yt[0],un=yt[1],Un=ml(De.borderTopRightRadius,Ie.width,Ie.height),Hn=Un[0],Hr=Un[1],Gr=ml(De.borderBottomRightRadius,Ie.width,Ie.height),ti=Gr[0],Xi=Gr[1],ts=ml(De.borderBottomLeftRadius,Ie.width,Ie.height),io=ts[0],Do=ts[1],Bl=[];Bl.push((zt+Hn)/Ie.width),Bl.push((io+ti)/Ie.width),Bl.push((un+Do)/Ie.height),Bl.push((Hr+Xi)/Ie.height);var As=Math.max.apply(Math,Bl);As>1&&(zt/=As,un/=As,Hn/=As,Hr/=As,ti/=As,Xi/=As,io/=As,Do/=As);var us=Ie.width-Hn,sl=Ie.height-Xi,Hl=Ie.width-ti,Xs=Ie.height-Do,Go=De.borderTopWidth,lu=De.borderRightWidth,Il=De.borderBottomWidth,ll=De.borderLeftWidth,Eo=Wo(De.paddingTop,be.bounds.width),Yd=Wo(De.paddingRight,be.bounds.width),NA=Wo(De.paddingBottom,be.bounds.width),$l=Wo(De.paddingLeft,be.bounds.width);this.topLeftBorderDoubleOuterBox=zt>0||un>0?Ul(Ie.left+ll/3,Ie.top+Go/3,zt-ll/3,un-Go/3,Dl.TOP_LEFT):new fo(Ie.left+ll/3,Ie.top+Go/3),this.topRightBorderDoubleOuterBox=zt>0||un>0?Ul(Ie.left+us,Ie.top+Go/3,Hn-lu/3,Hr-Go/3,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu/3,Ie.top+Go/3),this.bottomRightBorderDoubleOuterBox=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti-lu/3,Xi-Il/3,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu/3,Ie.top+Ie.height-Il/3),this.bottomLeftBorderDoubleOuterBox=io>0||Do>0?Ul(Ie.left+ll/3,Ie.top+Xs,io-ll/3,Do-Il/3,Dl.BOTTOM_LEFT):new fo(Ie.left+ll/3,Ie.top+Ie.height-Il/3),this.topLeftBorderDoubleInnerBox=zt>0||un>0?Ul(Ie.left+ll*2/3,Ie.top+Go*2/3,zt-ll*2/3,un-Go*2/3,Dl.TOP_LEFT):new fo(Ie.left+ll*2/3,Ie.top+Go*2/3),this.topRightBorderDoubleInnerBox=zt>0||un>0?Ul(Ie.left+us,Ie.top+Go*2/3,Hn-lu*2/3,Hr-Go*2/3,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu*2/3,Ie.top+Go*2/3),this.bottomRightBorderDoubleInnerBox=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti-lu*2/3,Xi-Il*2/3,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu*2/3,Ie.top+Ie.height-Il*2/3),this.bottomLeftBorderDoubleInnerBox=io>0||Do>0?Ul(Ie.left+ll*2/3,Ie.top+Xs,io-ll*2/3,Do-Il*2/3,Dl.BOTTOM_LEFT):new fo(Ie.left+ll*2/3,Ie.top+Ie.height-Il*2/3),this.topLeftBorderStroke=zt>0||un>0?Ul(Ie.left+ll/2,Ie.top+Go/2,zt-ll/2,un-Go/2,Dl.TOP_LEFT):new fo(Ie.left+ll/2,Ie.top+Go/2),this.topRightBorderStroke=zt>0||un>0?Ul(Ie.left+us,Ie.top+Go/2,Hn-lu/2,Hr-Go/2,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu/2,Ie.top+Go/2),this.bottomRightBorderStroke=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti-lu/2,Xi-Il/2,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu/2,Ie.top+Ie.height-Il/2),this.bottomLeftBorderStroke=io>0||Do>0?Ul(Ie.left+ll/2,Ie.top+Xs,io-ll/2,Do-Il/2,Dl.BOTTOM_LEFT):new fo(Ie.left+ll/2,Ie.top+Ie.height-Il/2),this.topLeftBorderBox=zt>0||un>0?Ul(Ie.left,Ie.top,zt,un,Dl.TOP_LEFT):new fo(Ie.left,Ie.top),this.topRightBorderBox=Hn>0||Hr>0?Ul(Ie.left+us,Ie.top,Hn,Hr,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width,Ie.top),this.bottomRightBorderBox=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti,Xi,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width,Ie.top+Ie.height),this.bottomLeftBorderBox=io>0||Do>0?Ul(Ie.left,Ie.top+Xs,io,Do,Dl.BOTTOM_LEFT):new fo(Ie.left,Ie.top+Ie.height),this.topLeftPaddingBox=zt>0||un>0?Ul(Ie.left+ll,Ie.top+Go,Math.max(0,zt-ll),Math.max(0,un-Go),Dl.TOP_LEFT):new fo(Ie.left+ll,Ie.top+Go),this.topRightPaddingBox=Hn>0||Hr>0?Ul(Ie.left+Math.min(us,Ie.width-lu),Ie.top+Go,us>Ie.width+lu?0:Math.max(0,Hn-lu),Math.max(0,Hr-Go),Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu,Ie.top+Go),this.bottomRightPaddingBox=ti>0||Xi>0?Ul(Ie.left+Math.min(Hl,Ie.width-ll),Ie.top+Math.min(sl,Ie.height-Il),Math.max(0,ti-lu),Math.max(0,Xi-Il),Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu,Ie.top+Ie.height-Il),this.bottomLeftPaddingBox=io>0||Do>0?Ul(Ie.left+ll,Ie.top+Math.min(Xs,Ie.height-Il),Math.max(0,io-ll),Math.max(0,Do-Il),Dl.BOTTOM_LEFT):new fo(Ie.left+ll,Ie.top+Ie.height-Il),this.topLeftContentBox=zt>0||un>0?Ul(Ie.left+ll+$l,Ie.top+Go+Eo,Math.max(0,zt-(ll+$l)),Math.max(0,un-(Go+Eo)),Dl.TOP_LEFT):new fo(Ie.left+ll+$l,Ie.top+Go+Eo),this.topRightContentBox=Hn>0||Hr>0?Ul(Ie.left+Math.min(us,Ie.width+ll+$l),Ie.top+Go+Eo,us>Ie.width+ll+$l?0:Hn-ll+$l,Hr-(Go+Eo),Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-(lu+Yd),Ie.top+Go+Eo),this.bottomRightContentBox=ti>0||Xi>0?Ul(Ie.left+Math.min(Hl,Ie.width-(ll+$l)),Ie.top+Math.min(sl,Ie.height+Go+Eo),Math.max(0,ti-(lu+Yd)),Xi-(Il+NA),Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-(lu+Yd),Ie.top+Ie.height-(Il+NA)),this.bottomLeftContentBox=io>0||Do>0?Ul(Ie.left+ll+$l,Ie.top+Xs,Math.max(0,io-(ll+$l)),Do-(Il+NA),Dl.BOTTOM_LEFT):new fo(Ie.left+ll+$l,Ie.top+Ie.height-(Il+NA))}return Ee}(),Dl;(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"})(Dl||(Dl={}));var Ul=function(Ee,be,De,Ie,yt){var zt=4*((Math.sqrt(2)-1)/3),un=De*zt,Un=Ie*zt,Hn=Ee+De,Hr=be+Ie;switch(yt){case Dl.TOP_LEFT:return new xc(new fo(Ee,Hr),new fo(Ee,Hr-Un),new fo(Hn-un,be),new fo(Hn,be));case Dl.TOP_RIGHT:return new xc(new fo(Ee,be),new fo(Ee+un,be),new fo(Hn,Hr-Un),new fo(Hn,Hr));case Dl.BOTTOM_RIGHT:return new xc(new fo(Hn,be),new fo(Hn,be+Un),new fo(Ee+un,Hr),new fo(Ee,Hr));case Dl.BOTTOM_LEFT:default:return new xc(new fo(Hn,Hr),new fo(Hn-un,Hr),new fo(Ee,be+Un),new fo(Ee,be))}},su=function(Ee){return[Ee.topLeftBorderBox,Ee.topRightBorderBox,Ee.bottomRightBorderBox,Ee.bottomLeftBorderBox]},Cd=function(Ee){return[Ee.topLeftContentBox,Ee.topRightContentBox,Ee.bottomRightContentBox,Ee.bottomLeftContentBox]},o0=function(Ee){return[Ee.topLeftPaddingBox,Ee.topRightPaddingBox,Ee.bottomRightPaddingBox,Ee.bottomLeftPaddingBox]},Ps=function(){function Ee(be,De,Ie){this.offsetX=be,this.offsetY=De,this.matrix=Ie,this.type=0,this.target=6}return Ee}(),LA=function(){function Ee(be,De){this.path=be,this.target=De,this.type=1}return Ee}(),fu=function(){function Ee(be){this.opacity=be,this.type=2,this.target=6}return Ee}(),Kc=function(Ee){return Ee.type===0},Uf=function(Ee){return Ee.type===1},od=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},Km=function(Ee,be,De,Ie,yt){return Ee.map(function(zt,un){switch(un){case 0:return zt.add(be,De);case 1:return zt.add(be+Ie,De);case 2:return zt.add(be+Ie,De+yt);case 3:return zt.add(be,De+yt)}return zt})},wa=function(){function Ee(be){this.element=be,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ee}(),Ac=function(){function Ee(be,De){if(this.container=be,this.parent=De,this.effects=[],this.curves=new Nh(this.container),this.container.styles.opacity<1&&this.effects.push(new fu(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,zt=this.container.styles.transform;this.effects.push(new Ps(Ie,yt,zt))}if(this.container.styles.overflowX!==0){var un=su(this.curves),Un=o0(this.curves);Ph(un,Un)?this.effects.push(new LA(un,6)):(this.effects.push(new LA(un,2)),this.effects.push(new LA(Un,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 zt=Ie.effects.filter(function(Hn){return!Uf(Hn)});if(De||Ie.container.styles.position!==0||!Ie.parent){if(yt.unshift.apply(yt,zt),De=[2,3].indexOf(Ie.container.styles.position)===-1,Ie.container.styles.overflowX!==0){var un=su(Ie.curves),Un=o0(Ie.curves);Ph(un,Un)||yt.unshift(new LA(Un,6))}}else yt.unshift.apply(yt,zt);Ie=Ie.parent}return yt.filter(function(Hn){return So(Hn.target,be)})},Ee}(),Am=function(Ee,be,De,Ie){Ee.container.elements.forEach(function(yt){var zt=So(yt.flags,4),un=So(yt.flags,2),Un=new Ac(yt,Ee);So(yt.styles.display,2048)&&Ie.push(Un);var Hn=So(yt.flags,8)?[]:Ie;if(zt||un){var Hr=zt||yt.styles.isPositioned()?De:be,Gr=new wa(Un);if(yt.styles.isPositioned()||yt.styles.opacity<1||yt.styles.isTransformed()){var ti=yt.styles.zIndex.order;if(ti<0){var Xi=0;Hr.negativeZIndex.some(function(io,Do){return ti>io.element.container.styles.zIndex.order?(Xi=Do,!1):Xi>0}),Hr.negativeZIndex.splice(Xi,0,Gr)}else if(ti>0){var ts=0;Hr.positiveZIndex.some(function(io,Do){return ti>=io.element.container.styles.zIndex.order?(ts=Do+1,!1):ts>0}),Hr.positiveZIndex.splice(ts,0,Gr)}else Hr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Gr)}else yt.styles.isFloating()?Hr.nonPositionedFloats.push(Gr):Hr.nonPositionedInlineLevel.push(Gr);Am(Un,Gr,zt?Gr:De,Hn)}else yt.styles.isInlineLevel()?be.inlineLevel.push(Un):be.nonInlineLevel.push(Un),Am(Un,be,De,Hn);So(yt.flags,8)&&fm(yt,Hn)})},fm=function(Ee,be){for(var De=Ee instanceof Mh?Ee.start:1,Ie=Ee instanceof Mh?Ee.reversed:!1,yt=0;yt<be.length;yt++){var zt=be[yt];zt.container instanceof Cf&&typeof zt.container.value=="number"&&zt.container.value!==0&&(De=zt.container.value),zt.listValue=ue(De,zt.container.styles.listStyleType,!0),De+=Ie?-1:1}},lA=function(Ee){var be=new Ac(Ee,null),De=new wa(be),Ie=[];return Am(be,De,De,Ie),fm(be.container,Ie),De},Gd=function(Ee,be){switch(be){case 0:return tf(Ee.topLeftBorderBox,Ee.topLeftPaddingBox,Ee.topRightBorderBox,Ee.topRightPaddingBox);case 1:return tf(Ee.topRightBorderBox,Ee.topRightPaddingBox,Ee.bottomRightBorderBox,Ee.bottomRightPaddingBox);case 2:return tf(Ee.bottomRightBorderBox,Ee.bottomRightPaddingBox,Ee.bottomLeftBorderBox,Ee.bottomLeftPaddingBox);case 3:default:return tf(Ee.bottomLeftBorderBox,Ee.bottomLeftPaddingBox,Ee.topLeftBorderBox,Ee.topLeftPaddingBox)}},Ld=function(Ee,be){switch(be){case 0:return tf(Ee.topLeftBorderBox,Ee.topLeftBorderDoubleOuterBox,Ee.topRightBorderBox,Ee.topRightBorderDoubleOuterBox);case 1:return tf(Ee.topRightBorderBox,Ee.topRightBorderDoubleOuterBox,Ee.bottomRightBorderBox,Ee.bottomRightBorderDoubleOuterBox);case 2:return tf(Ee.bottomRightBorderBox,Ee.bottomRightBorderDoubleOuterBox,Ee.bottomLeftBorderBox,Ee.bottomLeftBorderDoubleOuterBox);case 3:default:return tf(Ee.bottomLeftBorderBox,Ee.bottomLeftBorderDoubleOuterBox,Ee.topLeftBorderBox,Ee.topLeftBorderDoubleOuterBox)}},Qd=function(Ee,be){switch(be){case 0:return tf(Ee.topLeftBorderDoubleInnerBox,Ee.topLeftPaddingBox,Ee.topRightBorderDoubleInnerBox,Ee.topRightPaddingBox);case 1:return tf(Ee.topRightBorderDoubleInnerBox,Ee.topRightPaddingBox,Ee.bottomRightBorderDoubleInnerBox,Ee.bottomRightPaddingBox);case 2:return tf(Ee.bottomRightBorderDoubleInnerBox,Ee.bottomRightPaddingBox,Ee.bottomLeftBorderDoubleInnerBox,Ee.bottomLeftPaddingBox);case 3:default:return tf(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 Mu(Ee)?De.push(Ee.subdivide(.5,!1)):De.push(Ee),Mu(be)?De.push(be.subdivide(.5,!0)):De.push(be),De},tf=function(Ee,be,De,Ie){var yt=[];return Mu(Ee)?yt.push(Ee.subdivide(.5,!1)):yt.push(Ee),Mu(De)?yt.push(De.subdivide(.5,!0)):yt.push(De),Mu(Ie)?yt.push(Ie.subdivide(.5,!0).reverse()):yt.push(Ie),Mu(be)?yt.push(be.subdivide(.5,!1).reverse()):yt.push(be),yt},R0=function(Ee){var be=Ee.bounds,De=Ee.styles;return be.add(De.borderLeftWidth,De.borderTopWidth,-(De.borderRightWidth+De.borderLeftWidth),-(De.borderTopWidth+De.borderBottomWidth))},Ad=function(Ee){var be=Ee.styles,De=Ee.bounds,Ie=Wo(be.paddingLeft,De.width),yt=Wo(be.paddingRight,De.width),zt=Wo(be.paddingTop,De.width),un=Wo(be.paddingBottom,De.width);return De.add(Ie+be.borderLeftWidth,zt+be.borderTopWidth,-(be.borderRightWidth+be.borderLeftWidth+Ie+yt),-(be.borderTopWidth+be.borderBottomWidth+zt+un))},U0=function(Ee,be){return Ee===0?be.bounds:Ee===2?Ad(be):R0(be)},zm=function(Ee,be){return Ee===0?be.bounds:Ee===2?Ad(be):R0(be)},_A=function(Ee,be,De){var Ie=U0(DA(Ee.styles.backgroundOrigin,be),Ee),yt=zm(DA(Ee.styles.backgroundClip,be),Ee),zt=dh(DA(Ee.styles.backgroundSize,be),De,Ie),un=zt[0],Un=zt[1],Hn=ml(DA(Ee.styles.backgroundPosition,be),Ie.width-un,Ie.height-Un),Hr=Wm(DA(Ee.styles.backgroundRepeat,be),Hn,zt,Ie,yt),Gr=Math.round(Ie.left+Hn[0]),ti=Math.round(Ie.top+Hn[1]);return[Hr,Gr,ti,un,Un]},jd=function(Ee){return ka(Ee)&&Ee.value===$u.AUTO},Ep=function(Ee){return typeof Ee=="number"},dh=function(Ee,be,De){var Ie=be[0],yt=be[1],zt=be[2],un=Ee[0],Un=Ee[1];if(!un)return[0,0];if(Vl(un)&&Un&&Vl(Un))return[Wo(un,De.width),Wo(Un,De.height)];var Hn=Ep(zt);if(ka(un)&&(un.value===$u.CONTAIN||un.value===$u.COVER)){if(Ep(zt)){var Hr=De.width/De.height;return Hr<zt!=(un.value===$u.COVER)?[De.width,De.width/zt]:[De.height*zt,De.height]}return[De.width,De.height]}var Gr=Ep(Ie),ti=Ep(yt),Xi=Gr||ti;if(jd(un)&&(!Un||jd(Un))){if(Gr&&ti)return[Ie,yt];if(!Hn&&!Xi)return[De.width,De.height];if(Xi&&Hn){var ts=Gr?Ie:yt*zt,io=ti?yt:Ie/zt;return[ts,io]}var Do=Gr?Ie:De.width,Bl=ti?yt:De.height;return[Do,Bl]}if(Hn){var As=0,us=0;return Vl(un)?As=Wo(un,De.width):Vl(Un)&&(us=Wo(Un,De.height)),jd(un)?As=us*zt:(!Un||jd(Un))&&(us=As/zt),[As,us]}var sl=null,Hl=null;if(Vl(un)?sl=Wo(un,De.width):Un&&Vl(Un)&&(Hl=Wo(Un,De.height)),sl!==null&&(!Un||jd(Un))&&(Hl=Gr&&ti?sl/Ie*yt:De.height),Hl!==null&&jd(un)&&(sl=Gr&&ti?Hl/yt*Ie:De.width),sl!==null&&Hl!==null)return[sl,Hl];throw new Error("Unable to calculate background-size for element")},DA=function(Ee,be){var De=Ee[be];return typeof De=="undefined"?Ee[0]:De},Wm=function(Ee,be,De,Ie,yt){var zt=be[0],un=be[1],Un=De[0],Hn=De[1];switch(Ee){case 2:return[new fo(Math.round(Ie.left),Math.round(Ie.top+un)),new fo(Math.round(Ie.left+Ie.width),Math.round(Ie.top+un)),new fo(Math.round(Ie.left+Ie.width),Math.round(Hn+Ie.top+un)),new fo(Math.round(Ie.left),Math.round(Hn+Ie.top+un))];case 3:return[new fo(Math.round(Ie.left+zt),Math.round(Ie.top)),new fo(Math.round(Ie.left+zt+Un),Math.round(Ie.top)),new fo(Math.round(Ie.left+zt+Un),Math.round(Ie.height+Ie.top)),new fo(Math.round(Ie.left+zt),Math.round(Ie.height+Ie.top))];case 1:return[new fo(Math.round(Ie.left+zt),Math.round(Ie.top+un)),new fo(Math.round(Ie.left+zt+Un),Math.round(Ie.top+un)),new fo(Math.round(Ie.left+zt+Un),Math.round(Ie.top+un+Hn)),new fo(Math.round(Ie.left+zt),Math.round(Ie.top+un+Hn))];default:return[new fo(Math.round(yt.left),Math.round(yt.top)),new fo(Math.round(yt.left+yt.width),Math.round(yt.top)),new fo(Math.round(yt.left+yt.width),Math.round(yt.height+yt.top)),new fo(Math.round(yt.left),Math.round(yt.height+yt.top))]}},Fp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",up="Hidden Text",s0=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"),zt=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=Fp,yt.width=1,yt.height=1,yt.style.margin="0",yt.style.padding="0",yt.style.verticalAlign="baseline",zt.style.fontFamily=be,zt.style.fontSize=De,zt.style.margin="0",zt.style.padding="0",zt.appendChild(this._document.createTextNode(up)),Ie.appendChild(zt),Ie.appendChild(yt);var Un=yt.offsetTop-zt.offsetTop+2;Ie.removeChild(zt),Ie.appendChild(this._document.createTextNode(up)),Ie.style.lineHeight="normal",yt.style.verticalAlign="super";var Hn=yt.offsetTop-Ie.offsetTop+2;return un.removeChild(Ie),{baseline:Un,middle:Hn}},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}(),l0=function(){function Ee(be,De){this.context=be,this.options=De}return Ee}(),_s=1e4,Uc=function(Ee){de(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 s0(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(),od(De)&&(this.ctx.globalAlpha=De.opacity),Kc(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)),Uf(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 He(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 He(this,function(Ie){switch(Ie.label){case 0:if(So(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 zt=this;if(Ie===0)this.ctx.fillText(De.text,De.bounds.left,De.bounds.top+yt);else{var un=jl(De.text);un.reduce(function(Un,Hn){return zt.ctx.fillText(Hn,Un,De.bounds.top+yt),Un+zt.ctx.measureText(Hn).width},De.bounds.left)}},be.prototype.createFontStyle=function(De){var Ie=De.fontVariant.filter(function(un){return un==="normal"||un==="small-caps"}).join(""),yt=u0(De.fontFamily).join(", "),zt=Ja(De.fontSize)?""+De.fontSize.number+De.fontSize.unit:De.fontSize.number+"px";return[[De.fontStyle,Ie,De.fontWeight,zt,yt].join(" "),yt,zt]},be.prototype.renderTextNode=function(De,Ie){return Me(this,void 0,void 0,function(){var yt,zt,un,Un,Hn,Hr,Gr,ti,Xi=this;return He(this,function(ts){return yt=this.createFontStyle(Ie),zt=yt[0],un=yt[1],Un=yt[2],this.ctx.font=zt,this.ctx.direction=Ie.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Hn=this.fontMetrics.getMetrics(un,Un),Hr=Hn.baseline,Gr=Hn.middle,ti=Ie.paintOrder,De.textBounds.forEach(function(io){ti.forEach(function(Do){switch(Do){case 0:Xi.ctx.fillStyle=Vs(Ie.color),Xi.renderTextWithLetterSpacing(io,Ie.letterSpacing,Hr);var Bl=Ie.textShadow;Bl.length&&io.text.trim().length&&(Bl.slice(0).reverse().forEach(function(As){Xi.ctx.shadowColor=Vs(As.color),Xi.ctx.shadowOffsetX=As.offsetX.number*Xi.options.scale,Xi.ctx.shadowOffsetY=As.offsetY.number*Xi.options.scale,Xi.ctx.shadowBlur=As.blur.number,Xi.renderTextWithLetterSpacing(io,Ie.letterSpacing,Hr)}),Xi.ctx.shadowColor="",Xi.ctx.shadowOffsetX=0,Xi.ctx.shadowOffsetY=0,Xi.ctx.shadowBlur=0),Ie.textDecorationLine.length&&(Xi.ctx.fillStyle=Vs(Ie.textDecorationColor||Ie.color),Ie.textDecorationLine.forEach(function(As){switch(As){case 1:Xi.ctx.fillRect(io.bounds.left,Math.round(io.bounds.top+Hr),io.bounds.width,1);break;case 2:Xi.ctx.fillRect(io.bounds.left,Math.round(io.bounds.top),io.bounds.width,1);break;case 3:Xi.ctx.fillRect(io.bounds.left,Math.ceil(io.bounds.top+Gr),io.bounds.width,1);break}}));break;case 1:Ie.webkitTextStrokeWidth&&io.text.trim().length&&(Xi.ctx.strokeStyle=Vs(Ie.webkitTextStrokeColor),Xi.ctx.lineWidth=Ie.webkitTextStrokeWidth,Xi.ctx.lineJoin=window.chrome?"miter":"round",Xi.ctx.strokeText(io.text,io.bounds.left,io.bounds.top+Hr)),Xi.ctx.strokeStyle="",Xi.ctx.lineWidth=0,Xi.ctx.lineJoin="miter";break}})}),[2]})})},be.prototype.renderReplacedElement=function(De,Ie,yt){if(yt&&De.intrinsicWidth>0&&De.intrinsicHeight>0){var zt=Ad(De),un=o0(Ie);this.path(un),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(yt,0,0,De.intrinsicWidth,De.intrinsicHeight,zt.left,zt.top,zt.width,zt.height),this.ctx.restore()}},be.prototype.renderNodeContent=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,zt,un,Un,Hn,us,us,Hr,Gr,ti,Xi,Hl,ts,io,Xs,Do,Bl,As,us,sl,Hl,Xs;return He(this,function(Go){switch(Go.label){case 0:this.applyEffects(De.getEffects(4)),Ie=De.container,yt=De.curves,zt=Ie.styles,un=0,Un=Ie.textNodes,Go.label=1;case 1:return un<Un.length?(Hn=Un[un],[4,this.renderTextNode(Hn,zt)]):[3,4];case 2:Go.sent(),Go.label=3;case 3:return un++,[3,1];case 4:if(!(Ie instanceof I0))return[3,8];Go.label=5;case 5:return Go.trys.push([5,7,,8]),[4,this.context.cache.match(Ie.src)];case 6:return us=Go.sent(),this.renderReplacedElement(Ie,yt,us),[3,8];case 7:return Go.sent(),this.context.logger.error("Error loading image "+Ie.src),[3,8];case 8:if(Ie instanceof Kl&&this.renderReplacedElement(Ie,yt,Ie.canvas),!(Ie instanceof _h))return[3,12];Go.label=9;case 9:return Go.trys.push([9,11,,12]),[4,this.context.cache.match(Ie.svg)];case 10:return us=Go.sent(),this.renderReplacedElement(Ie,yt,us),[3,12];case 11:return Go.sent(),this.context.logger.error("Error loading svg "+Ie.svg.substring(0,255)),[3,12];case 12:return Ie instanceof L0&&Ie.tree?(Hr=new be(this.context,{scale:this.options.scale,backgroundColor:Ie.backgroundColor,x:0,y:0,width:Ie.width,height:Ie.height}),[4,Hr.render(Ie.tree)]):[3,14];case 13:Gr=Go.sent(),Ie.width&&Ie.height&&this.ctx.drawImage(Gr,0,0,Ie.width,Ie.height,Ie.bounds.left,Ie.bounds.top,Ie.bounds.width,Ie.bounds.height),Go.label=14;case 14:if(Ie instanceof ed&&(ti=Math.min(Ie.bounds.width,Ie.bounds.height),Ie.type===n0?Ie.checked&&(this.ctx.save(),this.path([new fo(Ie.bounds.left+ti*.39363,Ie.bounds.top+ti*.79),new fo(Ie.bounds.left+ti*.16,Ie.bounds.top+ti*.5549),new fo(Ie.bounds.left+ti*.27347,Ie.bounds.top+ti*.44071),new fo(Ie.bounds.left+ti*.39694,Ie.bounds.top+ti*.5649),new fo(Ie.bounds.left+ti*.72983,Ie.bounds.top+ti*.23),new fo(Ie.bounds.left+ti*.84,Ie.bounds.top+ti*.34085),new fo(Ie.bounds.left+ti*.39363,Ie.bounds.top+ti*.79)]),this.ctx.fillStyle=Vs(ap),this.ctx.fill(),this.ctx.restore()):Ie.type===qA&&Ie.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Ie.bounds.left+ti/2,Ie.bounds.top+ti/2,ti/4,0,Math.PI*2,!0),this.ctx.fillStyle=Vs(ap),this.ctx.fill(),this.ctx.restore())),H0(Ie)&&Ie.value.length){switch(Xi=this.createFontStyle(zt),Hl=Xi[0],ts=Xi[1],io=this.fontMetrics.getMetrics(Hl,ts).baseline,this.ctx.font=Hl,this.ctx.fillStyle=Vs(zt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Ef(Ie.styles.textAlign),Xs=Ad(Ie),Do=0,Ie.styles.textAlign){case 1:Do+=Xs.width/2;break;case 2:Do+=Xs.width;break}Bl=Xs.add(Do,0,0,-Xs.height/2+1),this.ctx.save(),this.path([new fo(Xs.left,Xs.top),new fo(Xs.left+Xs.width,Xs.top),new fo(Xs.left+Xs.width,Xs.top+Xs.height),new fo(Xs.left,Xs.top+Xs.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new $c(Ie.value,Bl),zt.letterSpacing,io),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!So(Ie.styles.display,2048))return[3,20];if(Ie.styles.listStyleImage===null)return[3,19];if(As=Ie.styles.listStyleImage,As.type!==0)return[3,18];us=void 0,sl=As.url,Go.label=15;case 15:return Go.trys.push([15,17,,18]),[4,this.context.cache.match(sl)];case 16:return us=Go.sent(),this.ctx.drawImage(us,Ie.bounds.left-(us.width+10),Ie.bounds.top),[3,18];case 17:return Go.sent(),this.context.logger.error("Error loading list-style-image "+sl),[3,18];case 18:return[3,20];case 19:De.listValue&&Ie.styles.listStyleType!==-1&&(Hl=this.createFontStyle(zt)[0],this.ctx.font=Hl,this.ctx.fillStyle=Vs(zt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Xs=new Oe(Ie.bounds.left,Ie.bounds.top+Wo(Ie.styles.paddingTop,Ie.bounds.width),Ie.bounds.width,mr(zt.lineHeight,zt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new $c(De.listValue,Xs),zt.letterSpacing,mr(zt.lineHeight,zt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Go.label=20;case 20:return[2]}})})},be.prototype.renderStackContent=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,As,zt,un,As,Un,Hn,As,Hr,Gr,As,ti,Xi,As,ts,io,As,Do,Bl,As;return He(this,function(us){switch(us.label){case 0:if(So(De.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(De.element)];case 1:us.sent(),Ie=0,yt=De.negativeZIndex,us.label=2;case 2:return Ie<yt.length?(As=yt[Ie],[4,this.renderStack(As)]):[3,5];case 3:us.sent(),us.label=4;case 4:return Ie++,[3,2];case 5:return[4,this.renderNodeContent(De.element)];case 6:us.sent(),zt=0,un=De.nonInlineLevel,us.label=7;case 7:return zt<un.length?(As=un[zt],[4,this.renderNode(As)]):[3,10];case 8:us.sent(),us.label=9;case 9:return zt++,[3,7];case 10:Un=0,Hn=De.nonPositionedFloats,us.label=11;case 11:return Un<Hn.length?(As=Hn[Un],[4,this.renderStack(As)]):[3,14];case 12:us.sent(),us.label=13;case 13:return Un++,[3,11];case 14:Hr=0,Gr=De.nonPositionedInlineLevel,us.label=15;case 15:return Hr<Gr.length?(As=Gr[Hr],[4,this.renderStack(As)]):[3,18];case 16:us.sent(),us.label=17;case 17:return Hr++,[3,15];case 18:ti=0,Xi=De.inlineLevel,us.label=19;case 19:return ti<Xi.length?(As=Xi[ti],[4,this.renderNode(As)]):[3,22];case 20:us.sent(),us.label=21;case 21:return ti++,[3,19];case 22:ts=0,io=De.zeroOrAutoZIndexOrTransformedOrOpacity,us.label=23;case 23:return ts<io.length?(As=io[ts],[4,this.renderStack(As)]):[3,26];case 24:us.sent(),us.label=25;case 25:return ts++,[3,23];case 26:Do=0,Bl=De.positiveZIndex,us.label=27;case 27:return Do<Bl.length?(As=Bl[Do],[4,this.renderStack(As)]):[3,30];case 28:us.sent(),us.label=29;case 29:return Do++,[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,zt){var un=Mu(yt)?yt.start:yt;zt===0?Ie.ctx.moveTo(un.x,un.y):Ie.ctx.lineTo(un.x,un.y),Mu(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,zt){this.path(De),this.ctx.fillStyle=Ie,this.ctx.translate(yt,zt),this.ctx.fill(),this.ctx.translate(-yt,-zt)},be.prototype.resizeImage=function(De,Ie,yt){var zt;if(De.width===Ie&&De.height===yt)return De;var un=(zt=this.canvas.ownerDocument)!==null&&zt!==void 0?zt:document,Un=un.createElement("canvas");Un.width=Math.max(1,Ie),Un.height=Math.max(1,yt);var Hn=Un.getContext("2d");return Hn.drawImage(De,0,0,De.width,De.height,0,0,Ie,yt),Un},be.prototype.renderBackgroundImage=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,zt,un,Un,Hn;return He(this,function(Hr){switch(Hr.label){case 0:Ie=De.styles.backgroundImage.length-1,yt=function(Gr){var ti,Xi,ts,Eo,MA,PA,$l,Xd,Il,io,Eo,MA,PA,$l,Xd,Do,Bl,As,us,sl,Hl,Xs,Go,lu,Il,ll,Eo,Yd,NA,$l,Xd,Rh,MA,PA,Qf,Ff,jf,Ah,nf,fh,c0,kf;return He(this,function(Uh){switch(Uh.label){case 0:if(Gr.type!==0)return[3,5];ti=void 0,Xi=Gr.url,Uh.label=1;case 1:return Uh.trys.push([1,3,,4]),[4,zt.context.cache.match(Xi)];case 2:return ti=Uh.sent(),[3,4];case 3:return Uh.sent(),zt.context.logger.error("Error loading background-image "+Xi),[3,4];case 4:return ti&&(ts=_A(De,Ie,[ti.width,ti.height,ti.width/ti.height]),Eo=ts[0],MA=ts[1],PA=ts[2],$l=ts[3],Xd=ts[4],Il=zt.ctx.createPattern(zt.resizeImage(ti,$l,Xd),"repeat"),zt.renderRepeat(Eo,Il,MA,PA)),[3,6];case 5:Wu(Gr)?(io=_A(De,Ie,[null,null,null]),Eo=io[0],MA=io[1],PA=io[2],$l=io[3],Xd=io[4],Do=pA(Gr.angle,$l,Xd),Bl=Do[0],As=Do[1],us=Do[2],sl=Do[3],Hl=Do[4],Xs=document.createElement("canvas"),Xs.width=$l,Xs.height=Xd,Go=Xs.getContext("2d"),lu=Go.createLinearGradient(As,sl,us,Hl),uf(Gr.stops,Bl).forEach(function(uA){return lu.addColorStop(uA.stop,Vs(uA.color))}),Go.fillStyle=lu,Go.fillRect(0,0,$l,Xd),$l>0&&Xd>0&&(Il=zt.ctx.createPattern(Xs,"repeat"),zt.renderRepeat(Eo,Il,MA,PA))):gc(Gr)&&(ll=_A(De,Ie,[null,null,null]),Eo=ll[0],Yd=ll[1],NA=ll[2],$l=ll[3],Xd=ll[4],Rh=Gr.position.length===0?[Pl]:Gr.position,MA=Wo(Rh[0],$l),PA=Wo(Rh[Rh.length-1],Xd),Qf=ki(Gr,MA,PA,$l,Xd),Ff=Qf[0],jf=Qf[1],Ff>0&&jf>0&&(Ah=zt.ctx.createRadialGradient(Yd+MA,NA+PA,0,Yd+MA,NA+PA,Ff),uf(Gr.stops,Ff*2).forEach(function(uA){return Ah.addColorStop(uA.stop,Vs(uA.color))}),zt.path(Eo),zt.ctx.fillStyle=Ah,Ff!==jf?(nf=De.bounds.left+.5*De.bounds.width,fh=De.bounds.top+.5*De.bounds.height,c0=jf/Ff,kf=1/c0,zt.ctx.save(),zt.ctx.translate(nf,fh),zt.ctx.transform(1,0,0,c0,0,0),zt.ctx.translate(-nf,-fh),zt.ctx.fillRect(Yd,kf*(NA-fh)+fh,$l,Xd*kf),zt.ctx.restore()):zt.ctx.fill())),Uh.label=6;case 6:return Ie--,[2]}})},zt=this,un=0,Un=De.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return un<Un.length?(Hn=Un[un],[5,yt(Hn)]):[3,4];case 2:Hr.sent(),Hr.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 He(this,function(zt){return this.path(Gd(yt,Ie)),this.ctx.fillStyle=Vs(De),this.ctx.fill(),[2]})})},be.prototype.renderDoubleBorder=function(De,Ie,yt,zt){return Me(this,void 0,void 0,function(){var un,Un;return He(this,function(Hn){switch(Hn.label){case 0:return Ie<3?[4,this.renderSolidBorder(De,yt,zt)]:[3,2];case 1:return Hn.sent(),[2];case 2:return un=Ld(zt,yt),this.path(un),this.ctx.fillStyle=Vs(De),this.ctx.fill(),Un=Qd(zt,yt),this.path(Un),this.ctx.fill(),[2]}})})},be.prototype.renderNodeBackgroundAndBorders=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,zt,un,Un,Hn,Hr,Gr,ti=this;return He(this,function(Xi){switch(Xi.label){case 0:return this.applyEffects(De.getEffects(2)),Ie=De.container.styles,yt=!vl(Ie.backgroundColor)||Ie.backgroundImage.length,zt=[{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=Th(DA(Ie.backgroundClip,0),De.curves),yt||Ie.boxShadow.length?(this.ctx.save(),this.path(un),this.ctx.clip(),vl(Ie.backgroundColor)||(this.ctx.fillStyle=Vs(Ie.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(De.container)]):[3,2];case 1:Xi.sent(),this.ctx.restore(),Ie.boxShadow.slice(0).reverse().forEach(function(ts){ti.ctx.save();var io=su(De.curves),Do=ts.inset?0:_s,Bl=Km(io,-Do+(ts.inset?1:-1)*ts.spread.number,(ts.inset?1:-1)*ts.spread.number,ts.spread.number*(ts.inset?-2:2),ts.spread.number*(ts.inset?-2:2));ts.inset?(ti.path(io),ti.ctx.clip(),ti.mask(Bl)):(ti.mask(io),ti.ctx.clip(),ti.path(Bl)),ti.ctx.shadowOffsetX=ts.offsetX.number+Do,ti.ctx.shadowOffsetY=ts.offsetY.number,ti.ctx.shadowColor=Vs(ts.color),ti.ctx.shadowBlur=ts.blur.number,ti.ctx.fillStyle=ts.inset?Vs(ts.color):"rgba(0,0,0,1)",ti.ctx.fill(),ti.ctx.restore()}),Xi.label=2;case 2:Un=0,Hn=0,Hr=zt,Xi.label=3;case 3:return Hn<Hr.length?(Gr=Hr[Hn],Gr.style!==0&&!vl(Gr.color)&&Gr.width>0?Gr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Gr.color,Gr.width,Un,De.curves,2)]:[3,11]):[3,13];case 4:return Xi.sent(),[3,11];case 5:return Gr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Gr.color,Gr.width,Un,De.curves,3)];case 6:return Xi.sent(),[3,11];case 7:return Gr.style!==4?[3,9]:[4,this.renderDoubleBorder(Gr.color,Gr.width,Un,De.curves)];case 8:return Xi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Gr.color,Un,De.curves)];case 10:Xi.sent(),Xi.label=11;case 11:Un++,Xi.label=12;case 12:return Hn++,[3,3];case 13:return[2]}})})},be.prototype.renderDashedDottedBorder=function(De,Ie,yt,zt,un){return Me(this,void 0,void 0,function(){var Un,Hn,Hr,Gr,ti,Xi,ts,io,Do,Bl,As,us,sl,Hl,Xs,Go,Xs,Go;return He(this,function(lu){return this.ctx.save(),Un=fg(zt,yt),Hn=Gd(zt,yt),un===2&&(this.path(Hn),this.ctx.clip()),Mu(Hn[0])?(Hr=Hn[0].start.x,Gr=Hn[0].start.y):(Hr=Hn[0].x,Gr=Hn[0].y),Mu(Hn[1])?(ti=Hn[1].end.x,Xi=Hn[1].end.y):(ti=Hn[1].x,Xi=Hn[1].y),yt===0||yt===2?ts=Math.abs(Hr-ti):ts=Math.abs(Gr-Xi),this.ctx.beginPath(),un===3?this.formatPath(Un):this.formatPath(Hn.slice(0,2)),io=Ie<3?Ie*3:Ie*2,Do=Ie<3?Ie*2:Ie,un===3&&(io=Ie,Do=Ie),Bl=!0,ts<=io*2?Bl=!1:ts<=io*2+Do?(As=ts/(2*io+Do),io*=As,Do*=As):(us=Math.floor((ts+Do)/(io+Do)),sl=(ts-us*io)/(us-1),Hl=(ts-(us+1)*io)/us,Do=Hl<=0||Math.abs(Do-sl)<Math.abs(Do-Hl)?sl:Hl),Bl&&(un===3?this.ctx.setLineDash([0,io+Do]):this.ctx.setLineDash([io,Do])),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&&(Mu(Hn[0])&&(Xs=Hn[3],Go=Hn[0],this.ctx.beginPath(),this.formatPath([new fo(Xs.end.x,Xs.end.y),new fo(Go.start.x,Go.start.y)]),this.ctx.stroke()),Mu(Hn[1])&&(Xs=Hn[1],Go=Hn[2],this.ctx.beginPath(),this.formatPath([new fo(Xs.end.x,Xs.end.y),new fo(Go.start.x,Go.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 He(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=lA(De),[4,this.renderStack(Ie)];case 1:return yt.sent(),this.applyEffects([]),[2,this.canvas]}})})},be}(l0),H0=function(Ee){return Ee instanceof r0||Ee instanceof Nf?!0:Ee instanceof ed&&Ee.type!==qA&&Ee.type!==n0},Th=function(Ee,be){switch(Ee){case 0:return su(be);case 2:return Cd(be);case 1:default:return o0(be)}},Ef=function(Ee){switch(Ee){case 1:return"center";case 2:return"right";case 0:default:return"left"}},rl=["-apple-system","system-ui"],u0=function(Ee){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?Ee.filter(function(be){return rl.indexOf(be)===-1}):Ee},OA=function(Ee){de(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 He(this,function(zt){switch(zt.label){case 0:return Ie=EA(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=zt.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}(l0),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))})},Hf=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,ft([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,ft([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,ft([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,ft([this.id,this.getTime()+"ms"],be)):this.info.apply(this,be))},Ee.instances={},Ee}(),Qg=function(){function Ee(be,De){var Ie;this.windowBounds=De,this.instanceName="#"+Ee.instanceCount++,this.logger=new Hf({id:this.instanceName,enabled:be.logging}),this.cache=(Ie=be.cache)!==null&&Ie!==void 0?Ie:new Ns(this,be)}return Ee.instanceCount=1,Ee}(),jg=function(Ee,be){return be===void 0&&(be={}),Kg(Ee,be)};typeof window!="undefined"&&vs.setContext(window);var Kg=function(Ee,be){return Me(void 0,void 0,void 0,function(){var De,Ie,yt,zt,un,Un,Hn,Hr,Gr,ti,Xi,ts,io,Do,Bl,As,us,sl,Hl,Xs,lu,Go,lu,Il,ll,Eo,Yd,NA,$l,Xd,Rh,MA,PA,Qf,Ff,jf,Ah,nf,fh,c0;return He(this,function(kf){switch(kf.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:(Il=be.allowTaint)!==null&&Il!==void 0?Il:!1,imageTimeout:(ll=be.imageTimeout)!==null&&ll!==void 0?ll:15e3,proxy:be.proxy,useCORS:(Eo=be.useCORS)!==null&&Eo!==void 0?Eo:!1},zt=he({logging:(Yd=be.logging)!==null&&Yd!==void 0?Yd:!0,cache:be.cache},yt),un={windowWidth:(NA=be.windowWidth)!==null&&NA!==void 0?NA:Ie.innerWidth,windowHeight:($l=be.windowHeight)!==null&&$l!==void 0?$l:Ie.innerHeight,scrollX:(Xd=be.scrollX)!==null&&Xd!==void 0?Xd:Ie.pageXOffset,scrollY:(Rh=be.scrollY)!==null&&Rh!==void 0?Rh:Ie.pageYOffset},Un=new Oe(un.scrollX,un.scrollY,un.windowWidth,un.windowHeight),Hn=new Qg(zt,Un),Hr=(MA=be.foreignObjectRendering)!==null&&MA!==void 0?MA:!1,Gr={allowTaint:(PA=be.allowTaint)!==null&&PA!==void 0?PA:!1,onclone:be.onclone,ignoreElements:be.ignoreElements,inlineImages:Hr,copyStyles:Hr},Hn.logger.debug("Starting document clone with size "+Un.width+"x"+Un.height+" scrolled to "+-Un.left+","+-Un.top),ti=new me(Hn,Ee,Gr),Xi=ti.clonedReferenceElement,Xi?[4,ti.toIFrame(De,Un)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return ts=kf.sent(),io=Us(Xi)||Qm(Xi)?ve(Xi.ownerDocument):Le(Hn,Xi),Do=io.width,Bl=io.height,As=io.left,us=io.top,sl=Bd(Hn,Xi,be.backgroundColor),Hl={canvas:be.canvas,backgroundColor:sl,scale:(Ff=(Qf=be.scale)!==null&&Qf!==void 0?Qf:Ie.devicePixelRatio)!==null&&Ff!==void 0?Ff:1,x:((jf=be.x)!==null&&jf!==void 0?jf:0)+As,y:((Ah=be.y)!==null&&Ah!==void 0?Ah:0)+us,width:(nf=be.width)!==null&&nf!==void 0?nf:Math.ceil(Do),height:(fh=be.height)!==null&&fh!==void 0?fh:Math.ceil(Bl)},Hr?(Hn.logger.debug("Document cloned, using foreign object rendering"),lu=new OA(Hn,Hl),[4,lu.render(Xi)]):[3,3];case 2:return Xs=kf.sent(),[3,5];case 3:return Hn.logger.debug("Document cloned, element located at "+As+","+us+" with size "+Do+"x"+Bl+" using computed rendering"),Hn.logger.debug("Starting DOM parsing"),Go=Cp(Hn,Xi),sl===Go.styles.backgroundColor&&(Go.styles.backgroundColor=Cu.TRANSPARENT),Hn.logger.debug("Starting renderer for element at "+Hl.x+","+Hl.y+" with size "+Hl.width+"x"+Hl.height),lu=new Uc(Hn,Hl),[4,lu.render(Go)];case 4:Xs=kf.sent(),kf.label=5;case 5:return(!((c0=be.removeContainer)!==null&&c0!==void 0)||c0)&&(me.destroy(ts)||Hn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Hn.logger.debug("Finished rendering"),[2,Xs]}})})},Bd=function(Ee,be,De){var Ie=be.ownerDocument,yt=Ie.documentElement?Hc(Ee,getComputedStyle(Ie.documentElement).backgroundColor):Cu.TRANSPARENT,zt=Ie.body?Hc(Ee,getComputedStyle(Ie.body).backgroundColor):Cu.TRANSPARENT,un=typeof De=="string"?Hc(Ee,De):De===null?Cu.TRANSPARENT:4294967295;return be===Ie.documentElement?vl(yt)?vl(zt)?un:zt:yt:un};return jg})},44164:function(Qn,Yt,de){var he=de(97671);(function(He,ft){Qn.exports=ft(de(53307),de(64270))})(self,function(Me,He){return function(){var ft={"./src/plugin/hyperlinks.js":function(Ae,xe,fe){"use strict";fe.r(xe);var Ke=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.string.link.js"),Ne=fe.n(_e),Qe=fe("./src/worker.js"),ke=fe("./src/utils.js"),Pe=[],Te={toContainer:Qe.default.prototype.toContainer,toPdf:Qe.default.prototype.toPdf};Qe.default.prototype.toContainer=function(){return Te.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);Pe=[],Array.prototype.forEach.call(We,function(et){for(var rt=et.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 Ct=Math.floor(dt.top/this.prop.pageSize.inner.height)+1,Xe=this.opt.margin[0]+dt.top%this.prop.pageSize.inner.height,Lt=this.opt.margin[1]+dt.left;Pe.push({page:Ct,top:Xe,left:Lt,clientRect:dt,link:et})}},this)}})},Qe.default.prototype.toPdf=function(){return Te.toPdf.call(this).then(function(){if(this.opt.enableLinks){Pe.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,xe,fe){"use strict";fe.r(xe);var Ke=fe("./node_modules/core-js/modules/es.symbol.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.symbol.description.js"),Ne=fe.n(_e),Qe=fe("./node_modules/core-js/modules/es.object.to-string.js"),ke=fe.n(Qe),Pe=fe("./node_modules/core-js/modules/es.symbol.iterator.js"),Te=fe.n(Pe),Ye=fe("./node_modules/core-js/modules/es.array.iterator.js"),ze=fe.n(Ye),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"),et=fe.n(Ze),rt=fe("jspdf"),ht=fe.n(rt);function dt(Ct){"@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(Ct)}rt.jsPDF.getPageSize=function(Ct,Xe,Lt){if(dt(Ct)==="object"){var Re=Ct;Ct=Re.orientation,Xe=Re.unit||Xe,Lt=Re.format||Lt}Xe=Xe||"mm",Lt=Lt||"a4",Ct=(""+(Ct||"P")).toLowerCase();var Ht=(""+Lt).toLowerCase(),Et={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(Xe){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: "+Xe}if(Et.hasOwnProperty(Ht))var Tt=Et[Ht][1]/bt,wt=Et[Ht][0]/bt;else try{var Tt=Lt[1],wt=Lt[0]}catch(at){throw new Error("Invalid format: "+Lt)}if(Ct==="p"||Ct==="portrait"){if(Ct="p",wt>Tt){var it=wt;wt=Tt,Tt=it}}else if(Ct==="l"||Ct==="landscape"){if(Ct="l",Tt>wt){var it=wt;wt=Tt,Tt=it}}else throw"Invalid orientation: "+Ct;var Ue={width:wt,height:Tt,unit:Xe,k:bt};return Ue},xe.default=rt.jsPDF},"./src/plugin/pagebreaks.js":function(Ae,xe,fe){"use strict";fe.r(xe);var Ke=fe("./node_modules/core-js/modules/es.array.concat.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.array.slice.js"),Ne=fe.n(_e),Qe=fe("./node_modules/core-js/modules/es.array.join.js"),ke=fe.n(Qe),Pe=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Te=fe.n(Pe),Ye=fe("./node_modules/core-js/modules/es.object.keys.js"),ze=fe.n(Ye),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,Ct=[].concat(this.opt.pagebreak.mode),Xe={avoidAll:Ct.indexOf("avoid-all")!==-1,css:Ct.indexOf("css")!==-1,legacy:Ct.indexOf("legacy")!==-1},Lt={},Re=this;["before","after","avoid"].forEach(function(bt){var Tt=Xe.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 Ht=ht.querySelectorAll(".html2pdf__page-break");Ht=Array.prototype.slice.call(Ht);var Et=ht.querySelectorAll("*");Array.prototype.forEach.call(Et,function(Tt){var wt={before:!1,after:Xe.legacy&&Ht.indexOf(Tt)!==-1,avoid:Xe.avoidAll};if(Xe.css){var it=window.getComputedStyle(Tt),Ue=["always","page","left","right"],at=["avoid","avoid-page"];wt={before:wt.before||Ue.indexOf(it.breakBefore||it.pageBreakBefore)!==-1,after:wt.after||Ue.indexOf(it.breakAfter||it.pageBreakAfter)!==-1,avoid:wt.avoid||at.indexOf(it.breakInside||it.pageBreakInside)!==-1}}Object.keys(wt).forEach(function(Tn){wt[Tn]=wt[Tn]||Lt[Tn].indexOf(Tt)!==-1});var Xt=Tt.getBoundingClientRect();if(wt.avoid&&!wt.before){var Vt=Math.floor(Xt.top/dt),xt=Math.floor(Xt.bottom/dt),Qt=Math.abs(Xt.bottom-Xt.top)/dt;xt!==Vt&&Qt<=1&&(wt.before=!0)}if(wt.before){var An=(0,We.createElement)("div",{style:{display:"block",height:dt-Xt.top%dt+"px"}});Tt.parentNode.insertBefore(An,Tt)}if(wt.after){var An=(0,We.createElement)("div",{style:{display:"block",height:dt-Xt.bottom%dt+"px"}});Tt.parentNode.insertBefore(An,Tt.nextSibling)}})})}},"./src/utils.js":function(Ae,xe,fe){"use strict";fe.r(xe),fe.d(xe,{objType:function(){return Ct},createElement:function(){return Xe},cloneNode:function(){return Lt},unitConvert:function(){return Re},toPx:function(){return Ht}});var Ke=fe("./node_modules/core-js/modules/es.number.constructor.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.symbol.js"),Ne=fe.n(_e),Qe=fe("./node_modules/core-js/modules/es.symbol.description.js"),ke=fe.n(Qe),Pe=fe("./node_modules/core-js/modules/es.object.to-string.js"),Te=fe.n(Pe),Ye=fe("./node_modules/core-js/modules/es.symbol.iterator.js"),ze=fe.n(Ye),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"),et=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),ht=fe.n(rt);function dt(Et){"@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(Et)}var Ct=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"},Xe=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"),Ue=it.length;Ue-- >0;null)it[Ue].parentNode.removeChild(it[Ue])}for(var at in Tt.style)wt.style[at]=Tt.style[at];return wt},Lt=function Et(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(Et(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(Ct(bt)==="number")return bt*72/96/Tt;var wt={};for(var it in bt)wt[it]=bt[it]*72/96/Tt;return wt},Ht=function(bt,Tt){return Math.floor(bt*Tt/72*96)}},"./src/worker.js":function(Ae,xe,fe){"use strict";fe.r(xe);var Ke=fe("./node_modules/core-js/modules/es.object.assign.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.array.map.js"),Ne=fe.n(_e),Qe=fe("./node_modules/core-js/modules/es.object.keys.js"),ke=fe.n(Qe),Pe=fe("./node_modules/core-js/modules/es.array.concat.js"),Te=fe.n(Pe),Ye=fe("./node_modules/core-js/modules/es.object.to-string.js"),ze=fe.n(Ye),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"),et=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ht=fe.n(rt),dt=fe("jspdf"),Ct=fe.n(dt),Xe=fe("html2canvas"),Lt=fe.n(Xe),Re=fe("./src/utils.js"),Ht=fe("./node_modules/es6-promise/dist/es6-promise.js"),Et=fe.n(Ht),bt=Et().Promise,Tt=function wt(it){var Ue=Object.assign(wt.convert(bt.resolve()),JSON.parse(JSON.stringify(wt.template))),at=wt.convert(bt.resolve(),Ue);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,Ue){return it.__proto__=Ue||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,Ue){function at(Xt){switch((0,Re.objType)(Xt)){case"string":return"string";case"element":return Xt.nodeName.toLowerCase&&Xt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Ue=Ue||at(it),Ue){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)"},Xt={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:Xt}),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,Xe(this.prop.container,at)}).then(function(at){var Xt=this.opt.html2canvas.onrendered||function(){};Xt(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,Xt=this.opt,Vt=at.height,xt=Math.floor(at.width*this.prop.pageSize.inner.ratio),Qt=Math.ceil(Vt/xt),An=this.prop.pageSize.inner.height,Tn=document.createElement("canvas"),dn=Tn.getContext("2d");Tn.width=at.width,Tn.height=xt,this.prop.pdf=this.prop.pdf||new dt.jsPDF(Xt.jsPDF);for(var Gn=0;Gn<Qt;Gn++){Gn===Qt-1&&Vt%xt!==0&&(Tn.height=Vt%xt,An=Tn.height*this.prop.pageSize.inner.width/Tn.width);var Cn=Tn.width,mn=Tn.height;dn.fillStyle="white",dn.fillRect(0,0,Cn,mn),dn.drawImage(at,0,Gn*xt,Cn,mn,0,0,Cn,mn),Gn&&this.prop.pdf.addPage();var Bn=Tn.toDataURL("image/"+Xt.image.type,Xt.image.quality);this.prop.pdf.addImage(Bn,Xt.image.type,Xt.margin[1],Xt.margin[0],this.prop.pageSize.inner.width,An)}})},Tt.prototype.output=function(it,Ue,at){return at=at||"pdf",at.toLowerCase()==="img"||at.toLowerCase()==="image"?this.outputImg(it,Ue):this.outputPdf(it,Ue)},Tt.prototype.outputPdf=function(it,Ue){var at=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(at).then(function(){return this.prop.pdf.output(it,Ue)})},Tt.prototype.outputImg=function(it,Ue){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 Ue=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(Ue).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 Ue=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(Ue)})},Tt.prototype.get=function(it,Ue){return this.then(function(){var Xt=it in Tt.template.prop?this.prop[it]:this.opt[it];return Ue?Ue(Xt):Xt})},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,Ue,at,Xt){return it!=null&&(this.progress.val=it),Ue!=null&&(this.progress.state=Ue),at!=null&&(this.progress.n=at),Xt!=null&&(this.progress.stack=Xt),this.progress.ratio=this.progress.val/this.progress.state,this},Tt.prototype.updateProgress=function(it,Ue,at,Xt){return this.setProgress(it?this.progress.val+it:null,Ue||null,at?this.progress.n+at:null,Xt?this.progress.stack.concat(Xt):null)},Tt.prototype.then=function(it,Ue){var at=this;return this.thenCore(it,Ue,function(Vt,xt){return at.updateProgress(null,null,1,[Vt]),bt.prototype.then.call(this,function(An){return at.updateProgress(null,Vt),An}).then(Vt,xt).then(function(An){return at.updateProgress(1),An})})},Tt.prototype.thenCore=function(it,Ue,at){at=at||bt.prototype.then;var Xt=this;it&&(it=it.bind(Xt)),Ue&&(Ue=Ue.bind(Xt));var Vt=bt.toString().indexOf("[native code]")!==-1&&bt.name==="Promise",xt=Vt?Xt:Tt.convert(Object.assign({},Xt),bt.prototype),Qt=at.call(xt,it,Ue);return Tt.convert(Qt,Xt.__proto__)},Tt.prototype.thenExternal=function(it,Ue){return bt.prototype.then.call(this,it,Ue)},Tt.prototype.thenList=function(it){var Ue=this;return it.forEach(function(Xt){Ue=Ue.thenCore(Xt)}),Ue},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,xe.default=Tt},"./node_modules/core-js/internals/a-function.js":function(Ae){Ae.exports=function(xe){if(typeof xe!="function")throw TypeError(String(xe)+" is not a function");return xe}},"./node_modules/core-js/internals/a-possible-prototype.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be){if(!Ke(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,xe,fe){var Ke=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"),Ne=Ke("unscopables"),Qe=Array.prototype;Qe[Ne]==null&&_e.f(Qe,Ne,{configurable:!0,value:Be(null)}),Ae.exports=function(ke){Qe[Ne][ke]=!0}},"./node_modules/core-js/internals/an-object.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be){if(!Ke(Be))throw TypeError(String(Be)+" is not an object");return Be}},"./node_modules/core-js/internals/array-for-each.js":function(Ae,xe,fe){"use strict";var Ke=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(Qe){return Ke(this,Qe,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Ae,xe,fe){var Ke=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"),Ne=function(Qe){return function(ke,Pe,Te){var Ye=Ke(ke),ze=Be(Ye.length),qe=_e(Te,ze),We;if(Qe&&Pe!=Pe){for(;ze>qe;)if(We=Ye[qe++],We!=We)return!0}else for(;ze>qe;qe++)if((Qe||qe in Ye)&&Ye[qe]===Pe)return Qe||qe||0;return!Qe&&-1}};Ae.exports={includes:Ne(!0),indexOf:Ne(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/to-length.js"),Qe=fe("./node_modules/core-js/internals/array-species-create.js"),ke=[].push,Pe=function(Te){var Ye=Te==1,ze=Te==2,qe=Te==3,We=Te==4,Ze=Te==6,et=Te==7,rt=Te==5||Ze;return function(ht,dt,Ct,Xe){for(var Lt=_e(ht),Re=Be(Lt),Ht=Ke(dt,Ct,3),Et=Ne(Re.length),bt=0,Tt=Xe||Qe,wt=Ye?Tt(ht,Et):ze||et?Tt(ht,0):void 0,it,Ue;Et>bt;bt++)if((rt||bt in Re)&&(it=Re[bt],Ue=Ht(it,bt,Lt),Te))if(Ye)wt[bt]=Ue;else if(Ue)switch(Te){case 3:return!0;case 5:return it;case 6:return bt;case 2:ke.call(wt,it)}else switch(Te){case 4:return!1;case 7:ke.call(wt,it)}return Ze?-1:qe||We?We:wt}};Ae.exports={forEach:Pe(0),map:Pe(1),filter:Pe(2),some:Pe(3),every:Pe(4),find:Pe(5),findIndex:Pe(6),filterReject:Pe(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Ae,xe,fe){var Ke=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"),Ne=Be("species");Ae.exports=function(Qe){return _e>=51||!Ke(function(){var ke=[],Pe=ke.constructor={};return Pe[Ne]=function(){return{foo:1}},ke[Qe](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be,_e){var Ne=[][Be];return!!Ne&&Ke(function(){Ne.call(null,_e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Ae,xe,fe){var Ke=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"),Ne=_e("species");Ae.exports=function(Qe){var ke;return Be(Qe)&&(ke=Qe.constructor,typeof ke=="function"&&(ke===Array||Be(ke.prototype))?ke=void 0:Ke(ke)&&(ke=ke[Ne],ke===null&&(ke=void 0))),ke===void 0?Array:ke}},"./node_modules/core-js/internals/array-species-create.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/array-species-constructor.js");Ae.exports=function(Be,_e){return new(Ke(Be))(_e===0?0:_e)}},"./node_modules/core-js/internals/classof-raw.js":function(Ae){var xe={}.toString;Ae.exports=function(fe){return xe.call(fe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Ae,xe,fe){var Ke=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"),Ne=_e("toStringTag"),Qe=Be(function(){return arguments}())=="Arguments",ke=function(Pe,Te){try{return Pe[Te]}catch(Ye){}};Ae.exports=Ke?Be:function(Pe){var Te,Ye,ze;return Pe===void 0?"Undefined":Pe===null?"Null":typeof(Ye=ke(Te=Object(Pe),Ne))=="string"?Ye:Qe?Be(Te):(ze=Be(Te))=="Object"&&typeof Te.callee=="function"?"Arguments":ze}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/object-define-property.js");Ae.exports=function(Qe,ke){for(var Pe=Be(ke),Te=Ne.f,Ye=_e.f,ze=0;ze<Pe.length;ze++){var qe=Pe[ze];Ke(Qe,qe)||Te(Qe,qe,Ye(ke,qe))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!Ke(function(){function Be(){}return Be.prototype.constructor=null,Object.getPrototypeOf(new Be)!==Be.prototype})},"./node_modules/core-js/internals/create-html.js":function(Ae,xe,fe){var Ke=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(Ne,Qe,ke,Pe){var Te=Be(Ke(Ne)),Ye="<"+Qe;return ke!==""&&(Ye+=" "+ke+'="'+Be(Pe).replace(_e,"&quot;")+'"'),Ye+">"+Te+"</"+Qe+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/set-to-string-tag.js"),Qe=fe("./node_modules/core-js/internals/iterators.js"),ke=function(){return this};Ae.exports=function(Pe,Te,Ye){var ze=Te+" Iterator";return Pe.prototype=Be(Ke,{next:_e(1,Ye)}),Ne(Pe,ze,!1,!0),Qe[ze]=ke,Pe}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Ae,xe,fe){var Ke=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=Ke?function(Ne,Qe,ke){return Be.f(Ne,Qe,_e(1,ke))}:function(Ne,Qe,ke){return Ne[Qe]=ke,Ne}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Ae){Ae.exports=function(xe,fe){return{enumerable:!(xe&1),configurable:!(xe&2),writable:!(xe&4),value:fe}}},"./node_modules/core-js/internals/create-property.js":function(Ae,xe,fe){"use strict";var Ke=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(Ne,Qe,ke){var Pe=Ke(Qe);Pe in Ne?Be.f(Ne,Pe,_e(0,ke)):Ne[Pe]=ke}},"./node_modules/core-js/internals/define-iterator.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/object-set-prototype-of.js"),Qe=fe("./node_modules/core-js/internals/set-to-string-tag.js"),ke=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Pe=fe("./node_modules/core-js/internals/redefine.js"),Te=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ye=fe("./node_modules/core-js/internals/is-pure.js"),ze=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,et=Te("iterator"),rt="keys",ht="values",dt="entries",Ct=function(){return this};Ae.exports=function(Xe,Lt,Re,Ht,Et,bt,Tt){Be(Re,Lt,Ht);var wt=function(dn){if(dn===Et&&Vt)return Vt;if(!Ze&&dn in at)return at[dn];switch(dn){case rt:return function(){return new Re(this,dn)};case ht:return function(){return new Re(this,dn)};case dt:return function(){return new Re(this,dn)}}return function(){return new Re(this)}},it=Lt+" Iterator",Ue=!1,at=Xe.prototype,Xt=at[et]||at["@@iterator"]||Et&&at[Et],Vt=!Ze&&Xt||wt(Et),xt=Lt=="Array"&&at.entries||Xt,Qt,An,Tn;if(xt&&(Qt=_e(xt.call(new Xe)),We!==Object.prototype&&Qt.next&&(!Ye&&_e(Qt)!==We&&(Ne?Ne(Qt,We):typeof Qt[et]!="function"&&ke(Qt,et,Ct)),Qe(Qt,it,!0,!0),Ye&&(ze[it]=Ct))),Et==ht&&Xt&&Xt.name!==ht&&(Ue=!0,Vt=function(){return Xt.call(this)}),(!Ye||Tt)&&at[et]!==Vt&&ke(at,et,Vt),ze[Lt]=Vt,Et)if(An={values:wt(ht),keys:bt?Vt:wt(rt),entries:wt(dt)},Tt)for(Tn in An)(Ze||Ue||!(Tn in at))&&Pe(at,Tn,An[Tn]);else Ke({target:Lt,proto:!0,forced:Ze||Ue},An);return An}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/object-define-property.js").f;Ae.exports=function(Qe){var ke=Ke.Symbol||(Ke.Symbol={});Be(ke,Qe)||Ne(ke,Qe,{value:_e.f(Qe)})}},"./node_modules/core-js/internals/descriptors.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!Ke(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/is-object.js"),_e=Ke.document,Ne=Be(_e)&&Be(_e.createElement);Ae.exports=function(Qe){return Ne?_e.createElement(Qe):{}}},"./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,xe,fe){var Ke=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=Ke("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/engine-user-agent.js"),_e=Ke.process,Ne=Ke.Deno,Qe=_e&&_e.versions||Ne&&Ne.version,ke=Qe&&Qe.v8,Pe,Te;ke?(Pe=ke.split("."),Te=Pe[0]<4?1:Pe[0]+Pe[1]):Be&&(Pe=Be.match(/Edge\/(\d+)/),(!Pe||Pe[1]>=74)&&(Pe=Be.match(/Chrome\/(\d+)/),Pe&&(Te=Pe[1]))),Ae.exports=Te&&+Te},"./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,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/redefine.js"),Qe=fe("./node_modules/core-js/internals/set-global.js"),ke=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Pe=fe("./node_modules/core-js/internals/is-forced.js");Ae.exports=function(Te,Ye){var ze=Te.target,qe=Te.global,We=Te.stat,Ze,et,rt,ht,dt,Ct;if(qe?et=Ke:We?et=Ke[ze]||Qe(ze,{}):et=(Ke[ze]||{}).prototype,et)for(rt in Ye){if(dt=Ye[rt],Te.noTargetGet?(Ct=Be(et,rt),ht=Ct&&Ct.value):ht=et[rt],Ze=Pe(qe?rt:ze+(We?".":"#")+rt,Te.forced),!Ze&&ht!==void 0){if(typeof dt==typeof ht)continue;ke(dt,ht)}(Te.sham||ht&&ht.sham)&&_e(dt,"sham",!0),Ne(et,rt,dt,Te)}}},"./node_modules/core-js/internals/fails.js":function(Ae){Ae.exports=function(xe){try{return!!xe()}catch(fe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/a-function.js");Ae.exports=function(Be,_e,Ne){if(Ke(Be),_e===void 0)return Be;switch(Ne){case 0:return function(){return Be.call(_e)};case 1:return function(Qe){return Be.call(_e,Qe)};case 2:return function(Qe,ke){return Be.call(_e,Qe,ke)};case 3:return function(Qe,ke,Pe){return Be.call(_e,Qe,ke,Pe)}}return function(){return Be.apply(_e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=function(_e){return typeof _e=="function"?_e:void 0};Ae.exports=function(_e,Ne){return arguments.length<2?Be(Ke[_e]):Ke[_e]&&Ke[_e][Ne]}},"./node_modules/core-js/internals/global.js":function(Ae){var xe=function(fe){return fe&&fe.Math==Math&&fe};Ae.exports=xe(typeof globalThis=="object"&&globalThis)||xe(typeof window=="object"&&window)||xe(typeof self=="object"&&self)||xe(typeof de.g=="object"&&de.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-object.js"),Be={}.hasOwnProperty;Ae.exports=Object.hasOwn||function(Ne,Qe){return Be.call(Ke(Ne),Qe)}},"./node_modules/core-js/internals/hidden-keys.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/html.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=Ke("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Ae,xe,fe){var Ke=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=!Ke&&!Be(function(){return Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/classof-raw.js"),_e="".split;Ae.exports=Ke(function(){return!Object("z").propertyIsEnumerable(0)})?function(Ne){return Be(Ne)=="String"?_e.call(Ne,""):Object(Ne)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Ae,xe,fe){var Ke=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,Ne,Qe){var ke,Pe;return Be&&typeof(ke=Ne.constructor)=="function"&&ke!==Qe&&Ke(Pe=ke.prototype)&&Pe!==Qe.prototype&&Be(_e,Pe),_e}},"./node_modules/core-js/internals/inspect-source.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/shared-store.js"),Be=Function.toString;typeof Ke.inspectSource!="function"&&(Ke.inspectSource=function(_e){return Be.call(_e)}),Ae.exports=Ke.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Qe=fe("./node_modules/core-js/internals/has.js"),ke=fe("./node_modules/core-js/internals/shared-store.js"),Pe=fe("./node_modules/core-js/internals/shared-key.js"),Te=fe("./node_modules/core-js/internals/hidden-keys.js"),Ye="Object already initialized",ze=Be.WeakMap,qe,We,Ze,et=function(Re){return Ze(Re)?We(Re):qe(Re,{})},rt=function(Re){return function(Ht){var Et;if(!_e(Ht)||(Et=We(Ht)).type!==Re)throw TypeError("Incompatible receiver, "+Re+" required");return Et}};if(Ke||ke.state){var ht=ke.state||(ke.state=new ze),dt=ht.get,Ct=ht.has,Xe=ht.set;qe=function(Re,Ht){if(Ct.call(ht,Re))throw new TypeError(Ye);return Ht.facade=Re,Xe.call(ht,Re,Ht),Ht},We=function(Re){return dt.call(ht,Re)||{}},Ze=function(Re){return Ct.call(ht,Re)}}else{var Lt=Pe("state");Te[Lt]=!0,qe=function(Re,Ht){if(Qe(Re,Lt))throw new TypeError(Ye);return Ht.facade=Re,Ne(Re,Lt,Ht),Ht},We=function(Re){return Qe(Re,Lt)?Re[Lt]:{}},Ze=function(Re){return Qe(Re,Lt)}}Ae.exports={set:qe,get:We,has:Ze,enforce:et,getterFor:rt}},"./node_modules/core-js/internals/is-array.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/classof-raw.js");Ae.exports=Array.isArray||function(_e){return Ke(_e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js"),Be=/#|\.prototype\./,_e=function(Te,Ye){var ze=Qe[Ne(Te)];return ze==Pe?!0:ze==ke?!1:typeof Ye=="function"?Ke(Ye):!!Ye},Ne=_e.normalize=function(Te){return String(Te).replace(Be,".").toLowerCase()},Qe=_e.data={},ke=_e.NATIVE="N",Pe=_e.POLYFILL="P";Ae.exports=_e},"./node_modules/core-js/internals/is-object.js":function(Ae){Ae.exports=function(xe){return typeof xe=="object"?xe!==null:typeof xe=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Ae){Ae.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Ae,xe,fe){var Ke=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 Ne=Ke("Symbol");return typeof Ne=="function"&&Object(_e)instanceof Ne}},"./node_modules/core-js/internals/iterators-core.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/has.js"),Qe=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=fe("./node_modules/core-js/internals/is-pure.js"),Pe=Qe("iterator"),Te=!1,Ye=function(){return this},ze,qe,We;[].keys&&(We=[].keys(),"next"in We?(qe=Be(Be(We)),qe!==Object.prototype&&(ze=qe)):Te=!0);var Ze=ze==null||Ke(function(){var et={};return ze[Pe].call(et)!==et});Ze&&(ze={}),(!ke||Ze)&&!Ne(ze,Pe)&&_e(ze,Pe,Ye),Ae.exports={IteratorPrototype:ze,BUGGY_SAFARI_ITERATORS:Te}},"./node_modules/core-js/internals/iterators.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Ae,xe,fe){var Ke=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&&Ke&&Ke<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/inspect-source.js"),_e=Ke.WeakMap;Ae.exports=typeof _e=="function"&&/native code/.test(Be(_e))},"./node_modules/core-js/internals/object-assign.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Qe=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ke=fe("./node_modules/core-js/internals/to-object.js"),Pe=fe("./node_modules/core-js/internals/indexed-object.js"),Te=Object.assign,Ye=Object.defineProperty;Ae.exports=!Te||Be(function(){if(Ke&&Te({b:1},Te(Ye({},"a",{enumerable:!0,get:function(){Ye(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ze={},qe={},We=Symbol(),Ze="abcdefghijklmnopqrst";return ze[We]=7,Ze.split("").forEach(function(et){qe[et]=et}),Te({},ze)[We]!=7||_e(Te({},qe)).join("")!=Ze})?function(qe,We){for(var Ze=ke(qe),et=arguments.length,rt=1,ht=Ne.f,dt=Qe.f;et>rt;)for(var Ct=Pe(arguments[rt++]),Xe=ht?_e(Ct).concat(ht(Ct)):_e(Ct),Lt=Xe.length,Re=0,Ht;Lt>Re;)Ht=Xe[Re++],(!Ke||dt.call(Ct,Ht))&&(Ze[Ht]=Ct[Ht]);return Ze}:Te},"./node_modules/core-js/internals/object-create.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/hidden-keys.js"),Qe=fe("./node_modules/core-js/internals/html.js"),ke=fe("./node_modules/core-js/internals/document-create-element.js"),Pe=fe("./node_modules/core-js/internals/shared-key.js"),Te=">",Ye="<",ze="prototype",qe="script",We=Pe("IE_PROTO"),Ze=function(){},et=function(Xe){return Ye+qe+Te+Xe+Ye+"/"+qe+Te},rt=function(Xe){Xe.write(et("")),Xe.close();var Lt=Xe.parentWindow.Object;return Xe=null,Lt},ht=function(){var Xe=ke("iframe"),Lt="java"+qe+":",Re;if(Xe.style)return Xe.style.display="none",Qe.appendChild(Xe),Xe.src=String(Lt),Re=Xe.contentWindow.document,Re.open(),Re.write(et("document.F=Object")),Re.close(),Re.F},dt,Ct=function(){try{dt=new ActiveXObject("htmlfile")}catch(Lt){}Ct=document.domain&&dt?rt(dt):ht()||rt(dt);for(var Xe=_e.length;Xe--;)delete Ct[ze][_e[Xe]];return Ct()};Ne[We]=!0,Ae.exports=Object.create||function(Lt,Re){var Ht;return Lt!==null?(Ze[ze]=Ke(Lt),Ht=new Ze,Ze[ze]=null,Ht[We]=Lt):Ht=Ct(),Re===void 0?Ht:Be(Ht,Re)}},"./node_modules/core-js/internals/object-define-properties.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/object-keys.js");Ae.exports=Ke?Object.defineProperties:function(ke,Pe){_e(ke);for(var Te=Ne(Pe),Ye=Te.length,ze=0,qe;Ye>ze;)Be.f(ke,qe=Te[ze++],Pe[qe]);return ke}},"./node_modules/core-js/internals/object-define-property.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/to-property-key.js"),Qe=Object.defineProperty;xe.f=Ke?Qe:function(Pe,Te,Ye){if(_e(Pe),Te=Ne(Te),_e(Ye),Be)try{return Qe(Pe,Te,Ye)}catch(ze){}if("get"in Ye||"set"in Ye)throw TypeError("Accessors not supported");return"value"in Ye&&(Pe[Te]=Ye.value),Pe}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/to-indexed-object.js"),Qe=fe("./node_modules/core-js/internals/to-property-key.js"),ke=fe("./node_modules/core-js/internals/has.js"),Pe=fe("./node_modules/core-js/internals/ie8-dom-define.js"),Te=Object.getOwnPropertyDescriptor;xe.f=Ke?Te:function(ze,qe){if(ze=Ne(ze),qe=Qe(qe),Pe)try{return Te(ze,qe)}catch(We){}if(ke(ze,qe))return _e(!Be.f.call(ze,qe),ze[qe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Ae,xe,fe){var Ke=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,Ne=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Qe=function(ke){try{return Be(ke)}catch(Pe){return Ne.slice()}};Ae.exports.f=function(Pe){return Ne&&_e.call(Pe)=="[object Window]"?Qe(Pe):Be(Ke(Pe))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Ae,xe,fe){var Ke=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");xe.f=Object.getOwnPropertyNames||function(Qe){return Ke(Qe,_e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Ae,xe){xe.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/correct-prototype-getter.js"),Qe=_e("IE_PROTO"),ke=Object.prototype;Ae.exports=Ne?Object.getPrototypeOf:function(Pe){return Pe=Be(Pe),Ke(Pe,Qe)?Pe[Qe]:typeof Pe.constructor=="function"&&Pe instanceof Pe.constructor?Pe.constructor.prototype:Pe instanceof Object?ke:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Ae,xe,fe){var Ke=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,Ne=fe("./node_modules/core-js/internals/hidden-keys.js");Ae.exports=function(Qe,ke){var Pe=Be(Qe),Te=0,Ye=[],ze;for(ze in Pe)!Ke(Ne,ze)&&Ke(Pe,ze)&&Ye.push(ze);for(;ke.length>Te;)Ke(Pe,ze=ke[Te++])&&(~_e(Ye,ze)||Ye.push(ze));return Ye}},"./node_modules/core-js/internals/object-keys.js":function(Ae,xe,fe){var Ke=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(Ne){return Ke(Ne,Be)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Ae,xe){"use strict";var fe={}.propertyIsEnumerable,Ke=Object.getOwnPropertyDescriptor,Be=Ke&&!fe.call({1:2},1);xe.f=Be?function(Ne){var Qe=Ke(this,Ne);return!!Qe&&Qe.enumerable}:fe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Ae,xe,fe){var Ke=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,Ne={},Qe;try{Qe=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Qe.call(Ne,[]),_e=Ne instanceof Array}catch(ke){}return function(Pe,Te){return Ke(Pe),Be(Te),_e?Qe.call(Pe,Te):Pe.__proto__=Te,Pe}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/classof.js");Ae.exports=Ke?{}.toString:function(){return"[object "+Be(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be,_e){var Ne,Qe;if(_e==="string"&&typeof(Ne=Be.toString)=="function"&&!Ke(Qe=Ne.call(Be))||typeof(Ne=Be.valueOf)=="function"&&!Ke(Qe=Ne.call(Be))||_e!=="string"&&typeof(Ne=Be.toString)=="function"&&!Ke(Qe=Ne.call(Be)))return Qe;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=Ke("Reflect","ownKeys")||function(ke){var Pe=Be.f(Ne(ke)),Te=_e.f;return Te?Pe.concat(Te(ke)):Pe}},"./node_modules/core-js/internals/path.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js");Ae.exports=Ke},"./node_modules/core-js/internals/redefine.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/set-global.js"),Qe=fe("./node_modules/core-js/internals/inspect-source.js"),ke=fe("./node_modules/core-js/internals/internal-state.js"),Pe=ke.get,Te=ke.enforce,Ye=String(String).split("String");(Ae.exports=function(ze,qe,We,Ze){var et=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=Te(We),dt.source||(dt.source=Ye.join(typeof qe=="string"?qe:""))),ze===Ke){rt?ze[qe]=We:Ne(qe,We);return}else et?!ht&&ze[qe]&&(rt=!0):delete ze[qe];rt?ze[qe]=We:Be(ze,qe,We)})(Function.prototype,"toString",function(){return typeof this=="function"&&Pe(this).source||Qe(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=function(){var Be=Ke(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(xe){if(xe==null)throw TypeError("Can't call method on "+xe);return xe}},"./node_modules/core-js/internals/set-global.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js");Ae.exports=function(Be,_e){try{Object.defineProperty(Ke,Be,{value:_e,configurable:!0,writable:!0})}catch(Ne){Ke[Be]=_e}return _e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Ae,xe,fe){var Ke=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"),Ne=_e("toStringTag");Ae.exports=function(Qe,ke,Pe){Qe&&!Be(Qe=Pe?Qe:Qe.prototype,Ne)&&Ke(Qe,Ne,{configurable:!0,value:ke})}},"./node_modules/core-js/internals/shared-key.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/shared.js"),Be=fe("./node_modules/core-js/internals/uid.js"),_e=Ke("keys");Ae.exports=function(Ne){return _e[Ne]||(_e[Ne]=Be(Ne))}},"./node_modules/core-js/internals/shared-store.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/set-global.js"),_e="__core-js_shared__",Ne=Ke[_e]||Be(_e,{});Ae.exports=Ne},"./node_modules/core-js/internals/shared.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-pure.js"),Be=fe("./node_modules/core-js/internals/shared-store.js");(Ae.exports=function(_e,Ne){return Be[_e]||(Be[_e]=Ne!==void 0?Ne:{})})("versions",[]).push({version:"3.16.0",mode:Ke?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be){return Ke(function(){var _e=""[Be]('"');return _e!==_e.toLowerCase()||_e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Ae,xe,fe){var Ke=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"),Ne=function(Qe){return function(ke,Pe){var Te=Be(_e(ke)),Ye=Ke(Pe),ze=Te.length,qe,We;return Ye<0||Ye>=ze?Qe?"":void 0:(qe=Te.charCodeAt(Ye),qe<55296||qe>56319||Ye+1===ze||(We=Te.charCodeAt(Ye+1))<56320||We>57343?Qe?Te.charAt(Ye):qe:Qe?Te.slice(Ye,Ye+2):(qe-55296<<10)+(We-56320)+65536)}};Ae.exports={codeAt:Ne(!1),charAt:Ne(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Ae,xe,fe){var Ke=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"),Ne="["+_e+"]",Qe=RegExp("^"+Ne+Ne+"*"),ke=RegExp(Ne+Ne+"*$"),Pe=function(Te){return function(Ye){var ze=Be(Ke(Ye));return Te&1&&(ze=ze.replace(Qe,"")),Te&2&&(ze=ze.replace(ke,"")),ze}};Ae.exports={start:Pe(1),end:Pe(2),trim:Pe(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.max,_e=Math.min;Ae.exports=function(Ne,Qe){var ke=Ke(Ne);return ke<0?Be(ke+Qe,0):_e(ke,Qe)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Ae,xe,fe){var Ke=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 Ke(Be(_e))}},"./node_modules/core-js/internals/to-integer.js":function(Ae){var xe=Math.ceil,fe=Math.floor;Ae.exports=function(Ke){return isNaN(Ke=+Ke)?0:(Ke>0?fe:xe)(Ke)}},"./node_modules/core-js/internals/to-length.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.min;Ae.exports=function(_e){return _e>0?Be(Ke(_e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/require-object-coercible.js");Ae.exports=function(Be){return Object(Ke(Be))}},"./node_modules/core-js/internals/to-primitive.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/well-known-symbol.js"),Qe=Ne("toPrimitive");Ae.exports=function(ke,Pe){if(!Ke(ke)||Be(ke))return ke;var Te=ke[Qe],Ye;if(Te!==void 0){if(Pe===void 0&&(Pe="default"),Ye=Te.call(ke,Pe),!Ke(Ye)||Be(Ye))return Ye;throw TypeError("Can't convert object to primitive value")}return Pe===void 0&&(Pe="number"),_e(ke,Pe)}},"./node_modules/core-js/internals/to-property-key.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-primitive.js"),Be=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(_e){var Ne=Ke(_e,"string");return Be(Ne)?Ne:String(Ne)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/well-known-symbol.js"),Be=Ke("toStringTag"),_e={};_e[Be]="z",Ae.exports=String(_e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(Be){if(Ke(Be))throw TypeError("Cannot convert a Symbol value to a string");return String(Be)}},"./node_modules/core-js/internals/uid.js":function(Ae){var xe=0,fe=Math.random();Ae.exports=function(Ke){return"Symbol("+String(Ke===void 0?"":Ke)+")_"+(++xe+fe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/native-symbol.js");Ae.exports=Ke&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/well-known-symbol.js");xe.f=Ke},"./node_modules/core-js/internals/well-known-symbol.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/uid.js"),Qe=fe("./node_modules/core-js/internals/native-symbol.js"),ke=fe("./node_modules/core-js/internals/use-symbol-as-uid.js"),Pe=Be("wks"),Te=Ke.Symbol,Ye=ke?Te:Te&&Te.withoutSetter||Ne;Ae.exports=function(ze){return(!_e(Pe,ze)||!(Qe||typeof Pe[ze]=="string"))&&(Qe&&_e(Te,ze)?Pe[ze]=Te[ze]:Pe[ze]=Ye("Symbol."+ze)),Pe[ze]}},"./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,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/is-object.js"),Qe=fe("./node_modules/core-js/internals/to-object.js"),ke=fe("./node_modules/core-js/internals/to-length.js"),Pe=fe("./node_modules/core-js/internals/create-property.js"),Te=fe("./node_modules/core-js/internals/array-species-create.js"),Ye=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=fe("./node_modules/core-js/internals/well-known-symbol.js"),qe=fe("./node_modules/core-js/internals/engine-v8-version.js"),We=ze("isConcatSpreadable"),Ze=9007199254740991,et="Maximum allowed index exceeded",rt=qe>=51||!Be(function(){var Xe=[];return Xe[We]=!1,Xe.concat()[0]!==Xe}),ht=Ye("concat"),dt=function(Xe){if(!Ne(Xe))return!1;var Lt=Xe[We];return Lt!==void 0?!!Lt:_e(Xe)},Ct=!rt||!ht;Ke({target:"Array",proto:!0,forced:Ct},{concat:function(Lt){var Re=Qe(this),Ht=Te(Re,0),Et=0,bt,Tt,wt,it,Ue;for(bt=-1,wt=arguments.length;bt<wt;bt++)if(Ue=bt===-1?Re:arguments[bt],dt(Ue)){if(it=ke(Ue.length),Et+it>Ze)throw TypeError(et);for(Tt=0;Tt<it;Tt++,Et++)Tt in Ue&&Pe(Ht,Et,Ue[Tt])}else{if(Et>=Ze)throw TypeError(et);Pe(Ht,Et++,Ue)}return Ht.length=Et,Ht}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/internal-state.js"),Qe=fe("./node_modules/core-js/internals/define-iterator.js"),ke="Array Iterator",Pe=Ne.set,Te=Ne.getterFor(ke);Ae.exports=Qe(Array,"Array",function(Ye,ze){Pe(this,{type:ke,target:Ke(Ye),index:0,kind:ze})},function(){var Ye=Te(this),ze=Ye.target,qe=Ye.kind,We=Ye.index++;return!ze||We>=ze.length?(Ye.target=void 0,{value:void 0,done:!0}):qe=="keys"?{value:We,done:!1}:qe=="values"?{value:ze[We],done:!1}:{value:[We,ze[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,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/array-method-is-strict.js"),Qe=[].join,ke=Be!=Object,Pe=Ne("join",",");Ke({target:"Array",proto:!0,forced:ke||!Pe},{join:function(Ye){return Qe.call(_e(this),Ye===void 0?",":Ye)}})},"./node_modules/core-js/modules/es.array.map.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=_e("map");Ke({target:"Array",proto:!0,forced:!Ne},{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,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/to-absolute-index.js"),Qe=fe("./node_modules/core-js/internals/to-length.js"),ke=fe("./node_modules/core-js/internals/to-indexed-object.js"),Pe=fe("./node_modules/core-js/internals/create-property.js"),Te=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ye=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=Ye("slice"),qe=Te("species"),We=[].slice,Ze=Math.max;Ke({target:"Array",proto:!0,forced:!ze},{slice:function(rt,ht){var dt=ke(this),Ct=Qe(dt.length),Xe=Ne(rt,Ct),Lt=Ne(ht===void 0?Ct:ht,Ct),Re,Ht,Et;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,Xe,Lt);for(Ht=new(Re===void 0?Array:Re)(Ze(Lt-Xe,0)),Et=0;Xe<Lt;Xe++,Et++)Xe in dt&&Pe(Ht,Et,dt[Xe]);return Ht.length=Et,Ht}})},"./node_modules/core-js/modules/es.function.name.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js").f,_e=Function.prototype,Ne=_e.toString,Qe=/^\s*function ([^ (]*)/,ke="name";Ke&&!(ke in _e)&&Be(_e,ke,{configurable:!0,get:function(){try{return Ne.call(this).match(Qe)[1]}catch(Pe){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/redefine.js"),Qe=fe("./node_modules/core-js/internals/has.js"),ke=fe("./node_modules/core-js/internals/classof-raw.js"),Pe=fe("./node_modules/core-js/internals/inherit-if-required.js"),Te=fe("./node_modules/core-js/internals/is-symbol.js"),Ye=fe("./node_modules/core-js/internals/to-primitive.js"),ze=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,et=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],Ct=dt.prototype,Xe=ke(qe(Ct))==ht,Lt=function(Tt){if(Te(Tt))throw TypeError("Cannot convert a Symbol value to a number");var wt=Ye(Tt,"number"),it,Ue,at,Xt,Vt,xt,Qt,An;if(typeof wt=="string"&&wt.length>2){if(wt=rt(wt),it=wt.charCodeAt(0),it===43||it===45){if(Ue=wt.charCodeAt(2),Ue===88||Ue===120)return NaN}else if(it===48){switch(wt.charCodeAt(1)){case 66:case 98:at=2,Xt=49;break;case 79:case 111:at=8,Xt=55;break;default:return+wt}for(Vt=wt.slice(2),xt=Vt.length,Qt=0;Qt<xt;Qt++)if(An=Vt.charCodeAt(Qt),An<48||An>Xt)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,Ue=this;return Ue instanceof Re&&(Xe?ze(function(){Ct.valueOf.call(Ue)}):ke(Ue)!=ht)?Pe(new dt(Lt(it)),Ue,Re):Lt(it)},Ht=Ke?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(","),Et=0,bt;Ht.length>Et;Et++)Qe(dt,bt=Ht[Et])&&!Qe(Re,bt)&&et(Re,bt,Ze(dt,bt));Re.prototype=Ct,Ct.constructor=Re,Ne(Be,ht,Re)}},"./node_modules/core-js/modules/es.object.assign.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/object-assign.js");Ke({target:"Object",stat:!0,forced:Object.assign!==Be},{assign:Be})},"./node_modules/core-js/modules/es.object.keys.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/fails.js"),Qe=Ne(function(){_e(1)});Ke({target:"Object",stat:!0,forced:Qe},{keys:function(Pe){return _e(Be(Pe))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Ae,xe,fe){var Ke=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");Ke||Be(Object.prototype,"toString",_e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/fails.js"),Qe=fe("./node_modules/core-js/internals/regexp-flags.js"),ke="toString",Pe=RegExp.prototype,Te=Pe[ke],Ye=Ne(function(){return Te.call({source:"a",flags:"b"})!="/a/b"}),ze=Te.name!=ke;(Ye||ze)&&Ke(RegExp.prototype,ke,function(){var We=Be(this),Ze=_e(We.source),et=We.flags,rt=_e(et===void 0&&We instanceof RegExp&&!("flags"in Pe)?Qe.call(We):et);return"/"+Ze+"/"+rt},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/define-iterator.js"),Qe="String Iterator",ke=_e.set,Pe=_e.getterFor(Qe);Ne(String,"String",function(Te){ke(this,{type:Qe,string:Be(Te),index:0})},function(){var Ye=Pe(this),ze=Ye.string,qe=Ye.index,We;return qe>=ze.length?{value:void 0,done:!0}:(We=Ke(ze,qe),Ye.index+=We.length,{value:We,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Ae,xe,fe){"use strict";var Ke=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");Ke({target:"String",proto:!0,forced:_e("link")},{link:function(Qe){return Be(this,"a","href",Qe)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/has.js"),Qe=fe("./node_modules/core-js/internals/is-object.js"),ke=fe("./node_modules/core-js/internals/object-define-property.js").f,Pe=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Te=_e.Symbol;if(Be&&typeof Te=="function"&&(!("description"in Te.prototype)||Te().description!==void 0)){var Ye={},ze=function(){var ht=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),dt=this instanceof ze?new Te(ht):ht===void 0?Te():Te(ht);return ht===""&&(Ye[dt]=!0),dt};Pe(ze,Te);var qe=ze.prototype=Te.prototype;qe.constructor=ze;var We=qe.toString,Ze=String(Te("test"))=="Symbol(test)",et=/^Symbol\((.*)\)[^)]+$/;ke(qe,"description",{configurable:!0,get:function(){var ht=Qe(this)?this.valueOf():this,dt=We.call(ht);if(Ne(Ye,ht))return"";var Ct=Ze?dt.slice(7,-1):dt.replace(et,"$1");return Ct===""?void 0:Ct}}),Ke({global:!0,forced:!0},{Symbol:ze})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/define-well-known-symbol.js");Ke("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Ae,xe,fe){"use strict";var Ke=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"),Ne=fe("./node_modules/core-js/internals/is-pure.js"),Qe=fe("./node_modules/core-js/internals/descriptors.js"),ke=fe("./node_modules/core-js/internals/native-symbol.js"),Pe=fe("./node_modules/core-js/internals/fails.js"),Te=fe("./node_modules/core-js/internals/has.js"),Ye=fe("./node_modules/core-js/internals/is-array.js"),ze=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"),et=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"),Ct=fe("./node_modules/core-js/internals/object-create.js"),Xe=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"),Ht=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Et=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"),Ue=fe("./node_modules/core-js/internals/shared.js"),at=fe("./node_modules/core-js/internals/shared-key.js"),Xt=fe("./node_modules/core-js/internals/hidden-keys.js"),Vt=fe("./node_modules/core-js/internals/uid.js"),xt=fe("./node_modules/core-js/internals/well-known-symbol.js"),Qt=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),An=fe("./node_modules/core-js/internals/define-well-known-symbol.js"),Tn=fe("./node_modules/core-js/internals/set-to-string-tag.js"),dn=fe("./node_modules/core-js/internals/internal-state.js"),Gn=fe("./node_modules/core-js/internals/array-iteration.js").forEach,Cn=at("hidden"),mn="Symbol",Bn="prototype",Se=xt("toPrimitive"),Fe=dn.set,ie=dn.getterFor(mn),ae=Object[Bn],se=Be.Symbol,oe=_e("JSON","stringify"),Je=Et.f,vt=bt.f,$e=Re.f,lt=Tt.f,Pt=Ue("symbols"),_t=Ue("op-symbols"),kt=Ue("string-to-symbol-registry"),$t=Ue("symbol-to-string-registry"),Sn=Ue("wks"),St=Be.QObject,nn=!St||!St[Bn]||!St[Bn].findChild,tn=Qe&&Pe(function(){return Ct(vt({},"a",{get:function(){return vt(this,"a",{value:7}).a}})).a!=7})?function(Rr,Sr,fr){var Vr=Je(ae,Sr);Vr&&delete ae[Sr],vt(Rr,Sr,fr),Vr&&Rr!==ae&&vt(ae,Sr,Vr)}:vt,jt=function(Rr,Sr){var fr=Pt[Rr]=Ct(se[Bn]);return Fe(fr,{type:mn,tag:Rr,description:Sr}),Qe||(fr.description=Sr),fr},pt=function(Sr,fr,Vr){Sr===ae&&pt(_t,fr,Vr),We(Sr);var Bi=rt(fr);return We(Vr),Te(Pt,Bi)?(Vr.enumerable?(Te(Sr,Cn)&&Sr[Cn][Bi]&&(Sr[Cn][Bi]=!1),Vr=Ct(Vr,{enumerable:dt(0,!1)})):(Te(Sr,Cn)||vt(Sr,Cn,dt(1,{})),Sr[Cn][Bi]=!0),tn(Sr,Bi,Vr)):vt(Sr,Bi,Vr)},Zt=function(Sr,fr){We(Sr);var Vr=et(fr),Bi=Xe(Vr).concat(Dr(Vr));return Gn(Bi,function(yi){(!Qe||wn.call(Vr,yi))&&pt(Sr,yi,Vr[yi])}),Sr},gn=function(Sr,fr){return fr===void 0?Ct(Sr):Zt(Ct(Sr),fr)},wn=function(Sr){var fr=rt(Sr),Vr=lt.call(this,fr);return this===ae&&Te(Pt,fr)&&!Te(_t,fr)?!1:Vr||!Te(this,fr)||!Te(Pt,fr)||Te(this,Cn)&&this[Cn][fr]?Vr:!0},Xn=function(Sr,fr){var Vr=et(Sr),Bi=rt(fr);if(!(Vr===ae&&Te(Pt,Bi)&&!Te(_t,Bi))){var yi=Je(Vr,Bi);return yi&&Te(Pt,Bi)&&!(Te(Vr,Cn)&&Vr[Cn][Bi])&&(yi.enumerable=!0),yi}},yr=function(Sr){var fr=$e(et(Sr)),Vr=[];return Gn(fr,function(Bi){!Te(Pt,Bi)&&!Te(Xt,Bi)&&Vr.push(Bi)}),Vr},Dr=function(Sr){var fr=Sr===ae,Vr=$e(fr?_t:et(Sr)),Bi=[];return Gn(Vr,function(yi){Te(Pt,yi)&&(!fr||Te(ae,yi))&&Bi.push(Pt[yi])}),Bi};if(ke||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var Sr=!arguments.length||arguments[0]===void 0?void 0:ht(arguments[0]),fr=Vt(Sr),Vr=function(Bi){this===ae&&Vr.call(_t,Bi),Te(this,Cn)&&Te(this[Cn],fr)&&(this[Cn][fr]=!1),tn(this,fr,dt(1,Bi))};return Qe&&nn&&tn(ae,fr,{configurable:!0,set:Vr}),jt(fr,Sr)},it(se[Bn],"toString",function(){return ie(this).tag}),it(se,"withoutSetter",function(Rr){return jt(Vt(Rr),Rr)}),Tt.f=wn,bt.f=pt,Et.f=Xn,Lt.f=Re.f=yr,Ht.f=Dr,Qt.f=function(Rr){return jt(xt(Rr),Rr)},Qe&&(vt(se[Bn],"description",{configurable:!0,get:function(){return ie(this).description}}),Ne||it(ae,"propertyIsEnumerable",wn,{unsafe:!0}))),Ke({global:!0,wrap:!0,forced:!ke,sham:!ke},{Symbol:se}),Gn(Xe(Sn),function(Rr){An(Rr)}),Ke({target:mn,stat:!0,forced:!ke},{for:function(Rr){var Sr=ht(Rr);if(Te(kt,Sr))return kt[Sr];var fr=se(Sr);return kt[Sr]=fr,$t[fr]=Sr,fr},keyFor:function(Sr){if(!qe(Sr))throw TypeError(Sr+" is not a symbol");if(Te($t,Sr))return $t[Sr]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),Ke({target:"Object",stat:!0,forced:!ke,sham:!Qe},{create:gn,defineProperty:pt,defineProperties:Zt,getOwnPropertyDescriptor:Xn}),Ke({target:"Object",stat:!0,forced:!ke},{getOwnPropertyNames:yr,getOwnPropertySymbols:Dr}),Ke({target:"Object",stat:!0,forced:Pe(function(){Ht.f(1)})},{getOwnPropertySymbols:function(Sr){return Ht.f(Ze(Sr))}}),oe){var Tr=!ke||Pe(function(){var Rr=se();return oe([Rr])!="[null]"||oe({a:Rr})!="{}"||oe(Object(Rr))!="{}"});Ke({target:"JSON",stat:!0,forced:Tr},{stringify:function(Sr,fr,Vr){for(var Bi=[Sr],yi=1,mi;arguments.length>yi;)Bi.push(arguments[yi++]);if(mi=fr,!(!ze(fr)&&Sr===void 0||qe(Sr)))return Ye(fr)||(fr=function(Vi,ua){if(typeof mi=="function"&&(ua=mi.call(this,Vi,ua)),!qe(ua))return ua}),Bi[1]=fr,oe.apply(null,Bi)}})}se[Bn][Se]||wt(se[Bn],Se,se[Bn].valueOf),Tn(se,mn),Xt[Cn]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Qe in Be){var ke=Ke[Qe],Pe=ke&&ke.prototype;if(Pe&&Pe.forEach!==_e)try{Ne(Pe,"forEach",_e)}catch(Te){Pe.forEach=_e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Ae,xe,fe){var Ke=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"),Ne=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Qe=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=Qe("iterator"),Pe=Qe("toStringTag"),Te=_e.values;for(var Ye in Be){var ze=Ke[Ye],qe=ze&&ze.prototype;if(qe){if(qe[ke]!==Te)try{Ne(qe,ke,Te)}catch(Ze){qe[ke]=Te}if(qe[Pe]||Ne(qe,Pe,Ye),Be[Ye]){for(var We in _e)if(qe[We]!==_e[We])try{Ne(qe,We,_e[We])}catch(Ze){qe[We]=_e[We]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Ae){(function(xe,fe){Ae.exports=fe()})(this,function(){"use strict";function xe(St){var nn=typeof St;return St!==null&&(nn==="object"||nn==="function")}function fe(St){return typeof St=="function"}var Ke=void 0;Array.isArray?Ke=Array.isArray:Ke=function(St){return Object.prototype.toString.call(St)==="[object Array]"};var Be=Ke,_e=0,Ne=void 0,Qe=void 0,ke=function(nn,tn){Xe[_e]=nn,Xe[_e+1]=tn,_e+=2,_e===2&&(Qe?Qe(Lt):Ht())};function Pe(St){Qe=St}function Te(St){ke=St}var Ye=typeof window!="undefined"?window:void 0,ze=Ye||{},qe=ze.MutationObserver||ze.WebKitMutationObserver,We=typeof self=="undefined"&&typeof he!="undefined"&&{}.toString.call(he)==="[object process]",Ze=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function et(){return function(){return he.nextTick(Lt)}}function rt(){return typeof Ne!="undefined"?function(){Ne(Lt)}:Ct()}function ht(){var St=0,nn=new qe(Lt),tn=document.createTextNode("");return nn.observe(tn,{characterData:!0}),function(){tn.data=St=++St%2}}function dt(){var St=new MessageChannel;return St.port1.onmessage=Lt,function(){return St.port2.postMessage(0)}}function Ct(){var St=setTimeout;return function(){return St(Lt,1)}}var Xe=new Array(1e3);function Lt(){for(var St=0;St<_e;St+=2){var nn=Xe[St],tn=Xe[St+1];nn(tn),Xe[St]=void 0,Xe[St+1]=void 0}_e=0}function Re(){try{var St=Function("return this")().require("vertx");return Ne=St.runOnLoop||St.runOnContext,rt()}catch(nn){return Ct()}}var Ht=void 0;We?Ht=et():qe?Ht=ht():Ze?Ht=dt():Ye===void 0?Ht=Re():Ht=Ct();function Et(St,nn){var tn=this,jt=new this.constructor(wt);jt[Tt]===void 0&&oe(jt);var pt=tn._state;if(pt){var Zt=arguments[pt-1];ke(function(){return Fe(pt,jt,Zt,tn._result)})}else Bn(tn,jt,St,nn);return jt}function bt(St){var nn=this;if(St&&typeof St=="object"&&St.constructor===nn)return St;var tn=new nn(wt);return dn(tn,St),tn}var Tt=Math.random().toString(36).substring(2);function wt(){}var it=void 0,Ue=1,at=2;function Xt(){return new TypeError("You cannot resolve a promise with itself")}function Vt(){return new TypeError("A promises callback cannot return that same promise.")}function xt(St,nn,tn,jt){try{St.call(nn,tn,jt)}catch(pt){return pt}}function Qt(St,nn,tn){ke(function(jt){var pt=!1,Zt=xt(tn,nn,function(gn){pt||(pt=!0,nn!==gn?dn(jt,gn):Cn(jt,gn))},function(gn){pt||(pt=!0,mn(jt,gn))},"Settle: "+(jt._label||" unknown promise"));!pt&&Zt&&(pt=!0,mn(jt,Zt))},St)}function An(St,nn){nn._state===Ue?Cn(St,nn._result):nn._state===at?mn(St,nn._result):Bn(nn,void 0,function(tn){return dn(St,tn)},function(tn){return mn(St,tn)})}function Tn(St,nn,tn){nn.constructor===St.constructor&&tn===Et&&nn.constructor.resolve===bt?An(St,nn):tn===void 0?Cn(St,nn):fe(tn)?Qt(St,nn,tn):Cn(St,nn)}function dn(St,nn){if(St===nn)mn(St,Xt());else if(xe(nn)){var tn=void 0;try{tn=nn.then}catch(jt){mn(St,jt);return}Tn(St,nn,tn)}else Cn(St,nn)}function Gn(St){St._onerror&&St._onerror(St._result),Se(St)}function Cn(St,nn){St._state===it&&(St._result=nn,St._state=Ue,St._subscribers.length!==0&&ke(Se,St))}function mn(St,nn){St._state===it&&(St._state=at,St._result=nn,ke(Gn,St))}function Bn(St,nn,tn,jt){var pt=St._subscribers,Zt=pt.length;St._onerror=null,pt[Zt]=nn,pt[Zt+Ue]=tn,pt[Zt+at]=jt,Zt===0&&St._state&&ke(Se,St)}function Se(St){var nn=St._subscribers,tn=St._state;if(nn.length!==0){for(var jt=void 0,pt=void 0,Zt=St._result,gn=0;gn<nn.length;gn+=3)jt=nn[gn],pt=nn[gn+tn],jt?Fe(tn,jt,pt,Zt):pt(Zt);St._subscribers.length=0}}function Fe(St,nn,tn,jt){var pt=fe(tn),Zt=void 0,gn=void 0,wn=!0;if(pt){try{Zt=tn(jt)}catch(Xn){wn=!1,gn=Xn}if(nn===Zt){mn(nn,Vt());return}}else Zt=jt;nn._state!==it||(pt&&wn?dn(nn,Zt):wn===!1?mn(nn,gn):St===Ue?Cn(nn,Zt):St===at&&mn(nn,Zt))}function ie(St,nn){try{nn(function(jt){dn(St,jt)},function(jt){mn(St,jt)})}catch(tn){mn(St,tn)}}var ae=0;function se(){return ae++}function oe(St){St[Tt]=ae++,St._state=void 0,St._result=void 0,St._subscribers=[]}function Je(){return new Error("Array Methods must be provided an Array")}var vt=function(){function St(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))):mn(this.promise,Je())}return St.prototype._enumerate=function(tn){for(var jt=0;this._state===it&&jt<tn.length;jt++)this._eachEntry(tn[jt],jt)},St.prototype._eachEntry=function(tn,jt){var pt=this._instanceConstructor,Zt=pt.resolve;if(Zt===bt){var gn=void 0,wn=void 0,Xn=!1;try{gn=tn.then}catch(Dr){Xn=!0,wn=Dr}if(gn===Et&&tn._state!==it)this._settledAt(tn._state,jt,tn._result);else if(typeof gn!="function")this._remaining--,this._result[jt]=tn;else if(pt===$t){var yr=new pt(wt);Xn?mn(yr,wn):Tn(yr,tn,gn),this._willSettleAt(yr,jt)}else this._willSettleAt(new pt(function(Dr){return Dr(tn)}),jt)}else this._willSettleAt(Zt(tn),jt)},St.prototype._settledAt=function(tn,jt,pt){var Zt=this.promise;Zt._state===it&&(this._remaining--,tn===at?mn(Zt,pt):this._result[jt]=pt),this._remaining===0&&Cn(Zt,this._result)},St.prototype._willSettleAt=function(tn,jt){var pt=this;Bn(tn,void 0,function(Zt){return pt._settledAt(Ue,jt,Zt)},function(Zt){return pt._settledAt(at,jt,Zt)})},St}();function $e(St){return new vt(this,St).promise}function lt(St){var nn=this;return Be(St)?new nn(function(tn,jt){for(var pt=St.length,Zt=0;Zt<pt;Zt++)nn.resolve(St[Zt]).then(tn,jt)}):new nn(function(tn,jt){return jt(new TypeError("You must pass an array to race."))})}function Pt(St){var nn=this,tn=new nn(wt);return mn(tn,St),tn}function _t(){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 St(nn){this[Tt]=se(),this._result=this._state=void 0,this._subscribers=[],wt!==nn&&(typeof nn!="function"&&_t(),this instanceof St?ie(this,nn):kt())}return St.prototype.catch=function(tn){return this.then(null,tn)},St.prototype.finally=function(tn){var jt=this,pt=jt.constructor;return fe(tn)?jt.then(function(Zt){return pt.resolve(tn()).then(function(){return Zt})},function(Zt){return pt.resolve(tn()).then(function(){throw Zt})}):jt.then(tn,tn)},St}();$t.prototype.then=Et,$t.all=$e,$t.race=lt,$t.resolve=bt,$t.reject=Pt,$t._setScheduler=Pe,$t._setAsap=Te,$t._asap=ke;function Sn(){var St=void 0;if(typeof de.g!="undefined")St=de.g;else if(typeof self!="undefined")St=self;else try{St=Function("return this")()}catch(jt){throw new Error("polyfill failed because global object is unavailable in this environment")}var nn=St.Promise;if(nn){var tn=null;try{tn=Object.prototype.toString.call(nn.resolve())}catch(jt){}if(tn==="[object Promise]"&&!nn.cast)return}St.Promise=$t}return $t.polyfill=Sn,$t.Promise=$t,$t})},html2canvas:function(Ae){"use strict";Ae.exports=He},jspdf:function(Ae){"use strict";Ae.exports=Me}},Oe={};function Le(Ae){var xe=Oe[Ae];if(xe!==void 0)return xe.exports;var fe=Oe[Ae]={exports:{}};return ft[Ae].call(fe.exports,fe,fe.exports,Le),fe.exports}(function(){Le.n=function(Ae){var xe=Ae&&Ae.__esModule?function(){return Ae.default}:function(){return Ae};return Le.d(xe,{a:xe}),xe}})(),function(){Le.d=function(Ae,xe){for(var fe in xe)Le.o(xe,fe)&&!Le.o(Ae,fe)&&Object.defineProperty(Ae,fe,{enumerable:!0,get:xe[fe]})}}(),function(){Le.o=function(Ae,xe){return Object.prototype.hasOwnProperty.call(Ae,xe)}}(),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"),xe=Le("./src/plugin/jspdf-plugin.js"),fe=Le("./src/plugin/pagebreaks.js"),Ke=Le("./src/plugin/hyperlinks.js"),Be=function _e(Ne,Qe){var ke=new _e.Worker(Qe);return Ne?ke.from(Ne).save():ke};Be.Worker=Ae.default,ve.default=Be}(),ve=ve.default,ve}()})},67467:function(Qn,Yt){Yt.read=function(de,he,Me,He,ft){var Oe,Le,ve=ft*8-He-1,Ae=(1<<ve)-1,xe=Ae>>1,fe=-7,Ke=Me?ft-1:0,Be=Me?-1:1,_e=de[he+Ke];for(Ke+=Be,Oe=_e&(1<<-fe)-1,_e>>=-fe,fe+=ve;fe>0;Oe=Oe*256+de[he+Ke],Ke+=Be,fe-=8);for(Le=Oe&(1<<-fe)-1,Oe>>=-fe,fe+=He;fe>0;Le=Le*256+de[he+Ke],Ke+=Be,fe-=8);if(Oe===0)Oe=1-xe;else{if(Oe===Ae)return Le?NaN:(_e?-1:1)*(1/0);Le=Le+Math.pow(2,He),Oe=Oe-xe}return(_e?-1:1)*Le*Math.pow(2,Oe-He)},Yt.write=function(de,he,Me,He,ft,Oe){var Le,ve,Ae,xe=Oe*8-ft-1,fe=(1<<xe)-1,Ke=fe>>1,Be=ft===23?Math.pow(2,-24)-Math.pow(2,-77):0,_e=He?0:Oe-1,Ne=He?1:-1,Qe=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+Ke>=1?he+=Be/Ae:he+=Be*Math.pow(2,1-Ke),he*Ae>=2&&(Le++,Ae/=2),Le+Ke>=fe?(ve=0,Le=fe):Le+Ke>=1?(ve=(he*Ae-1)*Math.pow(2,ft),Le=Le+Ke):(ve=he*Math.pow(2,Ke-1)*Math.pow(2,ft),Le=0));ft>=8;de[Me+_e]=ve&255,_e+=Ne,ve/=256,ft-=8);for(Le=Le<<ft|ve,xe+=ft;xe>0;de[Me+_e]=Le&255,_e+=Ne,Le/=256,xe-=8);de[Me+_e-Ne]|=Qe*128}},53307:function(Qn,Yt,de){"use strict";de.r(Yt),de.d(Yt,{AcroForm:function(){return NA},AcroFormAppearance:function(){return Eo},AcroFormButton:function(){return sl},AcroFormCheckBox:function(){return lu},AcroFormChoiceField:function(){return Do},AcroFormComboBox:function(){return As},AcroFormEditBox:function(){return us},AcroFormListBox:function(){return Bl},AcroFormPasswordField:function(){return ll},AcroFormPushButton:function(){return Hl},AcroFormRadioButton:function(){return Xs},AcroFormTextField:function(){return Il},GState:function(){return Fp},ShadingPattern:function(){return s0},TilingPattern:function(){return l0},default:function(){return _s},jsPDF:function(){return _s}});var he=de(43749),Me={},He=function(E,ne,te,ce,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 At=new Error(ot[0]);At.code=ot[1],At.stack=ot[2],ge(At,null)}else ge(null,Ge)},Ce.postMessage(te,ce),Ce},ft=Uint8Array,Oe=Uint16Array,Le=Int32Array,ve=new ft([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 ft([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]),xe=new ft([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 Oe(31),ce=0;ce<31;++ce)te[ce]=ne+=1<<E[ce-1];for(var ge=new Le(te[30]),ce=1;ce<30;++ce)for(var Ce=te[ce];Ce<te[ce+1];++Ce)ge[Ce]=Ce-te[ce]<<5|ce;return{b:te,r:ge}},Ke=fe(ve,2),Be=Ke.b,_e=Ke.r;Be[28]=258,_e[258]=28;for(var Ne=fe(Ae,0),Qe=Ne.b,ke=Ne.r,Pe=new Oe(32768),Te=0;Te<32768;++Te){var Ye=(Te&43690)>>1|(Te&21845)<<1;Ye=(Ye&52428)>>2|(Ye&13107)<<2,Ye=(Ye&61680)>>4|(Ye&3855)<<4,Pe[Te]=((Ye&65280)>>8|(Ye&255)<<8)>>1}for(var ze=function(E,ne,te){for(var ce=E.length,ge=0,Ce=new Oe(ne);ge<ce;++ge)E[ge]&&++Ce[E[ge]-1];var nt=new Oe(ne);for(ge=1;ge<ne;++ge)nt[ge]=nt[ge-1]+Ce[ge-1]<<1;var Ge;if(te){Ge=new Oe(1<<ne);var ot=15-ne;for(ge=0;ge<ce;++ge)if(E[ge])for(var At=ge<<4|E[ge],Ft=ne-E[ge],en=nt[E[ge]-1]++<<Ft,sn=en|(1<<Ft)-1;en<=sn;++en)Ge[Pe[en]>>ot]=At}else for(Ge=new Oe(ce),ge=0;ge<ce;++ge)E[ge]&&(Ge[ge]=Pe[nt[E[ge]-1]++]>>15-E[ge]);return Ge},qe=new ft(288),Te=0;Te<144;++Te)qe[Te]=8;for(var Te=144;Te<256;++Te)qe[Te]=9;for(var Te=256;Te<280;++Te)qe[Te]=7;for(var Te=280;Te<288;++Te)qe[Te]=8;for(var We=new ft(32),Te=0;Te<32;++Te)We[Te]=5;var Ze=ze(qe,9,0),et=null,rt=ze(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},Ct=function(E,ne,te){var ce=ne/8|0;return(E[ce]|E[ce+1]<<8)>>(ne&7)&te},Xe=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 ft(E.subarray(ne,te))},Ht={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},Et=["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 ce=new Error(ne||Et[E]);if(ce.code=E,Error.captureStackTrace&&Error.captureStackTrace(ce,bt),!te)throw ce;return ce},Tt=function(E,ne,te,ce){var ge=E.length,Ce=ce?ce.length:0;if(!ge||ne.f&&!ne.l)return te||new ft(0);var nt=!te,Ge=nt||ne.i!=2,ot=ne.i;nt&&(te=new ft(ge*3));var At=function(co){var Ho=te.length;if(co>Ho){var Ko=new ft(Math.max(Ho*2,co));Ko.set(te),te=Ko}},Ft=ne.f||0,en=ne.p||0,sn=ne.b||0,Bt=ne.l,zn=ne.d,Nn=ne.m,Yn=ne.n,xn=ge*8;do{if(!Bt){Ft=Ct(E,en,1);var Lr=Ct(E,en+1,3);if(en+=3,Lr)if(Lr==1)Bt=et,zn=ht,Nn=9,Yn=5;else if(Lr==2){var qi=Ct(E,en,31)+257,Qi=Ct(E,en+10,15)+4,zr=qi+Ct(E,en+5,31)+1;en+=14;for(var ur=new ft(zr),ci=new ft(19),yn=0;yn<Qi;++yn)ci[xe[yn]]=Ct(E,en+yn*3,7);en+=Qi*3;for(var qn=dt(ci),Mr=(1<<qn)-1,Br=ze(ci,qn,1),yn=0;yn<zr;){var Fi=Br[Ct(E,en,Mr)];en+=Fi&15;var xr=Fi>>4;if(xr<16)ur[yn++]=xr;else{var Ui=0,Gi=0;for(xr==16?(Gi=3+Ct(E,en,3),en+=2,Ui=ur[yn-1]):xr==17?(Gi=3+Ct(E,en,7),en+=3):xr==18&&(Gi=11+Ct(E,en,127),en+=7);Gi--;)ur[yn++]=Ui}}var xi=ur.subarray(0,qi),Wi=ur.subarray(qi);Nn=dt(xi),Yn=dt(Wi),Bt=ze(xi,Nn,1),zn=ze(Wi,Yn,1)}else bt(1);else{var xr=Lt(en)+4,sr=E[xr-4]|E[xr-3]<<8,wi=xr+sr;if(wi>ge){ot&&bt(0);break}Ge&&At(sn+sr),te.set(E.subarray(xr,wi),sn),ne.b=sn+=sr,ne.p=en=wi*8,ne.f=Ft;continue}if(en>xn){ot&&bt(0);break}}Ge&&At(sn+131072);for(var mo=(1<<Nn)-1,Ta=(1<<Yn)-1,hn=en;;hn=en){var Ui=Bt[Xe(E,en)&mo],or=Ui>>4;if(en+=Ui&15,en>xn){ot&&bt(0);break}if(Ui||bt(2),or<256)te[sn++]=or;else if(or==256){hn=en,Bt=null;break}else{var pr=or-254;if(or>264){var yn=or-257,Nr=ve[yn];pr=Ct(E,en,(1<<Nr)-1)+Be[yn],en+=Nr}var Xr=zn[Xe(E,en)&Ta],pi=Xr>>4;Xr||bt(3),en+=Xr&15;var Wi=Qe[pi];if(pi>3){var Nr=Ae[pi];Wi+=Xe(E,en)&(1<<Nr)-1,en+=Nr}if(en>xn){ot&&bt(0);break}Ge&&At(sn+131072);var Di=sn+pr;if(sn<Wi){var Ni=Ce-Wi,ba=Math.min(Wi,Di);for(Ni+sn<0&&bt(3);sn<ba;++sn)te[sn]=ce[Ni+sn]}for(;sn<Di;++sn)te[sn]=te[sn-Wi]}}ne.l=Bt,ne.p=hn,ne.b=sn,ne.f=Ft,Bt&&(Ft=1,ne.m=Nn,ne.d=zn,ne.n=Yn)}while(!Ft);return sn!=te.length&&nt?Re(te,0,sn):te.subarray(0,sn)},wt=function(E,ne,te){te<<=ne&7;var ce=ne/8|0;E[ce]|=te,E[ce+1]|=te>>8},it=function(E,ne,te){te<<=ne&7;var ce=ne/8|0;E[ce]|=te,E[ce+1]|=te>>8,E[ce+2]|=te>>16},Ue=function(E,ne){for(var te=[],ce=0;ce<E.length;++ce)E[ce]&&te.push({s:ce,f:E[ce]});var ge=te.length,Ce=te.slice();if(!ge)return{t:Tn,l:0};if(ge==1){var nt=new ft(te[0].s+1);return nt[te[0].s]=1,{t:nt,l:1}}te.sort(function(wi,qi){return wi.f-qi.f}),te.push({s:-1,f:25001});var Ge=te[0],ot=te[1],At=0,Ft=1,en=2;for(te[0]={s:-1,f:Ge.f+ot.f,l:Ge,r:ot};Ft!=ge-1;)Ge=te[te[At].f<te[en].f?At++:en++],ot=te[At!=Ft&&te[At].f<te[en].f?At++:en++],te[Ft++]={s:-1,f:Ge.f+ot.f,l:Ge,r:ot};for(var sn=Ce[0].s,ce=1;ce<ge;++ce)Ce[ce].s>sn&&(sn=Ce[ce].s);var Bt=new Oe(sn+1),zn=at(te[Ft-1],Bt,0);if(zn>ne){var ce=0,Nn=0,Yn=zn-ne,xn=1<<Yn;for(Ce.sort(function(qi,Qi){return Bt[Qi.s]-Bt[qi.s]||qi.f-Qi.f});ce<ge;++ce){var Lr=Ce[ce].s;if(Bt[Lr]>ne)Nn+=xn-(1<<zn-Bt[Lr]),Bt[Lr]=ne;else break}for(Nn>>=Yn;Nn>0;){var xr=Ce[ce].s;Bt[xr]<ne?Nn-=1<<ne-Bt[xr]++-1:++ce}for(;ce>=0&&Nn;--ce){var sr=Ce[ce].s;Bt[sr]==ne&&(--Bt[sr],++Nn)}zn=ne}return{t:new ft(Bt),l:zn}},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},Xt=function(E){for(var ne=E.length;ne&&!E[--ne];);for(var te=new Oe(++ne),ce=0,ge=E[0],Ce=1,nt=function(ot){te[ce++]=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,ce),n:ne}},Vt=function(E,ne){for(var te=0,ce=0;ce<ne.length;++ce)te+=E[ce]*ne[ce];return te},xt=function(E,ne,te){var ce=te.length,ge=Lt(ne+2);E[ge]=ce&255,E[ge+1]=ce>>8,E[ge+2]=E[ge]^255,E[ge+3]=E[ge+1]^255;for(var Ce=0;Ce<ce;++Ce)E[ge+Ce+4]=te[Ce];return(ge+4+ce)*8},Qt=function(E,ne,te,ce,ge,Ce,nt,Ge,ot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>5&8191),Ft+=Ae[Xr])}else it(ne,Ft,Ui[Nr]),Ft+=Gi[Nr]}return it(ne,Ft,Ui[256]),Ft+Gi[256]},An=new Le([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Tn=new ft(0),dn=function(E,ne,te,ce,ge,Ce){var nt=Ce.z||E.length,Ge=new ft(ce+nt+5*(1+Math.ceil(nt/7e3))+ge),ot=Ge.subarray(ce,Ge.length-ge),At=Ce.l,Ft=(Ce.r||0)&7;if(ne){Ft&&(ot[0]=Ce.r>>3);for(var en=An[ne-1],sn=en>>13,Bt=en&8191,zn=(1<<te)-1,Nn=Ce.p||new Oe(32768),Yn=Ce.h||new Oe(zn+1),xn=Math.ceil(te/3),Lr=2*xn,xr=function(zs){return(E[zs]^E[zs+1]<<xn^E[zs+2]<<Lr)&zn},sr=new Le(25e3),wi=new Oe(288),qi=new Oe(32),Qi=0,zr=0,ur=Ce.i||0,ci=0,yn=Ce.w||0,qn=0;ur+2<nt;++ur){var Mr=xr(ur),Br=ur&32767,Fi=Yn[Mr];if(Nn[Br]=Fi,Yn[Mr]=Br,yn<=ur){var Ui=nt-ur;if((Qi>7e3||ci>24576)&&(Ui>423||!At)){Ft=Qt(E,ot,0,sr,wi,qi,zr,ci,qn,ur-qn,Ft),ci=Qi=zr=0,qn=ur;for(var Gi=0;Gi<286;++Gi)wi[Gi]=0;for(var Gi=0;Gi<30;++Gi)qi[Gi]=0}var xi=2,Wi=0,mo=Bt,Ta=Br-Fi&32767;if(Ui>2&&Mr==xr(ur-Ta))for(var hn=Math.min(sn,Ui)-1,or=Math.min(32767,ur),pr=Math.min(258,Ui);Ta<=or&&--mo&&Br!=Fi;){if(E[ur+xi]==E[ur+xi-Ta]){for(var Nr=0;Nr<pr&&E[ur+Nr]==E[ur+Nr-Ta];++Nr);if(Nr>xi){if(xi=Nr,Wi=Ta,Nr>hn)break;for(var Xr=Math.min(Ta,Nr-2),pi=0,Gi=0;Gi<Xr;++Gi){var Di=ur-Ta+Gi&32767,Ni=Nn[Di],ba=Di-Ni&32767;ba>pi&&(pi=ba,Fi=Di)}}}Br=Fi,Fi=Nn[Br],Ta+=Br-Fi&32767}if(Wi){sr[ci++]=268435456|_e[xi]<<18|ke[Wi];var co=_e[xi]&31,Ho=ke[Wi]&31;zr+=ve[co]+Ae[Ho],++wi[257+co],++qi[Ho],yn=ur+xi,++Qi}else sr[ci++]=E[ur],++wi[E[ur]]}}for(ur=Math.max(ur,yn);ur<nt;++ur)sr[ci++]=E[ur],++wi[E[ur]];Ft=Qt(E,ot,At,sr,wi,qi,zr,ci,qn,ur-qn,Ft),At||(Ce.r=Ft&7|ot[Ft/8|0]<<3,Ft-=7,Ce.h=Yn,Ce.p=Nn,Ce.i=ur,Ce.w=yn)}else{for(var ur=Ce.w||0;ur<nt+At;ur+=65535){var Ko=ur+65535;Ko>=nt&&(ot[Ft/8|0]=At,Ko=nt),Ft=xt(ot,Ft+1,E.subarray(ur,Ko))}Ce.i=nt}return Re(Ge,0,ce+Lt(Ft)+ge)},Gn=null,Cn=function(){var E=-1;return{p:function(ne){for(var te=E,ce=0;ce<ne.length;++ce)te=Gn[te&255^ne[ce]]^te>>>8;E=te},d:function(){return~E}}},mn=function(){var E=1,ne=0;return{p:function(te){for(var ce=E,ge=ne,Ce=te.length|0,nt=0;nt!=Ce;){for(var Ge=Math.min(nt+2655,Ce);nt<Ge;++nt)ge+=ce+=te[nt];ce=(ce&65535)+15*(ce>>16),ge=(ge&65535)+15*(ge>>16)}E=ce,ne=ge},d:function(){return E%=65521,ne%=65521,(E&255)<<24|(E&65280)<<8|(ne&255)<<8|ne>>8}}},Bn=function(E,ne,te,ce,ge){if(!ge&&(ge={l:1},ne.dictionary)){var Ce=ne.dictionary.subarray(-32768),nt=new ft(Ce.length+E.length);nt.set(Ce),nt.set(E,Ce.length),E=nt,ge.w=Ce.length}return dn(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,ce,ge)},Se=function(E,ne){var te={};for(var ce in E)te[ce]=E[ce];for(var ce in ne)te[ce]=ne[ce];return te},Fe=function(E,ne,te){for(var ce=E(),ge=E.toString(),Ce=ge.slice(ge.indexOf("[")+1,ge.lastIndexOf("]")).replace(/\s+/g,"").split(","),nt=0;nt<ce.length;++nt){var Ge=ce[nt],ot=Ce[nt];if(typeof Ge=="function"){ne+=";"+ot+"=";var At=Ge.toString();if(Ge.prototype)if(At.indexOf("[native code]")!=-1){var Ft=At.indexOf(" ",8)+1;ne+=At.slice(Ft,At.indexOf("(",Ft))}else{ne+=At;for(var en in Ge.prototype)ne+=";"+ot+".prototype."+en+"="+Ge.prototype[en].toString()}else ne+=At}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,ce){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 He(ie[te].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+ne.toString()+"}",te,ot,ae(ot),ce)},oe=function(){return[ft,Oe,Le,ve,Ae,xe,Be,Qe,et,ht,Pe,Et,ze,dt,Ct,Xe,Lt,Re,bt,Tt,Vi,_t,kt]},Je=function(){return[ft,Oe,Le,ve,Ae,xe,_e,ke,Ze,qe,rt,We,Pe,An,Tn,ze,wt,it,Ue,at,Xt,Vt,xt,Qt,Lt,Re,dn,Bn,Vr,_t]},vt=function(){return[Zt,Xn,pt,Cn,Gn]},$e=function(){return[gn,wn]},lt=function(){return[yr,pt,mn]},Pt=function(){return[Dr]},_t=function(E){return postMessage(E,[E.buffer])},kt=function(E){return E&&{out:E.size&&new ft(E.size),dictionary:E.dictionary}},$t=function(E,ne,te,ce,ge,Ce){var nt=se(te,ce,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()}},St=function(E,ne,te,ce,ge,Ce,nt){var Ge,ot=se(E,ce,ge,function(At,Ft){At?(ot.terminate(),ne.ondata.call(ne,At)):Array.isArray(Ft)?Ft.length==1?(ne.queuedSize-=Ft[0],ne.ondrain&&ne.ondrain(Ft[0])):(Ft[1]&&ot.terminate(),ne.ondata.call(ne,At,Ft[0],Ft[1])):nt(Ft)});ot.postMessage(te),ne.queuedSize=0,ne.push=function(At,Ft){ne.ondata||bt(5),Ge&&ne.ondata(bt(4,0,1),null,!!Ft),ne.queuedSize+=At.length,ot.postMessage([At,Ge=Ft],[At.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},jt=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},Zt=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 ce=0;ce<=te.length;++ce)E[ce+10]=te.charCodeAt(ce)}},gn=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 ce=(ne>>3&1)+(ne>>4&1);ce>0;ce-=!E[te++]);return te+(ne&2)},wn=function(E){var ne=E.length;return(E[ne-4]|E[ne-3]<<8|E[ne-2]<<16|E[ne-1]<<24)>>>0},Xn=function(E){return 10+(E.filename?E.filename.length+1:0)},yr=function(E,ne){var te=ne.level,ce=te==0?0:te<6?1:te==9?3:2;if(E[0]=120,E[1]=ce<<6|(ne.dictionary&&32),E[1]|=31-(E[0]<<8|E[1])%31,ne.dictionary){var ge=mn();ge.p(ne.dictionary),pt(E,2,ge.d())}},Dr=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 Tr(E,ne){return typeof E=="function"&&(ne=E,E={}),this.ondata=ne,E}var Rr=null,Sr=null;function fr(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Je],function(ce){return _t(Vr(ce.data[0],ce.data[1]))},0,te)}function Vr(E,ne){return Bn(E,ne||{},0,0)}var Bi=null,yi=null;function mi(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe],function(ce){return _t(Vi(ce.data[0],kt(ce.data[1])))},1,te)}function Vi(E,ne){return Tt(E,{i:2},ne&&ne.out,ne&&ne.dictionary)}var ua=null,Wr=null;function Mn(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Je,vt,function(){return[ea]}],function(ce){return _t(ea(ce.data[0],ce.data[1]))},2,te)}function ea(E,ne){ne||(ne={});var te=Cn(),ce=E.length;te.p(E);var ge=Bn(E,ne,Xn(ne),8),Ce=ge.length;return Zt(ge,ne),pt(ge,Ce-8,te.d()),pt(ge,Ce-4,ce),ge}var Ea=null,wo=null;function sa(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe,$e,function(){return[Pi]}],function(ce){return _t(Pi(ce.data[0],ce.data[1]))},3,te)}function Pi(E,ne){var te=gn(E);return te+8>E.length&&bt(6,"invalid gzip data"),Tt(E.subarray(te,-8),{i:2},ne&&ne.out||new ft(wn(E)),ne&&ne.dictionary)}var Aa=null,Si=null;function qr(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Je,lt,function(){return[Ma]}],function(ce){return _t(Ma(ce.data[0],ce.data[1]))},4,te)}function Ma(E,ne){ne||(ne={});var te=mn();te.p(E);var ce=Bn(E,ne,ne.dictionary?6:2,4);return yr(ce,ne),pt(ce,ce.length-4,te.d()),ce}var kn=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[Wt]}],function(ce){return _t(Wt(ce.data[0],kt(ce.data[1])))},5,te)}function Wt(E,ne){return Tt(E.subarray(Dr(E,ne&&ne.dictionary),-4),{i:2},ne&&ne.out,ne&&ne.dictionary)}var Kt=null,on=null;function _n(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),E[0]==31&&E[1]==139&&E[2]==8?sa(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 lr(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?Vi(E,ne):Wt(E,ne)}var nr=function(E,ne,te,ce){for(var ge in E){var Ce=E[ge],nt=ne+ge,Ge=ce;Array.isArray(Ce)&&(Ge=Se(ce,Ce[1]),Ce=Ce[0]),Ce instanceof ft?te[nt]=[Ce,Ge]:(te[nt+="/"]=[new ft(0),Ge],nr(Ce,nt,te,ce))}},dr=typeof TextEncoder!="undefined"&&new TextEncoder,Pr=typeof TextDecoder!="undefined"&&new TextDecoder,Ur=0;try{Pr.decode(Tn,{stream:!0}),Ur=1}catch(E){}var ei=function(E){for(var ne="",te=0;;){var ce=E[te++],ge=(ce>127)+(ce>223)+(ce>239);if(te+ge>E.length)return{s:ne,r:Re(E,te-1)};ge?ge==3?(ce=((ce&15)<<18|(E[te++]&63)<<12|(E[te++]&63)<<6|E[te++]&63)-65536,ne+=String.fromCharCode(55296|ce>>10,56320|ce&1023)):ge&1?ne+=String.fromCharCode((ce&31)<<6|E[te++]&63):ne+=String.fromCharCode((ce&15)<<12|(E[te++]&63)<<6|E[te++]&63):ne+=String.fromCharCode(ce)}},er=null,kr=null;function _i(E,ne){if(ne){for(var te=new ft(E.length),ce=0;ce<E.length;++ce)te[ce]=E.charCodeAt(ce);return te}if(dr)return dr.encode(E);for(var ge=E.length,Ce=new ft(E.length+(E.length>>1)),nt=0,Ge=function(Ft){Ce[nt++]=Ft},ce=0;ce<ge;++ce){if(nt+5>Ce.length){var ot=new ft(nt+8+(ge-ce<<1));ot.set(Ce),Ce=ot}var At=E.charCodeAt(ce);At<128||ne?Ge(At):At<2048?(Ge(192|At>>6),Ge(128|At&63)):At>55295&&At<57344?(At=65536+(At&1047552)|E.charCodeAt(++ce)&1023,Ge(240|At>>18),Ge(128|At>>12&63),Ge(128|At>>6&63),Ge(128|At&63)):(Ge(224|At>>12),Ge(128|At>>6&63),Ge(128|At&63))}return Re(Ce,0,nt)}function gi(E,ne){if(ne){for(var te="",ce=0;ce<E.length;ce+=16384)te+=String.fromCharCode.apply(null,E.subarray(ce,ce+16384));return te}else{if(Pr)return Pr.decode(E);var ge=ei(E),Ce=ge.s,te=ge.r;return te.length&&bt(8),Ce}}var ji=function(E){return E==1?3:E<6?2:E==9?1:0},Mi=function(E,ne){return ne+30+nn(E,ne+26)+nn(E,ne+28)},Ca=function(E,ne,te){var ce=nn(E,ne+28),ge=gi(E.subarray(ne+46,ne+46+ce),!(nn(E,ne+8)&2048)),Ce=ne+46+ce,nt=tn(E,ne+20),Ge=te&&nt==4294967295?Jr(E,Ce):[nt,tn(E,ne+24),tn(E,ne+42)],ot=Ge[0],At=Ge[1],Ft=Ge[2];return[nn(E,ne+10),ot,At,ge,Ce+nn(E,ne+30)+nn(E,ne+32),Ft]},Jr=function(E,ne){for(;nn(E,ne)!=1;ne+=4+nn(E,ne+2));return[jt(E,ne+12),jt(E,ne+4),jt(E,ne+20)]},ra=function(E){var ne=0;if(E)for(var te in E){var ce=E[te].length;ce>65535&&bt(9),ne+=ce+4}return ne},vn=function(E,ne,te,ce,ge,Ce,nt,Ge){var ot=ce.length,At=te.extra,Ft=Ge&&Ge.length,en=ra(At);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),Bt=sn.getFullYear()-1980;if((Bt<0||Bt>119)&&bt(10),pt(E,ne,Bt<<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,Ft),pt(E,ne+6,te.attrs),pt(E,ne+10,nt),ne+=14),E.set(ce,ne),ne+=ot,en)for(var zn in At){var Nn=At[zn],Yn=Nn.length;pt(E,ne,+zn),pt(E,ne+2,Yn),E.set(Nn,ne+4),ne+=4+Yn}return Ft&&(E.set(Ge,ne),ne+=Ft),ne},gr=function(E,ne,te,ce,ge){pt(E,ne,101010256),pt(E,ne+8,te),pt(E,ne+10,te),pt(E,ne+12,ce),pt(E,ne+16,ge)},Ar=null,jr=null,br=null,Ir=null;function Fr(E,ne,te){te||(te=ne,ne={}),typeof te!="function"&&bt(7);var ce={};nr(E,"",ce,ne);var ge=Object.keys(ce),Ce=ge.length,nt=0,Ge=0,ot=Ce,At=new Array(Ce),Ft=[],en=function(){for(var Yn=0;Yn<Ft.length;++Yn)Ft[Yn]()},sn=function(Yn,xn){$a(function(){te(Yn,xn)})};$a(function(){sn=te});var Bt=function(){var Yn=new ft(Ge+22),xn=nt,Lr=Ge-nt;Ge=0;for(var xr=0;xr<ot;++xr){var sr=At[xr];try{var wi=sr.c.length;vn(Yn,Ge,sr,sr.f,sr.u,wi);var qi=30+sr.f.length+ra(sr.extra),Qi=Ge+qi;Yn.set(sr.c,Qi),vn(Yn,nt,sr,sr.f,sr.u,wi,Ge,sr.m),nt+=16+qi+(sr.m?sr.m.length:0),Ge=Qi+wi}catch(zr){return sn(zr,null)}}gr(Yn,nt,At.length,Lr,xn),sn(null,Yn)};Ce||Bt();for(var zn=function(Yn){var xn=ge[Yn],Lr=ce[xn],xr=Lr[0],sr=Lr[1],wi=Cn(),qi=xr.length;wi.p(xr);var Qi=_i(xn),zr=Qi.length,ur=sr.comment,ci=ur&&_i(ur),yn=ci&&ci.length,qn=ra(sr.extra),Mr=sr.level==0?0:8,Br=function(Fi,Ui){if(Fi)en(),sn(Fi,null);else{var Gi=Ui.length;At[Yn]=Se(sr,{size:qi,crc:wi.d(),c:Ui,f:Qi,m:ci,u:zr!=xn.length||ci&&ur.length!=yn,compression:Mr}),nt+=30+zr+qn+Gi,Ge+=76+2*(zr+qn)+(yn||0)+Gi,--Ce||Bt()}};if(zr>65535&&Br(bt(11,0,1),null),!Mr)Br(null,xr);else if(qi<16e4)try{Br(null,Vr(xr,sr))}catch(Fi){Br(Fi,null)}else Ft.push(fr(xr,sr,Br))},Nn=0;Nn<ot;++Nn)zn(Nn);return en}function si(E,ne){ne||(ne={});var te={},ce=[];nr(E,"",te,ne);var ge=0,Ce=0;for(var nt in te){var Ge=te[nt],ot=Ge[0],At=Ge[1],Ft=At.level==0?0:8,en=_i(nt),sn=en.length,Bt=At.comment,zn=Bt&&_i(Bt),Nn=zn&&zn.length,Yn=ra(At.extra);sn>65535&&bt(11);var xn=Ft?Vr(ot,At):ot,Lr=xn.length,xr=Cn();xr.p(ot),ce.push(Se(At,{size:ot.length,crc:xr.d(),c:xn,f:en,m:zn,u:sn!=nt.length||zn&&Bt.length!=Nn,o:ge,compression:Ft})),ge+=30+sn+Yn+Lr,Ce+=76+2*(sn+Yn)+(Nn||0)+Lr}for(var sr=new ft(Ce+22),wi=ge,qi=Ce-ge,Qi=0;Qi<ce.length;++Qi){var en=ce[Qi];vn(sr,en.o,en,en.f,en.u,en.c.length);var zr=30+en.f.length+ra(en.extra);sr.set(en.c,en.o+zr),vn(sr,ge,en,en.f,en.u,en.c.length,en.o,en.m),ge+=16+zr+(en.m?en.m.length:0)}return gr(sr,ge,ce.length,qi,wi),sr}var bi=null,Ti=null,Pa=null,Ka=null,$a=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(E){E()};function Ua(E,ne,te){te||(te=ne,ne={}),typeof te!="function"&&bt(7);var ce=[],ge=function(){for(var Yn=0;Yn<ce.length;++Yn)ce[Yn]()},Ce={},nt=function(Yn,xn){$a(function(){te(Yn,xn)})};$a(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 At=ot,Ft=tn(E,Ge+16),en=Ft==4294967295||At==65535;if(en){var sn=tn(E,Ge-12);en=tn(E,sn)==101075792,en&&(At=ot=tn(E,sn+32),Ft=tn(E,sn+48))}for(var Bt=ne&&ne.filter,zn=function(Yn){var xn=Ca(E,Ft,en),Lr=xn[0],xr=xn[1],sr=xn[2],wi=xn[3],qi=xn[4],Qi=xn[5],zr=Mi(E,Qi);Ft=qi;var ur=function(yn,qn){yn?(ge(),nt(yn,null)):(qn&&(Ce[wi]=qn),--ot||nt(null,Ce))};if(!Bt||Bt({name:wi,size:xr,originalSize:sr,compression:Lr}))if(!Lr)ur(null,Re(E,zr,zr+xr));else if(Lr==8){var ci=E.subarray(zr,zr+xr);if(sr<524288||xr>.8*sr)try{ur(null,Vi(ci,{out:new ft(sr)}))}catch(yn){ur(yn,null)}else ce.push(mi(ci,{size:sr},ur))}else ur(bt(14,"unknown compression type "+Lr,1),null);else ur(null,null)},Nn=0;Nn<At;++Nn)zn(Nn)}else nt(null,{});return ge}function Fa(E,ne){for(var te={},ce=E.length-22;tn(E,ce)!=101010256;--ce)(!ce||E.length-ce>65558)&&bt(13);var ge=nn(E,ce+8);if(!ge)return{};var Ce=tn(E,ce+16),nt=Ce==4294967295||ge==65535;if(nt){var Ge=tn(E,ce-12);nt=tn(E,Ge)==101075792,nt&&(ge=tn(E,Ge+32),Ce=tn(E,Ge+48))}for(var ot=ne&&ne.filter,At=0;At<ge;++At){var Ft=Ca(E,Ce,nt),en=Ft[0],sn=Ft[1],Bt=Ft[2],zn=Ft[3],Nn=Ft[4],Yn=Ft[5],xn=Mi(E,Yn);Ce=Nn,(!ot||ot({name:zn,size:sn,originalSize:Bt,compression:en}))&&(en?en==8?te[zn]=Vi(E.subarray(xn,xn+sn),{out:new ft(Bt)}):bt(14,"unknown compression type "+en):te[zn]=Re(E,xn,xn+sn))}return te}var ho=de(72190);function oo(E,ne="utf8"){return new TextDecoder(ne).decode(E)}const ta=new TextEncoder;function ui(E){return ta.encode(E)}const za=1024*8,no=(()=>{const E=new Uint8Array(4),ne=new Uint32Array(E.buffer);return!((ne[0]=1)&E[0])})(),La={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 xo{constructor(ne=za,te={}){pc(this,"buffer");pc(this,"byteLength");pc(this,"byteOffset");pc(this,"length");pc(this,"offset");pc(this,"lastWrittenByte");pc(this,"littleEndian");pc(this,"_data");pc(this,"_mark");pc(this,"_marks");let ce=!1;typeof ne=="number"?ne=new ArrayBuffer(ne):(ce=!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 xo)&&(ne.byteLength!==ne.buffer.byteLength&&(nt=ne.byteOffset+ge),ne=ne.buffer),ce?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 ce=(this.offset+ne)*2,ge=new Uint8Array(ce);ge.set(new Uint8Array(this.buffer)),this.buffer=ge.buffer,this.length=ce,this.byteLength=ce,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 ce=La[te].BYTES_PER_ELEMENT*ne,ge=this.byteOffset+this.offset,Ce=this.buffer.slice(ge,ge+ce);if(this.littleEndian===no&&te!=="uint8"&&te!=="int8"){const Ge=new Uint8Array(this.buffer.slice(ge,ge+ce));Ge.reverse();const ot=new La[te](Ge.buffer);return this.offset+=ce,ot.reverse(),ot}const nt=new La[te](Ce);return this.offset+=ce,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 ce=0;ce<ne;ce++)te+=this.readChar();return te}readUtf8(ne=1){return oo(this.readBytes(ne))}decodeText(ne=1,te="utf8"){return oo(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(ui(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 os=4,Va=0,Ii=1,Ci=2;function Ha(E){let ne=E.length;for(;--ne>=0;)E[ne]=0}const Oa=0,eo=1,Lo=2,vo=3,jn=258,Oo=29,Ks=256,Sa=Ks+1+Oo,ga=30,Co=19,Fo=2*Sa+1,Es=15,Js=16,Os=7,ps=256,as=16,ol=17,fa=18,la=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]),ia=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]),Ln=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),In=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Er=512,vi=new Array((Sa+2)*2);Ha(vi);const ha=new Array(ga*2);Ha(ha);const Ia=new Array(Er);Ha(Ia);const va=new Array(jn-vo+1);Ha(va);const Ji=new Array(Oo);Ha(Ji);const ya=new Array(ga);Ha(ya);function No(E,ne,te,ce,ge){this.static_tree=E,this.extra_bits=ne,this.extra_base=te,this.elems=ce,this.max_length=ge,this.has_stree=E&&E.length}let Vo,cs,Mo;function ul(E,ne){this.dyn_tree=E,this.max_code=0,this.stat_desc=ne}const Ss=E=>E<256?Ia[E]:Ia[256+(E>>>7)],vr=(E,ne)=>{E.pending_buf[E.pending++]=ne&255,E.pending_buf[E.pending++]=ne>>>8&255},On=(E,ne,te)=>{E.bi_valid>Js-te?(E.bi_buf|=ne<<E.bi_valid&65535,vr(E,E.bi_buf),E.bi_buf=ne>>Js-E.bi_valid,E.bi_valid+=te-Js):(E.bi_buf|=ne<<E.bi_valid&65535,E.bi_valid+=te)},Dn=(E,ne,te)=>{On(E,te[ne*2],te[ne*2+1])},wr=(E,ne)=>{let te=0;do te|=E&1,E>>>=1,te<<=1;while(--ne>0);return te>>>1},ni=E=>{E.bi_valid===16?(vr(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)},li=(E,ne)=>{const te=ne.dyn_tree,ce=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 At,Ft,en,sn,Bt,zn,Nn=0;for(sn=0;sn<=Es;sn++)E.bl_count[sn]=0;for(te[E.heap[E.heap_max]*2+1]=0,At=E.heap_max+1;At<Fo;At++)Ft=E.heap[At],sn=te[te[Ft*2+1]*2+1]+1,sn>ot&&(sn=ot,Nn++),te[Ft*2+1]=sn,!(Ft>ce)&&(E.bl_count[sn]++,Bt=0,Ft>=Ge&&(Bt=nt[Ft-Ge]),zn=te[Ft*2],E.opt_len+=zn*(sn+Bt),Ce&&(E.static_len+=zn*(ge[Ft*2+1]+Bt)));if(Nn!==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]--,Nn-=2}while(Nn>0);for(sn=ot;sn!==0;sn--)for(Ft=E.bl_count[sn];Ft!==0;)en=E.heap[--At],!(en>ce)&&(te[en*2+1]!==sn&&(E.opt_len+=(sn-te[en*2+1])*te[en*2],te[en*2+1]=sn),Ft--)}},Or=(E,ne,te)=>{const ce=new Array(Es+1);let ge=0,Ce,nt;for(Ce=1;Ce<=Es;Ce++)ge=ge+te[Ce-1]<<1,ce[Ce]=ge;for(nt=0;nt<=ne;nt++){let Ge=E[nt*2+1];Ge!==0&&(E[nt*2]=wr(ce[Ge]++,Ge))}},Hi=()=>{let E,ne,te,ce,ge;const Ce=new Array(Es+1);for(te=0,ce=0;ce<Oo-1;ce++)for(Ji[ce]=te,E=0;E<1<<la[ce];E++)va[te++]=ce;for(va[te-1]=ce,ge=0,ce=0;ce<16;ce++)for(ya[ce]=ge,E=0;E<1<<ia[ce];E++)Ia[ge++]=ce;for(ge>>=7;ce<ga;ce++)for(ya[ce]=ge<<7,E=0;E<1<<ia[ce]-7;E++)Ia[256+ge++]=ce;for(ne=0;ne<=Es;ne++)Ce[ne]=0;for(E=0;E<=143;)vi[E*2+1]=8,E++,Ce[8]++;for(;E<=255;)vi[E*2+1]=9,E++,Ce[9]++;for(;E<=279;)vi[E*2+1]=7,E++,Ce[7]++;for(;E<=287;)vi[E*2+1]=8,E++,Ce[8]++;for(Or(vi,Sa+1,Ce),E=0;E<ga;E++)ha[E*2+1]=5,ha[E*2]=wr(E,5);Vo=new No(vi,la,Ks+1,Sa,Es),cs=new No(ha,ia,0,ga,Es),Mo=new No(new Array(0),Ln,0,Co,Os)},ca=E=>{let ne;for(ne=0;ne<Sa;ne++)E.dyn_ltree[ne*2]=0;for(ne=0;ne<ga;ne++)E.dyn_dtree[ne*2]=0;for(ne=0;ne<Co;ne++)E.bl_tree[ne*2]=0;E.dyn_ltree[ps*2]=1,E.opt_len=E.static_len=0,E.sym_next=E.matches=0},uo=E=>{E.bi_valid>8?vr(E,E.bi_buf):E.bi_valid>0&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0},Wa=(E,ne,te,ce)=>{const ge=ne*2,Ce=te*2;return E[ge]<E[Ce]||E[ge]===E[Ce]&&ce[ne]<=ce[te]},Ki=(E,ne,te)=>{const ce=E.heap[te];let ge=te<<1;for(;ge<=E.heap_len&&(ge<E.heap_len&&Wa(ne,E.heap[ge+1],E.heap[ge],E.depth)&&ge++,!Wa(ne,ce,E.heap[ge],E.depth));)E.heap[te]=E.heap[ge],te=ge,ge<<=1;E.heap[te]=ce},Na=(E,ne,te)=>{let ce,ge,Ce=0,nt,Ge;if(E.sym_next!==0)do ce=E.pending_buf[E.sym_buf+Ce++]&255,ce+=(E.pending_buf[E.sym_buf+Ce++]&255)<<8,ge=E.pending_buf[E.sym_buf+Ce++],ce===0?Dn(E,ge,ne):(nt=va[ge],Dn(E,nt+Ks+1,ne),Ge=la[nt],Ge!==0&&(ge-=Ji[nt],On(E,ge,Ge)),ce--,nt=Ss(ce),Dn(E,nt,te),Ge=ia[nt],Ge!==0&&(ce-=ya[nt],On(E,ce,Ge)));while(Ce<E.sym_next);Dn(E,ps,ne)},so=(E,ne)=>{const te=ne.dyn_tree,ce=ne.stat_desc.static_tree,ge=ne.stat_desc.has_stree,Ce=ne.stat_desc.elems;let nt,Ge,ot=-1,At;for(E.heap_len=0,E.heap_max=Fo,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;)At=E.heap[++E.heap_len]=ot<2?++ot:0,te[At*2]=1,E.depth[At]=0,E.opt_len--,ge&&(E.static_len-=ce[At*2+1]);for(ne.max_code=ot,nt=E.heap_len>>1;nt>=1;nt--)Ki(E,te,nt);At=Ce;do nt=E.heap[1],E.heap[1]=E.heap[E.heap_len--],Ki(E,te,1),Ge=E.heap[1],E.heap[--E.heap_max]=nt,E.heap[--E.heap_max]=Ge,te[At*2]=te[nt*2]+te[Ge*2],E.depth[At]=(E.depth[nt]>=E.depth[Ge]?E.depth[nt]:E.depth[Ge])+1,te[nt*2+1]=te[Ge*2+1]=At,E.heap[1]=At++,Ki(E,te,1);while(E.heap_len>=2);E.heap[--E.heap_max]=E.heap[1],li(E,ne),Or(te,ot,E.bl_count)},rr=(E,ne,te)=>{let ce,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,At=4;for(nt===0&&(ot=138,At=3),ne[(te+1)*2+1]=65535,ce=0;ce<=te;ce++)Ce=nt,nt=ne[(ce+1)*2+1],!(++Ge<ot&&Ce===nt)&&(Ge<At?E.bl_tree[Ce*2]+=Ge:Ce!==0?(Ce!==ge&&E.bl_tree[Ce*2]++,E.bl_tree[as*2]++):Ge<=10?E.bl_tree[ol*2]++:E.bl_tree[fa*2]++,Ge=0,ge=Ce,nt===0?(ot=138,At=3):Ce===nt?(ot=6,At=3):(ot=7,At=4))},Kn=(E,ne,te)=>{let ce,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,At=4;for(nt===0&&(ot=138,At=3),ce=0;ce<=te;ce++)if(Ce=nt,nt=ne[(ce+1)*2+1],!(++Ge<ot&&Ce===nt)){if(Ge<At)do Dn(E,Ce,E.bl_tree);while(--Ge!==0);else Ce!==0?(Ce!==ge&&(Dn(E,Ce,E.bl_tree),Ge--),Dn(E,as,E.bl_tree),On(E,Ge-3,2)):Ge<=10?(Dn(E,ol,E.bl_tree),On(E,Ge-3,3)):(Dn(E,fa,E.bl_tree),On(E,Ge-11,7));Ge=0,ge=Ce,nt===0?(ot=138,At=3):Ce===nt?(ot=6,At=3):(ot=7,At=4)}},Ja=E=>{let ne;for(rr(E,E.dyn_ltree,E.l_desc.max_code),rr(E,E.dyn_dtree,E.d_desc.max_code),so(E,E.bl_desc),ne=Co-1;ne>=3&&E.bl_tree[In[ne]*2+1]===0;ne--);return E.opt_len+=3*(ne+1)+5+5+4,ne},pa=(E,ne,te,ce)=>{let ge;for(On(E,ne-257,5),On(E,te-1,5),On(E,ce-4,4),ge=0;ge<ce;ge++)On(E,E.bl_tree[In[ge]*2+1],3);Kn(E,E.dyn_ltree,ne-1),Kn(E,E.dyn_dtree,te-1)},ka=E=>{let ne=4093624447,te;for(te=0;te<=31;te++,ne>>>=1)if(ne&1&&E.dyn_ltree[te*2]!==0)return Va;if(E.dyn_ltree[9*2]!==0||E.dyn_ltree[10*2]!==0||E.dyn_ltree[13*2]!==0)return Ii;for(te=32;te<Ks;te++)if(E.dyn_ltree[te*2]!==0)return Ii;return Va};let ss=!1;const qs=E=>{ss||(Hi(),ss=!0),E.l_desc=new ul(E.dyn_ltree,Vo),E.d_desc=new ul(E.dyn_dtree,cs),E.bl_desc=new ul(E.bl_tree,Mo),E.bi_buf=0,E.bi_valid=0,ca(E)},tl=(E,ne,te,ce)=>{On(E,(Oa<<1)+(ce?1:0),3),uo(E),vr(E,te),vr(E,~te),te&&E.pending_buf.set(E.window.subarray(ne,ne+te),E.pending),E.pending+=te},eu=E=>{On(E,eo<<1,3),Dn(E,ps,vi),ni(E)},nu=(E,ne,te,ce)=>{let ge,Ce,nt=0;E.level>0?(E.strm.data_type===Ci&&(E.strm.data_type=ka(E)),so(E,E.l_desc),so(E,E.d_desc),nt=Ja(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?tl(E,ne,te,ce):E.strategy===os||Ce===ge?(On(E,(eo<<1)+(ce?1:0),3),Na(E,vi,ha)):(On(E,(Lo<<1)+(ce?1:0),3),pa(E,E.l_desc.max_code+1,E.d_desc.max_code+1,nt+1),Na(E,E.dyn_ltree,E.dyn_dtree)),ca(E),ce&&uo(E)},Fu=(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[(va[te]+Ks+1)*2]++,E.dyn_dtree[Ss(ne)*2]++),E.sym_next===E.sym_end);var wl=qs,Vl=tl,Io=nu,Xo=Fu,Pl=eu,Tl={_tr_init:wl,_tr_stored_block:Vl,_tr_flush_block:Io,_tr_tally:Xo,_tr_align:Pl},Wo=(E,ne,te,ce)=>{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[ce++]|0,Ce=Ce+ge|0;while(--nt);ge%=65521,Ce%=65521}return ge|Ce<<16|0};const js=()=>{let E,ne=[];for(var te=0;te<256;te++){E=te;for(var ce=0;ce<8;ce++)E=E&1?3988292384^E>>>1:E>>>1;ne[te]=E}return ne},zu=new Uint32Array(js());var cl=(E,ne,te,ce)=>{const ge=zu,Ce=ce+te;E^=-1;for(let nt=ce;nt<Ce;nt++)E=E>>>8^ge[(E^ne[nt])&255];return E^-1},ys={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"},bs={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:Xl,_tr_stored_block:gl,_tr_flush_block:kl,_tr_tally:vl,_tr_align:Vs}=Tl,{Z_NO_FLUSH:Gl,Z_PARTIAL_FLUSH:ic,Z_FULL_FLUSH:Xc,Z_FINISH:Jl,Z_BLOCK:ku,Z_OK:qu,Z_STREAM_END:Hc,Z_STREAM_ERROR:Cu,Z_DATA_ERROR:nA,Z_BUF_ERROR:kd,Z_DEFAULT_COMPRESSION:gd,Z_FILTERED:uf,Z_HUFFMAN_ONLY:ud,Z_RLE:pA,Z_FIXED:lc,Z_DEFAULT_STRATEGY:_d,Z_UNKNOWN:ki,Z_DEFLATED:lo}=bs,fi=9,To=15,ds=8,_l=256+1+29,Bc=30,Lc=19,Sc=2*_l+1,dl=15,Gs=3,Ms=258,Wu=Ms+Gs+1,gc=32,Zu=42,vc=57,vd=69,cd=73,ac=91,Dc=103,Nu=113,Ec=666,$u=1,Pu=2,Oc=3,yd=4,nh=3,KA=(E,ne)=>(E.msg=ys[ne],ne),Bh=E=>E*2-(E>4?9:0),rA=E=>{let ne=E.length;for(;--ne>=0;)E[ne]=0},zA=E=>{let ne,te,ce,ge=E.w_size;ne=E.hash_size,ce=ne;do te=E.head[--ce],E.head[ce]=te>=ge?te-ge:0;while(--ne);ne=ge,ce=ne;do te=E.prev[--ce],E.prev[ce]=te>=ge?te-ge:0;while(--ne)};let mA=(E,ne,te)=>(ne<<E.hash_shift^te)&E.hash_mask;const Vd=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))},Jc=(E,ne)=>{kl(E,E.block_start>=0?E.block_start:-1,E.strstart-E.block_start,ne),E.block_start=E.strstart,Vd(E.strm)},ru=(E,ne)=>{E.pending_buf[E.pending++]=ne},iA=(E,ne)=>{E.pending_buf[E.pending++]=ne>>>8&255,E.pending_buf[E.pending++]=ne&255},gf=(E,ne,te,ce)=>{let ge=E.avail_in;return ge>ce&&(ge=ce),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=Wo(E.adler,ne,ge,te):E.state.wrap===2&&(E.adler=cl(E.adler,ne,ge,te)),E.next_in+=ge,E.total_in+=ge,ge)},WA=(E,ne)=>{let te=E.max_chain_length,ce=E.strstart,ge,Ce,nt=E.prev_length,Ge=E.nice_match;const ot=E.strstart>E.w_size-Wu?E.strstart-(E.w_size-Wu):0,At=E.window,Ft=E.w_mask,en=E.prev,sn=E.strstart+Ms;let Bt=At[ce+nt-1],zn=At[ce+nt];E.prev_length>=E.good_match&&(te>>=2),Ge>E.lookahead&&(Ge=E.lookahead);do if(ge=ne,!(At[ge+nt]!==zn||At[ge+nt-1]!==Bt||At[ge]!==At[ce]||At[++ge]!==At[ce+1])){ce+=2,ge++;do;while(At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&ce<sn);if(Ce=Ms-(sn-ce),ce=sn-Ms,Ce>nt){if(E.match_start=ne,nt=Ce,Ce>=Ge)break;Bt=At[ce+nt-1],zn=At[ce+nt]}}while((ne=en[ne&Ft])>ot&&--te!==0);return nt<=E.lookahead?nt:E.lookahead},nd=E=>{const ne=E.w_size;let te,ce,ge;do{if(ce=E.window_size-E.lookahead-E.strstart,E.strstart>=ne+(ne-Wu)&&(E.window.set(E.window.subarray(ne,ne+ne-ce),0),E.match_start-=ne,E.strstart-=ne,E.block_start-=ne,E.insert>E.strstart&&(E.insert=E.strstart),zA(E),ce+=ne),E.strm.avail_in===0)break;if(te=gf(E.strm,E.window,E.strstart+E.lookahead,ce),E.lookahead+=te,E.lookahead+E.insert>=Gs)for(ge=E.strstart-E.insert,E.ins_h=E.window[ge],E.ins_h=mA(E,E.ins_h,E.window[ge+1]);E.insert&&(E.ins_h=mA(E,E.ins_h,E.window[ge+Gs-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<Gs)););}while(E.lookahead<Wu&&E.strm.avail_in!==0)},gA=(E,ne)=>{let te=E.pending_buf_size-5>E.w_size?E.w_size:E.pending_buf_size-5,ce,ge,Ce,nt=0,Ge=E.strm.avail_in;do{if(ce=65535,Ce=E.bi_valid+42>>3,E.strm.avail_out<Ce||(Ce=E.strm.avail_out-Ce,ge=E.strstart-E.block_start,ce>ge+E.strm.avail_in&&(ce=ge+E.strm.avail_in),ce>Ce&&(ce=Ce),ce<te&&(ce===0&&ne!==Jl||ne===Gl||ce!==ge+E.strm.avail_in)))break;nt=ne===Jl&&ce===ge+E.strm.avail_in?1:0,gl(E,0,0,nt),E.pending_buf[E.pending-4]=ce,E.pending_buf[E.pending-3]=ce>>8,E.pending_buf[E.pending-2]=~ce,E.pending_buf[E.pending-1]=~ce>>8,Vd(E.strm),ge&&(ge>ce&&(ge=ce),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,ce-=ge),ce&&(gf(E.strm,E.strm.output,E.strm.next_out,ce),E.strm.next_out+=ce,E.strm.avail_out-=ce,E.strm.total_out+=ce)}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?yd:ne!==Gl&&ne!==Jl&&E.strm.avail_in===0&&E.strstart===E.block_start?Pu:(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&&(gf(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===Jl)&&ne!==Gl&&E.strm.avail_in===0&&ge<=Ce)&&(ce=ge>Ce?Ce:ge,nt=ne===Jl&&E.strm.avail_in===0&&ce===ge?1:0,gl(E,E.block_start,ce,nt),E.block_start+=ce,Vd(E.strm)),nt?Oc:$u)},rh=(E,ne)=>{let te,ce;for(;;){if(E.lookahead<Wu){if(nd(E),E.lookahead<Wu&&ne===Gl)return $u;if(E.lookahead===0)break}if(te=0,E.lookahead>=Gs&&(E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-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-Wu&&(E.match_length=WA(E,te)),E.match_length>=Gs)if(ce=vl(E,E.strstart-E.match_start,E.match_length-Gs),E.lookahead-=E.match_length,E.match_length<=E.max_lazy_match&&E.lookahead>=Gs){E.match_length--;do E.strstart++,E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-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=mA(E,E.ins_h,E.window[E.strstart+1]);else ce=vl(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++;if(ce&&(Jc(E,!1),E.strm.avail_out===0))return $u}return E.insert=E.strstart<Gs-1?E.strstart:Gs-1,ne===Jl?(Jc(E,!0),E.strm.avail_out===0?Oc:yd):E.sym_next&&(Jc(E,!1),E.strm.avail_out===0)?$u:Pu},vf=(E,ne)=>{let te,ce,ge;for(;;){if(E.lookahead<Wu){if(nd(E),E.lookahead<Wu&&ne===Gl)return $u;if(E.lookahead===0)break}if(te=0,E.lookahead>=Gs&&(E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-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=Gs-1,te!==0&&E.prev_length<E.max_lazy_match&&E.strstart-te<=E.w_size-Wu&&(E.match_length=WA(E,te),E.match_length<=5&&(E.strategy===uf||E.match_length===Gs&&E.strstart-E.match_start>4096)&&(E.match_length=Gs-1)),E.prev_length>=Gs&&E.match_length<=E.prev_length){ge=E.strstart+E.lookahead-Gs,ce=vl(E,E.strstart-1-E.prev_match,E.prev_length-Gs),E.lookahead-=E.prev_length-1,E.prev_length-=2;do++E.strstart<=ge&&(E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-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=Gs-1,E.strstart++,ce&&(Jc(E,!1),E.strm.avail_out===0))return $u}else if(E.match_available){if(ce=vl(E,0,E.window[E.strstart-1]),ce&&Jc(E,!1),E.strstart++,E.lookahead--,E.strm.avail_out===0)return $u}else E.match_available=1,E.strstart++,E.lookahead--}return E.match_available&&(ce=vl(E,0,E.window[E.strstart-1]),E.match_available=0),E.insert=E.strstart<Gs-1?E.strstart:Gs-1,ne===Jl?(Jc(E,!0),E.strm.avail_out===0?Oc:yd):E.sym_next&&(Jc(E,!1),E.strm.avail_out===0)?$u:Pu},k0=(E,ne)=>{let te,ce,ge,Ce;const nt=E.window;for(;;){if(E.lookahead<=Ms){if(nd(E),E.lookahead<=Ms&&ne===Gl)return $u;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=Gs&&E.strstart>0&&(ge=E.strstart-1,ce=nt[ge],ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge])){Ce=E.strstart+Ms;do;while(ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ge<Ce);E.match_length=Ms-(Ce-ge),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=Gs?(te=vl(E,1,E.match_length-Gs),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(te=vl(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),te&&(Jc(E,!1),E.strm.avail_out===0))return $u}return E.insert=0,ne===Jl?(Jc(E,!0),E.strm.avail_out===0?Oc:yd):E.sym_next&&(Jc(E,!1),E.strm.avail_out===0)?$u:Pu},np=(E,ne)=>{let te;for(;;){if(E.lookahead===0&&(nd(E),E.lookahead===0)){if(ne===Gl)return $u;break}if(E.match_length=0,te=vl(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,te&&(Jc(E,!1),E.strm.avail_out===0))return $u}return E.insert=0,ne===Jl?(Jc(E,!0),E.strm.avail_out===0?Oc:yd):E.sym_next&&(Jc(E,!1),E.strm.avail_out===0)?$u:Pu};function uc(E,ne,te,ce,ge){this.good_length=E,this.max_lazy=ne,this.nice_length=te,this.max_chain=ce,this.func=ge}const aA=[new uc(0,0,0,0,gA),new uc(4,4,8,4,rh),new uc(4,5,16,8,rh),new uc(4,6,32,32,rh),new uc(4,4,16,16,vf),new uc(8,16,32,32,vf),new uc(8,16,128,128,vf),new uc(8,32,128,256,vf),new uc(32,128,258,1024,vf),new uc(32,258,258,4096,vf)],rp=E=>{E.window_size=2*E.w_size,rA(E.head),E.max_lazy_match=aA[E.level].max_lazy,E.good_match=aA[E.level].good_length,E.nice_match=aA[E.level].nice_length,E.max_chain_length=aA[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=Gs-1,E.match_available=0,E.ins_h=0};function Ot(){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=lo,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(Sc*2),this.dyn_dtree=new Uint16Array((2*Bc+1)*2),this.bl_tree=new Uint16Array((2*Lc+1)*2),rA(this.dyn_ltree),rA(this.dyn_dtree),rA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(dl+1),this.heap=new Uint16Array(2*_l+1),rA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*_l+1),rA(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 Rt=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.status!==Zu&&ne.status!==vc&&ne.status!==vd&&ne.status!==cd&&ne.status!==ac&&ne.status!==Dc&&ne.status!==Nu&&ne.status!==Ec?1:0},fn=E=>{if(Rt(E))return KA(E,Cu);E.total_in=E.total_out=0,E.data_type=ki;const ne=E.state;return ne.pending=0,ne.pending_out=0,ne.wrap<0&&(ne.wrap=-ne.wrap),ne.status=ne.wrap===2?vc:ne.wrap?Zu:Nu,E.adler=ne.wrap===2?0:1,ne.last_flush=-2,Xl(ne),qu},En=E=>{const ne=fn(E);return ne===qu&&rp(E.state),ne},Jn=(E,ne)=>Rt(E)||E.state.wrap!==2?Cu:(E.state.gzhead=ne,qu),Rn=(E,ne,te,ce,ge,Ce)=>{if(!E)return Cu;let nt=1;if(ne===gd&&(ne=6),ce<0?(nt=0,ce=-ce):ce>15&&(nt=2,ce-=16),ge<1||ge>fi||te!==lo||ce<8||ce>15||ne<0||ne>9||Ce<0||Ce>lc||ce===8&&nt!==1)return KA(E,Cu);ce===8&&(ce=9);const Ge=new Ot;return E.state=Ge,Ge.strm=E,Ge.status=Zu,Ge.wrap=nt,Ge.gzhead=null,Ge.w_bits=ce,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+Gs-1)/Gs),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)},mr=(E,ne)=>Rn(E,ne,lo,To,ds,_d),hr=(E,ne)=>{if(Rt(E)||ne>ku||ne<0)return E?KA(E,Cu):Cu;const te=E.state;if(!E.output||E.avail_in!==0&&!E.input||te.status===Ec&&ne!==Jl)return KA(E,E.avail_out===0?kd:Cu);const ce=te.last_flush;if(te.last_flush=ne,te.pending!==0){if(Vd(E),E.avail_out===0)return te.last_flush=-1,qu}else if(E.avail_in===0&&Bh(ne)<=Bh(ce)&&ne!==Jl)return KA(E,kd);if(te.status===Ec&&E.avail_in!==0)return KA(E,kd);if(te.status===Zu&&te.wrap===0&&(te.status=Nu),te.status===Zu){let ge=lo+(te.w_bits-8<<4)<<8,Ce=-1;if(te.strategy>=ud||te.level<2?Ce=0:te.level<6?Ce=1:te.level===6?Ce=2:Ce=3,ge|=Ce<<6,te.strstart!==0&&(ge|=gc),ge+=31-ge%31,iA(te,ge),te.strstart!==0&&(iA(te,E.adler>>>16),iA(te,E.adler&65535)),E.adler=1,te.status=Nu,Vd(E),te.pending!==0)return te.last_flush=-1,qu}if(te.status===vc){if(E.adler=0,ru(te,31),ru(te,139),ru(te,8),te.gzhead)ru(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)),ru(te,te.gzhead.time&255),ru(te,te.gzhead.time>>8&255),ru(te,te.gzhead.time>>16&255),ru(te,te.gzhead.time>>24&255),ru(te,te.level===9?2:te.strategy>=ud||te.level<2?4:0),ru(te,te.gzhead.os&255),te.gzhead.extra&&te.gzhead.extra.length&&(ru(te,te.gzhead.extra.length&255),ru(te,te.gzhead.extra.length>>8&255)),te.gzhead.hcrc&&(E.adler=cl(E.adler,te.pending_buf,te.pending,0)),te.gzindex=0,te.status=vd;else if(ru(te,0),ru(te,0),ru(te,0),ru(te,0),ru(te,0),ru(te,te.level===9?2:te.strategy>=ud||te.level<2?4:0),ru(te,nh),te.status=Nu,Vd(E),te.pending!==0)return te.last_flush=-1,qu}if(te.status===vd){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=cl(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex+=Ge,Vd(E),te.pending!==0)return te.last_flush=-1,qu;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=cl(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=cd}if(te.status===cd){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=cl(E.adler,te.pending_buf,te.pending-ge,ge)),Vd(E),te.pending!==0)return te.last_flush=-1,qu;ge=0}te.gzindex<te.gzhead.name.length?Ce=te.gzhead.name.charCodeAt(te.gzindex++)&255:Ce=0,ru(te,Ce)}while(Ce!==0);te.gzhead.hcrc&&te.pending>ge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=ac}if(te.status===ac){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=cl(E.adler,te.pending_buf,te.pending-ge,ge)),Vd(E),te.pending!==0)return te.last_flush=-1,qu;ge=0}te.gzindex<te.gzhead.comment.length?Ce=te.gzhead.comment.charCodeAt(te.gzindex++)&255:Ce=0,ru(te,Ce)}while(Ce!==0);te.gzhead.hcrc&&te.pending>ge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge))}te.status=Dc}if(te.status===Dc){if(te.gzhead.hcrc){if(te.pending+2>te.pending_buf_size&&(Vd(E),te.pending!==0))return te.last_flush=-1,qu;ru(te,E.adler&255),ru(te,E.adler>>8&255),E.adler=0}if(te.status=Nu,Vd(E),te.pending!==0)return te.last_flush=-1,qu}if(E.avail_in!==0||te.lookahead!==0||ne!==Gl&&te.status!==Ec){let ge=te.level===0?gA(te,ne):te.strategy===ud?np(te,ne):te.strategy===pA?k0(te,ne):aA[te.level].func(te,ne);if((ge===Oc||ge===yd)&&(te.status=Ec),ge===$u||ge===Oc)return E.avail_out===0&&(te.last_flush=-1),qu;if(ge===Pu&&(ne===ic?Vs(te):ne!==ku&&(gl(te,0,0,!1),ne===Xc&&(rA(te.head),te.lookahead===0&&(te.strstart=0,te.block_start=0,te.insert=0))),Vd(E),E.avail_out===0))return te.last_flush=-1,qu}return ne!==Jl?qu:te.wrap<=0?Hc:(te.wrap===2?(ru(te,E.adler&255),ru(te,E.adler>>8&255),ru(te,E.adler>>16&255),ru(te,E.adler>>24&255),ru(te,E.total_in&255),ru(te,E.total_in>>8&255),ru(te,E.total_in>>16&255),ru(te,E.total_in>>24&255)):(iA(te,E.adler>>>16),iA(te,E.adler&65535)),Vd(E),te.wrap>0&&(te.wrap=-te.wrap),te.pending!==0?qu:Hc)},cr=E=>{if(Rt(E))return Cu;const ne=E.state.status;return E.state=null,ne===Nu?KA(E,nA):qu},Zr=(E,ne)=>{let te=ne.length;if(Rt(E))return Cu;const ce=E.state,ge=ce.wrap;if(ge===2||ge===1&&ce.status!==Zu||ce.lookahead)return Cu;if(ge===1&&(E.adler=Wo(E.adler,ne,te,0)),ce.wrap=0,te>=ce.w_size){ge===0&&(rA(ce.head),ce.strstart=0,ce.block_start=0,ce.insert=0);let ot=new Uint8Array(ce.w_size);ot.set(ne.subarray(te-ce.w_size,te),0),ne=ot,te=ce.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,nd(ce);ce.lookahead>=Gs;){let ot=ce.strstart,At=ce.lookahead-(Gs-1);do ce.ins_h=mA(ce,ce.ins_h,ce.window[ot+Gs-1]),ce.prev[ot&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ot,ot++;while(--At);ce.strstart=ot,ce.lookahead=Gs-1,nd(ce)}return ce.strstart+=ce.lookahead,ce.block_start=ce.strstart,ce.insert=ce.lookahead,ce.lookahead=0,ce.match_length=ce.prev_length=Gs-1,ce.match_available=0,E.next_in=nt,E.input=Ge,E.avail_in=Ce,ce.wrap=ge,qu};var hi=mr,$r=Rn,Yi=En,Ri=fn,zi=Jn,Za=hr,_a=cr,Ra=Zr,Da="pako deflate (from Nodeca project)",ro={deflateInit:hi,deflateInit2:$r,deflateReset:Yi,deflateResetKeep:Ri,deflateSetHeader:zi,deflate:Za,deflateEnd:_a,deflateSetDictionary:Ra,deflateInfo:Da};const Qo=(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 ce in te)Qo(te,ce)&&(E[ce]=te[ce])}}return E},ko=E=>{let ne=0;for(let ce=0,ge=E.length;ce<ge;ce++)ne+=E[ce].length;const te=new Uint8Array(ne);for(let ce=0,ge=0,Ce=E.length;ce<Ce;ce++){let nt=E[ce];te.set(nt,ge),ge+=nt.length}return te},ls={assign:Jo,flattenChunks:ko};let Fs=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(E){Fs=!1}const Ao=new Uint8Array(256);for(let E=0;E<256;E++)Ao[E]=E>=252?6:E>=248?5:E>=240?4:E>=224?3:E>=192?2:1;Ao[254]=Ao[254]=1;var Po=E=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(E);let ne,te,ce,ge,Ce,nt=E.length,Ge=0;for(ge=0;ge<nt;ge++)te=E.charCodeAt(ge),(te&64512)===55296&&ge+1<nt&&(ce=E.charCodeAt(ge+1),(ce&64512)===56320&&(te=65536+(te-55296<<10)+(ce-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&&(ce=E.charCodeAt(ge+1),(ce&64512)===56320&&(te=65536+(te-55296<<10)+(ce-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 yo=(E,ne)=>{if(ne<65534&&E.subarray&&Fs)return String.fromCharCode.apply(null,E.length===ne?E:E.subarray(0,ne));let te="";for(let ce=0;ce<ne;ce++)te+=String.fromCharCode(E[ce]);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 ce,ge;const Ce=new Array(te*2);for(ge=0,ce=0;ce<te;){let nt=E[ce++];if(nt<128){Ce[ge++]=nt;continue}let Ge=Ao[nt];if(Ge>4){Ce[ge++]=65533,ce+=Ge-1;continue}for(nt&=Ge===2?31:Ge===3?15:7;Ge>1&&ce<te;)nt=nt<<6|E[ce++]&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 yo(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+Ao[E[te]]>ne?te:ne},ns={string2buf:Po,buf2string:Ba,utf8border:Bo};function Ys(){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 rs=Ys;const Ga=Object.prototype.toString,{Z_NO_FLUSH:ms,Z_SYNC_FLUSH:Is,Z_FULL_FLUSH:Rl,Z_FINISH:Ml,Z_OK:Bu,Z_STREAM_END:Su,Z_DEFAULT_COMPRESSION:ks,Z_DEFAULT_STRATEGY:oc,Z_DEFLATED:yl}=bs;function cu(E){this.options=ls.assign({level:ks,method:yl,chunkSize:16384,windowBits:15,memLevel:8,strategy:oc},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 rs,this.strm.avail_out=0;let te=ro.deflateInit2(this.strm,ne.level,ne.method,ne.windowBits,ne.memLevel,ne.strategy);if(te!==Bu)throw new Error(ys[te]);if(ne.header&&ro.deflateSetHeader(this.strm,ne.header),ne.dictionary){let ce;if(typeof ne.dictionary=="string"?ce=ns.string2buf(ne.dictionary):Ga.call(ne.dictionary)==="[object ArrayBuffer]"?ce=new Uint8Array(ne.dictionary):ce=ne.dictionary,te=ro.deflateSetDictionary(this.strm,ce),te!==Bu)throw new Error(ys[te]);this._dict_set=!0}}cu.prototype.push=function(E,ne){const te=this.strm,ce=this.options.chunkSize;let ge,Ce;if(this.ended)return!1;for(ne===~~ne?Ce=ne:Ce=ne===!0?Ml:ms,typeof E=="string"?te.input=ns.string2buf(E):Ga.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(ce),te.next_out=0,te.avail_out=ce),(Ce===Is||Ce===Rl)&&te.avail_out<=6){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(ge=ro.deflate(te,Ce),ge===Su)return te.next_out>0&&this.onData(te.output.subarray(0,te.next_out)),ge=ro.deflateEnd(this.strm),this.onEnd(ge),this.ended=!0,ge===Bu;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},cu.prototype.onData=function(E){this.chunks.push(E)},cu.prototype.onEnd=function(E){E===Bu&&(this.result=ls.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function du(E,ne){const te=new cu(ne);if(te.push(E,!0),te.err)throw te.msg||ys[te.err];return te.result}function Fc(E,ne){return ne=ne||{},ne.raw=!0,du(E,ne)}function So(E,ne){return ne=ne||{},ne.gzip=!0,du(E,ne)}var $o=cu,es=du,Ro=Fc,Ll=So,jo=bs,ws={Deflate:$o,deflate:es,deflateRaw:Ro,gzip:Ll,constants:jo};const nl=16209,Al=16191;var qc=function(ne,te){let ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn,xn,Lr,xr,sr,wi,qi,Qi,zr,ur,ci;const yn=ne.state;ce=ne.next_in,ur=ne.input,ge=ce+(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,At=yn.wsize,Ft=yn.whave,en=yn.wnext,sn=yn.window,Bt=yn.hold,zn=yn.bits,Nn=yn.lencode,Yn=yn.distcode,xn=(1<<yn.lenbits)-1,Lr=(1<<yn.distbits)-1;e:do{zn<15&&(Bt+=ur[ce++]<<zn,zn+=8,Bt+=ur[ce++]<<zn,zn+=8),xr=Nn[Bt&xn];t:for(;;){if(sr=xr>>>24,Bt>>>=sr,zn-=sr,sr=xr>>>16&255,sr===0)ci[Ce++]=xr&65535;else if(sr&16){wi=xr&65535,sr&=15,sr&&(zn<sr&&(Bt+=ur[ce++]<<zn,zn+=8),wi+=Bt&(1<<sr)-1,Bt>>>=sr,zn-=sr),zn<15&&(Bt+=ur[ce++]<<zn,zn+=8,Bt+=ur[ce++]<<zn,zn+=8),xr=Yn[Bt&Lr];n:for(;;){if(sr=xr>>>24,Bt>>>=sr,zn-=sr,sr=xr>>>16&255,sr&16){if(qi=xr&65535,sr&=15,zn<sr&&(Bt+=ur[ce++]<<zn,zn+=8,zn<sr&&(Bt+=ur[ce++]<<zn,zn+=8)),qi+=Bt&(1<<sr)-1,qi>ot){ne.msg="invalid distance too far back",yn.mode=nl;break e}if(Bt>>>=sr,zn-=sr,sr=Ce-nt,qi>sr){if(sr=qi-sr,sr>Ft&&yn.sane){ne.msg="invalid distance too far back",yn.mode=nl;break e}if(Qi=0,zr=sn,en===0){if(Qi+=At-sr,sr<wi){wi-=sr;do ci[Ce++]=sn[Qi++];while(--sr);Qi=Ce-qi,zr=ci}}else if(en<sr){if(Qi+=At+en-sr,sr-=en,sr<wi){wi-=sr;do ci[Ce++]=sn[Qi++];while(--sr);if(Qi=0,en<wi){sr=en,wi-=sr;do ci[Ce++]=sn[Qi++];while(--sr);Qi=Ce-qi,zr=ci}}}else if(Qi+=en-sr,sr<wi){wi-=sr;do ci[Ce++]=sn[Qi++];while(--sr);Qi=Ce-qi,zr=ci}for(;wi>2;)ci[Ce++]=zr[Qi++],ci[Ce++]=zr[Qi++],ci[Ce++]=zr[Qi++],wi-=3;wi&&(ci[Ce++]=zr[Qi++],wi>1&&(ci[Ce++]=zr[Qi++]))}else{Qi=Ce-qi;do ci[Ce++]=ci[Qi++],ci[Ce++]=ci[Qi++],ci[Ce++]=ci[Qi++],wi-=3;while(wi>2);wi&&(ci[Ce++]=ci[Qi++],wi>1&&(ci[Ce++]=ci[Qi++]))}}else if(sr&64){ne.msg="invalid distance code",yn.mode=nl;break e}else{xr=Yn[(xr&65535)+(Bt&(1<<sr)-1)];continue n}break}}else if(sr&64)if(sr&32){yn.mode=Al;break e}else{ne.msg="invalid literal/length code",yn.mode=nl;break e}else{xr=Nn[(xr&65535)+(Bt&(1<<sr)-1)];continue t}break}}while(ce<ge&&Ce<Ge);wi=zn>>3,ce-=wi,zn-=wi<<3,Bt&=(1<<zn)-1,ne.next_in=ce,ne.next_out=Ce,ne.avail_in=ce<ge?5+(ge-ce):5-(ce-ge),ne.avail_out=Ce<Ge?257+(Ge-Ce):257-(Ce-Ge),yn.hold=Bt,yn.bits=zn};const Vu=15,Pd=852,ec=592,Td=0,to=1,Nc=2,ZA=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]),bl=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]),aa=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]),Ql=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 _u=(E,ne,te,ce,ge,Ce,nt,Ge)=>{const ot=Ge.bits;let At=0,Ft=0,en=0,sn=0,Bt=0,zn=0,Nn=0,Yn=0,xn=0,Lr=0,xr,sr,wi,qi,Qi,zr=null,ur;const ci=new Uint16Array(Vu+1),yn=new Uint16Array(Vu+1);let qn=null,Mr,Br,Fi;for(At=0;At<=Vu;At++)ci[At]=0;for(Ft=0;Ft<ce;Ft++)ci[ne[te+Ft]]++;for(Bt=ot,sn=Vu;sn>=1&&ci[sn]===0;sn--);if(Bt>sn&&(Bt=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(Bt<en&&(Bt=en),Yn=1,At=1;At<=Vu;At++)if(Yn<<=1,Yn-=ci[At],Yn<0)return-1;if(Yn>0&&(E===Td||sn!==1))return-1;for(yn[1]=0,At=1;At<Vu;At++)yn[At+1]=yn[At]+ci[At];for(Ft=0;Ft<ce;Ft++)ne[te+Ft]!==0&&(nt[yn[ne[te+Ft]]++]=Ft);if(E===Td?(zr=qn=nt,ur=20):E===to?(zr=ZA,qn=bl,ur=257):(zr=aa,qn=Ql,ur=0),Lr=0,Ft=0,At=en,Qi=Ce,zn=Bt,Nn=0,wi=-1,xn=1<<Bt,qi=xn-1,E===to&&xn>Pd||E===Nc&&xn>ec)return 1;for(;;){Mr=At-Nn,nt[Ft]+1<ur?(Br=0,Fi=nt[Ft]):nt[Ft]>=ur?(Br=qn[nt[Ft]-ur],Fi=zr[nt[Ft]-ur]):(Br=96,Fi=0),xr=1<<At-Nn,sr=1<<zn,en=sr;do sr-=xr,ge[Qi+(Lr>>Nn)+sr]=Mr<<24|Br<<16|Fi|0;while(sr!==0);for(xr=1<<At-1;Lr&xr;)xr>>=1;if(xr!==0?(Lr&=xr-1,Lr+=xr):Lr=0,Ft++,--ci[At]===0){if(At===sn)break;At=ne[te+nt[Ft]]}if(At>Bt&&(Lr&qi)!==wi){for(Nn===0&&(Nn=Bt),Qi+=en,zn=At-Nn,Yn=1<<zn;zn+Nn<sn&&(Yn-=ci[zn+Nn],!(Yn<=0));)zn++,Yn<<=1;if(xn+=1<<zn,E===to&&xn>Pd||E===Nc&&xn>ec)return 1;wi=Lr&qi,ge[wi]=Bt<<24|zn<<16|Qi-Ce|0}}return Lr!==0&&(ge[Qi+Lr]=At-Nn<<24|64<<16|0),Ge.bits=Bt,0};const fs=0,ql=1,Pc=2,{Z_FINISH:Md,Z_BLOCK:bd,Z_TREES:Tc,Z_OK:Gu,Z_STREAM_END:vA,Z_NEED_DICT:Qc,Z_STREAM_ERROR:Yu,Z_DATA_ERROR:Rc,Z_MEM_ERROR:Iu,Z_BUF_ERROR:Tu,Z_DEFLATED:rd}=bs,oA=16180,Rd=16181,yA=16182,VA=16183,Sh=16184,xl=16185,iu=16186,kc=16187,au=16188,bc=16189,_c=16190,tc=16191,bA=16192,ih=16193,wA=16194,xA=16195,fl=16196,Ru=16197,sA=16198,CA=16199,id=16200,$h=16201,cc=16202,Eh=16203,e0=16204,If=16205,ah=16206,Lf=16207,yf=16208,Li=16209,oh=16210,Fh=16211,t0=852,BA=592,sh=15,bf=E=>(E>>>24&255)+(E>>>8&65280)+((E&65280)<<8)+((E&255)<<24);function Lu(){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 wf=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.mode<oA||ne.mode>Fh?1:0},kh=E=>{if(wf(E))return Yu;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=oA,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(t0),ne.distcode=ne.distdyn=new Int32Array(BA),ne.sane=1,ne.back=-1,Gu},SA=E=>{if(wf(E))return Yu;const ne=E.state;return ne.wsize=0,ne.whave=0,ne.wnext=0,kh(E)},lh=(E,ne)=>{let te;if(wf(E))return Yu;const ce=E.state;return ne<0?(te=0,ne=-ne):(te=(ne>>4)+5,ne<48&&(ne&=15)),ne&&(ne<8||ne>15)?Yu:(ce.window!==null&&ce.wbits!==ne&&(ce.window=null),ce.wrap=te,ce.wbits=ne,SA(E))},EA=(E,ne)=>{if(!E)return Yu;const te=new Lu;E.state=te,te.strm=E,te.window=null,te.mode=oA;const ce=lh(E,ne);return ce!==Gu&&(E.state=null),ce},GA=E=>EA(E,sh);let Au=!0,$c,jc;const YA=E=>{if(Au){$c=new Int32Array(512),jc=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(_u(ql,E.lens,0,288,$c,0,E.work,{bits:9}),ne=0;ne<32;)E.lens[ne++]=5;_u(Pc,E.lens,0,32,jc,0,E.work,{bits:5}),Au=!1}E.lencode=$c,E.lenbits=9,E.distcode=jc,E.distbits=5},Cl=(E,ne,te,ce)=>{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)),ce>=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>ce&&(ge=ce),Ce.window.set(ne.subarray(te-ce,te-ce+ge),Ce.wnext),ce-=ge,ce?(Ce.window.set(ne.subarray(te-ce,te),0),Ce.wnext=ce,Ce.whave=Ce.wsize):(Ce.wnext+=ge,Ce.wnext===Ce.wsize&&(Ce.wnext=0),Ce.whave<Ce.wsize&&(Ce.whave+=ge))),0},jl=(E,ne)=>{let te,ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn=0,xn,Lr,xr,sr,wi,qi,Qi,zr;const ur=new Uint8Array(4);let ci,yn;const qn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(wf(E)||!E.output||!E.input&&E.avail_in!==0)return Yu;te=E.state,te.mode===tc&&(te.mode=bA),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,ce=E.input,Ge=E.avail_in,At=te.hold,Ft=te.bits,en=Ge,sn=ot,zr=Gu;e:for(;;)switch(te.mode){case oA:if(te.wrap===0){te.mode=bA;break}for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(te.wrap&2&&At===35615){te.wbits===0&&(te.wbits=15),te.check=0,ur[0]=At&255,ur[1]=At>>>8&255,te.check=cl(te.check,ur,2,0),At=0,Ft=0,te.mode=Rd;break}if(te.head&&(te.head.done=!1),!(te.wrap&1)||(((At&255)<<8)+(At>>8))%31){E.msg="incorrect header check",te.mode=Li;break}if((At&15)!==rd){E.msg="unknown compression method",te.mode=Li;break}if(At>>>=4,Ft-=4,Qi=(At&15)+8,te.wbits===0&&(te.wbits=Qi),Qi>15||Qi>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=At&512?bc:tc,At=0,Ft=0;break;case Rd:for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(te.flags=At,(te.flags&255)!==rd){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=At>>8&1),te.flags&512&&te.wrap&4&&(ur[0]=At&255,ur[1]=At>>>8&255,te.check=cl(te.check,ur,2,0)),At=0,Ft=0,te.mode=yA;case yA:for(;Ft<32;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}te.head&&(te.head.time=At),te.flags&512&&te.wrap&4&&(ur[0]=At&255,ur[1]=At>>>8&255,ur[2]=At>>>16&255,ur[3]=At>>>24&255,te.check=cl(te.check,ur,4,0)),At=0,Ft=0,te.mode=VA;case VA:for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}te.head&&(te.head.xflags=At&255,te.head.os=At>>8),te.flags&512&&te.wrap&4&&(ur[0]=At&255,ur[1]=At>>>8&255,te.check=cl(te.check,ur,2,0)),At=0,Ft=0,te.mode=Sh;case Sh:if(te.flags&1024){for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}te.length=At,te.head&&(te.head.extra_len=At),te.flags&512&&te.wrap&4&&(ur[0]=At&255,ur[1]=At>>>8&255,te.check=cl(te.check,ur,2,0)),At=0,Ft=0}else te.head&&(te.head.extra=null);te.mode=xl;case xl:if(te.flags&1024&&(Bt=te.length,Bt>Ge&&(Bt=Ge),Bt&&(te.head&&(Qi=te.head.extra_len-te.length,te.head.extra||(te.head.extra=new Uint8Array(te.head.extra_len)),te.head.extra.set(ce.subarray(Ce,Ce+Bt),Qi)),te.flags&512&&te.wrap&4&&(te.check=cl(te.check,ce,Bt,Ce)),Ge-=Bt,Ce+=Bt,te.length-=Bt),te.length))break e;te.length=0,te.mode=iu;case iu:if(te.flags&2048){if(Ge===0)break e;Bt=0;do Qi=ce[Ce+Bt++],te.head&&Qi&&te.length<65536&&(te.head.name+=String.fromCharCode(Qi));while(Qi&&Bt<Ge);if(te.flags&512&&te.wrap&4&&(te.check=cl(te.check,ce,Bt,Ce)),Ge-=Bt,Ce+=Bt,Qi)break e}else te.head&&(te.head.name=null);te.length=0,te.mode=kc;case kc:if(te.flags&4096){if(Ge===0)break e;Bt=0;do Qi=ce[Ce+Bt++],te.head&&Qi&&te.length<65536&&(te.head.comment+=String.fromCharCode(Qi));while(Qi&&Bt<Ge);if(te.flags&512&&te.wrap&4&&(te.check=cl(te.check,ce,Bt,Ce)),Ge-=Bt,Ce+=Bt,Qi)break e}else te.head&&(te.head.comment=null);te.mode=au;case au:if(te.flags&512){for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(te.wrap&4&&At!==(te.check&65535)){E.msg="header crc mismatch",te.mode=Li;break}At=0,Ft=0}te.head&&(te.head.hcrc=te.flags>>9&1,te.head.done=!0),E.adler=te.check=0,te.mode=tc;break;case bc:for(;Ft<32;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}E.adler=te.check=bf(At),At=0,Ft=0,te.mode=_c;case _c:if(te.havedict===0)return E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=At,te.bits=Ft,Qc;E.adler=te.check=1,te.mode=tc;case tc:if(ne===bd||ne===Tc)break e;case bA:if(te.last){At>>>=Ft&7,Ft-=Ft&7,te.mode=ah;break}for(;Ft<3;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}switch(te.last=At&1,At>>>=1,Ft-=1,At&3){case 0:te.mode=ih;break;case 1:if(YA(te),te.mode=CA,ne===Tc){At>>>=2,Ft-=2;break e}break;case 2:te.mode=fl;break;case 3:E.msg="invalid block type",te.mode=Li}At>>>=2,Ft-=2;break;case ih:for(At>>>=Ft&7,Ft-=Ft&7;Ft<32;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if((At&65535)!==(At>>>16^65535)){E.msg="invalid stored block lengths",te.mode=Li;break}if(te.length=At&65535,At=0,Ft=0,te.mode=wA,ne===Tc)break e;case wA:te.mode=xA;case xA:if(Bt=te.length,Bt){if(Bt>Ge&&(Bt=Ge),Bt>ot&&(Bt=ot),Bt===0)break e;ge.set(ce.subarray(Ce,Ce+Bt),nt),Ge-=Bt,Ce+=Bt,ot-=Bt,nt+=Bt,te.length-=Bt;break}te.mode=tc;break;case fl:for(;Ft<14;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(te.nlen=(At&31)+257,At>>>=5,Ft-=5,te.ndist=(At&31)+1,At>>>=5,Ft-=5,te.ncode=(At&15)+4,At>>>=4,Ft-=4,te.nlen>286||te.ndist>30){E.msg="too many length or distance symbols",te.mode=Li;break}te.have=0,te.mode=Ru;case Ru:for(;te.have<te.ncode;){for(;Ft<3;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}te.lens[qn[te.have++]]=At&7,At>>>=3,Ft-=3}for(;te.have<19;)te.lens[qn[te.have++]]=0;if(te.lencode=te.lendyn,te.lenbits=7,ci={bits:te.lenbits},zr=_u(fs,te.lens,0,19,te.lencode,0,te.work,ci),te.lenbits=ci.bits,zr){E.msg="invalid code lengths set",te.mode=Li;break}te.have=0,te.mode=sA;case sA:for(;te.have<te.nlen+te.ndist;){for(;Yn=te.lencode[At&(1<<te.lenbits)-1],xn=Yn>>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(xr<16)At>>>=xn,Ft-=xn,te.lens[te.have++]=xr;else{if(xr===16){for(yn=xn+2;Ft<yn;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(At>>>=xn,Ft-=xn,te.have===0){E.msg="invalid bit length repeat",te.mode=Li;break}Qi=te.lens[te.have-1],Bt=3+(At&3),At>>>=2,Ft-=2}else if(xr===17){for(yn=xn+3;Ft<yn;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}At>>>=xn,Ft-=xn,Qi=0,Bt=3+(At&7),At>>>=3,Ft-=3}else{for(yn=xn+7;Ft<yn;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}At>>>=xn,Ft-=xn,Qi=0,Bt=11+(At&127),At>>>=7,Ft-=7}if(te.have+Bt>te.nlen+te.ndist){E.msg="invalid bit length repeat",te.mode=Li;break}for(;Bt--;)te.lens[te.have++]=Qi}}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},zr=_u(ql,te.lens,0,te.nlen,te.lencode,0,te.work,ci),te.lenbits=ci.bits,zr){E.msg="invalid literal/lengths set",te.mode=Li;break}if(te.distbits=6,te.distcode=te.distdyn,ci={bits:te.distbits},zr=_u(Pc,te.lens,te.nlen,te.ndist,te.distcode,0,te.work,ci),te.distbits=ci.bits,zr){E.msg="invalid distances set",te.mode=Li;break}if(te.mode=CA,ne===Tc)break e;case CA:te.mode=id;case id:if(Ge>=6&&ot>=258){E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=At,te.bits=Ft,qc(E,sn),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,ce=E.input,Ge=E.avail_in,At=te.hold,Ft=te.bits,te.mode===tc&&(te.back=-1);break}for(te.back=0;Yn=te.lencode[At&(1<<te.lenbits)-1],xn=Yn>>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(Lr&&!(Lr&240)){for(sr=xn,wi=Lr,qi=xr;Yn=te.lencode[qi+((At&(1<<sr+wi)-1)>>sr)],xn=Yn>>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(sr+xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}At>>>=sr,Ft-=sr,te.back+=sr}if(At>>>=xn,Ft-=xn,te.back+=xn,te.length=xr,Lr===0){te.mode=If;break}if(Lr&32){te.back=-1,te.mode=tc;break}if(Lr&64){E.msg="invalid literal/length code",te.mode=Li;break}te.extra=Lr&15,te.mode=$h;case $h:if(te.extra){for(yn=te.extra;Ft<yn;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}te.length+=At&(1<<te.extra)-1,At>>>=te.extra,Ft-=te.extra,te.back+=te.extra}te.was=te.length,te.mode=cc;case cc:for(;Yn=te.distcode[At&(1<<te.distbits)-1],xn=Yn>>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(!(Lr&240)){for(sr=xn,wi=Lr,qi=xr;Yn=te.distcode[qi+((At&(1<<sr+wi)-1)>>sr)],xn=Yn>>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(sr+xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}At>>>=sr,Ft-=sr,te.back+=sr}if(At>>>=xn,Ft-=xn,te.back+=xn,Lr&64){E.msg="invalid distance code",te.mode=Li;break}te.offset=xr,te.extra=Lr&15,te.mode=Eh;case Eh:if(te.extra){for(yn=te.extra;Ft<yn;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}te.offset+=At&(1<<te.extra)-1,At>>>=te.extra,Ft-=te.extra,te.back+=te.extra}if(te.offset>te.dmax){E.msg="invalid distance too far back",te.mode=Li;break}te.mode=e0;case e0:if(ot===0)break e;if(Bt=sn-ot,te.offset>Bt){if(Bt=te.offset-Bt,Bt>te.whave&&te.sane){E.msg="invalid distance too far back",te.mode=Li;break}Bt>te.wnext?(Bt-=te.wnext,zn=te.wsize-Bt):zn=te.wnext-Bt,Bt>te.length&&(Bt=te.length),Nn=te.window}else Nn=ge,zn=nt-te.offset,Bt=te.length;Bt>ot&&(Bt=ot),ot-=Bt,te.length-=Bt;do ge[nt++]=Nn[zn++];while(--Bt);te.length===0&&(te.mode=id);break;case If:if(ot===0)break e;ge[nt++]=te.length,ot--,te.mode=id;break;case ah:if(te.wrap){for(;Ft<32;){if(Ge===0)break e;Ge--,At|=ce[Ce++]<<Ft,Ft+=8}if(sn-=ot,E.total_out+=sn,te.total+=sn,te.wrap&4&&sn&&(E.adler=te.check=te.flags?cl(te.check,ge,sn,nt-sn):Wo(te.check,ge,sn,nt-sn)),sn=ot,te.wrap&4&&(te.flags?At:bf(At))!==te.check){E.msg="incorrect data check",te.mode=Li;break}At=0,Ft=0}te.mode=Lf;case Lf:if(te.wrap&&te.flags){for(;Ft<32;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<<Ft,Ft+=8}if(te.wrap&4&&At!==(te.total&4294967295)){E.msg="incorrect length check",te.mode=Li;break}At=0,Ft=0}te.mode=yf;case yf:zr=vA;break e;case Li:zr=Rc;break e;case oh:return Iu;case Fh:default:return Yu}return E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=At,te.bits=Ft,(te.wsize||sn!==E.avail_out&&te.mode<Li&&(te.mode<ah||ne!==Md))&&Cl(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?cl(te.check,ge,sn,E.next_out-sn):Wo(te.check,ge,sn,E.next_out-sn)),E.data_type=te.bits+(te.last?64:0)+(te.mode===tc?128:0)+(te.mode===CA||te.mode===wA?256:0),(en===0&&sn===0||ne===Md)&&zr===Gu&&(zr=Tu),zr},wd=E=>{if(wf(E))return Yu;let ne=E.state;return ne.window&&(ne.window=null),E.state=null,Gu},XA=(E,ne)=>{if(wf(E))return Yu;const te=E.state;return te.wrap&2?(te.head=ne,ne.done=!1,Gu):Yu},JA=(E,ne)=>{const te=ne.length;let ce,ge,Ce;return wf(E)||(ce=E.state,ce.wrap!==0&&ce.mode!==_c)?Yu:ce.mode===_c&&(ge=1,ge=Wo(ge,ne,te,0),ge!==ce.check)?Rc:(Ce=Cl(E,ne,te,te),Ce?(ce.mode=oh,Iu):(ce.havedict=1,Gu))};var _0=SA,Mc=lh,FA=kh,M0=GA,xf=EA,I0=jl,Kl=wd,_h=XA,Cf=JA,Mh="pako inflate (from Nodeca project)",Ei={inflateReset:_0,inflateReset2:Mc,inflateResetKeep:FA,inflateInit:M0,inflateInit2:xf,inflate:I0,inflateEnd:Kl,inflateGetHeader:_h,inflateSetDictionary:Cf,inflateInfo:Mh};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 ip=Object.prototype.toString,{Z_NO_FLUSH:n0,Z_FINISH:qA,Z_OK:Of,Z_STREAM_END:ap,Z_NEED_DICT:ed,Z_STREAM_ERROR:Nf,Z_DATA_ERROR:r0,Z_MEM_ERROR:L0}=bs;function D0(E){this.options=ls.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 rs,this.strm.avail_out=0;let te=Ei.inflateInit2(this.strm,ne.windowBits);if(te!==Of)throw new Error(ys[te]);if(this.header=new sm,Ei.inflateGetHeader(this.strm,this.header),ne.dictionary&&(typeof ne.dictionary=="string"?ne.dictionary=ns.string2buf(ne.dictionary):ip.call(ne.dictionary)==="[object ArrayBuffer]"&&(ne.dictionary=new Uint8Array(ne.dictionary)),ne.raw&&(te=Ei.inflateSetDictionary(this.strm,ne.dictionary),te!==Of)))throw new Error(ys[te])}D0.prototype.push=function(E,ne){const te=this.strm,ce=this.options.chunkSize,ge=this.options.dictionary;let Ce,nt,Ge;if(this.ended)return!1;for(ne===~~ne?nt=ne:nt=ne===!0?qA:n0,ip.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(ce),te.next_out=0,te.avail_out=ce),Ce=Ei.inflate(te,nt),Ce===ed&&ge&&(Ce=Ei.inflateSetDictionary(te,ge),Ce===Of?Ce=Ei.inflate(te,nt):Ce===r0&&(Ce=ed));te.avail_in>0&&Ce===ap&&te.state.wrap>0&&E[te.next_in]!==0;)Ei.inflateReset(te),Ce=Ei.inflate(te,nt);switch(Ce){case Nf:case r0:case ed:case L0:return this.onEnd(Ce),this.ended=!0,!1}if(Ge=te.avail_out,te.next_out&&(te.avail_out===0||Ce===ap))if(this.options.to==="string"){let ot=ns.utf8border(te.output,te.next_out),At=te.next_out-ot,Ft=ns.buf2string(te.output,ot);te.next_out=At,te.avail_out=ce-At,At&&te.output.set(te.output.subarray(ot,ot+At),0),this.onData(Ft)}else this.onData(te.output.length===te.next_out?te.output:te.output.subarray(0,te.next_out));if(!(Ce===Of&&Ge===0)){if(Ce===ap)return Ce=Ei.inflateEnd(this.strm),this.onEnd(Ce),this.ended=!0,!0;if(te.avail_in===0)break}}return!0},D0.prototype.onData=function(E){this.chunks.push(E)},D0.prototype.onEnd=function(E){E===Of&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ls.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function Ih(E,ne){const te=new D0(ne);if(te.push(E),te.err)throw te.msg||ys[te.err];return te.result}function op(E,ne){return ne=ne||{},ne.raw=!0,Ih(E,ne)}var Cp=D0,O0=Ih,Ud=op,Pf=Ih,Lh=bs,N0={Inflate:Cp,inflate:O0,inflateRaw:Ud,ungzip:Pf,constants:Lh};const{Deflate:cf,deflate:lm,deflateRaw:sp,gzip:Hm}=ws,{Inflate:Qm,inflate:Bp,inflateRaw:Us,ungzip:um}=N0;var lp=cf,IA=lm,$A=sp,Tf=Hm,P0=Qm,Dh=Bp,i0=Us,Oh=um,Sp=bs,cm={Deflate:lp,deflate:IA,deflateRaw:$A,gzip:Tf,Inflate:P0,inflate:Dh,inflateRaw:i0,ungzip:Oh,constants:Sp};const T0=[];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;T0[E]=ne}const a0=4294967295;function dm(E,ne,te){let ce=E;for(let ge=0;ge<te;ge++)ce=T0[(ce^ne[ge])&255]^ce>>>8;return ce}function Uu(E,ne){return(dm(a0,E,ne)^a0)>>>0}function uh(E,ne,te){const ce=E.readUint32(),ge=Uu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne-4,ne),ne);if(ge!==ce)throw new Error(`CRC mismatch for chunk ${te}. Expected ${ce}, found ${ge}`)}function jm(E,ne){E.writeUint32(Uu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne,ne),ne))}function dc(E,ne,te){for(let ce=0;ce<te;ce++)ne[ce]=E[ce]}function ch(E,ne,te,ce){let ge=0;for(;ge<ce;ge++)ne[ge]=E[ge];for(;ge<te;ge++)ne[ge]=E[ge]+ne[ge-ce]&255}function Bf(E,ne,te,ce){let ge=0;if(te.length===0)for(;ge<ce;ge++)ne[ge]=E[ge];else for(;ge<ce;ge++)ne[ge]=E[ge]+te[ge]&255}function Rf(E,ne,te,ce,ge){let Ce=0;if(te.length===0){for(;Ce<ge;Ce++)ne[Ce]=E[Ce];for(;Ce<ce;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<ce;Ce++)ne[Ce]=E[Ce]+(ne[Ce-ge]+te[Ce]>>1)&255}}function ou(E,ne,te,ce,ge){let Ce=0;if(te.length===0){for(;Ce<ge;Ce++)ne[Ce]=E[Ce];for(;Ce<ce;Ce++)ne[Ce]=E[Ce]+ne[Ce-ge]&255}else{for(;Ce<ge;Ce++)ne[Ce]=E[Ce]+te[Ce]&255;for(;Ce<ce;Ce++)ne[Ce]=E[Ce]+df(ne[Ce-ge],te[Ce],te[Ce-ge])&255}}function df(E,ne,te){const ce=E+ne-te,ge=Math.abs(ce-E),Ce=Math.abs(ce-ne),nt=Math.abs(ce-te);return ge<=Ce&&ge<=nt?E:Ce<=nt?ne:te}function kA(E,ne,te,ce,ge,Ce){switch(E){case 0:dc(ne,te,ge);break;case 1:ch(ne,te,ge,Ce);break;case 2:Bf(ne,te,ce,ge);break;case 3:Rf(ne,te,ce,ge,Ce);break;case 4:ou(ne,te,ce,ge,Ce);break;default:throw new Error(`Unsupported filter: ${E}`)}}const Sf=new Uint16Array([255]),x=new Uint8Array(Sf.buffer)[0]===255;function ee(E){const{data:ne,width:te,height:ce,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(ce*te*Ge);let At=0;for(let Ft=0;Ft<7;Ft++){const en=nt[Ft],sn=Math.ceil((te-en.x)/en.xStep),Bt=Math.ceil((ce-en.y)/en.yStep);if(sn<=0||Bt<=0)continue;const zn=sn*Ge,Nn=new Uint8Array(zn);for(let Yn=0;Yn<Bt;Yn++){const xn=ne[At++],Lr=ne.subarray(At,At+zn);At+=zn;const xr=new Uint8Array(zn);kA(xn,Lr,xr,Nn,zn,Ge),Nn.set(xr);for(let sr=0;sr<sn;sr++){const wi=en.x+sr*en.xStep,qi=en.y+Yn*en.yStep;if(!(wi>=te||qi>=ce))for(let Qi=0;Qi<Ge;Qi++)ot[(qi*te+wi)*Ge+Qi]=xr[sr*Ge+Qi]}}}if(Ce===16){const Ft=new Uint16Array(ot.buffer);if(x)for(let en=0;en<Ft.length;en++)Ft[en]=ue(Ft[en]);return Ft}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:ce,channels:ge,depth:Ce}=E,nt=Math.ceil(Ce/8)*ge,Ge=Math.ceil(Ce/8*ge*te),ot=new Uint8Array(ce*Ge);let At=mt,Ft=0,en,sn;for(let Bt=0;Bt<ce;Bt++){switch(en=ne.subarray(Ft+1,Ft+1+Ge),sn=ot.subarray(Bt*Ge,(Bt+1)*Ge),ne[Ft]){case 0:dc(en,sn,Ge);break;case 1:ch(en,sn,Ge,nt);break;case 2:Bf(en,sn,At,Ge);break;case 3:Rf(en,sn,At,Ge,nt);break;case 4:ou(en,sn,At,Ge,nt);break;default:throw new Error(`Unsupported filter: ${ne[Ft]}`)}At=sn,Ft+=Ge+1}if(Ce===16){const Bt=new Uint16Array(ot.buffer);if(Ve)for(let zn=0;zn<Bt.length;zn++)Bt[zn]=Ut(Bt[zn]);return Bt}else return ot}function Ut(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 ir(E){if(!Yr(E.readBytes(Jt.length)))throw new Error("wrong PNG signature")}function Yr(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 Qr="tEXt",Oi=0,ma=new TextDecoder("latin1");function qa(E){if(_o(E),E.length===0||E.length>79)throw new Error("keyword length must be between 1 and 79")}const bo=/^[\u0000-\u00FF]*$/;function _o(E){if(!bo.test(E))throw new Error("invalid latin1 text")}function po(E,ne,te){const ce=hs(ne);E[ce]=vs(ne,te-ce.length-1)}function Uo(E,ne,te){qa(ne),_o(te);const ce=ne.length+1+te.length;E.writeUint32(ce),E.writeChars(Qr),E.writeChars(ne),E.writeByte(Oi),E.writeChars(te),writeCrc(E,ce+4)}function hs(E){for(E.mark();E.readByte()!==Oi;);const ne=E.offset;E.reset();const te=ma.decode(E.readBytes(ne-E.offset-1));return E.skip(1),qa(te),te}function vs(E,ne){return ma.decode(E.readBytes(ne))}const Ns={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Hu={UNKNOWN:-1,DEFLATE:0},dd={UNKNOWN:-1,ADAPTIVE:0},wc={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Id={NONE:0,BACKGROUND:1,PREVIOUS:2},xd={SOURCE:0,OVER:1};class ad extends xo{constructor(te,ce={}){super(te);pc(this,"_checkCrc");pc(this,"_inflator");pc(this,"_png");pc(this,"_apng");pc(this,"_end");pc(this,"_hasPalette");pc(this,"_palette");pc(this,"_hasTransparency");pc(this,"_transparency");pc(this,"_compressionMethod");pc(this,"_filterMethod");pc(this,"_interlaceMethod");pc(this,"_colorType");pc(this,"_isAnimated");pc(this,"_numberOfFrames");pc(this,"_numberOfPlays");pc(this,"_frames");pc(this,"_writingDataChunks");const{checkCrc:ge=!1}=ce;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=Hu.UNKNOWN,this._filterMethod=dd.UNKNOWN,this._interlaceMethod=wc.UNKNOWN,this._colorType=Ns.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(ir(this);!this._end;){const te=this.readUint32(),ce=this.readChars(4);this.decodeChunk(te,ce)}return this.decodeImage(),this._png}decodeApng(){for(ir(this);!this._end;){const te=this.readUint32(),ce=this.readChars(4);this.decodeApngChunk(te,ce)}return this.decodeApngImage(),this._apng}decodeChunk(te,ce){const ge=this.offset;switch(ce){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 Qr:po(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 ${ce}`);this._checkCrc?uh(this,te+4,ce):this.skip(4)}decodeApngChunk(te,ce){const ge=this.offset;switch(ce!=="fdAT"&&ce!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),ce){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(te);break;default:this.decodeChunk(te,ce),this.offset=ge+te;break}if(this.offset-ge!==te)throw new Error(`Length mismatch while decoding chunk ${ce}`);this._checkCrc?uh(this,te+4,ce):this.skip(4)}decodeIHDR(){const te=this._png;te.width=this.readUint32(),te.height=this.readUint32(),te.depth=Hd(this.readUint8());const ce=this.readUint8();this._colorType=ce;let ge;switch(ce){case Ns.GREYSCALE:ge=1;break;case Ns.TRUECOLOUR:ge=3;break;case Ns.INDEXED_COLOUR:ge=1;break;case Ns.GREYSCALE_ALPHA:ge=2;break;case Ns.TRUECOLOUR_ALPHA:ge=4;break;case Ns.UNKNOWN:default:throw new Error(`Unknown color type: ${ce}`)}if(this._png.channels=ge,this._compressionMethod=this.readUint8(),this._compressionMethod!==Hu.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 ce=te/3;this._hasPalette=!0;const ge=[];this._palette=ge;for(let Ce=0;Ce<ce;Ce++)ge.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(te){this._writingDataChunks=!0;const ce=te,ge=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,ge,ce)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(te)}decodeFDAT(te){this._writingDataChunks=!0;let ce=te,ge=this.offset+this.byteOffset;if(ge+=4,ce-=4,this._inflator.push(new Uint8Array(this.buffer,ge,ce)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(te)}decodetRNS(te){switch(this._colorType){case Ns.GREYSCALE:case Ns.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 ce=0;ce<te/2;ce++)this._transparency[ce]=this.readUint16();break}case Ns.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 ce=0;for(;ce<te;ce++){const ge=this.readByte();this._palette[ce].push(ge)}for(;ce<this._palette.length;ce++)this._palette[ce].push(255);break}case Ns.UNKNOWN:case Ns.GREYSCALE_ALPHA:case Ns.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(te){const ce=hs(this),ge=this.readUint8();if(ge!==Hu.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${ge}`);const Ce=this.readBytes(te-ce.length-2);this._png.iccEmbeddedProfile={name:ce,profile:Dh(Ce)}}decodepHYs(){const te=this.readUint32(),ce=this.readUint32(),ge=this.readByte();this._png.resolution={x:te,y:ce,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 ce={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)ce.data=ge.data;else{const Ce=this._apng.frames.at(te-1);this.disposeFrame(ge,Ce,ce),this.addFrameDataToCanvas(ce,ge)}this._apng.frames.push(ce)}}return this._apng}disposeFrame(te,ce,ge){switch(te.disposeOp){case Id.NONE:break;case Id.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 Id.PREVIOUS:ge.data.set(ce.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(te,ce){const ge=1<<this._png.depth,Ce=(nt,Ge)=>{const ot=((nt+ce.yOffset)*this._png.width+ce.xOffset+Ge)*this._png.channels,At=(nt*ce.width+Ge)*this._png.channels;return{index:ot,frameIndex:At}};switch(ce.blendOp){case xd.SOURCE:for(let nt=0;nt<ce.height;nt++)for(let Ge=0;Ge<ce.width;Ge++){const{index:ot,frameIndex:At}=Ce(nt,Ge);for(let Ft=0;Ft<this._png.channels;Ft++)te.data[ot+Ft]=ce.data[At+Ft]}break;case xd.OVER:for(let nt=0;nt<ce.height;nt++)for(let Ge=0;Ge<ce.width;Ge++){const{index:ot,frameIndex:At}=Ce(nt,Ge);for(let Ft=0;Ft<this._png.channels;Ft++){const en=ce.data[At+this._png.channels-1]/ge,sn=Ft%(this._png.channels-1)===0?1:ce.data[At+Ft],Bt=Math.floor(en*sn+(1-en)*te.data[ot+Ft]);te.data[ot+Ft]+=Bt}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var ce;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const te=this._isAnimated?((ce=this._frames)==null?void 0:ce.at(0)).data:this._inflator.result;if(this._filterMethod!==dd.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===wc.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===wc.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,ce=this._frames.at(-1);ce?ce.data=te:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Id.NONE,blendOp:xd.SOURCE,data:te}),this._inflator=new P0,this._writingDataChunks=!1}}function Hd(E){if(E!==1&&E!==2&&E!==4&&E!==8&&E!==16)throw new Error(`invalid bit depth: ${E}`);return E}const $s={level:3};class fo extends null{constructor(te,ce={}){var ge;super();pc(this,"_png");pc(this,"_zlibOptions");pc(this,"_colorType");pc(this,"_interlaceMethod");this._colorType=ColorType.UNKNOWN,this._zlibOptions=tp(tp({},$s),ce.zlib),this._png=this._checkData(te),this._interlaceMethod=(ge=ce.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,ce]of Object.entries(this._png.text))encodetEXt(this,te,ce);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 ce;const te=((ce=this._png.palette)==null?void 0:ce.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(ce=>ce.at(-1)!==255);this.writeUint32(te.length),this.writeChars("tRNS");for(const ce of te)this.writeByte(ce.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:ce,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 At=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let sn=0;sn<ce;sn++)ot.writeByte(0),Ce===16?At=Dl(nt,ot,Ge,At):At=Mu(nt,ot,Ge,At);else this._interlaceMethod===InterlaceMethod.ADAM7&&(At=Nh(this._png,nt,ot,At));const Ft=ot.toArray(),en=deflate(Ft,this._zlibOptions);this.encodeIDAT(en)}_checkData(te){const{colorType:ce,channels:ge,depth:Ce}=xc(te,te.palette),nt={width:Xu(te.width,"width"),height:Xu(te.height,"height"),channels:ge,data:te.data,depth:Ce,text:te.text,palette:te.palette};this._colorType=ce;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 Xu(E,ne){if(Number.isInteger(E)&&E>0)return E;throw new TypeError(`${ne} must be a positive integer`)}function xc(E,ne){const{channels:te=4,depth:ce=8}=E;if(te!==4&&te!==3&&te!==2&&te!==1)throw new RangeError(`unsupported number of channels: ${te}`);const ge={channels:te,depth:ce,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 Mu(E,ne,te,ce){for(let ge=0;ge<te;ge++)ne.writeByte(E[ce++]);return ce}function Nh(E,ne,te,ce){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 At=0;ot===16?At=Ge*ot/8/2:At=Ge*ot/8;for(let Ft=0;Ft<7;Ft++){const en=ge[Ft],sn=Math.floor((Ce-en.x+en.xStep-1)/en.xStep),Bt=Math.floor((nt-en.y+en.yStep-1)/en.yStep);if(sn<=0||Bt<=0)continue;const zn=sn*At;for(let Nn=0;Nn<Bt;Nn++){const Yn=en.y+Nn*en.yStep,xn=ot<=8?new Uint8Array(zn):new Uint16Array(zn);let Lr=0;for(let xr=0;xr<sn;xr++){const sr=en.x+xr*en.xStep;if(sr<Ce&&Yn<nt){const wi=(Yn*Ce+sr)*At;for(let qi=0;qi<At;qi++)xn[Lr++]=ne[wi+qi]}}if(te.writeByte(0),ot===8)te.writeBytes(xn);else if(ot===16)for(const xr of xn)te.writeByte(xr>>8&255),te.writeByte(xr&255)}}return ce}function Dl(E,ne,te,ce){for(let ge=0;ge<te;ge++)ne.writeUint16(E[ce++]);return ce}var Ul;(function(E){E[E.UNKNOWN=0]="UNKNOWN",E[E.METRE=1]="METRE"})(Ul||(Ul={}));function su(E,ne){return new ad(E,ne).decode()}function Cd(E,ne){return new PngEncoder(E,ne).encode()}function o0(E,ne){return new PngDecoder(E,ne).decodeApng()}var Ps=function(){return typeof window!="undefined"?window:typeof de.g!="undefined"?de.g:typeof self!="undefined"?self:this}();function LA(){Ps.console&&typeof Ps.console.log=="function"&&Ps.console.log.apply(Ps.console,arguments)}var fu={log:LA,warn:function(E){Ps.console&&(typeof Ps.console.warn=="function"?Ps.console.warn.apply(Ps.console,arguments):LA.call(null,arguments))},error:function(E){Ps.console&&(typeof Ps.console.error=="function"?Ps.console.error.apply(Ps.console,arguments):LA(E))}};function Kc(E,ne,te){var ce=new XMLHttpRequest;ce.open("GET",E),ce.responseType="blob",ce.onload=function(){Ph(ce.response,ne,te)},ce.onerror=function(){fu.error("could not download file")},ce.send()}function Uf(E){var ne=new XMLHttpRequest;ne.open("HEAD",E,!1);try{ne.send()}catch(te){}return ne.status>=200&&ne.status<=299}function od(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=Ps.saveAs||((typeof window=="undefined"?"undefined":(0,he.Z)(window))!=="object"||window!==Ps?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(E,ne,te){var ce=Ps.URL||Ps.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?Uf(ge.href)?Kc(E,ne,te):od(ge,ge.target="_blank"):od(ge)):(ge.href=ce.createObjectURL(E),setTimeout(function(){ce.revokeObjectURL(ge.href)},4e4),setTimeout(function(){od(ge)},0))}:"msSaveOrOpenBlob"in navigator?function(E,ne,te){if(ne=ne||E.name||"download",typeof E=="string")if(Uf(E))Kc(E,ne,te);else{var ce=document.createElement("a");ce.href=E,ce.target="_blank",setTimeout(function(){od(ce)})}else navigator.msSaveOrOpenBlob(function(ge,Ce){return Ce===void 0?Ce={autoBom:!1}:(0,he.Z)(Ce)!=="object"&&(fu.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,ce){if((ce=ce||open("","_blank"))&&(ce.document.title=ce.document.body.innerText="downloading..."),typeof E=="string")return Kc(E,ne,te);var ge=E.type==="application/octet-stream",Ce=/constructor/i.test(Ps.HTMLElement)||Ps.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 Ft=Ge.result;Ft=nt?Ft:Ft.replace(/^data:[^;]*;/,"data:attachment/file;"),ce?ce.location.href=Ft:location=Ft,ce=null},Ge.readAsDataURL(E)}else{var ot=Ps.URL||Ps.webkitURL,At=ot.createObjectURL(E);ce?ce.location=At:location.href=At,ce=null,setTimeout(function(){ot.revokeObjectURL(At)},4e4)}});function Km(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)]}}],ce=0;ce<te.length;ce++){var ge=te[ce].re,Ce=te[ce].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),At=this.b.toString(16);return Ge.length==1&&(Ge="0"+Ge),ot.length==1&&(ot="0"+ot),At.length==1&&(At="0"+At),"#"+Ge+ot+At}}var wa=Ps.atob.bind(Ps),Ac=Ps.btoa.bind(Ps);function Am(E,ne){var te=E[0],ce=E[1],ge=E[2],Ce=E[3];te=lA(te,ce,ge,Ce,ne[0],7,-680876936),Ce=lA(Ce,te,ce,ge,ne[1],12,-389564586),ge=lA(ge,Ce,te,ce,ne[2],17,606105819),ce=lA(ce,ge,Ce,te,ne[3],22,-1044525330),te=lA(te,ce,ge,Ce,ne[4],7,-176418897),Ce=lA(Ce,te,ce,ge,ne[5],12,1200080426),ge=lA(ge,Ce,te,ce,ne[6],17,-1473231341),ce=lA(ce,ge,Ce,te,ne[7],22,-45705983),te=lA(te,ce,ge,Ce,ne[8],7,1770035416),Ce=lA(Ce,te,ce,ge,ne[9],12,-1958414417),ge=lA(ge,Ce,te,ce,ne[10],17,-42063),ce=lA(ce,ge,Ce,te,ne[11],22,-1990404162),te=lA(te,ce,ge,Ce,ne[12],7,1804603682),Ce=lA(Ce,te,ce,ge,ne[13],12,-40341101),ge=lA(ge,Ce,te,ce,ne[14],17,-1502002290),te=Gd(te,ce=lA(ce,ge,Ce,te,ne[15],22,1236535329),ge,Ce,ne[1],5,-165796510),Ce=Gd(Ce,te,ce,ge,ne[6],9,-1069501632),ge=Gd(ge,Ce,te,ce,ne[11],14,643717713),ce=Gd(ce,ge,Ce,te,ne[0],20,-373897302),te=Gd(te,ce,ge,Ce,ne[5],5,-701558691),Ce=Gd(Ce,te,ce,ge,ne[10],9,38016083),ge=Gd(ge,Ce,te,ce,ne[15],14,-660478335),ce=Gd(ce,ge,Ce,te,ne[4],20,-405537848),te=Gd(te,ce,ge,Ce,ne[9],5,568446438),Ce=Gd(Ce,te,ce,ge,ne[14],9,-1019803690),ge=Gd(ge,Ce,te,ce,ne[3],14,-187363961),ce=Gd(ce,ge,Ce,te,ne[8],20,1163531501),te=Gd(te,ce,ge,Ce,ne[13],5,-1444681467),Ce=Gd(Ce,te,ce,ge,ne[2],9,-51403784),ge=Gd(ge,Ce,te,ce,ne[7],14,1735328473),te=Ld(te,ce=Gd(ce,ge,Ce,te,ne[12],20,-1926607734),ge,Ce,ne[5],4,-378558),Ce=Ld(Ce,te,ce,ge,ne[8],11,-2022574463),ge=Ld(ge,Ce,te,ce,ne[11],16,1839030562),ce=Ld(ce,ge,Ce,te,ne[14],23,-35309556),te=Ld(te,ce,ge,Ce,ne[1],4,-1530992060),Ce=Ld(Ce,te,ce,ge,ne[4],11,1272893353),ge=Ld(ge,Ce,te,ce,ne[7],16,-155497632),ce=Ld(ce,ge,Ce,te,ne[10],23,-1094730640),te=Ld(te,ce,ge,Ce,ne[13],4,681279174),Ce=Ld(Ce,te,ce,ge,ne[0],11,-358537222),ge=Ld(ge,Ce,te,ce,ne[3],16,-722521979),ce=Ld(ce,ge,Ce,te,ne[6],23,76029189),te=Ld(te,ce,ge,Ce,ne[9],4,-640364487),Ce=Ld(Ce,te,ce,ge,ne[12],11,-421815835),ge=Ld(ge,Ce,te,ce,ne[15],16,530742520),te=Qd(te,ce=Ld(ce,ge,Ce,te,ne[2],23,-995338651),ge,Ce,ne[0],6,-198630844),Ce=Qd(Ce,te,ce,ge,ne[7],10,1126891415),ge=Qd(ge,Ce,te,ce,ne[14],15,-1416354905),ce=Qd(ce,ge,Ce,te,ne[5],21,-57434055),te=Qd(te,ce,ge,Ce,ne[12],6,1700485571),Ce=Qd(Ce,te,ce,ge,ne[3],10,-1894986606),ge=Qd(ge,Ce,te,ce,ne[10],15,-1051523),ce=Qd(ce,ge,Ce,te,ne[1],21,-2054922799),te=Qd(te,ce,ge,Ce,ne[8],6,1873313359),Ce=Qd(Ce,te,ce,ge,ne[15],10,-30611744),ge=Qd(ge,Ce,te,ce,ne[6],15,-1560198380),ce=Qd(ce,ge,Ce,te,ne[13],21,1309151649),te=Qd(te,ce,ge,Ce,ne[4],6,-145523070),Ce=Qd(Ce,te,ce,ge,ne[11],10,-1120210379),ge=Qd(ge,Ce,te,ce,ne[2],15,718787259),ce=Qd(ce,ge,Ce,te,ne[9],21,-343485551),E[0]=_A(te,E[0]),E[1]=_A(ce,E[1]),E[2]=_A(ge,E[2]),E[3]=_A(Ce,E[3])}function fm(E,ne,te,ce,ge,Ce){return ne=_A(_A(ne,E),_A(ce,Ce)),_A(ne<<ge|ne>>>32-ge,te)}function lA(E,ne,te,ce,ge,Ce,nt){return fm(ne&te|~ne&ce,E,ne,ge,Ce,nt)}function Gd(E,ne,te,ce,ge,Ce,nt){return fm(ne&ce|te&~ce,E,ne,ge,Ce,nt)}function Ld(E,ne,te,ce,ge,Ce,nt){return fm(ne^te^ce,E,ne,ge,Ce,nt)}function Qd(E,ne,te,ce,ge,Ce,nt){return fm(te^(ne|~ce),E,ne,ge,Ce,nt)}function fg(E){var ne,te=E.length,ce=[1732584193,-271733879,-1732584194,271733878];for(ne=64;ne<=E.length;ne+=64)Am(ce,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(ce,ge),ne=0;ne<16;ne++)ge[ne]=0;return ge[14]=8*te,Am(ce,ge),ce}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 tf="0123456789abcdef".split("");function R0(E){for(var ne="",te=0;te<4;te++)ne+=tf[E>>8*te+4&15]+tf[E>>8*te&15];return ne}function Ad(E){return String.fromCharCode(255&E,(65280&E)>>8,(16711680&E)>>16,(4278190080&E)>>24)}function U0(E){return fg(E).map(Ad).join("")}var zm=function(E){for(var ne=0;ne<E.length;ne++)E[ne]=R0(E[ne]);return E.join("")}(fg("hello"))!="5d41402abc4b2a76b9719d911017c592";function _A(E,ne){if(zm){var te=(65535&E)+(65535&ne);return(E>>16)+(ne>>16)+(te>>16)<<16|65535&te}return E+ne&4294967295}function jd(E,ne){var te,ce,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 At=0;for(ot=0;ot<256;ot++){var Ft=Ge[ot];At=(At+Ft+nt.charCodeAt(ot))%256,Ge[ot]=Ge[At],Ge[At]=Ft}te=E,ce=Ge}else Ge=ce;var en=ne.length,sn=0,Bt=0,zn="";for(ot=0;ot<en;ot++)Bt=(Bt+(Ft=Ge[sn=(sn+1)%256]))%256,Ge[sn]=Ge[Bt],Ge[Bt]=Ft,nt=Ge[(Ge[sn]+Ge[Bt])%256],zn+=String.fromCharCode(ne.charCodeAt(ot)^nt);return zn}var Ep={print:4,modify:8,copy:16,"annot-forms":32};function dh(E,ne,te,ce){this.v=1,this.r=2;var ge=192;E.forEach(function(Ge){if(Ep.perm!==void 0)throw new Error("Invalid permission: "+Ge);ge+=Ep[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=U0(Ce+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(ce)).substr(0,5),this.U=jd(this.encryptionKey,this.padding)}function DA(E){if(/[^\u0000-\u00ff]/.test(E))throw new Error("Invalid PDF Name Object: "+E+", Only accept ASCII characters.");for(var ne="",te=E.length,ce=0;ce<te;ce++){var ge=E.charCodeAt(ce);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[ce]}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,ce,ge){if(ge=ge||!1,typeof te!="string"||typeof ce!="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]=[ce,!!ge],Ce},this.unsubscribe=function(te){for(var ce in ne)if(ne[ce][te])return delete ne[ce][te],Object.keys(ne[ce]).length===0&&delete ne[ce],!0;return!1},this.publish=function(te){if(ne.hasOwnProperty(te)){var ce=Array.prototype.slice.call(arguments,1),ge=[];for(var Ce in ne[te]){var nt=ne[te][Ce];try{nt[0].apply(E,ce)}catch(Ge){Ps.console&&fu.error("jsPDF PubSub Error",Ge.message,Ge)}nt[1]&&ge.push(Ce)}ge.length&&ge.forEach(this.unsubscribe)}},this.getTopics=function(){return ne}}function Fp(E){if(!(this instanceof Fp))return new Fp(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 up(E,ne){this.gState=E,this.matrix=ne,this.id="",this.objectNumber=-1}function s0(E,ne,te,ce,ge){if(!(this instanceof s0))return new s0(E,ne,te,ce,ge);this.type=E==="axial"?2:3,this.coords=ne,this.colors=te,up.call(this,ce,ge)}function l0(E,ne,te,ce,ge){if(!(this instanceof l0))return new l0(E,ne,te,ce,ge);this.boundingBox=E,this.xStep=ne,this.yStep=te,this.stream="",this.cloneIndex=0,up.call(this,ce,ge)}function _s(E){var ne,te=typeof arguments[0]=="string"?arguments[0]:"p",ce=arguments[1],ge=arguments[2],Ce=arguments[3],nt=[],Ge=1,ot=16,At="S",Ft=null;(0,he.Z)(E=E||{})==="object"&&(te=E.orientation,ce=E.unit||ce,ge=E.format||ge,Ce=E.compress||E.compressPdf||Ce,(Ft=E.encryption||null)!==null&&(Ft.userPassword=Ft.userPassword||"",Ft.ownerPassword=Ft.ownerPassword||"",Ft.userPermissions=Ft.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),At=E.defaultPathOperation||"S"),nt=E.filters||(Ce===!0?["FlateEncode"]:nt),ce=ce||"mm",te=(""+(te||"P")).toLowerCase();var en=E.putOnlyUsedFonts||!1,sn={},Bt={internal:{},__private__:{}};Bt.__private__.PubSub=Wm;var zn="1.3",Nn=Bt.__private__.getPdfVersion=function(){return zn};Bt.__private__.setPdfVersion=function(ct){zn=ct};var Yn={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]};Bt.__private__.getPageFormats=function(){return Yn};var xn=Bt.__private__.getPageFormat=function(ct){return Yn[ct]};ge=ge||"a4";var Lr="compat",xr="advanced",sr=Lr;function wi(){this.saveGraphicsState(),Wn(new pl(tu,0,0,-tu,0,Ap()*tu).toString()+" cm"),this.setFontSize(this.getFontSize()/tu),At="n",sr=xr}function qi(){this.restoreGraphicsState(),At="S",sr=Lr}var Qi=Bt.__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};Bt.advancedAPI=function(ct){var an=sr===Lr;return an&&wi.call(this),typeof ct!="function"||(ct(this),an&&qi.call(this)),this},Bt.compatAPI=function(ct){var an=sr===xr;return an&&qi.call(this),typeof ct!="function"||(ct(this),an&&wi.call(this)),this},Bt.isAdvancedAPI=function(){return sr===xr};var zr,ur=function(ct){if(sr!==xr)throw new Error(ct+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ci=Bt.roundToPrecision=Bt.__private__.roundToPrecision=function(ct,an){var tr=ne||an;if(isNaN(ct)||isNaN(tr))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ct.toFixed(tr).replace(/0+$/,"")};zr=Bt.hpf=Bt.__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=Bt.f2=Bt.__private__.f2=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f2");return ci(ct,2)},qn=Bt.__private__.f3=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f3");return ci(ct,3)},Mr=Bt.scale=Bt.__private__.scale=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.scale");return sr===Lr?ct*tu:sr===xr?ct:void 0},Br=function(ct){return Mr(function(an){return sr===Lr?Ap()-an:sr===xr?an:void 0}(ct))};Bt.__private__.setPrecision=Bt.setPrecision=function(ct){typeof parseInt(ct,10)=="number"&&(ne=parseInt(ct,10))};var Fi,Ui="00000000000000000000000000000000",Gi=Bt.__private__.getFileId=function(){return Ui},xi=Bt.__private__.setFileId=function(ct){return Ui=ct!==void 0&&/^[a-fA-F0-9]{32}$/.test(ct)?ct.toUpperCase():Ui.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ft!==null&&(dA=new dh(Ft.userPermissions,Ft.userPassword,Ft.ownerPassword,Ui)),Ui};Bt.setFileId=function(ct){return xi(ct),this},Bt.getFileId=function(){return Gi()};var Wi=Bt.__private__.convertDateToPDFDate=function(ct){var an=ct.getTimezoneOffset(),tr=an<0?"+":"-",_r=Math.floor(Math.abs(an/60)),ii=Math.abs(an%60),da=[tr,pr(_r),"'",pr(ii),"'"].join("");return["D:",ct.getFullYear(),pr(ct.getMonth()+1),pr(ct.getDate()),pr(ct.getHours()),pr(ct.getMinutes()),pr(ct.getSeconds()),da].join("")},mo=Bt.__private__.convertPDFDateToDate=function(ct){var an=parseInt(ct.substr(2,4),10),tr=parseInt(ct.substr(6,2),10)-1,_r=parseInt(ct.substr(8,2),10),ii=parseInt(ct.substr(10,2),10),da=parseInt(ct.substr(12,2),10),Qa=parseInt(ct.substr(14,2),10);return new Date(an,tr,_r,ii,da,Qa,0)},Ta=Bt.__private__.setCreationDate=function(ct){var an;if(ct===void 0&&(ct=new Date),ct instanceof Date)an=Wi(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=Bt.__private__.getCreationDate=function(ct){var an=Fi;return ct==="jsDate"&&(an=mo(Fi)),an};Bt.setCreationDate=function(ct){return Ta(ct),this},Bt.getCreationDate=function(ct){return hn(ct)};var or,pr=Bt.__private__.padd2=function(ct){return("0"+parseInt(ct)).slice(-2)},Nr=Bt.__private__.padd2Hex=function(ct){return("00"+(ct=ct.toString())).substr(ct.length)},Xr=0,pi=[],Di=[],Ni=0,ba=[],co=[],Ho=!1,Ko=Di;Bt.__private__.setCustomOutputDestination=function(ct){Ho=!0,Ko=ct};var zs=function(ct){Ho||(Ko=ct)};Bt.__private__.resetCustomOutputDestination=function(){Ho=!1,Ko=Di};var Wn=Bt.__private__.out=function(ct){return ct=ct.toString(),Ni+=ct.length+1,Ko.push(ct),Ko},Yo=Bt.__private__.write=function(ct){return Wn(arguments.length===1?ct.toString():Array.prototype.join.call(arguments," "))},hu=Bt.__private__.getArrayBuffer=function(ct){for(var an=ct.length,tr=new ArrayBuffer(an),_r=new Uint8Array(tr);an--;)_r[an]=ct.charCodeAt(an);return tr},hl=[["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]];Bt.__private__.getStandardFonts=function(){return hl};var ao=E.fontSize||16;Bt.__private__.setFontSize=Bt.setFontSize=function(ct){return ao=sr===xr?ct/tu:ct,this};var il,qo=Bt.__private__.getFontSize=Bt.getFontSize=function(){return sr===Lr?ao:ao*tu},Hs=E.R2L||!1;Bt.__private__.setR2L=Bt.setR2L=function(ct){return Hs=ct,this},Bt.__private__.getR2L=Bt.getR2L=function(){return Hs};var el,Du=Bt.__private__.setZoomMode=function(ct){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ct))il=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.');il=ct}else il=parseInt(ct,10)};Bt.__private__.getZoomMode=function(){return il};var Ou,Sl=Bt.__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.');el=ct};Bt.__private__.getPageMode=function(){return el};var Eu=Bt.__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.');Ou=ct};Bt.__private__.getLayoutMode=function(){return Ou},Bt.__private__.setDisplayMode=Bt.setDisplayMode=function(ct,an,tr){return Du(ct),Eu(an),Sl(tr),this};var vu={title:"",subject:"",author:"",keywords:"",creator:""};Bt.__private__.getDocumentProperty=function(ct){if(Object.keys(vu).indexOf(ct)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return vu[ct]},Bt.__private__.getDocumentProperties=function(){return vu},Bt.__private__.setDocumentProperties=Bt.setProperties=Bt.setDocumentProperties=function(ct){for(var an in vu)vu.hasOwnProperty(an)&&ct[an]&&(vu[an]=ct[an]);return this},Bt.__private__.setDocumentProperty=function(ct,an){if(Object.keys(vu).indexOf(ct)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return vu[ct]=an};var Ls,tu,Qs,Kd,Ju,pu={},yu={},fd=[],Ws={},zc={},El={},zl={},Ic=null,Ol=0,al=[],fc=new Wm(Bt),Lp=E.hotfixes||[],cA={},Q0={},d0=[],pl=function ct(an,tr,_r,ii,da,Qa){if(!(this instanceof ct))return new ct(an,tr,_r,ii,da,Qa);isNaN(an)&&(an=1),isNaN(tr)&&(tr=0),isNaN(_r)&&(_r=0),isNaN(ii)&&(ii=1),isNaN(da)&&(da=0),isNaN(Qa)&&(Qa=0),this._matrix=[an,tr,_r,ii,da,Qa]};Object.defineProperty(pl.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(pl.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(pl.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(pl.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(pl.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(pl.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(pl.prototype,"a",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(pl.prototype,"b",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(pl.prototype,"c",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(pl.prototype,"d",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(pl.prototype,"e",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(pl.prototype,"f",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(pl.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(pl.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(pl.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(pl.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),pl.prototype.join=function(ct){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(zr).join(ct)},pl.prototype.multiply=function(ct){var an=ct.sx*this.sx+ct.shy*this.shx,tr=ct.sx*this.shy+ct.shy*this.sy,_r=ct.shx*this.sx+ct.sy*this.shx,ii=ct.shx*this.shy+ct.sy*this.sy,da=ct.tx*this.sx+ct.ty*this.shx+this.tx,Qa=ct.tx*this.shy+ct.ty*this.sy+this.ty;return new pl(an,tr,_r,ii,da,Qa)},pl.prototype.decompose=function(){var ct=this.sx,an=this.shy,tr=this.shx,_r=this.sy,ii=this.tx,da=this.ty,Qa=Math.sqrt(ct*ct+an*an),xs=(ct/=Qa)*tr+(an/=Qa)*_r;tr-=ct*xs,_r-=an*xs;var Ds=Math.sqrt(tr*tr+_r*_r);return xs/=Ds,ct*(_r/=Ds)<an*(tr/=Ds)&&(ct=-ct,an=-an,xs=-xs,Qa=-Qa),{scale:new pl(Qa,0,0,Ds,0,0),translate:new pl(1,0,0,1,ii,da),rotate:new pl(ct,an,-an,ct,0,0),skew:new pl(1,0,xs,1,0,0)}},pl.prototype.toString=function(ct){return this.join(" ")},pl.prototype.inversed=function(){var ct=this.sx,an=this.shy,tr=this.shx,_r=this.sy,ii=this.tx,da=this.ty,Qa=1/(ct*_r-an*tr),xs=_r*Qa,Ds=-an*Qa,Fl=-tr*Qa,Zl=ct*Qa;return new pl(xs,Ds,Fl,Zl,-xs*ii-Fl*da,-Ds*ii-Zl*da)},pl.prototype.applyToPoint=function(ct){var an=ct.x*this.sx+ct.y*this.shx+this.tx,tr=ct.x*this.shy+ct.y*this.sy+this.ty;return new z0(an,tr)},pl.prototype.applyToRectangle=function(ct){var an=this.applyToPoint(ct),tr=this.applyToPoint(new z0(ct.x+ct.w,ct.y+ct.h));return new y0(an.x,an.y,tr.x-an.x,tr.y-an.y)},pl.prototype.clone=function(){var ct=this.sx,an=this.shy,tr=this.shx,_r=this.sy,ii=this.tx,da=this.ty;return new pl(ct,an,tr,_r,ii,da)},Bt.Matrix=pl;var j0=Bt.matrixMult=function(ct,an){return an.multiply(ct)},K0=new pl(1,0,0,1,0,0);Bt.unitMatrix=Bt.identityMatrix=K0;var Zf=function(ct,an){if(!zc[ct]){var tr=(an instanceof s0?"Sh":"P")+(Object.keys(Ws).length+1).toString(10);an.id=tr,zc[ct]=tr,Ws[tr]=an,fc.publish("addPattern",an)}};Bt.ShadingPattern=s0,Bt.TilingPattern=l0,Bt.addShadingPattern=function(ct,an){return ur("addShadingPattern()"),Zf(ct,an),this},Bt.beginTilingPattern=function(ct){ur("beginTilingPattern()"),Kp(ct.boundingBox[0],ct.boundingBox[1],ct.boundingBox[2]-ct.boundingBox[0],ct.boundingBox[3]-ct.boundingBox[1],ct.matrix)},Bt.endTilingPattern=function(ct,an){ur("endTilingPattern()"),an.stream=co[or].join(`
`),Zf(ct,an),fc.publish("endTilingPattern",an),d0.pop().restore()};var Vf,Dd=Bt.__private__.newObject=function(){var ct=nc();return Wc(ct,!0),ct},nc=Bt.__private__.newObjectDeferred=function(){return Xr++,pi[Xr]=function(){return Ni},Xr},Wc=function(ct,an){return an=typeof an=="boolean"&&an,pi[ct]=Ni,an&&Wn(ct+" 0 obj"),ct},A0=Bt.__private__.newAdditionalObject=function(){var ct={objId:nc(),content:""};return ba.push(ct),ct},f0=nc(),hh=nc(),Gf=Bt.__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 tr=parseFloat(an[0]);an=[tr,tr,tr,"r"]}for(var _r="#",ii=0;ii<3;ii++)_r+=("0"+Math.floor(255*parseFloat(an[ii])).toString(16)).slice(-2);return _r},TA=Bt.__private__.encodeColorString=function(ct){var an;typeof ct=="string"&&(ct={ch1:ct});var tr=ct.ch1,_r=ct.ch2,ii=ct.ch3,da=ct.ch4,Qa=ct.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof tr=="string"&&tr.charAt(0)!=="#"){var xs=new Km(tr);if(xs.ok)tr=xs.toHex();else if(!/^\d*\.?\d*$/.test(tr))throw new Error('Invalid color "'+tr+'" passed to jsPDF.encodeColorString.')}if(typeof tr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(tr)&&(tr="#"+tr[1]+tr[1]+tr[2]+tr[2]+tr[3]+tr[3]),typeof tr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(tr)){var Ds=parseInt(tr.substr(1),16);tr=Ds>>16&255,_r=Ds>>8&255,ii=255&Ds}if(_r===void 0||da===void 0&&tr===_r&&_r===ii)an=typeof tr=="string"?tr+" "+Qa[0]:ct.precision===2?yn(tr/255)+" "+Qa[0]:qn(tr/255)+" "+Qa[0];else if(da===void 0||(0,he.Z)(da)==="object"){if(da&&!isNaN(da.a)&&da.a===0)return["1.","1.","1.",Qa[1]].join(" ");an=typeof tr=="string"?[tr,_r,ii,Qa[1]].join(" "):ct.precision===2?[yn(tr/255),yn(_r/255),yn(ii/255),Qa[1]].join(" "):[qn(tr/255),qn(_r/255),qn(ii/255),Qa[1]].join(" ")}else an=typeof tr=="string"?[tr,_r,ii,da,Qa[2]].join(" "):ct.precision===2?[yn(tr),yn(_r),yn(ii),yn(da),Qa[2]].join(" "):[qn(tr),qn(_r),qn(ii),qn(da),Qa[2]].join(" ");return an},Yf=Bt.__private__.getFilters=function(){return nt},ph=Bt.__private__.putStream=function(ct){var an=(ct=ct||{}).data||"",tr=ct.filters||Yf(),_r=ct.alreadyAppliedFilters||[],ii=ct.addLength1||!1,da=an.length,Qa=ct.objectId,xs=function(Zc){return Zc};if(Ft!==null&&Qa===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ft!==null&&(xs=dA.encryptor(Qa,0));var Ds={};tr===!0&&(tr=["FlateEncode"]);var Fl=ct.additionalKeyValues||[],Zl=(Ds=_s.API.processDataByFilters!==void 0?_s.API.processDataByFilters(an,tr):{data:an,reverseChain:[]}).reverseChain+(Array.isArray(_r)?_r.join(" "):_r.toString());if(Ds.data.length!==0&&(Fl.push({key:"Length",value:Ds.data.length}),ii===!0&&Fl.push({key:"Length1",value:da})),Zl.length!=0)if(Zl.split("/").length-1==1)Fl.push({key:"Filter",value:Zl});else{Fl.push({key:"Filter",value:"["+Zl+"]"});for(var Cs=0;Cs<Fl.length;Cs+=1)if(Fl[Cs].key==="DecodeParms"){for(var Sd=[],Jd=0;Jd<Ds.reverseChain.split("/").length-1;Jd+=1)Sd.push("null");Sd.push(Fl[Cs].value),Fl[Cs].value="["+Sd.join(" ")+"]"}}Wn("<<");for(var td=0;td<Fl.length;td++)Wn("/"+Fl[td].key+" "+Fl[td].value);Wn(">>"),Ds.data.length!==0&&(Wn("stream"),Wn(xs(Ds.data)),Wn("endstream"))},Dp=Bt.__private__.putPage=function(ct){var an=ct.number,tr=ct.data,_r=ct.objId,ii=ct.contentsObjId;Wc(_r,!0),Wn("<</Type /Page"),Wn("/Parent "+ct.rootDictionaryObjId+" 0 R"),Wn("/Resources "+ct.resourceDictionaryObjId+" 0 R"),Wn("/MediaBox ["+parseFloat(zr(ct.mediaBox.bottomLeftX))+" "+parseFloat(zr(ct.mediaBox.bottomLeftY))+" "+zr(ct.mediaBox.topRightX)+" "+zr(ct.mediaBox.topRightY)+"]"),ct.cropBox!==null&&Wn("/CropBox ["+zr(ct.cropBox.bottomLeftX)+" "+zr(ct.cropBox.bottomLeftY)+" "+zr(ct.cropBox.topRightX)+" "+zr(ct.cropBox.topRightY)+"]"),ct.bleedBox!==null&&Wn("/BleedBox ["+zr(ct.bleedBox.bottomLeftX)+" "+zr(ct.bleedBox.bottomLeftY)+" "+zr(ct.bleedBox.topRightX)+" "+zr(ct.bleedBox.topRightY)+"]"),ct.trimBox!==null&&Wn("/TrimBox ["+zr(ct.trimBox.bottomLeftX)+" "+zr(ct.trimBox.bottomLeftY)+" "+zr(ct.trimBox.topRightX)+" "+zr(ct.trimBox.topRightY)+"]"),ct.artBox!==null&&Wn("/ArtBox ["+zr(ct.artBox.bottomLeftX)+" "+zr(ct.artBox.bottomLeftY)+" "+zr(ct.artBox.topRightX)+" "+zr(ct.artBox.topRightY)+"]"),typeof ct.userUnit=="number"&&ct.userUnit!==1&&Wn("/UserUnit "+ct.userUnit),fc.publish("putPage",{objId:_r,pageContext:al[an],pageNumber:an,page:tr}),Wn("/Contents "+ii+" 0 R"),Wn(">>"),Wn("endobj");var da=tr.join(`
`);return sr===xr&&(da+=`
Q`),Wc(ii,!0),ph({data:da,filters:Yf(),objectId:ii}),Wn("endobj"),_r},h0=Bt.__private__.putPages=function(){var ct,an,tr=[];for(ct=1;ct<=Ol;ct++)al[ct].objId=nc(),al[ct].contentsObjId=nc();for(ct=1;ct<=Ol;ct++)tr.push(Dp({number:ct,data:co[ct],objId:al[ct].objId,contentsObjId:al[ct].contentsObjId,mediaBox:al[ct].mediaBox,cropBox:al[ct].cropBox,bleedBox:al[ct].bleedBox,trimBox:al[ct].trimBox,artBox:al[ct].artBox,userUnit:al[ct].userUnit,rootDictionaryObjId:f0,resourceDictionaryObjId:hh}));Wc(f0,!0),Wn("<</Type /Pages");var _r="/Kids [";for(an=0;an<Ol;an++)_r+=tr[an]+" 0 R ";Wn(_r+"]"),Wn("/Count "+Ol),Wn(">>"),Wn("endobj"),fc.publish("postPutPages")},Op=function(ct){fc.publish("putFont",{font:ct,out:Wn,newObject:Dd,putStream:ph}),ct.isAlreadyPutted!==!0&&(ct.objectNumber=Dd(),Wn("<<"),Wn("/Type /Font"),Wn("/BaseFont /"+DA(ct.postScriptName)),Wn("/Subtype /Type1"),typeof ct.encoding=="string"&&Wn("/Encoding /"+ct.encoding),Wn("/FirstChar 32"),Wn("/LastChar 255"),Wn(">>"),Wn("endobj"))},Np=function(ct){ct.objectNumber=Dd();var an=[];an.push({key:"Type",value:"/XObject"}),an.push({key:"Subtype",value:"/Form"}),an.push({key:"BBox",value:"["+[zr(ct.x),zr(ct.y),zr(ct.x+ct.width),zr(ct.y+ct.height)].join(" ")+"]"}),an.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"});var tr=ct.pages[1].join(`
`);ph({data:tr,additionalKeyValues:an,objectId:ct.objectNumber}),Wn("endobj")},gm=function(ct,an){an||(an=21);var tr=Dd(),_r=function(Qa,xs){var Ds,Fl=[],Zl=1/(xs-1);for(Ds=0;Ds<1;Ds+=Zl)Fl.push(Ds);if(Fl.push(1),Qa[0].offset!=0){var Cs={offset:0,color:Qa[0].color};Qa.unshift(Cs)}if(Qa[Qa.length-1].offset!=1){var Sd={offset:1,color:Qa[Qa.length-1].color};Qa.push(Sd)}for(var Jd="",td=0,Zc=0;Zc<Fl.length;Zc++){for(Ds=Fl[Zc];Ds>Qa[td+1].offset;)td++;var qd=Qa[td].offset,UA=(Ds-qd)/(Qa[td+1].offset-qd),G0=Qa[td].color,zh=Qa[td+1].color;Jd+=Nr(Math.round((1-UA)*G0[0]+UA*zh[0]).toString(16))+Nr(Math.round((1-UA)*G0[1]+UA*zh[1]).toString(16))+Nr(Math.round((1-UA)*G0[2]+UA*zh[2]).toString(16))}return Jd.trim()}(ct.colors,an),ii=[];ii.push({key:"FunctionType",value:"0"}),ii.push({key:"Domain",value:"[0.0 1.0]"}),ii.push({key:"Size",value:"["+an+"]"}),ii.push({key:"BitsPerSample",value:"8"}),ii.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ii.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ph({data:_r,additionalKeyValues:ii,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:tr}),Wn("endobj"),ct.objectNumber=Dd(),Wn("<< /ShadingType "+ct.type),Wn("/ColorSpace /DeviceRGB");var da="/Coords ["+zr(parseFloat(ct.coords[0]))+" "+zr(parseFloat(ct.coords[1]))+" ";ct.type===2?da+=zr(parseFloat(ct.coords[2]))+" "+zr(parseFloat(ct.coords[3])):da+=zr(parseFloat(ct.coords[2]))+" "+zr(parseFloat(ct.coords[3]))+" "+zr(parseFloat(ct.coords[4]))+" "+zr(parseFloat(ct.coords[5])),Wn(da+="]"),ct.matrix&&Wn("/Matrix ["+ct.matrix.toString()+"]"),Wn("/Function "+tr+" 0 R"),Wn("/Extend [true true]"),Wn(">>"),Wn("endobj")},Pp=function(ct,an){var tr=nc(),_r=Dd();an.push({resourcesOid:tr,objectOid:_r}),ct.objectNumber=_r;var ii=[];ii.push({key:"Type",value:"/Pattern"}),ii.push({key:"PatternType",value:"1"}),ii.push({key:"PaintType",value:"1"}),ii.push({key:"TilingType",value:"1"}),ii.push({key:"BBox",value:"["+ct.boundingBox.map(zr).join(" ")+"]"}),ii.push({key:"XStep",value:zr(ct.xStep)}),ii.push({key:"YStep",value:zr(ct.yStep)}),ii.push({key:"Resources",value:tr+" 0 R"}),ct.matrix&&ii.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"}),ph({data:ct.stream,additionalKeyValues:ii,objectId:ct.objectNumber}),Wn("endobj")},Ym=function(ct){for(var an in ct.objectNumber=Dd(),Wn("<<"),ct)switch(an){case"opacity":Wn("/ca "+yn(ct[an]));break;case"stroke-opacity":Wn("/CA "+yn(ct[an]))}Wn(">>"),Wn("endobj")},Xm=function(ct){Wc(ct.resourcesOid,!0),Wn("<<"),Wn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var an in Wn("/Font <<"),pu)pu.hasOwnProperty(an)&&(en===!1||en===!0&&sn.hasOwnProperty(an))&&Wn("/"+an+" "+pu[an].objectNumber+" 0 R");Wn(">>")}(),function(){if(Object.keys(Ws).length>0){for(var an in Wn("/Shading <<"),Ws)Ws.hasOwnProperty(an)&&Ws[an]instanceof s0&&Ws[an].objectNumber>=0&&Wn("/"+an+" "+Ws[an].objectNumber+" 0 R");fc.publish("putShadingPatternDict"),Wn(">>")}}(),function(an){if(Object.keys(Ws).length>0){for(var tr in Wn("/Pattern <<"),Ws)Ws.hasOwnProperty(tr)&&Ws[tr]instanceof Bt.TilingPattern&&Ws[tr].objectNumber>=0&&Ws[tr].objectNumber<an&&Wn("/"+tr+" "+Ws[tr].objectNumber+" 0 R");fc.publish("putTilingPatternDict"),Wn(">>")}}(ct.objectOid),function(){if(Object.keys(El).length>0){var an;for(an in Wn("/ExtGState <<"),El)El.hasOwnProperty(an)&&El[an].objectNumber>=0&&Wn("/"+an+" "+El[an].objectNumber+" 0 R");fc.publish("putGStateDict"),Wn(">>")}}(),function(){for(var an in Wn("/XObject <<"),cA)cA.hasOwnProperty(an)&&cA[an].objectNumber>=0&&Wn("/"+an+" "+cA[an].objectNumber+" 0 R");fc.publish("putXobjectDict"),Wn(">>")}(),Wn(">>"),Wn("endobj")},wg=function(ct){yu[ct.fontName]=yu[ct.fontName]||{},yu[ct.fontName][ct.fontStyle]=ct.id},xg=function(ct,an,tr,_r,ii){var da={id:"F"+(Object.keys(pu).length+1).toString(10),postScriptName:ct,fontName:an,fontStyle:tr,encoding:_r,isStandardFont:ii||!1,metadata:{}};return fc.publish("addFont",{font:da,instance:this}),pu[da.id]=da,wg(da),da.id},_f=Bt.__private__.pdfEscape=Bt.pdfEscape=function(ct,an){return function(tr,_r){var ii,da,Qa,xs,Ds,Fl,Zl,Cs,Sd;if(Qa=(_r=_r||{}).sourceEncoding||"Unicode",Ds=_r.outputEncoding,(_r.autoencode||Ds)&&pu[Ls].metadata&&pu[Ls].metadata[Qa]&&pu[Ls].metadata[Qa].encoding&&(xs=pu[Ls].metadata[Qa].encoding,!Ds&&pu[Ls].encoding&&(Ds=pu[Ls].encoding),!Ds&&xs.codePages&&(Ds=xs.codePages[0]),typeof Ds=="string"&&(Ds=xs[Ds]),Ds)){for(Zl=!1,Fl=[],ii=0,da=tr.length;ii<da;ii++)(Cs=Ds[tr.charCodeAt(ii)])?Fl.push(String.fromCharCode(Cs)):Fl.push(tr[ii]),Fl[ii].charCodeAt(0)>>8&&(Zl=!0);tr=Fl.join("")}for(ii=tr.length;Zl===void 0&&ii!==0;)tr.charCodeAt(ii-1)>>8&&(Zl=!0),ii--;if(!Zl)return tr;for(Fl=_r.noBOM?[]:[254,255],ii=0,da=tr.length;ii<da;ii++){if((Sd=(Cs=tr.charCodeAt(ii))>>8)>>8)throw new Error("Character at position "+ii+" of string '"+tr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Fl.push(Sd),Fl.push(Cs-(Sd<<8))}return String.fromCharCode.apply(void 0,Fl)}(ct,an).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Tp=Bt.__private__.beginPage=function(ct){co[++Ol]=[],al[Ol]={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(Ol),zs(co[or])},Jm=function(ct,an){var tr,_r,ii;switch(te=an||te,typeof ct=="string"&&(tr=xn(ct.toLowerCase()),Array.isArray(tr)&&(_r=tr[0],ii=tr[1])),Array.isArray(ct)&&(_r=ct[0]*tu,ii=ct[1]*tu),isNaN(_r)&&(_r=ge[0],ii=ge[1]),(_r>14400||ii>14400)&&(fu.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),_r=Math.min(14400,_r),ii=Math.min(14400,ii)),ge=[_r,ii],te.substr(0,1)){case"l":ii>_r&&(ge=[ii,_r]);break;case"p":_r>ii&&(ge=[ii,_r])}Tp(ge),Wl(Bm),Wn(Sm),jp!==0&&Wn(jp+" J"),ng!==0&&Wn(ng+" j"),fc.publish("addPage",{pageNumber:Ol})},qm=function(ct){ct>0&&ct<=Ol&&(co.splice(ct,1),al.splice(ct,1),Ol--,or>Ol&&(or=Ol),this.setPage(or))},vm=function(ct){ct>0&&ct<=Ol&&(or=ct)},ym=Bt.__private__.getNumberOfPages=Bt.getNumberOfPages=function(){return co.length-1},$m=function(ct,an,tr){var _r,ii=void 0;return tr=tr||{},ct=ct!==void 0?ct:pu[Ls].fontName,an=an!==void 0?an:pu[Ls].fontStyle,_r=ct.toLowerCase(),yu[_r]!==void 0&&yu[_r][an]!==void 0?ii=yu[_r][an]:yu[ct]!==void 0&&yu[ct][an]!==void 0?ii=yu[ct][an]:tr.disableWarning===!1&&fu.warn("Unable to look up font label for font '"+ct+"', '"+an+"'. Refer to getFontList() for available fonts."),ii||tr.noFallback||(ii=yu.times[an])==null&&(ii=yu.times.normal),ii},af=Bt.__private__.putInfo=function(){var ct=Dd(),an=function(_r){return _r};for(var tr in Ft!==null&&(an=dA.encryptor(ct,0)),Wn("<<"),Wn("/Producer ("+_f(an("jsPDF "+_s.version))+")"),vu)vu.hasOwnProperty(tr)&&vu[tr]&&Wn("/"+tr.substr(0,1).toUpperCase()+tr.substr(1)+" ("+_f(an(vu[tr]))+")");Wn("/CreationDate ("+_f(an(Fi))+")"),Wn(">>"),Wn("endobj")},p0=Bt.__private__.putCatalog=function(ct){var an=(ct=ct||{}).rootDictionaryObjId||f0;switch(Dd(),Wn("<<"),Wn("/Type /Catalog"),Wn("/Pages "+an+" 0 R"),il||(il="fullwidth"),il){case"fullwidth":Wn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Wn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Wn("/OpenAction [3 0 R /Fit]");break;case"original":Wn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var tr=""+il;tr.substr(tr.length-1)==="%"&&(il=parseInt(il)/100),typeof il=="number"&&Wn("/OpenAction [3 0 R /XYZ null null "+yn(il)+"]")}switch(Ou||(Ou="continuous"),Ou){case"continuous":Wn("/PageLayout /OneColumn");break;case"single":Wn("/PageLayout /SinglePage");break;case"two":case"twoleft":Wn("/PageLayout /TwoColumnLeft");break;case"tworight":Wn("/PageLayout /TwoColumnRight")}el&&Wn("/PageMode /"+el),fc.publish("putCatalog"),Wn(">>"),Wn("endobj")},bm=Bt.__private__.putTrailer=function(){Wn("trailer"),Wn("<<"),Wn("/Size "+(Xr+1)),Wn("/Root "+Xr+" 0 R"),Wn("/Info "+(Xr-1)+" 0 R"),Ft!==null&&Wn("/Encrypt "+dA.oid+" 0 R"),Wn("/ID [ <"+Ui+"> <"+Ui+"> ]"),Wn(">>")},Od=Bt.__private__.putHeader=function(){Wn("%PDF-"+zn),Wn("%\xBA\xDF\xAC\xE0")},eg=Bt.__private__.putXRef=function(){var ct="0000000000";Wn("xref"),Wn("0 "+(Xr+1)),Wn("0000000000 65535 f ");for(var an=1;an<=Xr;an++)typeof pi[an]=="function"?Wn((ct+pi[an]()).slice(-10)+" 00000 n "):pi[an]!==void 0?Wn((ct+pi[an]).slice(-10)+" 00000 n "):Wn("0000000000 00000 n ")},m0=Bt.__private__.buildDocument=function(){var ct;Xr=0,Ni=0,Di=[],pi=[],ba=[],f0=nc(),hh=nc(),zs(Di),fc.publish("buildDocument"),Od(),h0(),function(){fc.publish("putAdditionalObjects");for(var tr=0;tr<ba.length;tr++){var _r=ba[tr];Wc(_r.objId,!0),Wn(_r.content),Wn("endobj")}fc.publish("postPutAdditionalObjects")}(),ct=[],function(){for(var tr in pu)pu.hasOwnProperty(tr)&&(en===!1||en===!0&&sn.hasOwnProperty(tr))&&Op(pu[tr])}(),function(){var tr;for(tr in El)El.hasOwnProperty(tr)&&Ym(El[tr])}(),function(){for(var tr in cA)cA.hasOwnProperty(tr)&&Np(cA[tr])}(),function(tr){var _r;for(_r in Ws)Ws.hasOwnProperty(_r)&&(Ws[_r]instanceof s0?gm(Ws[_r]):Ws[_r]instanceof l0&&Pp(Ws[_r],tr))}(ct),fc.publish("putResources"),ct.forEach(Xm),Xm({resourcesOid:hh,objectOid:Number.MAX_SAFE_INTEGER}),fc.publish("postPutResources"),Ft!==null&&(dA.oid=Dd(),Wn("<<"),Wn("/Filter /Standard"),Wn("/V "+dA.v),Wn("/R "+dA.r),Wn("/U <"+dA.toHexString(dA.U)+">"),Wn("/O <"+dA.toHexString(dA.O)+">"),Wn("/P "+dA.P),Wn(">>"),Wn("endobj")),af(),p0();var an=Ni;return eg(),bm(),Wn("startxref"),Wn(""+an),Wn("%%EOF"),zs(co[or]),Di.join(`
`)},Rp=Bt.__private__.getBlob=function(ct){return new Blob([hu(ct)],{type:"application/pdf"})},Cg=Bt.output=Bt.__private__.output=(Vf=function(ct,an){switch(typeof(an=an||{})=="string"?an={filename:an}:an.filename=an.filename||"generated.pdf",ct){case void 0:return m0();case"save":Bt.save(an.filename);break;case"arraybuffer":return hu(m0());case"blob":return Rp(m0());case"bloburi":case"bloburl":if(Ps.URL!==void 0&&typeof Ps.URL.createObjectURL=="function")return Ps.URL&&Ps.URL.createObjectURL(Rp(m0()))||void 0;fu.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var tr="",_r=m0();try{tr=Ac(_r)}catch(Jd){tr=Ac(unescape(encodeURIComponent(_r)))}return"data:application/pdf;filename="+an.filename+";base64,"+tr;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ps)==="[object Window]"){var ii="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",da=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';an.pdfObjectUrl&&(ii=an.pdfObjectUrl,da="");var Qa='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+ii+'"'+da+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(an)+");<\/script></body></html>",xs=Ps.open();return xs!==null&&xs.document.write(Qa),xs}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Ps)==="[object Window]"){var Ds='<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>',Fl=Ps.open();if(Fl!==null){Fl.document.write(Ds);var Zl=this;Fl.document.documentElement.querySelector("#pdfViewer").onload=function(){Fl.document.title=an.filename,Fl.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Zl.output("bloburl"))}}return Fl}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Ps)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Cs='<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>',Sd=Ps.open();if(Sd!==null&&(Sd.document.write(Cs),Sd.document.title=an.filename),Sd||typeof safari=="undefined")return Sd;break;case"datauri":case"dataurl":return Ps.document.location.href=this.output("datauristring",an);default:return null}},Vf.foo=function(){try{return Vf.apply(this,arguments)}catch(tr){var ct=tr.stack||"";~ct.indexOf(" at ")&&(ct=ct.split(" at ")[1]);var an="Error in function "+ct.split(`
`)[0].split("<")[0]+": "+tr.message;if(!Ps.console)throw new Error(an);Ps.console.error(an,tr),Ps.alert&&alert(an)}},Vf.foo.bar=Vf,Vf.foo),of=function(ct){return Array.isArray(Lp)===!0&&Lp.indexOf(ct)>-1};switch(ce){case"pt":tu=1;break;case"mm":tu=72/25.4;break;case"cm":tu=72/2.54;break;case"in":tu=72;break;case"px":tu=of("px_scaling")==1?.75:96/72;break;case"pc":case"em":tu=12;break;case"ex":tu=6;break;default:if(typeof ce!="number")throw new Error("Invalid unit: "+ce);tu=ce}var dA=null;Ta(),xi();var g0=Bt.__private__.getPageInfo=Bt.getPageInfo=function(ct){if(isNaN(ct)||ct%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:al[ct].objId,pageNumber:ct,pageContext:al[ct]}},Bg=Bt.__private__.getPageInfoByObjId=function(ct){if(isNaN(ct)||ct%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var an in al)if(al[an].objId===ct)break;return g0(an)},wm=Bt.__private__.getCurrentPageInfo=Bt.getCurrentPageInfo=function(){return{objId:al[or].objId,pageNumber:or,pageContext:al[or]}};Bt.addPage=function(){return Jm.apply(this,arguments),this},Bt.setPage=function(){return vm.apply(this,arguments),zs.call(this,co[or]),this},Bt.insertPage=function(ct){return this.addPage(),this.movePage(or,ct),this},Bt.movePage=function(ct,an){var tr,_r;if(ct>an){tr=co[ct],_r=al[ct];for(var ii=ct;ii>an;ii--)co[ii]=co[ii-1],al[ii]=al[ii-1];co[an]=tr,al[an]=_r,this.setPage(an)}else if(ct<an){tr=co[ct],_r=al[ct];for(var da=ct;da<an;da++)co[da]=co[da+1],al[da]=al[da+1];co[an]=tr,al[an]=_r,this.setPage(an)}return this},Bt.deletePage=function(){return qm.apply(this,arguments),this},Bt.__private__.text=Bt.text=function(ct,an,tr,_r,ii){var da,Qa,xs,Ds,Fl,Zl,Cs,Sd,Jd,td=(_r=_r||{}).scope||this;if(typeof ct=="number"&&typeof an=="number"&&(typeof tr=="string"||Array.isArray(tr))){var Zc=tr;tr=an,an=ct,ct=Zc}if(arguments[3]instanceof pl==0?(xs=arguments[4],Ds=arguments[5],(0,he.Z)(Cs=arguments[3])==="object"&&Cs!==null||(typeof xs=="string"&&(Ds=xs,xs=null),typeof Cs=="string"&&(Ds=Cs,Cs=null),typeof Cs=="number"&&(xs=Cs,Cs=null),_r={flags:Cs,angle:xs,align:Ds})):(ur("The transform parameter of text() with a Matrix value"),Jd=ii),isNaN(an)||isNaN(tr)||ct==null)throw new Error("Invalid arguments passed to jsPDF.text");if(ct.length===0)return td;var qd,UA="",G0=typeof _r.lineHeightFactor=="number"?_r.lineHeightFactor:Hp,zh=td.internal.scaleFactor;function Yl(Cc){return Cc=Cc.split(" ").join(Array(_r.TabLen||9).join(" ")),_f(Cc,Cs)}function Wh(Cc){for(var Vc,Wd=Cc.concat(),AA=[],J0=Wd.length;J0--;)typeof(Vc=Wd.shift())=="string"?AA.push(Vc):Array.isArray(Cc)&&(Vc.length===1||Vc[1]===void 0&&Vc[2]===void 0)?AA.push(Vc[0]):AA.push([Vc[0],Vc[1],Vc[2]]);return AA}function Zh(Cc,Vc){var Wd;if(typeof Cc=="string")Wd=Vc(Cc)[0];else if(Array.isArray(Cc)){for(var AA,J0,sg=Cc.concat(),bh=[],Lg=sg.length;Lg--;)typeof(AA=sg.shift())=="string"?bh.push(Vc(AA)[0]):Array.isArray(AA)&&typeof AA[0]=="string"&&(J0=Vc(AA[0],AA[1],AA[2]),bh.push([J0[0],J0[1],J0[2]]));Wd=bh}return Wd}var w0=!1,mh=!0;if(typeof ct=="string")w0=!0;else if(Array.isArray(ct)){var Y0=ct.concat();Qa=[];for(var fp,zd=Y0.length;zd--;)(typeof(fp=Y0.shift())!="string"||Array.isArray(fp)&&typeof fp[0]!="string")&&(mh=!1);w0=mh}if(w0===!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 zp=ao/td.internal.scaleFactor,hp=zp*(G0-1);switch(_r.baseline){case"bottom":tr-=hp;break;case"top":tr+=zp-hp;break;case"hanging":tr+=zp-2*hp;break;case"middle":tr+=zp/2-hp}if((Zl=_r.maxWidth||0)>0&&(typeof ct=="string"?ct=td.splitTextToSize(ct,Zl):Object.prototype.toString.call(ct)==="[object Array]"&&(ct=ct.reduce(function(Cc,Vc){return Cc.concat(td.splitTextToSize(Vc,Zl))},[]))),da={text:ct,x:an,y:tr,options:_r,mutex:{pdfEscape:_f,activeFontKey:Ls,fonts:pu,activeFontSize:ao}},fc.publish("preProcessText",da),ct=da.text,xs=(_r=da.options).angle,Jd instanceof pl==0&&xs&&typeof xs=="number"){xs*=Math.PI/180,_r.rotationDirection===0&&(xs=-xs),sr===xr&&(xs=-xs);var ag=Math.cos(xs),Nl=Math.sin(xs);Jd=new pl(ag,Nl,-Nl,ag,0,0)}else xs&&xs instanceof pl&&(Jd=xs);sr!==xr||Jd||(Jd=K0),(Fl=_r.charSpace||v0)!==void 0&&(UA+=zr(Mr(Fl))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(Sd=_r.horizontalScale)!==void 0&&(UA+=zr(100*Sd)+` Tz
`),_r.lang;var $d=-1,Xf=_r.renderingMode!==void 0?_r.renderingMode:_r.stroke,x0=td.internal.getCurrentPageInfo().pageContext;switch(Xf){case 0:case!1:case"fill":$d=0;break;case 1:case!0:case"stroke":$d=1;break;case 2:case"fillThenStroke":$d=2;break;case 3:case"invisible":$d=3;break;case 4:case"fillAndAddForClipping":$d=4;break;case 5:case"strokeAndAddPathForClipping":$d=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":$d=6;break;case 7:case"addToPathForClipping":$d=7}var _g=x0.usedRenderingMode!==void 0?x0.usedRenderingMode:-1;$d!==-1?UA+=$d+` Tr
`:_g!==-1&&(UA+=`0 Tr
`),$d!==-1&&(x0.usedRenderingMode=$d),Ds=_r.align||"left";var ju,Wp=ao*G0,pd=td.internal.pageSize.getWidth(),Mg=pu[Ls];Fl=_r.charSpace||v0,Zl=_r.maxWidth||0,Cs=Object.assign({autoencode:!0,noBOM:!0},_r.flags);var pp=[],Zp=function(Cc){return td.getStringUnitWidth(Cc,{font:Mg,charSpace:Fl,fontSize:ao,doKerning:!1})*ao/zh};if(Object.prototype.toString.call(ct)==="[object Array]"){var sf;Qa=Wh(ct),Ds!=="left"&&(ju=Qa.map(Zp));var Jf,Vp=0;if(Ds==="right"){an-=ju[0],ct=[],zd=Qa.length;for(var mp=0;mp<zd;mp++)mp===0?(Jf=jh(an),sf=Kh(tr)):(Jf=Mr(Vp-ju[mp]),sf=-Wp),ct.push([Qa[mp],Jf,sf]),Vp=ju[mp]}else if(Ds==="center"){an-=ju[0]/2,ct=[],zd=Qa.length;for(var C0=0;C0<zd;C0++)C0===0?(Jf=jh(an),sf=Kh(tr)):(Jf=Mr((Vp-ju[C0])/2),sf=-Wp),ct.push([Qa[C0],Jf,sf]),Vp=ju[C0]}else if(Ds==="left"){ct=[],zd=Qa.length;for(var B0=0;B0<zd;B0++)ct.push(Qa[B0])}else if(Ds==="justify"&&Mg.encoding==="Identity-H"){ct=[],zd=Qa.length,Zl=Zl!==0?Zl:pd;for(var km=0,Ed=0;Ed<zd;Ed++)if(sf=Ed===0?Kh(tr):-Wp,Jf=Ed===0?jh(an):km,Ed<zd-1){var Ig=Mr((Zl-ju[Ed])/(Qa[Ed].split(" ").length-1)),gh=Qa[Ed].split(" ");ct.push([gh[0]+" ",Jf,sf]),km=0;for(var vh=1;vh<gh.length;vh++){var Gp=(Zp(gh[vh-1]+" "+gh[vh])-Zp(gh[vh]))*zh+Ig;vh==gh.length-1?ct.push([gh[vh],Gp,0]):ct.push([gh[vh]+" ",Gp,0]),km-=Gp}}else ct.push([Qa[Ed],Jf,sf]);ct.push(["",km,0])}else{if(Ds!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(ct=[],zd=Qa.length,Zl=Zl!==0?Zl:pd,Ed=0;Ed<zd;Ed++){sf=Ed===0?Kh(tr):-Wp,Jf=Ed===0?jh(an):0;var _m=Qa[Ed].split(" ").length-1,og=_m>0?(Zl-ju[Ed])/_m:0;Ed<zd-1?pp.push(zr(Mr(og))):pp.push(0),ct.push([Qa[Ed],Jf,sf])}}}(typeof _r.R2L=="boolean"?_r.R2L:Hs)===!0&&(ct=Zh(ct,function(Cc,Vc,Wd){return[Cc.split("").reverse().join(""),Vc,Wd]})),da={text:ct,x:an,y:tr,options:_r,mutex:{pdfEscape:_f,activeFontKey:Ls,fonts:pu,activeFontSize:ao}},fc.publish("postProcessText",da),ct=da.text,qd=da.mutex.isHex||!1;var Mm=pu[Ls].encoding;Mm!=="WinAnsiEncoding"&&Mm!=="StandardEncoding"||(ct=Zh(ct,function(Cc,Vc,Wd){return[Yl(Cc),Vc,Wd]})),Qa=Wh(ct),ct=[];for(var X0,gp,Ku,vp=Array.isArray(Qa[0])?1:0,yp="",Yp=function(Cc,Vc,Wd){var AA="";return Wd instanceof pl?(Wd=typeof _r.angle=="number"?j0(Wd,new pl(1,0,0,1,Cc,Vc)):j0(new pl(1,0,0,1,Cc,Vc),Wd),sr===xr&&(Wd=j0(new pl(1,0,0,-1,0,0),Wd)),AA=Wd.join(" ")+` Tm
`):AA=zr(Cc)+" "+zr(Vc)+` Td
`,AA},yh=0;yh<Qa.length;yh++){switch(yp="",vp){case 1:Ku=(qd?"<":"(")+Qa[yh][0]+(qd?">":")"),X0=parseFloat(Qa[yh][1]),gp=parseFloat(Qa[yh][2]);break;case 0:Ku=(qd?"<":"(")+Qa[yh]+(qd?">":")"),X0=jh(an),gp=Kh(tr)}pp!==void 0&&pp[yh]!==void 0&&(yp=pp[yh]+` Tw
`),yh===0?ct.push(yp+Yp(X0,gp,Jd)+Ku):vp===0?ct.push(yp+Ku):vp===1&&ct.push(yp+Yp(X0,gp,Jd)+Ku)}ct=vp===0?ct.join(` Tj
T* `):ct.join(` Tj
`),ct+=` Tj
`;var S0=`BT
/`;return S0+=Ls+" "+ao+` Tf
`,S0+=zr(ao*G0)+` TL
`,S0+=Qp+`
`,S0+=UA,S0+=ct,Wn(S0+="ET"),sn[Ls]=!0,td};var Xg=Bt.__private__.clip=Bt.clip=function(ct){return Wn(ct==="evenodd"?"W*":"W"),this};Bt.clipEvenOdd=function(){return Xg("evenodd")},Bt.__private__.discardPath=Bt.discardPath=function(){return Wn("n"),this};var Hh=Bt.__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};Bt.__private__.setDefaultPathOperation=Bt.setDefaultPathOperation=function(ct){return Hh(ct)&&(At=ct),this};var Sg=Bt.__private__.getStyle=Bt.getStyle=function(ct){var an=At;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=Bt.close=function(){return Wn("h"),this};Bt.stroke=function(){return Wn("S"),this},Bt.fill=function(ct){return Af("f",ct),this},Bt.fillEvenOdd=function(ct){return Af("f*",ct),this},Bt.fillStroke=function(ct){return Af("B",ct),this},Bt.fillStrokeEvenOdd=function(ct){return Af("B*",ct),this};var Af=function(ct,an){(0,he.Z)(an)==="object"?hd(an,ct):Wn(ct)},Qu=function(ct){ct===null||sr===xr&&ct===void 0||(ct=Sg(ct),Wn(ct))};function RA(ct,an,tr,_r,ii){var da=new l0(an||this.boundingBox,tr||this.xStep,_r||this.yStep,this.gState,ii||this.matrix);da.stream=this.stream;var Qa=ct+"$$"+this.cloneIndex+++"$$";return Zf(Qa,da),da}var hd=function(ct,an){var tr=zc[ct.key],_r=Ws[tr];if(_r instanceof s0)Wn("q"),Wn(xm(an)),_r.gState&&Bt.setGState(_r.gState),Wn(ct.matrix.toString()+" cm"),Wn("/"+tr+" sh"),Wn("Q");else if(_r instanceof l0){var ii=new pl(1,0,0,-1,0,Ap());ct.matrix&&(ii=ii.multiply(ct.matrix||K0),tr=RA.call(_r,ct.key,ct.boundingBox,ct.xStep,ct.yStep,ii).id),Wn("q"),Wn("/Pattern cs"),Wn("/"+tr+" scn"),_r.gState&&Bt.setGState(_r.gState),Wn(an),Wn("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=Bt.moveTo=function(ct,an){return Wn(zr(Mr(ct))+" "+zr(Br(an))+" m"),this},Up=Bt.lineTo=function(ct,an){return Wn(zr(Mr(ct))+" "+zr(Br(an))+" l"),this},Qh=Bt.curveTo=function(ct,an,tr,_r,ii,da){return Wn([zr(Mr(ct)),zr(Br(an)),zr(Mr(tr)),zr(Br(_r)),zr(Mr(ii)),zr(Br(da)),"c"].join(" ")),this};Bt.__private__.line=Bt.line=function(ct,an,tr,_r,ii){if(isNaN(ct)||isNaN(an)||isNaN(tr)||isNaN(_r)||!Hh(ii))throw new Error("Invalid arguments passed to jsPDF.line");return sr===Lr?this.lines([[tr-ct,_r-an]],ct,an,[1,1],ii||"S"):this.lines([[tr-ct,_r-an]],ct,an,[1,1]).stroke()},Bt.__private__.lines=Bt.lines=function(ct,an,tr,_r,ii,da){var Qa,xs,Ds,Fl,Zl,Cs,Sd,Jd,td,Zc,qd,UA;if(typeof ct=="number"&&(UA=tr,tr=an,an=ct,ct=UA),_r=_r||[1,1],da=da||!1,isNaN(an)||isNaN(tr)||!Array.isArray(ct)||!Array.isArray(_r)||!Hh(ii)||typeof da!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Cm(an,tr),Qa=_r[0],xs=_r[1],Fl=ct.length,Zc=an,qd=tr,Ds=0;Ds<Fl;Ds++)(Zl=ct[Ds]).length===2?(Zc=Zl[0]*Qa+Zc,qd=Zl[1]*xs+qd,Up(Zc,qd)):(Cs=Zl[0]*Qa+Zc,Sd=Zl[1]*xs+qd,Jd=Zl[2]*Qa+Zc,td=Zl[3]*xs+qd,Zc=Zl[4]*Qa+Zc,qd=Zl[5]*xs+qd,Qh(Cs,Sd,Jd,td,Zc,qd));return da&&Eg(),Qu(ii),this},Bt.path=function(ct){for(var an=0;an<ct.length;an++){var tr=ct[an],_r=tr.c;switch(tr.op){case"m":Cm(_r[0],_r[1]);break;case"l":Up(_r[0],_r[1]);break;case"c":Qh.apply(this,_r);break;case"h":Eg()}}return this},Bt.__private__.rect=Bt.rect=function(ct,an,tr,_r,ii){if(isNaN(ct)||isNaN(an)||isNaN(tr)||isNaN(_r)||!Hh(ii))throw new Error("Invalid arguments passed to jsPDF.rect");return sr===Lr&&(_r=-_r),Wn([zr(Mr(ct)),zr(Br(an)),zr(Mr(tr)),zr(Mr(_r)),"re"].join(" ")),Qu(ii),this},Bt.__private__.triangle=Bt.triangle=function(ct,an,tr,_r,ii,da,Qa){if(isNaN(ct)||isNaN(an)||isNaN(tr)||isNaN(_r)||isNaN(ii)||isNaN(da)||!Hh(Qa))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[tr-ct,_r-an],[ii-tr,da-_r],[ct-ii,an-da]],ct,an,[1,1],Qa,!0),this},Bt.__private__.roundedRect=Bt.roundedRect=function(ct,an,tr,_r,ii,da,Qa){if(isNaN(ct)||isNaN(an)||isNaN(tr)||isNaN(_r)||isNaN(ii)||isNaN(da)||!Hh(Qa))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var xs=4/3*(Math.SQRT2-1);return ii=Math.min(ii,.5*tr),da=Math.min(da,.5*_r),this.lines([[tr-2*ii,0],[ii*xs,0,ii,da-da*xs,ii,da],[0,_r-2*da],[0,da*xs,-ii*xs,da,-ii,da],[2*ii-tr,0],[-ii*xs,0,-ii,-da*xs,-ii,-da],[0,2*da-_r],[0,-da*xs,ii*xs,-da,ii,-da]],ct+ii,an,[1,1],Qa,!0),this},Bt.__private__.ellipse=Bt.ellipse=function(ct,an,tr,_r,ii){if(isNaN(ct)||isNaN(an)||isNaN(tr)||isNaN(_r)||!Hh(ii))throw new Error("Invalid arguments passed to jsPDF.ellipse");var da=4/3*(Math.SQRT2-1)*tr,Qa=4/3*(Math.SQRT2-1)*_r;return Cm(ct+tr,an),Qh(ct+tr,an-Qa,ct+da,an-_r,ct,an-_r),Qh(ct-da,an-_r,ct-tr,an-Qa,ct-tr,an),Qh(ct-tr,an+Qa,ct-da,an+_r,ct,an+_r),Qh(ct+da,an+_r,ct+tr,an+Qa,ct+tr,an),Qu(ii),this},Bt.__private__.circle=Bt.circle=function(ct,an,tr,_r){if(isNaN(ct)||isNaN(an)||isNaN(tr)||!Hh(_r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(ct,an,tr,tr,_r)},Bt.setFont=function(ct,an,tr){return tr&&(an=Qi(an,tr)),Ls=$m(ct,an,{disableWarning:!1}),this};var Jg=Bt.__private__.getFont=Bt.getFont=function(){return pu[$m.apply(Bt,arguments)]};Bt.__private__.getFontList=Bt.getFontList=function(){var ct,an,tr={};for(ct in yu)if(yu.hasOwnProperty(ct))for(an in tr[ct]=[],yu[ct])yu[ct].hasOwnProperty(an)&&tr[ct].push(an);return tr},Bt.addFont=function(ct,an,tr,_r,ii){var da=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&da.indexOf(arguments[3])!==-1?ii=arguments[3]:arguments[3]&&da.indexOf(arguments[3])==-1&&(tr=Qi(tr,_r)),xg.call(this,ct,an,tr,ii=ii||"Identity-H")};var Hp,Bm=E.lineWidth||.200025,qg=Bt.__private__.getLineWidth=Bt.getLineWidth=function(){return Bm},Wl=Bt.__private__.setLineWidth=Bt.setLineWidth=function(ct){return Bm=ct,Wn(zr(Mr(ct))+" w"),this};Bt.__private__.setLineDash=_s.API.setLineDash=_s.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(tr){return zr(Mr(tr))}).join(" "),an=zr(Mr(an)),Wn("["+ct+"] "+an+" d"),this};var $g=Bt.__private__.getLineHeight=Bt.getLineHeight=function(){return ao*Hp};Bt.__private__.getLineHeight=Bt.getLineHeight=function(){return ao*Hp};var ev=Bt.__private__.setLineHeightFactor=Bt.setLineHeightFactor=function(ct){return typeof(ct=ct||1.15)=="number"&&(Hp=ct),this},tv=Bt.__private__.getLineHeightFactor=Bt.getLineHeightFactor=function(){return Hp};ev(E.lineHeight);var jh=Bt.__private__.getHorizontalCoordinate=function(ct){return Mr(ct)},Kh=Bt.__private__.getVerticalCoordinate=function(ct){return sr===xr?ct:al[or].mediaBox.topRightY-al[or].mediaBox.bottomLeftY-Mr(ct)},nv=Bt.__private__.getHorizontalCoordinateString=Bt.getHorizontalCoordinateString=function(ct){return zr(jh(ct))},tg=Bt.__private__.getVerticalCoordinateString=Bt.getVerticalCoordinateString=function(ct){return zr(Kh(ct))},Sm=E.strokeColor||"0 G";Bt.__private__.getStrokeColor=Bt.getDrawColor=function(){return Gf(Sm)},Bt.__private__.setStrokeColor=Bt.setDrawColor=function(ct,an,tr,_r){return Sm=TA({ch1:ct,ch2:an,ch3:tr,ch4:_r,pdfColorType:"draw",precision:2}),Wn(Sm),this};var dp=E.fillColor||"0 g";Bt.__private__.getFillColor=Bt.getFillColor=function(){return Gf(dp)},Bt.__private__.setFillColor=Bt.setFillColor=function(ct,an,tr,_r){return dp=TA({ch1:ct,ch2:an,ch3:tr,ch4:_r,pdfColorType:"fill",precision:2}),Wn(dp),this};var Qp=E.textColor||"0 g",rv=Bt.__private__.getTextColor=Bt.getTextColor=function(){return Gf(Qp)};Bt.__private__.setTextColor=Bt.setTextColor=function(ct,an,tr,_r){return Qp=TA({ch1:ct,ch2:an,ch3:tr,ch4:_r,pdfColorType:"text",precision:3}),this};var v0=E.charSpace,Fg=Bt.__private__.getCharSpace=Bt.getCharSpace=function(){return parseFloat(v0||0)};Bt.__private__.setCharSpace=Bt.setCharSpace=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return v0=ct,this};var jp=0;Bt.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},Bt.__private__.setLineCap=Bt.setLineCap=function(ct){var an=Bt.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 jp=an,Wn(an+" J"),this};var ng=0;Bt.__private__.setLineJoin=Bt.setLineJoin=function(ct){var an=Bt.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,Wn(an+" j"),this},Bt.__private__.setLineMiterLimit=Bt.__private__.setMiterLimit=Bt.setLineMiterLimit=Bt.setMiterLimit=function(ct){if(ct=ct||0,isNaN(ct))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Wn(zr(Mr(ct))+" M"),this},Bt.GState=Fp,Bt.setGState=function(ct){(ct=typeof ct=="string"?El[zl[ct]]:kg(null,ct)).equals(Ic)||(Wn("/"+ct.id+" gs"),Ic=ct)};var kg=function(ct,an){if(!ct||!zl[ct]){var tr=!1;for(var _r in El)if(El.hasOwnProperty(_r)&&El[_r].equals(an)){tr=!0;break}if(tr)an=El[_r];else{var ii="GS"+(Object.keys(El).length+1).toString(10);El[ii]=an,an.id=ii}return ct&&(zl[ct]=an.id),fc.publish("addGState",an),an}};Bt.addGState=function(ct,an){return kg(ct,an),this},Bt.saveGraphicsState=function(){return Wn("q"),fd.push({key:Ls,size:ao,color:Qp}),this},Bt.restoreGraphicsState=function(){Wn("Q");var ct=fd.pop();return Ls=ct.key,ao=ct.size,Qp=ct.color,Ic=null,this},Bt.setCurrentTransformationMatrix=function(ct){return Wn(ct.toString()+" cm"),this},Bt.comment=function(ct){return Wn("#"+ct),this};var z0=function(ct,an){var tr=ct||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return tr},set:function(da){isNaN(da)||(tr=parseFloat(da))}});var _r=an||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return _r},set:function(da){isNaN(da)||(_r=parseFloat(da))}});var ii="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ii},set:function(da){ii=da.toString()}}),this},y0=function(ct,an,tr,_r){z0.call(this,ct,an),this.type="rect";var ii=tr||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ii},set:function(Qa){isNaN(Qa)||(ii=parseFloat(Qa))}});var da=_r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return da},set:function(Qa){isNaN(Qa)||(da=parseFloat(Qa))}}),this},ff=function(){this.page=Ol,this.currentPage=or,this.pages=co.slice(0),this.pagesContext=al.slice(0),this.x=Qs,this.y=Kd,this.matrix=Ju,this.width=Em(or),this.height=rg(or),this.outputDestination=Ko,this.id="",this.objectNumber=-1};ff.prototype.restore=function(){Ol=this.page,or=this.currentPage,al=this.pagesContext,co=this.pages,Qs=this.x,Kd=this.y,Ju=this.matrix,Fm(or,this.width),b0(or,this.height),Ko=this.outputDestination};var Kp=function(ct,an,tr,_r,ii){d0.push(new ff),Ol=or=0,co=[],Qs=ct,Kd=an,Ju=ii,Tp([tr,_r])};for(var W0 in Bt.beginFormObject=function(ct,an,tr,_r,ii){return Kp(ct,an,tr,_r,ii),this},Bt.endFormObject=function(ct){return function(an){if(Q0[an])d0.pop().restore();else{var tr=new ff,_r="Xo"+(Object.keys(cA).length+1).toString(10);tr.id=_r,Q0[an]=_r,cA[_r]=tr,fc.publish("addFormObject",tr),d0.pop().restore()}}(ct),this},Bt.doFormObject=function(ct,an){var tr=cA[Q0[ct]];return Wn("q"),Wn(an.toString()+" cm"),Wn("/"+tr.id+" Do"),Wn("Q"),this},Bt.getFormObject=function(ct){var an=cA[Q0[ct]];return{x:an.x,y:an.y,width:an.width,height:an.height,matrix:an.matrix}},Bt.save=function(ct,an){return ct=ct||"generated.pdf",(an=an||{}).returnPromise=an.returnPromise||!1,an.returnPromise===!1?(Ph(Rp(m0()),ct),typeof Ph.unload=="function"&&Ps.setTimeout&&setTimeout(Ph.unload,911),this):new Promise(function(tr,_r){try{var ii=Ph(Rp(m0()),ct);typeof Ph.unload=="function"&&Ps.setTimeout&&setTimeout(Ph.unload,911),tr(ii)}catch(da){_r(da.message)}})},_s.API)_s.API.hasOwnProperty(W0)&&(W0==="events"&&_s.API.events.length?function(ct,an){var tr,_r,ii;for(ii=an.length-1;ii!==-1;ii--)tr=an[ii][0],_r=an[ii][1],ct.subscribe.apply(ct,[tr].concat(typeof _r=="function"?[_r]:_r))}(fc,_s.API.events):Bt[W0]=_s.API[W0]);function Em(ct){return al[ct].mediaBox.topRightX-al[ct].mediaBox.bottomLeftX}function Fm(ct,an){al[ct].mediaBox.topRightX=an+al[ct].mediaBox.bottomLeftX}function rg(ct){return al[ct].mediaBox.topRightY-al[ct].mediaBox.bottomLeftY}function b0(ct,an){al[ct].mediaBox.topRightY=an+al[ct].mediaBox.bottomLeftY}var Z0=Bt.getPageWidth=function(ct){return Em(ct=ct||or)/tu},V0=Bt.setPageWidth=function(ct,an){Fm(ct,an*tu)},Ap=Bt.getPageHeight=function(ct){return rg(ct=ct||or)/tu},ig=Bt.setPageHeight=function(ct,an){b0(ct,an*tu)};return Bt.internal={pdfEscape:_f,getStyle:Sg,getFont:Jg,getFontSize:qo,getCharSpace:Fg,getTextColor:rv,getLineHeight:$g,getLineHeightFactor:tv,getLineWidth:qg,write:Yo,getHorizontalCoordinate:jh,getVerticalCoordinate:Kh,getCoordinateString:nv,getVerticalCoordinateString:tg,collections:{},newObject:Dd,newAdditionalObject:A0,newObjectDeferred:nc,newObjectDeferredBegin:Wc,getFilters:Yf,putStream:ph,events:fc,scaleFactor:tu,pageSize:{getWidth:function(){return Z0(or)},setWidth:function(ct){V0(or,ct)},getHeight:function(){return Ap(or)},setHeight:function(ct){ig(or,ct)}},encryptionOptions:Ft,encryption:dA,getEncryptor:function(ct){return Ft!==null?dA.encryptor(ct,0):function(an){return an}},output:Cg,getNumberOfPages:ym,get pages(){return co},out:Wn,f2:yn,f3:qn,getPageInfo:g0,getPageInfoByObjId:Bg,getCurrentPageInfo:wm,getPDFVersion:Nn,Point:z0,Rectangle:y0,Matrix:pl,hasHotfix:of},Object.defineProperty(Bt.internal.pageSize,"width",{get:function(){return Z0(or)},set:function(ct){V0(or,ct)},enumerable:!0,configurable:!0}),Object.defineProperty(Bt.internal.pageSize,"height",{get:function(){return Ap(or)},set:function(ct){ig(or,ct)},enumerable:!0,configurable:!0}),function(ct){for(var an=0,tr=hl.length;an<tr;an++){var _r=xg.call(this,ct[an][0],ct[an][1],ct[an][2],hl[an][3],!0);en===!1&&(sn[_r]=!0);var ii=ct[an][0].split("-");wg({id:_r,fontName:ii[0],fontStyle:ii[1]||""})}fc.publish("addFonts",{fonts:pu,dictionary:yu})}.call(Bt,hl),Ls="F1",Jm(ge,te),fc.publish("initialized"),Bt}dh.prototype.lsbFirstWord=function(E){return String.fromCharCode(255&E,E>>8&255,E>>16&255,E>>24&255)},dh.prototype.toHexString=function(E){return E.split("").map(function(ne){return("0"+(255&ne.charCodeAt(0)).toString(16)).slice(-2)}).join("")},dh.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("")},dh.prototype.processOwnerPassword=function(E,ne){return jd(U0(ne).substr(0,5),E)},dh.prototype.encryptor=function(E,ne){var te=U0(this.encryptionKey+String.fromCharCode(255&E,E>>8&255,E>>16&255,255&ne,ne>>8&255)).substr(0,10);return function(ce){return jd(te,ce)}},Fp.prototype.equals=function(E){var ne,te="id,objectNumber,equals";if(!E||(0,he.Z)(E)!==(0,he.Z)(this))return!1;var ce=0;for(ne in this)if(!(te.indexOf(ne)>=0)){if(this.hasOwnProperty(ne)&&!E.hasOwnProperty(ne)||this[ne]!==E[ne])return!1;ce++}for(ne in E)E.hasOwnProperty(ne)&&te.indexOf(ne)<0&&ce--;return ce===0},_s.API={events:[]},_s.version="3.0.4";var Uc=_s.API,H0=1,Th=function(E){return E.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ef=function(E){return E.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},rl=function(E){return E.toFixed(2)},u0=function(E){return E.toFixed(5)};Uc.__acroform__={};var OA=function(E,ne){E.prototype=Object.create(ne.prototype),E.prototype.constructor=E},pm=function(E){return E*H0},Hf=function(E){var ne=new Xi,te=Eo.internal.getHeight(E)||0,ce=Eo.internal.getWidth(E)||0;return ne.BBox=[0,0,Number(rl(ce)),Number(rl(te))],ne},Qg=Uc.__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},jg=Uc.__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)},Kg=Uc.__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},Bd=Uc.__acroform__.getBitForPdf=function(E,ne){if(isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Kg(E,ne-1)},Ee=Uc.__acroform__.setBitForPdf=function(E,ne){if(isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Qg(E,ne-1)},be=Uc.__acroform__.clearBitForPdf=function(E,ne){if(isNaN(E)||isNaN(ne))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return jg(E,ne-1)},De=Uc.__acroform__.calculateCoordinates=function(E,ne){var te=ne.internal.getHorizontalCoordinate,ce=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=ce(Ce+Ge)||0,ot.upperRight_X=te(ge+nt)||0,ot.upperRight_Y=ce(Ce)||0,[Number(rl(ot.lowerLeft_X)),Number(rl(ot.lowerLeft_Y)),Number(rl(ot.upperRight_X)),Number(rl(ot.upperRight_Y))]},Ie=function(E){if(E.appearanceStreamContent)return E.appearanceStreamContent;if(E.V||E.DV){var ne=[],te=E._V||E.DV,ce=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+" "+rl(ce.fontSize)+" Tf"),ne.push("1 0 0 1 0 0 Tm"),ne.push(ce.text),ne.push("ET"),ne.push("Q"),ne.push("EMC");var Ce=Hf(E);return Ce.scope=E.scope,Ce.stream=ne.join(`
`),Ce}},yt=function(E,ne){var te=E.fontSize===0?E.maxFontSize:E.fontSize,ce={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=Eo.internal.getHeight(E)||0;nt=nt<0?-nt:nt;var Ge=Eo.internal.getWidth(E)||0;Ge=Ge<0?-Ge:Ge;var ot=function(yn,qn,Mr){if(yn+1<ge.length){var Br=qn+" "+ge[yn+1][0];return zt(Br,E,Mr).width<=Ge-4}return!1};Ce++;e:for(;Ce>0;){ne="",Ce--;var At,Ft,en=zt("3",E,Ce).height,sn=E.multiline?nt-Ce:(nt-en)/2,Bt=sn+=2,zn=0,Nn=0,Yn=0;if(Ce<=0){ne=`(...) Tj
`,ne+="% Width of Text: "+zt(ne,E,Ce=12).width+", FieldWidth:"+Ge+`
`;break}for(var xn="",Lr=0,xr=0;xr<ge.length;xr++)if(ge.hasOwnProperty(xr)){var sr=!1;if(ge[xr].length!==1&&Yn!==ge[xr].length-1){if((en+2)*(Lr+2)+2>nt)continue e;xn+=ge[xr][Yn],sr=!0,Nn=xr,xr--}else{xn=(xn+=ge[xr][Yn]+" ").substr(xn.length-1)==" "?xn.substr(0,xn.length-1):xn;var wi=parseInt(xr),qi=ot(wi,xn,Ce),Qi=xr>=ge.length-1;if(qi&&!Qi){xn+=" ",Yn=0;continue}if(qi||Qi){if(Qi)Nn=wi;else if(E.multiline&&(en+2)*(Lr+2)+2>nt)continue e}else{if(!E.multiline||(en+2)*(Lr+2)+2>nt)continue e;Nn=wi}}for(var zr="",ur=zn;ur<=Nn;ur++){var ci=ge[ur];if(E.multiline){if(ur===Nn){zr+=ci[Yn]+" ",Yn=(Yn+1)%ci.length;continue}if(ur===zn){zr+=ci[ci.length-1]+" ";continue}}zr+=ci[0]+" "}switch(zr=zr.substr(zr.length-1)==" "?zr.substr(0,zr.length-1):zr,Ft=zt(zr,E,Ce).width,E.textAlign){case"right":At=Ge-Ft-2;break;case"center":At=(Ge-Ft)/2;break;default:At=2}ne+=rl(At)+" "+rl(Bt)+` Td
`,ne+="("+Th(zr)+`) Tj
`,ne+=-rl(At)+` 0 Td
`,Bt=-(Ce+2),Ft=0,zn=sr?Nn:Nn+1,Lr++,xn=""}break}return ce.text=ne,ce.fontSize=Ce,ce},zt=function(E,ne,te){var ce=ne.scope.internal.getFont(ne.fontName,ne.fontStyle),ge=ne.scope.getStringUnitWidth(E,{font:ce,fontSize:parseFloat(te),charSpace:0})*parseFloat(te);return{height:ne.scope.getStringUnitWidth("3",{font:ce,fontSize:parseFloat(te),charSpace:0})*parseFloat(te)*1.5,width:ge}},un={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Un=function(E,ne){var te={type:"reference",object:E};ne.internal.getPageInfo(E.page).pageContext.annotations.find(function(ce){return ce.type===te.type&&ce.object===te.object})===void 0&&ne.internal.getPageInfo(E.page).pageContext.annotations.push(te)},Hn=function(E,ne){if(ne.scope=E,E.internal!==void 0&&(E.internal.acroformPlugin===void 0||E.internal.acroformPlugin.isInitialized===!1)){if(io.FieldNum=0,E.internal.acroformPlugin=JSON.parse(JSON.stringify(un)),E.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");H0=E.internal.scaleFactor,E.internal.acroformPlugin.acroFormDictionaryRoot=new ts,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 ce=te.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var ge in ce)if(ce.hasOwnProperty(ge)){var Ce=ce[ge];Ce.objId=void 0,Ce.hasAnnotation&&Un(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(ce,ge){var Ce=!ce;for(var nt in ce||(ge.internal.newObjectDeferredBegin(ge.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),ge.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),ce=ce||ge.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(ce.hasOwnProperty(nt)){var Ge=ce[nt],ot=[],At=Ge.Rect;if(Ge.Rect&&(Ge.Rect=De(Ge.Rect,ge)),ge.internal.newObjectDeferredBegin(Ge.objId,!0),Ge.DA=Eo.createDefaultAppearanceStream(Ge),(0,he.Z)(Ge)==="object"&&typeof Ge.getKeyValueListForStream=="function"&&(ot=Ge.getKeyValueListForStream()),Ge.Rect=At,Ge.hasAppearanceStream&&!Ge.appearanceStreamContent){var Ft=Ie(Ge);ot.push({key:"AP",value:"<</N "+Ft+">>"}),ge.internal.acroformPlugin.xForms.push(Ft)}if(Ge.appearanceStreamContent){var en="";for(var sn in Ge.appearanceStreamContent)if(Ge.appearanceStreamContent.hasOwnProperty(sn)){var Bt=Ge.appearanceStreamContent[sn];if(en+="/"+sn+" ",en+="<<",Object.keys(Bt).length>=1||Array.isArray(Bt)){for(var nt in Bt)if(Bt.hasOwnProperty(nt)){var zn=Bt[nt];typeof zn=="function"&&(zn=zn.call(ge,Ge)),en+="/"+nt+" "+zn+" ",ge.internal.acroformPlugin.xForms.indexOf(zn)>=0||ge.internal.acroformPlugin.xForms.push(zn)}}else typeof(zn=Bt)=="function"&&(zn=zn.call(ge,Ge)),en+="/"+nt+" "+zn,ge.internal.acroformPlugin.xForms.indexOf(zn)>=0||ge.internal.acroformPlugin.xForms.push(zn);en+=">>"}ot.push({key:"AP",value:`<<
`+en+">>"})}ge.internal.putStream({additionalKeyValues:ot,objectId:Ge.objId}),ge.internal.out("endobj")}Ce&&function(Nn,Yn){for(var xn in Nn)if(Nn.hasOwnProperty(xn)){var Lr=xn,xr=Nn[xn];Yn.internal.newObjectDeferredBegin(xr.objId,!0),(0,he.Z)(xr)==="object"&&typeof xr.putStream=="function"&&xr.putStream(),delete Nn[Lr]}}(ge.internal.acroformPlugin.xForms,ge)})(te,E)}),E.internal.acroformPlugin.isInitialized=!0}},Hr=Uc.__acroform__.arrayToPdfArray=function(E,ne,te){var ce=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&&(ce=te.internal.getEncryptor(ne)),ge+="("+Th(ce(E[Ce].toString()))+")"):ge+=E[Ce].toString()}return ge+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Gr=function(E,ne,te){var ce=function(ge){return ge};return ne!==void 0&&te&&(ce=te.internal.getEncryptor(ne)),(E=E||"").toString(),"("+Th(ce(E))+")"},ti=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})};ti.prototype.toString=function(){return this.objId+" 0 R"},ti.prototype.putStream=function(){var E=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:E,objectId:this.objId}),this.scope.internal.out("endobj")},ti.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 ce=ne[te],ge=this[ce];ge&&(Array.isArray(ge)?E.push({key:ce,value:Hr(ge,this.objId,this.scope)}):ge instanceof ti?(ge.scope=this.scope,E.push({key:ce,value:ge.objId+" 0 R"})):typeof ge!="function"&&E.push({key:ce,value:ge}))}return E};var Xi=function(){ti.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}})};OA(Xi,ti);var ts=function(){ti.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(ce){return ce};return this.scope&&(te=this.scope.internal.getEncryptor(this.objId)),"("+Th(te(E))+")"}},set:function(te){E=te}})};OA(ts,ti);var io=function E(){ti.call(this);var ne=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return ne},set:function(xn){if(isNaN(xn))throw new Error('Invalid value "'+xn+'" for attribute F supplied.');ne=xn}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Bd(ne,3)},set:function(xn){xn?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(xn){if(isNaN(xn))throw new Error('Invalid value "'+xn+'" for attribute Ff supplied.');te=xn}});var ce=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(ce.length!==0)return ce},set:function(xn){ce=xn!==void 0?xn:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!ce||isNaN(ce[0])?0:ce[0]},set:function(xn){ce[0]=xn}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!ce||isNaN(ce[1])?0:ce[1]},set:function(xn){ce[1]=xn}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!ce||isNaN(ce[2])?0:ce[2]},set:function(xn){ce[2]=xn}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!ce||isNaN(ce[3])?0:ce[3]},set:function(xn){ce[3]=xn}});var ge="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return ge},set:function(xn){switch(xn){case"/Btn":case"/Tx":case"/Ch":case"/Sig":ge=xn;break;default:throw new Error('Invalid value "'+xn+'" 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 Go)return;Ce="FieldObject"+E.FieldNum++}var xn=function(Lr){return Lr};return this.scope&&(xn=this.scope.internal.getEncryptor(this.objId)),"("+Th(xn(Ce))+")"},set:function(xn){Ce=xn.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Ce},set:function(xn){Ce=xn}});var nt="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return nt},set:function(xn){nt=xn}});var Ge="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Ge},set:function(xn){Ge=xn}});var ot=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ot},set:function(xn){ot=xn}});var At=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return At===void 0?50/H0:At},set:function(xn){At=xn}});var Ft="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Ft},set:function(xn){Ft=xn}});var en="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!en||this instanceof Go||this instanceof Il))return Gr(en,this.objId,this.scope)},set:function(xn){xn=xn.toString(),en=xn}});var sn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(sn)return this instanceof sl==0?Gr(sn,this.objId,this.scope):sn},set:function(xn){xn=xn.toString(),sn=this instanceof sl==0?xn.substr(0,1)==="("?Ef(xn.substr(1,xn.length-2)):Ef(xn):xn}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof sl==1?Ef(sn.substr(1,sn.length-1)):sn},set:function(xn){xn=xn.toString(),sn=this instanceof sl==1?"/"+xn:xn}});var Bt=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(Bt)return Bt},set:function(xn){this.V=xn}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Bt)return this instanceof sl==0?Gr(Bt,this.objId,this.scope):Bt},set:function(xn){xn=xn.toString(),Bt=this instanceof sl==0?xn.substr(0,1)==="("?Ef(xn.substr(1,xn.length-2)):Ef(xn):xn}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof sl==1?Ef(Bt.substr(1,Bt.length-1)):Bt},set:function(xn){xn=xn.toString(),Bt=this instanceof sl==1?"/"+xn:xn}}),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 zn,Nn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Nn},set:function(xn){xn=!!xn,Nn=xn}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(zn)return zn},set:function(xn){zn=xn}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Bd(this.Ff,1)},set:function(xn){xn?this.Ff=Ee(this.Ff,1):this.Ff=be(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Bd(this.Ff,2)},set:function(xn){xn?this.Ff=Ee(this.Ff,2):this.Ff=be(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Bd(this.Ff,3)},set:function(xn){xn?this.Ff=Ee(this.Ff,3):this.Ff=be(this.Ff,3)}});var Yn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Yn!==null)return Yn},set:function(xn){if([0,1,2].indexOf(xn)===-1)throw new Error('Invalid value "'+xn+'" for attribute Q supplied.');Yn=xn}}),Object.defineProperty(this,"textAlign",{get:function(){var xn;switch(Yn){case 0:default:xn="left";break;case 1:xn="center";break;case 2:xn="right"}return xn},configurable:!0,enumerable:!0,set:function(xn){switch(xn){case"right":case 2:Yn=2;break;case"center":case 1:Yn=1;break;default:Yn=0}}})};OA(io,ti);var Do=function(){io.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 Hr(ne,this.objId,this.scope)},set:function(te){var ce,ge;ge=[],typeof(ce=te)=="string"&&(ge=function(Ce,nt,Ge){Ge||(Ge=1);for(var ot,At=[];ot=nt.exec(Ce);)At.push(ot[Ge]);return At}(ce,/\((.*?)\)/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,ce){for(ce=ce||!1,te=(te=te||"").toString();ne.indexOf(te)!==-1&&(ne.splice(ne.indexOf(te),1),ce!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Bd(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!!Bd(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!!Bd(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!!Bd(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!!Bd(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!!Bd(this.Ff,27)},set:function(te){te?this.Ff=Ee(this.Ff,27):this.Ff=be(this.Ff,27)}}),this.hasAppearanceStream=!1};OA(Do,io);var Bl=function(){Do.call(this),this.fontName="helvetica",this.combo=!1};OA(Bl,Do);var As=function(){Bl.call(this),this.combo=!0};OA(As,Bl);var us=function(){As.call(this),this.edit=!0};OA(us,As);var sl=function(){io.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Bd(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!!Bd(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!!Bd(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!!Bd(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 ce,ge=[];for(ce in ge.push("<<"),ne)ge.push("/"+ce+" ("+Th(te(ne[ce]))+")");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}})};OA(sl,io);var Hl=function(){sl.call(this),this.pushButton=!0};OA(Hl,sl);var Xs=function(){sl.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:[]}})};OA(Xs,sl);var Go=function(){var E,ne;io.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,ce={};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("<<"),ce)nt.push("/"+Ce+" ("+Th(ge(ce[Ce]))+")");return nt.push(">>"),nt.join(`
`)},set:function(ge){(0,he.Z)(ge)==="object"&&(ce=ge)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return ce.CA||""},set:function(ge){typeof ge=="string"&&(ce.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=Eo.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};OA(Go,io),Xs.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()}},Xs.prototype.createOption=function(E){var ne=new Go;return ne.Parent=this,ne.optionName=E,this.Kids.push(ne),Yd.call(this.scope,ne),ne};var lu=function(){sl.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Eo.CheckBox.createAppearanceStream()};OA(lu,sl);var Il=function(){io.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Bd(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!!Bd(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!!Bd(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!!Bd(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!!Bd(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!!Bd(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}})};OA(Il,io);var ll=function(){Il.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Bd(this.Ff,14)},set:function(E){E?this.Ff=Ee(this.Ff,14):this.Ff=be(this.Ff,14)}}),this.password=!0};OA(ll,Il);var Eo={CheckBox:{createAppearanceStream:function(){return{N:{On:Eo.CheckBox.YesNormal},D:{On:Eo.CheckBox.YesPushDown,Off:Eo.CheckBox.OffPushDown}}},YesPushDown:function(E){var ne=Hf(E);ne.scope=E.scope;var te=[],ce=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 "+rl(Eo.internal.getWidth(E))+" "+rl(Eo.internal.getHeight(E))+" re"),te.push("f"),te.push("BMC"),te.push("q"),te.push("0 0 1 rg"),te.push("/"+ce+" "+rl(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=Hf(E);ne.scope=E.scope;var te=E.scope.internal.getFont(E.fontName,E.fontStyle).id,ce=E.scope.__private__.encodeColorString(E.color),ge=[],Ce=Eo.internal.getHeight(E),nt=Eo.internal.getWidth(E),Ge=yt(E,E.caption);return ge.push("1 g"),ge.push("0 0 "+rl(nt)+" "+rl(Ce)+" re"),ge.push("f"),ge.push("q"),ge.push("0 0 1 rg"),ge.push("0 0 "+rl(nt-1)+" "+rl(Ce-1)+" re"),ge.push("W"),ge.push("n"),ge.push("0 g"),ge.push("BT"),ge.push("/"+te+" "+rl(Ge.fontSize)+" Tf "+ce),ge.push(Ge.text),ge.push("ET"),ge.push("Q"),ne.stream=ge.join(`
`),ne},OffPushDown:function(E){var ne=Hf(E);ne.scope=E.scope;var te=[];return te.push("0.749023 g"),te.push("0 0 "+rl(Eo.internal.getWidth(E))+" "+rl(Eo.internal.getHeight(E))+" re"),te.push("f"),ne.stream=te.join(`
`),ne}},RadioButton:{Circle:{createAppearanceStream:function(E){var ne={D:{Off:Eo.RadioButton.Circle.OffPushDown},N:{}};return ne.N[E]=Eo.RadioButton.Circle.YesNormal,ne.D[E]=Eo.RadioButton.Circle.YesPushDown,ne},getCA:function(){return"l"},YesNormal:function(E){var ne=Hf(E);ne.scope=E.scope;var te=[],ce=Eo.internal.getWidth(E)<=Eo.internal.getHeight(E)?Eo.internal.getWidth(E)/4:Eo.internal.getHeight(E)/4;ce=Number((.9*ce).toFixed(5));var ge=Eo.internal.Bezier_C,Ce=Number((ce*ge).toFixed(5));return te.push("q"),te.push("1 0 0 1 "+u0(Eo.internal.getWidth(E)/2)+" "+u0(Eo.internal.getHeight(E)/2)+" cm"),te.push(ce+" 0 m"),te.push(ce+" "+Ce+" "+Ce+" "+ce+" 0 "+ce+" c"),te.push("-"+Ce+" "+ce+" -"+ce+" "+Ce+" -"+ce+" 0 c"),te.push("-"+ce+" -"+Ce+" -"+Ce+" -"+ce+" 0 -"+ce+" c"),te.push(Ce+" -"+ce+" "+ce+" -"+Ce+" "+ce+" 0 c"),te.push("f"),te.push("Q"),ne.stream=te.join(`
`),ne},YesPushDown:function(E){var ne=Hf(E);ne.scope=E.scope;var te=[],ce=Eo.internal.getWidth(E)<=Eo.internal.getHeight(E)?Eo.internal.getWidth(E)/4:Eo.internal.getHeight(E)/4;ce=Number((.9*ce).toFixed(5));var ge=Number((2*ce).toFixed(5)),Ce=Number((ge*Eo.internal.Bezier_C).toFixed(5)),nt=Number((ce*Eo.internal.Bezier_C).toFixed(5));return te.push("0.749023 g"),te.push("q"),te.push("1 0 0 1 "+u0(Eo.internal.getWidth(E)/2)+" "+u0(Eo.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 "+u0(Eo.internal.getWidth(E)/2)+" "+u0(Eo.internal.getHeight(E)/2)+" cm"),te.push(ce+" 0 m"),te.push(ce+" "+nt+" "+nt+" "+ce+" 0 "+ce+" c"),te.push("-"+nt+" "+ce+" -"+ce+" "+nt+" -"+ce+" 0 c"),te.push("-"+ce+" -"+nt+" -"+nt+" -"+ce+" 0 -"+ce+" c"),te.push(nt+" -"+ce+" "+ce+" -"+nt+" "+ce+" 0 c"),te.push("f"),te.push("Q"),ne.stream=te.join(`
`),ne},OffPushDown:function(E){var ne=Hf(E);ne.scope=E.scope;var te=[],ce=Eo.internal.getWidth(E)<=Eo.internal.getHeight(E)?Eo.internal.getWidth(E)/4:Eo.internal.getHeight(E)/4;ce=Number((.9*ce).toFixed(5));var ge=Number((2*ce).toFixed(5)),Ce=Number((ge*Eo.internal.Bezier_C).toFixed(5));return te.push("0.749023 g"),te.push("q"),te.push("1 0 0 1 "+u0(Eo.internal.getWidth(E)/2)+" "+u0(Eo.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:Eo.RadioButton.Cross.OffPushDown},N:{}};return ne.N[E]=Eo.RadioButton.Cross.YesNormal,ne.D[E]=Eo.RadioButton.Cross.YesPushDown,ne},getCA:function(){return"8"},YesNormal:function(E){var ne=Hf(E);ne.scope=E.scope;var te=[],ce=Eo.internal.calculateCross(E);return te.push("q"),te.push("1 1 "+rl(Eo.internal.getWidth(E)-2)+" "+rl(Eo.internal.getHeight(E)-2)+" re"),te.push("W"),te.push("n"),te.push(rl(ce.x1.x)+" "+rl(ce.x1.y)+" m"),te.push(rl(ce.x2.x)+" "+rl(ce.x2.y)+" l"),te.push(rl(ce.x4.x)+" "+rl(ce.x4.y)+" m"),te.push(rl(ce.x3.x)+" "+rl(ce.x3.y)+" l"),te.push("s"),te.push("Q"),ne.stream=te.join(`
`),ne},YesPushDown:function(E){var ne=Hf(E);ne.scope=E.scope;var te=Eo.internal.calculateCross(E),ce=[];return ce.push("0.749023 g"),ce.push("0 0 "+rl(Eo.internal.getWidth(E))+" "+rl(Eo.internal.getHeight(E))+" re"),ce.push("f"),ce.push("q"),ce.push("1 1 "+rl(Eo.internal.getWidth(E)-2)+" "+rl(Eo.internal.getHeight(E)-2)+" re"),ce.push("W"),ce.push("n"),ce.push(rl(te.x1.x)+" "+rl(te.x1.y)+" m"),ce.push(rl(te.x2.x)+" "+rl(te.x2.y)+" l"),ce.push(rl(te.x4.x)+" "+rl(te.x4.y)+" m"),ce.push(rl(te.x3.x)+" "+rl(te.x3.y)+" l"),ce.push("s"),ce.push("Q"),ne.stream=ce.join(`
`),ne},OffPushDown:function(E){var ne=Hf(E);ne.scope=E.scope;var te=[];return te.push("0.749023 g"),te.push("0 0 "+rl(Eo.internal.getWidth(E))+" "+rl(Eo.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}};Eo.internal={Bezier_C:.551915024494,calculateCross:function(E){var ne=Eo.internal.getWidth(E),te=Eo.internal.getHeight(E),ce=Math.min(ne,te);return{x1:{x:(ne-ce)/2,y:(te-ce)/2+ce},x2:{x:(ne-ce)/2+ce,y:(te-ce)/2},x3:{x:(ne-ce)/2,y:(te-ce)/2},x4:{x:(ne-ce)/2+ce,y:(te-ce)/2+ce}}}},Eo.internal.getWidth=function(E){var ne=0;return(0,he.Z)(E)==="object"&&(ne=pm(E.Rect[2])),ne},Eo.internal.getHeight=function(E){var ne=0;return(0,he.Z)(E)==="object"&&(ne=pm(E.Rect[3])),ne};var Yd=Uc.addField=function(E){if(Hn(this,E),!(E instanceof io))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};Uc.AcroFormChoiceField=Do,Uc.AcroFormListBox=Bl,Uc.AcroFormComboBox=As,Uc.AcroFormEditBox=us,Uc.AcroFormButton=sl,Uc.AcroFormPushButton=Hl,Uc.AcroFormRadioButton=Xs,Uc.AcroFormCheckBox=lu,Uc.AcroFormTextField=Il,Uc.AcroFormPasswordField=ll,Uc.AcroFormAppearance=Eo,Uc.AcroForm={ChoiceField:Do,ListBox:Bl,ComboBox:As,EditBox:us,Button:sl,PushButton:Hl,RadioButton:Xs,CheckBox:lu,TextField:Il,PasswordField:ll,Appearance:Eo},_s.AcroForm={ChoiceField:Do,ListBox:Bl,ComboBox:As,EditBox:us,Button:sl,PushButton:Hl,RadioButton:Xs,CheckBox:lu,TextField:Il,PasswordField:ll,Appearance:Eo};var NA=_s.AcroForm;function $l(E){return E.reduce(function(ne,te,ce){return ne[te]=ce,ne},{})}(function(E){var ne="addImage_";E.__addimage__={};var te="UNKNOWN",ce={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,qn){var Mr,Br,Fi,Ui,Gi,xi=te;if((qn=qn||te)==="RGBA"||yn.data!==void 0&&yn.data instanceof Uint8ClampedArray&&"height"in yn&&"width"in yn)return"RGBA";if(qi(yn))for(Gi in ce)for(Fi=ce[Gi],Mr=0;Mr<Fi.length;Mr+=1){for(Ui=!0,Br=0;Br<Fi[Mr].length;Br+=1)if(Fi[Mr][Br]!==void 0&&Fi[Mr][Br]!==yn[Br]){Ui=!1;break}if(Ui===!0){xi=Gi;break}}else for(Gi in ce)for(Fi=ce[Gi],Mr=0;Mr<Fi.length;Mr+=1){for(Ui=!0,Br=0;Br<Fi[Mr].length;Br+=1)if(Fi[Mr][Br]!==void 0&&Fi[Mr][Br]!==yn.charCodeAt(Br)){Ui=!1;break}if(Ui===!0){xi=Gi;break}}return xi===te&&qn!==te&&(xi=qn),xi},Ce=function yn(qn){for(var Mr=this.internal.write,Br=this.internal.putStream,Fi=(0,this.internal.getFilters)();Fi.indexOf("FlateEncode")!==-1;)Fi.splice(Fi.indexOf("FlateEncode"),1);qn.objectId=this.internal.newObject();var Ui=[];if(Ui.push({key:"Type",value:"/XObject"}),Ui.push({key:"Subtype",value:"/Image"}),Ui.push({key:"Width",value:qn.width}),Ui.push({key:"Height",value:qn.height}),qn.colorSpace===xn.INDEXED?Ui.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(qn.palette.length/3-1)+" "+("sMask"in qn&&qn.sMask!==void 0?qn.objectId+2:qn.objectId+1)+" 0 R]"}):(Ui.push({key:"ColorSpace",value:"/"+qn.colorSpace}),qn.colorSpace===xn.DEVICE_CMYK&&Ui.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Ui.push({key:"BitsPerComponent",value:qn.bitsPerComponent}),"decodeParameters"in qn&&qn.decodeParameters!==void 0&&Ui.push({key:"DecodeParms",value:"<<"+qn.decodeParameters+">>"}),"transparency"in qn&&Array.isArray(qn.transparency)&&qn.transparency.length>0){for(var Gi="",xi=0,Wi=qn.transparency.length;xi<Wi;xi++)Gi+=qn.transparency[xi]+" "+qn.transparency[xi]+" ";Ui.push({key:"Mask",value:"["+Gi+"]"})}qn.sMask!==void 0&&Ui.push({key:"SMask",value:qn.objectId+1+" 0 R"});var mo=qn.filter!==void 0?["/"+qn.filter]:void 0;if(Br({data:qn.data,additionalKeyValues:Ui,alreadyAppliedFilters:mo,objectId:qn.objectId}),Mr("endobj"),"sMask"in qn&&qn.sMask!==void 0){var Ta,hn=(Ta=qn.sMaskBitsPerComponent)!==null&&Ta!==void 0?Ta:qn.bitsPerComponent,or={width:qn.width,height:qn.height,colorSpace:"DeviceGray",bitsPerComponent:hn,data:qn.sMask};"filter"in qn&&(or.decodeParameters="/Predictor ".concat(qn.predictor," /Colors 1 /BitsPerComponent ").concat(hn," /Columns ").concat(qn.width),or.filter=qn.filter),yn.call(this,or)}if(qn.colorSpace===xn.INDEXED){var pr=this.internal.newObject();Br({data:zr(new Uint8Array(qn.palette)),objectId:pr}),Mr("endobj")}},nt=function(){var yn=this.internal.collections[ne+"images"];for(var qn in yn)Ce.call(this,yn[qn])},Ge=function(){var yn,qn=this.internal.collections[ne+"images"],Mr=this.internal.write;for(var Br in qn)Mr("/I"+(yn=qn[Br]).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))},At=function(){var yn=this.internal.collections[ne+"images"];return ot.call(this),yn},Ft=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},Bt=function(yn,qn){if(yn.nodeName==="IMG"&&yn.hasAttribute("src")){var Mr=""+yn.getAttribute("src");if(Mr.indexOf("data:image/")===0)return wa(unescape(Mr).split("base64,").pop());var Br=E.loadFile(Mr,!0);if(Br!==void 0)return Br}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(qn){case"PNG":Fi="image/png";break;case"WEBP":Fi="image/webp";break;default:Fi="image/jpeg"}return wa(yn.toDataURL(Fi,1).split("base64,").pop())}},zn=function(yn){var qn=this.internal.collections[ne+"images"];if(qn){for(var Mr in qn)if(yn===qn[Mr].alias)return qn[Mr]}},Nn=function(yn,qn,Mr){return yn||qn||(yn=-96,qn=-96),yn<0&&(yn=-1*Mr.width*72/yn/this.internal.scaleFactor),qn<0&&(qn=-1*Mr.height*72/qn/this.internal.scaleFactor),yn===0&&(yn=qn*Mr.width/Mr.height),qn===0&&(qn=yn*Mr.height/Mr.width),[yn,qn]},Yn=function(yn,qn,Mr,Br,Fi,Ui){var Gi=Nn.call(this,Mr,Br,Fi),xi=this.internal.getCoordinateString,Wi=this.internal.getVerticalCoordinateString,mo=At.call(this);if(Mr=Gi[0],Br=Gi[1],mo[Fi.index]=Fi,Ui){Ui*=Math.PI/180;var Ta=Math.cos(Ui),hn=Math.sin(Ui),or=function(Nr){return Nr.toFixed(4)},pr=[or(Ta),or(hn),or(-1*hn),or(Ta),0,0,"cm"]}this.internal.write("q"),Ui?(this.internal.write([1,"0","0",1,xi(yn),Wi(qn+Br),"cm"].join(" ")),this.internal.write(pr.join(" ")),this.internal.write([xi(Mr),"0","0",xi(Br),"0","0","cm"].join(" "))):this.internal.write([xi(Mr),"0","0",xi(Br),xi(yn),Wi(qn+Br),"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")},xn=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 Lr=E.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},xr=E.__addimage__.sHashCode=function(yn){var qn,Mr,Br=0;if(typeof yn=="string")for(Mr=yn.length,qn=0;qn<Mr;qn++)Br=(Br<<5)-Br+yn.charCodeAt(qn),Br|=0;else if(qi(yn))for(Mr=yn.byteLength/2,qn=0;qn<Mr;qn++)Br=(Br<<5)-Br+yn[qn],Br|=0;return Br},sr=E.__addimage__.validateStringAsBase64=function(yn){(yn=yn||"").toString().trim();var qn=!0;return yn.length===0&&(qn=!1),yn.length%4!=0&&(qn=!1),/^[A-Za-z0-9+/]+$/.test(yn.substr(0,yn.length-2))===!1&&(qn=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(yn.substr(-2))===!1&&(qn=!1),qn},wi=E.__addimage__.extractImageFromDataUrl=function(yn){if(yn==null||!(yn=yn.trim()).startsWith("data:"))return null;var qn=yn.indexOf(",");return qn<0?null:yn.substring(0,qn).trim().endsWith("base64")?yn.substring(qn+1):null};E.__addimage__.isArrayBuffer=function(yn){return yn instanceof ArrayBuffer};var qi=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},Qi=E.__addimage__.binaryStringToUint8Array=function(yn){for(var qn=yn.length,Mr=new Uint8Array(qn),Br=0;Br<qn;Br++)Mr[Br]=yn.charCodeAt(Br);return Mr},zr=E.__addimage__.arrayBufferToBinaryString=function(yn){for(var qn="",Mr=qi(yn)?yn:new Uint8Array(yn),Br=0;Br<Mr.length;Br+=8192)qn+=String.fromCharCode.apply(null,Mr.subarray(Br,Br+8192));return qn};E.addImage=function(){var yn,qn,Mr,Br,Fi,Ui,Gi,xi,Wi;if(typeof arguments[1]=="number"?(qn=te,Mr=arguments[1],Br=arguments[2],Fi=arguments[3],Ui=arguments[4],Gi=arguments[5],xi=arguments[6],Wi=arguments[7]):(qn=arguments[1],Mr=arguments[2],Br=arguments[3],Fi=arguments[4],Ui=arguments[5],Gi=arguments[6],xi=arguments[7],Wi=arguments[8]),(0,he.Z)(yn=arguments[0])==="object"&&!sn(yn)&&"imageData"in yn){var mo=yn;yn=mo.imageData,qn=mo.format||qn||te,Mr=mo.x||Mr||0,Br=mo.y||Br||0,Fi=mo.w||mo.width||Fi,Ui=mo.h||mo.height||Ui,Gi=mo.alias||Gi,xi=mo.compression||xi,Wi=mo.rotation||mo.angle||Wi}var Ta=this.internal.getFilters();if(xi===void 0&&Ta.indexOf("FlateEncode")!==-1&&(xi="SLOW"),isNaN(Mr)||isNaN(Br))throw new Error("Invalid coordinates passed to jsPDF.addImage");ot.call(this);var hn=ur.call(this,yn,qn,Gi,xi);return Yn.call(this,Mr,Br,Fi,Ui,hn,Wi),this};var ur=function(yn,qn,Mr,Br){var Fi,Ui,Gi;if(typeof yn=="string"&&ge(yn)===te){yn=unescape(yn);var xi=ci(yn,!1);(xi!==""||(xi=E.loadFile(yn,!0))!==void 0)&&(yn=xi)}if(sn(yn)&&(yn=Bt(yn,qn)),qn=ge(yn,qn),!en(qn))throw new Error("addImage does not support files of type '"+qn+"', please ensure that a plugin for '"+qn+"' support is added.");if(((Gi=Mr)==null||Gi.length===0)&&(Mr=function(Wi){return typeof Wi=="string"||qi(Wi)?xr(Wi):qi(Wi.data)?xr(Wi.data):null}(yn)),(Fi=zn.call(this,Mr))||(yn instanceof Uint8Array||qn==="RGBA"||(Ui=yn,yn=Qi(yn)),Fi=this["process"+qn.toUpperCase()](yn,Ft.call(this),Mr,function(Wi){return Wi&&typeof Wi=="string"&&(Wi=Wi.toUpperCase()),Wi in E.image_compression?Wi:Lr.NONE}(Br),Ui)),!Fi)throw new Error("An unknown error occurred whilst processing the image.");return Fi},ci=E.__addimage__.convertBase64ToBinaryString=function(yn,qn){qn=typeof qn!="boolean"||qn;var Mr,Br="";if(typeof yn=="string"){var Fi;Mr=(Fi=wi(yn))!==null&&Fi!==void 0?Fi:yn;try{Br=wa(Mr)}catch(Ui){if(qn)throw sr(Mr)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Ui.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Br};E.getImageProperties=function(yn){var qn,Mr,Br="";if(sn(yn)&&(yn=Bt(yn)),typeof yn=="string"&&ge(yn)===te&&((Br=ci(yn,!1))===""&&(Br=E.loadFile(yn)||""),yn=Br),Mr=ge(yn),!en(Mr))throw new Error("addImage does not support files of type '"+Mr+"', please ensure that a plugin for '"+Mr+"' support is added.");if(yn instanceof Uint8Array||(yn=Qi(yn)),!(qn=this["process"+Mr.toUpperCase()](yn)))throw new Error("An unknown error occurred whilst processing the image");return qn.fileType=Mr,qn}})(_s.API),function(E){var ne=function(te){if(te!==void 0&&te!="")return!0};_s.API.events.push(["addPage",function(te){this.internal.getPageInfo(te.pageNumber).pageContext.annotations=[]}]),E.events.push(["putPage",function(te){for(var ce,ge,Ce,nt=this.internal.getCoordinateString,Ge=this.internal.getVerticalCoordinateString,ot=this.internal.getPageInfoByObjId(te.objId),At=te.pageContext.annotations,Ft=!1,en=0;en<At.length&&!Ft;en++)switch((ce=At[en]).type){case"link":(ne(ce.options.url)||ne(ce.options.pageNumber))&&(Ft=!0);break;case"reference":case"text":case"freetext":Ft=!0}if(Ft!=0){this.internal.write("/Annots [");for(var sn=0;sn<At.length;sn++){ce=At[sn];var Bt=this.internal.pdfEscape,zn=this.internal.getEncryptor(te.objId);switch(ce.type){case"reference":this.internal.write(" "+ce.object.objId+" 0 R ");break;case"text":var Nn=this.internal.newAdditionalObject(),Yn=this.internal.newAdditionalObject(),xn=this.internal.getEncryptor(Nn.objId),Lr=ce.title||"Note";Ce="<</Type /Annot /Subtype /Text "+(ge="/Rect ["+nt(ce.bounds.x)+" "+Ge(ce.bounds.y+ce.bounds.h)+" "+nt(ce.bounds.x+ce.bounds.w)+" "+Ge(ce.bounds.y)+"] ")+"/Contents ("+Bt(xn(ce.contents))+")",Ce+=" /Popup "+Yn.objId+" 0 R",Ce+=" /P "+ot.objId+" 0 R",Ce+=" /T ("+Bt(xn(Lr))+") >>",Nn.content=Ce;var xr=Nn.objId+" 0 R";Ce="<</Type /Annot /Subtype /Popup "+(ge="/Rect ["+nt(ce.bounds.x+30)+" "+Ge(ce.bounds.y+ce.bounds.h)+" "+nt(ce.bounds.x+ce.bounds.w+30)+" "+Ge(ce.bounds.y)+"] ")+" /Parent "+xr,ce.open&&(Ce+=" /Open true"),Ce+=" >>",Yn.content=Ce,this.internal.write(Nn.objId,"0 R",Yn.objId,"0 R");break;case"freetext":ge="/Rect ["+nt(ce.bounds.x)+" "+Ge(ce.bounds.y)+" "+nt(ce.bounds.x+ce.bounds.w)+" "+Ge(ce.bounds.y+ce.bounds.h)+"] ";var sr=ce.color||"#000000";Ce="<</Type /Annot /Subtype /FreeText "+ge+"/Contents ("+Bt(zn(ce.contents))+")",Ce+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+sr+")",Ce+=" /Border [0 0 0]",Ce+=" >>",this.internal.write(Ce);break;case"link":if(ce.options.name){var wi=this.annotations._nameMap[ce.options.name];ce.options.pageNumber=wi.page,ce.options.top=wi.y}else ce.options.top||(ce.options.top=0);if(ge="/Rect ["+ce.finalBounds.x+" "+ce.finalBounds.y+" "+ce.finalBounds.w+" "+ce.finalBounds.h+"] ",Ce="",ce.options.url)Ce="<</Type /Annot /Subtype /Link "+ge+"/Border [0 0 0] /A <</S /URI /URI ("+Bt(zn(ce.options.url))+") >>";else if(ce.options.pageNumber)switch(Ce="<</Type /Annot /Subtype /Link "+ge+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(ce.options.pageNumber).objId+" 0 R",ce.options.magFactor=ce.options.magFactor||"XYZ",ce.options.magFactor){case"Fit":Ce+=" /Fit]";break;case"FitH":Ce+=" /FitH "+ce.options.top+"]";break;case"FitV":ce.options.left=ce.options.left||0,Ce+=" /FitV "+ce.options.left+"]";break;default:var qi=Ge(ce.options.top);ce.options.left=ce.options.left||0,ce.options.zoom===void 0&&(ce.options.zoom=0),Ce+=" /XYZ "+ce.options.left+" "+qi+" "+ce.options.zoom+"]"}Ce!=""&&(Ce+=" >>",this.internal.write(Ce))}}this.internal.write("]")}}]),E.createAnnotation=function(te){var ce=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":ce.pageContext.annotations.push(te)}},E.link=function(te,ce,ge,Ce,nt){var Ge=this.internal.getCurrentPageInfo(),ot=this.internal.getCoordinateString,At=this.internal.getVerticalCoordinateString;Ge.pageContext.annotations.push({finalBounds:{x:ot(te),y:At(ce),w:ot(te+ge),h:At(ce+Ce)},options:nt,type:"link"})},E.textWithLink=function(te,ce,ge,Ce){var nt,Ge,ot=this.getTextWidth(te),At=this.internal.getLineHeight()/this.internal.scaleFactor;if(Ce.maxWidth!==void 0){Ge=Ce.maxWidth;var Ft=this.splitTextToSize(te,Ge).length;nt=Math.ceil(At*Ft)}else Ge=ot,nt=At;return this.text(te,ce,ge,Ce),ge+=.2*At,Ce.align==="center"&&(ce-=ot/2),Ce.align==="right"&&(ce-=ot),this.link(ce,ge-At,Ge,nt,Ce),ot},E.getTextWidth=function(te){var ce=this.internal.getFontSize();return this.getStringUnitWidth(te)*ce/this.internal.scaleFactor}}(_s.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}},ce={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ge=[1570,1571,1573,1575];E.__arabicParser__={};var Ce=E.__arabicParser__.isInArabicSubstitutionA=function(Nn){return ne[Nn.charCodeAt(0)]!==void 0},nt=E.__arabicParser__.isArabicLetter=function(Nn){return typeof Nn=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Nn)},Ge=E.__arabicParser__.isArabicEndLetter=function(Nn){return nt(Nn)&&Ce(Nn)&&ne[Nn.charCodeAt(0)].length<=2},ot=E.__arabicParser__.isArabicAlfLetter=function(Nn){return nt(Nn)&&ge.indexOf(Nn.charCodeAt(0))>=0};E.__arabicParser__.arabicLetterHasIsolatedForm=function(Nn){return nt(Nn)&&Ce(Nn)&&ne[Nn.charCodeAt(0)].length>=1};var At=E.__arabicParser__.arabicLetterHasFinalForm=function(Nn){return nt(Nn)&&Ce(Nn)&&ne[Nn.charCodeAt(0)].length>=2};E.__arabicParser__.arabicLetterHasInitialForm=function(Nn){return nt(Nn)&&Ce(Nn)&&ne[Nn.charCodeAt(0)].length>=3};var Ft=E.__arabicParser__.arabicLetterHasMedialForm=function(Nn){return nt(Nn)&&Ce(Nn)&&ne[Nn.charCodeAt(0)].length==4},en=E.__arabicParser__.resolveLigatures=function(Nn){var Yn=0,xn=te,Lr="",xr=0;for(Yn=0;Yn<Nn.length;Yn+=1)xn[Nn.charCodeAt(Yn)]!==void 0?(xr++,typeof(xn=xn[Nn.charCodeAt(Yn)])=="number"&&(Lr+=String.fromCharCode(xn),xn=te,xr=0),Yn===Nn.length-1&&(xn=te,Lr+=Nn.charAt(Yn-(xr-1)),Yn-=xr-1,xr=0)):(xn=te,Lr+=Nn.charAt(Yn-xr),Yn-=xr,xr=0);return Lr};E.__arabicParser__.isArabicDiacritic=function(Nn){return Nn!==void 0&&ce[Nn.charCodeAt(0)]!==void 0};var sn=E.__arabicParser__.getCorrectForm=function(Nn,Yn,xn){return nt(Nn)?Ce(Nn)===!1?-1:!At(Nn)||!nt(Yn)&&!nt(xn)||!nt(xn)&&Ge(Yn)||Ge(Nn)&&!nt(Yn)||Ge(Nn)&&ot(Yn)||Ge(Nn)&&Ge(Yn)?0:Ft(Nn)&&nt(Yn)&&!Ge(Yn)&&nt(xn)&&At(xn)?3:Ge(Nn)||!nt(xn)?1:2:-1},Bt=function(Nn){var Yn=0,xn=0,Lr=0,xr="",sr="",wi="",qi=(Nn=Nn||"").split("\\s+"),Qi=[];for(Yn=0;Yn<qi.length;Yn+=1){for(Qi.push(""),xn=0;xn<qi[Yn].length;xn+=1)xr=qi[Yn][xn],sr=qi[Yn][xn-1],wi=qi[Yn][xn+1],nt(xr)?(Lr=sn(xr,sr,wi),Qi[Yn]+=Lr!==-1?String.fromCharCode(ne[xr.charCodeAt(0)][Lr]):xr):Qi[Yn]+=xr;Qi[Yn]=en(Qi[Yn])}return Qi.join(" ")},zn=E.__arabicParser__.processArabic=E.processArabic=function(){var Nn,Yn=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,xn=[];if(Array.isArray(Yn)){var Lr=0;for(xn=[],Lr=0;Lr<Yn.length;Lr+=1)Array.isArray(Yn[Lr])?xn.push([Bt(Yn[Lr][0]),Yn[Lr][1],Yn[Lr][2]]):xn.push([Bt(Yn[Lr])]);Nn=xn}else Nn=Bt(Yn);return typeof arguments[0]=="string"?Nn:(arguments[0].text=Nn,arguments[0])};E.events.push(["preProcessText",zn])}(_s.API),_s.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 ce=150;Object.defineProperty(this,"width",{get:function(){return ce},set:function(Ge){ce=isNaN(Ge)||Number.isInteger(Ge)===!1||Ge<0?150:Ge,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=ce+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,ce){var ge;if((te=te||"2d")!=="2d")return null;for(ge in ce)this.pdf.context2d.hasOwnProperty(ge)&&(this.pdf.context2d[ge]=ce[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}])}(_s.API),function(E){var ne={left:0,top:0,bottom:0,right:0},te=!1,ce=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(Nn){ot=Nn}});var At=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return At},set:function(Nn){At=Nn}});var Ft=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ft},set:function(Nn){Ft=Nn}});var en=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return en},set:function(Nn){en=Nn}});var sn=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return sn},set:function(Nn){sn=Nn}});var Bt=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Bt},set:function(Nn){Bt=Nn}});var zn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return zn},set:function(Nn){zn=Nn}}),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 ce.call(this),this.internal.__cell__.headerFunction=typeof ot=="function"?ot:void 0,this},E.getTextDimensions=function(ot,At){ce.call(this);var Ft=(At=At||{}).fontSize||this.getFontSize(),en=At.font||this.getFont(),sn=At.scaleFactor||this.internal.scaleFactor,Bt=0,zn=0,Nn=0,Yn=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 xn=At.maxWidth;xn>0?typeof ot=="string"?ot=this.splitTextToSize(ot,xn):Object.prototype.toString.call(ot)==="[object Array]"&&(ot=ot.reduce(function(xr,sr){return xr.concat(Yn.splitTextToSize(sr,xn))},[])):ot=Array.isArray(ot)?ot:[ot];for(var Lr=0;Lr<ot.length;Lr++)Bt<(Nn=this.getStringUnitWidth(ot[Lr],{font:en})*Ft)&&(Bt=Nn);return Bt!==0&&(zn=ot.length),{w:Bt/=sn,h:Math.max((zn*Ft*this.getLineHeightFactor()-Ft*(this.getLineHeightFactor()-1))/sn,0)}},E.cellAddPage=function(){ce.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]),ce.call(this);var At=this.internal.__cell__.lastCell,Ft=this.internal.__cell__.padding,en=this.internal.__cell__.margins||ne,sn=this.internal.__cell__.tableHeaderRow,Bt=this.internal.__cell__.printHeaders;return At.lineNumber!==void 0&&(At.lineNumber===ot.lineNumber?(ot.x=(At.x||0)+(At.width||0),ot.y=At.y||0):At.y+At.height+ot.height+en.bottom>this.getPageHeight()?(this.cellAddPage(),ot.y=en.top,Bt&&sn&&(this.printHeaderRow(ot.lineNumber,!0),ot.y+=sn[0].height)):ot.y=At.y+At.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-Ft,ot.y+Ft,{align:"right",baseline:"top"}):ot.align==="center"?this.text(ot.text,ot.x+ot.width/2,ot.y+Ft,{align:"center",baseline:"top",maxWidth:ot.width-Ft-Ft}):this.text(ot.text,ot.x+Ft,ot.y+Ft,{align:"left",baseline:"top",maxWidth:ot.width-Ft-Ft})),this.internal.__cell__.lastCell=ot,this};E.table=function(ot,At,Ft,en,sn){if(ce.call(this),!Ft)throw new Error("No data for PDF table.");var Bt,zn,Nn,Yn,xn=[],Lr=[],xr=[],sr={},wi={},qi=[],Qi=[],zr=(sn=sn||{}).autoSize||!1,ur=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),qn=typeof sn.padding=="number"?sn.padding:3,Mr=sn.headerBackgroundColor||"#c8c8c8",Br=sn.headerTextColor||"#000";if(ge.call(this),this.internal.__cell__.printHeaders=ur,this.internal.__cell__.margins=yn,this.internal.__cell__.table_font_size=ci,this.internal.__cell__.padding=qn,this.internal.__cell__.headerBackgroundColor=Mr,this.internal.__cell__.headerTextColor=Br,this.setFontSize(ci),en==null)Lr=xn=Object.keys(Ft[0]),xr=xn.map(function(){return"left"});else if(Array.isArray(en)&&(0,he.Z)(en[0])==="object")for(xn=en.map(function(mo){return mo.name}),Lr=en.map(function(mo){return mo.prompt||mo.name||""}),xr=en.map(function(mo){return mo.align||"left"}),Bt=0;Bt<en.length;Bt+=1)wi[en[Bt].name]=.7499990551181103*en[Bt].width;else Array.isArray(en)&&typeof en[0]=="string"&&(Lr=xn=en,xr=xn.map(function(){return"left"}));if(zr||Array.isArray(en)&&typeof en[0]=="string")for(Bt=0;Bt<xn.length;Bt+=1){for(sr[Yn=xn[Bt]]=Ft.map(function(mo){return mo[Yn]}),this.setFont(void 0,"bold"),qi.push(this.getTextDimensions(Lr[Bt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),zn=sr[Yn],this.setFont(void 0,"normal"),Nn=0;Nn<zn.length;Nn+=1)qi.push(this.getTextDimensions(zn[Nn],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);wi[Yn]=Math.max.apply(null,qi)+qn+qn,qi=[]}if(ur){var Fi={};for(Bt=0;Bt<xn.length;Bt+=1)Fi[xn[Bt]]={},Fi[xn[Bt]].text=Lr[Bt],Fi[xn[Bt]].align=xr[Bt];var Ui=Ge.call(this,Fi,wi);Qi=xn.map(function(mo){return new Ce(ot,At,wi[mo],Ui,Fi[mo].text,void 0,Fi[mo].align)}),this.setTableHeaderRow(Qi),this.printHeaderRow(1,!1)}var Gi=en.reduce(function(mo,Ta){return mo[Ta.name]=Ta.align,mo},{});for(Bt=0;Bt<Ft.length;Bt+=1){"rowStart"in sn&&sn.rowStart instanceof Function&&sn.rowStart({row:Bt,data:Ft[Bt]},this);var xi=Ge.call(this,Ft[Bt],wi);for(Nn=0;Nn<xn.length;Nn+=1){var Wi=Ft[Bt][xn[Nn]];"cellStart"in sn&&sn.cellStart instanceof Function&&sn.cellStart({row:Bt,col:Nn,data:Wi},this),nt.call(this,new Ce(ot,At,wi[xn[Nn]],xi,Wi,Bt+2,Gi[xn[Nn]]))}}return this.internal.__cell__.table_x=ot,this.internal.__cell__.table_y=At,this};var Ge=function(ot,At){var Ft=this.internal.__cell__.padding,en=this.internal.__cell__.table_font_size,sn=this.internal.scaleFactor;return Object.keys(ot).map(function(Bt){var zn=ot[Bt];return this.splitTextToSize(zn.hasOwnProperty("text")?zn.text:zn,At[Bt]-Ft-Ft)},this).map(function(Bt){return this.getLineHeightFactor()*Bt.length*en/sn+Ft+Ft},this).reduce(function(Bt,zn){return Math.max(Bt,zn)},0)};E.setTableHeaderRow=function(ot){ce.call(this),this.internal.__cell__.tableHeaderRow=ot},E.printHeaderRow=function(ot,At){if(ce.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var Ft;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=[],Bt=0;Bt<this.internal.__cell__.tableHeaderRow.length;Bt+=1){Ft=this.internal.__cell__.tableHeaderRow[Bt].clone(),At&&(Ft.y=this.internal.__cell__.margins.top||0,sn.push(Ft)),Ft.lineNumber=ot;var zn=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),nt.call(this,Ft),this.setTextColor(zn)}sn.length>0&&this.setTableHeaderRow(sn),this.setFont(void 0,"normal"),te=!1}}(_s.API);var Xd={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Rh=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],MA=$l(Rh),PA=[100,200,300,400,500,600,700,800,900],Qf=$l(PA);function Ff(E){var ne=E.family.replace(/"|'/g,"").toLowerCase(),te=function(Ce){return Xd[Ce=Ce||"normal"]?Ce:"normal"}(E.style),ce=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 MA[Ce=Ce||"normal"]=="number"?Ce:"normal"}(E.stretch);return{family:ne,style:te,weight:ce,stretch:ge,src:E.src||[],ref:E.ref||{name:ne,style:[ge,te,ce].join(" ")}}}function jf(E,ne,te,ce){var ge;for(ge=te;ge>=0&&ge<ne.length;ge+=ce)if(E[ne[ge]])return E[ne[ge]];for(ge=te;ge>=0&&ge<ne.length;ge-=ce)if(E[ne[ge]])return E[ne[ge]]}var Ah={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},nf={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function fh(E){return[E.stretch,E.style,E.weight,E.family].join(" ")}function c0(E){return E.trimLeft()}function kf(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 Uh(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 uA,fv,kp,_p,hg,hv,zg,pv,Wg=["times"];function pg(E,ne,te,ce,ge){var Ce=4,nt=gv;switch(ge){case _s.API.image_compression.FAST:Ce=1,nt=mv;break;case _s.API.image_compression.MEDIUM:Ce=6,nt=mm;break;case _s.API.image_compression.SLOW:Ce=9,nt=Zg}E=function(ot,At,Ft,en){for(var sn,Bt=ot.length/At,zn=new Uint8Array(ot.length+Bt),Nn=[Vv,mv,gv,mm,Zg],Yn=0;Yn<Bt;Yn+=1){var xn=Yn*At,Lr=ot.subarray(xn,xn+At);if(en)zn.set(en(Lr,Ft,sn),xn+Yn);else{for(var xr=Nn.length,sr=[],wi=0;wi<xr;wi+=1)sr[wi]=Nn[wi](Lr,Ft,sn);var qi=Zm(sr.concat());zn.set(sr[qi],xn+Yn)}sn=Lr}return zn}(E,ne,Math.ceil(te*ce/8),nt);var Ge=Ma(E,{level:Ce});return _s.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,ce=[];ce[0]=1;for(var ge=0;ge<te;ge+=1){var Ce=E[ge-ne]||0;ce[ge+1]=E[ge]-Ce+256&255}return ce}function gv(E,ne,te){var ce=E.length,ge=[];ge[0]=2;for(var Ce=0;Ce<ce;Ce+=1){var nt=te&&te[Ce]||0;ge[Ce+1]=E[Ce]-nt+256&255}return ge}function mm(E,ne,te){var ce=E.length,ge=[];ge[0]=3;for(var Ce=0;Ce<ce;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 ce=E.length,ge=[];ge[0]=4;for(var Ce=0;Ce<ce;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 ce=Math.abs(ne-te),ge=Math.abs(E-te),Ce=Math.abs(E+ne-te-te);return ce<=ge&&ce<=Ce?E:ge<=Ce?ne:te}function Zm(E){var ne=E.map(function(te){return te.reduce(function(ce,ge){return ce+Math.abs(ge)},0)});return ne.indexOf(Math.min.apply(null,ne))}function gg(E,ne,te){var ce=ne*te,ge=Math.floor(ce/8),Ce=16-(ce-8*ge+te),nt=(1<<te)-1;return Vm(E,ge)>>Ce&nt}function Mp(E,ne,te,ce){var ge=te*ce,Ce=Math.floor(ge/8),nt=16-(ge-8*Ce+ce),Ge=(1<<ce)-1,ot=(ne&Ge)<<nt;(function(At,Ft,en){if(Ft+1<At.byteLength)At.setUint16(Ft,en,!1);else{var sn=en>>8&255;At.setUint8(Ft,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,ce=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 At=!0,Ft=[],en=0,sn=null,Bt=0,zn=null;for(this.width=te,this.height=ce;At&&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,zn=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 Nn=E[ne++];en=E[ne++]|E[ne++]<<8,sn=E[ne++],1&Nn||(sn=null),Bt=Nn>>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 Yn=E[ne++]|E[ne++]<<8,xn=E[ne++]|E[ne++]<<8,Lr=E[ne++]|E[ne++]<<8,xr=E[ne++]|E[ne++]<<8,sr=E[ne++],wi=sr>>6&1,qi=1<<1+(7&sr),Qi=Ge,zr=ot,ur=!1;sr>>7&&(ur=!0,Qi=ne,zr=qi,ne+=3*qi);var ci=ne;for(ne++;;){var yn;if(!((yn=E[ne++])>=0))throw Error("Invalid block size");if(yn===0)break;ne+=yn}Ft.push({x:Yn,y:xn,width:Lr,height:xr,has_local_palette:ur,palette_offset:Qi,palette_size:zr,data_offset:ci,data_length:ne-ci,transparent_index:sn,interlaced:!!wi,delay:en,disposal:Bt});break;case 59:At=!1;break;default:throw new Error("Unknown gif block: 0x"+E[ne-1].toString(16))}this.numFrames=function(){return Ft.length},this.loopCount=function(){return zn},this.frameInfo=function(qn){if(qn<0||qn>=Ft.length)throw new Error("Frame index out of range.");return Ft[qn]},this.decodeAndBlitFrameBGRA=function(qn,Mr){var Br=this.frameInfo(qn),Fi=Br.width*Br.height,Ui=new Uint8Array(Fi);vv(E,Br.data_offset,Ui,Fi);var Gi=Br.palette_offset,xi=Br.transparent_index;xi===null&&(xi=256);var Wi=Br.width,mo=te-Wi,Ta=Wi,hn=4*(Br.y*te+Br.x),or=4*((Br.y+Br.height)*te+Br.x),pr=hn,Nr=4*mo;Br.interlaced===!0&&(Nr+=4*te*7);for(var Xr=8,pi=0,Di=Ui.length;pi<Di;++pi){var Ni=Ui[pi];if(Ta===0&&(Ta=Wi,(pr+=Nr)>=or&&(Nr=4*mo+4*te*(Xr-1),pr=hn+(Wi+mo)*(Xr<<1),Xr>>=1)),Ni===xi)pr+=4;else{var ba=E[Gi+3*Ni],co=E[Gi+3*Ni+1],Ho=E[Gi+3*Ni+2];Mr[pr++]=Ho,Mr[pr++]=co,Mr[pr++]=ba,Mr[pr++]=255}--Ta}},this.decodeAndBlitFrameRGBA=function(qn,Mr){var Br=this.frameInfo(qn),Fi=Br.width*Br.height,Ui=new Uint8Array(Fi);vv(E,Br.data_offset,Ui,Fi);var Gi=Br.palette_offset,xi=Br.transparent_index;xi===null&&(xi=256);var Wi=Br.width,mo=te-Wi,Ta=Wi,hn=4*(Br.y*te+Br.x),or=4*((Br.y+Br.height)*te+Br.x),pr=hn,Nr=4*mo;Br.interlaced===!0&&(Nr+=4*te*7);for(var Xr=8,pi=0,Di=Ui.length;pi<Di;++pi){var Ni=Ui[pi];if(Ta===0&&(Ta=Wi,(pr+=Nr)>=or&&(Nr=4*mo+4*te*(Xr-1),pr=hn+(Wi+mo)*(Xr<<1),Xr>>=1)),Ni===xi)pr+=4;else{var ba=E[Gi+3*Ni],co=E[Gi+3*Ni+1],Ho=E[Gi+3*Ni+2];Mr[pr++]=ba,Mr[pr++]=co,Mr[pr++]=Ho,Mr[pr++]=255}--Ta}}}function vv(E,ne,te,ce){for(var ge=E[ne++],Ce=1<<ge,nt=Ce+1,Ge=nt+1,ot=ge+1,At=(1<<ot)-1,Ft=0,en=0,sn=0,Bt=E[ne++],zn=new Int32Array(4096),Nn=null;;){for(;Ft<16&&Bt!==0;)en|=E[ne++]<<Ft,Ft+=8,Bt===1?Bt=E[ne++]:--Bt;if(Ft<ot)break;var Yn=en&At;if(en>>=ot,Ft-=ot,Yn!==Ce){if(Yn===nt)break;for(var xn=Yn<Ge?Yn:Nn,Lr=0,xr=xn;xr>Ce;)xr=zn[xr]>>8,++Lr;var sr=xr;if(sn+Lr+(xn!==Yn?1:0)>ce)return void fu.log("Warning, gif stream longer than expected.");te[sn++]=sr;var wi=sn+=Lr;for(xn!==Yn&&(te[sn++]=sr),xr=xn;Lr--;)xr=zn[xr],te[--wi]=255&xr,xr>>=8;Nn!==null&&Ge<4096&&(zn[Ge++]=Nn<<8|sr,Ge>=At+1&&ot<12&&(++ot,At=At<<1|1)),Nn=Yn}else Ge=nt+1,At=(1<<(ot=ge+1))-1,Nn=null}return sn!==ce&&fu.log("Warning, gif stream shorter than expected."),te}function Gg(E){var ne,te,ce,ge,Ce,nt=Math.floor,Ge=new Array(64),ot=new Array(64),At=new Array(64),Ft=new Array(64),en=new Array(65535),sn=new Array(65535),Bt=new Array(64),zn=new Array(64),Nn=[],Yn=0,xn=7,Lr=new Array(64),xr=new Array(64),sr=new Array(64),wi=new Array(256),qi=new Array(2048),Qi=[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],zr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],ur=[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],qn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Mr=[0,1,2,3,4,5,6,7,8,9,10,11],Br=[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 Ui(hn,or){for(var pr=0,Nr=0,Xr=new Array,pi=1;pi<=16;pi++){for(var Di=1;Di<=hn[pi];Di++)Xr[or[Nr]]=[],Xr[or[Nr]][0]=pr,Xr[or[Nr]][1]=pi,Nr++,pr++;pr*=2}return Xr}function Gi(hn){for(var or=hn[0],pr=hn[1]-1;pr>=0;)or&1<<pr&&(Yn|=1<<xn),pr--,--xn<0&&(Yn==255?(xi(255),xi(0)):xi(Yn),xn=7,Yn=0)}function xi(hn){Nn.push(hn)}function Wi(hn){xi(hn>>8&255),xi(255&hn)}function mo(hn,or,pr,Nr,Xr){for(var pi,Di=Xr[0],Ni=Xr[240],ba=function(ao,il){var qo,Hs,el,Du,Ou,Sl,Eu,vu,Ls,tu,Qs=0;for(Ls=0;Ls<8;++Ls){qo=ao[Qs],Hs=ao[Qs+1],el=ao[Qs+2],Du=ao[Qs+3],Ou=ao[Qs+4],Sl=ao[Qs+5],Eu=ao[Qs+6];var Kd=qo+(vu=ao[Qs+7]),Ju=qo-vu,pu=Hs+Eu,yu=Hs-Eu,fd=el+Sl,Ws=el-Sl,zc=Du+Ou,El=Du-Ou,zl=Kd+zc,Ic=Kd-zc,Ol=pu+fd,al=pu-fd;ao[Qs]=zl+Ol,ao[Qs+4]=zl-Ol;var fc=.707106781*(al+Ic);ao[Qs+2]=Ic+fc,ao[Qs+6]=Ic-fc;var Lp=.382683433*((zl=El+Ws)-(al=yu+Ju)),cA=.5411961*zl+Lp,Q0=1.306562965*al+Lp,d0=.707106781*(Ol=Ws+yu),pl=Ju+d0,j0=Ju-d0;ao[Qs+5]=j0+cA,ao[Qs+3]=j0-cA,ao[Qs+1]=pl+Q0,ao[Qs+7]=pl-Q0,Qs+=8}for(Qs=0,Ls=0;Ls<8;++Ls){qo=ao[Qs],Hs=ao[Qs+8],el=ao[Qs+16],Du=ao[Qs+24],Ou=ao[Qs+32],Sl=ao[Qs+40],Eu=ao[Qs+48];var K0=qo+(vu=ao[Qs+56]),Zf=qo-vu,Vf=Hs+Eu,Dd=Hs-Eu,nc=el+Sl,Wc=el-Sl,A0=Du+Ou,f0=Du-Ou,hh=K0+A0,Gf=K0-A0,TA=Vf+nc,Yf=Vf-nc;ao[Qs]=hh+TA,ao[Qs+32]=hh-TA;var ph=.707106781*(Yf+Gf);ao[Qs+16]=Gf+ph,ao[Qs+48]=Gf-ph;var Dp=.382683433*((hh=f0+Wc)-(Yf=Dd+Zf)),h0=.5411961*hh+Dp,Op=1.306562965*Yf+Dp,Np=.707106781*(TA=Wc+Dd),gm=Zf+Np,Pp=Zf-Np;ao[Qs+40]=Pp+h0,ao[Qs+24]=Pp-h0,ao[Qs+8]=gm+Op,ao[Qs+56]=gm-Op,Qs++}for(Ls=0;Ls<64;++Ls)tu=ao[Ls]*il[Ls],Bt[Ls]=tu>0?tu+.5|0:tu-.5|0;return Bt}(hn,or),co=0;co<64;++co)zn[Qi[co]]=ba[co];var Ho=zn[0]-pr;pr=zn[0],Ho==0?Gi(Nr[0]):(Gi(Nr[sn[pi=32767+Ho]]),Gi(en[pi]));for(var Ko=63;Ko>0&&zn[Ko]==0;)Ko--;if(Ko==0)return Gi(Di),pr;for(var zs,Wn=1;Wn<=Ko;){for(var Yo=Wn;zn[Wn]==0&&Wn<=Ko;)++Wn;var hu=Wn-Yo;if(hu>=16){zs=hu>>4;for(var hl=1;hl<=zs;++hl)Gi(Ni);hu&=15}pi=32767+zn[Wn],Gi(Xr[(hu<<4)+sn[pi]]),Gi(en[pi]),Wn++}return Ko!=63&&Gi(Di),pr}function Ta(hn){hn=Math.min(Math.max(hn,1),100),Ce!=hn&&(function(or){for(var pr=[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],Nr=0;Nr<64;Nr++){var Xr=nt((pr[Nr]*or+50)/100);Xr=Math.min(Math.max(Xr,1),255),Ge[Qi[Nr]]=Xr}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],Di=0;Di<64;Di++){var Ni=nt((pi[Di]*or+50)/100);Ni=Math.min(Math.max(Ni,1),255),ot[Qi[Di]]=Ni}for(var ba=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],co=0,Ho=0;Ho<8;Ho++)for(var Ko=0;Ko<8;Ko++)At[co]=1/(Ge[Qi[co]]*ba[Ho]*ba[Ko]*8),Ft[co]=1/(ot[Qi[co]]*ba[Ho]*ba[Ko]*8),co++}(hn<50?Math.floor(5e3/hn):Math.floor(200-2*hn)),Ce=hn)}this.encode=function(hn,or){or&&Ta(or),Nn=new Array,Yn=0,xn=7,Wi(65496),Wi(65504),Wi(16),xi(74),xi(70),xi(73),xi(70),xi(0),xi(1),xi(1),xi(0),Wi(1),Wi(1),xi(0),xi(0),function(){Wi(65499),Wi(132),xi(0);for(var Hs=0;Hs<64;Hs++)xi(Ge[Hs]);xi(1);for(var el=0;el<64;el++)xi(ot[el])}(),function(Hs,el){Wi(65472),Wi(17),xi(8),Wi(el),Wi(Hs),xi(3),xi(1),xi(17),xi(0),xi(2),xi(17),xi(1),xi(3),xi(17),xi(1)}(hn.width,hn.height),function(){Wi(65476),Wi(418),xi(0);for(var Hs=0;Hs<16;Hs++)xi(zr[Hs+1]);for(var el=0;el<=11;el++)xi(ur[el]);xi(16);for(var Du=0;Du<16;Du++)xi(ci[Du+1]);for(var Ou=0;Ou<=161;Ou++)xi(yn[Ou]);xi(1);for(var Sl=0;Sl<16;Sl++)xi(qn[Sl+1]);for(var Eu=0;Eu<=11;Eu++)xi(Mr[Eu]);xi(17);for(var vu=0;vu<16;vu++)xi(Br[vu+1]);for(var Ls=0;Ls<=161;Ls++)xi(Fi[Ls])}(),Wi(65498),Wi(12),xi(3),xi(1),xi(0),xi(2),xi(17),xi(3),xi(17),xi(0),xi(63),xi(0);var pr=0,Nr=0,Xr=0;Yn=0,xn=7,this.encode.displayName="_encode_";for(var pi,Di,Ni,ba,co,Ho,Ko,zs,Wn,Yo=hn.data,hu=hn.width,hl=hn.height,ao=4*hu,il=0;il<hl;){for(pi=0;pi<ao;){for(co=ao*il+pi,Ko=-1,zs=0,Wn=0;Wn<64;Wn++)Ho=co+(zs=Wn>>3)*ao+(Ko=4*(7&Wn)),il+zs>=hl&&(Ho-=ao*(il+1+zs-hl)),pi+Ko>=ao&&(Ho-=pi+Ko-ao+4),Di=Yo[Ho++],Ni=Yo[Ho++],ba=Yo[Ho++],Lr[Wn]=(qi[Di]+qi[Ni+256|0]+qi[ba+512|0]>>16)-128,xr[Wn]=(qi[Di+768|0]+qi[Ni+1024|0]+qi[ba+1280|0]>>16)-128,sr[Wn]=(qi[Di+1280|0]+qi[Ni+1536|0]+qi[ba+1792|0]>>16)-128;pr=mo(Lr,At,pr,ne,ce),Nr=mo(xr,Ft,Nr,te,ge),Xr=mo(sr,Ft,Xr,te,ge),pi+=32}il+=8}if(xn>=0){var qo=[];qo[1]=xn+1,qo[0]=(1<<xn+1)-1,Gi(qo)}return Wi(65497),new Uint8Array(Nn)},E=E||50,function(){for(var hn=String.fromCharCode,or=0;or<256;or++)wi[or]=hn(or)}(),ne=Ui(zr,ur),te=Ui(qn,Mr),ce=Ui(ci,yn),ge=Ui(Br,Fi),function(){for(var hn=1,or=2,pr=1;pr<=15;pr++){for(var Nr=hn;Nr<or;Nr++)sn[32767+Nr]=pr,en[32767+Nr]=[],en[32767+Nr][1]=pr,en[32767+Nr][0]=Nr;for(var Xr=-(or-1);Xr<=-hn;Xr++)sn[32767+Xr]=pr,en[32767+Xr]=[],en[32767+Xr][1]=pr,en[32767+Xr][0]=or-1+Xr;hn<<=1,or<<=1}}(),function(){for(var hn=0;hn<256;hn++)qi[hn]=19595*hn,qi[hn+256|0]=38470*hn,qi[hn+512|0]=7471*hn+32768,qi[hn+768|0]=-11059*hn,qi[hn+1024|0]=-21709*hn,qi[hn+1280|0]=32768*hn+8421375,qi[hn+1536|0]=-27439*hn,qi[hn+1792|0]=-5329*hn}(),Ta(E)}function Kf(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(ur){if(!ur)throw Error("assert :P")}function te(ur,ci,yn){for(var qn=0;4>qn;qn++)if(ur[ci+qn]!=yn.charCodeAt(qn))return!0;return!1}function ce(ur,ci,yn,qn,Mr){for(var Br=0;Br<Mr;Br++)ur[ci+Br]=yn[qn+Br]}function ge(ur,ci,yn,qn){for(var Mr=0;Mr<qn;Mr++)ur[ci+Mr]=yn}function Ce(ur){return new Int32Array(ur)}function nt(ur,ci){for(var yn=[],qn=0;qn<ur;qn++)yn.push(new ci);return yn}function Ge(ur,ci){var yn=[];return function qn(Mr,Br,Fi){for(var Ui=Fi[Br],Gi=0;Gi<Ui&&(Mr.push(Fi.length>Br+1?[]:new ci),!(Fi.length<Br+1));Gi++)qn(Mr[Gi],Br+1,Fi)}(yn,0,ur),yn}var ot=function(){var ur=this;function ci(we,je){for(var st=1<<je-1>>>0;we&st;)st>>>=1;return st?(we&st-1)+st:we}function yn(we,je,st,Nt,rn){ne(!(Nt%st));do we[je+(Nt-=st)]=rn;while(0<Nt)}function qn(we,je,st,Nt,rn){if(ne(2328>=rn),512>=rn)var ln=Ce(512);else if((ln=Ce(rn))==null)return 0;return function(cn,bn,Fn,Pn,Cr,ai){var $n,Kr,ri=bn,Zi=1<<Fn,Ai=Ce(16),na=Ce(16);for(ne(Cr!=0),ne(Pn!=null),ne(cn!=null),ne(0<Fn),Kr=0;Kr<Cr;++Kr){if(15<Pn[Kr])return 0;++Ai[Pn[Kr]]}if(Ai[0]==Cr)return 0;for(na[1]=0,$n=1;15>$n;++$n){if(Ai[$n]>1<<$n)return 0;na[$n+1]=na[$n]+Ai[$n]}for(Kr=0;Kr<Cr;++Kr)$n=Pn[Kr],0<Pn[Kr]&&(ai[na[$n]++]=Kr);if(na[15]==1)return(Pn=new Mr).g=0,Pn.value=ai[0],yn(cn,ri,1,Zi,Pn),Zi;var xa,go=-1,Xa=Zi-1,Zs=0,Bs=1,wu=1,Ts=1<<Fn;for(Kr=0,$n=1,Cr=2;$n<=Fn;++$n,Cr<<=1){if(Bs+=wu<<=1,0>(wu-=Ai[$n]))return 0;for(;0<Ai[$n];--Ai[$n])(Pn=new Mr).g=$n,Pn.value=ai[Kr++],yn(cn,ri+Zs,Cr,Ts,Pn),Zs=ci(Zs,$n)}for($n=Fn+1,Cr=2;15>=$n;++$n,Cr<<=1){if(Bs+=wu<<=1,0>(wu-=Ai[$n]))return 0;for(;0<Ai[$n];--Ai[$n]){if(Pn=new Mr,(Zs&Xa)!=go){for(ri+=Ts,xa=1<<(go=$n)-Fn;15>go&&!(0>=(xa-=Ai[go]));)++go,xa<<=1;Zi+=Ts=1<<(xa=go-Fn),cn[bn+(go=Zs&Xa)].g=xa+Fn,cn[bn+go].value=ri-bn-go}Pn.g=$n-Fn,Pn.value=ai[Kr++],yn(cn,ri+(Zs>>Fn),Cr,Ts,Pn),Zs=ci(Zs,$n)}}return Bs!=2*na[15]-1?0:Zi}(we,je,st,Nt,rn,ln)}function Mr(){this.value=this.g=0}function Br(){this.value=this.g=0}function Fi(){this.G=nt(5,Mr),this.H=Ce(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=nt(Zp,Br)}function Ui(we,je,st,Nt){ne(we!=null),ne(je!=null),ne(2147483648>Nt),we.Ca=254,we.I=0,we.b=-8,we.Ka=0,we.oa=je,we.pa=st,we.Jd=je,we.Yc=st+Nt,we.Zc=4<=Nt?st+Nt-4+1:st,Di(we)}function Gi(we,je){for(var st=0;0<je--;)st|=ba(we,128)<<je;return st}function xi(we,je){var st=Gi(we,je);return Ni(we)?-st:st}function Wi(we,je,st,Nt){var rn,ln=0;for(ne(we!=null),ne(je!=null),ne(4294967288>Nt),we.Sb=Nt,we.Ra=0,we.u=0,we.h=0,4<Nt&&(Nt=4),rn=0;rn<Nt;++rn)ln+=je[st+rn]<<8*rn;we.Ra=ln,we.bb=Nt,we.oa=je,we.pa=st}function mo(we){for(;8<=we.u&&we.bb<we.Sb;)we.Ra>>>=8,we.Ra+=we.oa[we.pa+we.bb]<<Vp-8>>>0,++we.bb,we.u-=8;Nr(we)&&(we.h=1,we.u=0)}function Ta(we,je){if(ne(0<=je),!we.h&&je<=Jf){var st=pr(we)&sf[je];return we.u+=je,mo(we),st}return we.h=1,we.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 or(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function pr(we){return we.Ra>>>(we.u&Vp-1)>>>0}function Nr(we){return ne(we.bb<=we.Sb),we.h||we.bb==we.Sb&&we.u>Vp}function Xr(we,je){we.u=je,we.h=Nr(we)}function pi(we){we.u>=mp&&(ne(we.u>=mp),mo(we))}function Di(we){ne(we!=null&&we.oa!=null),we.pa<we.Zc?(we.I=(we.oa[we.pa++]|we.I<<8)>>>0,we.b+=8):(ne(we!=null&&we.oa!=null),we.pa<we.Yc?(we.b+=8,we.I=we.oa[we.pa++]|we.I<<8):we.Ka?we.b=0:(we.I<<=8,we.b+=8,we.Ka=1))}function Ni(we){return Gi(we,1)}function ba(we,je){var st=we.Ca;0>we.b&&Di(we);var Nt=we.b,rn=st*je>>>8,ln=(we.I>>>Nt>rn)+0;for(ln?(st-=rn,we.I-=rn+1<<Nt>>>0):st=rn+1,Nt=st,rn=0;256<=Nt;)rn+=8,Nt>>=8;return Nt=7^rn+C0[Nt],we.b-=Nt,we.Ca=(st<<Nt)-1,ln}function co(we,je,st){we[je+0]=st>>24&255,we[je+1]=st>>16&255,we[je+2]=st>>8&255,we[je+3]=255&st}function Ho(we,je){return we[je+0]|we[je+1]<<8}function Ko(we,je){return Ho(we,je)|we[je+2]<<16}function zs(we,je){return Ho(we,je)|Ho(we,je+2)<<16}function Wn(we,je){var st=1<<je;return ne(we!=null),ne(0<je),we.X=Ce(st),we.X==null?0:(we.Mb=32-je,we.Xa=je,1)}function Yo(we,je){ne(we!=null),ne(je!=null),ne(we.Xa==je.Xa),ce(je.X,0,we.X,0,1<<je.Xa)}function hu(){this.X=[],this.Xa=this.Mb=0}function hl(we,je,st,Nt){ne(st!=null),ne(Nt!=null);var rn=st[0],ln=Nt[0];return rn==0&&(rn=(we*ln+je/2)/je),ln==0&&(ln=(je*rn+we/2)/we),0>=rn||0>=ln?0:(st[0]=rn,Nt[0]=ln,1)}function ao(we,je){return we+(1<<je)-1>>>je}function il(we,je){return((4278255360&we)+(4278255360&je)>>>0&4278255360)+((16711935&we)+(16711935&je)>>>0&16711935)>>>0}function qo(we,je){ur[je]=function(st,Nt,rn,ln,cn,bn,Fn){var Pn;for(Pn=0;Pn<cn;++Pn){var Cr=ur[we](bn[Fn+Pn-1],rn,ln+Pn);bn[Fn+Pn]=il(st[Nt+Pn],Cr)}}}function Hs(){this.ud=this.hd=this.jd=0}function el(we,je){return((4278124286&(we^je))>>>1)+(we&je)>>>0}function Du(we){return 0<=we&&256>we?we:0>we?0:255<we?255:void 0}function Ou(we,je){return Du(we+(we-je+.5>>1))}function Sl(we,je,st){return Math.abs(je-st)-Math.abs(we-st)}function Eu(we,je,st,Nt,rn,ln,cn){for(Nt=ln[cn-1],st=0;st<rn;++st)ln[cn+st]=Nt=il(we[je+st],Nt)}function vu(we,je,st,Nt,rn){var ln;for(ln=0;ln<st;++ln){var cn=we[je+ln],bn=cn>>8&255,Fn=16711935&(Fn=(Fn=16711935&cn)+((bn<<16)+bn));Nt[rn+ln]=(4278255360&cn)+Fn>>>0}}function Ls(we,je){je.jd=255&we,je.hd=we>>8&255,je.ud=we>>16&255}function tu(we,je,st,Nt,rn,ln){var cn;for(cn=0;cn<Nt;++cn){var bn=je[st+cn],Fn=bn>>>8,Pn=bn,Cr=255&(Cr=(Cr=bn>>>16)+((we.jd<<24>>24)*(Fn<<24>>24)>>>5));Pn=255&(Pn=(Pn+=(we.hd<<24>>24)*(Fn<<24>>24)>>>5)+((we.ud<<24>>24)*(Cr<<24>>24)>>>5)),rn[ln+cn]=(4278255360&bn)+(Cr<<16)+Pn}}function Qs(we,je,st,Nt,rn){ur[je]=function(ln,cn,bn,Fn,Pn,Cr,ai,$n,Kr){for(Fn=ai;Fn<$n;++Fn)for(ai=0;ai<Kr;++ai)Pn[Cr++]=rn(bn[Nt(ln[cn++])])},ur[we]=function(ln,cn,bn,Fn,Pn,Cr,ai){var $n=8>>ln.b,Kr=ln.Ea,ri=ln.K[0],Zi=ln.w;if(8>$n)for(ln=(1<<ln.b)-1,Zi=(1<<$n)-1;cn<bn;++cn){var Ai,na=0;for(Ai=0;Ai<Kr;++Ai)Ai&ln||(na=Nt(Fn[Pn++])),Cr[ai++]=rn(ri[na&Zi]),na>>=$n}else ur["VP8LMapColor"+st](Fn,Pn,ri,Zi,Cr,ai,cn,bn,Kr)}}function Kd(we,je,st,Nt,rn){for(st=je+st;je<st;){var ln=we[je++];Nt[rn++]=ln>>16&255,Nt[rn++]=ln>>8&255,Nt[rn++]=255&ln}}function Ju(we,je,st,Nt,rn){for(st=je+st;je<st;){var ln=we[je++];Nt[rn++]=ln>>16&255,Nt[rn++]=ln>>8&255,Nt[rn++]=255&ln,Nt[rn++]=ln>>24&255}}function pu(we,je,st,Nt,rn){for(st=je+st;je<st;){var ln=(cn=we[je++])>>16&240|cn>>12&15,cn=240&cn|cn>>28&15;Nt[rn++]=ln,Nt[rn++]=cn}}function yu(we,je,st,Nt,rn){for(st=je+st;je<st;){var ln=(cn=we[je++])>>16&248|cn>>13&7,cn=cn>>5&224|cn>>3&31;Nt[rn++]=ln,Nt[rn++]=cn}}function fd(we,je,st,Nt,rn){for(st=je+st;je<st;){var ln=we[je++];Nt[rn++]=255&ln,Nt[rn++]=ln>>8&255,Nt[rn++]=ln>>16&255}}function Ws(we,je,st,Nt,rn,ln){if(ln==0)for(st=je+st;je<st;)co(Nt,((ln=we[je++])[0]>>24|ln[1]>>8&65280|ln[2]<<8&16711680|ln[3]<<24)>>>0),rn+=32;else ce(Nt,rn,we,je,st)}function zc(we,je){ur[je][0]=ur[we+"0"],ur[je][1]=ur[we+"1"],ur[je][2]=ur[we+"2"],ur[je][3]=ur[we+"3"],ur[je][4]=ur[we+"4"],ur[je][5]=ur[we+"5"],ur[je][6]=ur[we+"6"],ur[je][7]=ur[we+"7"],ur[je][8]=ur[we+"8"],ur[je][9]=ur[we+"9"],ur[je][10]=ur[we+"10"],ur[je][11]=ur[we+"11"],ur[je][12]=ur[we+"12"],ur[je][13]=ur[we+"13"],ur[je][14]=ur[we+"0"],ur[je][15]=ur[we+"0"]}function El(we){return we==sv||we==E0||we==Nd||we==qp}function zl(){this.eb=[],this.size=this.A=this.fb=0}function Ic(){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 Ol(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new zl,this.f.kb=new Ic,this.sd=null}function al(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fc(){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 Lp(we){return alert("todo:WebPSamplerProcessPlane"),we.T}function cA(we,je){var st=we.T,Nt=je.ba.f.RGBA,rn=Nt.eb,ln=Nt.fb+we.ka*Nt.A,cn=wh[je.ba.S],bn=we.y,Fn=we.O,Pn=we.f,Cr=we.N,ai=we.ea,$n=we.W,Kr=je.cc,ri=je.dc,Zi=je.Mc,Ai=je.Nc,na=we.ka,xa=we.ka+we.T,go=we.U,Xa=go+1>>1;for(na==0?cn(bn,Fn,null,null,Pn,Cr,ai,$n,Pn,Cr,ai,$n,rn,ln,null,null,go):(cn(je.ec,je.fc,bn,Fn,Kr,ri,Zi,Ai,Pn,Cr,ai,$n,rn,ln-Nt.A,rn,ln,go),++st);na+2<xa;na+=2)Kr=Pn,ri=Cr,Zi=ai,Ai=$n,Cr+=we.Rc,$n+=we.Rc,ln+=2*Nt.A,cn(bn,(Fn+=2*we.fa)-we.fa,bn,Fn,Kr,ri,Zi,Ai,Pn,Cr,ai,$n,rn,ln-Nt.A,rn,ln,go);return Fn+=we.fa,we.j+xa<we.o?(ce(je.ec,je.fc,bn,Fn,go),ce(je.cc,je.dc,Pn,Cr,Xa),ce(je.Mc,je.Nc,ai,$n,Xa),st--):1&xa||cn(bn,Fn,null,null,Pn,Cr,ai,$n,Pn,Cr,ai,$n,rn,ln+Nt.A,null,null,go),st}function Q0(we,je,st){var Nt=we.F,rn=[we.J];if(Nt!=null){var ln=we.U,cn=je.ba.S,bn=cn==Lm||cn==Nd;je=je.ba.f.RGBA;var Fn=[0],Pn=we.ka;Fn[0]=we.T,we.Kb&&(Pn==0?--Fn[0]:(--Pn,rn[0]-=we.width),we.j+we.ka+we.T==we.o&&(Fn[0]=we.o-we.j-Pn));var Cr=je.eb;Pn=je.fb+Pn*je.A,we=iv(Nt,rn[0],we.width,ln,Fn,Cr,Pn+(bn?0:3),je.A),ne(st==Fn),we&&El(cn)&&lg(Cr,Pn,bn,ln,Fn,je.A)}return 0}function d0(we){var je=we.ma,st=je.ba.S,Nt=11>st,rn=st==Rg||st==ug||st==Lm||st==ov||st==12||El(st);if(je.memory=null,je.Ib=null,je.Jb=null,je.Nd=null,!pd(je.Oa,we,rn?11:12))return 0;if(rn&&El(st)&&Wh(),we.da)alert("todo:use_scaling");else{if(Nt){if(je.Ib=Lp,we.Kb){if(st=we.U+1>>1,je.memory=Ce(we.U+2*st),je.memory==null)return 0;je.ec=je.memory,je.fc=0,je.cc=je.ec,je.dc=je.fc+we.U,je.Mc=je.cc,je.Nc=je.dc+st,je.Ib=cA,Wh()}}else alert("todo:EmitYUV");rn&&(je.Jb=Q0,Nt&&zh())}if(Nt&&!pn){for(we=0;256>we;++we)Vn[we]=89858*(we-128)+tt>>ye,ja[we]=-22014*(we-128)+tt,di[we]=-45773*(we-128),ar[we]=113618*(we-128)+tt>>ye;for(we=ut;we<gt;++we)je=76283*(we-16)+tt>>ye,oi[we-ut]=af(je,255),$i[we-ut]=af(je+8>>4,15);pn=1}return 1}function pl(we){var je=we.ma,st=we.U,Nt=we.T;return ne(!(1&we.ka)),0>=st||0>=Nt?0:(st=je.Ib(we,je),je.Jb!=null&&je.Jb(we,je,st),je.Dc+=st,1)}function j0(we){we.ma.memory=null}function K0(we,je,st,Nt){return Ta(we,8)!=47?0:(je[0]=Ta(we,14)+1,st[0]=Ta(we,14)+1,Nt[0]=Ta(we,1),Ta(we,3)!=0?0:!we.h)}function Zf(we,je){if(4>we)return we+1;var st=we-2>>1;return(2+(1&we)<<st)+Ta(je,st)+1}function Vf(we,je){return 120<je?je-120:1<=(st=((st=Ov[je-1])>>4)*we+(8-(15&st)))?st:1;var st}function Dd(we,je,st){var Nt=pr(st),rn=we[je+=255&Nt].g-8;return 0<rn&&(Xr(st,st.u+8),Nt=pr(st),je+=we[je].value,je+=Nt&(1<<rn)-1),Xr(st,st.u+we[je].g),we[je].value}function nc(we,je,st){return st.g+=we.g,st.value+=we.value<<je>>>0,ne(8>=st.g),we.g}function Wc(we,je,st){var Nt=we.xc;return ne((je=Nt==0?0:we.vc[we.md*(st>>Nt)+(je>>Nt)])<we.Wb),we.Ya[je]}function A0(we,je,st,Nt){var rn=we.ab,ln=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ea,Pn.b)),Kr=Fn,na=bn,Zi=[],xa=(go=xa)-1;0<=xa;--xa)Zi[xa]=Kr[na+xa];for(xa=go-1;0<=xa;--xa)Ai[$n+xa]=Zi[xa];Ig(Pn,Cr,ai,Fn,ri,Fn,bn)}else Ig(Pn,Cr,ai,$n,Kr,Fn,bn)}bn=Nt,Fn=st}Fn!=st&&ce(Nt,st,bn,Fn,ln)}function f0(we,je){var st=we.V,Nt=we.Ba+we.c*we.C,rn=je-we.C;if(ne(je<=we.l.o),ne(16>=rn),0<rn){var ln=we.l,cn=we.Ta,bn=we.Ua,Fn=ln.width;if(A0(we,rn,st,Nt),rn=bn=[bn],ne((st=we.C)<(Nt=je)),ne(ln.v<ln.va),Nt>ln.o&&(Nt=ln.o),st<ln.j){var Pn=ln.j-st;st=ln.j,rn[0]+=Pn*Fn}if(st>=Nt?st=0:(rn[0]+=4*ln.v,ln.ka=st-ln.j,ln.U=ln.va-ln.v,ln.T=Nt-st,st=1),st){if(bn=bn[0],11>(st=we.ca).S){var Cr=st.f.RGBA,ai=(Nt=st.S,rn=ln.U,ln=ln.T,Pn=Cr.eb,Cr.A),$n=ln;for(Cr=Cr.fb+we.Ma*Cr.A;0<$n--;){var Kr=cn,ri=bn,Zi=rn,Ai=Pn,na=Cr;switch(Nt){case Tg:Mm(Kr,ri,Zi,Ai,na);break;case Rg:X0(Kr,ri,Zi,Ai,na);break;case sv:X0(Kr,ri,Zi,Ai,na),lg(Ai,na,0,Zi,1,0);break;case Iv:vp(Kr,ri,Zi,Ai,na);break;case ug:Ws(Kr,ri,Zi,Ai,na,1);break;case E0:Ws(Kr,ri,Zi,Ai,na,1),lg(Ai,na,0,Zi,1,0);break;case Lm:Ws(Kr,ri,Zi,Ai,na,0);break;case Nd:Ws(Kr,ri,Zi,Ai,na,0),lg(Ai,na,1,Zi,1,0);break;case ov:gp(Kr,ri,Zi,Ai,na);break;case qp:gp(Kr,ri,Zi,Ai,na),Ev(Ai,na,Zi,1,0);break;case bu:Ku(Kr,ri,Zi,Ai,na);break;default:ne(0)}bn+=Fn,Cr+=ai}we.Ma+=ln}else alert("todo:EmitRescaledRowsYUVA");ne(we.Ma<=st.height)}}we.C=je,ne(we.C<=we.i)}function hh(we){var je;if(0<we.ua)return 0;for(je=0;je<we.Wb;++je){var st=we.Ya[je].G,Nt=we.Ya[je].H;if(0<st[1][Nt[1]+0].g||0<st[2][Nt[2]+0].g||0<st[3][Nt[3]+0].g)return 0}return 1}function Gf(we,je,st,Nt,rn,ln){if(we.Z!=0){var cn=we.qd,bn=we.rd;for(ne(wp[we.Z]!=null);je<st;++je)wp[we.Z](cn,bn,Nt,rn,Nt,rn,ln),cn=Nt,bn=rn,rn+=ln;we.qd=cn,we.rd=bn}}function TA(we,je){var st=we.l.ma,Nt=st.Z==0||st.Z==1?we.l.j:we.C;if(Nt=we.C<Nt?Nt:we.C,ne(je<=we.l.o),je>Nt){var rn=we.l.width,ln=st.ca,cn=st.tb+rn*Nt,bn=we.V,Fn=we.Ba+we.c*Nt,Pn=we.gc;ne(we.ab==1),ne(Pn[0].hc==3),vh(Pn[0],Nt,je,bn,Fn,ln,cn),Gf(st,Nt,je,ln,cn,rn)}we.C=we.Ma=je}function Yf(we,je,st,Nt,rn,ln,cn){var bn=we.$/Nt,Fn=we.$%Nt,Pn=we.m,Cr=we.s,ai=st+we.$,$n=ai;rn=st+Nt*rn;var Kr=st+Nt*ln,ri=280+Cr.ua,Zi=we.Pb?bn:16777216,Ai=0<Cr.ua?Cr.Wa:null,na=Cr.wc,xa=ai<Kr?Wc(Cr,Fn,bn):null;ne(we.C<ln),ne(Kr<=rn);var go=!1;e:for(;;){for(;go||ai<Kr;){var Xa=0;if(bn>=Zi){var Zs=ai-st;ne((Zi=we).Pb),Zi.wd=Zi.m,Zi.xd=Zs,0<Zi.s.ua&&Yo(Zi.s.Wa,Zi.s.vb),Zi=bn+Pv}if(Fn&na||(xa=Wc(Cr,Fn,bn)),ne(xa!=null),xa.Qb&&(je[ai]=xa.qb,go=!0),!go)if(pi(Pn),xa.jc){Xa=Pn,Zs=je;var Bs=ai,wu=xa.pd[pr(Xa)&Zp-1];ne(xa.jc),256>wu.g?(Xr(Xa,Xa.u+wu.g),Zs[Bs]=wu.value,Xa=0):(Xr(Xa,Xa.u+wu.g-256),ne(256<=wu.value),Xa=wu.value),Xa==0&&(go=!0)}else Xa=Dd(xa.G[0],xa.H[0],Pn);if(Pn.h)break;if(go||256>Xa){if(!go)if(xa.nd)je[ai]=(xa.qb|Xa<<8)>>>0;else{if(pi(Pn),go=Dd(xa.G[1],xa.H[1],Pn),pi(Pn),Zs=Dd(xa.G[2],xa.H[2],Pn),Bs=Dd(xa.G[3],xa.H[3],Pn),Pn.h)break;je[ai]=(Bs<<24|go<<16|Xa<<8|Zs)>>>0}if(go=!1,++ai,++Fn>=Nt&&(Fn=0,++bn,cn!=null&&bn<=ln&&!(bn%16)&&cn(we,bn),Ai!=null))for(;$n<ai;)Xa=je[$n++],Ai.X[(506832829*Xa&4294967295)>>>Ai.Mb]=Xa}else if(280>Xa){if(Xa=Zf(Xa-256,Pn),Zs=Dd(xa.G[4],xa.H[4],Pn),pi(Pn),Zs=Vf(Nt,Zs=Zf(Zs,Pn)),Pn.h)break;if(ai-st<Zs||rn-ai<Xa)break e;for(Bs=0;Bs<Xa;++Bs)je[ai+Bs]=je[ai+Bs-Zs];for(ai+=Xa,Fn+=Xa;Fn>=Nt;)Fn-=Nt,++bn,cn!=null&&bn<=ln&&!(bn%16)&&cn(we,bn);if(ne(ai<=rn),Fn&na&&(xa=Wc(Cr,Fn,bn)),Ai!=null)for(;$n<ai;)Xa=je[$n++],Ai.X[(506832829*Xa&4294967295)>>>Ai.Mb]=Xa}else{if(!(Xa<ri))break e;for(go=Xa-280,ne(Ai!=null);$n<ai;)Xa=je[$n++],Ai.X[(506832829*Xa&4294967295)>>>Ai.Mb]=Xa;Xa=ai,ne(!(go>>>(Zs=Ai).Xa)),je[Xa]=Zs.X[go],go=!0}go||ne(Pn.h==Nr(Pn))}if(we.Pb&&Pn.h&&ai<rn)ne(we.m.h),we.a=5,we.m=we.wd,we.$=we.xd,0<we.s.ua&&Yo(we.s.vb,we.s.Wa);else{if(Pn.h)break e;cn!=null&&cn(we,bn>ln?ln:bn),we.a=0,we.$=ai-st}return 1}return we.a=3,0}function ph(we){ne(we!=null),we.vc=null,we.yc=null,we.Ya=null;var je=we.Wa;je!=null&&(je.X=null),we.vb=null,ne(we!=null)}function Dp(){var we=new Fl;return we==null?null:(we.a=0,we.xb=a1,zc("Predictor","VP8LPredictors"),zc("Predictor","VP8LPredictors_C"),zc("PredictorAdd","VP8LPredictorsAdd"),zc("PredictorAdd","VP8LPredictorsAdd_C"),Ed=vu,og=tu,Mm=Kd,X0=Ju,gp=pu,Ku=yu,vp=fd,ur.VP8LMapColor32b=gh,ur.VP8LMapColor8b=Gp,we)}function h0(we,je,st,Nt,rn){var ln=1,cn=[we],bn=[je],Fn=Nt.m,Pn=Nt.s,Cr=null,ai=0;e:for(;;){if(st)for(;ln&&Ta(Fn,1);){var $n=cn,Kr=bn,ri=Nt,Zi=1,Ai=ri.m,na=ri.gc[ri.ab],xa=Ta(Ai,2);if(ri.Oc&1<<xa)ln=0;else{switch(ri.Oc|=1<<xa,na.hc=xa,na.Ea=$n[0],na.nc=Kr[0],na.K=[null],++ri.ab,ne(4>=ri.ab),xa){case 0:case 1:na.b=Ta(Ai,3)+2,Zi=h0(ao(na.Ea,na.b),ao(na.nc,na.b),0,ri,na.K),na.K=na.K[0];break;case 3:var go,Xa=Ta(Ai,8)+1,Zs=16<Xa?0:4<Xa?1:2<Xa?2:3;if($n[0]=ao(na.Ea,Zs),na.b=Zs,go=Zi=h0(Xa,1,0,ri,na.K)){var Bs,wu=Xa,Ts=na,rc=1<<(8>>Ts.b),HA=Ce(rc);if(HA==null)go=0;else{var xu=Ts.K[0],Rs=Ts.w;for(HA[0]=Ts.K[0][0],Bs=1;Bs<1*wu;++Bs)HA[Bs]=il(xu[Rs+Bs],HA[Bs-1]);for(;Bs<4*rc;++Bs)HA[Bs]=0;Ts.K[0]=null,Ts.K[0]=HA,go=1}}Zi=go;break;case 2:break;default:ne(0)}ln=Zi}}if(cn=cn[0],bn=bn[0],ln&&Ta(Fn,1)&&!(ln=1<=(ai=Ta(Fn,4))&&11>=ai)){Nt.a=3;break e}var Zo;if(Zo=ln)t:{var fA,uu,sc,Fd=Nt,hf=cn,$f=bn,eA=ai,Mf=st,eh=Fd.m,QA=Fd.s,hc=[null],Gc=1,tA=0,Yc=Nv[eA];n:for(;;){if(Mf&&Ta(eh,1)){var pf=Ta(eh,3)+2,$0=ao(hf,pf),hA=ao($f,pf),xh=$0*hA;if(!h0($0,hA,0,Fd,hc))break n;for(hc=hc[0],QA.xc=pf,fA=0;fA<xh;++fA){var ld=hc[fA]>>8&65535;hc[fA]=ld,ld>=Gc&&(Gc=ld+1)}}if(eh.h)break n;for(uu=0;5>uu;++uu){var jA=$p[uu];!uu&&0<eA&&(jA+=1<<eA),tA<jA&&(tA=jA)}var Gh=nt(Gc*Yc,Mr),th=Gc,Yh=nt(th,Fi);if(Yh==null)var Xh=null;else ne(65536>=th),Xh=Yh;var Ch=Ce(tA);if(Xh==null||Ch==null||Gh==null){Fd.a=1;break n}var Jh=Gh;for(fA=sc=0;fA<Gc;++fA){var md=Xh[fA],qh=md.G,ep=md.H,dg=0,tm=1,mf=0;for(uu=0;5>uu;++uu){jA=$p[uu],qh[uu]=Jh,ep[uu]=sc,!uu&&0<eA&&(jA+=1<<eA);i:{var Rv,o1=jA,Uv=Fd,uv=Ch,Ay=Jh,fy=sc,s1=0,Nm=Uv.m,hy=Ta(Nm,1);if(ge(uv,0,0,o1),hy){var py=Ta(Nm,1)+1,my=Ta(Nm,1),v1=Ta(Nm,my==0?1:8);uv[v1]=1,py==2&&(uv[v1=Ta(Nm,8)]=1);var Hv=1}else{var y1=Ce(19),b1=Ta(Nm,4)+4;if(19<b1){Uv.a=3;var Qv=0;break i}for(Rv=0;Rv<b1;++Rv)y1[Dv[Rv]]=Ta(Nm,3);var l1=void 0,cv=void 0,w1=Uv,gy=y1,jv=o1,x1=uv,u1=0,Pm=w1.m,C1=8,B1=nt(128,Mr);r:for(;qn(B1,0,7,gy,19);){if(Ta(Pm,1)){var vy=2+2*Ta(Pm,3);if((l1=2+Ta(Pm,vy))>jv)break r}else l1=jv;for(cv=0;cv<jv&&l1--;){pi(Pm);var S1=B1[0+(127&pr(Pm))];Xr(Pm,Pm.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=Ta(Pm,q0[E1])+by;if(cv+F1>jv)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&&!Nm.h)&&(s1=qn(Ay,fy,8,uv,o1)),Hv&&s1!=0?Qv=s1:(Uv.a=3,Qv=0)}if(Qv==0)break n;if(tm&&Lv[uu]==1&&(tm=Jh[sc].g==0),dg+=Jh[sc].g,sc+=Qv,3>=uu){var dv,c1=Ch[0];for(dv=1;dv<jA;++dv)Ch[dv]>c1&&(c1=Ch[dv]);mf+=c1}}if(md.nd=tm,md.Qb=0,tm&&(md.qb=(qh[3][ep[3]+0].value<<24|qh[1][ep[1]+0].value<<16|qh[2][ep[2]+0].value)>>>0,dg==0&&256>qh[0][ep[0]+0].value&&(md.Qb=1,md.qb+=qh[0][ep[0]+0].value<<8)),md.jc=!md.Qb&&6>mf,md.jc){var Kv,nm=md;for(Kv=0;Kv<Zp;++Kv){var Tm=Kv,Rm=nm.pd[Tm],zv=nm.G[0][nm.H[0]+Tm];256<=zv.value?(Rm.g=zv.g+256,Rm.value=zv.value):(Rm.g=0,Rm.value=0,Tm>>=nc(zv,8,Rm),Tm>>=nc(nm.G[1][nm.H[1]+Tm],16,Rm),Tm>>=nc(nm.G[2][nm.H[2]+Tm],0,Rm),nc(nm.G[3][nm.H[3]+Tm],24,Rm))}}}QA.vc=hc,QA.Wb=Gc,QA.Ya=Xh,QA.yc=Gh,Zo=1;break t}Zo=0}if(!(ln=Zo)){Nt.a=3;break e}if(0<ai){if(Pn.ua=1<<ai,!Wn(Pn.Wa,ai)){Nt.a=1,ln=0;break e}}else Pn.ua=0;var d1=Nt,k1=cn,xy=bn,A1=d1.s,f1=A1.xc;if(d1.c=k1,d1.i=xy,A1.md=ao(k1,f1),A1.wc=f1==0?-1:(1<<f1)-1,st){Nt.xb=m1;break e}if((Cr=Ce(cn*bn))==null){Nt.a=1,ln=0;break e}ln=(ln=Yf(Nt,Cr,0,cn,bn,bn,null))&&!Fn.h;break e}return ln?(rn!=null?rn[0]=Cr:(ne(Cr==null),ne(st)),Nt.$=0,st||ph(Pn)):ph(Pn),ln}function Op(we,je){var st=we.c*we.i,Nt=st+je+16*je;return ne(we.c<=je),we.V=Ce(Nt),we.V==null?(we.Ta=null,we.Ua=0,we.a=1,0):(we.Ta=we.V,we.Ua=we.Ba+st+je,1)}function Np(we,je){var st=we.C,Nt=je-st,rn=we.V,ln=we.Ba+we.c*st;for(ne(je<=we.l.o);0<Nt;){var cn=16<Nt?16:Nt,bn=we.l.ma,Fn=we.l.width,Pn=Fn*cn,Cr=bn.ca,ai=bn.tb+Fn*st,$n=we.Ta,Kr=we.Ua;A0(we,cn,rn,ln),Fv($n,Kr,Cr,ai,Pn),Gf(bn,st,st+cn,Cr,ai,Fn),Nt-=cn,rn+=cn*we.c,st+=cn}ne(st==je),we.C=we.Ma=je}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 we=[];return function je(st,Nt,rn){for(var ln=rn[Nt],cn=0;cn<ln&&(st.push(rn.length>Nt+1?[]:0),!(rn.length<Nt+1));cn++)je(st[cn],Nt+1,rn)}(we,0,[3,11]),we}()}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 _f(){this.ld=this.La=this.dd=this.tc=0}function Tp(){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 _f),this.Y=0,this.ya=Array(new qm),this.aa=0,this.l=new p0}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 Tp),this.sb=0,this.wa=Array(new _f),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],_f),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 af(we,je){return 0>we?0:we>je?je:we}function p0(){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 we=new $m;return we!=null&&(we.a=0,we.sc="OK",we.cb=0,we.Xb=0,Om||(Om=Rp)),we}function Od(we,je,st){return we.a==0&&(we.a=je,we.sc=st,we.cb=0),0}function eg(we,je,st){return 3<=st&&we[je+0]==157&&we[je+1]==1&&we[je+2]==42}function m0(we,je){if(we==null)return 0;if(we.a=0,we.sc="OK",je==null)return Od(we,2,"null VP8Io passed to VP8GetHeaders()");var st=je.data,Nt=je.w,rn=je.ha;if(4>rn)return Od(we,7,"Truncated header.");var ln=st[Nt+0]|st[Nt+1]<<8|st[Nt+2]<<16,cn=we.Od;if(cn.Rb=!(1&ln),cn.td=ln>>1&7,cn.yd=ln>>4&1,cn.ub=ln>>5,3<cn.td)return Od(we,3,"Incorrect keyframe parameters.");if(!cn.yd)return Od(we,4,"Frame not displayable.");Nt+=3,rn-=3;var bn=we.Kc;if(cn.Rb){if(7>rn)return Od(we,7,"cannot parse picture header");if(!eg(st,Nt,rn))return Od(we,3,"Bad code word");bn.c=16383&(st[Nt+4]<<8|st[Nt+3]),bn.Td=st[Nt+4]>>6,bn.i=16383&(st[Nt+6]<<8|st[Nt+5]),bn.Ud=st[Nt+6]>>6,Nt+=7,rn-=7,we.za=bn.c+15>>4,we.Ub=bn.i+15>>4,je.width=bn.c,je.height=bn.i,je.Da=0,je.j=0,je.v=0,je.va=je.width,je.o=je.height,je.da=0,je.ib=je.width,je.hb=je.height,je.U=je.width,je.T=je.height,ge((ln=we.Pa).jb,0,255,ln.jb.length),ne((ln=we.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(cn.ub>rn)return Od(we,7,"bad partition length");Ui(ln=we.m,st,Nt,cn.ub),Nt+=cn.ub,rn-=cn.ub,cn.Rb&&(bn.Ld=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($n+=st)}else{if(0<ai){we.pb[ai]=we.pb[0];continue}$n=st}var Kr=we.pb[ai];Kr.Sc[0]=lv[af($n+rn,127)],Kr.Sc[1]=Dm[af($n+0,127)],Kr.Eb[0]=2*lv[af($n+Nt,127)],Kr.Eb[1]=101581*Dm[af($n+bn,127)]>>16,8>Kr.Eb[1]&&(Kr.Eb[1]=8),Kr.Qc[0]=lv[af($n+Pn,117)],Kr.Qc[1]=Dm[af($n+Fn,127)],Kr.lc=$n+Fn}if(!cn.Rb)return Od(we,4,"Not a key frame.");for(Ni(ln),cn=we.Pa,st=0;4>st;++st){for(rn=0;8>rn;++rn)for(Nt=0;3>Nt;++Nt)for(bn=0;11>bn;++bn)Pn=ba(ln,r1[st][rn][Nt][bn])?Gi(ln,8):n1[st][rn][Nt][bn],cn.Wc[st][rn].Yb[Nt][bn]=Pn;for(rn=0;17>rn;++rn)cn.Xc[st][rn]=cn.Wc[st][i1[rn]]}return we.kc=Ni(ln),we.kc&&(we.Bd=Gi(ln,8)),we.cb=1}function Rp(we,je,st,Nt,rn,ln,cn){var bn=je[rn].Yb[st];for(st=0;16>rn;++rn){if(!ba(we,bn[st+0]))return rn;for(;!ba(we,bn[st+1]);)if(bn=je[++rn].Yb[0],st=0,rn==16)return 16;var Fn=je[rn+1].Yb;if(ba(we,bn[st+2])){var Pn=we,Cr=0;if(ba(Pn,($n=bn)[(ai=st)+3]))if(ba(Pn,$n[ai+6])){for(bn=0,ai=2*(Cr=ba(Pn,$n[ai+8]))+($n=ba(Pn,$n[ai+9+Cr])),Cr=0,$n=e1[ai];$n[bn];++bn)Cr+=Cr+ba(Pn,$n[bn]);Cr+=3+(8<<ai)}else ba(Pn,$n[ai+7])?(Cr=7+2*ba(Pn,165),Cr+=ba(Pn,145)):Cr=5+ba(Pn,159);else Cr=ba(Pn,$n[ai+4])?3+ba(Pn,$n[ai+5]):2;bn=Fn[2]}else Cr=1,bn=Fn[1];Fn=cn+t1[rn],0>(Pn=we).b&&Di(Pn);var ai,$n=Pn.b,Kr=(ai=Pn.Ca>>1)-(Pn.I>>$n)>>31;--Pn.b,Pn.Ca+=Kr,Pn.Ca|=1,Pn.I-=(ai+1&Kr)<<$n,ln[Fn]=((Cr^Kr)-Kr)*Nt[(0<rn)+0]}return 16}function Cg(we){var je=we.rb[we.sb-1];je.la=0,je.Na=0,ge(we.zc,0,0,we.zc.length),we.ja=0}function of(we,je,st,Nt,rn){rn=we[je+st+32*Nt]+(rn>>3),we[je+st+32*Nt]=-256&rn?0>rn?0:255:rn}function dA(we,je,st,Nt,rn,ln){of(we,je,0,st,Nt+rn),of(we,je,1,st,Nt+ln),of(we,je,2,st,Nt-ln),of(we,je,3,st,Nt-rn)}function g0(we){return(20091*we>>16)+we}function Bg(we,je,st,Nt){var rn,ln=0,cn=Ce(16);for(rn=0;4>rn;++rn){var bn=we[je+0]+we[je+8],Fn=we[je+0]-we[je+8],Pn=(35468*we[je+4]>>16)-g0(we[je+12]),Cr=g0(we[je+4])+(35468*we[je+12]>>16);cn[ln+0]=bn+Cr,cn[ln+1]=Fn+Pn,cn[ln+2]=Fn-Pn,cn[ln+3]=bn-Cr,ln+=4,je++}for(rn=ln=0;4>rn;++rn)bn=(we=cn[ln+0]+4)+cn[ln+8],Fn=we-cn[ln+8],Pn=(35468*cn[ln+4]>>16)-g0(cn[ln+12]),of(st,Nt,0,0,bn+(Cr=g0(cn[ln+4])+(35468*cn[ln+12]>>16))),of(st,Nt,1,0,Fn+Pn),of(st,Nt,2,0,Fn-Pn),of(st,Nt,3,0,bn-Cr),ln++,Nt+=32}function wm(we,je,st,Nt){var rn=we[je+0]+4,ln=35468*we[je+4]>>16,cn=g0(we[je+4]),bn=35468*we[je+1]>>16;dA(st,Nt,0,rn+cn,we=g0(we[je+1]),bn),dA(st,Nt,1,rn+ln,we,bn),dA(st,Nt,2,rn-ln,we,bn),dA(st,Nt,3,rn-cn,we,bn)}function Xg(we,je,st,Nt,rn){Bg(we,je,st,Nt),rn&&Bg(we,je+16,st,Nt+4)}function Hh(we,je,st,Nt){Yp(we,je+0,st,Nt,1),Yp(we,je+32,st,Nt+128,1)}function Sg(we,je,st,Nt){var rn;for(we=we[je+0]+4,rn=0;4>rn;++rn)for(je=0;4>je;++je)of(st,Nt,je,rn,we)}function Eg(we,je,st,Nt){we[je+0]&&Cc(we,je+0,st,Nt),we[je+16]&&Cc(we,je+16,st,Nt+4),we[je+32]&&Cc(we,je+32,st,Nt+128),we[je+48]&&Cc(we,je+48,st,Nt+128+4)}function Af(we,je,st,Nt){var rn,ln=Ce(16);for(rn=0;4>rn;++rn){var cn=we[je+0+rn]+we[je+12+rn],bn=we[je+4+rn]+we[je+8+rn],Fn=we[je+4+rn]-we[je+8+rn],Pn=we[je+0+rn]-we[je+12+rn];ln[0+rn]=cn+bn,ln[8+rn]=cn-bn,ln[4+rn]=Pn+Fn,ln[12+rn]=Pn-Fn}for(rn=0;4>rn;++rn)cn=(we=ln[0+4*rn]+3)+ln[3+4*rn],bn=ln[1+4*rn]+ln[2+4*rn],Fn=ln[1+4*rn]-ln[2+4*rn],Pn=we-ln[3+4*rn],st[Nt+0]=cn+bn>>3,st[Nt+16]=Pn+Fn>>3,st[Nt+32]=cn-bn>>3,st[Nt+48]=Pn-Fn>>3,Nt+=64}function Qu(we,je,st){var Nt,rn=je-32,ln=qf,cn=255-we[rn-1];for(Nt=0;Nt<st;++Nt){var bn,Fn=ln,Pn=cn+we[je-1];for(bn=0;bn<st;++bn)we[je+bn]=Fn[Pn+we[rn+bn]];je+=32}}function RA(we,je){Qu(we,je,4)}function hd(we,je){Qu(we,je,8)}function xm(we,je){Qu(we,je,16)}function Cm(we,je){var st;for(st=0;16>st;++st)ce(we,je+32*st,we,je-32,16)}function Up(we,je){var st;for(st=16;0<st;--st)ge(we,je,we[je-1],16),je+=32}function Qh(we,je,st){var Nt;for(Nt=0;16>Nt;++Nt)ge(je,st+32*Nt,we,16)}function Jg(we,je){var st,Nt=16;for(st=0;16>st;++st)Nt+=we[je-1+32*st]+we[je+st-32];Qh(Nt>>5,we,je)}function Hp(we,je){var st,Nt=8;for(st=0;16>st;++st)Nt+=we[je-1+32*st];Qh(Nt>>4,we,je)}function Bm(we,je){var st,Nt=8;for(st=0;16>st;++st)Nt+=we[je+st-32];Qh(Nt>>4,we,je)}function qg(we,je){Qh(128,we,je)}function Wl(we,je,st){return we+2*je+st+2>>2}function $g(we,je){var st,Nt=je-32;for(Nt=new Uint8Array([Wl(we[Nt-1],we[Nt+0],we[Nt+1]),Wl(we[Nt+0],we[Nt+1],we[Nt+2]),Wl(we[Nt+1],we[Nt+2],we[Nt+3]),Wl(we[Nt+2],we[Nt+3],we[Nt+4])]),st=0;4>st;++st)ce(we,je+32*st,Nt,0,Nt.length)}function ev(we,je){var st=we[je-1],Nt=we[je-1+32],rn=we[je-1+64],ln=we[je-1+96];co(we,je+0,16843009*Wl(we[je-1-32],st,Nt)),co(we,je+32,16843009*Wl(st,Nt,rn)),co(we,je+64,16843009*Wl(Nt,rn,ln)),co(we,je+96,16843009*Wl(rn,ln,ln))}function tv(we,je){var st,Nt=4;for(st=0;4>st;++st)Nt+=we[je+st-32]+we[je-1+32*st];for(Nt>>=3,st=0;4>st;++st)ge(we,je+32*st,Nt,4)}function jh(we,je){var st=we[je-1+0],Nt=we[je-1+32],rn=we[je-1+64],ln=we[je-1-32],cn=we[je+0-32],bn=we[je+1-32],Fn=we[je+2-32],Pn=we[je+3-32];we[je+0+96]=Wl(Nt,rn,we[je-1+96]),we[je+1+96]=we[je+0+64]=Wl(st,Nt,rn),we[je+2+96]=we[je+1+64]=we[je+0+32]=Wl(ln,st,Nt),we[je+3+96]=we[je+2+64]=we[je+1+32]=we[je+0+0]=Wl(cn,ln,st),we[je+3+64]=we[je+2+32]=we[je+1+0]=Wl(bn,cn,ln),we[je+3+32]=we[je+2+0]=Wl(Fn,bn,cn),we[je+3+0]=Wl(Pn,Fn,bn)}function Kh(we,je){var st=we[je+1-32],Nt=we[je+2-32],rn=we[je+3-32],ln=we[je+4-32],cn=we[je+5-32],bn=we[je+6-32],Fn=we[je+7-32];we[je+0+0]=Wl(we[je+0-32],st,Nt),we[je+1+0]=we[je+0+32]=Wl(st,Nt,rn),we[je+2+0]=we[je+1+32]=we[je+0+64]=Wl(Nt,rn,ln),we[je+3+0]=we[je+2+32]=we[je+1+64]=we[je+0+96]=Wl(rn,ln,cn),we[je+3+32]=we[je+2+64]=we[je+1+96]=Wl(ln,cn,bn),we[je+3+64]=we[je+2+96]=Wl(cn,bn,Fn),we[je+3+96]=Wl(bn,Fn,Fn)}function nv(we,je){var st=we[je-1+0],Nt=we[je-1+32],rn=we[je-1+64],ln=we[je-1-32],cn=we[je+0-32],bn=we[je+1-32],Fn=we[je+2-32],Pn=we[je+3-32];we[je+0+0]=we[je+1+64]=ln+cn+1>>1,we[je+1+0]=we[je+2+64]=cn+bn+1>>1,we[je+2+0]=we[je+3+64]=bn+Fn+1>>1,we[je+3+0]=Fn+Pn+1>>1,we[je+0+96]=Wl(rn,Nt,st),we[je+0+64]=Wl(Nt,st,ln),we[je+0+32]=we[je+1+96]=Wl(st,ln,cn),we[je+1+32]=we[je+2+96]=Wl(ln,cn,bn),we[je+2+32]=we[je+3+96]=Wl(cn,bn,Fn),we[je+3+32]=Wl(bn,Fn,Pn)}function tg(we,je){var st=we[je+0-32],Nt=we[je+1-32],rn=we[je+2-32],ln=we[je+3-32],cn=we[je+4-32],bn=we[je+5-32],Fn=we[je+6-32],Pn=we[je+7-32];we[je+0+0]=st+Nt+1>>1,we[je+1+0]=we[je+0+64]=Nt+rn+1>>1,we[je+2+0]=we[je+1+64]=rn+ln+1>>1,we[je+3+0]=we[je+2+64]=ln+cn+1>>1,we[je+0+32]=Wl(st,Nt,rn),we[je+1+32]=we[je+0+96]=Wl(Nt,rn,ln),we[je+2+32]=we[je+1+96]=Wl(rn,ln,cn),we[je+3+32]=we[je+2+96]=Wl(ln,cn,bn),we[je+3+64]=Wl(cn,bn,Fn),we[je+3+96]=Wl(bn,Fn,Pn)}function Sm(we,je){var st=we[je-1+0],Nt=we[je-1+32],rn=we[je-1+64],ln=we[je-1+96];we[je+0+0]=st+Nt+1>>1,we[je+2+0]=we[je+0+32]=Nt+rn+1>>1,we[je+2+32]=we[je+0+64]=rn+ln+1>>1,we[je+1+0]=Wl(st,Nt,rn),we[je+3+0]=we[je+1+32]=Wl(Nt,rn,ln),we[je+3+32]=we[je+1+64]=Wl(rn,ln,ln),we[je+3+64]=we[je+2+64]=we[je+0+96]=we[je+1+96]=we[je+2+96]=we[je+3+96]=ln}function dp(we,je){var st=we[je-1+0],Nt=we[je-1+32],rn=we[je-1+64],ln=we[je-1+96],cn=we[je-1-32],bn=we[je+0-32],Fn=we[je+1-32],Pn=we[je+2-32];we[je+0+0]=we[je+2+32]=st+cn+1>>1,we[je+0+32]=we[je+2+64]=Nt+st+1>>1,we[je+0+64]=we[je+2+96]=rn+Nt+1>>1,we[je+0+96]=ln+rn+1>>1,we[je+3+0]=Wl(bn,Fn,Pn),we[je+2+0]=Wl(cn,bn,Fn),we[je+1+0]=we[je+3+32]=Wl(st,cn,bn),we[je+1+32]=we[je+3+64]=Wl(Nt,st,cn),we[je+1+64]=we[je+3+96]=Wl(rn,Nt,st),we[je+1+96]=Wl(ln,rn,Nt)}function Qp(we,je){var st;for(st=0;8>st;++st)ce(we,je+32*st,we,je-32,8)}function rv(we,je){var st;for(st=0;8>st;++st)ge(we,je,we[je-1],8),je+=32}function v0(we,je,st){var Nt;for(Nt=0;8>Nt;++Nt)ge(je,st+32*Nt,we,8)}function Fg(we,je){var st,Nt=8;for(st=0;8>st;++st)Nt+=we[je+st-32]+we[je-1+32*st];v0(Nt>>4,we,je)}function jp(we,je){var st,Nt=4;for(st=0;8>st;++st)Nt+=we[je+st-32];v0(Nt>>3,we,je)}function ng(we,je){var st,Nt=4;for(st=0;8>st;++st)Nt+=we[je-1+32*st];v0(Nt>>3,we,je)}function kg(we,je){v0(128,we,je)}function z0(we,je,st){var Nt=we[je-st],rn=we[je+0],ln=3*(rn-Nt)+Jp[1020+we[je-2*st]-we[je+st]],cn=Pg[112+(ln+4>>3)];we[je-st]=qf[255+Nt+Pg[112+(ln+3>>3)]],we[je+0]=qf[255+rn-cn]}function y0(we,je,st,Nt){var rn=we[je+0],ln=we[je+st];return Zd[255+we[je-2*st]-we[je-st]]>Nt||Zd[255+ln-rn]>Nt}function ff(we,je,st,Nt){return 4*Zd[255+we[je-st]-we[je+0]]+Zd[255+we[je-2*st]-we[je+st]]<=Nt}function Kp(we,je,st,Nt,rn){var ln=we[je-3*st],cn=we[je-2*st],bn=we[je-st],Fn=we[je+0],Pn=we[je+st],Cr=we[je+2*st],ai=we[je+3*st];return 4*Zd[255+bn-Fn]+Zd[255+cn-Pn]>Nt?0:Zd[255+we[je-4*st]-ln]<=rn&&Zd[255+ln-cn]<=rn&&Zd[255+cn-bn]<=rn&&Zd[255+ai-Cr]<=rn&&Zd[255+Cr-Pn]<=rn&&Zd[255+Pn-Fn]<=rn}function W0(we,je,st,Nt){var rn=2*Nt+1;for(Nt=0;16>Nt;++Nt)ff(we,je+Nt,st,rn)&&z0(we,je+Nt,st)}function Em(we,je,st,Nt){var rn=2*Nt+1;for(Nt=0;16>Nt;++Nt)ff(we,je+Nt*st,1,rn)&&z0(we,je+Nt*st,1)}function Fm(we,je,st,Nt){var rn;for(rn=3;0<rn;--rn)W0(we,je+=4*st,st,Nt)}function rg(we,je,st,Nt){var rn;for(rn=3;0<rn;--rn)Em(we,je+=4,st,Nt)}function b0(we,je,st,Nt,rn,ln,cn,bn){for(ln=2*ln+1;0<rn--;){if(Kp(we,je,st,ln,cn))if(y0(we,je,st,bn))z0(we,je,st);else{var Fn=we,Pn=je,Cr=st,ai=Fn[Pn-2*Cr],$n=Fn[Pn-Cr],Kr=Fn[Pn+0],ri=Fn[Pn+Cr],Zi=Fn[Pn+2*Cr],Ai=27*(xa=Jp[1020+3*(Kr-$n)+Jp[1020+ai-ri]])+63>>7,na=18*xa+63>>7,xa=9*xa+63>>7;Fn[Pn-3*Cr]=qf[255+Fn[Pn-3*Cr]+xa],Fn[Pn-2*Cr]=qf[255+ai+na],Fn[Pn-Cr]=qf[255+$n+Ai],Fn[Pn+0]=qf[255+Kr-Ai],Fn[Pn+Cr]=qf[255+ri-na],Fn[Pn+2*Cr]=qf[255+Zi-xa]}je+=Nt}}function Z0(we,je,st,Nt,rn,ln,cn,bn){for(ln=2*ln+1;0<rn--;){if(Kp(we,je,st,ln,cn))if(y0(we,je,st,bn))z0(we,je,st);else{var Fn=we,Pn=je,Cr=st,ai=Fn[Pn-Cr],$n=Fn[Pn+0],Kr=Fn[Pn+Cr],ri=Pg[112+(4+(Zi=3*($n-ai))>>3)],Zi=Pg[112+(Zi+3>>3)],Ai=ri+1>>1;Fn[Pn-2*Cr]=qf[255+Fn[Pn-2*Cr]+Ai],Fn[Pn-Cr]=qf[255+ai+Zi],Fn[Pn+0]=qf[255+$n-ri],Fn[Pn+Cr]=qf[255+Kr-Ai]}je+=Nt}}function V0(we,je,st,Nt,rn,ln){b0(we,je,st,1,16,Nt,rn,ln)}function Ap(we,je,st,Nt,rn,ln){b0(we,je,1,st,16,Nt,rn,ln)}function ig(we,je,st,Nt,rn,ln){var cn;for(cn=3;0<cn;--cn)Z0(we,je+=4*st,st,1,16,Nt,rn,ln)}function ct(we,je,st,Nt,rn,ln){var cn;for(cn=3;0<cn;--cn)Z0(we,je+=4,1,st,16,Nt,rn,ln)}function an(we,je,st,Nt,rn,ln,cn,bn){b0(we,je,rn,1,8,ln,cn,bn),b0(st,Nt,rn,1,8,ln,cn,bn)}function tr(we,je,st,Nt,rn,ln,cn,bn){b0(we,je,1,rn,8,ln,cn,bn),b0(st,Nt,1,rn,8,ln,cn,bn)}function _r(we,je,st,Nt,rn,ln,cn,bn){Z0(we,je+4*rn,rn,1,8,ln,cn,bn),Z0(st,Nt+4*rn,rn,1,8,ln,cn,bn)}function ii(we,je,st,Nt,rn,ln,cn,bn){Z0(we,je+4,1,rn,8,ln,cn,bn),Z0(st,Nt+4,1,rn,8,ln,cn,bn)}function da(){this.ba=new Ol,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new fc,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Qa(){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 xs(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ds(){this.ua=0,this.Wa=new hu,this.vb=new hu,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new Fi,this.yc=new Mr}function Fl(){this.xb=this.a=0,this.l=new p0,this.ca=new Ol,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new or,this.Pb=0,this.wd=new or,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ds,this.ab=0,this.gc=nt(4,xs),this.Oc=0}function Zl(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new p0,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Cs(we,je,st,Nt,rn,ln,cn){for(we=we==null?0:we[je+0],je=0;je<cn;++je)rn[ln+je]=we+st[Nt+je]&255,we=rn[ln+je]}function Sd(we,je,st,Nt,rn,ln,cn){var bn;if(we==null)Cs(null,null,st,Nt,rn,ln,cn);else for(bn=0;bn<cn;++bn)rn[ln+bn]=we[je+bn]+st[Nt+bn]&255}function Jd(we,je,st,Nt,rn,ln,cn){if(we==null)Cs(null,null,st,Nt,rn,ln,cn);else{var bn,Fn=we[je+0],Pn=Fn,Cr=Fn;for(bn=0;bn<cn;++bn)Pn=Cr+(Fn=we[je+bn])-Pn,Cr=st[Nt+bn]+(-256&Pn?0>Pn?0:255:Pn)&255,Pn=Fn,rn[ln+bn]=Cr}}function td(we,je,st,Nt){var rn=je.width,ln=je.o;if(ne(we!=null&&je!=null),0>st||0>=Nt||st+Nt>ln)return null;if(!we.Cc){if(we.ga==null){var cn;if(we.ga=new Zl,(cn=we.ga==null)||(cn=je.width*je.o,ne(we.Gb.length==0),we.Gb=Ce(cn),we.Uc=0,we.Gb==null?cn=0:(we.mb=we.Gb,we.nb=we.Uc,we.rc=null,cn=1),cn=!cn),!cn){cn=we.ga;var bn=we.Fa,Fn=we.P,Pn=we.qc,Cr=we.mb,ai=we.nb,$n=Fn+1,Kr=Pn-1,ri=cn.l;if(ne(bn!=null&&Cr!=null&&je!=null),wp[0]=null,wp[1]=Cs,wp[2]=Sd,wp[3]=Jd,cn.ca=Cr,cn.tb=ai,cn.c=je.width,cn.i=je.height,ne(0<cn.c&&0<cn.i),1>=Pn)je=0;else if(cn.$a=3&bn[Fn+0],cn.Z=bn[Fn+0]>>2&3,cn.Lc=bn[Fn+0]>>4&3,Fn=bn[Fn+0]>>6&3,0>cn.$a||1<cn.$a||4<=cn.Z||1<cn.Lc||Fn)je=0;else if(ri.put=pl,ri.ac=d0,ri.bc=j0,ri.ma=cn,ri.width=je.width,ri.height=je.height,ri.Da=je.Da,ri.v=je.v,ri.va=je.va,ri.j=je.j,ri.o=je.o,cn.$a)e:{ne(cn.$a==1),je=Dp();t:for(;;){if(je==null){je=0;break e}if(ne(cn!=null),cn.mc=je,je.c=cn.c,je.i=cn.i,je.l=cn.l,je.l.ma=cn,je.l.width=cn.c,je.l.height=cn.i,je.a=0,Wi(je.m,bn,$n,Kr),!h0(cn.c,cn.i,1,je,null)||(je.ab==1&&je.gc[0].hc==3&&hh(je.s)?(cn.ic=1,bn=je.c*je.i,je.Ta=null,je.Ua=0,je.V=Ce(bn),je.Ba=0,je.V==null?(je.a=1,je=0):je=1):(cn.ic=0,je=Op(je,cn.c)),!je))break t;je=1;break e}cn.mc=null,je=0}else je=Kr>=cn.c*cn.i;cn=!je}if(cn)return null;we.ga.Lc!=1?we.Ga=0:Nt=ln-st}ne(we.ga!=null),ne(st+Nt<=ln);e:{if(je=(bn=we.ga).c,ln=bn.l.o,bn.$a==0){if($n=we.r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?je:Fn);break t}!ri||Cr.h&&Ai<na?(ri=0,cn.a=Cr.h?5:3):cn.$=Ai,je=ri}else je=Yf(cn,cn.V,cn.Ba,cn.c,cn.i,je,Np);if(!je){Nt=0;break e}}st+Nt>=ln&&(we.Cc=1),Nt=1}if(!Nt)return null;if(we.Cc&&((Nt=we.ga)!=null&&(Nt.mc=null),we.ga=null,0<we.Ga))return alert("todo:WebPDequantizeLevels"),null}return we.nb+st*rn}function Zc(we,je,st,Nt,rn,ln){for(;0<rn--;){var cn,bn=we,Fn=je+(st?1:0),Pn=we,Cr=je+(st?0:3);for(cn=0;cn<Nt;++cn){var ai=Pn[Cr+4*cn];ai!=255&&(ai*=32897,bn[Fn+4*cn+0]=bn[Fn+4*cn+0]*ai>>23,bn[Fn+4*cn+1]=bn[Fn+4*cn+1]*ai>>23,bn[Fn+4*cn+2]=bn[Fn+4*cn+2]*ai>>23)}je+=ln}}function qd(we,je,st,Nt,rn){for(;0<Nt--;){var ln;for(ln=0;ln<st;++ln){var cn=we[je+2*ln+0],bn=15&(Pn=we[je+2*ln+1]),Fn=4369*bn,Pn=(240&Pn|Pn>>4)*Fn>>16;we[je+2*ln+0]=(240&cn|cn>>4)*Fn>>16&240|(15&cn|cn<<4)*Fn>>16>>4&15,we[je+2*ln+1]=240&Pn|bn}je+=rn}}function UA(we,je,st,Nt,rn,ln,cn,bn){var Fn,Pn,Cr=255;for(Pn=0;Pn<rn;++Pn){for(Fn=0;Fn<Nt;++Fn){var ai=we[je+Fn];ln[cn+4*Fn]=ai,Cr&=ai}je+=st,cn+=bn}return Cr!=255}function G0(we,je,st,Nt,rn){var ln;for(ln=0;ln<rn;++ln)st[Nt+ln]=we[je+ln]>>8}function zh(){lg=Zc,Ev=qd,iv=UA,Fv=G0}function Yl(we,je,st){ur[we]=function(Nt,rn,ln,cn,bn,Fn,Pn,Cr,ai,$n,Kr,ri,Zi,Ai,na,xa,go){var Xa,Zs=go-1>>1,Bs=bn[Fn+0]|Pn[Cr+0]<<16,wu=ai[$n+0]|Kr[ri+0]<<16;ne(Nt!=null);var Ts=3*Bs+wu+131074>>2;for(je(Nt[rn+0],255&Ts,Ts>>16,Zi,Ai),ln!=null&&(Ts=3*wu+Bs+131074>>2,je(ln[cn+0],255&Ts,Ts>>16,na,xa)),Xa=1;Xa<=Zs;++Xa){var rc=bn[Fn+Xa]|Pn[Cr+Xa]<<16,HA=ai[$n+Xa]|Kr[ri+Xa]<<16,xu=Bs+rc+wu+HA+524296,Rs=xu+2*(rc+wu)>>3;Ts=Rs+Bs>>1,Bs=(xu=xu+2*(Bs+HA)>>3)+rc>>1,je(Nt[rn+2*Xa-1],255&Ts,Ts>>16,Zi,Ai+(2*Xa-1)*st),je(Nt[rn+2*Xa-0],255&Bs,Bs>>16,Zi,Ai+(2*Xa-0)*st),ln!=null&&(Ts=xu+wu>>1,Bs=Rs+HA>>1,je(ln[cn+2*Xa-1],255&Ts,Ts>>16,na,xa+(2*Xa-1)*st),je(ln[cn+2*Xa+0],255&Bs,Bs>>16,na,xa+(2*Xa+0)*st)),Bs=rc,wu=HA}1&go||(Ts=3*Bs+wu+131074>>2,je(Nt[rn+go-1],255&Ts,Ts>>16,Zi,Ai+(go-1)*st),ln!=null&&(Ts=3*wu+Bs+131074>>2,je(ln[cn+go-1],255&Ts,Ts>>16,na,xa+(go-1)*st)))}}function Wh(){wh[Tg]=g1,wh[Rg]=y,wh[Iv]=a,wh[ug]=b,wh[Lm]=z,wh[ov]=re,wh[bu]=pe,wh[sv]=y,wh[E0]=b,wh[Nd]=z,wh[qp]=re}function Zh(we){return we&~qt?0>we?0:255:we>>Mt}function w0(we,je){return Zh((19077*we>>8)+(26149*je>>8)-14234)}function mh(we,je,st){return Zh((19077*we>>8)-(6419*je>>8)-(13320*st>>8)+8708)}function Y0(we,je){return Zh((19077*we>>8)+(33050*je>>8)-17685)}function fp(we,je,st,Nt,rn){Nt[rn+0]=w0(we,st),Nt[rn+1]=mh(we,je,st),Nt[rn+2]=Y0(we,je)}function zd(we,je,st,Nt,rn){Nt[rn+0]=Y0(we,je),Nt[rn+1]=mh(we,je,st),Nt[rn+2]=w0(we,st)}function zp(we,je,st,Nt,rn){var ln=mh(we,je,st);je=ln<<3&224|Y0(we,je)>>3,Nt[rn+0]=248&w0(we,st)|ln>>5,Nt[rn+1]=je}function hp(we,je,st,Nt,rn){var ln=240&Y0(we,je)|15;Nt[rn+0]=240&w0(we,st)|mh(we,je,st)>>4,Nt[rn+1]=ln}function ag(we,je,st,Nt,rn){Nt[rn+0]=255,fp(we,je,st,Nt,rn+1)}function Nl(we,je,st,Nt,rn){zd(we,je,st,Nt,rn),Nt[rn+3]=255}function $d(we,je,st,Nt,rn){fp(we,je,st,Nt,rn),Nt[rn+3]=255}function Xf(we,je,st){ur[we]=function(Nt,rn,ln,cn,bn,Fn,Pn,Cr,ai){for(var $n=Cr+(-2&ai)*st;Cr!=$n;)je(Nt[rn+0],ln[cn+0],bn[Fn+0],Pn,Cr),je(Nt[rn+1],ln[cn+0],bn[Fn+0],Pn,Cr+st),rn+=2,++cn,++Fn,Cr+=2*st;1&ai&&je(Nt[rn+0],ln[cn+0],bn[Fn+0],Pn,Cr)}}function x0(we,je,st){return st==0?we==0?je==0?6:5:je==0?4:0:st}function _g(we,je,st,Nt,rn){switch(we>>>30){case 3:Yp(je,st,Nt,rn,0);break;case 2:yh(je,st,Nt,rn);break;case 1:Cc(je,st,Nt,rn)}}function ju(we,je){var st,Nt,rn=je.M,ln=je.Nb,cn=we.oc,bn=we.pc+40,Fn=we.oc,Pn=we.pc+584,Cr=we.oc,ai=we.pc+600;for(st=0;16>st;++st)cn[bn+32*st-1]=129;for(st=0;8>st;++st)Fn[Pn+32*st-1]=129,Cr[ai+32*st-1]=129;for(0<rn?cn[bn-1-32]=Fn[Pn-1-32]=Cr[ai-1-32]=129:(ge(cn,bn-32-1,127,21),ge(Fn,Pn-32-1,127,9),ge(Cr,ai-32-1,127,9)),Nt=0;Nt<we.za;++Nt){var $n=je.ya[je.aa+Nt];if(0<Nt){for(st=-1;16>st;++st)ce(cn,bn+32*st-4,cn,bn+32*st+12,4);for(st=-1;8>st;++st)ce(Fn,Pn+32*st-4,Fn,Pn+32*st+4,4),ce(Cr,ai+32*st-4,Cr,ai+32*st+4,4)}var Kr=we.Gd,ri=we.Hd+Nt,Zi=$n.ad,Ai=$n.Hc;if(0<rn&&(ce(cn,bn-32,Kr[ri].y,0,16),ce(Fn,Pn-32,Kr[ri].f,0,8),ce(Cr,ai-32,Kr[ri].ea,0,8)),$n.Za){var na=cn,xa=bn-32+16;for(0<rn&&(Nt>=we.za-1?ge(na,xa,Kr[ri].y[15],4):ce(na,xa,Kr[ri+1].y,0,4)),st=0;4>st;st++)na[xa+128+st]=na[xa+256+st]=na[xa+384+st]=na[xa+0+st];for(st=0;16>st;++st,Ai<<=2)na=cn,xa=bn+Ya[st],Vh[$n.Ob[st]](na,xa),_g(Ai,Zi,16*+st,na,xa)}else if(na=x0(Nt,rn,$n.Ob[0]),bp[na](cn,bn),Ai!=0)for(st=0;16>st;++st,Ai<<=2)_g(Ai,Zi,16*+st,cn,bn+Ya[st]);for(st=$n.Gc,na=x0(Nt,rn,$n.Dd),lf[na](Fn,Pn),lf[na](Cr,ai),Ai=Zi,na=Fn,xa=Pn,255&($n=0|st)&&(170&$n?S0(Ai,256,na,xa):Vc(Ai,256,na,xa)),$n=Cr,Ai=ai,255&(st>>=8)&&(170&st?S0(Zi,320,$n,Ai):Vc(Zi,320,$n,Ai)),rn<we.Ub-1&&(ce(Kr[ri].y,0,cn,bn+480,16),ce(Kr[ri].f,0,Fn,Pn+224,8),ce(Kr[ri].ea,0,Cr,ai+224,8)),st=8*ln*we.B,Kr=we.sa,ri=we.ta+16*Nt+16*ln*we.R,Zi=we.qa,$n=we.ra+8*Nt+st,Ai=we.Ha,na=we.Ia+8*Nt+st,st=0;16>st;++st)ce(Kr,ri+st*we.R,cn,bn+32*st,16);for(st=0;8>st;++st)ce(Zi,$n+st*we.B,Fn,Pn+32*st,8),ce(Ai,na+st*we.B,Cr,ai+32*st,8)}}function Wp(we,je,st,Nt,rn,ln,cn,bn,Fn){var Pn=[0],Cr=[0],ai=0,$n=Fn!=null?Fn.kd:0,Kr=Fn!=null?Fn:new Qa;if(we==null||12>st)return 7;Kr.data=we,Kr.w=je,Kr.ha=st,je=[je],st=[st],Kr.gb=[Kr.gb];e:{var ri=je,Zi=st,Ai=Kr.gb;if(ne(we!=null),ne(Zi!=null),ne(Ai!=null),Ai[0]=0,12<=Zi[0]&&!te(we,ri[0],"RIFF")){if(te(we,ri[0]+8,"WEBP")){Ai=3;break e}var na=zs(we,ri[0]+4);if(12>na||4294967286<na){Ai=3;break e}if($n&&na>Zi[0]-8){Ai=7;break e}Ai[0]=na,ri[0]+=12,Zi[0]-=12}Ai=0}if(Ai!=0)return Ai;for(na=0<Kr.gb[0],st=st[0];;){e:{var xa=we;Zi=je,Ai=st;var go=Pn,Xa=Cr,Zs=ri=[0];if((Ts=ai=[ai])[0]=0,8>Ai[0])Ai=7;else{if(!te(xa,Zi[0],"VP8X")){if(zs(xa,Zi[0]+4)!=10){Ai=3;break e}if(18>Ai[0]){Ai=7;break e}var Bs=zs(xa,Zi[0]+8),wu=1+Ko(xa,Zi[0]+12);if(2147483648<=wu*(xa=1+Ko(xa,Zi[0]+15))){Ai=3;break e}Zs!=null&&(Zs[0]=Bs),go!=null&&(go[0]=wu),Xa!=null&&(Xa[0]=xa),Zi[0]+=18,Ai[0]-=18,Ts[0]=1}Ai=0}}if(ai=ai[0],ri=ri[0],Ai!=0)return Ai;if(Zi=!!(2&ri),!na&&ai)return 3;if(ln!=null&&(ln[0]=!!(16&ri)),cn!=null&&(cn[0]=Zi),bn!=null&&(bn[0]=0),cn=Pn[0],ri=Cr[0],ai&&Zi&&Fn==null){Ai=0;break}if(4>st){Ai=7;break}if(na&&ai||!na&&!ai&&!te(we,je[0],"ALPH")){st=[st],Kr.na=[Kr.na],Kr.P=[Kr.P],Kr.Sa=[Kr.Sa];e:{Bs=we,Ai=je,na=st;var Ts=Kr.gb;go=Kr.na,Xa=Kr.P,Zs=Kr.Sa,wu=22,ne(Bs!=null),ne(na!=null),xa=Ai[0];var rc=na[0];for(ne(go!=null),ne(Zs!=null),go[0]=null,Xa[0]=null,Zs[0]=0;;){if(Ai[0]=xa,na[0]=rc,8>rc){Ai=7;break e}var HA=zs(Bs,xa+4);if(4294967286<HA){Ai=3;break e}var xu=8+HA+1&-2;if(wu+=xu,0<Ts&&wu>Ts){Ai=3;break e}if(!te(Bs,xa,"VP8 ")||!te(Bs,xa,"VP8L")){Ai=0;break e}if(rc[0]<xu){Ai=7;break e}te(Bs,xa,"ALPH")||(go[0]=Bs,Xa[0]=xa+8,Zs[0]=HA),xa+=xu,rc-=xu}}if(st=st[0],Kr.na=Kr.na[0],Kr.P=Kr.P[0],Kr.Sa=Kr.Sa[0],Ai!=0)break}st=[st],Kr.Ja=[Kr.Ja],Kr.xa=[Kr.xa];e:if(Ts=we,Ai=je,na=st,go=Kr.gb[0],Xa=Kr.Ja,Zs=Kr.xa,Bs=Ai[0],xa=!te(Ts,Bs,"VP8 "),wu=!te(Ts,Bs,"VP8L"),ne(Ts!=null),ne(na!=null),ne(Xa!=null),ne(Zs!=null),8>na[0])Ai=7;else{if(xa||wu){if(Ts=zs(Ts,Bs+4),12<=go&&Ts>go-12){Ai=3;break e}if($n&&Ts>na[0]-8){Ai=7;break e}Xa[0]=Ts,Ai[0]+=8,na[0]-=8,Zs[0]=wu}else Zs[0]=5<=na[0]&&Ts[Bs+0]==47&&!(Ts[Bs+4]>>5),Xa[0]=na[0];Ai=0}if(st=st[0],Kr.Ja=Kr.Ja[0],Kr.xa=Kr.xa[0],je=je[0],Ai!=0)break;if(4294967286<Kr.Ja)return 3;if(bn==null||Zi||(bn[0]=Kr.xa?2:1),cn=[cn],ri=[ri],Kr.xa){if(5>st){Ai=7;break}bn=cn,$n=ri,Zi=ln,we==null||5>st?we=0:5<=st&&we[je+0]==47&&!(we[je+4]>>5)?(na=[0],Ts=[0],go=[0],Wi(Xa=new or,we,je,st),K0(Xa,na,Ts,go)?(bn!=null&&(bn[0]=na[0]),$n!=null&&($n[0]=Ts[0]),Zi!=null&&(Zi[0]=go[0]),we=1):we=0):we=0}else{if(10>st){Ai=7;break}bn=ri,we==null||10>st||!eg(we,je+3,st-3)?we=0:($n=we[je+0]|we[je+1]<<8|we[je+2]<<16,Zi=16383&(we[je+7]<<8|we[je+6]),we=16383&(we[je+9]<<8|we[je+8]),1&$n||3<($n>>1&7)||!($n>>4&1)||$n>>5>=Kr.Ja||!Zi||!we?we=0:(cn&&(cn[0]=Zi),bn&&(bn[0]=we),we=1))}if(!we||(cn=cn[0],ri=ri[0],ai&&(Pn[0]!=cn||Cr[0]!=ri)))return 3;Fn!=null&&(Fn[0]=Kr,Fn.offset=je-Fn.w,ne(4294967286>je-Fn.w),ne(Fn.offset==Fn.ha-st));break}return Ai==0||Ai==7&&ai&&Fn==null?(ln!=null&&(ln[0]|=Kr.na!=null&&0<Kr.na.length),Nt!=null&&(Nt[0]=cn),rn!=null&&(rn[0]=ri),0):Ai}function pd(we,je,st){var Nt=je.width,rn=je.height,ln=0,cn=0,bn=Nt,Fn=rn;if(je.Da=we!=null&&0<we.Da,je.Da&&(bn=we.cd,Fn=we.bd,ln=we.v,cn=we.j,11>st||(ln&=-2,cn&=-2),0>ln||0>cn||0>=bn||0>=Fn||ln+bn>Nt||cn+Fn>rn))return 0;if(je.v=ln,je.j=cn,je.va=ln+bn,je.o=cn+Fn,je.U=bn,je.T=Fn,je.da=we!=null&&0<we.da,je.da){if(!hl(bn,Fn,st=[we.ib],ln=[we.hb]))return 0;je.ib=st[0],je.hb=ln[0]}return je.ob=we!=null&&we.ob,je.Kb=we==null||!we.Sd,je.da&&(je.ob=je.ib<3*Nt/4&&je.hb<3*rn/4,je.Kb=0),1}function Mg(we){if(we==null)return 2;if(11>we.S){var je=we.f.RGBA;je.fb+=(we.height-1)*je.A,je.A=-je.A}else je=we.f.kb,we=we.height,je.O+=(we-1)*je.fa,je.fa=-je.fa,je.N+=(we-1>>1)*je.Ab,je.Ab=-je.Ab,je.W+=(we-1>>1)*je.Db,je.Db=-je.Db,je.F!=null&&(je.J+=(we-1)*je.lb,je.lb=-je.lb);return 0}function pp(we,je,st,Nt){if(Nt==null||0>=we||0>=je)return 2;if(st!=null){if(st.Da){var rn=st.cd,ln=st.bd,cn=-2&st.v,bn=-2&st.j;if(0>cn||0>bn||0>=rn||0>=ln||cn+rn>we||bn+ln>je)return 2;we=rn,je=ln}if(st.da){if(!hl(we,je,rn=[st.ib],ln=[st.hb]))return 2;we=rn[0],je=ln[0]}}Nt.width=we,Nt.height=je;e:{var Fn=Nt.width,Pn=Nt.height;if(we=Nt.S,0>=Fn||0>=Pn||!(we>=Tg&&13>we))we=2;else{if(0>=Nt.Rd&&Nt.sd==null){cn=ln=rn=je=0;var Cr=(bn=Fn*is[we])*Pn;if(11>we||(ln=(Pn+1)/2*(je=(Fn+1)/2),we==12&&(cn=(rn=Fn)*Pn)),(Pn=Ce(Cr+2*ln+cn))==null){we=1;break e}Nt.sd=Pn,11>we?((Fn=Nt.f.RGBA).eb=Pn,Fn.fb=0,Fn.A=bn,Fn.size=Cr):((Fn=Nt.f.kb).y=Pn,Fn.O=0,Fn.fa=bn,Fn.Fd=Cr,Fn.f=Pn,Fn.N=0+Cr,Fn.Ab=je,Fn.Cd=ln,Fn.ea=Pn,Fn.W=0+Cr+ln,Fn.Db=je,Fn.Ed=ln,we==12&&(Fn.F=Pn,Fn.J=0+Cr+2*ln),Fn.Tc=cn,Fn.lb=rn)}if(je=1,rn=Nt.S,ln=Nt.width,cn=Nt.height,rn>=Tg&&13>rn)if(11>rn)we=Nt.f.RGBA,je&=(bn=Math.abs(we.A))*(cn-1)+ln<=we.size,je&=bn>=ln*is[rn],je&=we.eb!=null;else{we=Nt.f.kb,bn=(ln+1)/2,Cr=(cn+1)/2,Fn=Math.abs(we.fa),Pn=Math.abs(we.Ab);var ai=Math.abs(we.Db),$n=Math.abs(we.lb),Kr=$n*(cn-1)+ln;je&=Fn*(cn-1)+ln<=we.Fd,je&=Pn*(Cr-1)+bn<=we.Cd,je=(je&=ai*(Cr-1)+bn<=we.Ed)&Fn>=ln&Pn>=bn&ai>=bn,je&=we.y!=null,je&=we.f!=null,je&=we.ea!=null,rn==12&&(je&=$n>=ln,je&=Kr<=we.Tc,je&=we.F!=null)}else je=0;we=je?0:2}}return we!=0||st!=null&&st.fd&&(we=Mg(Nt)),we}var Zp=64,sf=[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],Jf=24,Vp=32,mp=8,C0=[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"),ur.Predictor0=function(){return 4278190080},ur.Predictor1=function(we){return we},ur.Predictor2=function(we,je,st){return je[st+0]},ur.Predictor3=function(we,je,st){return je[st+1]},ur.Predictor4=function(we,je,st){return je[st-1]},ur.Predictor5=function(we,je,st){return el(el(we,je[st+1]),je[st+0])},ur.Predictor6=function(we,je,st){return el(we,je[st-1])},ur.Predictor7=function(we,je,st){return el(we,je[st+0])},ur.Predictor8=function(we,je,st){return el(je[st-1],je[st+0])},ur.Predictor9=function(we,je,st){return el(je[st+0],je[st+1])},ur.Predictor10=function(we,je,st){return el(el(we,je[st-1]),el(je[st+0],je[st+1]))},ur.Predictor11=function(we,je,st){var Nt=je[st+0];return 0>=Sl(Nt>>24&255,we>>24&255,(je=je[st-1])>>24&255)+Sl(Nt>>16&255,we>>16&255,je>>16&255)+Sl(Nt>>8&255,we>>8&255,je>>8&255)+Sl(255&Nt,255&we,255&je)?Nt:we},ur.Predictor12=function(we,je,st){var Nt=je[st+0];return(Du((we>>24&255)+(Nt>>24&255)-((je=je[st-1])>>24&255))<<24|Du((we>>16&255)+(Nt>>16&255)-(je>>16&255))<<16|Du((we>>8&255)+(Nt>>8&255)-(je>>8&255))<<8|Du((255&we)+(255&Nt)-(255&je)))>>>0},ur.Predictor13=function(we,je,st){var Nt=je[st-1];return(Ou((we=el(we,je[st+0]))>>24&255,Nt>>24&255)<<24|Ou(we>>16&255,Nt>>16&255)<<16|Ou(we>>8&255,Nt>>8&255)<<8|Ou(255&we,255&Nt))>>>0};var B0=ur.PredictorAdd0;ur.PredictorAdd1=Eu,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=ur.PredictorAdd2;Qs("ColorIndexInverseTransform","MapARGB","32b",function(we){return we>>8&255},function(we){return we}),Qs("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(we){return we},function(we){return we>>8&255});var Ed,Ig=ur.ColorIndexInverseTransform,gh=ur.MapARGB,vh=ur.VP8LColorIndexInverseTransformAlpha,Gp=ur.MapAlpha,_m=ur.VP8LPredictorsAdd=[];_m.length=16,(ur.VP8LPredictors=[]).length=16,(ur.VP8LPredictorsAdd_C=[]).length=16,(ur.VP8LPredictors_C=[]).length=16;var og,Mm,X0,gp,Ku,vp,yp,Yp,yh,S0,Cc,Vc,Wd,AA,J0,sg,bh,Lg,Bv,Im,Sv,Dg,Og,Xp,lg,Ev,iv,Fv,kv=Ce(511),_v=Ce(2041),Mv=Ce(225),av=Ce(767),Ng=0,Jp=_v,Pg=Mv,qf=av,Zd=kv,Tg=0,Rg=1,Iv=2,ug=3,Lm=4,ov=5,bu=6,sv=7,E0=8,Nd=9,qp=10,q0=[2,3,7],cg=[3,3,11],$p=[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],Ov=[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],Nv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Pv=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],Om=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],em=[-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]]]],Tv=[[[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],bp=[],Vh=[],lf=[],m1=1,a1=2,wp=[],wh=[];Yl("UpsampleRgbLinePair",fp,3),Yl("UpsampleBgrLinePair",zd,3),Yl("UpsampleRgbaLinePair",$d,4),Yl("UpsampleBgraLinePair",Nl,4),Yl("UpsampleArgbLinePair",ag,4),Yl("UpsampleRgba4444LinePair",hp,2),Yl("UpsampleRgb565LinePair",zp,2);var g1=ur.UpsampleRgbLinePair,a=ur.UpsampleBgrLinePair,y=ur.UpsampleRgbaLinePair,b=ur.UpsampleBgraLinePair,z=ur.UpsampleArgbLinePair,re=ur.UpsampleRgba4444LinePair,pe=ur.UpsampleRgb565LinePair,ye=16,tt=1<<ye-1,ut=-227,gt=482,Mt=6,qt=(256<<Mt)-1,pn=0,Vn=Ce(256),ar=Ce(256),di=Ce(256),ja=Ce(256),oi=Ce(gt-ut),$i=Ce(gt-ut);Xf("YuvToRgbRow",fp,3),Xf("YuvToBgrRow",zd,3),Xf("YuvToRgbaRow",$d,4),Xf("YuvToBgraRow",Nl,4),Xf("YuvToArgbRow",ag,4),Xf("YuvToRgba4444Row",hp,2),Xf("YuvToRgb565Row",zp,2);var Ya=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],oa=[0,2,8],zo=[8,7,6,4,4,2,2,2,1,1,1,1],gs=1;this.WebPDecodeRGBA=function(we,je,st,Nt,rn){var ln=Rg,cn=new da,bn=new Ol;cn.ba=bn,bn.S=ln,bn.width=[bn.width],bn.height=[bn.height];var Fn=bn.width,Pn=bn.height,Cr=new al;if(Cr==null||we==null)var ai=2;else ne(Cr!=null),ai=Wp(we,je,st,Cr.width,Cr.height,Cr.Pd,Cr.Qd,Cr.format,null);if(ai!=0?Fn=0:(Fn!=null&&(Fn[0]=Cr.width[0]),Pn!=null&&(Pn[0]=Cr.height[0]),Fn=1),Fn){bn.width=bn.width[0],bn.height=bn.height[0],Nt!=null&&(Nt[0]=bn.width),rn!=null&&(rn[0]=bn.height);e:{if(Nt=new p0,(rn=new Qa).data=we,rn.w=je,rn.ha=st,rn.kd=1,je=[0],ne(rn!=null),((we=Wp(rn.data,rn.w,rn.ha,null,null,null,je,null,rn))==0||we==7)&&je[0]&&(we=4),(je=we)==0){if(ne(cn!=null),Nt.data=rn.data,Nt.w=rn.w+rn.offset,Nt.ha=rn.ha-rn.offset,Nt.put=pl,Nt.ac=d0,Nt.bc=j0,Nt.ma=cn,rn.xa){if((we=Dp())==null){cn=1;break e}if(function($n,Kr){var ri=[0],Zi=[0],Ai=[0];t:for(;;){if($n==null)return 0;if(Kr==null)return $n.a=2,0;if($n.l=Kr,$n.a=0,Wi($n.m,Kr.data,Kr.w,Kr.ha),!K0($n.m,ri,Zi,Ai)){$n.a=3;break t}if($n.xb=a1,Kr.width=ri[0],Kr.height=Zi[0],!h0(ri[0],Zi[0],1,$n,null))break t;return 1}return ne($n.a!=0),0}(we,Nt)){if(Nt=(je=pp(Nt.width,Nt.height,cn.Oa,cn.ba))==0){t:{Nt=we;n:for(;;){if(Nt==null){Nt=0;break t}if(ne(Nt.s.yc!=null),ne(Nt.s.Ya!=null),ne(0<Nt.s.Wb),ne((st=Nt.l)!=null),ne((rn=st.ma)!=null),Nt.xb!=0){if(Nt.ca=rn.ba,Nt.tb=rn.tb,ne(Nt.ca!=null),!pd(rn.Oa,st,ug)){Nt.a=2;break n}if(!Op(Nt,st.width)||st.da)break n;if((st.da||El(Nt.ca.S))&&zh(),11>Nt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Nt.ca.f.kb.F!=null&&zh()),Nt.Pb&&0<Nt.s.ua&&Nt.s.vb.X==null&&!Wn(Nt.s.vb,Nt.s.Wa.Xa)){Nt.a=1;break n}Nt.xb=0}if(!Yf(Nt,Nt.V,Nt.Ba,Nt.c,Nt.i,st.o,f0))break n;rn.Dc=Nt.Ma,Nt=1;break t}ne(Nt.a!=0),Nt=0}Nt=!Nt}Nt&&(je=we.a)}else je=we.a}else{if((we=new bm)==null){cn=1;break e}if(we.Fa=rn.na,we.P=rn.P,we.qc=rn.Sa,m0(we,Nt)){if((je=pp(Nt.width,Nt.height,cn.Oa,cn.ba))==0){if(we.Aa=0,st=cn.Oa,ne((rn=we)!=null),st!=null){if(0<(Fn=0>(Fn=st.Md)?0:100<Fn?255:255*Fn/100)){for(Pn=Cr=0;4>Pn;++Pn)12>(ai=rn.pb[Pn]).lc&&(ai.ia=Fn*zo[0>ai.lc?0:ai.lc]>>3),Cr|=ai.ia;Cr&&(alert("todo:VP8InitRandom"),rn.ia=1)}rn.Ga=st.Id,100<rn.Ga?rn.Ga=100:0>rn.Ga&&(rn.Ga=0)}(function($n,Kr){if($n==null)return 0;if(Kr==null)return Od($n,2,"NULL VP8Io parameter in VP8Decode().");if(!$n.cb&&!m0($n,Kr))return 0;if(ne($n.cb),Kr.ac==null||Kr.ac(Kr)){Kr.ob&&($n.L=0);var ri=oa[$n.L];if($n.L==2?($n.yb=0,$n.zb=0):($n.yb=Kr.v-ri>>4,$n.zb=Kr.j-ri>>4,0>$n.yb&&($n.yb=0),0>$n.zb&&($n.zb=0)),$n.Va=Kr.o+15+ri>>4,$n.Hb=Kr.va+15+ri>>4,$n.Hb>$n.za&&($n.Hb=$n.za),$n.Va>$n.Ub&&($n.Va=$n.Ub),0<$n.L){var Zi=$n.ed;for(ri=0;4>ri;++ri){var Ai;if($n.Qa.Cb){var na=$n.Qa.Lb[ri];$n.Qa.Fb||(na+=Zi.Tb)}else na=Zi.Tb;for(Ai=0;1>=Ai;++Ai){var xa=$n.gd[ri][Ai],go=na;if(Zi.Pc&&(go+=Zi.vd[0],Ai&&(go+=Zi.od[0])),0<(go=0>go?0:63<go?63:go)){var Xa=go;0<Zi.wb&&(Xa=4<Zi.wb?Xa>>2:Xa>>1)>9-Zi.wb&&(Xa=9-Zi.wb),1>Xa&&(Xa=1),xa.dd=Xa,xa.tc=2*go+Xa,xa.ld=40<=go?2:15<=go?1:0}else xa.tc=0;xa.La=Ai}}}ri=0}else Od($n,6,"Frame setup failed"),ri=$n.a;if(ri=ri==0){if(ri){$n.$c=0,0<$n.Aa||($n.Ic=gs);t:{ri=$n.Ic,Zi=4*(Xa=$n.za);var Zs=32*Xa,Bs=Xa+1,wu=0<$n.L?Xa*(0<$n.Aa?2:1):0,Ts=($n.Aa==2?2:1)*Xa;if((xa=Zi+832+(Ai=3*(16*ri+oa[$n.L])/2*Zs)+(na=$n.Fa!=null&&0<$n.Fa.length?$n.Kc.c*$n.Kc.i:0))!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cn!=0?null:11>ln?bn.f.RGBA.eb:bn.f.kb.y}else ln=null;return ln};var is=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function At(ur,ci){for(var yn="",qn=0;qn<4;qn++)yn+=String.fromCharCode(ur[ci++]);return yn}function Ft(ur,ci){return ur[ci+0]|ur[ci+1]<<8}function en(ur,ci){return(ur[ci+0]|ur[ci+1]<<8|ur[ci+2]<<16)>>>0}function sn(ur,ci){return(ur[ci+0]|ur[ci+1]<<8|ur[ci+2]<<16|ur[ci+3]<<24)>>>0}new ot;var Bt=[0],zn=[0],Nn=[],Yn=new ot,xn=E,Lr=function(ur,ci){var yn={},qn=0,Mr=!1,Br=0,Fi=0;if(yn.frames=[],!function(hn,or){for(var pr=0;pr<4;pr++)if(hn[or+pr]!="RIFF".charCodeAt(pr))return!0;return!1}(ur,ci)){for(sn(ur,ci+=4),ci+=8;ci<ur.length;){var Ui=At(ur,ci),Gi=sn(ur,ci+=4);ci+=4;var xi=Gi+(1&Gi);switch(Ui){case"VP8 ":case"VP8L":yn.frames[qn]===void 0&&(yn.frames[qn]={}),(Ta=yn.frames[qn]).src_off=Mr?Fi:ci-8,Ta.src_size=Br+Gi+8,qn++,Mr&&(Mr=!1,Br=0,Fi=0);break;case"VP8X":(Ta=yn.header={}).feature_flags=ur[ci];var Wi=ci+4;Ta.canvas_width=1+en(ur,Wi),Wi+=3,Ta.canvas_height=1+en(ur,Wi),Wi+=3;break;case"ALPH":Mr=!0,Br=xi+8,Fi=ci-8;break;case"ANIM":(Ta=yn.header).bgcolor=sn(ur,ci),Wi=ci+4,Ta.loop_count=Ft(ur,Wi),Wi+=2;break;case"ANMF":var mo,Ta;(Ta=yn.frames[qn]={}).offset_x=2*en(ur,ci),ci+=3,Ta.offset_y=2*en(ur,ci),ci+=3,Ta.width=1+en(ur,ci),ci+=3,Ta.height=1+en(ur,ci),ci+=3,Ta.duration=en(ur,ci),ci+=3,mo=ur[ci++],Ta.dispose=1&mo,Ta.blend=mo>>1&1}Ui!="ANMF"&&(ci+=xi)}return yn}}(xn,0);Lr.response=xn,Lr.rgbaoutput=!0,Lr.dataurl=!1;var xr=Lr.header?Lr.header:null,sr=Lr.frames?Lr.frames:null;if(xr){xr.loop_counter=xr.loop_count,Bt=[xr.canvas_height],zn=[xr.canvas_width];for(var wi=0;wi<sr.length&&sr[wi].blend!=0;wi++);}var qi=sr[0],Qi=Yn.WebPDecodeRGBA(xn,qi.src_off,qi.src_size,zn,Bt);qi.rgba=Qi,qi.imgwidth=zn[0],qi.imgheight=Bt[0];for(var zr=0;zr<zn[0]*Bt[0]*4;zr++)Nn[zr]=Qi[zr];return this.width=zn,this.height=Bt,this.data=Nn,this}(function(E){var ne,te,ce,ge,Ce,nt,Ge,ot,At,Ft=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,ce=this.internal.getVerticalCoordinateString,ge=this.internal.getHorizontalCoordinate,Ce=this.internal.getVerticalCoordinate,nt=this.internal.Point,Ge=this.internal.Rectangle,ot=this.internal.Matrix,At=new Ft}]);var en=function(hn){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var or=hn;Object.defineProperty(this,"pdf",{get:function(){return or}});var pr=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return pr},set:function(Wn){pr=!!Wn}});var Nr=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Nr},set:function(Wn){Nr=!!Wn}});var Xr=0;Object.defineProperty(this,"posX",{get:function(){return Xr},set:function(Wn){isNaN(Wn)||(Xr=Wn)}});var pi=0;Object.defineProperty(this,"posY",{get:function(){return pi},set:function(Wn){isNaN(Wn)||(pi=Wn)}}),Object.defineProperty(this,"margin",{get:function(){return At.margin},set:function(Wn){var Yo;typeof Wn=="number"?Yo=[Wn,Wn,Wn,Wn]:((Yo=new Array(4))[0]=Wn[0],Yo[1]=Wn.length>=2?Wn[1]:Yo[0],Yo[2]=Wn.length>=3?Wn[2]:Yo[0],Yo[3]=Wn.length>=4?Wn[3]:Yo[1]),At.margin=Yo}});var Di=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Di},set:function(Wn){Di=Wn}});var Ni=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ni},set:function(Wn){Ni=Wn}});var ba=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ba},set:function(Wn){ba=Wn}}),Object.defineProperty(this,"ctx",{get:function(){return At},set:function(Wn){Wn instanceof Ft&&(At=Wn)}}),Object.defineProperty(this,"path",{get:function(){return At.path},set:function(Wn){At.path=Wn}});var co=[];Object.defineProperty(this,"ctxStack",{get:function(){return co},set:function(Wn){co=Wn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Wn){var Yo;Yo=sn(Wn),this.ctx.fillStyle=Yo.style,this.ctx.isFillTransparent=Yo.a===0,this.ctx.fillOpacity=Yo.a,this.pdf.setFillColor(Yo.r,Yo.g,Yo.b,{a:Yo.a}),this.pdf.setTextColor(Yo.r,Yo.g,Yo.b,{a:Yo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Wn){var Yo=sn(Wn);this.ctx.strokeStyle=Yo.style,this.ctx.isStrokeTransparent=Yo.a===0,this.ctx.strokeOpacity=Yo.a,Yo.a===0?this.pdf.setDrawColor(255,255,255):(Yo.a,this.pdf.setDrawColor(Yo.r,Yo.g,Yo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Wn){["butt","round","square"].indexOf(Wn)!==-1&&(this.ctx.lineCap=Wn,this.pdf.setLineCap(Wn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Wn){isNaN(Wn)||(this.ctx.lineWidth=Wn,this.pdf.setLineWidth(Wn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Wn){["bevel","round","miter"].indexOf(Wn)!==-1&&(this.ctx.lineJoin=Wn,this.pdf.setLineJoin(Wn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Wn){isNaN(Wn)||(this.ctx.miterLimit=Wn,this.pdf.setMiterLimit(Wn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Wn){this.ctx.textBaseline=Wn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Wn){["right","end","center","left","start"].indexOf(Wn)!==-1&&(this.ctx.textAlign=Wn)}});var Ho=null,Ko=null,zs=null;Object.defineProperty(this,"fontFaces",{get:function(){return zs},set:function(Wn){Ho=null,Ko=null,zs=Wn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Wn){var Yo;if(this.ctx.font=Wn,(Yo=/^\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(Wn))!==null){var hu=Yo[1];Yo[2];var hl=Yo[3],ao=Yo[4];Yo[5];var il=Yo[6],qo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ao)[2];ao=Math.floor(qo==="px"?parseFloat(ao)*this.pdf.internal.scaleFactor:qo==="em"?parseFloat(ao)*this.pdf.getFontSize():parseFloat(ao)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ao);var Hs=function(Qs){var Kd,Ju,pu=[],yu=Qs.trim();if(yu==="")return Wg;if(yu in nf)return[nf[yu]];for(;yu!=="";){switch(Ju=null,Kd=(yu=c0(yu)).charAt(0)){case'"':case"'":Ju=kf(yu.substring(1),Kd);break;default:Ju=Uh(yu)}if(Ju===null||(pu.push(Ju[0]),(yu=c0(Ju[1]))!==""&&yu.charAt(0)!==","))return Wg;yu=yu.replace(/^,/,"")}return pu}(il);if(this.fontFaces){var el=function(Qs,Kd){var Ju=Qs.getFontList(),pu=JSON.stringify(Ju);if(Ho===null||Ko!==pu){var yu=function(fd){var Ws=[];return Object.keys(fd).forEach(function(zc){fd[zc].forEach(function(El){var zl=null;switch(El){case"bold":zl={family:zc,weight:"bold"};break;case"italic":zl={family:zc,style:"italic"};break;case"bolditalic":zl={family:zc,weight:"bold",style:"italic"};break;case"":case"normal":zl={family:zc}}zl!==null&&(zl.ref={name:zc,style:El},Ws.push(zl))})}),Ws}(Ju);Ho=function(fd){for(var Ws={},zc=0;zc<fd.length;++zc){var El=Ff(fd[zc]),zl=El.family,Ic=El.stretch,Ol=El.style,al=El.weight;Ws[zl]=Ws[zl]||{},Ws[zl][Ic]=Ws[zl][Ic]||{},Ws[zl][Ic][Ol]=Ws[zl][Ic][Ol]||{},Ws[zl][Ic][Ol][al]=El}return Ws}(yu.concat(Kd)),Ko=pu}return Ho}(this.pdf,this.fontFaces),Du=Hs.map(function(Qs){return{family:Qs,stretch:"normal",weight:hl,style:hu}}),Ou=function(Qs,Kd,Ju){for(var pu=(Ju=Ju||{}).defaultFontFamily||"times",yu=Object.assign({},Ah,Ju.genericFontFamilies||{}),fd=null,Ws=null,zc=0;zc<Kd.length;++zc)if(yu[(fd=Ff(Kd[zc])).family]&&(fd.family=yu[fd.family]),Qs.hasOwnProperty(fd.family)){Ws=Qs[fd.family];break}if(!(Ws=Ws||Qs[pu]))throw new Error("Could not find a font-family for the rule '"+fh(fd)+"' and default family '"+pu+"'.");if(Ws=function(El,zl){if(zl[El])return zl[El];var Ic=MA[El],Ol=Ic<=MA.normal?-1:1,al=jf(zl,Rh,Ic,Ol);if(!al)throw new Error("Could not find a matching font-stretch value for "+El);return al}(fd.stretch,Ws),Ws=function(El,zl){if(zl[El])return zl[El];for(var Ic=Xd[El],Ol=0;Ol<Ic.length;++Ol)if(zl[Ic[Ol]])return zl[Ic[Ol]];throw new Error("Could not find a matching font-style for "+El)}(fd.style,Ws),!(Ws=function(El,zl){if(zl[El])return zl[El];if(El===400&&zl[500])return zl[500];if(El===500&&zl[400])return zl[400];var Ic=Qf[El],Ol=jf(zl,PA,Ic,El<400?-1:1);if(!Ol)throw new Error("Could not find a matching font-weight for value "+El);return Ol}(fd.weight,Ws)))throw new Error("Failed to resolve a font for the rule '"+fh(fd)+"'.");return Ws}(el,Du);this.pdf.setFont(Ou.ref.name,Ou.ref.style)}else{var Sl="";(hl==="bold"||parseInt(hl,10)>=700||hu==="bold")&&(Sl="bold"),hu==="italic"&&(Sl+="italic"),Sl.length===0&&(Sl="normal");for(var Eu="",vu={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"},Ls=0;Ls<Hs.length;Ls++){if(this.pdf.internal.getFont(Hs[Ls],Sl,{noFallback:!0,disableWarning:!0})!==void 0){Eu=Hs[Ls];break}if(Sl==="bolditalic"&&this.pdf.internal.getFont(Hs[Ls],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Eu=Hs[Ls],Sl="bold";else if(this.pdf.internal.getFont(Hs[Ls],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Eu=Hs[Ls],Sl="normal";break}}if(Eu===""){for(var tu=0;tu<Hs.length;tu++)if(vu[Hs[tu]]){Eu=vu[Hs[tu]];break}}Eu=Eu===""?"Times":Eu,this.pdf.setFont(Eu,Sl)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Wn){this.ctx.globalCompositeOperation=Wn}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Wn){this.ctx.globalAlpha=Wn}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Wn){this.ctx.lineDashOffset=Wn,Ta.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Wn){this.ctx.lineDash=Wn,Ta.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Wn){this.ctx.ignoreClearRect=!!Wn}})};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(){sr.call(this,"fill",!1)},en.prototype.stroke=function(){sr.call(this,"stroke",!1)},en.prototype.beginPath=function(){this.path=[{type:"begin"}]},en.prototype.moveTo=function(hn,or){if(isNaN(hn)||isNaN(or))throw fu.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var pr=this.ctx.transform.applyToPoint(new nt(hn,or));this.path.push({type:"mt",x:pr.x,y:pr.y}),this.ctx.lastPoint=new nt(hn,or)},en.prototype.closePath=function(){var hn=new nt(0,0),or=0;for(or=this.path.length-1;or!==-1;or--)if(this.path[or].type==="begin"&&(0,he.Z)(this.path[or+1])==="object"&&typeof this.path[or+1].x=="number"){hn=new nt(this.path[or+1].x,this.path[or+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new nt(hn.x,hn.y)},en.prototype.lineTo=function(hn,or){if(isNaN(hn)||isNaN(or))throw fu.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var pr=this.ctx.transform.applyToPoint(new nt(hn,or));this.path.push({type:"lt",x:pr.x,y:pr.y}),this.ctx.lastPoint=new nt(pr.x,pr.y)},en.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),sr.call(this,null,!0)},en.prototype.quadraticCurveTo=function(hn,or,pr,Nr){if(isNaN(pr)||isNaN(Nr)||isNaN(hn)||isNaN(or))throw fu.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Xr=this.ctx.transform.applyToPoint(new nt(pr,Nr)),pi=this.ctx.transform.applyToPoint(new nt(hn,or));this.path.push({type:"qct",x1:pi.x,y1:pi.y,x:Xr.x,y:Xr.y}),this.ctx.lastPoint=new nt(Xr.x,Xr.y)},en.prototype.bezierCurveTo=function(hn,or,pr,Nr,Xr,pi){if(isNaN(Xr)||isNaN(pi)||isNaN(hn)||isNaN(or)||isNaN(pr)||isNaN(Nr))throw fu.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Di=this.ctx.transform.applyToPoint(new nt(Xr,pi)),Ni=this.ctx.transform.applyToPoint(new nt(hn,or)),ba=this.ctx.transform.applyToPoint(new nt(pr,Nr));this.path.push({type:"bct",x1:Ni.x,y1:Ni.y,x2:ba.x,y2:ba.y,x:Di.x,y:Di.y}),this.ctx.lastPoint=new nt(Di.x,Di.y)},en.prototype.arc=function(hn,or,pr,Nr,Xr,pi){if(isNaN(hn)||isNaN(or)||isNaN(pr)||isNaN(Nr)||isNaN(Xr))throw fu.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(pi=!!pi,!this.ctx.transform.isIdentity){var Di=this.ctx.transform.applyToPoint(new nt(hn,or));hn=Di.x,or=Di.y;var Ni=this.ctx.transform.applyToPoint(new nt(0,pr)),ba=this.ctx.transform.applyToPoint(new nt(0,0));pr=Math.sqrt(Math.pow(Ni.x-ba.x,2)+Math.pow(Ni.y-ba.y,2))}Math.abs(Xr-Nr)>=2*Math.PI&&(Nr=0,Xr=2*Math.PI),this.path.push({type:"arc",x:hn,y:or,radius:pr,startAngle:Nr,endAngle:Xr,counterclockwise:pi})},en.prototype.arcTo=function(hn,or,pr,Nr,Xr){throw new Error("arcTo not implemented.")},en.prototype.rect=function(hn,or,pr,Nr){if(isNaN(hn)||isNaN(or)||isNaN(pr)||isNaN(Nr))throw fu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(hn,or),this.lineTo(hn+pr,or),this.lineTo(hn+pr,or+Nr),this.lineTo(hn,or+Nr),this.lineTo(hn,or),this.lineTo(hn+pr,or),this.lineTo(hn,or)},en.prototype.fillRect=function(hn,or,pr,Nr){if(isNaN(hn)||isNaN(or)||isNaN(pr)||isNaN(Nr))throw fu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Bt.call(this)){var Xr={};this.lineCap!=="butt"&&(Xr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Xr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(hn,or,pr,Nr),this.fill(),Xr.hasOwnProperty("lineCap")&&(this.lineCap=Xr.lineCap),Xr.hasOwnProperty("lineJoin")&&(this.lineJoin=Xr.lineJoin)}},en.prototype.strokeRect=function(hn,or,pr,Nr){if(isNaN(hn)||isNaN(or)||isNaN(pr)||isNaN(Nr))throw fu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");zn.call(this)||(this.beginPath(),this.rect(hn,or,pr,Nr),this.stroke())},en.prototype.clearRect=function(hn,or,pr,Nr){if(isNaN(hn)||isNaN(or)||isNaN(pr)||isNaN(Nr))throw fu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(hn,or,pr,Nr))},en.prototype.save=function(hn){hn=typeof hn!="boolean"||hn;for(var or=this.pdf.internal.getCurrentPageInfo().pageNumber,pr=0;pr<this.pdf.internal.getNumberOfPages();pr++)this.pdf.setPage(pr+1),this.pdf.internal.out("q");if(this.pdf.setPage(or),hn){this.ctx.fontSize=this.pdf.internal.getFontSize();var Nr=new Ft(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Nr}},en.prototype.restore=function(hn){hn=typeof hn!="boolean"||hn;for(var or=this.pdf.internal.getCurrentPageInfo().pageNumber,pr=0;pr<this.pdf.internal.getNumberOfPages();pr++)this.pdf.setPage(pr+1),this.pdf.internal.out("Q");this.pdf.setPage(or),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 or,pr,Nr,Xr;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))or=0,pr=0,Nr=0,Xr=0;else{var pi=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(hn);if(pi!==null)or=parseInt(pi[1]),pr=parseInt(pi[2]),Nr=parseInt(pi[3]),Xr=1;else if((pi=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(hn))!==null)or=parseInt(pi[1]),pr=parseInt(pi[2]),Nr=parseInt(pi[3]),Xr=parseFloat(pi[4]);else{if(Xr=1,typeof hn=="string"&&hn.charAt(0)!=="#"){var Di=new Km(hn);hn=Di.ok?Di.toHex():"#000000"}hn.length===4?(or=hn.substring(1,2),or+=or,pr=hn.substring(2,3),pr+=pr,Nr=hn.substring(3,4),Nr+=Nr):(or=hn.substring(1,3),pr=hn.substring(3,5),Nr=hn.substring(5,7)),or=parseInt(or,16),pr=parseInt(pr,16),Nr=parseInt(Nr,16)}}return{r:or,g:pr,b:Nr,a:Xr,style:hn}},Bt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},zn=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};en.prototype.fillText=function(hn,or,pr,Nr){if(isNaN(or)||isNaN(pr)||typeof hn!="string")throw fu.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Nr=isNaN(Nr)?void 0:Nr,!Bt.call(this)){var Xr=xi(this.ctx.transform.rotation),pi=this.ctx.transform.scaleX;qn.call(this,{text:hn,x:or,y:pr,scale:pi,angle:Xr,align:this.textAlign,maxWidth:Nr})}},en.prototype.strokeText=function(hn,or,pr,Nr){if(isNaN(or)||isNaN(pr)||typeof hn!="string")throw fu.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!zn.call(this)){Nr=isNaN(Nr)?void 0:Nr;var Xr=xi(this.ctx.transform.rotation),pi=this.ctx.transform.scaleX;qn.call(this,{text:hn,x:or,y:pr,scale:pi,renderingMode:"stroke",angle:Xr,align:this.textAlign,maxWidth:Nr})}},en.prototype.measureText=function(hn){if(typeof hn!="string")throw fu.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var or=this.pdf,pr=this.pdf.internal.scaleFactor,Nr=or.internal.getFontSize(),Xr=or.getStringUnitWidth(hn)*Nr/or.internal.scaleFactor;return new function(pi){var Di=(pi=pi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Di}}),this}({width:Xr*=Math.round(96*pr/72*1e4)/1e4})},en.prototype.scale=function(hn,or){if(isNaN(hn)||isNaN(or))throw fu.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var pr=new ot(hn,0,0,or,0,0);this.ctx.transform=this.ctx.transform.multiply(pr)},en.prototype.rotate=function(hn){if(isNaN(hn))throw fu.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var or=new ot(Math.cos(hn),Math.sin(hn),-Math.sin(hn),Math.cos(hn),0,0);this.ctx.transform=this.ctx.transform.multiply(or)},en.prototype.translate=function(hn,or){if(isNaN(hn)||isNaN(or))throw fu.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var pr=new ot(1,0,0,1,hn,or);this.ctx.transform=this.ctx.transform.multiply(pr)},en.prototype.transform=function(hn,or,pr,Nr,Xr,pi){if(isNaN(hn)||isNaN(or)||isNaN(pr)||isNaN(Nr)||isNaN(Xr)||isNaN(pi))throw fu.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Di=new ot(hn,or,pr,Nr,Xr,pi);this.ctx.transform=this.ctx.transform.multiply(Di)},en.prototype.setTransform=function(hn,or,pr,Nr,Xr,pi){hn=isNaN(hn)?1:hn,or=isNaN(or)?0:or,pr=isNaN(pr)?0:pr,Nr=isNaN(Nr)?1:Nr,Xr=isNaN(Xr)?0:Xr,pi=isNaN(pi)?0:pi,this.ctx.transform=new ot(hn,or,pr,Nr,Xr,pi)};var Nn=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};en.prototype.drawImage=function(hn,or,pr,Nr,Xr,pi,Di,Ni,ba){var co=this.pdf.getImageProperties(hn),Ho=1,Ko=1,zs=1,Wn=1;Nr!==void 0&&Ni!==void 0&&(zs=Ni/Nr,Wn=ba/Xr,Ho=co.width/Nr*Ni/Nr,Ko=co.height/Xr*ba/Xr),pi===void 0&&(pi=or,Di=pr,or=0,pr=0),Nr!==void 0&&Ni===void 0&&(Ni=Nr,ba=Xr),Nr===void 0&&Ni===void 0&&(Ni=co.width,ba=co.height);var Yo=this.ctx.transform.decompose(),hu=xi(Yo.rotate.shx),hl=new ot,ao=(hl=(hl=(hl=hl.multiply(Yo.translate)).multiply(Yo.skew)).multiply(Yo.scale)).applyToRectangle(new Ge(pi-or*zs,Di-pr*Wn,Nr*Ho,Xr*Ko));if(this.autoPaging){for(var il,qo=Yn.call(this,ao),Hs=[],el=0;el<qo.length;el+=1)Hs.indexOf(qo[el])===-1&&Hs.push(qo[el]);xr(Hs);for(var Du=Hs[0],Ou=Hs[Hs.length-1],Sl=Du;Sl<Ou+1;Sl++){this.pdf.setPage(Sl);var Eu=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],vu=Sl===1?this.posY+this.margin[0]:this.margin[0],Ls=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],tu=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Qs=Sl===1?0:Ls+(Sl-2)*tu;if(this.ctx.clip_path.length!==0){var Kd=this.path;il=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Lr(il,this.posX+this.margin[3],-Qs+vu+this.ctx.prevPageLastElemOffset),wi.call(this,"fill",!0),this.path=Kd}var Ju=JSON.parse(JSON.stringify(ao));Ju=Lr([Ju],this.posX+this.margin[3],-Qs+vu+this.ctx.prevPageLastElemOffset)[0];var pu=(Sl>Du||Sl<Ou)&&Nn.call(this);pu&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Eu,tu,null).clip().discardPath()),this.pdf.addImage(hn,"JPEG",Ju.x,Ju.y,Ju.w,Ju.h,null,null,hu),pu&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(hn,"JPEG",ao.x,ao.y,ao.w,ao.h,null,null,hu)};var Yn=function(hn,or,pr){var Nr=[];or=or||this.pdf.internal.pageSize.width,pr=pr||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Xr=this.posY+this.ctx.prevPageLastElemOffset;switch(hn.type){default:case"mt":case"lt":Nr.push(Math.floor((hn.y+Xr)/pr)+1);break;case"arc":Nr.push(Math.floor((hn.y+Xr-hn.radius)/pr)+1),Nr.push(Math.floor((hn.y+Xr+hn.radius)/pr)+1);break;case"qct":var pi=Wi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,hn.x1,hn.y1,hn.x,hn.y);Nr.push(Math.floor((pi.y+Xr)/pr)+1),Nr.push(Math.floor((pi.y+pi.h+Xr)/pr)+1);break;case"bct":var Di=mo(this.ctx.lastPoint.x,this.ctx.lastPoint.y,hn.x1,hn.y1,hn.x2,hn.y2,hn.x,hn.y);Nr.push(Math.floor((Di.y+Xr)/pr)+1),Nr.push(Math.floor((Di.y+Di.h+Xr)/pr)+1);break;case"rect":Nr.push(Math.floor((hn.y+Xr)/pr)+1),Nr.push(Math.floor((hn.y+hn.h+Xr)/pr)+1)}for(var Ni=0;Ni<Nr.length;Ni+=1)for(;this.pdf.internal.getNumberOfPages()<Nr[Ni];)xn.call(this);return Nr},xn=function(){var hn=this.fillStyle,or=this.strokeStyle,pr=this.font,Nr=this.lineCap,Xr=this.lineWidth,pi=this.lineJoin;this.pdf.addPage(),this.fillStyle=hn,this.strokeStyle=or,this.font=pr,this.lineCap=Nr,this.lineWidth=Xr,this.lineJoin=pi},Lr=function(hn,or,pr){for(var Nr=0;Nr<hn.length;Nr++)switch(hn[Nr].type){case"bct":hn[Nr].x2+=or,hn[Nr].y2+=pr;case"qct":hn[Nr].x1+=or,hn[Nr].y1+=pr;default:hn[Nr].x+=or,hn[Nr].y+=pr}return hn},xr=function(hn){return hn.sort(function(or,pr){return or-pr})},sr=function(hn,or){var pr=this.fillStyle,Nr=this.strokeStyle,Xr=this.lineCap,pi=this.lineWidth,Di=Math.abs(pi*this.ctx.transform.scaleX),Ni=this.lineJoin;if(this.autoPaging){for(var ba,co,Ho=JSON.parse(JSON.stringify(this.path)),Ko=JSON.parse(JSON.stringify(this.path)),zs=[],Wn=0;Wn<Ko.length;Wn++)if(Ko[Wn].x!==void 0)for(var Yo=Yn.call(this,Ko[Wn]),hu=0;hu<Yo.length;hu+=1)zs.indexOf(Yo[hu])===-1&&zs.push(Yo[hu]);for(var hl=0;hl<zs.length;hl++)for(;this.pdf.internal.getNumberOfPages()<zs[hl];)xn.call(this);xr(zs);for(var ao=zs[0],il=zs[zs.length-1],qo=ao;qo<il+1;qo++){this.pdf.setPage(qo),this.fillStyle=pr,this.strokeStyle=Nr,this.lineCap=Xr,this.lineWidth=Di,this.lineJoin=Ni;var Hs=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],el=qo===1?this.posY+this.margin[0]:this.margin[0],Du=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ou=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Sl=qo===1?0:Du+(qo-2)*Ou;if(this.ctx.clip_path.length!==0){var Eu=this.path;ba=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Lr(ba,this.posX+this.margin[3],-Sl+el+this.ctx.prevPageLastElemOffset),wi.call(this,hn,!0),this.path=Eu}if(co=JSON.parse(JSON.stringify(Ho)),this.path=Lr(co,this.posX+this.margin[3],-Sl+el+this.ctx.prevPageLastElemOffset),or===!1||qo===0){var vu=(qo>ao||qo<il)&&Nn.call(this);vu&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Hs,Ou,null).clip().discardPath()),wi.call(this,hn,or),vu&&this.pdf.restoreGraphicsState()}this.lineWidth=pi}this.path=Ho}else this.lineWidth=Di,wi.call(this,hn,or),this.lineWidth=pi},wi=function(hn,or){if((hn!=="stroke"||or||!zn.call(this))&&(hn==="stroke"||or||!Bt.call(this))){for(var pr,Nr,Xr=[],pi=this.path,Di=0;Di<pi.length;Di++){var Ni=pi[Di];switch(Ni.type){case"begin":Xr.push({begin:!0});break;case"close":Xr.push({close:!0});break;case"mt":Xr.push({start:Ni,deltas:[],abs:[]});break;case"lt":var ba=Xr.length;if(pi[Di-1]&&!isNaN(pi[Di-1].x)&&(pr=[Ni.x-pi[Di-1].x,Ni.y-pi[Di-1].y],ba>0)){for(;ba>=0;ba--)if(Xr[ba-1].close!==!0&&Xr[ba-1].begin!==!0){Xr[ba-1].deltas.push(pr),Xr[ba-1].abs.push(Ni);break}}break;case"bct":pr=[Ni.x1-pi[Di-1].x,Ni.y1-pi[Di-1].y,Ni.x2-pi[Di-1].x,Ni.y2-pi[Di-1].y,Ni.x-pi[Di-1].x,Ni.y-pi[Di-1].y],Xr[Xr.length-1].deltas.push(pr);break;case"qct":var co=pi[Di-1].x+2/3*(Ni.x1-pi[Di-1].x),Ho=pi[Di-1].y+2/3*(Ni.y1-pi[Di-1].y),Ko=Ni.x+2/3*(Ni.x1-Ni.x),zs=Ni.y+2/3*(Ni.y1-Ni.y),Wn=Ni.x,Yo=Ni.y;pr=[co-pi[Di-1].x,Ho-pi[Di-1].y,Ko-pi[Di-1].x,zs-pi[Di-1].y,Wn-pi[Di-1].x,Yo-pi[Di-1].y],Xr[Xr.length-1].deltas.push(pr);break;case"arc":Xr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Xr[Xr.length-1].abs)&&Xr[Xr.length-1].abs.push(Ni)}}Nr=or?null:hn==="stroke"?"stroke":"fill";for(var hu=!1,hl=0;hl<Xr.length;hl++)if(Xr[hl].arc)for(var ao=Xr[hl].abs,il=0;il<ao.length;il++){var qo=ao[il];qo.type==="arc"?zr.call(this,qo.x,qo.y,qo.radius,qo.startAngle,qo.endAngle,qo.counterclockwise,void 0,or,!hu):Mr.call(this,qo.x,qo.y),hu=!0}else if(Xr[hl].close===!0)this.pdf.internal.out("h"),hu=!1;else if(Xr[hl].begin!==!0){var Hs=Xr[hl].start.x,el=Xr[hl].start.y;Br.call(this,Xr[hl].deltas,Hs,el),hu=!0}Nr&&ur.call(this,Nr),or&&ci.call(this)}},qi=function(hn){var or=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,pr=or*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return hn-pr;case"top":return hn+or-pr;case"hanging":return hn+or-2*pr;case"middle":return hn+or/2-pr;default:return hn}},Qi=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(or,pr){this.colorStops.push([or,pr])},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 zr=function(hn,or,pr,Nr,Xr,pi,Di,Ni,ba){for(var co=Ui.call(this,pr,Nr,Xr,pi),Ho=0;Ho<co.length;Ho++){var Ko=co[Ho];Ho===0&&(ba?yn.call(this,Ko.x1+hn,Ko.y1+or):Mr.call(this,Ko.x1+hn,Ko.y1+or)),Fi.call(this,hn,or,Ko.x2,Ko.y2,Ko.x3,Ko.y3,Ko.x4,Ko.y4)}Ni?ci.call(this):ur.call(this,Di)},ur=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,or){this.pdf.internal.out(te(hn)+" "+ce(or)+" m")},qn=function(hn){var or;switch(hn.align){case"right":case"end":or="right";break;case"center":or="center";break;default:or="left"}var pr,Nr,Xr,pi=this.pdf.getTextDimensions(hn.text),Di=qi.call(this,hn.y),Ni=Qi.call(this,Di)-pi.h,ba=this.ctx.transform.applyToPoint(new nt(hn.x,Di));if(this.autoPaging){var co=this.ctx.transform.decompose(),Ho=new ot;Ho=(Ho=(Ho=Ho.multiply(co.translate)).multiply(co.skew)).multiply(co.scale);for(var Ko=this.ctx.transform.applyToRectangle(new Ge(hn.x,Di,pi.w,pi.h)),zs=Ho.applyToRectangle(new Ge(hn.x,Ni,pi.w,pi.h)),Wn=Yn.call(this,zs),Yo=[],hu=0;hu<Wn.length;hu+=1)Yo.indexOf(Wn[hu])===-1&&Yo.push(Wn[hu]);xr(Yo);for(var hl=Yo[0],ao=Yo[Yo.length-1],il=hl;il<ao+1;il++){this.pdf.setPage(il);var qo=il===1?this.posY+this.margin[0]:this.margin[0],Hs=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],el=this.pdf.internal.pageSize.height-this.margin[2],Du=el-this.margin[0],Ou=this.pdf.internal.pageSize.width-this.margin[1],Sl=Ou-this.margin[3],Eu=il===1?0:Hs+(il-2)*Du;if(this.ctx.clip_path.length!==0){var vu=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Lr(pr,this.posX+this.margin[3],-1*Eu+qo),wi.call(this,"fill",!0),this.path=vu}var Ls=Lr([JSON.parse(JSON.stringify(zs))],this.posX+this.margin[3],-Eu+qo+this.ctx.prevPageLastElemOffset)[0];hn.scale>=.01&&(Nr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Nr*hn.scale),Xr=this.lineWidth,this.lineWidth=Xr*hn.scale);var tu=this.autoPaging!=="text";if(tu||Ls.y+Ls.h<=el){if(tu||Ls.y>=qo&&Ls.x<=Ou){var Qs=tu?hn.text:this.pdf.splitTextToSize(hn.text,hn.maxWidth||Ou-Ls.x)[0],Kd=Lr([JSON.parse(JSON.stringify(Ko))],this.posX+this.margin[3],-Eu+qo+this.ctx.prevPageLastElemOffset)[0],Ju=tu&&(il>hl||il<ao)&&Nn.call(this);Ju&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Sl,Du,null).clip().discardPath()),this.pdf.text(Qs,Kd.x,Kd.y,{angle:hn.angle,align:or,renderingMode:hn.renderingMode}),Ju&&this.pdf.restoreGraphicsState()}}else Ls.y<el&&(this.ctx.prevPageLastElemOffset+=el-Ls.y);hn.scale>=.01&&(this.pdf.setFontSize(Nr),this.lineWidth=Xr)}}else hn.scale>=.01&&(Nr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Nr*hn.scale),Xr=this.lineWidth,this.lineWidth=Xr*hn.scale),this.pdf.text(hn.text,ba.x+this.posX,ba.y+this.posY,{angle:hn.angle,align:or,renderingMode:hn.renderingMode,maxWidth:hn.maxWidth}),hn.scale>=.01&&(this.pdf.setFontSize(Nr),this.lineWidth=Xr)},Mr=function(hn,or,pr,Nr){pr=pr||0,Nr=Nr||0,this.pdf.internal.out(te(hn+pr)+" "+ce(or+Nr)+" l")},Br=function(hn,or,pr){return this.pdf.lines(hn,or,pr,null,null)},Fi=function(hn,or,pr,Nr,Xr,pi,Di,Ni){this.pdf.internal.out([ne(ge(pr+hn)),ne(Ce(Nr+or)),ne(ge(Xr+hn)),ne(Ce(pi+or)),ne(ge(Di+hn)),ne(Ce(Ni+or)),"c"].join(" "))},Ui=function(hn,or,pr,Nr){for(var Xr=2*Math.PI,pi=Math.PI/2;or>pr;)or-=Xr;var Di=Math.abs(pr-or);Di<Xr&&Nr&&(Di=Xr-Di);for(var Ni=[],ba=Nr?-1:1,co=or;Di>1e-5;){var Ho=co+ba*Math.min(Di,pi);Ni.push(Gi.call(this,hn,co,Ho)),Di-=Math.abs(Ho-co),co=Ho}return Ni},Gi=function(hn,or,pr){var Nr=(pr-or)/2,Xr=hn*Math.cos(Nr),pi=hn*Math.sin(Nr),Di=Xr,Ni=-pi,ba=Di*Di+Ni*Ni,co=ba+Di*Xr+Ni*pi,Ho=4/3*(Math.sqrt(2*ba*co)-co)/(Di*pi-Ni*Xr),Ko=Di-Ho*Ni,zs=Ni+Ho*Di,Wn=Ko,Yo=-zs,hu=Nr+or,hl=Math.cos(hu),ao=Math.sin(hu);return{x1:hn*Math.cos(or),y1:hn*Math.sin(or),x2:Ko*hl-zs*ao,y2:Ko*ao+zs*hl,x3:Wn*hl-Yo*ao,y3:Wn*ao+Yo*hl,x4:hn*Math.cos(pr),y4:hn*Math.sin(pr)}},xi=function(hn){return 180*hn/Math.PI},Wi=function(hn,or,pr,Nr,Xr,pi){var Di=hn+.5*(pr-hn),Ni=or+.5*(Nr-or),ba=Xr+.5*(pr-Xr),co=pi+.5*(Nr-pi),Ho=Math.min(hn,Xr,Di,ba),Ko=Math.max(hn,Xr,Di,ba),zs=Math.min(or,pi,Ni,co),Wn=Math.max(or,pi,Ni,co);return new Ge(Ho,zs,Ko-Ho,Wn-zs)},mo=function(hn,or,pr,Nr,Xr,pi,Di,Ni){var ba,co,Ho,Ko,zs,Wn,Yo,hu,hl,ao,il,qo,Hs,el,Du=pr-hn,Ou=Nr-or,Sl=Xr-pr,Eu=pi-Nr,vu=Di-Xr,Ls=Ni-pi;for(co=0;co<41;co++)hl=(Yo=(Ho=hn+(ba=co/40)*Du)+ba*((zs=pr+ba*Sl)-Ho))+ba*(zs+ba*(Xr+ba*vu-zs)-Yo),ao=(hu=(Ko=or+ba*Ou)+ba*((Wn=Nr+ba*Eu)-Ko))+ba*(Wn+ba*(pi+ba*Ls-Wn)-hu),co==0?(il=hl,qo=ao,Hs=hl,el=ao):(il=Math.min(il,hl),qo=Math.min(qo,ao),Hs=Math.max(Hs,hl),el=Math.max(el,ao));return new Ge(Math.round(il),Math.round(qo),Math.round(Hs-il),Math.round(el-qo))},Ta=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var hn,or,pr=(hn=this.ctx.lineDash,or=this.ctx.lineDashOffset,JSON.stringify({lineDash:hn,lineDashOffset:or}));this.prevLineDash!==pr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=pr)}}})(_s.API),function(E){var ne=function(nt){var Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn;for(/[^\x00-\xFF]/.test(nt),ot=[],At=0,Ft=(nt+=Ge="\0\0\0\0".slice(nt.length%4||4)).length;Ft>At;At+=4)(en=(nt.charCodeAt(At)<<24)+(nt.charCodeAt(At+1)<<16)+(nt.charCodeAt(At+2)<<8)+nt.charCodeAt(At+3))!==0?(sn=(en=((en=((en=((en=(en-(Yn=en%85))/85)-(Nn=en%85))/85)-(zn=en%85))/85)-(Bt=en%85))/85)%85,ot.push(sn+33,Bt+33,zn+33,Nn+33,Yn+33)):ot.push(122);return function(xn,Lr){for(var xr=Lr;xr>0;xr--)xn.pop()}(ot,Ge.length),String.fromCharCode.apply(String,ot)+"~>"},te=function(nt){var Ge,ot,At,Ft,en,sn=String,Bt="length",zn=255,Nn="charCodeAt",Yn="slice",xn="replace";for(nt[Yn](-2),nt=nt[Yn](0,-2)[xn](/\s/g,"")[xn]("z","!!!!!"),At=[],Ft=0,en=(nt+=Ge="uuuuu"[Yn](nt[Bt]%5||5))[Bt];en>Ft;Ft+=5)ot=52200625*(nt[Nn](Ft)-33)+614125*(nt[Nn](Ft+1)-33)+7225*(nt[Nn](Ft+2)-33)+85*(nt[Nn](Ft+3)-33)+(nt[Nn](Ft+4)-33),At.push(zn&ot>>24,zn&ot>>16,zn&ot>>8,zn&ot);return function(Lr,xr){for(var sr=xr;sr>0;sr--)Lr.pop()}(At,Ge[Bt]),sn.fromCharCode.apply(sn,At)},ce=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="",At=0;At<nt.length;At+=2)ot+=String.fromCharCode("0x"+(nt[At]+nt[At+1]));return ot},Ce=function(nt){for(var Ge=new Uint8Array(nt.length),ot=nt.length;ot--;)Ge[ot]=nt.charCodeAt(ot);return(Ge=Ma(Ge)).reduce(function(At,Ft){return At+String.fromCharCode(Ft)},"")};E.processDataByFilters=function(nt,Ge){var ot=0,At=nt||"",Ft=[];for(typeof(Ge=Ge||[])=="string"&&(Ge=[Ge]),ot=0;ot<Ge.length;ot+=1)switch(Ge[ot]){case"ASCII85Decode":case"/ASCII85Decode":At=te(At),Ft.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":At=ne(At),Ft.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":At=ge(At),Ft.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":At=ce(At),Ft.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":At=Ce(At),Ft.push("/FlateDecode");break;default:throw new Error('The filter: "'+Ge[ot]+'" is not implemented')}return{data:At,reverseChain:Ft.reverse().join(" ")}}}(_s.API),function(E){E.loadFile=function(ne,te,ce){return function(ge,Ce,nt){Ce=Ce!==!1,nt=typeof nt=="function"?nt:function(){};var Ge=void 0;try{Ge=function(ot,At,Ft){var en=new XMLHttpRequest,sn=0,Bt=function(zn){var Nn=zn.length,Yn=[],xn=String.fromCharCode;for(sn=0;sn<Nn;sn+=1)Yn.push(xn(255&zn.charCodeAt(sn)));return Yn.join("")};if(en.open("GET",ot,!At),en.overrideMimeType("text/plain; charset=x-user-defined"),At===!1&&(en.onload=function(){en.status===200?Ft(Bt(this.responseText)):Ft(void 0)}),en.send(null),At&&en.status===200)return Bt(en.responseText)}(ge,Ce,nt)}catch(ot){}return Ge}(ne,te,ce)},E.loadImageFile=E.loadFile}(_s.API),function(E){function ne(){return(Ps.html2canvas?Promise.resolve(Ps.html2canvas):Promise.resolve().then(de.t.bind(de,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(Ps.DOMPurify?Promise.resolve(Ps.DOMPurify):de.e(5911).then(de.bind(de,85911))).catch(function(Ge){return Promise.reject(new Error("Could not load dompurify: "+Ge))}).then(function(Ge){return Ge.default?Ge.default:Ge})}var ce=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 At=document.createElement(Ge);for(var Ft in ot.className&&(At.className=ot.className),ot.innerHTML&&ot.dompurify&&(At.innerHTML=ot.dompurify.sanitize(ot.innerHTML)),ot.style)At.style[Ft]=ot.style[Ft];return At},Ce=function Ge(ot,At){for(var Ft=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),en=ot.firstChild;en;en=en.nextSibling)At!==!0&&en.nodeType===1&&en.nodeName==="SCRIPT"||Ft.appendChild(Ge(en,At));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(Ft.width=ot.width,Ft.height=ot.height,Ft.getContext("2d").drawImage(ot,0,0)):ot.nodeName!=="TEXTAREA"&&ot.nodeName!=="SELECT"||(Ft.value=ot.value),Ft.addEventListener("load",function(){Ft.scrollTop=ot.scrollTop,Ft.scrollLeft=ot.scrollLeft},!0)),Ft},nt=function Ge(ot){var At=Object.assign(Ge.convert(Promise.resolve()),JSON.parse(JSON.stringify(Ge.template))),Ft=Ge.convert(Promise.resolve(),At);return(Ft=Ft.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(At){switch(ce(At)){case"string":return"string";case"element":return At.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Ge),ot){case"string":return this.then(te).then(function(At){return this.set({src:ge("div",{innerHTML:Ge,dompurify:At})})});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 At=Object.assign({},this.opt.html2canvas);return delete At.onrendered,ot(this.prop.container,At)}).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 At=this.opt.jsPDF,Ft=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,At.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,At.context2d.posX=this.opt.x,At.context2d.posY=this.opt.y,At.context2d.margin=this.opt.margin,At.context2d.fontFaces=Ft,Ft)for(var Bt=0;Bt<Ft.length;++Bt){var zn=Ft[Bt],Nn=zn.src.find(function(Yn){return Yn.format==="truetype"});Nn&&At.addFont(Nn.url,zn.ref.name,zn.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,At.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,At){return(At=At||"pdf").toLowerCase()==="img"||At.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(ce(Ge)!=="object")return this;var ot=Object.keys(Ge||{}).map(function(At){if(At in nt.template.prop)return function(){this.prop[At]=Ge[At]};switch(At){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[At]=Ge[At]}}},this);return this.then(function(){return this.thenList(ot)})},nt.prototype.get=function(Ge,ot){return this.then(function(){var At=Ge in nt.template.prop?this.prop[Ge]:this.opt[Ge];return ot?ot(At):At})},nt.prototype.setMargin=function(Ge){return this.then(function(){switch(ce(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(At,Ft){return Math.floor(At*Ft/72*96)}return this.then(function(){(Ge=Ge||_s.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,At,Ft){return Ge!=null&&(this.progress.val=Ge),ot!=null&&(this.progress.state=ot),At!=null&&(this.progress.n=At),Ft!=null&&(this.progress.stack=Ft),this.progress.ratio=this.progress.val/this.progress.state,this},nt.prototype.updateProgress=function(Ge,ot,At,Ft){return this.setProgress(Ge?this.progress.val+Ge:null,ot||null,At?this.progress.n+At:null,Ft?this.progress.stack.concat(Ft):null)},nt.prototype.then=function(Ge,ot){var At=this;return this.thenCore(Ge,ot,function(Ft,en){return At.updateProgress(null,null,1,[Ft]),Promise.prototype.then.call(this,function(sn){return At.updateProgress(null,Ft),sn}).then(Ft,en).then(function(sn){return At.updateProgress(1),sn})})},nt.prototype.thenCore=function(Ge,ot,At){At=At||Promise.prototype.then;var Ft=this;Ge&&(Ge=Ge.bind(Ft)),ot&&(ot=ot.bind(Ft));var en=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?Ft:nt.convert(Object.assign({},Ft),Promise.prototype),sn=At.call(en,Ge,ot);return nt.convert(sn,Ft.__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(At){ot=ot.thenCore(At)}),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,_s.getPageSize=function(Ge,ot,At){if((0,he.Z)(Ge)==="object"){var Ft=Ge;Ge=Ft.orientation,ot=Ft.unit||ot,At=Ft.format||At}ot=ot||"mm",At=At||"a4",Ge=(""+(Ge||"P")).toLowerCase();var en,sn=(""+At).toLowerCase(),Bt={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 zn,Nn=0,Yn=0;if(Bt.hasOwnProperty(sn))Nn=Bt[sn][1]/en,Yn=Bt[sn][0]/en;else try{Nn=At[1],Yn=At[0]}catch(xn){throw new Error("Invalid format: "+At)}if(Ge==="p"||Ge==="portrait")Ge="p",Yn>Nn&&(zn=Yn,Yn=Nn,Nn=zn);else{if(Ge!=="l"&&Ge!=="landscape")throw"Invalid orientation: "+Ge;Ge="l",Nn>Yn&&(zn=Yn,Yn=Nn,Nn=zn)}return{width:Yn,height:Nn,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(Ff):null;var At=new nt(ot);return ot.worker?At:At.from(Ge).doCallback()}}(_s.API),_s.API.addJS=function(E){return kp=E,this.internal.events.subscribe("postPutResources",function(){uA=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(uA+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 ("+kp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){uA!==void 0&&fv!==void 0&&this.internal.out("/Names <</JavaScript "+uA+" 0 R>>")}),this},function(E){var ne;E.events.push(["postPutResources",function(){var te=this,ce=/^(\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=ce.exec(nt);if(Ge!=null){var ot=Ge[1];te.internal.newObjectDeferredBegin(ot,!1)}te.internal.write(nt)}if(this.outline.createNamedDestinations){var At=this.internal.pages.length,Ft=[];for(Ce=0;Ce<At;Ce++){var en=te.internal.newObject();Ft.push(en);var sn=te.internal.getPageInfo(Ce+1);te.internal.write("<< /D["+sn.objId+" 0 R /XYZ null null null]>> endobj")}var Bt=te.internal.newObject();for(te.internal.write("<< /Names [ "),Ce=0;Ce<Ft.length;Ce++)te.internal.write("(page_"+(Ce+1)+")"+Ft[Ce]+" 0 R");te.internal.write(" ] >>","endobj"),ne=te.internal.newObject(),te.internal.write("<< /Dests "+Bt+" 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(ce,ge,Ce){var nt={title:ge,options:Ce,children:[]};return ce==null&&(ce=this.root),ce.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(ce){ce.id=te.internal.newObjectDeferred();for(var ge=0;ge<ce.children.length;ge++)this.genIds_r(ce.children[ge])},te.outline.renderRoot=function(ce){this.objStart(ce),this.line("/Type /Outlines"),ce.children.length>0&&(this.line("/First "+this.makeRef(ce.children[0])),this.line("/Last "+this.makeRef(ce.children[ce.children.length-1]))),this.line("/Count "+this.count_r({count:0},ce)),this.objEnd()},te.outline.renderItems=function(ce){for(var ge=this.ctx.pdf.internal.getVerticalCoordinateString,Ce=0;Ce<ce.children.length;Ce++){var nt=ce.children[Ce];this.objStart(nt),this.line("/Title "+this.makeString(nt.title)),this.line("/Parent "+this.makeRef(ce)),Ce>0&&this.line("/Prev "+this.makeRef(ce.children[Ce-1])),Ce<ce.children.length-1&&this.line("/Next "+this.makeRef(ce.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 At=0;At<ce.children.length;At++)this.renderItems(ce.children[At])},te.outline.line=function(ce){this.ctx.val+=ce+`\r
`},te.outline.makeRef=function(ce){return ce.id+" 0 R"},te.outline.makeString=function(ce){return"("+te.internal.pdfEscape(ce)+")"},te.outline.objStart=function(ce){this.ctx.val+=`\r
`+ce.id+` 0 obj\r
<<\r
`},te.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},te.outline.count_r=function(ce,ge){for(var Ce=0;Ce<ge.children.length;Ce++)ce.count++,this.count_r(ce,ge.children[Ce]);return ce.count}}])}(_s.API),function(E){var ne=[192,193,194,195,196,197,198,199];E.processJPEG=function(te,ce,ge,Ce,nt,Ge){var ot,At=this.decode.DCT_DECODE,Ft=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,Bt=256*en.charCodeAt(4)+en.charCodeAt(5),zn=en.length,Nn={width:0,height:0,numcomponents:1},Yn=4;Yn<zn;Yn+=2){if(Yn+=Bt,ne.indexOf(en.charCodeAt(Yn+1))!==-1){sn=256*en.charCodeAt(Yn+5)+en.charCodeAt(Yn+6),Nn={width:256*en.charCodeAt(Yn+7)+en.charCodeAt(Yn+8),height:sn,numcomponents:en.charCodeAt(Yn+9)};break}Bt=256*en.charCodeAt(Yn+2)+en.charCodeAt(Yn+3)}return Nn}(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}Ft={data:te,width:ot.width,height:ot.height,colorSpace:Ge,bitsPerComponent:8,filter:At,index:ce,alias:ge}}return Ft}}(_s.API),_s.API.processPNG=function(E,ne,te,ce){if(this.__addimage__.isArrayBuffer(E)&&(E=new Uint8Array(E)),this.__addimage__.isArrayBufferView(E)){var ge,Ce=su(E,{checkCrc:!0}),nt=Ce.width,Ge=Ce.height,ot=Ce.channels,At=Ce.palette,Ft=Ce.depth;ge=At&&ot===1?function(zr){for(var ur=zr.width,ci=zr.height,yn=zr.data,qn=zr.palette,Mr=zr.depth,Br=!1,Fi=[],Ui=[],Gi=void 0,xi=!1,Wi=0,mo=0;mo<qn.length;mo++){var Ta=(0,ho.Z)(qn[mo],4),hn=Ta[0],or=Ta[1],pr=Ta[2],Nr=Ta[3];Fi.push(hn,or,pr),Nr!=null&&(Nr===0?(Wi++,Ui.length<1&&Ui.push(mo)):Nr<255&&(xi=!0))}if(xi||Wi>1){Br=!0,Ui=void 0;var Xr=ur*ci;Gi=new Uint8Array(Xr);for(var pi=new DataView(yn.buffer),Di=0;Di<Xr;Di++){var Ni=gg(pi,Di,Mr),ba=(0,ho.Z)(qn[Ni],4)[3];Gi[Di]=ba}}else Wi===0&&(Ui=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:Br?8:void 0,colorBytes:yn,alphaBytes:Gi,needSMask:Br,palette:Fi,mask:Ui}}(Ce):ot===2||ot===4?function(zr){for(var ur=zr.data,ci=zr.width,yn=zr.height,qn=zr.channels,Mr=zr.depth,Br=qn===2?"DeviceGray":"DeviceRGB",Fi=qn-1,Ui=ci*yn,Gi=Fi,xi=Ui*Gi,Wi=1*Ui,mo=Math.ceil(xi*Mr/8),Ta=Math.ceil(Wi*Mr/8),hn=new Uint8Array(mo),or=new Uint8Array(Ta),pr=new DataView(ur.buffer),Nr=new DataView(hn.buffer),Xr=new DataView(or.buffer),pi=!1,Di=0;Di<Ui;Di++){for(var Ni=Di*qn,ba=0;ba<Gi;ba++)Mp(Nr,gg(pr,Ni+ba,Mr),Di*Gi+ba,Mr);var co=gg(pr,Ni+Gi,Mr);co<(1<<Mr)-1&&(pi=!0),Mp(Xr,co,1*Di,Mr)}return{colorSpace:Br,colorsPerPixel:Fi,sMaskBitsPerComponent:pi?Mr:void 0,colorBytes:hn,alphaBytes:or,needSMask:pi}}(Ce):function(zr){var ur=zr.data,ci=zr.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:ci,colorsPerPixel:ci==="DeviceGray"?1:3,colorBytes:ur instanceof Uint16Array?function(yn){for(var qn=yn.length,Mr=new Uint8Array(2*qn),Br=new DataView(Mr.buffer,Mr.byteOffset,Mr.byteLength),Fi=0;Fi<qn;Fi++)Br.setUint16(2*Fi,yn[Fi],!1);return Mr}(ur):ur,needSMask:!1}}(Ce);var en,sn,Bt,zn=ge,Nn=zn.colorSpace,Yn=zn.colorsPerPixel,xn=zn.sMaskBitsPerComponent,Lr=zn.colorBytes,xr=zn.alphaBytes,sr=zn.needSMask,wi=zn.palette,qi=zn.mask,Qi=null;return ce!==_s.API.image_compression.NONE&&typeof Ma=="function"?(Qi=function(zr){var ur;switch(zr){case _s.API.image_compression.FAST:ur=11;break;case _s.API.image_compression.MEDIUM:ur=13;break;case _s.API.image_compression.SLOW:ur=14;break;default:ur=12}return ur}(ce),en=this.decode.FLATE_DECODE,sn="/Predictor ".concat(Qi," /Colors ").concat(Yn," /BitsPerComponent ").concat(Ft," /Columns ").concat(nt),E=pg(Lr,Math.ceil(nt*Yn*Ft/8),Yn,Ft,ce),sr&&(Bt=pg(xr,Math.ceil(nt*xn/8),1,xn,ce))):(en=void 0,sn=void 0,E=Lr,sr&&(Bt=xr)),(this.__addimage__.isArrayBuffer(E)||this.__addimage__.isArrayBufferView(E))&&(E=this.__addimage__.arrayBufferToBinaryString(E)),(Bt&&this.__addimage__.isArrayBuffer(Bt)||this.__addimage__.isArrayBufferView(Bt))&&(Bt=this.__addimage__.arrayBufferToBinaryString(Bt)),{alias:te,data:E,index:ne,filter:en,decodeParameters:sn,transparency:qi,palette:wi,sMask:Bt,predictor:Qi,width:nt,height:Ge,bitsPerComponent:Ft,sMaskBitsPerComponent:xn,colorSpace:Nn}}},function(E){E.processGIF89A=function(ne,te,ce,ge){var Ce=new Vg(ne),nt=Ce.width,Ge=Ce.height,ot=[];Ce.decodeAndBlitFrameRGBA(0,ot);var At={data:ot,width:nt,height:Ge},Ft=new Gg(100).encode(At,100);return E.processJPEG.call(this,Ft,te,ce,ge)},E.processGIF87A=E.processGIF89A}(_s.API),Kf.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),ce=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:ce,blue:te,quad:Ce}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Kf.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){fu.log("bit decode error:"+te)}},Kf.prototype.bit1=function(){var E,ne=Math.ceil(this.width/8),te=ne%4;for(E=this.height-1;E>=0;E--){for(var ce=this.bottom_up?E:this.height-1-E,ge=0;ge<ne;ge++)for(var Ce=this.datav.getUint8(this.pos++,!0),nt=ce*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)}},Kf.prototype.bit4=function(){for(var E=Math.ceil(this.width/2),ne=E%4,te=this.height-1;te>=0;te--){for(var ce=this.bottom_up?te:this.height-1-te,ge=0;ge<E;ge++){var Ce=this.datav.getUint8(this.pos++,!0),nt=ce*this.width*4+2*ge*4,Ge=Ce>>4,ot=15&Ce,At=this.palette[Ge];if(this.data[nt]=At.blue,this.data[nt+1]=At.green,this.data[nt+2]=At.red,this.data[nt+3]=255,2*ge+1>=this.width)break;At=this.palette[ot],this.data[nt+4]=At.blue,this.data[nt+4+1]=At.green,this.data[nt+4+2]=At.red,this.data[nt+4+3]=255}ne!==0&&(this.pos+=4-ne)}},Kf.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,ce=0;ce<this.width;ce++){var ge=this.datav.getUint8(this.pos++,!0),Ce=te*this.width*4+4*ce;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)}},Kf.prototype.bit15=function(){for(var E=this.width%3,ne=parseInt("11111",2),te=this.height-1;te>=0;te--){for(var ce=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,At=Ce>>15?255:0,Ft=ce*this.width*4+4*ge;this.data[Ft]=ot,this.data[Ft+1]=Ge,this.data[Ft+2]=nt,this.data[Ft+3]=At}this.pos+=E}},Kf.prototype.bit16=function(){for(var E=this.width%3,ne=parseInt("11111",2),te=parseInt("111111",2),ce=this.height-1;ce>=0;ce--){for(var ge=this.bottom_up?ce:this.height-1-ce,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,At=(nt>>11)/ne*255|0,Ft=ge*this.width*4+4*Ce;this.data[Ft]=At,this.data[Ft+1]=ot,this.data[Ft+2]=Ge,this.data[Ft+3]=255}this.pos+=E}},Kf.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 ce=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]=ce,this.data[nt+3]=255}this.pos+=this.width%4}},Kf.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 ce=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]=ce,this.data[Ge+3]=nt}},Kf.prototype.getData=function(){return this.data},function(E){E.processBMP=function(ne,te,ce,ge){var Ce=new Kf(ne,!1),nt=Ce.width,Ge=Ce.height,ot={data:Ce.getData(),width:nt,height:Ge},At=new Gg(100).encode(ot,100);return E.processJPEG.call(this,At,te,ce,ge)}}(_s.API),Gm.prototype.getData=function(){return this.data},function(E){E.processWEBP=function(ne,te,ce,ge){var Ce=new Gm(ne),nt=Ce.width,Ge=Ce.height,ot={data:Ce.getData(),width:nt,height:Ge},At=new Gg(100).encode(ot,100);return E.processJPEG.call(this,At,te,ce,ge)}}(_s.API),_s.API.processRGBA=function(E,ne,te){for(var ce=E.data,ge=ce.length,Ce=new Uint8Array(ge/4*3),nt=new Uint8Array(ge/4),Ge=0,ot=0,At=0;At<ge;At+=4){var Ft=ce[At],en=ce[At+1],sn=ce[At+2],Bt=ce[At+3];Ce[Ge++]=Ft,Ce[Ge++]=en,Ce[Ge++]=sn,nt[ot++]=Bt}var zn=this.__addimage__.arrayBufferToBinaryString(Ce);return{alpha:this.__addimage__.arrayBufferToBinaryString(nt),data:zn,index:ne,alias:te,colorSpace:"DeviceRGB",bitsPerComponent:8,width:E.width,height:E.height}},_s.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=_s.API,hg=_p.getCharWidthsArray=function(E,ne){var te,ce,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,At=ne.kerning?ne.kerning:ge.metadata.Unicode.kerning,Ft=At.fof?At.fof:1,en=ne.doKerning!==!1,sn=0,Bt=E.length,zn=0,Nn=Ge[0]||ot,Yn=[];for(te=0;te<Bt;te++)ce=E.charCodeAt(te),typeof ge.metadata.widthOfString=="function"?Yn.push((ge.metadata.widthOfGlyph(ge.metadata.characterToGlyph(ce))+nt*(1e3/Ce)||0)/1e3):(sn=en&&(0,he.Z)(At[ce])==="object"&&!isNaN(parseInt(At[ce][zn],10))?At[ce][zn]/Ft:0,Yn.push((Ge[ce]||Nn)/ot+sn)),zn=ce;return Yn},hv=_p.getStringUnitWidth=function(E,ne){var te=(ne=ne||{}).fontSize||this.internal.getFontSize(),ce=ne.font||this.internal.getFont(),ge=ne.charSpace||this.internal.getCharSpace();return _p.processArabic&&(E=_p.processArabic(E)),typeof ce.metadata.widthOfString=="function"?ce.metadata.widthOfString(E,te,ge)/te:hg.apply(this,arguments).reduce(function(Ce,nt){return Ce+nt},0)},zg=function(E,ne,te,ce){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]>ce&&(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 ce,ge,Ce,nt,Ge,ot,At,Ft=[],en=[Ft],sn=te.textIndent||0,Bt=0,zn=0,Nn=E.split(" "),Yn=hg.apply(this,[" ",te])[0];if(ot=te.lineIndent===-1?Nn[0].length+2:te.lineIndent||0){var xn=Array(ot).join(" "),Lr=[];Nn.map(function(sr){(sr=sr.split(/\s*\n/)).length>1?Lr=Lr.concat(sr.map(function(wi,qi){return(qi&&wi.length?`
`:"")+wi})):Lr.push(sr[0])}),Nn=Lr,ot=hv.apply(this,[xn,te])}for(Ce=0,nt=Nn.length;Ce<nt;Ce++){var xr=0;if(ce=Nn[Ce],ot&&ce[0]==`
`&&(ce=ce.substr(1),xr=1),sn+Bt+(zn=(ge=hg.apply(this,[ce,te])).reduce(function(sr,wi){return sr+wi},0))>ne||xr){if(zn>ne){for(Ge=zg.apply(this,[ce,ge,ne-(sn+Bt),ne]),Ft.push(Ge.shift()),Ft=[Ge.pop()];Ge.length;)en.push([Ge.shift()]);zn=ge.slice(ce.length-(Ft[0]?Ft[0].length:0)).reduce(function(sr,wi){return sr+wi},0)}else Ft=[ce];en.push(Ft),sn=zn+ot,Bt=Yn}else Ft.push(ce),sn+=Bt+zn,Bt=Yn}return At=ot?function(sr,wi){return(wi?xn:"")+sr.join(" ")}:function(sr){return sr.join(" ")},en.map(At)},_p.splitTextToSize=function(E,ne,te){var ce,ge=(te=te||{}).fontSize||this.internal.getFontSize(),Ce=function(Ft){if(Ft.widths&&Ft.kerning)return{widths:Ft.widths,kerning:Ft.kerning};var en=this.internal.getFont(Ft.fontName,Ft.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);ce=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,At=[];for(Ge=0,ot=ce.length;Ge<ot;Ge++)At=At.concat(pv.apply(this,[ce[Ge],nt,Ce]));return At},function(E){E.__fontmetrics__=E.__fontmetrics__||{};for(var ne="0123456789abcdef",te="klmnopqrstuvwxyz",ce={},ge={},Ce=0;Ce<16;Ce++)ce[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 Bt,zn,Nn,Yn,xn=["{"];for(var Lr in sn){if(Bt=sn[Lr],isNaN(parseInt(Lr,10))?zn="'"+Lr+"'":(Lr=parseInt(Lr,10),zn=(zn=nt(Lr).slice(2)).slice(0,-1)+ge[zn.slice(-1)]),typeof Bt=="number")Bt<0?(Nn=nt(Bt).slice(3),Yn="-"):(Nn=nt(Bt).slice(2),Yn=""),Nn=Yn+Nn.slice(0,-1)+ge[Nn.slice(-1)];else{if((0,he.Z)(Bt)!=="object")throw new Error("Don't know what to do with value type "+(0,he.Z)(Bt)+".");Nn=Ge(Bt)}xn.push(zn+Nn)}return xn.push("}"),xn.join("")},ot=E.__fontmetrics__.uncompress=function(sn){if(typeof sn!="string")throw new Error("Invalid argument passed to uncompress.");for(var Bt,zn,Nn,Yn,xn={},Lr=1,xr=xn,sr=[],wi="",qi="",Qi=sn.length-1,zr=1;zr<Qi;zr+=1)(Yn=sn[zr])=="'"?Bt?(Nn=Bt.join(""),Bt=void 0):Bt=[]:Bt?Bt.push(Yn):Yn=="{"?(sr.push([xr,Nn]),xr={},Nn=void 0):Yn=="}"?((zn=sr.pop())[0][zn[1]]=xr,Nn=void 0,xr=zn[0]):Yn=="-"?Lr=-1:Nn===void 0?ce.hasOwnProperty(Yn)?(wi+=ce[Yn],Nn=parseInt(wi,16)*Lr,Lr=1,wi=""):wi+=Yn:ce.hasOwnProperty(Yn)?(qi+=ce[Yn],xr[Nn]=parseInt(qi,16)*Lr,Lr=1,Nn=void 0,qi=""):qi+=Yn;return xn},At={codePages:["WinAnsiEncoding"],WinAnsiEncoding:ot("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Ft={Unicode:{Courier:At,"Courier-Bold":At,"Courier-BoldOblique":At,"Courier-Oblique":At,Helvetica:At,"Helvetica-Bold":At,"Helvetica-BoldOblique":At,"Helvetica-Oblique":At,"Times-Roman":At,"Times-Bold":At,"Times-BoldItalic":At,"Times-Italic":At}},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{17sw5tw5ou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v4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2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kucltcmtcntcotcpt4lt4wtckt}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 Bt=sn.font,zn=en.Unicode[Bt.postScriptName];zn&&(Bt.metadata.Unicode={},Bt.metadata.Unicode.widths=zn.widths,Bt.metadata.Unicode.kerning=zn.kerning);var Nn=Ft.Unicode[Bt.postScriptName];Nn&&(Bt.metadata.Unicode.encoding=Nn,Bt.encoding=Nn.codePages[0])}])}(_s.API),function(E){var ne=function(te){for(var ce=te.length,ge=new Uint8Array(ce),Ce=0;Ce<ce;Ce++)ge[Ce]=te.charCodeAt(Ce);return ge};E.API.events.push(["addFont",function(te){var ce=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(ce=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(wa(Ge)),nt.metadata=E.API.TTFFont.open(Ge),nt.metadata.Unicode=nt.metadata.Unicode||{encoding:{},kerning:{},widths:[]},nt.metadata.glyIdsUsed=[0]})(ge,ce)}}])}(_s),_s.API.addSvgAsImage=function(E,ne,te,ce,ge,Ce,nt,Ge){if(isNaN(ne)||isNaN(te))throw fu.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(ce)||isNaN(ge))throw fu.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=ce,ot.height=ge;var At=ot.getContext("2d");At.fillStyle="#fff",At.fillRect(0,0,ot.width,ot.height);var Ft={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},en=this;return(Ps.canvg?Promise.resolve(Ps.canvg):de.e(3754).then(de.bind(de,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(At,E,Ft)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(sn){return sn.render(Ft)}).then(function(){en.addImage(ot.toDataURL("image/jpeg",1),ne,te,ce,ge,nt,Ge)})},_s.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 ce=1;ce<=this.internal.getNumberOfPages();ce++)for(var ge=0;ge<this.internal.pages[ce].length;ge++)this.internal.pages[ce][ge]=this.internal.pages[ce][ge].replace(ne,te);return this},_s.API.viewerPreferences=function(E,ne){var te;E=E||{},ne=ne||!1;var ce,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=[],At=0,Ft=0,en=0;function sn(zn,Nn){var Yn,xn=!1;for(Yn=0;Yn<zn.length;Yn+=1)zn[Yn]===Nn&&(xn=!0);return xn}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 Bt=Ge.length;for(en=0;en<Bt;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(At=0;At<Ce.length;At+=1)if(ce=!0,Ce[At].length===1&&typeof Ce[At][0]=="number")ot.push(String(Ce[At]-1));else if(Ce[At].length>1){for(Ft=0;Ft<Ce[At].length;Ft+=1)typeof Ce[At][Ft]!="number"&&(ce=!1);ce===!0&&ot.push([Ce[At][0]-1,Ce[At][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 zn,Nn=[];for(zn in te)te[zn].explicitSet===!0&&(te[zn].type==="name"?Nn.push("/"+zn+" /"+te[zn].value):Nn.push("/"+zn+" "+te[zn].value));Nn.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+Nn.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=te,this},function(E){var ne=function(){var ce='<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(ce)),nt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Ge=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),ot=unescape(encodeURIComponent("</x:xmpmeta>")),At=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 "+At+" >>"),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(ce,ge){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:ce,namespaceuri:ge||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",te),this.internal.events.subscribe("postPutResources",ne)),this}}(_s.API),function(E){var ne=E.API,te=ne.pdfEscape16=function(Ce,nt){for(var Ge,ot=nt.metadata.Unicode.widths,At=["","0","00","000","0000"],Ft=[""],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 Ft.join("");Ge=Ge.toString(16),Ft.push(At[4-Ge.length],Ge)}return Ft.join("")},ce=function(Ce){var nt,Ge,ot,At,Ft,en,sn;for(Ft=`/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(Bt,zn){return Bt-zn})).length;en<sn;en++)nt=Ge[en],ot.length>=100&&(Ft+=`
`+ot.length+` beginbfchar
`+ot.join(`
`)+`
endbfchar`,ot=[]),Ce[nt]!==void 0&&Ce[nt]!==null&&typeof Ce[nt].toString=="function"&&(At=("0000"+Ce[nt].toString(16)).slice(-4),nt=("0000"+(+nt).toString(16)).slice(-4),ot.push("<"+nt+"><"+At+">"));return ot.length&&(Ft+=`
`+ot.length+` beginbfchar
`+ot.join(`
`)+`
endbfchar
`),Ft+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};ne.events.push(["putFont",function(Ce){(function(nt){var Ge=nt.font,ot=nt.out,At=nt.newObject,Ft=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),Bt="",zn=0;zn<sn.length;zn++)Bt+=String.fromCharCode(sn[zn]);var Nn=At();Ft({data:Bt,addLength1:!0,objectId:Nn}),ot("endobj");var Yn=At();Ft({data:ce(Ge.metadata.toUnicode),addLength1:!0,objectId:Yn}),ot("endobj");var xn=At();ot("<<"),ot("/Type /FontDescriptor"),ot("/FontName /"+DA(Ge.fontName)),ot("/FontFile2 "+Nn+" 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 Lr=At();ot("<<"),ot("/Type /Font"),ot("/BaseFont /"+DA(Ge.fontName)),ot("/FontDescriptor "+xn+" 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=At(),ot("<<"),ot("/Type /Font"),ot("/Subtype /Type0"),ot("/ToUnicode "+Yn+" 0 R"),ot("/BaseFont /"+DA(Ge.fontName)),ot("/Encoding /"+Ge.encoding),ot("/DescendantFonts ["+Lr+" 0 R]"),ot(">>"),ot("endobj"),Ge.isAlreadyPutted=!0}})(Ce)}]),ne.events.push(["putFont",function(Ce){(function(nt){var Ge=nt.font,ot=nt.out,At=nt.newObject,Ft=nt.putStream;if(Ge.metadata instanceof E.API.TTFFont&&Ge.encoding==="WinAnsiEncoding"){for(var en=Ge.metadata.rawData,sn="",Bt=0;Bt<en.length;Bt++)sn+=String.fromCharCode(en[Bt]);var zn=At();Ft({data:sn,addLength1:!0,objectId:zn}),ot("endobj");var Nn=At();Ft({data:ce(Ge.metadata.toUnicode),addLength1:!0,objectId:Nn}),ot("endobj");var Yn=At();ot("<<"),ot("/Descent "+Ge.metadata.decender),ot("/CapHeight "+Ge.metadata.capHeight),ot("/StemV "+Ge.metadata.stemV),ot("/Type /FontDescriptor"),ot("/FontFile2 "+zn+" 0 R"),ot("/Flags 96"),ot("/FontBBox "+E.API.PDFObject.convert(Ge.metadata.bbox)),ot("/FontName /"+DA(Ge.fontName)),ot("/ItalicAngle "+Ge.metadata.italicAngle),ot("/Ascent "+Ge.metadata.ascender),ot(">>"),ot("endobj"),Ge.objectNumber=At();for(var xn=0;xn<Ge.metadata.hmtx.widths.length;xn++)Ge.metadata.hmtx.widths[xn]=parseInt(Ge.metadata.hmtx.widths[xn]*(1e3/Ge.metadata.head.unitsPerEm));ot("<</Subtype/TrueType/Type/Font/ToUnicode "+Nn+" 0 R/BaseFont/"+DA(Ge.fontName)+"/FontDescriptor "+Yn+" 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,At=Ce.y,Ft=Ce.options||{},en=Ce.mutex||{},sn=en.pdfEscape,Bt=en.activeFontKey,zn=en.fonts,Nn=Bt,Yn="",xn=0,Lr="",xr=zn[Nn].encoding;if(zn[Nn].encoding!=="Identity-H")return{text:Ge,x:ot,y:At,options:Ft,mutex:en};for(Lr=Ge,Nn=Bt,Array.isArray(Ge)&&(Lr=Ge[0]),xn=0;xn<Lr.length;xn+=1)zn[Nn].metadata.hasOwnProperty("cmap")&&(nt=zn[Nn].metadata.cmap.unicode.codeMap[Lr[xn].charCodeAt(0)]),nt||Lr[xn].charCodeAt(0)<256&&zn[Nn].metadata.hasOwnProperty("Unicode")?Yn+=Lr[xn]:Yn+="";var sr="";return parseInt(Nn.slice(1))<14||xr==="WinAnsiEncoding"?sr=sn(Yn,Nn).split("").map(function(wi){return wi.charCodeAt(0).toString(16)}).join(""):xr==="Identity-H"&&(sr=te(Yn,zn[Nn])),en.isHex=!0,{text:sr,x:ot,y:At,options:Ft,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 At=0;for(At=0;At<nt.length;At+=1)Array.isArray(nt[At])&&nt[At].length===3?Ge.push([ge(Object.assign({},ot,{text:nt[At][0]})).text,nt[At][1],nt[At][2]]):Ge.push(ge(Object.assign({},ot,{text:nt[At]})).text);Ce.text=Ge}else Ce.text=ge(Object.assign({},ot,{text:nt})).text}])}(_s),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,ce){return ne.call(this),this.internal.vFS[te]=ce,this},E.getFileFromVFS=function(te){return ne.call(this),this.internal.vFS[te]!==void 0?this.internal.vFS[te]:null}}(_s.API),function(E){E.__bidiEngine__=E.prototype.__bidiEngine__=function(ce){var ge,Ce,nt,Ge,ot,At,Ft,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]],Bt=[[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]],zn={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Nn={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Yn=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],xn=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)$/),Lr=!1,xr=0;this.__bidiEngine__={};var sr=function(yn){var qn=yn.charCodeAt(),Mr=qn>>8,Br=Nn[Mr];return Br!==void 0?en[256*Br+(255&qn)]:Mr===252||Mr===253?"AL":xn.test(Mr)?"L":Mr===8?"R":"N"},wi=function(yn){for(var qn,Mr=0;Mr<yn.length;Mr++){if((qn=sr(yn.charAt(Mr)))==="L")return!1;if(qn==="R")return!0}return!1},qi=function(yn,qn,Mr,Br){var Fi,Ui,Gi,xi,Wi=qn[Br];switch(Wi){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Lr=!1;break;case"N":case"AN":break;case"EN":Lr&&(Wi="AN");break;case"AL":Lr=!0,Wi="R";break;case"WS":case"BN":Wi="N";break;case"CS":Br<1||Br+1>=qn.length||(Fi=Mr[Br-1])!=="EN"&&Fi!=="AN"||(Ui=qn[Br+1])!=="EN"&&Ui!=="AN"?Wi="N":Lr&&(Ui="AN"),Wi=Ui===Fi?Ui:"N";break;case"ES":Wi=(Fi=Br>0?Mr[Br-1]:"B")==="EN"&&Br+1<qn.length&&qn[Br+1]==="EN"?"EN":"N";break;case"ET":if(Br>0&&Mr[Br-1]==="EN"){Wi="EN";break}if(Lr){Wi="N";break}for(Gi=Br+1,xi=qn.length;Gi<xi&&qn[Gi]==="ET";)Gi++;Wi=Gi<xi&&qn[Gi]==="EN"?"EN":"N";break;case"NSM":if(nt&&!Ge){for(xi=qn.length,Gi=Br+1;Gi<xi&&qn[Gi]==="NSM";)Gi++;if(Gi<xi){var mo=yn[Br],Ta=mo>=1425&&mo<=2303||mo===64286;if(Fi=qn[Gi],Ta&&(Fi==="R"||Fi==="AL")){Wi="R";break}}}Wi=Br<1||(Fi=qn[Br-1])==="B"?"N":Mr[Br-1];break;case"B":Lr=!1,ge=!0,Wi=xr;break;case"S":Ce=!0,Wi="N"}return Wi},Qi=function(yn,qn,Mr){var Br=yn.split("");return Mr&&zr(Br,Mr,{hiLevel:xr}),Br.reverse(),qn&&qn.reverse(),Br.join("")},zr=function(yn,qn,Mr){var Br,Fi,Ui,Gi,xi,Wi=-1,mo=yn.length,Ta=0,hn=[],or=xr?Bt:sn,pr=[];for(Lr=!1,ge=!1,Ce=!1,Fi=0;Fi<mo;Fi++)pr[Fi]=sr(yn[Fi]);for(Ui=0;Ui<mo;Ui++){if(xi=Ta,hn[Ui]=qi(yn,pr,hn,Ui),Br=240&(Ta=or[xi][zn[hn[Ui]]]),Ta&=15,qn[Ui]=Gi=or[Ta][5],Br>0)if(Br===16){for(Fi=Wi;Fi<Ui;Fi++)qn[Fi]=1;Wi=-1}else Wi=-1;if(or[Ta][6])Wi===-1&&(Wi=Ui);else if(Wi>-1){for(Fi=Wi;Fi<Ui;Fi++)qn[Fi]=Gi;Wi=-1}pr[Ui]==="B"&&(qn[Ui]=0),Mr.hiLevel|=Gi}Ce&&function(Nr,Xr,pi){for(var Di=0;Di<pi;Di++)if(Nr[Di]==="S"){Xr[Di]=xr;for(var Ni=Di-1;Ni>=0&&Nr[Ni]==="WS";Ni--)Xr[Ni]=xr}}(pr,qn,mo)},ur=function(yn,qn,Mr,Br,Fi){if(!(Fi.hiLevel<yn)){if(yn===1&&xr===1&&!ge)return qn.reverse(),void(Mr&&Mr.reverse());for(var Ui,Gi,xi,Wi,mo=qn.length,Ta=0;Ta<mo;){if(Br[Ta]>=yn){for(xi=Ta+1;xi<mo&&Br[xi]>=yn;)xi++;for(Wi=Ta,Gi=xi-1;Wi<Gi;Wi++,Gi--)Ui=qn[Wi],qn[Wi]=qn[Gi],qn[Gi]=Ui,Mr&&(Ui=Mr[Wi],Mr[Wi]=Mr[Gi],Mr[Gi]=Ui);Ta=xi}Ta++}}},ci=function(yn,qn,Mr){var Br=yn.split(""),Fi={hiLevel:xr};return Mr||(Mr=[]),zr(Br,Mr,Fi),function(Ui,Gi,xi){if(xi.hiLevel!==0&&Ft)for(var Wi,mo=0;mo<Ui.length;mo++)Gi[mo]===1&&(Wi=Yn.indexOf(Ui[mo]))>=0&&(Ui[mo]=Yn[Wi+1])}(Br,Mr,Fi),ur(2,Br,qn,Mr,Fi),ur(1,Br,qn,Mr,Fi),Br.join("")};return this.__bidiEngine__.doBidiReorder=function(yn,qn,Mr){if(function(Fi,Ui){if(Ui)for(var Gi=0;Gi<Fi.length;Gi++)Ui[Gi]=Gi;Ge===void 0&&(Ge=wi(Fi)),At===void 0&&(At=wi(Fi))}(yn,qn),nt||!ot||At)if(nt&&ot&&Ge^At)xr=Ge?1:0,yn=Qi(yn,qn,Mr);else if(!nt&&ot&&At)xr=Ge?1:0,yn=ci(yn,qn,Mr),yn=Qi(yn,qn);else if(!nt||Ge||ot||At){if(nt&&!ot&&Ge^At)yn=Qi(yn,qn),Ge?(xr=0,yn=ci(yn,qn,Mr)):(xr=1,yn=ci(yn,qn,Mr),yn=Qi(yn,qn));else if(nt&&Ge&&!ot&&At)xr=1,yn=ci(yn,qn,Mr),yn=Qi(yn,qn);else if(!nt&&!ot&&Ge^At){var Br=Ft;Ge?(xr=1,yn=ci(yn,qn,Mr),xr=0,Ft=!1,yn=ci(yn,qn,Mr),Ft=Br):(xr=0,yn=ci(yn,qn,Mr),yn=Qi(yn,qn),xr=1,Ft=!1,yn=ci(yn,qn,Mr),Ft=Br,yn=Qi(yn,qn))}}else xr=0,yn=ci(yn,qn,Mr);else xr=Ge?1:0,yn=ci(yn,qn,Mr);return yn},this.__bidiEngine__.setOptions=function(yn){yn&&(nt=yn.isInputVisual,ot=yn.isOutputVisual,Ge=yn.isInputRtl,At=yn.isOutputRtl,Ft=yn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(ce),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(ce){var ge=ce.text;ce.x,ce.y;var Ce=ce.options||{};ce.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])]);ce.text=nt}else ce.text=te.doBidiReorder(ge);te.setOptions({isInputVisual:!0})}])}(_s),_s.API.TTFFont=function(){function E(ne){var te;if(this.rawData=ne,te=this.contents=new cp(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 sd(this),this.post=new Wf(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,ce,ge,Ce;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var nt,Ge,ot,At;for(At=[],nt=0,Ge=(ot=this.bbox).length;nt<Ge;nt++)ne=ot[nt],At.push(Math.round(ne*this.scaleFactor));return At}.call(this),this.stemV=0,this.post.exists?(ce=255&(ge=this.post.italic_angle),32768&(te=ge>>16)&&(te=-(1+(65535^te))),this.italicAngle=+(te+"."+ce)):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,ce){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))+ce*(1e3/te)||0;return nt*(te/1e3)},E.prototype.lineHeight=function(ne,te){var ce;return te==null&&(te=!1),ce=te?this.lineGap:0,(this.ascender+ce-this.decender)/1e3*ne},E}();var rf,cp=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,ce;for(ce=[],te=0;0<=ne?te<ne:te>ne;te=0<=ne?++te:--te)ce[te]=String.fromCharCode(this.readByte());return ce.join("")},E.prototype.writeString=function(ne){var te,ce,ge;for(ge=[],te=0,ce=ne.length;0<=ce?te<ce:te>ce;te=0<=ce?++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,ce,ge,Ce,nt,Ge,ot;return ne=this.readByte(),te=this.readByte(),ce=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^ce)+4294967296*(255^ge)+16777216*(255^Ce)+65536*(255^nt)+256*(255^Ge)+(255^ot)+1):72057594037927940*ne+281474976710656*te+1099511627776*ce+4294967296*ge+16777216*Ce+65536*nt+256*Ge+ot},E.prototype.writeLongLong=function(ne){var te,ce;return te=Math.floor(ne/4294967296),ce=4294967295&ne,this.writeByte(te>>24&255),this.writeByte(te>>16&255),this.writeByte(te>>8&255),this.writeByte(255&te),this.writeByte(ce>>24&255),this.writeByte(ce>>16&255),this.writeByte(ce>>8&255),this.writeByte(255&ce)},E.prototype.readInt=function(){return this.readInt32()},E.prototype.writeInt=function(ne){return this.writeInt32(ne)},E.prototype.read=function(ne){var te,ce;for(te=[],ce=0;0<=ne?ce<ne:ce>ne;ce=0<=ne?++ce:--ce)te.push(this.readByte());return te},E.prototype.write=function(ne){var te,ce,ge,Ce;for(Ce=[],ce=0,ge=ne.length;ce<ge;ce++)te=ne[ce],Ce.push(this.writeByte(te));return Ce},E}(),Gv=function(){var E;function ne(te){var ce,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)ce={tag:te.readString(4),checksum:te.readInt(),offset:te.readInt(),length:te.readInt()},this.tables[ce.tag]=ce}return ne.prototype.encode=function(te){var ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn;for(Nn in Bt=Object.keys(te).length,ot=Math.log(2),en=16*Math.floor(Math.log(Bt)/ot),nt=Math.floor(en/ot),Ft=16*Bt-en,(ge=new cp).writeInt(this.scalarType),ge.writeShort(Bt),ge.writeShort(en),ge.writeShort(nt),ge.writeShort(Ft),Ce=16*Bt,At=ge.pos+Ce,Ge=null,zn=[],te)for(sn=te[Nn],ge.writeString(Nn),ge.writeInt(E(sn)),ge.writeInt(At),ge.writeInt(sn.length),zn=zn.concat(sn),Nn==="head"&&(Ge=At),At+=sn.length;At%4;)zn.push(0),At++;return ge.write(zn),ce=2981146554-E(ge.data),ge.pos=Ge+8,ge.writeUInt32(ce),ge.data},E=function(te){var ce,ge,Ce,nt;for(te=wv.call(te);te.length%4;)te.push(0);for(Ce=new cp(te),ge=0,ce=0,nt=te.length;ce<nt;ce=ce+=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 ce(){this.constructor=E}return ce.prototype=ne.prototype,E.prototype=new ce,E.__super__=ne.prototype,E};rf=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,rf),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 cp).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 ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn,xn,Lr,xr;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(Bt=ne.readUInt16(),sn=Bt/2,ne.pos+=6,Ce=function(){var sr,wi;for(wi=[],ot=sr=0;0<=sn?sr<sn:sr>sn;ot=0<=sn?++sr:--sr)wi.push(ne.readUInt16());return wi}(),ne.pos+=2,Nn=function(){var sr,wi;for(wi=[],ot=sr=0;0<=sn?sr<sn:sr>sn;ot=0<=sn?++sr:--sr)wi.push(ne.readUInt16());return wi}(),At=function(){var sr,wi;for(wi=[],ot=sr=0;0<=sn?sr<sn:sr>sn;ot=0<=sn?++sr:--sr)wi.push(ne.readUInt16());return wi}(),Ft=function(){var sr,wi;for(wi=[],ot=sr=0;0<=sn?sr<sn:sr>sn;ot=0<=sn?++sr:--sr)wi.push(ne.readUInt16());return wi}(),ge=(this.length-ne.pos+this.offset)/2,Ge=function(){var sr,wi;for(wi=[],ot=sr=0;0<=ge?sr<ge:sr>ge;ot=0<=ge?++sr:--sr)wi.push(ne.readUInt16());return wi}(),ot=xn=0,xr=Ce.length;xn<xr;ot=++xn)for(Yn=Ce[ot],ce=Lr=zn=Nn[ot];zn<=Yn?Lr<=Yn:Lr>=Yn;ce=zn<=Yn?++Lr:--Lr)Ft[ot]===0?nt=ce+At[ot]:(nt=Ge[Ft[ot]/2+(ce-zn)-(sn-ot)]||0)!==0&&(nt+=At[ot]),this.codeMap[ce]=65535&nt}ne.pos=en}return E.encode=function(ne,te){var ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn,xn,Lr,xr,sr,wi,qi,Qi,zr,ur,ci,yn,qn,Mr,Br,Fi,Ui,Gi,xi,Wi,mo,Ta,hn,or,pr,Nr,Xr,pi,Di,Ni,ba,co,Ho;switch(Br=new cp,nt=Object.keys(ne).sort(function(Ko,zs){return Ko-zs}),te){case"macroman":for(Nn=0,Yn=function(){var Ko=[];for(zn=0;zn<256;++zn)Ko.push(0);return Ko}(),Lr={0:0},Ce={},Fi=0,Wi=nt.length;Fi<Wi;Fi++)Lr[Ni=ne[ge=nt[Fi]]]==null&&(Lr[Ni]=++Nn),Ce[ge]={old:ne[ge],new:Lr[ne[ge]]},Yn[ge]=Lr[ne[ge]];return Br.writeUInt16(1),Br.writeUInt16(0),Br.writeUInt32(12),Br.writeUInt16(0),Br.writeUInt16(262),Br.writeUInt16(0),Br.write(Yn),{charMap:Ce,subtable:Br.data,maxGlyphID:Nn+1};case"unicode":for(qn=[],en=[],xr=0,Lr={},ce={},xn=At=null,Ui=0,mo=nt.length;Ui<mo;Ui++)Lr[wi=ne[ge=nt[Ui]]]==null&&(Lr[wi]=++xr),ce[ge]={old:wi,new:Lr[wi]},Ge=Lr[wi]-ge,xn!=null&&Ge===At||(xn&&en.push(xn),qn.push(ge),At=Ge),xn=ge;for(xn&&en.push(xn),en.push(65535),qn.push(65535),ci=2*(ur=qn.length),zr=2*Math.pow(Math.log(ur)/Math.LN2,2),sn=Math.log(zr/2)/Math.LN2,Qi=2*ur-zr,ot=[],qi=[],Bt=[],zn=Gi=0,Ta=qn.length;Gi<Ta;zn=++Gi){if(yn=qn[zn],Ft=en[zn],yn===65535){ot.push(0),qi.push(0);break}if(yn-(Mr=ce[yn].new)>=32768)for(ot.push(0),qi.push(2*(Bt.length+ur-zn)),ge=xi=yn;yn<=Ft?xi<=Ft:xi>=Ft;ge=yn<=Ft?++xi:--xi)Bt.push(ce[ge].new);else ot.push(Mr-yn),qi.push(0)}for(Br.writeUInt16(3),Br.writeUInt16(1),Br.writeUInt32(12),Br.writeUInt16(4),Br.writeUInt16(16+8*ur+2*Bt.length),Br.writeUInt16(0),Br.writeUInt16(ci),Br.writeUInt16(zr),Br.writeUInt16(sn),Br.writeUInt16(Qi),pi=0,hn=en.length;pi<hn;pi++)ge=en[pi],Br.writeUInt16(ge);for(Br.writeUInt16(0),Di=0,or=qn.length;Di<or;Di++)ge=qn[Di],Br.writeUInt16(ge);for(ba=0,pr=ot.length;ba<pr;ba++)Ge=ot[ba],Br.writeUInt16(Ge);for(co=0,Nr=qi.length;co<Nr;co++)sr=qi[co],Br.writeUInt16(sr);for(Ho=0,Xr=Bt.length;Ho<Xr;Ho++)Nn=Bt[Ho],Br.writeUInt16(Nn);return{charMap:ce,subtable:Br.data,maxGlyphID:xr+1}}},E}(),vg=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return zf(E,rf),E.prototype.tag="cmap",E.prototype.parse=function(ne){var te,ce,ge;for(ne.pos=this.offset,this.version=ne.readUInt16(),ge=ne.readUInt16(),this.tables=[],this.unicode=null,ce=0;0<=ge?ce<ge:ce>ge;ce=0<=ge?++ce:--ce)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 ce,ge;return te==null&&(te="macroman"),ce=Yg.encode(ne,te),(ge=new cp).writeUInt16(0),ge.writeUInt16(1),ce.table=ge.data.concat(ce.subtable),ce},E}(),bv=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return zf(E,rf),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,rf),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,ce;for(ce=[],te=0;te<10;++te)ce.push(ne.readByte());return ce}(),this.charRange=function(){var te,ce;for(ce=[],te=0;te<4;++te)ce.push(ne.readInt());return ce}(),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,ce;for(ce=[],te=0;te<2;te=++te)ce.push(ne.readInt());return ce}(),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}(),Wf=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return zf(E,rf),E.prototype.tag="post",E.prototype.parse=function(ne){var te,ce,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(ce=ne.readUInt16(),this.glyphNameIndex=[],Ce=0;0<=ce?Ce<ce:Ce>ce;Ce=0<=ce?++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 ce=ne.readUInt16(),this.offsets=ne.read(ce);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,rf),E.prototype.tag="name",E.prototype.parse=function(ne){var te,ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn;for(ne.pos=this.offset,ne.readShort(),te=ne.readShort(),Ge=ne.readShort(),ce=[],Ce=0;0<=te?Ce<te:Ce>te;Ce=0<=te?++Ce:--Ce)ce.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=Ft=0,en=ce.length;Ft<en;Ce=++Ft)ge=ce[Ce],ne.pos=ge.offset,At=ne.readString(ge.length),nt=new Jv(At,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(Bt){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,rf),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}(),sd=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return zf(E,rf),E.prototype.tag="hmtx",E.prototype.parse=function(ne){var te,ce,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 At,Ft;for(Ft=[],te=At=0;0<=ge?At<ge:At>ge;te=0<=ge?++At:--At)Ft.push(ne.readInt16());return Ft}(),this.widths=function(){var At,Ft,en,sn;for(sn=[],At=0,Ft=(en=this.metrics).length;At<Ft;At++)Ce=en[At],sn.push(Ce.advance);return sn}.call(this),ce=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(ce));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,rf),E.prototype.tag="glyf",E.prototype.parse=function(){return this.cache={}},E.prototype.glyphFor=function(ne){var te,ce,ge,Ce,nt,Ge,ot,At,Ft,en;return ne in this.cache?this.cache[ne]:(Ce=this.file.loca,te=this.file.contents,ce=Ce.indexOf(ne),(ge=Ce.lengthOf(ne))===0?this.cache[ne]=null:(te.pos=this.offset+ce,nt=(Ge=new cp(te.read(ge))).readShort(),At=Ge.readShort(),en=Ge.readShort(),ot=Ge.readShort(),Ft=Ge.readShort(),this.cache[ne]=nt===-1?new bg(Ge,At,en,ot,Ft):new Ip(Ge,nt,At,en,ot,Ft),this.cache[ne]))},E.prototype.encode=function(ne,te,ce){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(ce)));return Ce.push(nt.length),{table:nt,offsets:Ce}},E}(),Ip=function(){function E(ne,te,ce,ge,Ce,nt){this.raw=ne,this.numberOfContours=te,this.xMin=ce,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,ce,ge,Ce){var nt,Ge;for(this.raw=ne,this.xMin=te,this.yMin=ce,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,ce;for(te=new cp(wv.call(this.raw.data)),ne=0,ce=this.glyphIDs.length;ne<ce;++ne)te.pos=this.glyphOffsets[ne];return te.data},E}(),$v=function(){function E(){return E.__super__.constructor.apply(this,arguments)}return zf(E,rf),E.prototype.tag="loca",E.prototype.parse=function(ne){var te,ce;return ne.pos=this.offset,te=this.file.head.indexToLocFormat,this.offsets=te===0?function(){var ge,Ce;for(Ce=[],ce=0,ge=this.length;ce<ge;ce+=2)Ce.push(2*ne.readUInt16());return Ce}.call(this):function(){var ge,Ce;for(Ce=[],ce=0,ge=this.length;ce<ge;ce+=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 ce=new Uint32Array(this.offsets.length),ge=0,Ce=0,nt=0;nt<ce.length;++nt)if(ce[nt]=ge,Ce<te.length&&te[Ce]==nt){++Ce,ce[nt]=ge;var Ge=this.offsets[nt],ot=this.offsets[nt+1]-Ge;ot>0&&(ge+=ot)}for(var At=new Array(4*ce.length),Ft=0;Ft<ce.length;++Ft)At[4*Ft+3]=255&ce[Ft],At[4*Ft+2]=(65280&ce[Ft])>>8,At[4*Ft+1]=(16711680&ce[Ft])>>16,At[4*Ft]=(4278190080&ce[Ft])>>24;return At},E}(),Cv=function(){function E(ne){this.font=ne,this.subset={},this.unicodes={},this.next=33}return E.prototype.generateCmap=function(){var ne,te,ce,ge,Ce;for(te in ge=this.font.cmap.tables[0].codeMap,ne={},Ce=this.subset)ce=Ce[te],ne[te]=ge[ce];return ne},E.prototype.glyphsFor=function(ne){var te,ce,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)(ce=ge[Ce])!=null&&ce.compound&&te.push.apply(te,ce.glyphIDs);if(te.length>0)for(Ce in ot=this.glyphsFor(te))ce=ot[Ce],ge[Ce]=ce;return ge},E.prototype.encode=function(ne,te){var ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn,xn;for(ge in ce=vg.encode(this.generateCmap(),"unicode"),nt=this.glyphsFor(ne),Bt={0:0},xn=ce.charMap)Bt[(ot=xn[ge]).old]=ot.new;for(zn in sn=ce.maxGlyphID,nt)zn in Bt||(Bt[zn]=sn++);return Ft=function(Lr){var xr,sr;for(xr in sr={},Lr)sr[Lr[xr]]=xr;return sr}(Bt),en=Object.keys(Ft).sort(function(Lr,xr){return Lr-xr}),Nn=function(){var Lr,xr,sr;for(sr=[],Lr=0,xr=en.length;Lr<xr;Lr++)Ge=en[Lr],sr.push(Ft[Ge]);return sr}(),Ce=this.font.glyf.encode(nt,Nn,Bt),At=this.font.loca.encode(Ce.offsets,Nn),Yn={cmap:this.font.cmap.raw(),glyf:Ce.table,loca:At,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&&(Yn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Yn)},E}();_s.API.PDFObject=function(){var E;function ne(){}return E=function(te,ce){return(Array(ce+1).join("0")+te).slice(-ce)},ne.convert=function(te){var ce,ge,Ce,nt;if(Array.isArray(te))return"["+function(){var Ge,ot,At;for(At=[],Ge=0,ot=te.length;Ge<ot;Ge++)ce=te[Ge],At.push(ne.convert(ce));return At}().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(Qn,Yt,de){var he=de(19208).lW,Me=de(97671);(function(He){Qn.exports=He()})(function(){return function He(ft,Oe,Le){function ve(fe,Ke){if(!Oe[fe]){if(!ft[fe]){var Be=void 0;if(!Ke&&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 Ne=Oe[fe]={exports:{}};ft[fe][0].call(Ne.exports,function(Qe){var ke=ft[fe][1][Qe];return ve(ke||Qe)},Ne,Ne.exports,He,ft,Oe,Le)}return Oe[fe].exports}for(var Ae=void 0,xe=0;xe<Le.length;xe++)ve(Le[xe]);return ve}({1:[function(He,ft,Oe){"use strict";var Le=He("./utils"),ve=He("./support"),Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Oe.encode=function(xe){for(var fe,Ke,Be,_e,Ne,Qe,ke,Pe=[],Te=0,Ye=xe.length,ze=Ye,qe=Le.getTypeOf(xe)!=="string";Te<xe.length;)ze=Ye-Te,Be=qe?(fe=xe[Te++],Ke=Te<Ye?xe[Te++]:0,Te<Ye?xe[Te++]:0):(fe=xe.charCodeAt(Te++),Ke=Te<Ye?xe.charCodeAt(Te++):0,Te<Ye?xe.charCodeAt(Te++):0),_e=fe>>2,Ne=(3&fe)<<4|Ke>>4,Qe=1<ze?(15&Ke)<<2|Be>>6:64,ke=2<ze?63&Be:64,Pe.push(Ae.charAt(_e)+Ae.charAt(Ne)+Ae.charAt(Qe)+Ae.charAt(ke));return Pe.join("")},Oe.decode=function(xe){var fe,Ke,Be,_e,Ne,Qe,ke=0,Pe=0,Te="data:";if(xe.substr(0,Te.length)===Te)throw new Error("Invalid base64 input, it looks like a data url.");var Ye,ze=3*(xe=xe.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(xe.charAt(xe.length-1)===Ae.charAt(64)&&ze--,xe.charAt(xe.length-2)===Ae.charAt(64)&&ze--,ze%1!=0)throw new Error("Invalid base64 input, bad content length.");for(Ye=ve.uint8array?new Uint8Array(0|ze):new Array(0|ze);ke<xe.length;)fe=Ae.indexOf(xe.charAt(ke++))<<2|(_e=Ae.indexOf(xe.charAt(ke++)))>>4,Ke=(15&_e)<<4|(Ne=Ae.indexOf(xe.charAt(ke++)))>>2,Be=(3&Ne)<<6|(Qe=Ae.indexOf(xe.charAt(ke++))),Ye[Pe++]=fe,Ne!==64&&(Ye[Pe++]=Ke),Qe!==64&&(Ye[Pe++]=Be);return Ye}},{"./support":30,"./utils":32}],2:[function(He,ft,Oe){"use strict";var Le=He("./external"),ve=He("./stream/DataWorker"),Ae=He("./stream/Crc32Probe"),xe=He("./stream/DataLengthProbe");function fe(Ke,Be,_e,Ne,Qe){this.compressedSize=Ke,this.uncompressedSize=Be,this.crc32=_e,this.compression=Ne,this.compressedContent=Qe}fe.prototype={getContentWorker:function(){var Ke=new ve(Le.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new xe("data_length")),Be=this;return Ke.on("end",function(){if(this.streamInfo.data_length!==Be.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Ke},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(Ke,Be,_e){return Ke.pipe(new Ae).pipe(new xe("uncompressedSize")).pipe(Be.compressWorker(_e)).pipe(new xe("compressedSize")).withStreamInfo("compression",Be)},ft.exports=fe},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(He,ft,Oe){"use strict";var Le=He("./stream/GenericWorker");Oe.STORE={magic:"\0\0",compressWorker:function(){return new Le("STORE compression")},uncompressWorker:function(){return new Le("STORE decompression")}},Oe.DEFLATE=He("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(He,ft,Oe){"use strict";var Le=He("./utils"),ve=function(){for(var Ae,xe=[],fe=0;fe<256;fe++){Ae=fe;for(var Ke=0;Ke<8;Ke++)Ae=1&Ae?3988292384^Ae>>>1:Ae>>>1;xe[fe]=Ae}return xe}();ft.exports=function(Ae,xe){return Ae!==void 0&&Ae.length?Le.getTypeOf(Ae)!=="string"?function(fe,Ke,Be,_e){var Ne=ve,Qe=_e+Be;fe^=-1;for(var ke=_e;ke<Qe;ke++)fe=fe>>>8^Ne[255&(fe^Ke[ke])];return-1^fe}(0|xe,Ae,Ae.length,0):function(fe,Ke,Be,_e){var Ne=ve,Qe=_e+Be;fe^=-1;for(var ke=_e;ke<Qe;ke++)fe=fe>>>8^Ne[255&(fe^Ke.charCodeAt(ke))];return-1^fe}(0|xe,Ae,Ae.length,0):0}},{"./utils":32}],5:[function(He,ft,Oe){"use strict";Oe.base64=!1,Oe.binary=!1,Oe.dir=!1,Oe.createFolders=!0,Oe.date=null,Oe.compression=null,Oe.compressionOptions=null,Oe.comment=null,Oe.unixPermissions=null,Oe.dosPermissions=null},{}],6:[function(He,ft,Oe){"use strict";var Le=null;Le=typeof Promise!="undefined"?Promise:He("lie"),ft.exports={Promise:Le}},{lie:37}],7:[function(He,ft,Oe){"use strict";var Le=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",ve=He("pako"),Ae=He("./utils"),xe=He("./stream/GenericWorker"),fe=Le?"uint8array":"array";function Ke(Be,_e){xe.call(this,"FlateWorker/"+Be),this._pako=null,this._pakoAction=Be,this._pakoOptions=_e,this.meta={}}Oe.magic="\b\0",Ae.inherits(Ke,xe),Ke.prototype.processChunk=function(Be){this.meta=Be.meta,this._pako===null&&this._createPako(),this._pako.push(Ae.transformTo(fe,Be.data),!1)},Ke.prototype.flush=function(){xe.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Ke.prototype.cleanUp=function(){xe.prototype.cleanUp.call(this),this._pako=null},Ke.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})}},Oe.compressWorker=function(Be){return new Ke("Deflate",Be)},Oe.uncompressWorker=function(){return new Ke("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(He,ft,Oe){"use strict";function Le(Ne,Qe){var ke,Pe="";for(ke=0;ke<Qe;ke++)Pe+=String.fromCharCode(255&Ne),Ne>>>=8;return Pe}function ve(Ne,Qe,ke,Pe,Te,Ye){var ze,qe,We=Ne.file,Ze=Ne.compression,et=Ye!==fe.utf8encode,rt=Ae.transformTo("string",Ye(We.name)),ht=Ae.transformTo("string",fe.utf8encode(We.name)),dt=We.comment,Ct=Ae.transformTo("string",Ye(dt)),Xe=Ae.transformTo("string",fe.utf8encode(dt)),Lt=ht.length!==We.name.length,Re=Xe.length!==dt.length,Ht="",Et="",bt="",Tt=We.dir,wt=We.date,it={crc32:0,compressedSize:0,uncompressedSize:0};Qe&&!ke||(it.crc32=Ne.crc32,it.compressedSize=Ne.compressedSize,it.uncompressedSize=Ne.uncompressedSize);var Ue=0;Qe&&(Ue|=8),et||!Lt&&!Re||(Ue|=2048);var at=0,Xt=0;Tt&&(at|=16),Te==="UNIX"?(Xt=798,at|=function(xt,Qt){var An=xt;return xt||(An=Qt?16893:33204),(65535&An)<<16}(We.unixPermissions,Tt)):(Xt=20,at|=function(xt){return 63&(xt||0)}(We.dosPermissions)),ze=wt.getUTCHours(),ze<<=6,ze|=wt.getUTCMinutes(),ze<<=5,ze|=wt.getUTCSeconds()/2,qe=wt.getUTCFullYear()-1980,qe<<=4,qe|=wt.getUTCMonth()+1,qe<<=5,qe|=wt.getUTCDate(),Lt&&(Et=Le(1,1)+Le(Ke(rt),4)+ht,Ht+="up"+Le(Et.length,2)+Et),Re&&(bt=Le(1,1)+Le(Ke(Ct),4)+Xe,Ht+="uc"+Le(bt.length,2)+bt);var Vt="";return Vt+=`
\0`,Vt+=Le(Ue,2),Vt+=Ze.magic,Vt+=Le(ze,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(Ht.length,2),{fileRecord:Be.LOCAL_FILE_HEADER+Vt+rt+Ht,dirRecord:Be.CENTRAL_FILE_HEADER+Le(Xt,2)+Vt+Le(Ct.length,2)+"\0\0\0\0"+Le(at,4)+Le(Pe,4)+rt+Ht+Ct}}var Ae=He("../utils"),xe=He("../stream/GenericWorker"),fe=He("../utf8"),Ke=He("../crc32"),Be=He("../signature");function _e(Ne,Qe,ke,Pe){xe.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Qe,this.zipPlatform=ke,this.encodeFileName=Pe,this.streamFiles=Ne,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Ae.inherits(_e,xe),_e.prototype.push=function(Ne){var Qe=Ne.meta.percent||0,ke=this.entriesCount,Pe=this._sources.length;this.accumulate?this.contentBuffer.push(Ne):(this.bytesWritten+=Ne.data.length,xe.prototype.push.call(this,{data:Ne.data,meta:{currentFile:this.currentFile,percent:ke?(Qe+100*(ke-Pe-1))/ke:100}}))},_e.prototype.openedSource=function(Ne){this.currentSourceOffset=this.bytesWritten,this.currentFile=Ne.file.name;var Qe=this.streamFiles&&!Ne.file.dir;if(Qe){var ke=ve(Ne,Qe,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:ke.fileRecord,meta:{percent:0}})}else this.accumulate=!0},_e.prototype.closedSource=function(Ne){this.accumulate=!1;var Qe=this.streamFiles&&!Ne.file.dir,ke=ve(Ne,Qe,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(ke.dirRecord),Qe)this.push({data:function(Pe){return Be.DATA_DESCRIPTOR+Le(Pe.crc32,4)+Le(Pe.compressedSize,4)+Le(Pe.uncompressedSize,4)}(Ne),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 Ne=this.bytesWritten,Qe=0;Qe<this.dirRecords.length;Qe++)this.push({data:this.dirRecords[Qe],meta:{percent:100}});var ke=this.bytesWritten-Ne,Pe=function(Te,Ye,ze,qe,We){var Ze=Ae.transformTo("string",We(qe));return Be.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Le(Te,2)+Le(Te,2)+Le(Ye,4)+Le(ze,4)+Le(Ze.length,2)+Ze}(this.dirRecords.length,ke,Ne,this.zipComment,this.encodeFileName);this.push({data:Pe,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(Ne){this._sources.push(Ne);var Qe=this;return Ne.on("data",function(ke){Qe.processChunk(ke)}),Ne.on("end",function(){Qe.closedSource(Qe.previous.streamInfo),Qe._sources.length?Qe.prepareNextSource():Qe.end()}),Ne.on("error",function(ke){Qe.error(ke)}),this},_e.prototype.resume=function(){return!!xe.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(Ne){var Qe=this._sources;if(!xe.prototype.error.call(this,Ne))return!1;for(var ke=0;ke<Qe.length;ke++)try{Qe[ke].error(Ne)}catch(Pe){}return!0},_e.prototype.lock=function(){xe.prototype.lock.call(this);for(var Ne=this._sources,Qe=0;Qe<Ne.length;Qe++)Ne[Qe].lock()},ft.exports=_e},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(He,ft,Oe){"use strict";var Le=He("../compressions"),ve=He("./ZipFileWorker");Oe.generateWorker=function(Ae,xe,fe){var Ke=new ve(xe.streamFiles,fe,xe.platform,xe.encodeFileName),Be=0;try{Ae.forEach(function(_e,Ne){Be++;var Qe=function(Ye,ze){var qe=Ye||ze,We=Le[qe];if(!We)throw new Error(qe+" is not a valid compression method !");return We}(Ne.options.compression,xe.compression),ke=Ne.options.compressionOptions||xe.compressionOptions||{},Pe=Ne.dir,Te=Ne.date;Ne._compressWorker(Qe,ke).withStreamInfo("file",{name:_e,dir:Pe,date:Te,comment:Ne.comment||"",unixPermissions:Ne.unixPermissions,dosPermissions:Ne.dosPermissions}).pipe(Ke)}),Ke.entriesCount=Be}catch(_e){Ke.error(_e)}return Ke}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(He,ft,Oe){"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=He("./object")).loadAsync=He("./load"),Le.support=He("./support"),Le.defaults=He("./defaults"),Le.version="3.10.1",Le.loadAsync=function(ve,Ae){return new Le().loadAsync(ve,Ae)},Le.external=He("./external"),ft.exports=Le},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(He,ft,Oe){"use strict";var Le=He("./utils"),ve=He("./external"),Ae=He("./utf8"),xe=He("./zipEntries"),fe=He("./stream/Crc32Probe"),Ke=He("./nodejsUtils");function Be(_e){return new ve.Promise(function(Ne,Qe){var ke=_e.decompressed.getContentWorker().pipe(new fe);ke.on("error",function(Pe){Qe(Pe)}).on("end",function(){ke.streamInfo.crc32!==_e.decompressed.crc32?Qe(new Error("Corrupted zip : CRC32 mismatch")):Ne()}).resume()})}ft.exports=function(_e,Ne){var Qe=this;return Ne=Le.extend(Ne||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Ae.utf8decode}),Ke.isNode&&Ke.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,Ne.optimizedBinaryString,Ne.base64).then(function(ke){var Pe=new xe(Ne);return Pe.load(ke),Pe}).then(function(ke){var Pe=[ve.Promise.resolve(ke)],Te=ke.files;if(Ne.checkCRC32)for(var Ye=0;Ye<Te.length;Ye++)Pe.push(Be(Te[Ye]));return ve.Promise.all(Pe)}).then(function(ke){for(var Pe=ke.shift(),Te=Pe.files,Ye=0;Ye<Te.length;Ye++){var ze=Te[Ye],qe=ze.fileNameStr,We=Le.resolve(ze.fileNameStr);Qe.file(We,ze.decompressed,{binary:!0,optimizedBinaryString:!0,date:ze.date,dir:ze.dir,comment:ze.fileCommentStr.length?ze.fileCommentStr:null,unixPermissions:ze.unixPermissions,dosPermissions:ze.dosPermissions,createFolders:Ne.createFolders}),ze.dir||(Qe.file(We).unsafeOriginalName=qe)}return Pe.zipComment.length&&(Qe.comment=Pe.zipComment),Qe})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(He,ft,Oe){"use strict";var Le=He("../utils"),ve=He("../stream/GenericWorker");function Ae(xe,fe){ve.call(this,"Nodejs stream input adapter for "+xe),this._upstreamEnded=!1,this._bindStream(fe)}Le.inherits(Ae,ve),Ae.prototype._bindStream=function(xe){var fe=this;(this._stream=xe).pause(),xe.on("data",function(Ke){fe.push({data:Ke,meta:{percent:0}})}).on("error",function(Ke){fe.isPaused?this.generatedError=Ke:fe.error(Ke)}).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)},ft.exports=Ae},{"../stream/GenericWorker":28,"../utils":32}],13:[function(He,ft,Oe){"use strict";var Le=He("readable-stream").Readable;function ve(Ae,xe,fe){Le.call(this,xe),this._helper=Ae;var Ke=this;Ae.on("data",function(Be,_e){Ke.push(Be)||Ke._helper.pause(),fe&&fe(_e)}).on("error",function(Be){Ke.emit("error",Be)}).on("end",function(){Ke.push(null)})}He("../utils").inherits(ve,Le),ve.prototype._read=function(){this._helper.resume()},ft.exports=ve},{"../utils":32,"readable-stream":16}],14:[function(He,ft,Oe){"use strict";ft.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(He,ft,Oe){"use strict";function Le(We,Ze,et){var rt,ht=Ae.getTypeOf(Ze),dt=Ae.extend(et||{},Ke);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=Te(We)),dt.createFolders&&(rt=Pe(We))&&Ye.call(this,rt,!0);var Ct=ht==="string"&&dt.binary===!1&&dt.base64===!1;et&&et.binary!==void 0||(dt.binary=!Ct),(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 Xe=null;Xe=Ze instanceof Be||Ze instanceof xe?Ze:Qe.isNode&&Qe.isStream(Ze)?new ke(We,Ze):Ae.prepareContent(We,Ze,dt.binary,dt.optimizedBinaryString,dt.base64);var Lt=new _e(We,Xe,dt);this.files[We]=Lt}var ve=He("./utf8"),Ae=He("./utils"),xe=He("./stream/GenericWorker"),fe=He("./stream/StreamHelper"),Ke=He("./defaults"),Be=He("./compressedObject"),_e=He("./zipObject"),Ne=He("./generate"),Qe=He("./nodejsUtils"),ke=He("./nodejs/NodejsStreamInputAdapter"),Pe=function(We){We.slice(-1)==="/"&&(We=We.substring(0,We.length-1));var Ze=We.lastIndexOf("/");return 0<Ze?We.substring(0,Ze):""},Te=function(We){return We.slice(-1)!=="/"&&(We+="/"),We},Ye=function(We,Ze){return Ze=Ze!==void 0?Ze:Ke.createFolders,We=Te(We),this.files[We]||Le.call(this,We,null,{dir:!0,createFolders:Ze}),this.files[We]};function ze(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,et,rt;for(Ze in this.files)rt=this.files[Ze],(et=Ze.slice(this.root.length,Ze.length))&&Ze.slice(0,this.root.length)===this.root&&We(et,rt)},filter:function(We){var Ze=[];return this.forEach(function(et,rt){We(et,rt)&&Ze.push(rt)}),Ze},file:function(We,Ze,et){if(arguments.length!==1)return We=this.root+We,Le.call(this,We,Ze,et),this;if(ze(We)){var rt=We;return this.filter(function(dt,Ct){return!Ct.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(ze(We))return this.filter(function(ht,dt){return dt.dir&&We.test(ht)});var Ze=this.root+We,et=Ye.call(this,Ze),rt=this.clone();return rt.root=et.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 et=this.filter(function(ht,dt){return dt.name.slice(0,We.length)===We}),rt=0;rt<et.length;rt++)delete this.files[et[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,et={};try{if((et=Ae.extend(We||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ve.utf8encode})).type=et.type.toLowerCase(),et.compression=et.compression.toUpperCase(),et.type==="binarystring"&&(et.type="string"),!et.type)throw new Error("No output type specified.");Ae.checkSupport(et.type),et.platform!=="darwin"&&et.platform!=="freebsd"&&et.platform!=="linux"&&et.platform!=="sunos"||(et.platform="UNIX"),et.platform==="win32"&&(et.platform="DOS");var rt=et.comment||this.comment||"";Ze=Ne.generateWorker(this,et,rt)}catch(ht){(Ze=new xe("error")).error(ht)}return new fe(Ze,et.type||"string",et.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)}};ft.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(He,ft,Oe){"use strict";ft.exports=He("stream")},{stream:void 0}],17:[function(He,ft,Oe){"use strict";var Le=He("./DataReader");function ve(Ae){Le.call(this,Ae);for(var xe=0;xe<this.data.length;xe++)Ae[xe]=255&Ae[xe]}He("../utils").inherits(ve,Le),ve.prototype.byteAt=function(Ae){return this.data[this.zero+Ae]},ve.prototype.lastIndexOfSignature=function(Ae){for(var xe=Ae.charCodeAt(0),fe=Ae.charCodeAt(1),Ke=Ae.charCodeAt(2),Be=Ae.charCodeAt(3),_e=this.length-4;0<=_e;--_e)if(this.data[_e]===xe&&this.data[_e+1]===fe&&this.data[_e+2]===Ke&&this.data[_e+3]===Be)return _e-this.zero;return-1},ve.prototype.readAndCheckSignature=function(Ae){var xe=Ae.charCodeAt(0),fe=Ae.charCodeAt(1),Ke=Ae.charCodeAt(2),Be=Ae.charCodeAt(3),_e=this.readData(4);return xe===_e[0]&&fe===_e[1]&&Ke===_e[2]&&Be===_e[3]},ve.prototype.readData=function(Ae){if(this.checkOffset(Ae),Ae===0)return[];var xe=this.data.slice(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,xe},ft.exports=ve},{"../utils":32,"./DataReader":18}],18:[function(He,ft,Oe){"use strict";var Le=He("../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 xe,fe=0;for(this.checkOffset(Ae),xe=this.index+Ae-1;xe>=this.index;xe--)fe=(fe<<8)+this.byteAt(xe);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))}},ft.exports=ve},{"../utils":32}],19:[function(He,ft,Oe){"use strict";var Le=He("./Uint8ArrayReader");function ve(Ae){Le.call(this,Ae)}He("../utils").inherits(ve,Le),ve.prototype.readData=function(Ae){this.checkOffset(Ae);var xe=this.data.slice(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,xe},ft.exports=ve},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(He,ft,Oe){"use strict";var Le=He("./DataReader");function ve(Ae){Le.call(this,Ae)}He("../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 xe=this.data.slice(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,xe},ft.exports=ve},{"../utils":32,"./DataReader":18}],21:[function(He,ft,Oe){"use strict";var Le=He("./ArrayReader");function ve(Ae){Le.call(this,Ae)}He("../utils").inherits(ve,Le),ve.prototype.readData=function(Ae){if(this.checkOffset(Ae),Ae===0)return new Uint8Array(0);var xe=this.data.subarray(this.zero+this.index,this.zero+this.index+Ae);return this.index+=Ae,xe},ft.exports=ve},{"../utils":32,"./ArrayReader":17}],22:[function(He,ft,Oe){"use strict";var Le=He("../utils"),ve=He("../support"),Ae=He("./ArrayReader"),xe=He("./StringReader"),fe=He("./NodeBufferReader"),Ke=He("./Uint8ArrayReader");ft.exports=function(Be){var _e=Le.getTypeOf(Be);return Le.checkSupport(_e),_e!=="string"||ve.uint8array?_e==="nodebuffer"?new fe(Be):ve.uint8array?new Ke(Le.transformTo("uint8array",Be)):new Ae(Le.transformTo("array",Be)):new xe(Be)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(He,ft,Oe){"use strict";Oe.LOCAL_FILE_HEADER="PK",Oe.CENTRAL_FILE_HEADER="PK",Oe.CENTRAL_DIRECTORY_END="PK",Oe.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",Oe.ZIP64_CENTRAL_DIRECTORY_END="PK",Oe.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(He,ft,Oe){"use strict";var Le=He("./GenericWorker"),ve=He("../utils");function Ae(xe){Le.call(this,"ConvertWorker to "+xe),this.destType=xe}ve.inherits(Ae,Le),Ae.prototype.processChunk=function(xe){this.push({data:ve.transformTo(this.destType,xe.data),meta:xe.meta})},ft.exports=Ae},{"../utils":32,"./GenericWorker":28}],25:[function(He,ft,Oe){"use strict";var Le=He("./GenericWorker"),ve=He("../crc32");function Ae(){Le.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}He("../utils").inherits(Ae,Le),Ae.prototype.processChunk=function(xe){this.streamInfo.crc32=ve(xe.data,this.streamInfo.crc32||0),this.push(xe)},ft.exports=Ae},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(He,ft,Oe){"use strict";var Le=He("../utils"),ve=He("./GenericWorker");function Ae(xe){ve.call(this,"DataLengthProbe for "+xe),this.propName=xe,this.withStreamInfo(xe,0)}Le.inherits(Ae,ve),Ae.prototype.processChunk=function(xe){if(xe){var fe=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=fe+xe.data.length}ve.prototype.processChunk.call(this,xe)},ft.exports=Ae},{"../utils":32,"./GenericWorker":28}],27:[function(He,ft,Oe){"use strict";var Le=He("../utils"),ve=He("./GenericWorker");function Ae(xe){ve.call(this,"DataWorker");var fe=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,xe.then(function(Ke){fe.dataIsReady=!0,fe.data=Ke,fe.max=Ke&&Ke.length||0,fe.type=Le.getTypeOf(Ke),fe.isPaused||fe._tickAndRepeat()},function(Ke){fe.error(Ke)})}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 xe=null,fe=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":xe=this.data.substring(this.index,fe);break;case"uint8array":xe=this.data.subarray(this.index,fe);break;case"array":case"nodebuffer":xe=this.data.slice(this.index,fe)}return this.index=fe,this.push({data:xe,meta:{percent:this.max?this.index/this.max*100:0}})},ft.exports=Ae},{"../utils":32,"./GenericWorker":28}],28:[function(He,ft,Oe){"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 xe=0;xe<this._listeners[ve].length;xe++)this._listeners[ve][xe].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(xe){Ae.processChunk(xe)}),ve.on("end",function(){Ae.end()}),ve.on("error",function(xe){Ae.error(xe)}),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}},ft.exports=Le},{}],29:[function(He,ft,Oe){"use strict";var Le=He("../utils"),ve=He("./ConvertWorker"),Ae=He("./GenericWorker"),xe=He("../base64"),fe=He("../support"),Ke=He("../external"),Be=null;if(fe.nodestream)try{Be=He("../nodejs/NodejsStreamOutputAdapter")}catch(Qe){}function _e(Qe,ke){return new Ke.Promise(function(Pe,Te){var Ye=[],ze=Qe._internalType,qe=Qe._outputType,We=Qe._mimeType;Qe.on("data",function(Ze,et){Ye.push(Ze),ke&&ke(et)}).on("error",function(Ze){Ye=[],Te(Ze)}).on("end",function(){try{var Ze=function(et,rt,ht){switch(et){case"blob":return Le.newBlob(Le.transformTo("arraybuffer",rt),ht);case"base64":return xe.encode(rt);default:return Le.transformTo(et,rt)}}(qe,function(et,rt){var ht,dt=0,Ct=null,Xe=0;for(ht=0;ht<rt.length;ht++)Xe+=rt[ht].length;switch(et){case"string":return rt.join("");case"array":return Array.prototype.concat.apply([],rt);case"uint8array":for(Ct=new Uint8Array(Xe),ht=0;ht<rt.length;ht++)Ct.set(rt[ht],dt),dt+=rt[ht].length;return Ct;case"nodebuffer":return he.concat(rt);default:throw new Error("concat : unsupported type '"+et+"'")}}(ze,Ye),We);Pe(Ze)}catch(et){Te(et)}Ye=[]}).resume()})}function Ne(Qe,ke,Pe){var Te=ke;switch(ke){case"blob":case"arraybuffer":Te="uint8array";break;case"base64":Te="string"}try{this._internalType=Te,this._outputType=ke,this._mimeType=Pe,Le.checkSupport(Te),this._worker=Qe.pipe(new ve(Te)),Qe.lock()}catch(Ye){this._worker=new Ae("error"),this._worker.error(Ye)}}Ne.prototype={accumulate:function(Qe){return _e(this,Qe)},on:function(Qe,ke){var Pe=this;return Qe==="data"?this._worker.on(Qe,function(Te){ke.call(Pe,Te.data,Te.meta)}):this._worker.on(Qe,function(){Le.delay(ke,arguments,Pe)}),this},resume:function(){return Le.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(Qe){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"},Qe)}},ft.exports=Ne},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(He,ft,Oe){"use strict";if(Oe.base64=!0,Oe.array=!0,Oe.string=!0,Oe.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",Oe.nodebuffer=typeof he!="undefined",Oe.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")Oe.blob=!1;else{var Le=new ArrayBuffer(0);try{Oe.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),Oe.blob=ve.getBlob("application/zip").size===0}catch(xe){Oe.blob=!1}}}try{Oe.nodestream=!!He("readable-stream").Readable}catch(Ae){Oe.nodestream=!1}},{"readable-stream":16}],31:[function(He,ft,Oe){"use strict";for(var Le=He("./utils"),ve=He("./support"),Ae=He("./nodejsUtils"),xe=He("./stream/GenericWorker"),fe=new Array(256),Ke=0;Ke<256;Ke++)fe[Ke]=252<=Ke?6:248<=Ke?5:240<=Ke?4:224<=Ke?3:192<=Ke?2:1;fe[254]=fe[254]=1;function Be(){xe.call(this,"utf-8 decode"),this.leftOver=null}function _e(){xe.call(this,"utf-8 encode")}Oe.utf8encode=function(Ne){return ve.nodebuffer?Ae.newBufferFrom(Ne,"utf-8"):function(Qe){var ke,Pe,Te,Ye,ze,qe=Qe.length,We=0;for(Ye=0;Ye<qe;Ye++)(64512&(Pe=Qe.charCodeAt(Ye)))==55296&&Ye+1<qe&&(64512&(Te=Qe.charCodeAt(Ye+1)))==56320&&(Pe=65536+(Pe-55296<<10)+(Te-56320),Ye++),We+=Pe<128?1:Pe<2048?2:Pe<65536?3:4;for(ke=ve.uint8array?new Uint8Array(We):new Array(We),Ye=ze=0;ze<We;Ye++)(64512&(Pe=Qe.charCodeAt(Ye)))==55296&&Ye+1<qe&&(64512&(Te=Qe.charCodeAt(Ye+1)))==56320&&(Pe=65536+(Pe-55296<<10)+(Te-56320),Ye++),Pe<128?ke[ze++]=Pe:(Pe<2048?ke[ze++]=192|Pe>>>6:(Pe<65536?ke[ze++]=224|Pe>>>12:(ke[ze++]=240|Pe>>>18,ke[ze++]=128|Pe>>>12&63),ke[ze++]=128|Pe>>>6&63),ke[ze++]=128|63&Pe);return ke}(Ne)},Oe.utf8decode=function(Ne){return ve.nodebuffer?Le.transformTo("nodebuffer",Ne).toString("utf-8"):function(Qe){var ke,Pe,Te,Ye,ze=Qe.length,qe=new Array(2*ze);for(ke=Pe=0;ke<ze;)if((Te=Qe[ke++])<128)qe[Pe++]=Te;else if(4<(Ye=fe[Te]))qe[Pe++]=65533,ke+=Ye-1;else{for(Te&=Ye===2?31:Ye===3?15:7;1<Ye&&ke<ze;)Te=Te<<6|63&Qe[ke++],Ye--;1<Ye?qe[Pe++]=65533:Te<65536?qe[Pe++]=Te:(Te-=65536,qe[Pe++]=55296|Te>>10&1023,qe[Pe++]=56320|1023&Te)}return qe.length!==Pe&&(qe.subarray?qe=qe.subarray(0,Pe):qe.length=Pe),Le.applyFromCharCode(qe)}(Ne=Le.transformTo(ve.uint8array?"uint8array":"array",Ne))},Le.inherits(Be,xe),Be.prototype.processChunk=function(Ne){var Qe=Le.transformTo(ve.uint8array?"uint8array":"array",Ne.data);if(this.leftOver&&this.leftOver.length){if(ve.uint8array){var ke=Qe;(Qe=new Uint8Array(ke.length+this.leftOver.length)).set(this.leftOver,0),Qe.set(ke,this.leftOver.length)}else Qe=this.leftOver.concat(Qe);this.leftOver=null}var Pe=function(Ye,ze){var qe;for((ze=ze||Ye.length)>Ye.length&&(ze=Ye.length),qe=ze-1;0<=qe&&(192&Ye[qe])==128;)qe--;return qe<0||qe===0?ze:qe+fe[Ye[qe]]>ze?qe:ze}(Qe),Te=Qe;Pe!==Qe.length&&(ve.uint8array?(Te=Qe.subarray(0,Pe),this.leftOver=Qe.subarray(Pe,Qe.length)):(Te=Qe.slice(0,Pe),this.leftOver=Qe.slice(Pe,Qe.length))),this.push({data:Oe.utf8decode(Te),meta:Ne.meta})},Be.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Oe.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},Oe.Utf8DecodeWorker=Be,Le.inherits(_e,xe),_e.prototype.processChunk=function(Ne){this.push({data:Oe.utf8encode(Ne.data),meta:Ne.meta})},Oe.Utf8EncodeWorker=_e},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(He,ft,Oe){"use strict";var Le=He("./support"),ve=He("./base64"),Ae=He("./nodejsUtils"),xe=He("./external");function fe(ke){return ke}function Ke(ke,Pe){for(var Te=0;Te<ke.length;++Te)Pe[Te]=255&ke.charCodeAt(Te);return Pe}He("setimmediate"),Oe.newBlob=function(ke,Pe){Oe.checkSupport("blob");try{return new Blob([ke],{type:Pe})}catch(Ye){try{var Te=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Te.append(ke),Te.getBlob(Pe)}catch(ze){throw new Error("Bug : can't construct the Blob.")}}};var Be={stringifyByChunk:function(ke,Pe,Te){var Ye=[],ze=0,qe=ke.length;if(qe<=Te)return String.fromCharCode.apply(null,ke);for(;ze<qe;)Pe==="array"||Pe==="nodebuffer"?Ye.push(String.fromCharCode.apply(null,ke.slice(ze,Math.min(ze+Te,qe)))):Ye.push(String.fromCharCode.apply(null,ke.subarray(ze,Math.min(ze+Te,qe)))),ze+=Te;return Ye.join("")},stringifyByChar:function(ke){for(var Pe="",Te=0;Te<ke.length;Te++)Pe+=String.fromCharCode(ke[Te]);return Pe},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 Pe=65536,Te=Oe.getTypeOf(ke),Ye=!0;if(Te==="uint8array"?Ye=Be.applyCanBeUsed.uint8array:Te==="nodebuffer"&&(Ye=Be.applyCanBeUsed.nodebuffer),Ye)for(;1<Pe;)try{return Be.stringifyByChunk(ke,Te,Pe)}catch(ze){Pe=Math.floor(Pe/2)}return Be.stringifyByChar(ke)}function Ne(ke,Pe){for(var Te=0;Te<ke.length;Te++)Pe[Te]=ke[Te];return Pe}Oe.applyFromCharCode=_e;var Qe={};Qe.string={string:fe,array:function(ke){return Ke(ke,new Array(ke.length))},arraybuffer:function(ke){return Qe.string.uint8array(ke).buffer},uint8array:function(ke){return Ke(ke,new Uint8Array(ke.length))},nodebuffer:function(ke){return Ke(ke,Ae.allocBuffer(ke.length))}},Qe.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)}},Qe.arraybuffer={string:function(ke){return _e(new Uint8Array(ke))},array:function(ke){return Ne(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))}},Qe.uint8array={string:_e,array:function(ke){return Ne(ke,new Array(ke.length))},arraybuffer:function(ke){return ke.buffer},uint8array:fe,nodebuffer:function(ke){return Ae.newBufferFrom(ke)}},Qe.nodebuffer={string:_e,array:function(ke){return Ne(ke,new Array(ke.length))},arraybuffer:function(ke){return Qe.nodebuffer.uint8array(ke).buffer},uint8array:function(ke){return Ne(ke,new Uint8Array(ke.length))},nodebuffer:fe},Oe.transformTo=function(ke,Pe){if(Pe=Pe||"",!ke)return Pe;Oe.checkSupport(ke);var Te=Oe.getTypeOf(Pe);return Qe[Te][ke](Pe)},Oe.resolve=function(ke){for(var Pe=ke.split("/"),Te=[],Ye=0;Ye<Pe.length;Ye++){var ze=Pe[Ye];ze==="."||ze===""&&Ye!==0&&Ye!==Pe.length-1||(ze===".."?Te.pop():Te.push(ze))}return Te.join("/")},Oe.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},Oe.checkSupport=function(ke){if(!Le[ke.toLowerCase()])throw new Error(ke+" is not supported by this platform")},Oe.MAX_VALUE_16BITS=65535,Oe.MAX_VALUE_32BITS=-1,Oe.pretty=function(ke){var Pe,Te,Ye="";for(Te=0;Te<(ke||"").length;Te++)Ye+="\\x"+((Pe=ke.charCodeAt(Te))<16?"0":"")+Pe.toString(16).toUpperCase();return Ye},Oe.delay=function(ke,Pe,Te){setImmediate(function(){ke.apply(Te||null,Pe||[])})},Oe.inherits=function(ke,Pe){function Te(){}Te.prototype=Pe.prototype,ke.prototype=new Te},Oe.extend=function(){var ke,Pe,Te={};for(ke=0;ke<arguments.length;ke++)for(Pe in arguments[ke])Object.prototype.hasOwnProperty.call(arguments[ke],Pe)&&Te[Pe]===void 0&&(Te[Pe]=arguments[ke][Pe]);return Te},Oe.prepareContent=function(ke,Pe,Te,Ye,ze){return xe.Promise.resolve(Pe).then(function(qe){return Le.blob&&(qe instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(qe))!==-1)&&typeof FileReader!="undefined"?new xe.Promise(function(We,Ze){var et=new FileReader;et.onload=function(rt){We(rt.target.result)},et.onerror=function(rt){Ze(rt.target.error)},et.readAsArrayBuffer(qe)}):qe}).then(function(qe){var We=Oe.getTypeOf(qe);return We?(We==="arraybuffer"?qe=Oe.transformTo("uint8array",qe):We==="string"&&(ze?qe=ve.decode(qe):Te&&Ye!==!0&&(qe=function(Ze){return Ke(Ze,Le.uint8array?new Uint8Array(Ze.length):new Array(Ze.length))}(qe))),qe):xe.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(He,ft,Oe){"use strict";var Le=He("./reader/readerFor"),ve=He("./utils"),Ae=He("./signature"),xe=He("./zipEntry"),fe=He("./support");function Ke(Be){this.files=[],this.loadOptions=Be}Ke.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 Ne=this.reader.index;this.reader.setIndex(Be);var Qe=this.reader.readString(4)===_e;return this.reader.setIndex(Ne),Qe},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",Ne=ve.transformTo(_e,Be);this.zipComment=this.loadOptions.decodeFileName(Ne)},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,Ne,Qe=this.zip64EndOfCentralSize-44;0<Qe;)Be=this.reader.readInt(2),_e=this.reader.readInt(4),Ne=this.reader.readData(_e),this.zip64ExtensibleData[Be]={id:Be,length:_e,value:Ne}},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 xe({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 Ne=this.centralDirOffset+this.centralDirSize;this.zip64&&(Ne+=20,Ne+=12+this.zip64EndOfCentralSize);var Qe=_e-Ne;if(0<Qe)this.isSignature(_e,Ae.CENTRAL_FILE_HEADER)||(this.reader.zero=Qe);else if(Qe<0)throw new Error("Corrupted zip: missing "+Math.abs(Qe)+" bytes.")},prepareReader:function(Be){this.reader=Le(Be)},load:function(Be){this.prepareReader(Be),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},ft.exports=Ke},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(He,ft,Oe){"use strict";var Le=He("./reader/readerFor"),ve=He("./utils"),Ae=He("./compressedObject"),xe=He("./crc32"),fe=He("./utf8"),Ke=He("./compressions"),Be=He("./support");function _e(Ne,Qe){this.options=Ne,this.loadOptions=Qe}_e.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(Ne){var Qe,ke;if(Ne.skip(22),this.fileNameLength=Ne.readInt(2),ke=Ne.readInt(2),this.fileName=Ne.readData(this.fileNameLength),Ne.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((Qe=function(Pe){for(var Te in Ke)if(Object.prototype.hasOwnProperty.call(Ke,Te)&&Ke[Te].magic===Pe)return Ke[Te];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,Qe,Ne.readData(this.compressedSize))},readCentralPart:function(Ne){this.versionMadeBy=Ne.readInt(2),Ne.skip(2),this.bitFlag=Ne.readInt(2),this.compressionMethod=Ne.readString(2),this.date=Ne.readDate(),this.crc32=Ne.readInt(4),this.compressedSize=Ne.readInt(4),this.uncompressedSize=Ne.readInt(4);var Qe=Ne.readInt(2);if(this.extraFieldsLength=Ne.readInt(2),this.fileCommentLength=Ne.readInt(2),this.diskNumberStart=Ne.readInt(2),this.internalFileAttributes=Ne.readInt(2),this.externalFileAttributes=Ne.readInt(4),this.localHeaderOffset=Ne.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");Ne.skip(Qe),this.readExtraFields(Ne),this.parseZIP64ExtraField(Ne),this.fileComment=Ne.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var Ne=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),Ne==0&&(this.dosPermissions=63&this.externalFileAttributes),Ne==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var Ne=Le(this.extraFields[1].value);this.uncompressedSize===ve.MAX_VALUE_32BITS&&(this.uncompressedSize=Ne.readInt(8)),this.compressedSize===ve.MAX_VALUE_32BITS&&(this.compressedSize=Ne.readInt(8)),this.localHeaderOffset===ve.MAX_VALUE_32BITS&&(this.localHeaderOffset=Ne.readInt(8)),this.diskNumberStart===ve.MAX_VALUE_32BITS&&(this.diskNumberStart=Ne.readInt(4))}},readExtraFields:function(Ne){var Qe,ke,Pe,Te=Ne.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});Ne.index+4<Te;)Qe=Ne.readInt(2),ke=Ne.readInt(2),Pe=Ne.readData(ke),this.extraFields[Qe]={id:Qe,length:ke,value:Pe};Ne.setIndex(Te)},handleUTF8:function(){var Ne=Be.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=fe.utf8decode(this.fileName),this.fileCommentStr=fe.utf8decode(this.fileComment);else{var Qe=this.findExtraFieldUnicodePath();if(Qe!==null)this.fileNameStr=Qe;else{var ke=ve.transformTo(Ne,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(ke)}var Pe=this.findExtraFieldUnicodeComment();if(Pe!==null)this.fileCommentStr=Pe;else{var Te=ve.transformTo(Ne,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Te)}}},findExtraFieldUnicodePath:function(){var Ne=this.extraFields[28789];if(Ne){var Qe=Le(Ne.value);return Qe.readInt(1)!==1||xe(this.fileName)!==Qe.readInt(4)?null:fe.utf8decode(Qe.readData(Ne.length-5))}return null},findExtraFieldUnicodeComment:function(){var Ne=this.extraFields[25461];if(Ne){var Qe=Le(Ne.value);return Qe.readInt(1)!==1||xe(this.fileComment)!==Qe.readInt(4)?null:fe.utf8decode(Qe.readData(Ne.length-5))}return null}},ft.exports=_e},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(He,ft,Oe){"use strict";function Le(Qe,ke,Pe){this.name=Qe,this.dir=Pe.dir,this.date=Pe.date,this.comment=Pe.comment,this.unixPermissions=Pe.unixPermissions,this.dosPermissions=Pe.dosPermissions,this._data=ke,this._dataBinary=Pe.binary,this.options={compression:Pe.compression,compressionOptions:Pe.compressionOptions}}var ve=He("./stream/StreamHelper"),Ae=He("./stream/DataWorker"),xe=He("./utf8"),fe=He("./compressedObject"),Ke=He("./stream/GenericWorker");Le.prototype={internalStream:function(Qe){var ke=null,Pe="string";try{if(!Qe)throw new Error("No output type specified.");var Te=(Pe=Qe.toLowerCase())==="string"||Pe==="text";Pe!=="binarystring"&&Pe!=="text"||(Pe="string"),ke=this._decompressWorker();var Ye=!this._dataBinary;Ye&&!Te&&(ke=ke.pipe(new xe.Utf8EncodeWorker)),!Ye&&Te&&(ke=ke.pipe(new xe.Utf8DecodeWorker))}catch(ze){(ke=new Ke("error")).error(ze)}return new ve(ke,Pe,"")},async:function(Qe,ke){return this.internalStream(Qe).accumulate(ke)},nodeStream:function(Qe,ke){return this.internalStream(Qe||"nodebuffer").toNodejsStream(ke)},_compressWorker:function(Qe,ke){if(this._data instanceof fe&&this._data.compression.magic===Qe.magic)return this._data.getCompressedWorker();var Pe=this._decompressWorker();return this._dataBinary||(Pe=Pe.pipe(new xe.Utf8EncodeWorker)),fe.createWorkerFrom(Pe,Qe,ke)},_decompressWorker:function(){return this._data instanceof fe?this._data.getContentWorker():this._data instanceof Ke?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.")},Ne=0;Ne<Be.length;Ne++)Le.prototype[Be[Ne]]=_e;ft.exports=Le},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(He,ft,Oe){(function(Le){"use strict";var ve,Ae,xe=Le.MutationObserver||Le.WebKitMutationObserver;if(xe){var fe=0,Ke=new xe(Qe),Be=Le.document.createTextNode("");Ke.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(){Qe(),ke.onreadystatechange=null,ke.parentNode.removeChild(ke),ke=null},Le.document.documentElement.appendChild(ke)}:function(){setTimeout(Qe,0)};else{var _e=new Le.MessageChannel;_e.port1.onmessage=Qe,ve=function(){_e.port2.postMessage(0)}}var Ne=[];function Qe(){var ke,Pe;Ae=!0;for(var Te=Ne.length;Te;){for(Pe=Ne,Ne=[],ke=-1;++ke<Te;)Pe[ke]();Te=Ne.length}Ae=!1}ft.exports=function(ke){Ne.push(ke)!==1||Ae||ve()}}).call(this,typeof de.g!="undefined"?de.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(He,ft,Oe){"use strict";var Le=He("immediate");function ve(){}var Ae={},xe=["REJECTED"],fe=["FULFILLED"],Ke=["PENDING"];function Be(Te){if(typeof Te!="function")throw new TypeError("resolver must be a function");this.state=Ke,this.queue=[],this.outcome=void 0,Te!==ve&&ke(this,Te)}function _e(Te,Ye,ze){this.promise=Te,typeof Ye=="function"&&(this.onFulfilled=Ye,this.callFulfilled=this.otherCallFulfilled),typeof ze=="function"&&(this.onRejected=ze,this.callRejected=this.otherCallRejected)}function Ne(Te,Ye,ze){Le(function(){var qe;try{qe=Ye(ze)}catch(We){return Ae.reject(Te,We)}qe===Te?Ae.reject(Te,new TypeError("Cannot resolve promise with itself")):Ae.resolve(Te,qe)})}function Qe(Te){var Ye=Te&&Te.then;if(Te&&(typeof Te=="object"||typeof Te=="function")&&typeof Ye=="function")return function(){Ye.apply(Te,arguments)}}function ke(Te,Ye){var ze=!1;function qe(et){ze||(ze=!0,Ae.reject(Te,et))}function We(et){ze||(ze=!0,Ae.resolve(Te,et))}var Ze=Pe(function(){Ye(We,qe)});Ze.status==="error"&&qe(Ze.value)}function Pe(Te,Ye){var ze={};try{ze.value=Te(Ye),ze.status="success"}catch(qe){ze.status="error",ze.value=qe}return ze}(ft.exports=Be).prototype.finally=function(Te){if(typeof Te!="function")return this;var Ye=this.constructor;return this.then(function(ze){return Ye.resolve(Te()).then(function(){return ze})},function(ze){return Ye.resolve(Te()).then(function(){throw ze})})},Be.prototype.catch=function(Te){return this.then(null,Te)},Be.prototype.then=function(Te,Ye){if(typeof Te!="function"&&this.state===fe||typeof Ye!="function"&&this.state===xe)return this;var ze=new this.constructor(ve);return this.state!==Ke?Ne(ze,this.state===fe?Te:Ye,this.outcome):this.queue.push(new _e(ze,Te,Ye)),ze},_e.prototype.callFulfilled=function(Te){Ae.resolve(this.promise,Te)},_e.prototype.otherCallFulfilled=function(Te){Ne(this.promise,this.onFulfilled,Te)},_e.prototype.callRejected=function(Te){Ae.reject(this.promise,Te)},_e.prototype.otherCallRejected=function(Te){Ne(this.promise,this.onRejected,Te)},Ae.resolve=function(Te,Ye){var ze=Pe(Qe,Ye);if(ze.status==="error")return Ae.reject(Te,ze.value);var qe=ze.value;if(qe)ke(Te,qe);else{Te.state=fe,Te.outcome=Ye;for(var We=-1,Ze=Te.queue.length;++We<Ze;)Te.queue[We].callFulfilled(Ye)}return Te},Ae.reject=function(Te,Ye){Te.state=xe,Te.outcome=Ye;for(var ze=-1,qe=Te.queue.length;++ze<qe;)Te.queue[ze].callRejected(Ye);return Te},Be.resolve=function(Te){return Te instanceof this?Te:Ae.resolve(new this(ve),Te)},Be.reject=function(Te){var Ye=new this(ve);return Ae.reject(Ye,Te)},Be.all=function(Te){var Ye=this;if(Object.prototype.toString.call(Te)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ze=Te.length,qe=!1;if(!ze)return this.resolve([]);for(var We=new Array(ze),Ze=0,et=-1,rt=new this(ve);++et<ze;)ht(Te[et],et);return rt;function ht(dt,Ct){Ye.resolve(dt).then(function(Xe){We[Ct]=Xe,++Ze!==ze||qe||(qe=!0,Ae.resolve(rt,We))},function(Xe){qe||(qe=!0,Ae.reject(rt,Xe))})}},Be.race=function(Te){var Ye=this;if(Object.prototype.toString.call(Te)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ze=Te.length,qe=!1;if(!ze)return this.resolve([]);for(var We=-1,Ze=new this(ve);++We<ze;)et=Te[We],Ye.resolve(et).then(function(rt){qe||(qe=!0,Ae.resolve(Ze,rt))},function(rt){qe||(qe=!0,Ae.reject(Ze,rt))});var et;return Ze}},{immediate:36}],38:[function(He,ft,Oe){"use strict";var Le={};(0,He("./lib/utils/common").assign)(Le,He("./lib/deflate"),He("./lib/inflate"),He("./lib/zlib/constants")),ft.exports=Le},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(He,ft,Oe){"use strict";var Le=He("./zlib/deflate"),ve=He("./utils/common"),Ae=He("./utils/strings"),xe=He("./zlib/messages"),fe=He("./zlib/zstream"),Ke=Object.prototype.toString,Be=0,_e=-1,Ne=0,Qe=8;function ke(Te){if(!(this instanceof ke))return new ke(Te);this.options=ve.assign({level:_e,method:Qe,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ne,to:""},Te||{});var Ye=this.options;Ye.raw&&0<Ye.windowBits?Ye.windowBits=-Ye.windowBits:Ye.gzip&&0<Ye.windowBits&&Ye.windowBits<16&&(Ye.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new fe,this.strm.avail_out=0;var ze=Le.deflateInit2(this.strm,Ye.level,Ye.method,Ye.windowBits,Ye.memLevel,Ye.strategy);if(ze!==Be)throw new Error(xe[ze]);if(Ye.header&&Le.deflateSetHeader(this.strm,Ye.header),Ye.dictionary){var qe;if(qe=typeof Ye.dictionary=="string"?Ae.string2buf(Ye.dictionary):Ke.call(Ye.dictionary)==="[object ArrayBuffer]"?new Uint8Array(Ye.dictionary):Ye.dictionary,(ze=Le.deflateSetDictionary(this.strm,qe))!==Be)throw new Error(xe[ze]);this._dict_set=!0}}function Pe(Te,Ye){var ze=new ke(Ye);if(ze.push(Te,!0),ze.err)throw ze.msg||xe[ze.err];return ze.result}ke.prototype.push=function(Te,Ye){var ze,qe,We=this.strm,Ze=this.options.chunkSize;if(this.ended)return!1;qe=Ye===~~Ye?Ye:Ye===!0?4:0,typeof Te=="string"?We.input=Ae.string2buf(Te):Ke.call(Te)==="[object ArrayBuffer]"?We.input=new Uint8Array(Te):We.input=Te,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),(ze=Le.deflate(We,qe))!==1&&ze!==Be)return this.onEnd(ze),!(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)&&ze!==1);return qe===4?(ze=Le.deflateEnd(this.strm),this.onEnd(ze),this.ended=!0,ze===Be):qe!==2||(this.onEnd(Be),!(We.avail_out=0))},ke.prototype.onData=function(Te){this.chunks.push(Te)},ke.prototype.onEnd=function(Te){Te===Be&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ve.flattenChunks(this.chunks)),this.chunks=[],this.err=Te,this.msg=this.strm.msg},Oe.Deflate=ke,Oe.deflate=Pe,Oe.deflateRaw=function(Te,Ye){return(Ye=Ye||{}).raw=!0,Pe(Te,Ye)},Oe.gzip=function(Te,Ye){return(Ye=Ye||{}).gzip=!0,Pe(Te,Ye)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(He,ft,Oe){"use strict";var Le=He("./zlib/inflate"),ve=He("./utils/common"),Ae=He("./utils/strings"),xe=He("./zlib/constants"),fe=He("./zlib/messages"),Ke=He("./zlib/zstream"),Be=He("./zlib/gzheader"),_e=Object.prototype.toString;function Ne(ke){if(!(this instanceof Ne))return new Ne(ke);this.options=ve.assign({chunkSize:16384,windowBits:0,to:""},ke||{});var Pe=this.options;Pe.raw&&0<=Pe.windowBits&&Pe.windowBits<16&&(Pe.windowBits=-Pe.windowBits,Pe.windowBits===0&&(Pe.windowBits=-15)),!(0<=Pe.windowBits&&Pe.windowBits<16)||ke&&ke.windowBits||(Pe.windowBits+=32),15<Pe.windowBits&&Pe.windowBits<48&&!(15&Pe.windowBits)&&(Pe.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ke,this.strm.avail_out=0;var Te=Le.inflateInit2(this.strm,Pe.windowBits);if(Te!==xe.Z_OK)throw new Error(fe[Te]);this.header=new Be,Le.inflateGetHeader(this.strm,this.header)}function Qe(ke,Pe){var Te=new Ne(Pe);if(Te.push(ke,!0),Te.err)throw Te.msg||fe[Te.err];return Te.result}Ne.prototype.push=function(ke,Pe){var Te,Ye,ze,qe,We,Ze,et=this.strm,rt=this.options.chunkSize,ht=this.options.dictionary,dt=!1;if(this.ended)return!1;Ye=Pe===~~Pe?Pe:Pe===!0?xe.Z_FINISH:xe.Z_NO_FLUSH,typeof ke=="string"?et.input=Ae.binstring2buf(ke):_e.call(ke)==="[object ArrayBuffer]"?et.input=new Uint8Array(ke):et.input=ke,et.next_in=0,et.avail_in=et.input.length;do{if(et.avail_out===0&&(et.output=new ve.Buf8(rt),et.next_out=0,et.avail_out=rt),(Te=Le.inflate(et,xe.Z_NO_FLUSH))===xe.Z_NEED_DICT&&ht&&(Ze=typeof ht=="string"?Ae.string2buf(ht):_e.call(ht)==="[object ArrayBuffer]"?new Uint8Array(ht):ht,Te=Le.inflateSetDictionary(this.strm,Ze)),Te===xe.Z_BUF_ERROR&&dt===!0&&(Te=xe.Z_OK,dt=!1),Te!==xe.Z_STREAM_END&&Te!==xe.Z_OK)return this.onEnd(Te),!(this.ended=!0);et.next_out&&(et.avail_out!==0&&Te!==xe.Z_STREAM_END&&(et.avail_in!==0||Ye!==xe.Z_FINISH&&Ye!==xe.Z_SYNC_FLUSH)||(this.options.to==="string"?(ze=Ae.utf8border(et.output,et.next_out),qe=et.next_out-ze,We=Ae.buf2string(et.output,ze),et.next_out=qe,et.avail_out=rt-qe,qe&&ve.arraySet(et.output,et.output,ze,qe,0),this.onData(We)):this.onData(ve.shrinkBuf(et.output,et.next_out)))),et.avail_in===0&&et.avail_out===0&&(dt=!0)}while((0<et.avail_in||et.avail_out===0)&&Te!==xe.Z_STREAM_END);return Te===xe.Z_STREAM_END&&(Ye=xe.Z_FINISH),Ye===xe.Z_FINISH?(Te=Le.inflateEnd(this.strm),this.onEnd(Te),this.ended=!0,Te===xe.Z_OK):Ye!==xe.Z_SYNC_FLUSH||(this.onEnd(xe.Z_OK),!(et.avail_out=0))},Ne.prototype.onData=function(ke){this.chunks.push(ke)},Ne.prototype.onEnd=function(ke){ke===xe.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},Oe.Inflate=Ne,Oe.inflate=Qe,Oe.inflateRaw=function(ke,Pe){return(Pe=Pe||{}).raw=!0,Qe(ke,Pe)},Oe.ungzip=Qe},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(He,ft,Oe){"use strict";var Le=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";Oe.assign=function(xe){for(var fe=Array.prototype.slice.call(arguments,1);fe.length;){var Ke=fe.shift();if(Ke){if(typeof Ke!="object")throw new TypeError(Ke+"must be non-object");for(var Be in Ke)Ke.hasOwnProperty(Be)&&(xe[Be]=Ke[Be])}}return xe},Oe.shrinkBuf=function(xe,fe){return xe.length===fe?xe:xe.subarray?xe.subarray(0,fe):(xe.length=fe,xe)};var ve={arraySet:function(xe,fe,Ke,Be,_e){if(fe.subarray&&xe.subarray)xe.set(fe.subarray(Ke,Ke+Be),_e);else for(var Ne=0;Ne<Be;Ne++)xe[_e+Ne]=fe[Ke+Ne]},flattenChunks:function(xe){var fe,Ke,Be,_e,Ne,Qe;for(fe=Be=0,Ke=xe.length;fe<Ke;fe++)Be+=xe[fe].length;for(Qe=new Uint8Array(Be),fe=_e=0,Ke=xe.length;fe<Ke;fe++)Ne=xe[fe],Qe.set(Ne,_e),_e+=Ne.length;return Qe}},Ae={arraySet:function(xe,fe,Ke,Be,_e){for(var Ne=0;Ne<Be;Ne++)xe[_e+Ne]=fe[Ke+Ne]},flattenChunks:function(xe){return[].concat.apply([],xe)}};Oe.setTyped=function(xe){xe?(Oe.Buf8=Uint8Array,Oe.Buf16=Uint16Array,Oe.Buf32=Int32Array,Oe.assign(Oe,ve)):(Oe.Buf8=Array,Oe.Buf16=Array,Oe.Buf32=Array,Oe.assign(Oe,Ae))},Oe.setTyped(Le)},{}],42:[function(He,ft,Oe){"use strict";var Le=He("./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 xe=new Le.Buf8(256),fe=0;fe<256;fe++)xe[fe]=252<=fe?6:248<=fe?5:240<=fe?4:224<=fe?3:192<=fe?2:1;function Ke(Be,_e){if(_e<65537&&(Be.subarray&&Ae||!Be.subarray&&ve))return String.fromCharCode.apply(null,Le.shrinkBuf(Be,_e));for(var Ne="",Qe=0;Qe<_e;Qe++)Ne+=String.fromCharCode(Be[Qe]);return Ne}xe[254]=xe[254]=1,Oe.string2buf=function(Be){var _e,Ne,Qe,ke,Pe,Te=Be.length,Ye=0;for(ke=0;ke<Te;ke++)(64512&(Ne=Be.charCodeAt(ke)))==55296&&ke+1<Te&&(64512&(Qe=Be.charCodeAt(ke+1)))==56320&&(Ne=65536+(Ne-55296<<10)+(Qe-56320),ke++),Ye+=Ne<128?1:Ne<2048?2:Ne<65536?3:4;for(_e=new Le.Buf8(Ye),ke=Pe=0;Pe<Ye;ke++)(64512&(Ne=Be.charCodeAt(ke)))==55296&&ke+1<Te&&(64512&(Qe=Be.charCodeAt(ke+1)))==56320&&(Ne=65536+(Ne-55296<<10)+(Qe-56320),ke++),Ne<128?_e[Pe++]=Ne:(Ne<2048?_e[Pe++]=192|Ne>>>6:(Ne<65536?_e[Pe++]=224|Ne>>>12:(_e[Pe++]=240|Ne>>>18,_e[Pe++]=128|Ne>>>12&63),_e[Pe++]=128|Ne>>>6&63),_e[Pe++]=128|63&Ne);return _e},Oe.buf2binstring=function(Be){return Ke(Be,Be.length)},Oe.binstring2buf=function(Be){for(var _e=new Le.Buf8(Be.length),Ne=0,Qe=_e.length;Ne<Qe;Ne++)_e[Ne]=Be.charCodeAt(Ne);return _e},Oe.buf2string=function(Be,_e){var Ne,Qe,ke,Pe,Te=_e||Be.length,Ye=new Array(2*Te);for(Ne=Qe=0;Ne<Te;)if((ke=Be[Ne++])<128)Ye[Qe++]=ke;else if(4<(Pe=xe[ke]))Ye[Qe++]=65533,Ne+=Pe-1;else{for(ke&=Pe===2?31:Pe===3?15:7;1<Pe&&Ne<Te;)ke=ke<<6|63&Be[Ne++],Pe--;1<Pe?Ye[Qe++]=65533:ke<65536?Ye[Qe++]=ke:(ke-=65536,Ye[Qe++]=55296|ke>>10&1023,Ye[Qe++]=56320|1023&ke)}return Ke(Ye,Qe)},Oe.utf8border=function(Be,_e){var Ne;for((_e=_e||Be.length)>Be.length&&(_e=Be.length),Ne=_e-1;0<=Ne&&(192&Be[Ne])==128;)Ne--;return Ne<0||Ne===0?_e:Ne+xe[Be[Ne]]>_e?Ne:_e}},{"./common":41}],43:[function(He,ft,Oe){"use strict";ft.exports=function(Le,ve,Ae,xe){for(var fe=65535&Le|0,Ke=Le>>>16&65535|0,Be=0;Ae!==0;){for(Ae-=Be=2e3<Ae?2e3:Ae;Ke=Ke+(fe=fe+ve[xe++]|0)|0,--Be;);fe%=65521,Ke%=65521}return fe|Ke<<16|0}},{}],44:[function(He,ft,Oe){"use strict";ft.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(He,ft,Oe){"use strict";var Le=function(){for(var ve,Ae=[],xe=0;xe<256;xe++){ve=xe;for(var fe=0;fe<8;fe++)ve=1&ve?3988292384^ve>>>1:ve>>>1;Ae[xe]=ve}return Ae}();ft.exports=function(ve,Ae,xe,fe){var Ke=Le,Be=fe+xe;ve^=-1;for(var _e=fe;_e<Be;_e++)ve=ve>>>8^Ke[255&(ve^Ae[_e])];return-1^ve}},{}],46:[function(He,ft,Oe){"use strict";var Le,ve=He("../utils/common"),Ae=He("./trees"),xe=He("./adler32"),fe=He("./crc32"),Ke=He("./messages"),Be=0,_e=4,Ne=0,Qe=-2,ke=-1,Pe=4,Te=2,Ye=8,ze=9,qe=286,We=30,Ze=19,et=2*qe+1,rt=15,ht=3,dt=258,Ct=dt+ht+1,Xe=42,Lt=113,Re=1,Ht=2,Et=3,bt=4;function Tt(Se,Fe){return Se.msg=Ke[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 Ue(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,Ue(Se.strm)}function Xt(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 xt(Se,Fe){var ie,ae,se=Se.max_chain_length,oe=Se.strstart,Je=Se.prev_length,vt=Se.nice_match,$e=Se.strstart>Se.w_size-Ct?Se.strstart-(Se.w_size-Ct):0,lt=Se.window,Pt=Se.w_mask,_t=Se.prev,kt=Se.strstart+dt,$t=lt[oe+Je-1],Sn=lt[oe+Je];Se.prev_length>=Se.good_match&&(se>>=2),vt>Se.lookahead&&(vt=Se.lookahead);do if(lt[(ie=Fe)+Je]===Sn&&lt[ie+Je-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,Je<ae){if(Se.match_start=Fe,vt<=(Je=ae))break;$t=lt[oe+Je-1],Sn=lt[oe+Je]}}while((Fe=_t[Fe&Pt])>$e&&--se!=0);return Je<=Se.lookahead?Je:Se.lookahead}function Qt(Se){var Fe,ie,ae,se,oe,Je,vt,$e,lt,Pt,_t=Se.w_size;do{if(se=Se.window_size-Se.lookahead-Se.strstart,Se.strstart>=_t+(_t-Ct)){for(ve.arraySet(Se.window,Se.window,_t,_t,0),Se.match_start-=_t,Se.strstart-=_t,Se.block_start-=_t,Fe=ie=Se.hash_size;ae=Se.head[--Fe],Se.head[Fe]=_t<=ae?ae-_t:0,--ie;);for(Fe=ie=_t;ae=Se.prev[--Fe],Se.prev[Fe]=_t<=ae?ae-_t:0,--ie;);se+=_t}if(Se.strm.avail_in===0)break;if(Je=Se.strm,vt=Se.window,$e=Se.strstart+Se.lookahead,lt=se,Pt=void 0,Pt=Je.avail_in,lt<Pt&&(Pt=lt),ie=Pt===0?0:(Je.avail_in-=Pt,ve.arraySet(vt,Je.input,Je.next_in,Pt,$e),Je.state.wrap===1?Je.adler=xe(Je.adler,vt,Pt,$e):Je.state.wrap===2&&(Je.adler=fe(Je.adler,vt,Pt,$e)),Je.next_in+=Pt,Je.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<Ct&&Se.strm.avail_in!==0)}function An(Se,Fe){for(var ie,ae;;){if(Se.lookahead<Ct){if(Qt(Se),Se.lookahead<Ct&&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-Ct&&(Se.match_length=xt(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?Et:bt):Se.last_lit&&(at(Se,!1),Se.strm.avail_out===0)?Re:Ht}function Tn(Se,Fe){for(var ie,ae,se;;){if(Se.lookahead<Ct){if(Qt(Se),Se.lookahead<Ct&&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-Ct&&(Se.match_length=xt(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?Et:bt):Se.last_lit&&(at(Se,!1),Se.strm.avail_out===0)?Re:Ht}function dn(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 Gn(){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=Ye,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*et),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=Te,(Fe=Se.state).pending=0,Fe.pending_out=0,Fe.wrap<0&&(Fe.wrap=-Fe.wrap),Fe.status=Fe.wrap?Xe:Lt,Se.adler=Fe.wrap===2?0:1,Fe.last_flush=Be,Ae._tr_init(Fe),Ne):Tt(Se,Qe)}function mn(Se){var Fe=Cn(Se);return Fe===Ne&&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 Bn(Se,Fe,ie,ae,se,oe){if(!Se)return Qe;var Je=1;if(Fe===ke&&(Fe=6),ae<0?(Je=0,ae=-ae):15<ae&&(Je=2,ae-=16),se<1||ze<se||ie!==Ye||ae<8||15<ae||Fe<0||9<Fe||oe<0||Pe<oe)return Tt(Se,Qe);ae===8&&(ae=9);var vt=new Gn;return(Se.state=vt).strm=Se,vt.wrap=Je,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,mn(Se)}Le=[new dn(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-Ct&&(at(Se,!1),Se.strm.avail_out===0))return Re}return Se.insert=0,Fe===_e?(at(Se,!0),Se.strm.avail_out===0?Et:bt):(Se.strstart>Se.block_start&&(at(Se,!1),Se.strm.avail_out),Re)}),new dn(4,4,8,4,An),new dn(4,5,16,8,An),new dn(4,6,32,32,An),new dn(4,4,16,16,Tn),new dn(8,16,32,32,Tn),new dn(8,16,128,128,Tn),new dn(8,32,128,256,Tn),new dn(32,128,258,1024,Tn),new dn(32,258,258,4096,Tn)],Oe.deflateInit=function(Se,Fe){return Bn(Se,Fe,Ye,15,8,0)},Oe.deflateInit2=Bn,Oe.deflateReset=mn,Oe.deflateResetKeep=Cn,Oe.deflateSetHeader=function(Se,Fe){return Se&&Se.state?Se.state.wrap!==2?Qe:(Se.state.gzhead=Fe,Ne):Qe},Oe.deflate=function(Se,Fe){var ie,ae,se,oe;if(!Se||!Se.state||5<Fe||Fe<0)return Se?Tt(Se,Qe):Qe;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:Qe);if(ae.strm=Se,ie=ae.last_flush,ae.last_flush=Fe,ae.status===Xe)if(ae.wrap===2)Se.adler=0,Xt(ae,31),Xt(ae,139),Xt(ae,8),ae.gzhead?(Xt(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)),Xt(ae,255&ae.gzhead.time),Xt(ae,ae.gzhead.time>>8&255),Xt(ae,ae.gzhead.time>>16&255),Xt(ae,ae.gzhead.time>>24&255),Xt(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),Xt(ae,255&ae.gzhead.os),ae.gzhead.extra&&ae.gzhead.extra.length&&(Xt(ae,255&ae.gzhead.extra.length),Xt(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):(Xt(ae,0),Xt(ae,0),Xt(ae,0),Xt(ae,0),Xt(ae,0),Xt(ae,ae.level===9?2:2<=ae.strategy||ae.level<2?4:0),Xt(ae,3),ae.status=Lt);else{var Je=Ye+(ae.w_bits-8<<4)<<8;Je|=(2<=ae.strategy||ae.level<2?0:ae.level<6?1:ae.level===6?2:3)<<6,ae.strstart!==0&&(Je|=32),Je+=31-Je%31,ae.status=Lt,Vt(ae,Je),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)),Ue(Se),se=ae.pending,ae.pending!==ae.pending_buf_size));)Xt(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)),Ue(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,Xt(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)),Ue(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,Xt(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&&Ue(Se),ae.pending+2<=ae.pending_buf_size&&(Xt(ae,255&Se.adler),Xt(ae,Se.adler>>8&255),Se.adler=0,ae.status=Lt)):ae.status=Lt),ae.pending!==0){if(Ue(Se),Se.avail_out===0)return ae.last_flush=-1,Ne}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($e,lt){for(var Pt;;){if($e.lookahead===0&&(Qt($e),$e.lookahead===0)){if(lt===Be)return Re;break}if($e.match_length=0,Pt=Ae._tr_tally($e,0,$e.window[$e.strstart]),$e.lookahead--,$e.strstart++,Pt&&(at($e,!1),$e.strm.avail_out===0))return Re}return $e.insert=0,lt===_e?(at($e,!0),$e.strm.avail_out===0?Et:bt):$e.last_lit&&(at($e,!1),$e.strm.avail_out===0)?Re:Ht}(ae,Fe):ae.strategy===3?function($e,lt){for(var Pt,_t,kt,$t,Sn=$e.window;;){if($e.lookahead<=dt){if(Qt($e),$e.lookahead<=dt&&lt===Be)return Re;if($e.lookahead===0)break}if($e.match_length=0,$e.lookahead>=ht&&0<$e.strstart&&(_t=Sn[kt=$e.strstart-1])===Sn[++kt]&&_t===Sn[++kt]&&_t===Sn[++kt]){$t=$e.strstart+dt;do;while(_t===Sn[++kt]&&_t===Sn[++kt]&&_t===Sn[++kt]&&_t===Sn[++kt]&&_t===Sn[++kt]&&_t===Sn[++kt]&&_t===Sn[++kt]&&_t===Sn[++kt]&&kt<$t);$e.match_length=dt-($t-kt),$e.match_length>$e.lookahead&&($e.match_length=$e.lookahead)}if($e.match_length>=ht?(Pt=Ae._tr_tally($e,1,$e.match_length-ht),$e.lookahead-=$e.match_length,$e.strstart+=$e.match_length,$e.match_length=0):(Pt=Ae._tr_tally($e,0,$e.window[$e.strstart]),$e.lookahead--,$e.strstart++),Pt&&(at($e,!1),$e.strm.avail_out===0))return Re}return $e.insert=0,lt===_e?(at($e,!0),$e.strm.avail_out===0?Et:bt):$e.last_lit&&(at($e,!1),$e.strm.avail_out===0)?Re:Ht}(ae,Fe):Le[ae.level].func(ae,Fe);if(vt!==Et&&vt!==bt||(ae.status=666),vt===Re||vt===Et)return Se.avail_out===0&&(ae.last_flush=-1),Ne;if(vt===Ht&&(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))),Ue(Se),Se.avail_out===0))return ae.last_flush=-1,Ne}return Fe!==_e?Ne:ae.wrap<=0?1:(ae.wrap===2?(Xt(ae,255&Se.adler),Xt(ae,Se.adler>>8&255),Xt(ae,Se.adler>>16&255),Xt(ae,Se.adler>>24&255),Xt(ae,255&Se.total_in),Xt(ae,Se.total_in>>8&255),Xt(ae,Se.total_in>>16&255),Xt(ae,Se.total_in>>24&255)):(Vt(ae,Se.adler>>>16),Vt(ae,65535&Se.adler)),Ue(Se),0<ae.wrap&&(ae.wrap=-ae.wrap),ae.pending!==0?Ne:1)},Oe.deflateEnd=function(Se){var Fe;return Se&&Se.state?(Fe=Se.state.status)!==Xe&&Fe!==69&&Fe!==73&&Fe!==91&&Fe!==103&&Fe!==Lt&&Fe!==666?Tt(Se,Qe):(Se.state=null,Fe===Lt?Tt(Se,-3):Ne):Qe},Oe.deflateSetDictionary=function(Se,Fe){var ie,ae,se,oe,Je,vt,$e,lt,Pt=Fe.length;if(!Se||!Se.state||(oe=(ie=Se.state).wrap)===2||oe===1&&ie.status!==Xe||ie.lookahead)return Qe;for(oe===1&&(Se.adler=xe(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),Je=Se.avail_in,vt=Se.next_in,$e=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=$e,Se.avail_in=Je,ie.wrap=oe,Ne},Oe.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(He,ft,Oe){"use strict";ft.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(He,ft,Oe){"use strict";ft.exports=function(Le,ve){var Ae,xe,fe,Ke,Be,_e,Ne,Qe,ke,Pe,Te,Ye,ze,qe,We,Ze,et,rt,ht,dt,Ct,Xe,Lt,Re,Ht;Ae=Le.state,xe=Le.next_in,Re=Le.input,fe=xe+(Le.avail_in-5),Ke=Le.next_out,Ht=Le.output,Be=Ke-(ve-Le.avail_out),_e=Ke+(Le.avail_out-257),Ne=Ae.dmax,Qe=Ae.wsize,ke=Ae.whave,Pe=Ae.wnext,Te=Ae.window,Ye=Ae.hold,ze=Ae.bits,qe=Ae.lencode,We=Ae.distcode,Ze=(1<<Ae.lenbits)-1,et=(1<<Ae.distbits)-1;e:do{ze<15&&(Ye+=Re[xe++]<<ze,ze+=8,Ye+=Re[xe++]<<ze,ze+=8),rt=qe[Ye&Ze];t:for(;;){if(Ye>>>=ht=rt>>>24,ze-=ht,(ht=rt>>>16&255)===0)Ht[Ke++]=65535&rt;else{if(!(16&ht)){if(!(64&ht)){rt=qe[(65535&rt)+(Ye&(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)&&(ze<ht&&(Ye+=Re[xe++]<<ze,ze+=8),dt+=Ye&(1<<ht)-1,Ye>>>=ht,ze-=ht),ze<15&&(Ye+=Re[xe++]<<ze,ze+=8,Ye+=Re[xe++]<<ze,ze+=8),rt=We[Ye&et];n:for(;;){if(Ye>>>=ht=rt>>>24,ze-=ht,!(16&(ht=rt>>>16&255))){if(!(64&ht)){rt=We[(65535&rt)+(Ye&(1<<ht)-1)];continue n}Le.msg="invalid distance code",Ae.mode=30;break e}if(Ct=65535&rt,ze<(ht&=15)&&(Ye+=Re[xe++]<<ze,(ze+=8)<ht&&(Ye+=Re[xe++]<<ze,ze+=8)),Ne<(Ct+=Ye&(1<<ht)-1)){Le.msg="invalid distance too far back",Ae.mode=30;break e}if(Ye>>>=ht,ze-=ht,(ht=Ke-Be)<Ct){if(ke<(ht=Ct-ht)&&Ae.sane){Le.msg="invalid distance too far back",Ae.mode=30;break e}if(Lt=Te,(Xe=0)===Pe){if(Xe+=Qe-ht,ht<dt){for(dt-=ht;Ht[Ke++]=Te[Xe++],--ht;);Xe=Ke-Ct,Lt=Ht}}else if(Pe<ht){if(Xe+=Qe+Pe-ht,(ht-=Pe)<dt){for(dt-=ht;Ht[Ke++]=Te[Xe++],--ht;);if(Xe=0,Pe<dt){for(dt-=ht=Pe;Ht[Ke++]=Te[Xe++],--ht;);Xe=Ke-Ct,Lt=Ht}}}else if(Xe+=Pe-ht,ht<dt){for(dt-=ht;Ht[Ke++]=Te[Xe++],--ht;);Xe=Ke-Ct,Lt=Ht}for(;2<dt;)Ht[Ke++]=Lt[Xe++],Ht[Ke++]=Lt[Xe++],Ht[Ke++]=Lt[Xe++],dt-=3;dt&&(Ht[Ke++]=Lt[Xe++],1<dt&&(Ht[Ke++]=Lt[Xe++]))}else{for(Xe=Ke-Ct;Ht[Ke++]=Ht[Xe++],Ht[Ke++]=Ht[Xe++],Ht[Ke++]=Ht[Xe++],2<(dt-=3););dt&&(Ht[Ke++]=Ht[Xe++],1<dt&&(Ht[Ke++]=Ht[Xe++]))}break}}break}}while(xe<fe&&Ke<_e);xe-=dt=ze>>3,Ye&=(1<<(ze-=dt<<3))-1,Le.next_in=xe,Le.next_out=Ke,Le.avail_in=xe<fe?fe-xe+5:5-(xe-fe),Le.avail_out=Ke<_e?_e-Ke+257:257-(Ke-_e),Ae.hold=Ye,Ae.bits=ze}},{}],49:[function(He,ft,Oe){"use strict";var Le=He("../utils/common"),ve=He("./adler32"),Ae=He("./crc32"),xe=He("./inffast"),fe=He("./inftrees"),Ke=1,Be=2,_e=0,Ne=-2,Qe=1,ke=852,Pe=592;function Te(Xe){return(Xe>>>24&255)+(Xe>>>8&65280)+((65280&Xe)<<8)+((255&Xe)<<24)}function Ye(){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 ze(Xe){var Lt;return Xe&&Xe.state?(Lt=Xe.state,Xe.total_in=Xe.total_out=Lt.total=0,Xe.msg="",Lt.wrap&&(Xe.adler=1&Lt.wrap),Lt.mode=Qe,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(Pe),Lt.sane=1,Lt.back=-1,_e):Ne}function qe(Xe){var Lt;return Xe&&Xe.state?((Lt=Xe.state).wsize=0,Lt.whave=0,Lt.wnext=0,ze(Xe)):Ne}function We(Xe,Lt){var Re,Ht;return Xe&&Xe.state?(Ht=Xe.state,Lt<0?(Re=0,Lt=-Lt):(Re=1+(Lt>>4),Lt<48&&(Lt&=15)),Lt&&(Lt<8||15<Lt)?Ne:(Ht.window!==null&&Ht.wbits!==Lt&&(Ht.window=null),Ht.wrap=Re,Ht.wbits=Lt,qe(Xe))):Ne}function Ze(Xe,Lt){var Re,Ht;return Xe?(Ht=new Ye,(Xe.state=Ht).window=null,(Re=We(Xe,Lt))!==_e&&(Xe.state=null),Re):Ne}var et,rt,ht=!0;function dt(Xe){if(ht){var Lt;for(et=new Le.Buf32(512),rt=new Le.Buf32(32),Lt=0;Lt<144;)Xe.lens[Lt++]=8;for(;Lt<256;)Xe.lens[Lt++]=9;for(;Lt<280;)Xe.lens[Lt++]=7;for(;Lt<288;)Xe.lens[Lt++]=8;for(fe(Ke,Xe.lens,0,288,et,0,Xe.work,{bits:9}),Lt=0;Lt<32;)Xe.lens[Lt++]=5;fe(Be,Xe.lens,0,32,rt,0,Xe.work,{bits:5}),ht=!1}Xe.lencode=et,Xe.lenbits=9,Xe.distcode=rt,Xe.distbits=5}function Ct(Xe,Lt,Re,Ht){var Et,bt=Xe.state;return bt.window===null&&(bt.wsize=1<<bt.wbits,bt.wnext=0,bt.whave=0,bt.window=new Le.Buf8(bt.wsize)),Ht>=bt.wsize?(Le.arraySet(bt.window,Lt,Re-bt.wsize,bt.wsize,0),bt.wnext=0,bt.whave=bt.wsize):(Ht<(Et=bt.wsize-bt.wnext)&&(Et=Ht),Le.arraySet(bt.window,Lt,Re-Ht,Et,bt.wnext),(Ht-=Et)?(Le.arraySet(bt.window,Lt,Re-Ht,Ht,0),bt.wnext=Ht,bt.whave=bt.wsize):(bt.wnext+=Et,bt.wnext===bt.wsize&&(bt.wnext=0),bt.whave<bt.wsize&&(bt.whave+=Et))),0}Oe.inflateReset=qe,Oe.inflateReset2=We,Oe.inflateResetKeep=ze,Oe.inflateInit=function(Xe){return Ze(Xe,15)},Oe.inflateInit2=Ze,Oe.inflate=function(Xe,Lt){var Re,Ht,Et,bt,Tt,wt,it,Ue,at,Xt,Vt,xt,Qt,An,Tn,dn,Gn,Cn,mn,Bn,Se,Fe,ie,ae,se=0,oe=new Le.Buf8(4),Je=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Xe||!Xe.state||!Xe.output||!Xe.input&&Xe.avail_in!==0)return Ne;(Re=Xe.state).mode===12&&(Re.mode=13),Tt=Xe.next_out,Et=Xe.output,it=Xe.avail_out,bt=Xe.next_in,Ht=Xe.input,wt=Xe.avail_in,Ue=Re.hold,at=Re.bits,Xt=wt,Vt=it,Fe=_e;e:for(;;)switch(Re.mode){case Qe:if(Re.wrap===0){Re.mode=13;break}for(;at<16;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(2&Re.wrap&&Ue===35615){oe[Re.check=0]=255&Ue,oe[1]=Ue>>>8&255,Re.check=Ae(Re.check,oe,2,0),at=Ue=0,Re.mode=2;break}if(Re.flags=0,Re.head&&(Re.head.done=!1),!(1&Re.wrap)||(((255&Ue)<<8)+(Ue>>8))%31){Xe.msg="incorrect header check",Re.mode=30;break}if((15&Ue)!=8){Xe.msg="unknown compression method",Re.mode=30;break}if(at-=4,Se=8+(15&(Ue>>>=4)),Re.wbits===0)Re.wbits=Se;else if(Se>Re.wbits){Xe.msg="invalid window size",Re.mode=30;break}Re.dmax=1<<Se,Xe.adler=Re.check=1,Re.mode=512&Ue?10:12,at=Ue=0;break;case 2:for(;at<16;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(Re.flags=Ue,(255&Re.flags)!=8){Xe.msg="unknown compression method",Re.mode=30;break}if(57344&Re.flags){Xe.msg="unknown header flags set",Re.mode=30;break}Re.head&&(Re.head.text=Ue>>8&1),512&Re.flags&&(oe[0]=255&Ue,oe[1]=Ue>>>8&255,Re.check=Ae(Re.check,oe,2,0)),at=Ue=0,Re.mode=3;case 3:for(;at<32;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Re.head&&(Re.head.time=Ue),512&Re.flags&&(oe[0]=255&Ue,oe[1]=Ue>>>8&255,oe[2]=Ue>>>16&255,oe[3]=Ue>>>24&255,Re.check=Ae(Re.check,oe,4,0)),at=Ue=0,Re.mode=4;case 4:for(;at<16;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Re.head&&(Re.head.xflags=255&Ue,Re.head.os=Ue>>8),512&Re.flags&&(oe[0]=255&Ue,oe[1]=Ue>>>8&255,Re.check=Ae(Re.check,oe,2,0)),at=Ue=0,Re.mode=5;case 5:if(1024&Re.flags){for(;at<16;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Re.length=Ue,Re.head&&(Re.head.extra_len=Ue),512&Re.flags&&(oe[0]=255&Ue,oe[1]=Ue>>>8&255,Re.check=Ae(Re.check,oe,2,0)),at=Ue=0}else Re.head&&(Re.head.extra=null);Re.mode=6;case 6:if(1024&Re.flags&&(wt<(xt=Re.length)&&(xt=wt),xt&&(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,Ht,bt,xt,Se)),512&Re.flags&&(Re.check=Ae(Re.check,Ht,xt,bt)),wt-=xt,bt+=xt,Re.length-=xt),Re.length))break e;Re.length=0,Re.mode=7;case 7:if(2048&Re.flags){if(wt===0)break e;for(xt=0;Se=Ht[bt+xt++],Re.head&&Se&&Re.length<65536&&(Re.head.name+=String.fromCharCode(Se)),Se&&xt<wt;);if(512&Re.flags&&(Re.check=Ae(Re.check,Ht,xt,bt)),wt-=xt,bt+=xt,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(xt=0;Se=Ht[bt+xt++],Re.head&&Se&&Re.length<65536&&(Re.head.comment+=String.fromCharCode(Se)),Se&&xt<wt;);if(512&Re.flags&&(Re.check=Ae(Re.check,Ht,xt,bt)),wt-=xt,bt+=xt,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--,Ue+=Ht[bt++]<<at,at+=8}if(Ue!==(65535&Re.check)){Xe.msg="header crc mismatch",Re.mode=30;break}at=Ue=0}Re.head&&(Re.head.hcrc=Re.flags>>9&1,Re.head.done=!0),Xe.adler=Re.check=0,Re.mode=12;break;case 10:for(;at<32;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Xe.adler=Re.check=Te(Ue),at=Ue=0,Re.mode=11;case 11:if(Re.havedict===0)return Xe.next_out=Tt,Xe.avail_out=it,Xe.next_in=bt,Xe.avail_in=wt,Re.hold=Ue,Re.bits=at,2;Xe.adler=Re.check=1,Re.mode=12;case 12:if(Lt===5||Lt===6)break e;case 13:if(Re.last){Ue>>>=7&at,at-=7&at,Re.mode=27;break}for(;at<3;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}switch(Re.last=1&Ue,at-=1,3&(Ue>>>=1)){case 0:Re.mode=14;break;case 1:if(dt(Re),Re.mode=20,Lt!==6)break;Ue>>>=2,at-=2;break e;case 2:Re.mode=17;break;case 3:Xe.msg="invalid block type",Re.mode=30}Ue>>>=2,at-=2;break;case 14:for(Ue>>>=7&at,at-=7&at;at<32;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if((65535&Ue)!=(Ue>>>16^65535)){Xe.msg="invalid stored block lengths",Re.mode=30;break}if(Re.length=65535&Ue,at=Ue=0,Re.mode=15,Lt===6)break e;case 15:Re.mode=16;case 16:if(xt=Re.length){if(wt<xt&&(xt=wt),it<xt&&(xt=it),xt===0)break e;Le.arraySet(Et,Ht,bt,xt,Tt),wt-=xt,bt+=xt,it-=xt,Tt+=xt,Re.length-=xt;break}Re.mode=12;break;case 17:for(;at<14;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(Re.nlen=257+(31&Ue),Ue>>>=5,at-=5,Re.ndist=1+(31&Ue),Ue>>>=5,at-=5,Re.ncode=4+(15&Ue),Ue>>>=4,at-=4,286<Re.nlen||30<Re.ndist){Xe.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--,Ue+=Ht[bt++]<<at,at+=8}Re.lens[Je[Re.have++]]=7&Ue,Ue>>>=3,at-=3}for(;Re.have<19;)Re.lens[Je[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){Xe.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(;dn=(se=Re.lencode[Ue&(1<<Re.lenbits)-1])>>>16&255,Gn=65535&se,!((Tn=se>>>24)<=at);){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(Gn<16)Ue>>>=Tn,at-=Tn,Re.lens[Re.have++]=Gn;else{if(Gn===16){for(ae=Tn+2;at<ae;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(Ue>>>=Tn,at-=Tn,Re.have===0){Xe.msg="invalid bit length repeat",Re.mode=30;break}Se=Re.lens[Re.have-1],xt=3+(3&Ue),Ue>>>=2,at-=2}else if(Gn===17){for(ae=Tn+3;at<ae;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}at-=Tn,Se=0,xt=3+(7&(Ue>>>=Tn)),Ue>>>=3,at-=3}else{for(ae=Tn+7;at<ae;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}at-=Tn,Se=0,xt=11+(127&(Ue>>>=Tn)),Ue>>>=7,at-=7}if(Re.have+xt>Re.nlen+Re.ndist){Xe.msg="invalid bit length repeat",Re.mode=30;break}for(;xt--;)Re.lens[Re.have++]=Se}}if(Re.mode===30)break;if(Re.lens[256]===0){Xe.msg="invalid code -- missing end-of-block",Re.mode=30;break}if(Re.lenbits=9,ie={bits:Re.lenbits},Fe=fe(Ke,Re.lens,0,Re.nlen,Re.lencode,0,Re.work,ie),Re.lenbits=ie.bits,Fe){Xe.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){Xe.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){Xe.next_out=Tt,Xe.avail_out=it,Xe.next_in=bt,Xe.avail_in=wt,Re.hold=Ue,Re.bits=at,xe(Xe,Vt),Tt=Xe.next_out,Et=Xe.output,it=Xe.avail_out,bt=Xe.next_in,Ht=Xe.input,wt=Xe.avail_in,Ue=Re.hold,at=Re.bits,Re.mode===12&&(Re.back=-1);break}for(Re.back=0;dn=(se=Re.lencode[Ue&(1<<Re.lenbits)-1])>>>16&255,Gn=65535&se,!((Tn=se>>>24)<=at);){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(dn&&!(240&dn)){for(Cn=Tn,mn=dn,Bn=Gn;dn=(se=Re.lencode[Bn+((Ue&(1<<Cn+mn)-1)>>Cn)])>>>16&255,Gn=65535&se,!(Cn+(Tn=se>>>24)<=at);){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Ue>>>=Cn,at-=Cn,Re.back+=Cn}if(Ue>>>=Tn,at-=Tn,Re.back+=Tn,Re.length=Gn,dn===0){Re.mode=26;break}if(32&dn){Re.back=-1,Re.mode=12;break}if(64&dn){Xe.msg="invalid literal/length code",Re.mode=30;break}Re.extra=15&dn,Re.mode=22;case 22:if(Re.extra){for(ae=Re.extra;at<ae;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Re.length+=Ue&(1<<Re.extra)-1,Ue>>>=Re.extra,at-=Re.extra,Re.back+=Re.extra}Re.was=Re.length,Re.mode=23;case 23:for(;dn=(se=Re.distcode[Ue&(1<<Re.distbits)-1])>>>16&255,Gn=65535&se,!((Tn=se>>>24)<=at);){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(!(240&dn)){for(Cn=Tn,mn=dn,Bn=Gn;dn=(se=Re.distcode[Bn+((Ue&(1<<Cn+mn)-1)>>Cn)])>>>16&255,Gn=65535&se,!(Cn+(Tn=se>>>24)<=at);){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Ue>>>=Cn,at-=Cn,Re.back+=Cn}if(Ue>>>=Tn,at-=Tn,Re.back+=Tn,64&dn){Xe.msg="invalid distance code",Re.mode=30;break}Re.offset=Gn,Re.extra=15&dn,Re.mode=24;case 24:if(Re.extra){for(ae=Re.extra;at<ae;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}Re.offset+=Ue&(1<<Re.extra)-1,Ue>>>=Re.extra,at-=Re.extra,Re.back+=Re.extra}if(Re.offset>Re.dmax){Xe.msg="invalid distance too far back",Re.mode=30;break}Re.mode=25;case 25:if(it===0)break e;if(xt=Vt-it,Re.offset>xt){if((xt=Re.offset-xt)>Re.whave&&Re.sane){Xe.msg="invalid distance too far back",Re.mode=30;break}Qt=xt>Re.wnext?(xt-=Re.wnext,Re.wsize-xt):Re.wnext-xt,xt>Re.length&&(xt=Re.length),An=Re.window}else An=Et,Qt=Tt-Re.offset,xt=Re.length;for(it<xt&&(xt=it),it-=xt,Re.length-=xt;Et[Tt++]=An[Qt++],--xt;);Re.length===0&&(Re.mode=21);break;case 26:if(it===0)break e;Et[Tt++]=Re.length,it--,Re.mode=21;break;case 27:if(Re.wrap){for(;at<32;){if(wt===0)break e;wt--,Ue|=Ht[bt++]<<at,at+=8}if(Vt-=it,Xe.total_out+=Vt,Re.total+=Vt,Vt&&(Xe.adler=Re.check=Re.flags?Ae(Re.check,Et,Vt,Tt-Vt):ve(Re.check,Et,Vt,Tt-Vt)),Vt=it,(Re.flags?Ue:Te(Ue))!==Re.check){Xe.msg="incorrect data check",Re.mode=30;break}at=Ue=0}Re.mode=28;case 28:if(Re.wrap&&Re.flags){for(;at<32;){if(wt===0)break e;wt--,Ue+=Ht[bt++]<<at,at+=8}if(Ue!==(4294967295&Re.total)){Xe.msg="incorrect length check",Re.mode=30;break}at=Ue=0}Re.mode=29;case 29:Fe=1;break e;case 30:Fe=-3;break e;case 31:return-4;case 32:default:return Ne}return Xe.next_out=Tt,Xe.avail_out=it,Xe.next_in=bt,Xe.avail_in=wt,Re.hold=Ue,Re.bits=at,(Re.wsize||Vt!==Xe.avail_out&&Re.mode<30&&(Re.mode<27||Lt!==4))&&Ct(Xe,Xe.output,Xe.next_out,Vt-Xe.avail_out)?(Re.mode=31,-4):(Xt-=Xe.avail_in,Vt-=Xe.avail_out,Xe.total_in+=Xt,Xe.total_out+=Vt,Re.total+=Vt,Re.wrap&&Vt&&(Xe.adler=Re.check=Re.flags?Ae(Re.check,Et,Vt,Xe.next_out-Vt):ve(Re.check,Et,Vt,Xe.next_out-Vt)),Xe.data_type=Re.bits+(Re.last?64:0)+(Re.mode===12?128:0)+(Re.mode===20||Re.mode===15?256:0),(Xt==0&&Vt===0||Lt===4)&&Fe===_e&&(Fe=-5),Fe)},Oe.inflateEnd=function(Xe){if(!Xe||!Xe.state)return Ne;var Lt=Xe.state;return Lt.window&&(Lt.window=null),Xe.state=null,_e},Oe.inflateGetHeader=function(Xe,Lt){var Re;return Xe&&Xe.state&&2&(Re=Xe.state).wrap?((Re.head=Lt).done=!1,_e):Ne},Oe.inflateSetDictionary=function(Xe,Lt){var Re,Ht=Lt.length;return Xe&&Xe.state?(Re=Xe.state).wrap!==0&&Re.mode!==11?Ne:Re.mode===11&&ve(1,Lt,Ht,0)!==Re.check?-3:Ct(Xe,Lt,Ht,Ht)?(Re.mode=31,-4):(Re.havedict=1,_e):Ne},Oe.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(He,ft,Oe){"use strict";var Le=He("../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],xe=[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];ft.exports=function(Ke,Be,_e,Ne,Qe,ke,Pe,Te){var Ye,ze,qe,We,Ze,et,rt,ht,dt,Ct=Te.bits,Xe=0,Lt=0,Re=0,Ht=0,Et=0,bt=0,Tt=0,wt=0,it=0,Ue=0,at=null,Xt=0,Vt=new Le.Buf16(16),xt=new Le.Buf16(16),Qt=null,An=0;for(Xe=0;Xe<=15;Xe++)Vt[Xe]=0;for(Lt=0;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e-Tt<<24|64<<16|0),Te.bits=Et,0}},{"../utils/common":41}],51:[function(He,ft,Oe){"use strict";ft.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(He,ft,Oe){"use strict";var Le=He("../utils/common"),ve=0,Ae=1;function xe(se){for(var oe=se.length;0<=--oe;)se[oe]=0}var fe=0,Ke=29,Be=256,_e=Be+1+Ke,Ne=30,Qe=19,ke=2*_e+1,Pe=15,Te=16,Ye=7,ze=256,qe=16,We=17,Ze=18,et=[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],Ct=new Array(2*(_e+2));xe(Ct);var Xe=new Array(2*Ne);xe(Xe);var Lt=new Array(512);xe(Lt);var Re=new Array(256);xe(Re);var Ht=new Array(Ke);xe(Ht);var Et,bt,Tt,wt=new Array(Ne);function it(se,oe,Je,vt,$e){this.static_tree=se,this.extra_bits=oe,this.extra_base=Je,this.elems=vt,this.max_length=$e,this.has_stree=se&&se.length}function Ue(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 Xt(se,oe){se.pending_buf[se.pending++]=255&oe,se.pending_buf[se.pending++]=oe>>>8&255}function Vt(se,oe,Je){se.bi_valid>Te-Je?(se.bi_buf|=oe<<se.bi_valid&65535,Xt(se,se.bi_buf),se.bi_buf=oe>>Te-se.bi_valid,se.bi_valid+=Je-Te):(se.bi_buf|=oe<<se.bi_valid&65535,se.bi_valid+=Je)}function xt(se,oe,Je){Vt(se,Je[2*oe],Je[2*oe+1])}function Qt(se,oe){for(var Je=0;Je|=1&se,se>>>=1,Je<<=1,0<--oe;);return Je>>>1}function An(se,oe,Je){var vt,$e,lt=new Array(Pe+1),Pt=0;for(vt=1;vt<=Pe;vt++)lt[vt]=Pt=Pt+Je[vt-1]<<1;for($e=0;$e<=oe;$e++){var _t=se[2*$e+1];_t!==0&&(se[2*$e]=Qt(lt[_t]++,_t))}}function Tn(se){var oe;for(oe=0;oe<_e;oe++)se.dyn_ltree[2*oe]=0;for(oe=0;oe<Ne;oe++)se.dyn_dtree[2*oe]=0;for(oe=0;oe<Qe;oe++)se.bl_tree[2*oe]=0;se.dyn_ltree[2*ze]=1,se.opt_len=se.static_len=0,se.last_lit=se.matches=0}function dn(se){8<se.bi_valid?Xt(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 Gn(se,oe,Je,vt){var $e=2*oe,lt=2*Je;return se[$e]<se[lt]||se[$e]===se[lt]&&vt[oe]<=vt[Je]}function Cn(se,oe,Je){for(var vt=se.heap[Je],$e=Je<<1;$e<=se.heap_len&&($e<se.heap_len&&Gn(oe,se.heap[$e+1],se.heap[$e],se.depth)&&$e++,!Gn(oe,vt,se.heap[$e],se.depth));)se.heap[Je]=se.heap[$e],Je=$e,$e<<=1;se.heap[Je]=vt}function mn(se,oe,Je){var vt,$e,lt,Pt,_t=0;if(se.last_lit!==0)for(;vt=se.pending_buf[se.d_buf+2*_t]<<8|se.pending_buf[se.d_buf+2*_t+1],$e=se.pending_buf[se.l_buf+_t],_t++,vt===0?xt(se,$e,oe):(xt(se,(lt=Re[$e])+Be+1,oe),(Pt=et[lt])!==0&&Vt(se,$e-=Ht[lt],Pt),xt(se,lt=at(--vt),Je),(Pt=rt[lt])!==0&&Vt(se,vt-=wt[lt],Pt)),_t<se.last_lit;);xt(se,ze,oe)}function Bn(se,oe){var Je,vt,$e,lt=oe.dyn_tree,Pt=oe.stat_desc.static_tree,_t=oe.stat_desc.has_stree,kt=oe.stat_desc.elems,$t=-1;for(se.heap_len=0,se.heap_max=ke,Je=0;Je<kt;Je++)lt[2*Je]!==0?(se.heap[++se.heap_len]=$t=Je,se.depth[Je]=0):lt[2*Je+1]=0;for(;se.heap_len<2;)lt[2*($e=se.heap[++se.heap_len]=$t<2?++$t:0)]=1,se.depth[$e]=0,se.opt_len--,_t&&(se.static_len-=Pt[2*$e+1]);for(oe.max_code=$t,Je=se.heap_len>>1;1<=Je;Je--)Cn(se,lt,Je);for($e=kt;Je=se.heap[1],se.heap[1]=se.heap[se.heap_len--],Cn(se,lt,1),vt=se.heap[1],se.heap[--se.heap_max]=Je,se.heap[--se.heap_max]=vt,lt[2*$e]=lt[2*Je]+lt[2*vt],se.depth[$e]=(se.depth[Je]>=se.depth[vt]?se.depth[Je]:se.depth[vt])+1,lt[2*Je+1]=lt[2*vt+1]=$e,se.heap[1]=$e++,Cn(se,lt,1),2<=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],function(Sn,St){var nn,tn,jt,pt,Zt,gn,wn=St.dyn_tree,Xn=St.max_code,yr=St.stat_desc.static_tree,Dr=St.stat_desc.has_stree,Tr=St.stat_desc.extra_bits,Rr=St.stat_desc.extra_base,Sr=St.stat_desc.max_length,fr=0;for(pt=0;pt<=Pe;pt++)Sn.bl_count[pt]=0;for(wn[2*Sn.heap[Sn.heap_max]+1]=0,nn=Sn.heap_max+1;nn<ke;nn++)Sr<(pt=wn[2*wn[2*(tn=Sn.heap[nn])+1]+1]+1)&&(pt=Sr,fr++),wn[2*tn+1]=pt,Xn<tn||(Sn.bl_count[pt]++,Zt=0,Rr<=tn&&(Zt=Tr[tn-Rr]),gn=wn[2*tn],Sn.opt_len+=gn*(pt+Zt),Dr&&(Sn.static_len+=gn*(yr[2*tn+1]+Zt)));if(fr!==0){do{for(pt=Sr-1;Sn.bl_count[pt]===0;)pt--;Sn.bl_count[pt]--,Sn.bl_count[pt+1]+=2,Sn.bl_count[Sr]--,fr-=2}while(0<fr);for(pt=Sr;pt!==0;pt--)for(tn=Sn.bl_count[pt];tn!==0;)Xn<(jt=Sn.heap[--nn])||(wn[2*jt+1]!==pt&&(Sn.opt_len+=(pt-wn[2*jt+1])*wn[2*jt],wn[2*jt+1]=pt),tn--)}}(se,oe),An(lt,$t,se.bl_count)}function Se(se,oe,Je){var vt,$e,lt=-1,Pt=oe[1],_t=0,kt=7,$t=4;for(Pt===0&&(kt=138,$t=3),oe[2*(Je+1)+1]=65535,vt=0;vt<=Je;vt++)$e=Pt,Pt=oe[2*(vt+1)+1],++_t<kt&&$e===Pt||(_t<$t?se.bl_tree[2*$e]+=_t:$e!==0?($e!==lt&&se.bl_tree[2*$e]++,se.bl_tree[2*qe]++):_t<=10?se.bl_tree[2*We]++:se.bl_tree[2*Ze]++,lt=$e,$t=(_t=0)===Pt?(kt=138,3):$e===Pt?(kt=6,3):(kt=7,4))}function Fe(se,oe,Je){var vt,$e,lt=-1,Pt=oe[1],_t=0,kt=7,$t=4;for(Pt===0&&(kt=138,$t=3),vt=0;vt<=Je;vt++)if($e=Pt,Pt=oe[2*(vt+1)+1],!(++_t<kt&&$e===Pt)){if(_t<$t)for(;xt(se,$e,se.bl_tree),--_t!=0;);else $e!==0?($e!==lt&&(xt(se,$e,se.bl_tree),_t--),xt(se,qe,se.bl_tree),Vt(se,_t-3,2)):_t<=10?(xt(se,We,se.bl_tree),Vt(se,_t-3,3)):(xt(se,Ze,se.bl_tree),Vt(se,_t-11,7));lt=$e,$t=(_t=0)===Pt?(kt=138,3):$e===Pt?(kt=6,3):(kt=7,4)}}xe(wt);var ie=!1;function ae(se,oe,Je,vt){Vt(se,(fe<<1)+(vt?1:0),3),function($e,lt,Pt,_t){dn($e),_t&&(Xt($e,Pt),Xt($e,~Pt)),Le.arraySet($e.pending_buf,$e.window,lt,Pt,$e.pending),$e.pending+=Pt}(se,oe,Je,!0)}Oe._tr_init=function(se){ie||(function(){var oe,Je,vt,$e,lt,Pt=new Array(Pe+1);for($e=vt=0;$e<Ke-1;$e++)for(Ht[$e]=vt,oe=0;oe<1<<et[$e];oe++)Re[vt++]=$e;for(Re[vt-1]=$e,$e=lt=0;$e<16;$e++)for(wt[$e]=lt,oe=0;oe<1<<rt[$e];oe++)Lt[lt++]=$e;for(lt>>=7;$e<Ne;$e++)for(wt[$e]=lt<<7,oe=0;oe<1<<rt[$e]-7;oe++)Lt[256+lt++]=$e;for(Je=0;Je<=Pe;Je++)Pt[Je]=0;for(oe=0;oe<=143;)Ct[2*oe+1]=8,oe++,Pt[8]++;for(;oe<=255;)Ct[2*oe+1]=9,oe++,Pt[9]++;for(;oe<=279;)Ct[2*oe+1]=7,oe++,Pt[7]++;for(;oe<=287;)Ct[2*oe+1]=8,oe++,Pt[8]++;for(An(Ct,_e+1,Pt),oe=0;oe<Ne;oe++)Xe[2*oe+1]=5,Xe[2*oe]=Qt(oe,5);Et=new it(Ct,et,Be+1,_e,Pe),bt=new it(Xe,rt,0,Ne,Pe),Tt=new it(new Array(0),ht,0,Qe,Ye)}(),ie=!0),se.l_desc=new Ue(se.dyn_ltree,Et),se.d_desc=new Ue(se.dyn_dtree,bt),se.bl_desc=new Ue(se.bl_tree,Tt),se.bi_buf=0,se.bi_valid=0,Tn(se)},Oe._tr_stored_block=ae,Oe._tr_flush_block=function(se,oe,Je,vt){var $e,lt,Pt=0;0<se.level?(se.strm.data_type===2&&(se.strm.data_type=function(_t){var kt,$t=4093624447;for(kt=0;kt<=31;kt++,$t>>>=1)if(1&$t&&_t.dyn_ltree[2*kt]!==0)return ve;if(_t.dyn_ltree[18]!==0||_t.dyn_ltree[20]!==0||_t.dyn_ltree[26]!==0)return Ae;for(kt=32;kt<Be;kt++)if(_t.dyn_ltree[2*kt]!==0)return Ae;return ve}(se)),Bn(se,se.l_desc),Bn(se,se.d_desc),Pt=function(_t){var kt;for(Se(_t,_t.dyn_ltree,_t.l_desc.max_code),Se(_t,_t.dyn_dtree,_t.d_desc.max_code),Bn(_t,_t.bl_desc),kt=Qe-1;3<=kt&&_t.bl_tree[2*dt[kt]+1]===0;kt--);return _t.opt_len+=3*(kt+1)+5+5+4,kt}(se),$e=se.opt_len+3+7>>>3,(lt=se.static_len+3+7>>>3)<=$e&&($e=lt)):$e=lt=Je+5,Je+4<=$e&&oe!==-1?ae(se,oe,Je,vt):se.strategy===4||lt===$e?(Vt(se,2+(vt?1:0),3),mn(se,Ct,Xe)):(Vt(se,4+(vt?1:0),3),function(_t,kt,$t,Sn){var St;for(Vt(_t,kt-257,5),Vt(_t,$t-1,5),Vt(_t,Sn-4,4),St=0;St<Sn;St++)Vt(_t,_t.bl_tree[2*dt[St]+1],3);Fe(_t,_t.dyn_ltree,kt-1),Fe(_t,_t.dyn_dtree,$t-1)}(se,se.l_desc.max_code+1,se.d_desc.max_code+1,Pt+1),mn(se,se.dyn_ltree,se.dyn_dtree)),Tn(se),vt&&dn(se)},Oe._tr_tally=function(se,oe,Je){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&Je,se.last_lit++,oe===0?se.dyn_ltree[2*Je]++:(se.matches++,oe--,se.dyn_ltree[2*(Re[Je]+Be+1)]++,se.dyn_dtree[2*at(oe)]++),se.last_lit===se.lit_bufsize-1},Oe._tr_align=function(se){Vt(se,2,3),xt(se,ze,Ct),function(oe){oe.bi_valid===16?(Xt(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(He,ft,Oe){"use strict";ft.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(He,ft,Oe){(function(Le){(function(ve,Ae){"use strict";if(!ve.setImmediate){var xe,fe,Ke,Be,_e=1,Ne={},Qe=!1,ke=ve.document,Pe=Object.getPrototypeOf&&Object.getPrototypeOf(ve);Pe=Pe&&Pe.setTimeout?Pe:ve,xe={}.toString.call(ve.process)==="[object process]"?function(qe){Me.nextTick(function(){Ye(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",ze,!1):ve.attachEvent("onmessage",ze),function(qe){ve.postMessage(Be+qe,"*")}):ve.MessageChannel?((Ke=new MessageChannel).port1.onmessage=function(qe){Ye(qe.data)},function(qe){Ke.port2.postMessage(qe)}):ke&&"onreadystatechange"in ke.createElement("script")?(fe=ke.documentElement,function(qe){var We=ke.createElement("script");We.onreadystatechange=function(){Ye(qe),We.onreadystatechange=null,fe.removeChild(We),We=null},fe.appendChild(We)}):function(qe){setTimeout(Ye,0,qe)},Pe.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 et={callback:qe,args:We};return Ne[_e]=et,xe(_e),_e++},Pe.clearImmediate=Te}function Te(qe){delete Ne[qe]}function Ye(qe){if(Qe)setTimeout(Ye,0,qe);else{var We=Ne[qe];if(We){Qe=!0;try{(function(Ze){var et=Ze.callback,rt=Ze.args;switch(rt.length){case 0:et();break;case 1:et(rt[0]);break;case 2:et(rt[0],rt[1]);break;case 3:et(rt[0],rt[1],rt[2]);break;default:et.apply(Ae,rt)}})(We)}finally{Te(qe),Qe=!1}}}}function ze(qe){qe.source===ve&&typeof qe.data=="string"&&qe.data.indexOf(Be)===0&&Ye(+qe.data.slice(Be.length))}})(typeof self=="undefined"?Le===void 0?this:Le:self)}).call(this,typeof de.g!="undefined"?de.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},2859:function(Qn,Yt,de){"use strict";de.d(Yt,{hP:function(){return Bn}});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 He(Se,Fe,ie,ae){return new(ie||(ie=Promise))(function(se,oe){function Je(lt){try{$e(ae.next(lt))}catch(Pt){oe(Pt)}}function vt(lt){try{$e(ae.throw(lt))}catch(Pt){oe(Pt)}}function $e(lt){var Pt;lt.done?se(lt.value):(Pt=lt.value,Pt instanceof ie?Pt:new ie(function(_t){_t(Pt)})).then(Je,vt)}$e((ae=ae.apply(Se,Fe||[])).next())})}function ft(Se,Fe){var ie,ae,se,oe,Je={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($e){return function(lt){return function(Pt){if(ie)throw new TypeError("Generator is already executing.");for(;Je;)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 Je.label++,{value:Pt[1],done:!1};case 5:Je.label++,ae=Pt[1],Pt=[0];continue;case 7:Pt=Je.ops.pop(),Je.trys.pop();continue;default:if(se=Je.trys,!((se=se.length>0&&se[se.length-1])||Pt[0]!==6&&Pt[0]!==2)){Je=0;continue}if(Pt[0]===3&&(!se||Pt[1]>se[0]&&Pt[1]<se[3])){Je.label=Pt[1];break}if(Pt[0]===6&&Je.label<se[1]){Je.label=se[1],se=Pt;break}if(se&&Je.label<se[2]){Je.label=se[2],Je.ops.push(Pt);break}se[2]&&Je.ops.pop(),Je.trys.pop();continue}Pt=Fe.call(Se,Je)}catch(_t){Pt=[6,_t],ae=0}finally{ie=se=0}if(5&Pt[0])throw Pt[1];return{value:Pt[0]?Pt[1]:void 0,done:!0}}([$e,lt])}}}function Oe(){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],Je=0,vt=oe.length;Je<vt;Je++,se++)ae[se]=oe[Je];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],Je=oe[0],vt=oe[1];Fe.setAttribute(Je,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 Je=document.createElementNS("http://www.w3.org/2000/svg","line");return Je.setAttribute("x1",Fe.toString()),Je.setAttribute("y1",ie.toString()),Je.setAttribute("x2",ae.toString()),Je.setAttribute("y2",se.toString()),oe&&Se.setAttributes(Je,oe),Je},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,Je,vt){var $e=document.createElementNS("http://www.w3.org/2000/svg","marker");return Se.setAttributes($e,[["id",Fe],["orient",ie],["markerWidth",ae.toString()],["markerHeight",se.toString()],["refX",oe.toString()],["refY",Je.toString()]]),$e.appendChild(vt),$e},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 Je=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),Je.width=vt.width.baseVal.value,Je.height=vt.height.baseVal.value;var $e=vt.outerHTML,lt=Je.getContext("2d");se.markersOnly!==!0&&lt.drawImage(Fe,0,0,Je.width,Je.height);var Pt=window.URL,_t=new Image(Je.width,Je.height);_t.setAttribute("crossOrigin","anonymous");var kt=new Blob([$e],{type:"image/svg+xml"}),$t=Pt.createObjectURL(kt);_t.onload=function(){lt.drawImage(_t,0,0),Pt.revokeObjectURL($t);var Sn=Je.toDataURL(se.imageType,se.imageQuality);oe(Sn)},_t.src=$t})},Se}(),xe=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 Ke("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ke("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Ke("@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}(),Ke=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 Je=document.createElement("div");Je.className=""+ie.toolbarButtonStyleClass.name,Je.setAttribute("data-type-name",oe.typeName),Je.innerHTML=oe.icon,Je.addEventListener("click",function(){ie.markerToolbarButtonClicked(Je,oe)}),ie.buttons.push(Je),ie.markerButtons.push(Je)}),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 Ke("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Ke("."+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}(),Ne=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 Ke("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ke("."+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 Je;oe.uiStyleSettings=se.uiStyleSettings;var vt=document.createElement("div");vt.className=se.toolboxButtonStyleClass.name+" "+((Je=se.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Je!==void 0?Je: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,Je){var vt,$e;oe.className=ie.toolboxButtonStyleClass.name+" "+(Je===ae?""+((vt=ie.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&vt!==void 0?vt:ie.toolboxActiveButtonStyleColorsClass.name):""+(($e=ie.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&$e!==void 0?$e:ie.toolboxButtonStyleColorsClass.name))})},Se}(),Qe=function(Se,Fe){this.title=Se,this.icon=Fe},ke=function(Se){function Fe(ie,ae,se,oe){var Je=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 Je.colors=[],Je.addTransparent=!1,Je.colorBoxes=[],Je.colors=ae,Je.currentColor=se,Je.setCurrentColor=Je.setCurrentColor.bind(Je),Je.getColorBox=Je.getColorBox.bind(Je),Je}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,Je=document.createElement("div");Je.style.display="inline-block",Je.style.boxSizing="content-box",Je.style.width=oe-2+"px",Je.style.height=oe-2+"px",Je.style.padding="1px",Je.style.marginRight="2px",Je.style.marginBottom="2px",Je.style.borderWidth="2px",Je.style.borderStyle="solid",Je.style.borderRadius=(oe+2)/2+"px",Je.style.borderColor=ie===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Je.addEventListener("click",function(){ae.setCurrentColor(ie,Je)});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>`),Je.appendChild(vt),Je},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}(Qe),Pe=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}(),Te=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}(),Ye=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}(),ze=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 Je=this.container.transform.baseVal.getItem(0);Je.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Je,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,Je=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,Je=this.manipulationStartHeight+this.manipulationStartTop-oe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Je=this.manipulationStartHeight+ie.y-this.manipulationStartY}se>=0?(this.left=ae,this.width=se):(this.left=ae+se,this.width=-se),Je>=0?(this.top=oe,this.height=Je):(this.top=oe+Je,this.height=-Je),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 Te,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 Ye;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,Je=(this.height+this.CB_DISTANCE)/2-ie/2,vt=this.height+this.CB_DISTANCE-ie/2,$e=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,$e,se),this.positionGrip(this.controlGrips.centerLeft.visual,ae,Je),this.positionGrip(this.controlGrips.centerRight.visual,$e,Je),this.positionGrip(this.controlGrips.bottomLeft.visual,ae,vt),this.positionGrip(this.controlGrips.bottomCenter.visual,oe,vt),this.positionGrip(this.controlGrips.bottomRight.visual,$e,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:ze.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ze.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(ze.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ae.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ze.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}(Pe),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 Je=Se.call(this,ie,oe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Je.widths=[],Je.widthBoxes=[],Je.widths=ae,Je.currentWidth=se,Je.setCurrentWidth=Je.setCurrentWidth.bind(Je),Je}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 Je=document.createElement("div");Je.innerText=se.toString(),Je.style.marginRight="5px",oe.appendChild(Je);var vt=document.createElement("div");vt.style.minHeight="20px",vt.style.flexGrow="2",vt.style.display="flex",vt.style.alignItems="center";var $e=document.createElement("hr");$e.style.minWidth="20px",$e.style.border="0px",$e.style.borderTop=se+"px solid "+ie.uiStyleSettings.toolboxColor,$e.style.flexGrow="2",vt.appendChild($e),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}(Qe),et=function(Se){function Fe(ie,ae,se,oe){var Je=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 Je.styles=[],Je.styleBoxes=[],Je.styles=ae,Je.currentStyle=se,Je.setCurrentStyle=Je.setCurrentStyle.bind(Je),Je}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 Je=document.createElement("div");Je.style.minHeight="20px",Je.style.flexGrow="2",Je.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>`;Je.innerHTML=vt,oe.appendChild(Je),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}(Qe),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 et("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 Ye;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}(Pe),Ct=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 et("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),Xe=function(Se){function Fe(ie,ae,se,oe){var Je=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 Je.fonts=[],Je.fontBoxes=[],Je.fonts=ae,Je.currentFont=se,Je.setCurrentFont=Je.setCurrentFont.bind(Je),Je}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 Je=document.createElement("div");Je.style.display="flex",Je.style.minHeight="20px",Je.style.flexGrow="2",Je.style.fontFamily=se,Je.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",Je.appendChild(vt),oe.appendChild(Je),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}(Qe),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 Xe("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],Je=ae[2],vt=ae[3],$e=!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&&($e=!0,lt<oe&&(oe=lt),Pt<se&&(se=Pt),lt>vt&&(vt=lt),Pt>Je&&(Je=Pt));if($e){this.left=se/this.pixelRatio,this.top=oe/this.pixelRatio,this.width=(Je-se)/this.pixelRatio,this.height=(vt-oe)/this.pixelRatio;var _t=document.createElement("canvas");_t.width=Je-se,_t.height=vt-oe,_t.getContext("2d").putImageData(this.canvasContext.getImageData(se,oe,Je-se,vt-oe),0,0),this.drawingImgUrl=_t.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),Ht=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 $e="both";switch(vt){case 0:$e="both";break;case 1:$e="start";break;case 2:$e="end";break;case 3:$e="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=$e===oe.currentType?oe.uiStyleSettings.toolboxAccentColor:"transparent",lt.addEventListener("click",function(){ie.setCurrentType($e,lt)}),ae.appendChild(lt),$e==="both"||$e==="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 _t=document.createElement("div");_t.style.display="flex",_t.style.alignItems="center",_t.style.minHeight="20px",_t.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",_t.appendChild(kt),lt.appendChild(_t),$e==="both"||$e==="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,Je=0;Je<4;Je++)se(Je);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}(Qe),Et=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 Ht("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}(Ct),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 Je=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 Je.opacities=[],Je.opacityBoxes=[],Je.opacities=ae,Je.currentOpacity=se,Je.setCurrentOpacity=Je.setCurrentOpacity.bind(Je),Je}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 Je=document.createElement("div");Je.innerText=100*se+"%",oe.appendChild(Je),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}(Qe),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>',Ue='<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,Ue),oe.bgColorPanel.onColorChanged=oe.setBgColor,oe.fontFamilyPanel=new Xe("Font",se.defaultFontFamilies,se.defaultFontFamily),oe.fontFamilyPanel.onFontChanged=oe.setFont,oe.tipGrip=new Ye,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),Xt=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",Oe(se.defaultColorSet,["transparent"]),se.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.fillPanel=new ke("Fill color",Oe(se.defaultColorSet,["transparent"]),oe.fillColor,Ue),oe.fillPanel.onColorChanged=oe.setFillColor,oe.strokeWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new et("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}(Ct),xt=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}(Xt),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}(),An=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 et("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),Tn=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",Oe(se.defaultColorSet,["transparent"]),oe.strokeColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.fillPanel=new ke("Fill color",Oe(se.defaultColorSet,["transparent"]),oe.fillColor,Ue),oe.fillPanel.onColorChanged=oe.setFillColor,oe.strokeWidthPanel=new Ze("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new et("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe.fontFamilyPanel=new Xe("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),dn=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}(),Gn=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}(dn),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}(dn),mn=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}(),Bn=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 mn,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,Et,Lt,xt,Xt,wt,at,Vt,bt,Ct,An,Tn]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[rt,Re,Et,Lt,Xt,wt,at]},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"BASIC_MARKER_TYPES",{get:function(){return[rt,Re,Et,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&&xe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=xe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ie){return ie(new dn(Fe))})},Se.prototype.render=function(){return He(this,void 0,void 0,function(){var Fe;return ft(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 dn(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 dn(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 Ne(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(Je){var vt=new Cn(Fe,void 0,!0);Je(vt),vt.defaultPrevented&&(ie=!0)}),!ie)){this.setCurrentMarker();for(var ae=function(Je){var vt=se.markers[Je];se.setCurrentMarker(se.markers[Je]),se._currentMarker.dispose(),se.markerImage.removeChild(se._currentMarker.container),se.markers.splice(se.markers.indexOf(se._currentMarker),1),se.eventListeners.markerdelete.forEach(function($e){return $e(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 dn(Fe))})}else this.undoRedoManager.replaceLastUndoStep(ie),this.eventListeners.statechange.forEach(function(oe){return oe(new dn(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 dn(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 dn(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 He(this,void 0,void 0,function(){var Fe,ie,ae=this;return ft(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 Gn(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(Je){return Je.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 dn(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 dn(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 dn(Fe))}))},Se.instanceCounter=0,Se}()},5630:function(Qn,Yt,de){"use strict";var he=de(60499),Me=de(85899),He=de(18642),ft=de(72190),Oe=de(42244),Le=de(92310),ve=de.n(Le),Ae=de(18929),xe=de(59301),fe=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Ke=(0,xe.forwardRef)(function(Be,_e){var Ne,Qe=Be.prefixCls,ke=Qe===void 0?"rc-checkbox":Qe,Pe=Be.className,Te=Be.style,Ye=Be.checked,ze=Be.disabled,qe=Be.defaultChecked,We=qe===void 0?!1:qe,Ze=Be.type,et=Ze===void 0?"checkbox":Ze,rt=Be.title,ht=Be.onChange,dt=(0,Oe.Z)(Be,fe),Ct=(0,xe.useRef)(null),Xe=(0,Ae.Z)(We,{value:Ye}),Lt=(0,ft.Z)(Xe,2),Re=Lt[0],Ht=Lt[1];(0,xe.useImperativeHandle)(_e,function(){return{focus:function(){var wt;(wt=Ct.current)===null||wt===void 0||wt.focus()},blur:function(){var wt;(wt=Ct.current)===null||wt===void 0||wt.blur()},input:Ct.current}});var Et=ve()(ke,Pe,(Ne={},(0,He.Z)(Ne,"".concat(ke,"-checked"),Re),(0,He.Z)(Ne,"".concat(ke,"-disabled"),ze),Ne)),bt=function(wt){ze||("checked"in Be||Ht(wt.target.checked),ht==null||ht({target:(0,Me.Z)((0,Me.Z)({},Be),{},{type:et,checked:wt.target.checked}),stopPropagation:function(){wt.stopPropagation()},preventDefault:function(){wt.preventDefault()},nativeEvent:wt.nativeEvent}))};return xe.createElement("span",{className:Et,title:rt,style:Te},xe.createElement("input",(0,he.Z)({},dt,{className:"".concat(ke,"-input"),ref:Ct,onChange:bt,disabled:ze,checked:!!Re,type:et})),xe.createElement("span",{className:"".concat(ke,"-inner")}))});Yt.Z=Ke},31561:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return et}});var he=de(60499),Me=de(18642),He=de(72190),ft=de(42244),Oe=de(35593),Le=de(92310),ve=de.n(Le),Ae=de(8654),xe=de(59301),fe=de(10228),Ke=de(16089),Be=fe.Z.ESC,_e=fe.Z.TAB;function Ne(rt){var ht=rt.visible,dt=rt.triggerRef,Ct=rt.onVisibleChange,Xe=rt.autoFocus,Lt=rt.overlayRef,Re=xe.useRef(!1),Ht=function(){if(ht){var wt,it;(wt=dt.current)===null||wt===void 0||(it=wt.focus)===null||it===void 0||it.call(wt),Ct==null||Ct(!1)}},Et=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:Ht();break;case _e:{var it=!1;Re.current||(it=Et()),it?wt.preventDefault():Ht();break}}};xe.useEffect(function(){return ht?(window.addEventListener("keydown",bt),Xe&&(0,Ke.Z)(Et,3),function(){window.removeEventListener("keydown",bt),Re.current=!1}):function(){Re.current=!1}},[ht])}var Qe=(0,xe.forwardRef)(function(rt,ht){var dt=rt.overlay,Ct=rt.arrow,Xe=rt.prefixCls,Lt=(0,xe.useMemo)(function(){var Ht;return typeof dt=="function"?Ht=dt():Ht=dt,Ht},[dt]),Re=(0,Ae.sQ)(ht,Lt==null?void 0:Lt.ref);return xe.createElement(xe.Fragment,null,Ct&&xe.createElement("div",{className:"".concat(Xe,"-arrow")}),xe.cloneElement(Lt,{ref:(0,Ae.Yr)(Lt)?Re:void 0}))}),ke=Qe,Pe={adjustX:1,adjustY:1},Te=[0,0],Ye={topLeft:{points:["bl","tl"],overflow:Pe,offset:[0,-4],targetOffset:Te},top:{points:["bc","tc"],overflow:Pe,offset:[0,-4],targetOffset:Te},topRight:{points:["br","tr"],overflow:Pe,offset:[0,-4],targetOffset:Te},bottomLeft:{points:["tl","bl"],overflow:Pe,offset:[0,4],targetOffset:Te},bottom:{points:["tc","bc"],overflow:Pe,offset:[0,4],targetOffset:Te},bottomRight:{points:["tr","br"],overflow:Pe,offset:[0,4],targetOffset:Te}},ze=Ye,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,Ct=rt.arrow,Xe=Ct===void 0?!1:Ct,Lt=rt.prefixCls,Re=Lt===void 0?"rc-dropdown":Lt,Ht=rt.transitionName,Et=rt.animation,bt=rt.align,Tt=rt.placement,wt=Tt===void 0?"bottomLeft":Tt,it=rt.placements,Ue=it===void 0?ze:it,at=rt.getPopupContainer,Xt=rt.showAction,Vt=rt.hideAction,xt=rt.overlayClassName,Qt=rt.overlayStyle,An=rt.visible,Tn=rt.trigger,dn=Tn===void 0?["hover"]:Tn,Gn=rt.autoFocus,Cn=rt.overlay,mn=rt.children,Bn=rt.onVisibleChange,Se=(0,ft.Z)(rt,qe),Fe=xe.useState(),ie=(0,He.Z)(Fe,2),ae=ie[0],se=ie[1],oe="visible"in rt?An:ae,Je=xe.useRef(null),vt=xe.useRef(null),$e=xe.useRef(null);xe.useImperativeHandle(ht,function(){return Je.current});var lt=function(jt){se(jt),Bn==null||Bn(jt)};Ne({visible:oe,triggerRef:$e,onVisibleChange:lt,autoFocus:Gn,overlayRef:vt});var Pt=function(jt){var pt=rt.onOverlayClick;se(!1),pt&&pt(jt)},_t=function(){return xe.createElement(ke,{ref:vt,overlay:Cn,prefixCls:Re,arrow:Xe})},kt=function(){return typeof Cn=="function"?_t:_t()},$t=function(){var jt=rt.minOverlayWidthMatchTrigger,pt=rt.alignPoint;return"minOverlayWidthMatchTrigger"in rt?jt:!pt},Sn=function(){var jt=rt.openClassName;return jt!==void 0?jt:"".concat(Re,"-open")},St=xe.cloneElement(mn,{className:ve()((dt=mn.props)===null||dt===void 0?void 0:dt.className,oe&&Sn()),ref:(0,Ae.Yr)(mn)?(0,Ae.sQ)($e,mn.ref):void 0}),nn=Vt;return!nn&&dn.indexOf("contextMenu")!==-1&&(nn=["click"]),xe.createElement(Oe.Z,(0,he.Z)({builtinPlacements:Ue},Se,{prefixCls:Re,ref:Je,popupClassName:ve()(xt,(0,Me.Z)({},"".concat(Re,"-show-arrow"),Xe)),popupStyle:Qt,action:dn,showAction:Xt,hideAction:nn,popupPlacement:wt,popupAlign:bt,popupTransitionName:Ht,popupAnimation:Et,popupVisible:oe,stretch:$t()?"minWidth":"",popup:kt(),onPopupVisibleChange:lt,onPopupClick:Pt,getPopupContainer:at}),St)}var Ze=xe.forwardRef(We),et=Ze},93681:function(Qn,Yt,de){"use strict";de.r(Yt),de.d(Yt,{BaseInput:function(){return fe},default:function(){return Ye}});var he=de(60499),Me=de(85899),He=de(18642),ft=de(43749),Oe=de(92310),Le=de.n(Oe),ve=de(59301),Ae=de(5643),xe=function(qe){var We,Ze,et=qe.inputElement,rt=qe.prefixCls,ht=qe.prefix,dt=qe.suffix,Ct=qe.addonBefore,Xe=qe.addonAfter,Lt=qe.className,Re=qe.style,Ht=qe.disabled,Et=qe.readOnly,bt=qe.focused,Tt=qe.triggerFocus,wt=qe.allowClear,it=qe.value,Ue=qe.handleReset,at=qe.hidden,Xt=qe.classes,Vt=qe.classNames,xt=qe.dataAttrs,Qt=qe.styles,An=qe.components,Tn=(An==null?void 0:An.affixWrapper)||"span",dn=(An==null?void 0:An.groupWrapper)||"span",Gn=(An==null?void 0:An.wrapper)||"span",Cn=(An==null?void 0:An.groupAddon)||"span",mn=(0,ve.useRef)(null),Bn=function(_t){var kt;(kt=mn.current)!==null&&kt!==void 0&&kt.contains(_t.target)&&(Tt==null||Tt())},Se=function(){var _t;if(!wt)return null;var kt=!Ht&&!Et&&it,$t="".concat(rt,"-clear-icon"),Sn=(0,ft.Z)(wt)==="object"&&wt!==null&&wt!==void 0&&wt.clearIcon?wt.clearIcon:"\u2716";return ve.createElement("span",{onClick:Ue,onMouseDown:function(nn){return nn.preventDefault()},className:Le()($t,(_t={},(0,He.Z)(_t,"".concat($t,"-hidden"),!kt),(0,He.Z)(_t,"".concat($t,"-has-suffix"),!!dt),_t)),role:"button",tabIndex:-1},Sn)},Fe=(0,ve.cloneElement)(et,{value:it,hidden:at,className:Le()((We=et.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=et.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,He.Z)(ie,"".concat(ae,"-disabled"),Ht),(0,He.Z)(ie,"".concat(ae,"-focused"),bt),(0,He.Z)(ie,"".concat(ae,"-readonly"),Et),(0,He.Z)(ie,"".concat(ae,"-input-with-clear-btn"),dt&&wt&&it),ie),!(0,Ae.He)(qe)&&Lt,Xt==null?void 0:Xt.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(Tn,(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:Bn},xt==null?void 0:xt.affixWrapper,{ref:mn}),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)(et,{value:it,hidden:null}),oe)}if((0,Ae.He)(qe)){var Je="".concat(rt,"-group"),vt="".concat(Je,"-addon"),$e=Le()("".concat(rt,"-wrapper"),Je,Xt==null?void 0:Xt.wrapper),lt=Le()("".concat(rt,"-group-wrapper"),Lt,Xt==null?void 0:Xt.group);return ve.createElement(dn,{className:lt,style:Re,hidden:at},ve.createElement(Gn,{className:$e},Ct&&ve.createElement(Cn,{className:vt},Ct),(0,ve.cloneElement)(Fe,{hidden:null}),Xe&&ve.createElement(Cn,{className:vt},Xe)))}return Fe},fe=xe,Ke=de(77654),Be=de(72190),_e=de(42244),Ne=de(18929),Qe=de(2738),ke=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Pe=(0,ve.forwardRef)(function(ze,qe){var We=ze.autoComplete,Ze=ze.onChange,et=ze.onFocus,rt=ze.onBlur,ht=ze.onPressEnter,dt=ze.onKeyDown,Ct=ze.prefixCls,Xe=Ct===void 0?"rc-input":Ct,Lt=ze.disabled,Re=ze.htmlSize,Ht=ze.className,Et=ze.maxLength,bt=ze.suffix,Tt=ze.showCount,wt=ze.type,it=wt===void 0?"text":wt,Ue=ze.classes,at=ze.classNames,Xt=ze.styles,Vt=(0,_e.Z)(ze,ke),xt=(0,Ne.Z)(ze.defaultValue,{value:ze.value}),Qt=(0,Be.Z)(xt,2),An=Qt[0],Tn=Qt[1],dn=(0,ve.useState)(!1),Gn=(0,Be.Z)(dn,2),Cn=Gn[0],mn=Gn[1],Bn=(0,ve.useRef)(null),Se=function(lt){Bn.current&&(0,Ae.nH)(Bn.current,lt)};(0,ve.useImperativeHandle)(qe,function(){return{focus:Se,blur:function(){var lt;(lt=Bn.current)===null||lt===void 0||lt.blur()},setSelectionRange:function(lt,Pt,_t){var kt;(kt=Bn.current)===null||kt===void 0||kt.setSelectionRange(lt,Pt,_t)},select:function(){var lt;(lt=Bn.current)===null||lt===void 0||lt.select()},input:Bn.current}}),(0,ve.useEffect)(function(){mn(function($e){return $e&&Lt?!1:$e})},[Lt]);var Fe=function(lt){ze.value===void 0&&Tn(lt.target.value),Bn.current&&(0,Ae.rJ)(Bn.current,lt,Ze)},ie=function(lt){ht&&lt.key==="Enter"&&ht(lt),dt==null||dt(lt)},ae=function(lt){mn(!0),et==null||et(lt)},se=function(lt){mn(!1),rt==null||rt(lt)},oe=function(lt){Tn(""),Se(),Bn.current&&(0,Ae.rJ)(Bn.current,lt,Ze)},Je=function(){var lt=(0,Qe.Z)(ze,["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()(Xe,(0,He.Z)({},"".concat(Xe,"-disabled"),Lt),at==null?void 0:at.input),style:Xt==null?void 0:Xt.input,ref:Bn,size:Re,type:it}))},vt=function(){var lt=Number(Et)>0;if(bt||Tt){var Pt=(0,Ae.D7)(An),_t=(0,Ke.Z)(Pt).length,kt=(0,ft.Z)(Tt)==="object"?Tt.formatter({value:Pt,count:_t,maxLength:Et}):"".concat(_t).concat(lt?" / ".concat(Et):"");return ve.createElement(ve.Fragment,null,!!Tt&&ve.createElement("span",{className:Le()("".concat(Xe,"-show-count-suffix"),(0,He.Z)({},"".concat(Xe,"-show-count-has-suffix"),!!bt),at==null?void 0:at.count),style:(0,Me.Z)({},Xt==null?void 0:Xt.count)},kt),bt)}return null};return ve.createElement(fe,(0,he.Z)({},Vt,{prefixCls:Xe,className:Ht,inputElement:Je(),handleReset:oe,value:(0,Ae.D7)(An),focused:Cn,triggerFocus:Se,suffix:vt(),disabled:Lt,classes:Ue,classNames:at,styles:Xt}))}),Te=Pe,Ye=Te},5643:function(Qn,Yt,de){"use strict";de.d(Yt,{D7:function(){return Oe},He:function(){return he},X3:function(){return Me},nH:function(){return ft},rJ:function(){return He}});function he(Le){return!!(Le.addonBefore||Le.addonAfter)}function Me(Le){return!!(Le.prefix||Le.suffix||Le.allowClear)}function He(Le,ve,Ae,xe){if(Ae){var fe=ve;if(ve.type==="click"){var Ke=Le.cloneNode(!0);fe=Object.create(ve,{target:{value:Ke},currentTarget:{value:Ke}}),Ke.value="",Ae(fe);return}if(xe!==void 0){fe=Object.create(ve,{target:{value:Le},currentTarget:{value:Le}}),Le.value=xe,Ae(fe);return}Ae(fe)}}function ft(Le,ve){if(Le){Le.focus(ve);var Ae=ve||{},xe=Ae.cursor;if(xe){var fe=Le.value.length;switch(xe){case"start":Le.setSelectionRange(0,0);break;case"end":Le.setSelectionRange(fe,fe);break;default:Le.setSelectionRange(0,fe)}}}}function Oe(Le){return typeof Le=="undefined"||Le===null?"":String(Le)}},15285:function(Qn,Yt,de){"use strict";de.d(Yt,{iz:function(){return ei},ck:function(){return mi},BW:function(){return Ur},sN:function(){return mi},Wd:function(){return _n},ZP:function(){return ra},Xl:function(){return dt}});var he=de(60499),Me=de(18642),He=de(85899),ft=de(77654),Oe=de(72190),Le=de(42244),ve=de(92310),Ae=de.n(ve),xe=de(83836),fe=de(18929),Ke=de(13697),Be=de(48736),_e=de(59301),Ne=de(4676),Qe=_e.createContext(null);function ke(vn,gr){return vn===void 0?null:"".concat(vn,"-").concat(gr)}function Pe(vn){var gr=_e.useContext(Qe);return ke(gr,vn)}var Te=de(80547),Ye=["children","locked"],ze=_e.createContext(null);function qe(vn,gr){var Ar=(0,He.Z)({},vn);return Object.keys(gr).forEach(function(jr){var br=gr[jr];br!==void 0&&(Ar[jr]=br)}),Ar}function We(vn){var gr=vn.children,Ar=vn.locked,jr=(0,Le.Z)(vn,Ye),br=_e.useContext(ze),Ir=(0,Te.Z)(function(){return qe(br,jr)},[br,jr],function(Fr,si){return!Ar&&(Fr[0]!==si[0]||!(0,Ke.Z)(Fr[1],si[1],!0))});return _e.createElement(ze.Provider,{value:Ir},gr)}var Ze=[],et=_e.createContext(null);function rt(){return _e.useContext(et)}var ht=_e.createContext(Ze);function dt(vn){var gr=_e.useContext(ht);return _e.useMemo(function(){return vn!==void 0?[].concat((0,ft.Z)(gr),[vn]):gr},[gr,vn])}var Ct=_e.createContext(null),Xe=_e.createContext({}),Lt=Xe,Re=de(29194);function Ht(vn){var gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Re.Z)(vn)){var Ar=vn.nodeName.toLowerCase(),jr=["input","select","textarea","button"].includes(Ar)||vn.isContentEditable||Ar==="a"&&!!vn.getAttribute("href"),br=vn.getAttribute("tabindex"),Ir=Number(br),Fr=null;return br&&!Number.isNaN(Ir)?Fr=Ir:jr&&Fr===null&&(Fr=0),jr&&vn.disabled&&(Fr=null),Fr!==null&&(Fr>=0||gr&&Fr<0)}return!1}function Et(vn){var gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ar=(0,ft.Z)(vn.querySelectorAll("*")).filter(function(jr){return Ht(jr,gr)});return Ht(vn,gr)&&Ar.unshift(vn),Ar}var bt=null;function Tt(){bt=document.activeElement}function wt(){bt=null}function it(){if(bt)try{bt.focus()}catch(vn){}}function Ue(vn,gr){if(gr.keyCode===9){var Ar=Et(vn),jr=Ar[gr.shiftKey?0:Ar.length-1],br=jr===document.activeElement||vn===document.activeElement;if(br){var Ir=Ar[gr.shiftKey?Ar.length-1:0];Ir.focus(),gr.preventDefault()}}}var at=de(10228),Xt=de(16089),Vt=at.Z.LEFT,xt=at.Z.RIGHT,Qt=at.Z.UP,An=at.Z.DOWN,Tn=at.Z.ENTER,dn=at.Z.ESC,Gn=at.Z.HOME,Cn=at.Z.END,mn=[Qt,An,Vt,xt];function Bn(vn,gr,Ar,jr){var br,Ir,Fr,si,bi="prev",Ti="next",Pa="children",Ka="parent";if(vn==="inline"&&jr===Tn)return{inlineTrigger:!0};var $a=(br={},(0,Me.Z)(br,Qt,bi),(0,Me.Z)(br,An,Ti),br),Ua=(Ir={},(0,Me.Z)(Ir,Vt,Ar?Ti:bi),(0,Me.Z)(Ir,xt,Ar?bi:Ti),(0,Me.Z)(Ir,An,Pa),(0,Me.Z)(Ir,Tn,Pa),Ir),Fa=(Fr={},(0,Me.Z)(Fr,Qt,bi),(0,Me.Z)(Fr,An,Ti),(0,Me.Z)(Fr,Tn,Pa),(0,Me.Z)(Fr,dn,Ka),(0,Me.Z)(Fr,Vt,Ar?Pa:Ka),(0,Me.Z)(Fr,xt,Ar?Ka:Pa),Fr),ho={inline:$a,horizontal:Ua,vertical:Fa,inlineSub:$a,horizontalSub:Fa,verticalSub:Fa},oo=(si=ho["".concat(vn).concat(gr?"":"Sub")])===null||si===void 0?void 0:si[jr];switch(oo){case bi:return{offset:-1,sibling:!0};case Ti:return{offset:1,sibling:!0};case Ka:return{offset:-1,sibling:!1};case Pa:return{offset:1,sibling:!1};default:return null}}function Se(vn){for(var gr=vn;gr;){if(gr.getAttribute("data-menu-list"))return gr;gr=gr.parentElement}return null}function Fe(vn,gr){for(var Ar=vn||document.activeElement;Ar;){if(gr.has(Ar))return Ar;Ar=Ar.parentElement}return null}function ie(vn,gr){var Ar=Et(vn,!0);return Ar.filter(function(jr){return gr.has(jr)})}function ae(vn,gr,Ar){var jr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!vn)return null;var br=ie(vn,gr),Ir=br.length,Fr=br.findIndex(function(si){return Ar===si});return jr<0?Fr===-1?Fr=Ir-1:Fr-=1:jr>0&&(Fr+=1),Fr=(Fr+Ir)%Ir,br[Fr]}var se=function(gr,Ar){var jr=new Set,br=new Map,Ir=new Map;return gr.forEach(function(Fr){var si=document.querySelector("[data-menu-id='".concat(ke(Ar,Fr),"']"));si&&(jr.add(si),Ir.set(si,Fr),br.set(Fr,si))}),{elements:jr,key2element:br,element2key:Ir}};function oe(vn,gr,Ar,jr,br,Ir,Fr,si,bi,Ti){var Pa=_e.useRef(),Ka=_e.useRef();Ka.current=gr;var $a=function(){Xt.Z.cancel(Pa.current)};return _e.useEffect(function(){return function(){$a()}},[]),function(Ua){var Fa=Ua.which;if([].concat(mn,[Tn,dn,Gn,Cn]).includes(Fa)){var ho=Ir(),oo=se(ho,jr),ta=oo,ui=ta.elements,za=ta.key2element,no=ta.element2key,La=za.get(gr),xo=Fe(La,ui),os=no.get(xo),Va=Bn(vn,Fr(os,!0).length===1,Ar,Fa);if(!Va&&Fa!==Gn&&Fa!==Cn)return;(mn.includes(Fa)||[Gn,Cn].includes(Fa))&&Ua.preventDefault();var Ii=function(Oo){if(Oo){var Ks=Oo,Sa=Oo.querySelector("a");Sa!=null&&Sa.getAttribute("href")&&(Ks=Sa);var ga=no.get(Oo);si(ga),$a(),Pa.current=(0,Xt.Z)(function(){Ka.current===ga&&Ks.focus()})}};if([Gn,Cn].includes(Fa)||Va.sibling||!xo){var Ci;!xo||vn==="inline"?Ci=br.current:Ci=Se(xo);var Ha,Oa=ie(Ci,ui);Fa===Gn?Ha=Oa[0]:Fa===Cn?Ha=Oa[Oa.length-1]:Ha=ae(Ci,ui,xo,Va.offset),Ii(Ha)}else if(Va.inlineTrigger)bi(os);else if(Va.offset>0)bi(os,!0),$a(),Pa.current=(0,Xt.Z)(function(){oo=se(ho,jr);var jn=xo.getAttribute("aria-controls"),Oo=document.getElementById(jn),Ks=ae(Oo,oo.elements);Ii(Ks)},5);else if(Va.offset<0){var eo=Fr(os,!0),Lo=eo[eo.length-2],vo=za.get(Lo);bi(Lo,!1),Ii(vo)}}Ti==null||Ti(Ua)}}function Je(vn){Promise.resolve().then(vn)}var vt="__RC_UTIL_PATH_SPLIT__",$e=function(gr){return gr.join(vt)},lt=function(gr){return gr.split(vt)},Pt="rc-menu-more";function _t(){var vn=_e.useState({}),gr=(0,Oe.Z)(vn,2),Ar=gr[1],jr=(0,_e.useRef)(new Map),br=(0,_e.useRef)(new Map),Ir=_e.useState([]),Fr=(0,Oe.Z)(Ir,2),si=Fr[0],bi=Fr[1],Ti=(0,_e.useRef)(0),Pa=(0,_e.useRef)(!1),Ka=function(){Pa.current||Ar({})},$a=(0,_e.useCallback)(function(za,no){var La=$e(no);br.current.set(La,za),jr.current.set(za,La),Ti.current+=1;var xo=Ti.current;Je(function(){xo===Ti.current&&Ka()})},[]),Ua=(0,_e.useCallback)(function(za,no){var La=$e(no);br.current.delete(La),jr.current.delete(za)},[]),Fa=(0,_e.useCallback)(function(za){bi(za)},[]),ho=(0,_e.useCallback)(function(za,no){var La=jr.current.get(za)||"",xo=lt(La);return no&&si.includes(xo[0])&&xo.unshift(Pt),xo},[si]),oo=(0,_e.useCallback)(function(za,no){return za.some(function(La){var xo=ho(La,!0);return xo.includes(no)})},[ho]),ta=function(){var no=(0,ft.Z)(jr.current.keys());return si.length&&no.push(Pt),no},ui=(0,_e.useCallback)(function(za){var no="".concat(jr.current.get(za)).concat(vt),La=new Set;return(0,ft.Z)(br.current.keys()).forEach(function(xo){xo.startsWith(no)&&La.add(br.current.get(xo))}),La},[]);return _e.useEffect(function(){return function(){Pa.current=!0}},[]),{registerPath:$a,unregisterPath:Ua,refreshOverflowKeys:Fa,isSubPathKey:oo,getKeyPath:ho,getKeys:ta,getSubPathKeys:ui}}function kt(vn){var gr=_e.useRef(vn);gr.current=vn;var Ar=_e.useCallback(function(){for(var jr,br=arguments.length,Ir=new Array(br),Fr=0;Fr<br;Fr++)Ir[Fr]=arguments[Fr];return(jr=gr.current)===null||jr===void 0?void 0:jr.call.apply(jr,[gr].concat(Ir))},[]);return vn?Ar:void 0}var $t=Math.random().toFixed(5).toString().slice(2),Sn=0;function St(vn){var gr=(0,fe.Z)(vn,{value:vn}),Ar=(0,Oe.Z)(gr,2),jr=Ar[0],br=Ar[1];return _e.useEffect(function(){Sn+=1;var Ir="".concat($t,"-").concat(Sn);br("rc-menu-uuid-".concat(Ir))},[]),jr}var nn=de(38705),tn=de(17212),jt=de(39153),pt=de(55401),Zt=de(2738),gn=de(8654);function wn(vn,gr,Ar,jr){var br=_e.useContext(ze),Ir=br.activeKey,Fr=br.onActive,si=br.onInactive,bi={active:Ir===vn};return gr||(bi.onMouseEnter=function(Ti){Ar==null||Ar({key:vn,domEvent:Ti}),Fr(vn)},bi.onMouseLeave=function(Ti){jr==null||jr({key:vn,domEvent:Ti}),si(vn)}),bi}function Xn(vn){var gr=_e.useContext(ze),Ar=gr.mode,jr=gr.rtl,br=gr.inlineIndent;if(Ar!=="inline")return null;var Ir=vn;return jr?{paddingRight:Ir*br}:{paddingLeft:Ir*br}}function yr(vn){var gr=vn.icon,Ar=vn.props,jr=vn.children,br;return gr===null||gr===!1?null:(typeof gr=="function"?br=_e.createElement(gr,(0,He.Z)({},Ar)):typeof gr!="boolean"&&(br=gr),br||jr||null)}var Dr=["item"];function Tr(vn){var gr=vn.item,Ar=(0,Le.Z)(vn,Dr);return Object.defineProperty(Ar,"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."),gr}}),Ar}var Rr=["title","attribute","elementRef"],Sr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],fr=["active"],Vr=function(vn){(0,jt.Z)(Ar,vn);var gr=(0,pt.Z)(Ar);function Ar(){return(0,nn.Z)(this,Ar),gr.apply(this,arguments)}return(0,tn.Z)(Ar,[{key:"render",value:function(){var br=this.props,Ir=br.title,Fr=br.attribute,si=br.elementRef,bi=(0,Le.Z)(br,Rr),Ti=(0,Zt.Z)(bi,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Be.ZP)(!Fr,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),_e.createElement(xe.Z.Item,(0,he.Z)({},Fr,{title:typeof Ir=="string"?Ir:void 0},Ti,{ref:si}))}}]),Ar}(_e.Component),Bi=_e.forwardRef(function(vn,gr){var Ar,jr=vn.style,br=vn.className,Ir=vn.eventKey,Fr=vn.warnKey,si=vn.disabled,bi=vn.itemIcon,Ti=vn.children,Pa=vn.role,Ka=vn.onMouseEnter,$a=vn.onMouseLeave,Ua=vn.onClick,Fa=vn.onKeyDown,ho=vn.onFocus,oo=(0,Le.Z)(vn,Sr),ta=Pe(Ir),ui=_e.useContext(ze),za=ui.prefixCls,no=ui.onItemClick,La=ui.disabled,xo=ui.overflowDisabled,os=ui.itemIcon,Va=ui.selectedKeys,Ii=ui.onActive,Ci=_e.useContext(Lt),Ha=Ci._internalRenderMenuItem,Oa="".concat(za,"-item"),eo=_e.useRef(),Lo=_e.useRef(),vo=La||si,jn=(0,gn.x1)(gr,Lo),Oo=dt(Ir),Ks=function(ia){return{key:Ir,keyPath:(0,ft.Z)(Oo).reverse(),item:eo.current,domEvent:ia}},Sa=bi||os,ga=wn(Ir,vo,Ka,$a),Co=ga.active,Fo=(0,Le.Z)(ga,fr),Es=Va.includes(Ir),Js=Xn(Oo.length),Os=function(ia){if(!vo){var Ln=Ks(ia);Ua==null||Ua(Tr(Ln)),no(Ln)}},ps=function(ia){if(Fa==null||Fa(ia),ia.which===at.Z.ENTER){var Ln=Ks(ia);Ua==null||Ua(Tr(Ln)),no(Ln)}},as=function(ia){Ii(Ir),ho==null||ho(ia)},ol={};vn.role==="option"&&(ol["aria-selected"]=Es);var fa=_e.createElement(Vr,(0,he.Z)({ref:eo,elementRef:jn,role:Pa===null?"none":Pa||"menuitem",tabIndex:si?null:-1,"data-menu-id":xo&&ta?null:ta},oo,Fo,ol,{component:"li","aria-disabled":si,style:(0,He.Z)((0,He.Z)({},Js),jr),className:Ae()(Oa,(Ar={},(0,Me.Z)(Ar,"".concat(Oa,"-active"),Co),(0,Me.Z)(Ar,"".concat(Oa,"-selected"),Es),(0,Me.Z)(Ar,"".concat(Oa,"-disabled"),vo),Ar),br),onClick:Os,onKeyDown:ps,onFocus:as}),Ti,_e.createElement(yr,{props:(0,He.Z)((0,He.Z)({},vn),{},{isSelected:Es}),icon:Sa}));return Ha&&(fa=Ha(fa,vn,{selected:Es})),fa});function yi(vn,gr){var Ar=vn.eventKey,jr=rt(),br=dt(Ar);return _e.useEffect(function(){if(jr)return jr.registerPath(Ar,br),function(){jr.unregisterPath(Ar,br)}},[br]),jr?null:_e.createElement(Bi,(0,he.Z)({},vn,{ref:gr}))}var mi=_e.forwardRef(yi),Vi=["className","children"],ua=function(gr,Ar){var jr=gr.className,br=gr.children,Ir=(0,Le.Z)(gr,Vi),Fr=_e.useContext(ze),si=Fr.prefixCls,bi=Fr.mode,Ti=Fr.rtl;return _e.createElement("ul",(0,he.Z)({className:Ae()(si,Ti&&"".concat(si,"-rtl"),"".concat(si,"-sub"),"".concat(si,"-").concat(bi==="inline"?"inline":"vertical"),jr),role:"menu"},Ir,{"data-menu-list":!0,ref:Ar}),br)},Wr=_e.forwardRef(ua);Wr.displayName="SubMenuList";var Mn=Wr,ea=de(11592);function Ea(vn,gr){return(0,ea.Z)(vn).map(function(Ar,jr){if(_e.isValidElement(Ar)){var br,Ir,Fr=Ar.key,si=(br=(Ir=Ar.props)===null||Ir===void 0?void 0:Ir.eventKey)!==null&&br!==void 0?br:Fr,bi=si==null;bi&&(si="tmp_key-".concat([].concat((0,ft.Z)(gr),[jr]).join("-")));var Ti={key:si,eventKey:si};return _e.cloneElement(Ar,Ti)}return Ar})}var wo=de(35593),sa={adjustX:1,adjustY:1},Pi={topLeft:{points:["bl","tl"],overflow:sa},topRight:{points:["br","tr"],overflow:sa},bottomLeft:{points:["tl","bl"],overflow:sa},bottomRight:{points:["tr","br"],overflow:sa},leftTop:{points:["tr","tl"],overflow:sa},leftBottom:{points:["br","bl"],overflow:sa},rightTop:{points:["tl","tr"],overflow:sa},rightBottom:{points:["bl","br"],overflow:sa}},Aa={topLeft:{points:["bl","tl"],overflow:sa},topRight:{points:["br","tr"],overflow:sa},bottomLeft:{points:["tl","bl"],overflow:sa},bottomRight:{points:["tr","br"],overflow:sa},rightTop:{points:["tr","tl"],overflow:sa},rightBottom:{points:["br","bl"],overflow:sa},leftTop:{points:["tl","tr"],overflow:sa},leftBottom:{points:["bl","br"],overflow:sa}},Si=null;function qr(vn,gr,Ar){if(gr)return gr;if(Ar)return Ar[vn]||Ar.other}var Ma={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function kn(vn){var gr=vn.prefixCls,Ar=vn.visible,jr=vn.children,br=vn.popup,Ir=vn.popupStyle,Fr=vn.popupClassName,si=vn.popupOffset,bi=vn.disabled,Ti=vn.mode,Pa=vn.onVisibleChange,Ka=_e.useContext(ze),$a=Ka.getPopupContainer,Ua=Ka.rtl,Fa=Ka.subMenuOpenDelay,ho=Ka.subMenuCloseDelay,oo=Ka.builtinPlacements,ta=Ka.triggerSubMenuAction,ui=Ka.forceSubMenuRender,za=Ka.rootClassName,no=Ka.motion,La=Ka.defaultMotions,xo=_e.useState(!1),os=(0,Oe.Z)(xo,2),Va=os[0],Ii=os[1],Ci=Ua?(0,He.Z)((0,He.Z)({},Aa),oo):(0,He.Z)((0,He.Z)({},Pi),oo),Ha=Ma[Ti],Oa=qr(Ti,no,La),eo=_e.useRef(Oa);Ti!=="inline"&&(eo.current=Oa);var Lo=(0,He.Z)((0,He.Z)({},eo.current),{},{leavedClassName:"".concat(gr,"-hidden"),removeOnLeave:!1,motionAppear:!0}),vo=_e.useRef();return _e.useEffect(function(){return vo.current=(0,Xt.Z)(function(){Ii(Ar)}),function(){Xt.Z.cancel(vo.current)}},[Ar]),_e.createElement(wo.Z,{prefixCls:gr,popupClassName:Ae()("".concat(gr,"-popup"),(0,Me.Z)({},"".concat(gr,"-rtl"),Ua),Fr,za),stretch:Ti==="horizontal"?"minWidth":null,getPopupContainer:$a,builtinPlacements:Ci,popupPlacement:Ha,popupVisible:Va,popup:br,popupStyle:Ir,popupAlign:si&&{offset:si},action:bi?[]:[ta],mouseEnterDelay:Fa,mouseLeaveDelay:ho,onPopupVisibleChange:Pa,forceRender:ui,popupMotion:Lo,fresh:!0},jr)}var Dt=de(77900);function Gt(vn){var gr=vn.id,Ar=vn.open,jr=vn.keyPath,br=vn.children,Ir="inline",Fr=_e.useContext(ze),si=Fr.prefixCls,bi=Fr.forceSubMenuRender,Ti=Fr.motion,Pa=Fr.defaultMotions,Ka=Fr.mode,$a=_e.useRef(!1);$a.current=Ka===Ir;var Ua=_e.useState(!$a.current),Fa=(0,Oe.Z)(Ua,2),ho=Fa[0],oo=Fa[1],ta=$a.current?Ar:!1;_e.useEffect(function(){$a.current&&oo(!1)},[Ka]);var ui=(0,He.Z)({},qr(Ir,Ti,Pa));jr.length>1&&(ui.motionAppear=!1);var za=ui.onVisibleChanged;return ui.onVisibleChanged=function(no){return!$a.current&&!no&&oo(!0),za==null?void 0:za(no)},ho?null:_e.createElement(We,{mode:Ir,locked:!$a.current},_e.createElement(Dt.default,(0,he.Z)({visible:ta},ui,{forceRender:bi,removeOnLeave:!1,leavedClassName:"".concat(si,"-hidden")}),function(no){var La=no.className,xo=no.style;return _e.createElement(Mn,{id:gr,className:La,style:xo},br)}))}var Wt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Kt=["active"],on=function(gr){var Ar,jr=gr.style,br=gr.className,Ir=gr.title,Fr=gr.eventKey,si=gr.warnKey,bi=gr.disabled,Ti=gr.internalPopupClose,Pa=gr.children,Ka=gr.itemIcon,$a=gr.expandIcon,Ua=gr.popupClassName,Fa=gr.popupOffset,ho=gr.popupStyle,oo=gr.onClick,ta=gr.onMouseEnter,ui=gr.onMouseLeave,za=gr.onTitleClick,no=gr.onTitleMouseEnter,La=gr.onTitleMouseLeave,xo=(0,Le.Z)(gr,Wt),os=Pe(Fr),Va=_e.useContext(ze),Ii=Va.prefixCls,Ci=Va.mode,Ha=Va.openKeys,Oa=Va.disabled,eo=Va.overflowDisabled,Lo=Va.activeKey,vo=Va.selectedKeys,jn=Va.itemIcon,Oo=Va.expandIcon,Ks=Va.onItemClick,Sa=Va.onOpenChange,ga=Va.onActive,Co=_e.useContext(Lt),Fo=Co._internalRenderSubMenuItem,Es=_e.useContext(Ct),Js=Es.isSubPathKey,Os=dt(),ps="".concat(Ii,"-submenu"),as=Oa||bi,ol=_e.useRef(),fa=_e.useRef(),la=Ka!=null?Ka:jn,ia=$a!=null?$a:Oo,Ln=Ha.includes(Fr),In=!eo&&Ln,Er=Js(vo,Fr),vi=wn(Fr,as,no,La),ha=vi.active,Ia=(0,Le.Z)(vi,Kt),va=_e.useState(!1),Ji=(0,Oe.Z)(va,2),ya=Ji[0],No=Ji[1],Vo=function(Wa){as||No(Wa)},cs=function(Wa){Vo(!0),ta==null||ta({key:Fr,domEvent:Wa})},Mo=function(Wa){Vo(!1),ui==null||ui({key:Fr,domEvent:Wa})},ul=_e.useMemo(function(){return ha||(Ci!=="inline"?ya||Js([Lo],Fr):!1)},[Ci,ha,Lo,ya,Fr,Js]),Ss=Xn(Os.length),vr=function(Wa){as||(za==null||za({key:Fr,domEvent:Wa}),Ci==="inline"&&Sa(Fr,!Ln))},On=kt(function(uo){oo==null||oo(Tr(uo)),Ks(uo)}),Dn=function(Wa){Ci!=="inline"&&Sa(Fr,Wa)},wr=function(){ga(Fr)},ni=os&&"".concat(os,"-popup"),li=_e.createElement("div",(0,he.Z)({role:"menuitem",style:Ss,className:"".concat(ps,"-title"),tabIndex:as?null:-1,ref:ol,title:typeof Ir=="string"?Ir:null,"data-menu-id":eo&&os?null:os,"aria-expanded":In,"aria-haspopup":!0,"aria-controls":ni,"aria-disabled":as,onClick:vr,onFocus:wr},Ia),Ir,_e.createElement(yr,{icon:Ci!=="horizontal"?ia:void 0,props:(0,He.Z)((0,He.Z)({},gr),{},{isOpen:In,isSubMenu:!0})},_e.createElement("i",{className:"".concat(ps,"-arrow")}))),Or=_e.useRef(Ci);if(Ci!=="inline"&&Os.length>1?Or.current="vertical":Or.current=Ci,!eo){var Hi=Or.current;li=_e.createElement(kn,{mode:Hi,prefixCls:ps,visible:!Ti&&In&&Ci!=="inline",popupClassName:Ua,popupOffset:Fa,popupStyle:ho,popup:_e.createElement(We,{mode:Hi==="horizontal"?"vertical":Hi},_e.createElement(Mn,{id:ni,ref:fa},Pa)),disabled:as,onVisibleChange:Dn},li)}var ca=_e.createElement(xe.Z.Item,(0,he.Z)({role:"none"},xo,{component:"li",style:jr,className:Ae()(ps,"".concat(ps,"-").concat(Ci),br,(Ar={},(0,Me.Z)(Ar,"".concat(ps,"-open"),In),(0,Me.Z)(Ar,"".concat(ps,"-active"),ul),(0,Me.Z)(Ar,"".concat(ps,"-selected"),Er),(0,Me.Z)(Ar,"".concat(ps,"-disabled"),as),Ar)),onMouseEnter:cs,onMouseLeave:Mo}),li,!eo&&_e.createElement(Gt,{id:ni,open:In,keyPath:Os},Pa));return Fo&&(ca=Fo(ca,gr,{selected:Er,active:ul,open:In,disabled:as})),_e.createElement(We,{onItemClick:On,mode:Ci==="horizontal"?"vertical":Ci,itemIcon:la,expandIcon:ia},ca)};function _n(vn){var gr=vn.eventKey,Ar=vn.children,jr=dt(gr),br=Ea(Ar,jr),Ir=rt();_e.useEffect(function(){if(Ir)return Ir.registerPath(gr,jr),function(){Ir.unregisterPath(gr,jr)}},[jr]);var Fr;return Ir?Fr=br:Fr=_e.createElement(on,vn,br),_e.createElement(ht.Provider,{value:jr},Fr)}var lr=de(43749),nr=["className","title","eventKey","children"],dr=["children"],Pr=function(gr){var Ar=gr.className,jr=gr.title,br=gr.eventKey,Ir=gr.children,Fr=(0,Le.Z)(gr,nr),si=_e.useContext(ze),bi=si.prefixCls,Ti="".concat(bi,"-item-group");return _e.createElement("li",(0,he.Z)({role:"presentation"},Fr,{onClick:function(Ka){return Ka.stopPropagation()},className:Ae()(Ti,Ar)}),_e.createElement("div",{role:"presentation",className:"".concat(Ti,"-title"),title:typeof jr=="string"?jr:void 0},jr),_e.createElement("ul",{role:"group",className:"".concat(Ti,"-list")},Ir))};function Ur(vn){var gr=vn.children,Ar=(0,Le.Z)(vn,dr),jr=dt(Ar.eventKey),br=Ea(gr,jr),Ir=rt();return Ir?br:_e.createElement(Pr,(0,Zt.Z)(Ar,["warnKey"]),br)}function ei(vn){var gr=vn.className,Ar=vn.style,jr=_e.useContext(ze),br=jr.prefixCls,Ir=rt();return Ir?null:_e.createElement("li",{role:"separator",className:Ae()("".concat(br,"-item-divider"),gr),style:Ar})}var er=["label","children","key","type"];function kr(vn){return(vn||[]).map(function(gr,Ar){if(gr&&(0,lr.Z)(gr)==="object"){var jr=gr,br=jr.label,Ir=jr.children,Fr=jr.key,si=jr.type,bi=(0,Le.Z)(jr,er),Ti=Fr!=null?Fr:"tmp-".concat(Ar);return Ir||si==="group"?si==="group"?_e.createElement(Ur,(0,he.Z)({key:Ti},bi,{title:br}),kr(Ir)):_e.createElement(_n,(0,he.Z)({key:Ti},bi,{title:br}),kr(Ir)):si==="divider"?_e.createElement(ei,(0,he.Z)({key:Ti},bi)):_e.createElement(mi,(0,he.Z)({key:Ti},bi),br)}return null}).filter(function(gr){return gr})}function _i(vn,gr,Ar){var jr=vn;return gr&&(jr=kr(gr)),Ea(jr,Ar)}var gi=["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"],ji=[],Mi=_e.forwardRef(function(vn,gr){var Ar,jr,br=vn,Ir=br.prefixCls,Fr=Ir===void 0?"rc-menu":Ir,si=br.rootClassName,bi=br.style,Ti=br.className,Pa=br.tabIndex,Ka=Pa===void 0?0:Pa,$a=br.items,Ua=br.children,Fa=br.direction,ho=br.id,oo=br.mode,ta=oo===void 0?"vertical":oo,ui=br.inlineCollapsed,za=br.disabled,no=br.disabledOverflow,La=br.subMenuOpenDelay,xo=La===void 0?.1:La,os=br.subMenuCloseDelay,Va=os===void 0?.1:os,Ii=br.forceSubMenuRender,Ci=br.defaultOpenKeys,Ha=br.openKeys,Oa=br.activeKey,eo=br.defaultActiveFirst,Lo=br.selectable,vo=Lo===void 0?!0:Lo,jn=br.multiple,Oo=jn===void 0?!1:jn,Ks=br.defaultSelectedKeys,Sa=br.selectedKeys,ga=br.onSelect,Co=br.onDeselect,Fo=br.inlineIndent,Es=Fo===void 0?24:Fo,Js=br.motion,Os=br.defaultMotions,ps=br.triggerSubMenuAction,as=ps===void 0?"hover":ps,ol=br.builtinPlacements,fa=br.itemIcon,la=br.expandIcon,ia=br.overflowedIndicator,Ln=ia===void 0?"...":ia,In=br.overflowedIndicatorPopupClassName,Er=br.getPopupContainer,vi=br.onClick,ha=br.onOpenChange,Ia=br.onKeyDown,va=br.openAnimation,Ji=br.openTransitionName,ya=br._internalRenderMenuItem,No=br._internalRenderSubMenuItem,Vo=(0,Le.Z)(br,gi),cs=_e.useMemo(function(){return _i(Ua,$a,ji)},[Ua,$a]),Mo=_e.useState(!1),ul=(0,Oe.Z)(Mo,2),Ss=ul[0],vr=ul[1],On=_e.useRef(),Dn=St(ho),wr=Fa==="rtl",ni=(0,fe.Z)(Ci,{value:Ha,postState:function(lo){return lo||ji}}),li=(0,Oe.Z)(ni,2),Or=li[0],Hi=li[1],ca=function(lo){var fi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function To(){Hi(lo),ha==null||ha(lo)}fi?(0,Ne.flushSync)(To):To()},uo=_e.useState(Or),Wa=(0,Oe.Z)(uo,2),Ki=Wa[0],Na=Wa[1],so=_e.useRef(!1),rr=_e.useMemo(function(){return(ta==="inline"||ta==="vertical")&&ui?["vertical",ui]:[ta,!1]},[ta,ui]),Kn=(0,Oe.Z)(rr,2),Ja=Kn[0],pa=Kn[1],ka=Ja==="inline",ss=_e.useState(Ja),qs=(0,Oe.Z)(ss,2),tl=qs[0],eu=qs[1],nu=_e.useState(pa),Fu=(0,Oe.Z)(nu,2),wl=Fu[0],Vl=Fu[1];_e.useEffect(function(){eu(Ja),Vl(pa),so.current&&(ka?Hi(Ki):ca(ji))},[Ja,pa]);var Io=_e.useState(0),Xo=(0,Oe.Z)(Io,2),Pl=Xo[0],Tl=Xo[1],ml=Pl>=cs.length-1||tl!=="horizontal"||no;_e.useEffect(function(){ka&&Na(Or)},[Or]),_e.useEffect(function(){return so.current=!0,function(){so.current=!1}},[]);var Wo=_t(),js=Wo.registerPath,zu=Wo.unregisterPath,mc=Wo.refreshOverflowKeys,cl=Wo.isSubPathKey,ys=Wo.getKeyPath,bs=Wo.getKeys,Xl=Wo.getSubPathKeys,gl=_e.useMemo(function(){return{registerPath:js,unregisterPath:zu}},[js,zu]),kl=_e.useMemo(function(){return{isSubPathKey:cl}},[cl]);_e.useEffect(function(){mc(ml?ji:cs.slice(Pl+1).map(function(ki){return ki.key}))},[Pl,ml]);var vl=(0,fe.Z)(Oa||eo&&((Ar=cs[0])===null||Ar===void 0?void 0:Ar.key),{value:Oa}),Vs=(0,Oe.Z)(vl,2),Gl=Vs[0],ic=Vs[1],Xc=kt(function(ki){ic(ki)}),Jl=kt(function(){ic(void 0)});(0,_e.useImperativeHandle)(gr,function(){return{list:On.current,focus:function(lo){var fi,To=bs(),ds=se(To,Dn),mu=ds.elements,gu=ds.key2element,_l=ds.element2key,Bc=ie(On.current,mu),Lc=Gl!=null?Gl:Bc[0]?_l.get(Bc[0]):(fi=cs.find(function(Gs){return!Gs.props.disabled}))===null||fi===void 0?void 0:fi.key,Sc=gu.get(Lc);if(Lc&&Sc){var dl;Sc==null||(dl=Sc.focus)===null||dl===void 0||dl.call(Sc,lo)}}}});var ku=(0,fe.Z)(Ks||[],{value:Sa,postState:function(lo){return Array.isArray(lo)?lo:lo==null?ji:[lo]}}),qu=(0,Oe.Z)(ku,2),Hc=qu[0],Cu=qu[1],nA=function(lo){if(vo){var fi=lo.key,To=Hc.includes(fi),ds;Oo?To?ds=Hc.filter(function(gu){return gu!==fi}):ds=[].concat((0,ft.Z)(Hc),[fi]):ds=[fi],Cu(ds);var mu=(0,He.Z)((0,He.Z)({},lo),{},{selectedKeys:ds});To?Co==null||Co(mu):ga==null||ga(mu)}!Oo&&Or.length&&tl!=="inline"&&ca(ji)},kd=kt(function(ki){vi==null||vi(Tr(ki)),nA(ki)}),gd=kt(function(ki,lo){var fi=Or.filter(function(ds){return ds!==ki});if(lo)fi.push(ki);else if(tl!=="inline"){var To=Xl(ki);fi=fi.filter(function(ds){return!To.has(ds)})}(0,Ke.Z)(Or,fi,!0)||ca(fi,!0)}),uf=function(lo,fi){var To=fi!=null?fi:!Or.includes(lo);gd(lo,To)},ud=oe(tl,Gl,wr,Dn,On,bs,ys,ic,uf,Ia);_e.useEffect(function(){vr(!0)},[]);var pA=_e.useMemo(function(){return{_internalRenderMenuItem:ya,_internalRenderSubMenuItem:No}},[ya,No]),lc=tl!=="horizontal"||no?cs:cs.map(function(ki,lo){return _e.createElement(We,{key:ki.key,overflowDisabled:lo>Pl},ki)}),_d=_e.createElement(xe.Z,(0,he.Z)({id:ho,ref:On,prefixCls:"".concat(Fr,"-overflow"),component:"ul",itemComponent:mi,className:Ae()(Fr,"".concat(Fr,"-root"),"".concat(Fr,"-").concat(tl),Ti,(jr={},(0,Me.Z)(jr,"".concat(Fr,"-inline-collapsed"),wl),(0,Me.Z)(jr,"".concat(Fr,"-rtl"),wr),jr),si),dir:Fa,style:bi,role:"menu",tabIndex:Ka,data:lc,renderRawItem:function(lo){return lo},renderRawRest:function(lo){var fi=lo.length,To=fi?cs.slice(-fi):null;return _e.createElement(_n,{eventKey:Pt,title:Ln,disabled:ml,internalPopupClose:fi===0,popupClassName:In},To)},maxCount:tl!=="horizontal"||no?xe.Z.INVALIDATE:xe.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(lo){Tl(lo)},onKeyDown:ud},Vo));return _e.createElement(Lt.Provider,{value:pA},_e.createElement(Qe.Provider,{value:Dn},_e.createElement(We,{prefixCls:Fr,rootClassName:si,mode:tl,openKeys:Or,rtl:wr,disabled:za,motion:Ss?Js:null,defaultMotions:Ss?Os:null,activeKey:Gl,onActive:Xc,onInactive:Jl,selectedKeys:Hc,inlineIndent:Es,subMenuOpenDelay:xo,subMenuCloseDelay:Va,forceSubMenuRender:Ii,builtinPlacements:ol,triggerSubMenuAction:as,getPopupContainer:Er,itemIcon:fa,expandIcon:la,onItemClick:kd,onOpenChange:gd},_e.createElement(Ct.Provider,{value:kl},_d),_e.createElement("div",{style:{display:"none"},"aria-hidden":!0},_e.createElement(et.Provider,{value:gl},cs)))))}),Ca=Mi,Jr=Ca;Jr.Item=mi,Jr.SubMenu=_n,Jr.ItemGroup=Ur,Jr.Divider=ei;var ra=Jr},83836:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Tt}});var he=de(60499),Me=de(85899),He=de(72190),ft=de(42244),Oe=de(59301),Le=de(92310),ve=de.n(Le),Ae=de(29301),xe=de(34280),fe=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ke=void 0;function Be(wt,it){var Ue=wt.prefixCls,at=wt.invalidate,Xt=wt.item,Vt=wt.renderItem,xt=wt.responsive,Qt=wt.responsiveDisabled,An=wt.registerSize,Tn=wt.itemKey,dn=wt.className,Gn=wt.style,Cn=wt.children,mn=wt.display,Bn=wt.order,Se=wt.component,Fe=Se===void 0?"div":Se,ie=(0,ft.Z)(wt,fe),ae=xt&&!mn;function se(lt){An(Tn,lt)}Oe.useEffect(function(){return function(){se(null)}},[]);var oe=Vt&&Xt!==Ke?Vt(Xt,{index:Bn}):Cn,Je;at||(Je={opacity:ae?0:1,height:ae?0:Ke,overflowY:ae?"hidden":Ke,order:xt?Bn:Ke,pointerEvents:ae?"none":Ke,position:ae?"absolute":Ke});var vt={};ae&&(vt["aria-hidden"]=!0);var $e=Oe.createElement(Fe,(0,he.Z)({className:ve()(!at&&Ue,dn),style:(0,Me.Z)((0,Me.Z)({},Je),Gn)},vt,ie,{ref:it}),oe);return xt&&($e=Oe.createElement(Ae.Z,{onResize:function(Pt){var _t=Pt.offsetWidth;se(_t)},disabled:Qt},$e)),$e}var _e=Oe.forwardRef(Be);_e.displayName="Item";var Ne=_e,Qe=de(6089),ke=de(4676),Pe=de(16089);function Te(wt){if(typeof MessageChannel=="undefined")(0,Pe.Z)(wt);else{var it=new MessageChannel;it.port1.onmessage=function(){return wt()},it.port2.postMessage(void 0)}}function Ye(){var wt=Oe.useRef(null),it=function(at){wt.current||(wt.current=[],Te(function(){(0,ke.unstable_batchedUpdates)(function(){wt.current.forEach(function(Xt){Xt()}),wt.current=null})})),wt.current.push(at)};return it}function ze(wt,it){var Ue=Oe.useState(it),at=(0,He.Z)(Ue,2),Xt=at[0],Vt=at[1],xt=(0,Qe.Z)(function(Qt){wt(function(){Vt(Qt)})});return[Xt,xt]}var qe=Oe.createContext(null),We=["component"],Ze=["className"],et=["className"],rt=function(it,Ue){var at=Oe.useContext(qe);if(!at){var Xt=it.component,Vt=Xt===void 0?"div":Xt,xt=(0,ft.Z)(it,We);return Oe.createElement(Vt,(0,he.Z)({},xt,{ref:Ue}))}var Qt=at.className,An=(0,ft.Z)(at,Ze),Tn=it.className,dn=(0,ft.Z)(it,et);return Oe.createElement(qe.Provider,{value:null},Oe.createElement(Ne,(0,he.Z)({ref:Ue,className:ve()(Qt,Tn)},An,dn)))},ht=Oe.forwardRef(rt);ht.displayName="RawItem";var dt=ht,Ct=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Xe="responsive",Lt="invalidate";function Re(wt){return"+ ".concat(wt.length," ...")}function Ht(wt,it){var Ue=wt.prefixCls,at=Ue===void 0?"rc-overflow":Ue,Xt=wt.data,Vt=Xt===void 0?[]:Xt,xt=wt.renderItem,Qt=wt.renderRawItem,An=wt.itemKey,Tn=wt.itemWidth,dn=Tn===void 0?10:Tn,Gn=wt.ssr,Cn=wt.style,mn=wt.className,Bn=wt.maxCount,Se=wt.renderRest,Fe=wt.renderRawRest,ie=wt.prefix,ae=wt.suffix,se=wt.component,oe=se===void 0?"div":se,Je=wt.itemComponent,vt=wt.onVisibleChange,$e=(0,ft.Z)(wt,Ct),lt=Gn==="full",Pt=Ye(),_t=ze(Pt,null),kt=(0,He.Z)(_t,2),$t=kt[0],Sn=kt[1],St=$t||0,nn=ze(Pt,new Map),tn=(0,He.Z)(nn,2),jt=tn[0],pt=tn[1],Zt=ze(Pt,0),gn=(0,He.Z)(Zt,2),wn=gn[0],Xn=gn[1],yr=ze(Pt,0),Dr=(0,He.Z)(yr,2),Tr=Dr[0],Rr=Dr[1],Sr=ze(Pt,0),fr=(0,He.Z)(Sr,2),Vr=fr[0],Bi=fr[1],yi=ze(Pt,0),mi=(0,He.Z)(yi,2),Vi=mi[0],ua=mi[1],Wr=(0,Oe.useState)(null),Mn=(0,He.Z)(Wr,2),ea=Mn[0],Ea=Mn[1],wo=(0,Oe.useState)(null),sa=(0,He.Z)(wo,2),Pi=sa[0],Aa=sa[1],Si=Oe.useMemo(function(){return Pi===null&&lt?Number.MAX_SAFE_INTEGER:Pi||0},[Pi,$t]),qr=(0,Oe.useState)(!1),Ma=(0,He.Z)(qr,2),kn=Ma[0],Dt=Ma[1],Gt="".concat(at,"-item"),Wt=Math.max(wn,Tr),Kt=Bn===Xe,on=Vt.length&&Kt,_n=Bn===Lt,lr=on||typeof Bn=="number"&&Vt.length>Bn,nr=(0,Oe.useMemo)(function(){var Ir=Vt;return on?$t===null&&lt?Ir=Vt:Ir=Vt.slice(0,Math.min(Vt.length,St/dn)):typeof Bn=="number"&&(Ir=Vt.slice(0,Bn)),Ir},[Vt,dn,$t,Bn,on]),dr=(0,Oe.useMemo)(function(){return on?Vt.slice(Si+1):Vt.slice(nr.length)},[Vt,nr,on,Si]),Pr=(0,Oe.useCallback)(function(Ir,Fr){var si;return typeof An=="function"?An(Ir):(si=An&&(Ir==null?void 0:Ir[An]))!==null&&si!==void 0?si:Fr},[An]),Ur=(0,Oe.useCallback)(xt||function(Ir){return Ir},[xt]);function ei(Ir,Fr,si){Pi===Ir&&(Fr===void 0||Fr===ea)||(Aa(Ir),si||(Dt(Ir<Vt.length-1),vt==null||vt(Ir)),Fr!==void 0&&Ea(Fr))}function er(Ir,Fr){Sn(Fr.clientWidth)}function kr(Ir,Fr){pt(function(si){var bi=new Map(si);return Fr===null?bi.delete(Ir):bi.set(Ir,Fr),bi})}function _i(Ir,Fr){Rr(Fr),Xn(Tr)}function gi(Ir,Fr){Bi(Fr)}function ji(Ir,Fr){ua(Fr)}function Mi(Ir){return jt.get(Pr(nr[Ir],Ir))}(0,xe.Z)(function(){if(St&&typeof Wt=="number"&&nr){var Ir=Vr+Vi,Fr=nr.length,si=Fr-1;if(!Fr){ei(0,null);return}for(var bi=0;bi<Fr;bi+=1){var Ti=Mi(bi);if(lt&&(Ti=Ti||0),Ti===void 0){ei(bi-1,void 0,!0);break}if(Ir+=Ti,si===0&&Ir<=St||bi===si-1&&Ir+Mi(si)<=St){ei(si,null);break}else if(Ir+Wt>St){ei(bi-1,Ir-Ti-Vi+Tr);break}}ae&&Mi(0)+Vi>St&&Ea(null)}},[St,jt,Tr,Vr,Vi,Pr,nr]);var Ca=kn&&!!dr.length,Jr={};ea!==null&&on&&(Jr={position:"absolute",left:ea,top:0});var ra={prefixCls:Gt,responsive:on,component:Je,invalidate:_n},vn=Qt?function(Ir,Fr){var si=Pr(Ir,Fr);return Oe.createElement(qe.Provider,{key:si,value:(0,Me.Z)((0,Me.Z)({},ra),{},{order:Fr,item:Ir,itemKey:si,registerSize:kr,display:Fr<=Si})},Qt(Ir,Fr))}:function(Ir,Fr){var si=Pr(Ir,Fr);return Oe.createElement(Ne,(0,he.Z)({},ra,{order:Fr,key:si,item:Ir,renderItem:Ur,itemKey:si,registerSize:kr,display:Fr<=Si}))},gr={order:Ca?Si:Number.MAX_SAFE_INTEGER,className:"".concat(Gt,"-rest"),registerSize:_i,display:Ca},Ar=Se||Re,jr=Fe?Oe.createElement(qe.Provider,{value:(0,Me.Z)((0,Me.Z)({},ra),gr)},Fe(dr)):Oe.createElement(Ne,(0,he.Z)({},ra,gr),typeof Ar=="function"?Ar(dr):Ar),br=Oe.createElement(oe,(0,he.Z)({className:ve()(!_n&&at,mn),style:Cn,ref:it},$e),ie&&Oe.createElement(Ne,(0,he.Z)({},ra,{responsive:Kt,responsiveDisabled:!on,order:-1,className:"".concat(Gt,"-prefix"),registerSize:gi,display:!0}),ie),nr.map(vn),lr?jr:null,ae&&Oe.createElement(Ne,(0,he.Z)({},ra,{responsive:Kt,responsiveDisabled:!on,order:Si,className:"".concat(Gt,"-suffix"),registerSize:ji,display:!0,style:Jr}),ae));return Kt?Oe.createElement(Ae.Z,{onResize:er,disabled:!on},br):br}var Et=Oe.forwardRef(Ht);Et.displayName="Overflow",Et.Item=dt,Et.RESPONSIVE=Xe,Et.INVALIDATE=Lt;var bt=Et,Tt=bt},91735:function(Qn,Yt){"use strict";Yt.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(Qn,Yt,de){"use strict";de.d(Yt,{ZP:function(){return ve}});var he=de(72190),Me=de(59301),He=de(47273),ft=0,Oe=(0,He.Z)();function Le(){var Ae;return Oe?(Ae=ft,ft+=1):Ae="TEST_OR_SSR",Ae}function ve(Ae){var xe=Me.useState(),fe=(0,he.Z)(xe,2),Ke=fe[0],Be=fe[1];return Me.useEffect(function(){Be("rc_select_".concat(Le()))},[]),Ae||Ke}},77861:function(Qn,Yt,de){"use strict";de.d(Yt,{Ac:function(){return $t},Xo:function(){return Tr},Wx:function(){return Sr},ZP:function(){return Gt},lk:function(){return qe}});var he=de(60499),Me=de(77654),He=de(18642),ft=de(85899),Oe=de(72190),Le=de(42244),ve=de(43749),Ae=de(18929),xe=de(48736),fe=de(59301),Ke=de(92310),Be=de.n(Ke),_e=de(34280),Ne=de(49658),Qe=de(10228),ke=de(8654),Pe=function(Kt){var on=Kt.className,_n=Kt.customizeIcon,lr=Kt.customizeIconProps,nr=Kt.onMouseDown,dr=Kt.onClick,Pr=Kt.children,Ur;return typeof _n=="function"?Ur=_n(lr):Ur=_n,fe.createElement("span",{className:on,onMouseDown:function(er){er.preventDefault(),nr&&nr(er)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:dr,"aria-hidden":!0},Ur!==void 0?Ur:fe.createElement("span",{className:Be()(on.split(/\s+/).map(function(ei){return"".concat(ei,"-icon")}))},Pr))},Te=Pe;function Ye(Wt,Kt,on,_n,lr){var nr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,dr=arguments.length>6?arguments[6]:void 0,Pr=arguments.length>7?arguments[7]:void 0,Ur=fe.useMemo(function(){if((0,ve.Z)(_n)==="object")return _n.clearIcon;if(lr)return lr},[_n,lr]),ei=fe.useMemo(function(){return!!(!nr&&_n&&(on.length||dr)&&!(Pr==="combobox"&&dr===""))},[_n,nr,on.length,dr,Pr]);return{allowClear:ei,clearIcon:fe.createElement(Te,{className:"".concat(Wt,"-clear"),onMouseDown:Kt,customizeIcon:Ur},"\xD7")}}var ze=fe.createContext(null);function qe(){return fe.useContext(ze)}function We(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Kt=fe.useState(!1),on=(0,Oe.Z)(Kt,2),_n=on[0],lr=on[1],nr=fe.useRef(null),dr=function(){window.clearTimeout(nr.current)};fe.useEffect(function(){return dr},[]);var Pr=function(ei,er){dr(),nr.current=window.setTimeout(function(){lr(ei),er&&er()},Wt)};return[_n,Pr,dr]}function Ze(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Kt=fe.useRef(null),on=fe.useRef(null);fe.useEffect(function(){return function(){window.clearTimeout(on.current)}},[]);function _n(lr){(lr||Kt.current===null)&&(Kt.current=lr),window.clearTimeout(on.current),on.current=window.setTimeout(function(){Kt.current=null},Wt)}return[function(){return Kt.current},_n]}function et(Wt,Kt,on,_n){var lr=fe.useRef(null);lr.current={open:Kt,triggerOpen:on,customizedTrigger:_n},fe.useEffect(function(){function nr(dr){var Pr;if(!((Pr=lr.current)!==null&&Pr!==void 0&&Pr.customizedTrigger)){var Ur=dr.target;Ur.shadowRoot&&dr.composed&&(Ur=dr.composedPath()[0]||Ur),lr.current.open&&Wt().filter(function(ei){return ei}).every(function(ei){return!ei.contains(Ur)&&ei!==Ur})&&lr.current.triggerOpen(!1)}}return window.addEventListener("mousedown",nr),function(){return window.removeEventListener("mousedown",nr)}},[])}var rt=de(26112),ht=de(83836),dt=function(Kt,on){var _n,lr,nr=Kt.prefixCls,dr=Kt.id,Pr=Kt.inputElement,Ur=Kt.disabled,ei=Kt.tabIndex,er=Kt.autoFocus,kr=Kt.autoComplete,_i=Kt.editable,gi=Kt.activeDescendantId,ji=Kt.value,Mi=Kt.maxLength,Ca=Kt.onKeyDown,Jr=Kt.onMouseDown,ra=Kt.onChange,vn=Kt.onPaste,gr=Kt.onCompositionStart,Ar=Kt.onCompositionEnd,jr=Kt.open,br=Kt.attrs,Ir=Pr||fe.createElement("input",null),Fr=Ir,si=Fr.ref,bi=Fr.props,Ti=bi.onKeyDown,Pa=bi.onChange,Ka=bi.onMouseDown,$a=bi.onCompositionStart,Ua=bi.onCompositionEnd,Fa=bi.style;return(0,xe.Kp)(!("maxLength"in Ir.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ir=fe.cloneElement(Ir,(0,ft.Z)((0,ft.Z)((0,ft.Z)({type:"search"},bi),{},{id:dr,ref:(0,ke.sQ)(on,si),disabled:Ur,tabIndex:ei,autoComplete:kr||"off",autoFocus:er,className:Be()("".concat(nr,"-selection-search-input"),(_n=Ir)===null||_n===void 0||(lr=_n.props)===null||lr===void 0?void 0:lr.className),role:"combobox","aria-label":"Search","aria-expanded":jr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(dr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(dr,"_list"),"aria-activedescendant":jr?gi:void 0},br),{},{value:_i?ji:"",maxLength:Mi,readOnly:!_i,unselectable:_i?null:"on",style:(0,ft.Z)((0,ft.Z)({},Fa),{},{opacity:_i?null:0}),onKeyDown:function(oo){Ca(oo),Ti&&Ti(oo)},onMouseDown:function(oo){Jr(oo),Ka&&Ka(oo)},onChange:function(oo){ra(oo),Pa&&Pa(oo)},onCompositionStart:function(oo){gr(oo),$a&&$a(oo)},onCompositionEnd:function(oo){Ar(oo),Ua&&Ua(oo)},onPaste:vn})),Ir},Ct=fe.forwardRef(dt);Ct.displayName="Input";var Xe=Ct;function Lt(Wt){return Array.isArray(Wt)?Wt:Wt!==void 0?[Wt]:[]}var Re=typeof window!="undefined"&&window.document&&window.document.documentElement,Ht=Re;function Et(Wt){return Wt!=null}function bt(Wt){return!Wt&&Wt!==0}function Tt(Wt){return["string","number"].includes((0,ve.Z)(Wt))}function wt(Wt){var Kt=void 0;return Wt&&(Tt(Wt.title)?Kt=Wt.title.toString():Tt(Wt.label)&&(Kt=Wt.label.toString())),Kt}function it(Wt,Kt){Ht?fe.useLayoutEffect(Wt,Kt):fe.useEffect(Wt,Kt)}function Ue(Wt){var Kt;return(Kt=Wt.key)!==null&&Kt!==void 0?Kt:Wt.value}var at=function(Kt){Kt.preventDefault(),Kt.stopPropagation()},Xt=function(Kt){var on=Kt.id,_n=Kt.prefixCls,lr=Kt.values,nr=Kt.open,dr=Kt.searchValue,Pr=Kt.autoClearSearchValue,Ur=Kt.inputRef,ei=Kt.placeholder,er=Kt.disabled,kr=Kt.mode,_i=Kt.showSearch,gi=Kt.autoFocus,ji=Kt.autoComplete,Mi=Kt.activeDescendantId,Ca=Kt.tabIndex,Jr=Kt.removeIcon,ra=Kt.maxTagCount,vn=Kt.maxTagTextLength,gr=Kt.maxTagPlaceholder,Ar=gr===void 0?function(Lo){return"+ ".concat(Lo.length," ...")}:gr,jr=Kt.tagRender,br=Kt.onToggleOpen,Ir=Kt.onRemove,Fr=Kt.onInputChange,si=Kt.onInputPaste,bi=Kt.onInputKeyDown,Ti=Kt.onInputMouseDown,Pa=Kt.onInputCompositionStart,Ka=Kt.onInputCompositionEnd,$a=fe.useRef(null),Ua=(0,fe.useState)(0),Fa=(0,Oe.Z)(Ua,2),ho=Fa[0],oo=Fa[1],ta=(0,fe.useState)(!1),ui=(0,Oe.Z)(ta,2),za=ui[0],no=ui[1],La="".concat(_n,"-selection"),xo=nr||kr==="multiple"&&Pr===!1||kr==="tags"?dr:"",os=kr==="tags"||kr==="multiple"&&Pr===!1||_i&&(nr||za);it(function(){oo($a.current.scrollWidth)},[xo]);function Va(Lo,vo,jn,Oo,Ks){return fe.createElement("span",{className:Be()("".concat(La,"-item"),(0,He.Z)({},"".concat(La,"-item-disabled"),jn)),title:wt(Lo)},fe.createElement("span",{className:"".concat(La,"-item-content")},vo),Oo&&fe.createElement(Te,{className:"".concat(La,"-item-remove"),onMouseDown:at,onClick:Ks,customizeIcon:Jr},"\xD7"))}function Ii(Lo,vo,jn,Oo,Ks){var Sa=function(Co){at(Co),br(!nr)};return fe.createElement("span",{onMouseDown:Sa},jr({label:vo,value:Lo,disabled:jn,closable:Oo,onClose:Ks}))}function Ci(Lo){var vo=Lo.disabled,jn=Lo.label,Oo=Lo.value,Ks=!er&&!vo,Sa=jn;if(typeof vn=="number"&&(typeof jn=="string"||typeof jn=="number")){var ga=String(Sa);ga.length>vn&&(Sa="".concat(ga.slice(0,vn),"..."))}var Co=function(Es){Es&&Es.stopPropagation(),Ir(Lo)};return typeof jr=="function"?Ii(Oo,Sa,vo,Ks,Co):Va(Lo,Sa,vo,Ks,Co)}function Ha(Lo){var vo=typeof Ar=="function"?Ar(Lo):Ar;return Va({title:vo},vo,!1)}var Oa=fe.createElement("div",{className:"".concat(La,"-search"),style:{width:ho},onFocus:function(){no(!0)},onBlur:function(){no(!1)}},fe.createElement(Xe,{ref:Ur,open:nr,prefixCls:_n,id:on,inputElement:null,disabled:er,autoFocus:gi,autoComplete:ji,editable:os,activeDescendantId:Mi,value:xo,onKeyDown:bi,onMouseDown:Ti,onChange:Fr,onPaste:si,onCompositionStart:Pa,onCompositionEnd:Ka,tabIndex:Ca,attrs:(0,rt.Z)(Kt,!0)}),fe.createElement("span",{ref:$a,className:"".concat(La,"-search-mirror"),"aria-hidden":!0},xo,"\xA0")),eo=fe.createElement(ht.Z,{prefixCls:"".concat(La,"-overflow"),data:lr,renderItem:Ci,renderRest:Ha,suffix:Oa,itemKey:Ue,maxCount:ra});return fe.createElement(fe.Fragment,null,eo,!lr.length&&!xo&&fe.createElement("span",{className:"".concat(La,"-placeholder")},ei))},Vt=Xt,xt=function(Kt){var on=Kt.inputElement,_n=Kt.prefixCls,lr=Kt.id,nr=Kt.inputRef,dr=Kt.disabled,Pr=Kt.autoFocus,Ur=Kt.autoComplete,ei=Kt.activeDescendantId,er=Kt.mode,kr=Kt.open,_i=Kt.values,gi=Kt.placeholder,ji=Kt.tabIndex,Mi=Kt.showSearch,Ca=Kt.searchValue,Jr=Kt.activeValue,ra=Kt.maxLength,vn=Kt.onInputKeyDown,gr=Kt.onInputMouseDown,Ar=Kt.onInputChange,jr=Kt.onInputPaste,br=Kt.onInputCompositionStart,Ir=Kt.onInputCompositionEnd,Fr=Kt.title,si=fe.useState(!1),bi=(0,Oe.Z)(si,2),Ti=bi[0],Pa=bi[1],Ka=er==="combobox",$a=Ka||Mi,Ua=_i[0],Fa=Ca||"";Ka&&Jr&&!Ti&&(Fa=Jr),fe.useEffect(function(){Ka&&Pa(!1)},[Ka,Jr]);var ho=er!=="combobox"&&!kr&&!Mi?!1:!!Fa,oo=Fr===void 0?wt(Ua):Fr,ta=function(){if(Ua)return null;var za=ho?{visibility:"hidden"}:void 0;return fe.createElement("span",{className:"".concat(_n,"-selection-placeholder"),style:za},gi)};return fe.createElement(fe.Fragment,null,fe.createElement("span",{className:"".concat(_n,"-selection-search")},fe.createElement(Xe,{ref:nr,prefixCls:_n,id:lr,open:kr,inputElement:on,disabled:dr,autoFocus:Pr,autoComplete:Ur,editable:$a,activeDescendantId:ei,value:Fa,onKeyDown:vn,onMouseDown:gr,onChange:function(za){Pa(!0),Ar(za)},onPaste:jr,onCompositionStart:br,onCompositionEnd:Ir,tabIndex:ji,attrs:(0,rt.Z)(Kt,!0),maxLength:Ka?ra:void 0})),!Ka&&Ua?fe.createElement("span",{className:"".concat(_n,"-selection-item"),title:oo,style:ho?{visibility:"hidden"}:void 0},Ua.label):null,ta())},Qt=xt;function An(Wt){return![Qe.Z.ESC,Qe.Z.SHIFT,Qe.Z.BACKSPACE,Qe.Z.TAB,Qe.Z.WIN_KEY,Qe.Z.ALT,Qe.Z.META,Qe.Z.WIN_KEY_RIGHT,Qe.Z.CTRL,Qe.Z.SEMICOLON,Qe.Z.EQUALS,Qe.Z.CAPS_LOCK,Qe.Z.CONTEXT_MENU,Qe.Z.F1,Qe.Z.F2,Qe.Z.F3,Qe.Z.F4,Qe.Z.F5,Qe.Z.F6,Qe.Z.F7,Qe.Z.F8,Qe.Z.F9,Qe.Z.F10,Qe.Z.F11,Qe.Z.F12].includes(Wt)}var Tn=function(Kt,on){var _n=(0,fe.useRef)(null),lr=(0,fe.useRef)(!1),nr=Kt.prefixCls,dr=Kt.open,Pr=Kt.mode,Ur=Kt.showSearch,ei=Kt.tokenWithEnter,er=Kt.autoClearSearchValue,kr=Kt.onSearch,_i=Kt.onSearchSubmit,gi=Kt.onToggleOpen,ji=Kt.onInputKeyDown,Mi=Kt.domRef;fe.useImperativeHandle(on,function(){return{focus:function(){_n.current.focus()},blur:function(){_n.current.blur()}}});var Ca=Ze(0),Jr=(0,Oe.Z)(Ca,2),ra=Jr[0],vn=Jr[1],gr=function(Fa){var ho=Fa.which;(ho===Qe.Z.UP||ho===Qe.Z.DOWN)&&Fa.preventDefault(),ji&&ji(Fa),ho===Qe.Z.ENTER&&Pr==="tags"&&!lr.current&&!dr&&(_i==null||_i(Fa.target.value)),An(ho)&&gi(!0)},Ar=function(){vn(!0)},jr=(0,fe.useRef)(null),br=function(Fa){kr(Fa,!0,lr.current)!==!1&&gi(!0)},Ir=function(){lr.current=!0},Fr=function(Fa){lr.current=!1,Pr!=="combobox"&&br(Fa.target.value)},si=function(Fa){var ho=Fa.target.value;if(ei&&jr.current&&/[\r\n]/.test(jr.current)){var oo=jr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ho=ho.replace(oo,jr.current)}jr.current=null,br(ho)},bi=function(Fa){var ho=Fa.clipboardData,oo=ho.getData("text");jr.current=oo},Ti=function(Fa){var ho=Fa.target;if(ho!==_n.current){var oo=document.body.style.msTouchAction!==void 0;oo?setTimeout(function(){_n.current.focus()}):_n.current.focus()}},Pa=function(Fa){var ho=ra();Fa.target!==_n.current&&!ho&&Pr!=="combobox"&&Fa.preventDefault(),(Pr!=="combobox"&&(!Ur||!ho)||!dr)&&(dr&&er!==!1&&kr("",!0,!1),gi())},Ka={inputRef:_n,onInputKeyDown:gr,onInputMouseDown:Ar,onInputChange:si,onInputPaste:bi,onInputCompositionStart:Ir,onInputCompositionEnd:Fr},$a=Pr==="multiple"||Pr==="tags"?fe.createElement(Vt,(0,he.Z)({},Kt,Ka)):fe.createElement(Qt,(0,he.Z)({},Kt,Ka));return fe.createElement("div",{ref:Mi,className:"".concat(nr,"-selector"),onClick:Ti,onMouseDown:Pa},$a)},dn=fe.forwardRef(Tn);dn.displayName="Selector";var Gn=dn,Cn=de(35593),mn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Bn=function(Kt){var on=Kt===!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(Kt,on){var _n=Kt.prefixCls,lr=Kt.disabled,nr=Kt.visible,dr=Kt.children,Pr=Kt.popupElement,Ur=Kt.animation,ei=Kt.transitionName,er=Kt.dropdownStyle,kr=Kt.dropdownClassName,_i=Kt.direction,gi=_i===void 0?"ltr":_i,ji=Kt.placement,Mi=Kt.builtinPlacements,Ca=Kt.dropdownMatchSelectWidth,Jr=Kt.dropdownRender,ra=Kt.dropdownAlign,vn=Kt.getPopupContainer,gr=Kt.empty,Ar=Kt.getTriggerDOMNode,jr=Kt.onPopupVisibleChange,br=Kt.onPopupMouseEnter,Ir=(0,Le.Z)(Kt,mn),Fr="".concat(_n,"-dropdown"),si=Pr;Jr&&(si=Jr(Pr));var bi=fe.useMemo(function(){return Mi||Bn(Ca)},[Mi,Ca]),Ti=Ur?"".concat(Fr,"-").concat(Ur):ei,Pa=typeof Ca=="number",Ka=fe.useMemo(function(){return Pa?null:Ca===!1?"minWidth":"width"},[Ca,Pa]),$a=er;Pa&&($a=(0,ft.Z)((0,ft.Z)({},$a),{},{width:Ca}));var Ua=fe.useRef(null);return fe.useImperativeHandle(on,function(){return{getPopupElement:function(){return Ua.current}}}),fe.createElement(Cn.Z,(0,he.Z)({},Ir,{showAction:jr?["click"]:[],hideAction:jr?["click"]:[],popupPlacement:ji||(gi==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:bi,prefixCls:Fr,popupTransitionName:Ti,popup:fe.createElement("div",{ref:Ua,onMouseEnter:br},si),stretch:Ka,popupAlign:ra,popupVisible:nr,getPopupContainer:vn,popupClassName:Be()(kr,(0,He.Z)({},"".concat(Fr,"-empty"),gr)),popupStyle:$a,getTriggerDOMNode:Ar,onPopupVisibleChange:jr}),dr)},Fe=fe.forwardRef(Se);Fe.displayName="SelectTrigger";var ie=Fe,ae=de(48745);function se(Wt,Kt){var on=Wt.key,_n;return"value"in Wt&&(_n=Wt.value),on!=null?on:_n!==void 0?_n:"rc-index-key-".concat(Kt)}function oe(Wt,Kt){var on=Wt||{},_n=on.label,lr=on.value,nr=on.options,dr=on.groupLabel,Pr=_n||(Kt?"children":"label");return{label:Pr,value:lr||"value",options:nr||"options",groupLabel:dr||Pr}}function Je(Wt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=Kt.fieldNames,_n=Kt.childrenAsData,lr=[],nr=oe(on,!1),dr=nr.label,Pr=nr.value,Ur=nr.options,ei=nr.groupLabel;function er(kr,_i){kr.forEach(function(gi){if(_i||!(Ur in gi)){var ji=gi[Pr];lr.push({key:se(gi,lr.length),groupOption:_i,data:gi,label:gi[dr],value:ji})}else{var Mi=gi[ei];Mi===void 0&&_n&&(Mi=gi.label),lr.push({key:se(gi,lr.length),group:!0,data:gi,label:Mi}),er(gi[Ur],!0)}})}return er(Wt,!1),lr}function vt(Wt){var Kt=(0,ft.Z)({},Wt);return"props"in Kt||Object.defineProperty(Kt,"props",{get:function(){return(0,xe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Kt}}),Kt}function $e(Wt,Kt){if(!Kt||!Kt.length)return null;var on=!1;function _n(nr,dr){var Pr=(0,ae.Z)(dr),Ur=Pr[0],ei=Pr.slice(1);if(!Ur)return[nr];var er=nr.split(Ur);return on=on||er.length>1,er.reduce(function(kr,_i){return[].concat((0,Me.Z)(kr),(0,Me.Z)(_n(_i,ei)))},[]).filter(function(kr){return kr})}var lr=_n(Wt,Kt);return on?lr: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 _t(Wt){return Wt==="tags"||Wt==="multiple"}var kt=fe.forwardRef(function(Wt,Kt){var on,_n,lr=Wt.id,nr=Wt.prefixCls,dr=Wt.className,Pr=Wt.showSearch,Ur=Wt.tagRender,ei=Wt.direction,er=Wt.omitDomProps,kr=Wt.displayValues,_i=Wt.onDisplayValuesChange,gi=Wt.emptyOptions,ji=Wt.notFoundContent,Mi=ji===void 0?"Not Found":ji,Ca=Wt.onClear,Jr=Wt.mode,ra=Wt.disabled,vn=Wt.loading,gr=Wt.getInputElement,Ar=Wt.getRawInputElement,jr=Wt.open,br=Wt.defaultOpen,Ir=Wt.onDropdownVisibleChange,Fr=Wt.activeValue,si=Wt.onActiveValueChange,bi=Wt.activeDescendantId,Ti=Wt.searchValue,Pa=Wt.autoClearSearchValue,Ka=Wt.onSearch,$a=Wt.onSearchSplit,Ua=Wt.tokenSeparators,Fa=Wt.allowClear,ho=Wt.suffixIcon,oo=Wt.clearIcon,ta=Wt.OptionList,ui=Wt.animation,za=Wt.transitionName,no=Wt.dropdownStyle,La=Wt.dropdownClassName,xo=Wt.dropdownMatchSelectWidth,os=Wt.dropdownRender,Va=Wt.dropdownAlign,Ii=Wt.placement,Ci=Wt.builtinPlacements,Ha=Wt.getPopupContainer,Oa=Wt.showAction,eo=Oa===void 0?[]:Oa,Lo=Wt.onFocus,vo=Wt.onBlur,jn=Wt.onKeyUp,Oo=Wt.onKeyDown,Ks=Wt.onMouseDown,Sa=(0,Le.Z)(Wt,lt),ga=_t(Jr),Co=(Pr!==void 0?Pr:ga)||Jr==="combobox",Fo=(0,ft.Z)({},Sa);Pt.forEach(function(ys){delete Fo[ys]}),er==null||er.forEach(function(ys){delete Fo[ys]});var Es=fe.useState(!1),Js=(0,Oe.Z)(Es,2),Os=Js[0],ps=Js[1];fe.useEffect(function(){ps((0,Ne.Z)())},[]);var as=fe.useRef(null),ol=fe.useRef(null),fa=fe.useRef(null),la=fe.useRef(null),ia=fe.useRef(null),Ln=We(),In=(0,Oe.Z)(Ln,3),Er=In[0],vi=In[1],ha=In[2];fe.useImperativeHandle(Kt,function(){var ys,bs;return{focus:(ys=la.current)===null||ys===void 0?void 0:ys.focus,blur:(bs=la.current)===null||bs===void 0?void 0:bs.blur,scrollTo:function(gl){var kl;return(kl=ia.current)===null||kl===void 0?void 0:kl.scrollTo(gl)}}});var Ia=fe.useMemo(function(){var ys;if(Jr!=="combobox")return Ti;var bs=(ys=kr[0])===null||ys===void 0?void 0:ys.value;return typeof bs=="string"||typeof bs=="number"?String(bs):""},[Ti,Jr,kr]),va=Jr==="combobox"&&typeof gr=="function"&&gr()||null,Ji=typeof Ar=="function"&&Ar(),ya=(0,ke.x1)(ol,Ji==null||(on=Ji.props)===null||on===void 0?void 0:on.ref),No=fe.useState(!1),Vo=(0,Oe.Z)(No,2),cs=Vo[0],Mo=Vo[1];(0,_e.Z)(function(){Mo(!0)},[]);var ul=(0,Ae.Z)(!1,{defaultValue:br,value:jr}),Ss=(0,Oe.Z)(ul,2),vr=Ss[0],On=Ss[1],Dn=cs?vr:!1,wr=!Mi&&gi;(ra||wr&&Dn&&Jr==="combobox")&&(Dn=!1);var ni=wr?!1:Dn,li=fe.useCallback(function(ys){var bs=ys!==void 0?ys:!Dn;ra||(On(bs),Dn!==bs&&(Ir==null||Ir(bs)))},[ra,Dn,On,Ir]),Or=fe.useMemo(function(){return(Ua||[]).some(function(ys){return[`
`,`\r
`].includes(ys)})},[Ua]),Hi=function(bs,Xl,gl){var kl=!0,vl=bs;si==null||si(null);var Vs=gl?null:$e(bs,Ua);return Jr!=="combobox"&&Vs&&(vl="",$a==null||$a(Vs),li(!1),kl=!1),Ka&&Ia!==vl&&Ka(vl,{source:Xl?"typing":"effect"}),kl},ca=function(bs){!bs||!bs.trim()||Ka(bs,{source:"submit"})};fe.useEffect(function(){!Dn&&!ga&&Jr!=="combobox"&&Hi("",!1,!1)},[Dn]),fe.useEffect(function(){vr&&ra&&On(!1),ra&&vi(!1)},[ra]);var uo=Ze(),Wa=(0,Oe.Z)(uo,2),Ki=Wa[0],Na=Wa[1],so=function(bs){var Xl=Ki(),gl=bs.which;if(gl===Qe.Z.ENTER&&(Jr!=="combobox"&&bs.preventDefault(),Dn||li(!0)),Na(!!Ia),gl===Qe.Z.BACKSPACE&&!Xl&&ga&&!Ia&&kr.length){for(var kl=(0,Me.Z)(kr),vl=null,Vs=kl.length-1;Vs>=0;Vs-=1){var Gl=kl[Vs];if(!Gl.disabled){kl.splice(Vs,1),vl=Gl;break}}vl&&_i(kl,{type:"remove",values:[vl]})}for(var ic=arguments.length,Xc=new Array(ic>1?ic-1:0),Jl=1;Jl<ic;Jl++)Xc[Jl-1]=arguments[Jl];if(Dn&&ia.current){var ku;(ku=ia.current).onKeyDown.apply(ku,[bs].concat(Xc))}Oo==null||Oo.apply(void 0,[bs].concat(Xc))},rr=function(bs){for(var Xl=arguments.length,gl=new Array(Xl>1?Xl-1:0),kl=1;kl<Xl;kl++)gl[kl-1]=arguments[kl];if(Dn&&ia.current){var vl;(vl=ia.current).onKeyUp.apply(vl,[bs].concat(gl))}jn==null||jn.apply(void 0,[bs].concat(gl))},Kn=function(bs){var Xl=kr.filter(function(gl){return gl!==bs});_i(Xl,{type:"remove",values:[bs]})},Ja=fe.useRef(!1),pa=function(){vi(!0),ra||(Lo&&!Ja.current&&Lo.apply(void 0,arguments),eo.includes("focus")&&li(!0)),Ja.current=!0},ka=function(){vi(!1,function(){Ja.current=!1,li(!1)}),!ra&&(Ia&&(Jr==="tags"?Ka(Ia,{source:"submit"}):Jr==="multiple"&&Ka("",{source:"blur"})),vo&&vo.apply(void 0,arguments))},ss=[];fe.useEffect(function(){return function(){ss.forEach(function(ys){return clearTimeout(ys)}),ss.splice(0,ss.length)}},[]);var qs=function(bs){var Xl,gl=bs.target,kl=(Xl=fa.current)===null||Xl===void 0?void 0:Xl.getPopupElement();if(kl&&kl.contains(gl)){var vl=setTimeout(function(){var Xc=ss.indexOf(vl);if(Xc!==-1&&ss.splice(Xc,1),ha(),!Os&&!kl.contains(document.activeElement)){var Jl;(Jl=la.current)===null||Jl===void 0||Jl.focus()}});ss.push(vl)}for(var Vs=arguments.length,Gl=new Array(Vs>1?Vs-1:0),ic=1;ic<Vs;ic++)Gl[ic-1]=arguments[ic];Ks==null||Ks.apply(void 0,[bs].concat(Gl))},tl=fe.useState({}),eu=(0,Oe.Z)(tl,2),nu=eu[1];function Fu(){nu({})}var wl;Ji&&(wl=function(bs){li(bs)}),et(function(){var ys;return[as.current,(ys=fa.current)===null||ys===void 0?void 0:ys.getPopupElement()]},ni,li,!!Ji);var Vl=fe.useMemo(function(){return(0,ft.Z)((0,ft.Z)({},Wt),{},{notFoundContent:Mi,open:Dn,triggerOpen:ni,id:lr,showSearch:Co,multiple:ga,toggleOpen:li})},[Wt,Mi,ni,Dn,lr,Co,ga,li]),Io=!!ho||vn,Xo;Io&&(Xo=fe.createElement(Te,{className:Be()("".concat(nr,"-arrow"),(0,He.Z)({},"".concat(nr,"-arrow-loading"),vn)),customizeIcon:ho,customizeIconProps:{loading:vn,searchValue:Ia,open:Dn,focused:Er,showSearch:Co}}));var Pl=function(){var bs;Ca==null||Ca(),(bs=la.current)===null||bs===void 0||bs.focus(),_i([],{type:"clear",values:kr}),Hi("",!1,!1)},Tl=Ye(nr,Pl,kr,Fa,oo,ra,Ia,Jr),ml=Tl.allowClear,Wo=Tl.clearIcon,js=fe.createElement(ta,{ref:ia}),zu=Be()(nr,dr,(_n={},(0,He.Z)(_n,"".concat(nr,"-focused"),Er),(0,He.Z)(_n,"".concat(nr,"-multiple"),ga),(0,He.Z)(_n,"".concat(nr,"-single"),!ga),(0,He.Z)(_n,"".concat(nr,"-allow-clear"),Fa),(0,He.Z)(_n,"".concat(nr,"-show-arrow"),Io),(0,He.Z)(_n,"".concat(nr,"-disabled"),ra),(0,He.Z)(_n,"".concat(nr,"-loading"),vn),(0,He.Z)(_n,"".concat(nr,"-open"),Dn),(0,He.Z)(_n,"".concat(nr,"-customize-input"),va),(0,He.Z)(_n,"".concat(nr,"-show-search"),Co),_n)),mc=fe.createElement(ie,{ref:fa,disabled:ra,prefixCls:nr,visible:ni,popupElement:js,animation:ui,transitionName:za,dropdownStyle:no,dropdownClassName:La,direction:ei,dropdownMatchSelectWidth:xo,dropdownRender:os,dropdownAlign:Va,placement:Ii,builtinPlacements:Ci,getPopupContainer:Ha,empty:gi,getTriggerDOMNode:function(){return ol.current},onPopupVisibleChange:wl,onPopupMouseEnter:Fu},Ji?fe.cloneElement(Ji,{ref:ya}):fe.createElement(Gn,(0,he.Z)({},Wt,{domRef:ol,prefixCls:nr,inputElement:va,ref:la,id:lr,showSearch:Co,autoClearSearchValue:Pa,mode:Jr,activeDescendantId:bi,tagRender:Ur,values:kr,open:Dn,onToggleOpen:li,activeValue:Fr,searchValue:Ia,onSearch:Hi,onSearchSubmit:ca,onRemove:Kn,tokenWithEnter:Or}))),cl;return Ji?cl=mc:cl=fe.createElement("div",(0,he.Z)({className:zu},Fo,{ref:as,onMouseDown:qs,onKeyDown:so,onKeyUp:rr,onFocus:pa,onBlur:ka}),Er&&!Dn&&fe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(kr.map(function(ys){var bs=ys.label,Xl=ys.value;return["number","string"].includes((0,ve.Z)(bs))?bs:Xl}).join(", "))),mc,Xo,ml&&Wo),fe.createElement(ze.Provider,{value:Vl},cl)}),$t=kt,Sn=function(Wt,Kt){var on=fe.useRef({values:new Map,options:new Map}),_n=fe.useMemo(function(){var nr=on.current,dr=nr.values,Pr=nr.options,Ur=Wt.map(function(kr){if(kr.label===void 0){var _i;return(0,ft.Z)((0,ft.Z)({},kr),{},{label:(_i=dr.get(kr.value))===null||_i===void 0?void 0:_i.label})}return kr}),ei=new Map,er=new Map;return Ur.forEach(function(kr){ei.set(kr.value,kr),er.set(kr.value,Kt.get(kr.value)||Pr.get(kr.value))}),on.current.values=ei,on.current.options=er,Ur},[Wt,Kt]),lr=fe.useCallback(function(nr){return Kt.get(nr)||on.current.options.get(nr)},[Kt]);return[_n,lr]};function St(Wt,Kt){return Lt(Wt).join("").toUpperCase().includes(Kt)}var nn=function(Wt,Kt,on,_n,lr){return fe.useMemo(function(){if(!on||_n===!1)return Wt;var nr=Kt.options,dr=Kt.label,Pr=Kt.value,Ur=[],ei=typeof _n=="function",er=on.toUpperCase(),kr=ei?_n:function(gi,ji){return lr?St(ji[lr],er):ji[nr]?St(ji[dr!=="children"?dr:"label"],er):St(ji[Pr],er)},_i=ei?function(gi){return vt(gi)}:function(gi){return gi};return Wt.forEach(function(gi){if(gi[nr]){var ji=kr(on,_i(gi));if(ji)Ur.push(gi);else{var Mi=gi[nr].filter(function(Ca){return kr(on,_i(Ca))});Mi.length&&Ur.push((0,ft.Z)((0,ft.Z)({},gi),{},(0,He.Z)({},nr,Mi)))}return}kr(on,_i(gi))&&Ur.push(gi)}),Ur},[Wt,_n,lr,on,Kt])},tn=de(17115),jt=de(11592),pt=["children","value"],Zt=["children"];function gn(Wt){var Kt=Wt,on=Kt.key,_n=Kt.props,lr=_n.children,nr=_n.value,dr=(0,Le.Z)(_n,pt);return(0,ft.Z)({key:on,value:nr!==void 0?nr:on,children:lr},dr)}function wn(Wt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,jt.Z)(Wt).map(function(on,_n){if(!fe.isValidElement(on)||!on.type)return null;var lr=on,nr=lr.type.isSelectOptGroup,dr=lr.key,Pr=lr.props,Ur=Pr.children,ei=(0,Le.Z)(Pr,Zt);return Kt||!nr?gn(on):(0,ft.Z)((0,ft.Z)({key:"__RC_SELECT_GRP__".concat(dr===null?_n:dr,"__"),label:dr},ei),{},{options:wn(Ur)})}).filter(function(on){return on})}function Xn(Wt,Kt,on,_n,lr){return fe.useMemo(function(){var nr=Wt,dr=!Wt;dr&&(nr=wn(Kt));var Pr=new Map,Ur=new Map,ei=function(_i,gi,ji){ji&&typeof ji=="string"&&_i.set(gi[ji],gi)};function er(kr){for(var _i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gi=0;gi<kr.length;gi+=1){var ji=kr[gi];!ji[on.options]||_i?(Pr.set(ji[on.value],ji),ei(Ur,ji,on.label),ei(Ur,ji,_n),ei(Ur,ji,lr)):er(ji[on.options],!0)}}return er(nr),{options:nr,valueOptions:Pr,labelOptions:Ur}},[Wt,Kt,on,_n,lr])}function yr(Wt){var Kt=fe.useRef();Kt.current=Wt;var on=fe.useCallback(function(){return Kt.current.apply(Kt,arguments)},[]);return on}var Dr=function(){return null};Dr.isSelectOptGroup=!0;var Tr=Dr,Rr=function(){return null};Rr.isSelectOption=!0;var Sr=Rr,fr=de(80547),Vr=de(2738),Bi=de(48911),yi=fe.createContext(null),mi=yi;function Vi(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var ua=["disabled","title","children","style","className"];function Wr(Wt){return typeof Wt=="string"||typeof Wt=="number"}var Mn=function(Kt,on){var _n=qe(),lr=_n.prefixCls,nr=_n.id,dr=_n.open,Pr=_n.multiple,Ur=_n.mode,ei=_n.searchValue,er=_n.toggleOpen,kr=_n.notFoundContent,_i=_n.onPopupScroll,gi=fe.useContext(mi),ji=gi.flattenOptions,Mi=gi.onActiveValue,Ca=gi.defaultActiveFirstOption,Jr=gi.onSelect,ra=gi.menuItemSelectedIcon,vn=gi.rawValues,gr=gi.fieldNames,Ar=gi.virtual,jr=gi.direction,br=gi.listHeight,Ir=gi.listItemHeight,Fr="".concat(lr,"-item"),si=(0,fr.Z)(function(){return ji},[dr,ji],function(Va,Ii){return Ii[0]&&Va[1]!==Ii[1]}),bi=fe.useRef(null),Ti=function(Ii){Ii.preventDefault()},Pa=function(Ii){bi.current&&bi.current.scrollTo(typeof Ii=="number"?{index:Ii}:Ii)},Ka=function(Ii){for(var Ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ha=si.length,Oa=0;Oa<Ha;Oa+=1){var eo=(Ii+Oa*Ci+Ha)%Ha,Lo=si[eo],vo=Lo.group,jn=Lo.data;if(!vo&&!jn.disabled)return eo}return-1},$a=fe.useState(function(){return Ka(0)}),Ua=(0,Oe.Z)($a,2),Fa=Ua[0],ho=Ua[1],oo=function(Ii){var Ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ho(Ii);var Ha={source:Ci?"keyboard":"mouse"},Oa=si[Ii];if(!Oa){Mi(null,-1,Ha);return}Mi(Oa.value,Ii,Ha)};(0,fe.useEffect)(function(){oo(Ca!==!1?Ka(0):-1)},[si.length,ei]);var ta=fe.useCallback(function(Va){return vn.has(Va)&&Ur!=="combobox"},[Ur,(0,Me.Z)(vn).toString(),vn.size]);(0,fe.useEffect)(function(){var Va=setTimeout(function(){if(!Pr&&dr&&vn.size===1){var Ci=Array.from(vn)[0],Ha=si.findIndex(function(Oa){var eo=Oa.data;return eo.value===Ci});Ha!==-1&&(oo(Ha),Pa(Ha))}});if(dr){var Ii;(Ii=bi.current)===null||Ii===void 0||Ii.scrollTo(void 0)}return function(){return clearTimeout(Va)}},[dr,ei,ji.length]);var ui=function(Ii){Ii!==void 0&&Jr(Ii,{selected:!vn.has(Ii)}),Pr||er(!1)};if(fe.useImperativeHandle(on,function(){return{onKeyDown:function(Ii){var Ci=Ii.which,Ha=Ii.ctrlKey;switch(Ci){case Qe.Z.N:case Qe.Z.P:case Qe.Z.UP:case Qe.Z.DOWN:{var Oa=0;if(Ci===Qe.Z.UP?Oa=-1:Ci===Qe.Z.DOWN?Oa=1:Vi()&&Ha&&(Ci===Qe.Z.N?Oa=1:Ci===Qe.Z.P&&(Oa=-1)),Oa!==0){var eo=Ka(Fa+Oa,Oa);Pa(eo),oo(eo,!0)}break}case Qe.Z.ENTER:{var Lo=si[Fa];Lo&&!Lo.data.disabled?ui(Lo.value):ui(void 0),dr&&Ii.preventDefault();break}case Qe.Z.ESC:er(!1),dr&&Ii.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ii){Pa(Ii)}}}),si.length===0)return fe.createElement("div",{role:"listbox",id:"".concat(nr,"_list"),className:"".concat(Fr,"-empty"),onMouseDown:Ti},kr);var za=Object.keys(gr).map(function(Va){return gr[Va]}),no=function(Ii){return Ii.label};function La(Va,Ii){var Ci=Va.group;return{role:Ci?"presentation":"option",id:"".concat(nr,"_list_").concat(Ii)}}var xo=function(Ii){var Ci=si[Ii];if(!Ci)return null;var Ha=Ci.data||{},Oa=Ha.value,eo=Ci.group,Lo=(0,rt.Z)(Ha,!0),vo=no(Ci);return Ci?fe.createElement("div",(0,he.Z)({"aria-label":typeof vo=="string"&&!eo?vo:null},Lo,{key:Ii},La(Ci,Ii),{"aria-selected":ta(Oa)}),Oa):null},os={role:"listbox",id:"".concat(nr,"_list")};return fe.createElement(fe.Fragment,null,Ar&&fe.createElement("div",(0,he.Z)({},os,{style:{height:0,width:0,overflow:"hidden"}}),xo(Fa-1),xo(Fa),xo(Fa+1)),fe.createElement(Bi.Z,{itemKey:"key",ref:bi,data:si,height:br,itemHeight:Ir,fullHeight:!1,onMouseDown:Ti,onScroll:_i,virtual:Ar,direction:jr,innerProps:Ar?null:os},function(Va,Ii){var Ci,Ha=Va.group,Oa=Va.groupOption,eo=Va.data,Lo=Va.label,vo=Va.value,jn=eo.key;if(Ha){var Oo,Ks=(Oo=eo.title)!==null&&Oo!==void 0?Oo:Wr(Lo)?Lo.toString():void 0;return fe.createElement("div",{className:Be()(Fr,"".concat(Fr,"-group")),title:Ks},Lo!==void 0?Lo:jn)}var Sa=eo.disabled,ga=eo.title,Co=eo.children,Fo=eo.style,Es=eo.className,Js=(0,Le.Z)(eo,ua),Os=(0,Vr.Z)(Js,za),ps=ta(vo),as="".concat(Fr,"-option"),ol=Be()(Fr,as,Es,(Ci={},(0,He.Z)(Ci,"".concat(as,"-grouped"),Oa),(0,He.Z)(Ci,"".concat(as,"-active"),Fa===Ii&&!Sa),(0,He.Z)(Ci,"".concat(as,"-disabled"),Sa),(0,He.Z)(Ci,"".concat(as,"-selected"),ps),Ci)),fa=no(Va),la=!ra||typeof ra=="function"||ps,ia=typeof fa=="number"?fa:fa||vo,Ln=Wr(ia)?ia.toString():void 0;return ga!==void 0&&(Ln=ga),fe.createElement("div",(0,he.Z)({},(0,rt.Z)(Os),Ar?{}:La(Va,Ii),{"aria-selected":ps,className:ol,title:Ln,onMouseMove:function(){Fa===Ii||Sa||oo(Ii)},onClick:function(){Sa||ui(vo)},style:Fo}),fe.createElement("div",{className:"".concat(as,"-content")},ia),fe.isValidElement(ra)||ps,la&&fe.createElement(Te,{className:"".concat(Fr,"-option-state"),customizeIcon:ra,customizeIconProps:{isSelected:ps}},ps?"\u2713":null))}))},ea=fe.forwardRef(Mn);ea.displayName="OptionList";var Ea=ea;function wo(Wt){var Kt=Wt.mode,on=Wt.options,_n=Wt.children,lr=Wt.backfill,nr=Wt.allowClear,dr=Wt.placeholder,Pr=Wt.getInputElement,Ur=Wt.showSearch,ei=Wt.onSearch,er=Wt.defaultOpen,kr=Wt.autoFocus,_i=Wt.labelInValue,gi=Wt.value,ji=Wt.inputValue,Mi=Wt.optionLabelProp,Ca=isMultiple(Kt),Jr=Ur!==void 0?Ur:Ca||Kt==="combobox",ra=on||convertChildrenToData(_n);if(warning(Kt!=="tags"||ra.every(function(jr){return!jr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Kt==="tags"||Kt==="combobox"){var vn=ra.some(function(jr){return jr.options?jr.options.some(function(br){return typeof("value"in br?br.value:br.key)=="number"}):typeof("value"in jr?jr.value:jr.key)=="number"});warning(!vn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Kt!=="combobox"||!Mi,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Kt==="combobox"||!lr,"`backfill` only works with `combobox` mode."),warning(Kt==="combobox"||!Pr,"`getInputElement` only work with `combobox` mode."),noteOnce(Kt!=="combobox"||!Pr||!nr||!dr,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ei&&!Jr&&Kt!=="combobox"&&Kt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!er||kr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),gi!=null){var gr=toArray(gi);warning(!_i||gr.every(function(jr){return _typeof(jr)==="object"&&("key"in jr||"value"in jr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Ca||Array.isArray(gi),"`value` should be array when `mode` is `multiple` or `tags`")}if(_n){var Ar=null;toNodeArray(_n).some(function(jr){if(!React.isValidElement(jr)||!jr.type)return!1;var br=jr,Ir=br.type;if(Ir.isSelectOption)return!1;if(Ir.isSelectOptGroup){var Fr=toNodeArray(jr.props.children).every(function(si){return!React.isValidElement(si)||!jr.type||si.type.isSelectOption?!0:(Ar=si.type,!1)});return!Fr}return Ar=Ir,!0}),Ar&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ar.displayName||Ar.name||Ar,"`.")),warning(ji===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function sa(Wt,Kt){if(Wt){var on=function _n(lr){for(var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dr=0;dr<lr.length;dr++){var Pr=lr[dr];if(Pr[Kt==null?void 0:Kt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!nr&&Array.isArray(Pr[Kt==null?void 0:Kt.options])&&_n(Pr[Kt==null?void 0:Kt.options],!0))break}};on(Wt)}}var Pi=null,Aa=["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 qr(Wt){return!Wt||(0,ve.Z)(Wt)!=="object"}var Ma=fe.forwardRef(function(Wt,Kt){var on=Wt.id,_n=Wt.mode,lr=Wt.prefixCls,nr=lr===void 0?"rc-select":lr,dr=Wt.backfill,Pr=Wt.fieldNames,Ur=Wt.inputValue,ei=Wt.searchValue,er=Wt.onSearch,kr=Wt.autoClearSearchValue,_i=kr===void 0?!0:kr,gi=Wt.onSelect,ji=Wt.onDeselect,Mi=Wt.dropdownMatchSelectWidth,Ca=Mi===void 0?!0:Mi,Jr=Wt.filterOption,ra=Wt.filterSort,vn=Wt.optionFilterProp,gr=Wt.optionLabelProp,Ar=Wt.options,jr=Wt.children,br=Wt.defaultActiveFirstOption,Ir=Wt.menuItemSelectedIcon,Fr=Wt.virtual,si=Wt.direction,bi=Wt.listHeight,Ti=bi===void 0?200:bi,Pa=Wt.listItemHeight,Ka=Pa===void 0?20:Pa,$a=Wt.value,Ua=Wt.defaultValue,Fa=Wt.labelInValue,ho=Wt.onChange,oo=(0,Le.Z)(Wt,Aa),ta=(0,tn.ZP)(on),ui=_t(_n),za=!!(!Ar&&jr),no=fe.useMemo(function(){return Jr===void 0&&_n==="combobox"?!1:Jr},[Jr,_n]),La=fe.useMemo(function(){return oe(Pr,za)},[JSON.stringify(Pr),za]),xo=(0,Ae.Z)("",{value:ei!==void 0?ei:Ur,postState:function(wr){return wr||""}}),os=(0,Oe.Z)(xo,2),Va=os[0],Ii=os[1],Ci=Xn(Ar,jr,La,vn,gr),Ha=Ci.valueOptions,Oa=Ci.labelOptions,eo=Ci.options,Lo=fe.useCallback(function(Dn){var wr=Lt(Dn);return wr.map(function(ni){var li,Or,Hi,ca,uo;if(qr(ni))li=ni;else{var Wa;Hi=ni.key,Or=ni.label,li=(Wa=ni.value)!==null&&Wa!==void 0?Wa:Hi}var Ki=Ha.get(li);if(Ki){var Na;if(Or===void 0&&(Or=Ki==null?void 0:Ki[gr||La.label]),Hi===void 0&&(Hi=(Na=Ki==null?void 0:Ki.key)!==null&&Na!==void 0?Na:li),ca=Ki==null?void 0:Ki.disabled,uo=Ki==null?void 0:Ki.title,0)var so}return{label:Or,value:li,key:Hi,disabled:ca,title:uo}})},[La,gr,Ha]),vo=(0,Ae.Z)(Ua,{value:$a}),jn=(0,Oe.Z)(vo,2),Oo=jn[0],Ks=jn[1],Sa=fe.useMemo(function(){var Dn,wr=Lo(Oo);return _n==="combobox"&&bt((Dn=wr[0])===null||Dn===void 0?void 0:Dn.value)?[]:wr},[Oo,Lo,_n]),ga=Sn(Sa,Ha),Co=(0,Oe.Z)(ga,2),Fo=Co[0],Es=Co[1],Js=fe.useMemo(function(){if(!_n&&Fo.length===1){var Dn=Fo[0];if(Dn.value===null&&(Dn.label===null||Dn.label===void 0))return[]}return Fo.map(function(wr){var ni;return(0,ft.Z)((0,ft.Z)({},wr),{},{label:(ni=wr.label)!==null&&ni!==void 0?ni:wr.value})})},[_n,Fo]),Os=fe.useMemo(function(){return new Set(Fo.map(function(Dn){return Dn.value}))},[Fo]);fe.useEffect(function(){if(_n==="combobox"){var Dn,wr=(Dn=Fo[0])===null||Dn===void 0?void 0:Dn.value;Ii(Et(wr)?String(wr):"")}},[Fo]);var ps=yr(function(Dn,wr){var ni,li=wr!=null?wr:Dn;return ni={},(0,He.Z)(ni,La.value,Dn),(0,He.Z)(ni,La.label,li),ni}),as=fe.useMemo(function(){if(_n!=="tags")return eo;var Dn=(0,Me.Z)(eo),wr=function(li){return Ha.has(li)};return(0,Me.Z)(Fo).sort(function(ni,li){return ni.value<li.value?-1:1}).forEach(function(ni){var li=ni.value;wr(li)||Dn.push(ps(li,ni.label))}),Dn},[ps,eo,Ha,Fo,_n]),ol=nn(as,La,Va,no,vn),fa=fe.useMemo(function(){return _n!=="tags"||!Va||ol.some(function(Dn){return Dn[vn||"value"]===Va})||ol.some(function(Dn){return Dn[La.value]===Va})?ol:[ps(Va)].concat((0,Me.Z)(ol))},[ps,vn,_n,ol,Va,La]),la=fe.useMemo(function(){return ra?(0,Me.Z)(fa).sort(function(Dn,wr){return ra(Dn,wr)}):fa},[fa,ra]),ia=fe.useMemo(function(){return Je(la,{fieldNames:La,childrenAsData:za})},[la,La,za]),Ln=function(wr){var ni=Lo(wr);if(Ks(ni),ho&&(ni.length!==Fo.length||ni.some(function(Hi,ca){var uo;return((uo=Fo[ca])===null||uo===void 0?void 0:uo.value)!==(Hi==null?void 0:Hi.value)}))){var li=Fa?ni:ni.map(function(Hi){return Hi.value}),Or=ni.map(function(Hi){return vt(Es(Hi.value))});ho(ui?li:li[0],ui?Or:Or[0])}},In=fe.useState(null),Er=(0,Oe.Z)(In,2),vi=Er[0],ha=Er[1],Ia=fe.useState(0),va=(0,Oe.Z)(Ia,2),Ji=va[0],ya=va[1],No=br!==void 0?br:_n!=="combobox",Vo=fe.useCallback(function(Dn,wr){var ni=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},li=ni.source,Or=li===void 0?"keyboard":li;ya(wr),dr&&_n==="combobox"&&Dn!==null&&Or==="keyboard"&&ha(String(Dn))},[dr,_n]),cs=function(wr,ni,li){var Or=function(){var Ja,pa=Es(wr);return[Fa?{label:pa==null?void 0:pa[La.label],value:wr,key:(Ja=pa==null?void 0:pa.key)!==null&&Ja!==void 0?Ja:wr}:wr,vt(pa)]};if(ni&&gi){var Hi=Or(),ca=(0,Oe.Z)(Hi,2),uo=ca[0],Wa=ca[1];gi(uo,Wa)}else if(!ni&&ji&&li!=="clear"){var Ki=Or(),Na=(0,Oe.Z)(Ki,2),so=Na[0],rr=Na[1];ji(so,rr)}},Mo=yr(function(Dn,wr){var ni,li=ui?wr.selected:!0;li?ni=ui?[].concat((0,Me.Z)(Fo),[Dn]):[Dn]:ni=Fo.filter(function(Or){return Or.value!==Dn}),Ln(ni),cs(Dn,li),_n==="combobox"?ha(""):(!_t||_i)&&(Ii(""),ha(""))}),ul=function(wr,ni){Ln(wr);var li=ni.type,Or=ni.values;(li==="remove"||li==="clear")&&Or.forEach(function(Hi){cs(Hi.value,!1,li)})},Ss=function(wr,ni){if(Ii(wr),ha(null),ni.source==="submit"){var li=(wr||"").trim();if(li){var Or=Array.from(new Set([].concat((0,Me.Z)(Os),[li])));Ln(Or),cs(li,!0),Ii("")}return}ni.source!=="blur"&&(_n==="combobox"&&Ln(wr),er==null||er(wr))},vr=function(wr){var ni=wr;_n!=="tags"&&(ni=wr.map(function(Or){var Hi=Oa.get(Or);return Hi==null?void 0:Hi.value}).filter(function(Or){return Or!==void 0}));var li=Array.from(new Set([].concat((0,Me.Z)(Os),(0,Me.Z)(ni))));Ln(li),li.forEach(function(Or){cs(Or,!0)})},On=fe.useMemo(function(){var Dn=Fr!==!1&&Ca!==!1;return(0,ft.Z)((0,ft.Z)({},Ci),{},{flattenOptions:ia,onActiveValue:Vo,defaultActiveFirstOption:No,onSelect:Mo,menuItemSelectedIcon:Ir,rawValues:Os,fieldNames:La,virtual:Dn,direction:si,listHeight:Ti,listItemHeight:Ka,childrenAsData:za})},[Ci,ia,Vo,No,Mo,Ir,Os,La,Fr,Ca,Ti,Ka,za]);return fe.createElement(mi.Provider,{value:On},fe.createElement($t,(0,he.Z)({},oo,{id:ta,prefixCls:nr,ref:Kt,omitDomProps:Si,mode:_n,displayValues:Js,onDisplayValuesChange:ul,direction:si,searchValue:Va,onSearch:Ss,autoClearSearchValue:_i,onSearchSplit:vr,dropdownMatchSelectWidth:Ca,OptionList:Ea,emptyOptions:!ia.length,activeValue:vi,activeDescendantId:"".concat(ta,"_list_").concat(Ji)})))}),kn=Ma;kn.Option=Sr,kn.OptGroup=Tr;var Dt=kn,Gt=Dt},9296:function(Qn,Yt,de){"use strict";de.r(Yt),de.d(Yt,{ResizableTextArea:function(){return Ct},default:function(){return bt}});var he=de(60499),Me=de(85899),He=de(18642),ft=de(43749),Oe=de(72190),Le=de(42244),ve=de(77654),Ae=de(92310),xe=de.n(Ae),fe=de(93681),Ke=de(5643),Be=de(18929),_e=de(59301),Ne=de(29301),Qe=de(34280),ke=de(16089),Pe=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Te=["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"],Ye={},ze;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&&Ye[it])return Ye[it];var Ue=window.getComputedStyle(Tt),at=Ue.getPropertyValue("box-sizing")||Ue.getPropertyValue("-moz-box-sizing")||Ue.getPropertyValue("-webkit-box-sizing"),Xt=parseFloat(Ue.getPropertyValue("padding-bottom"))+parseFloat(Ue.getPropertyValue("padding-top")),Vt=parseFloat(Ue.getPropertyValue("border-bottom-width"))+parseFloat(Ue.getPropertyValue("border-top-width")),xt=Te.map(function(An){return"".concat(An,":").concat(Ue.getPropertyValue(An))}).join(";"),Qt={sizingStyle:xt,paddingSize:Xt,borderSize:Vt,boxSizing:at};return wt&&it&&(Ye[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,Ue=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ze||(ze=document.createElement("textarea"),ze.setAttribute("tab-index","-1"),ze.setAttribute("aria-hidden","true"),document.body.appendChild(ze)),Tt.getAttribute("wrap")?ze.setAttribute("wrap",Tt.getAttribute("wrap")):ze.removeAttribute("wrap");var at=qe(Tt,wt),Xt=at.paddingSize,Vt=at.borderSize,xt=at.boxSizing,Qt=at.sizingStyle;ze.setAttribute("style","".concat(Qt,";").concat(Pe)),ze.value=Tt.value||Tt.placeholder||"";var An=void 0,Tn=void 0,dn,Gn=ze.scrollHeight;if(xt==="border-box"?Gn+=Vt:xt==="content-box"&&(Gn-=Xt),it!==null||Ue!==null){ze.value=" ";var Cn=ze.scrollHeight-Xt;it!==null&&(An=Cn*it,xt==="border-box"&&(An=An+Xt+Vt),Gn=Math.max(An,Gn)),Ue!==null&&(Tn=Cn*Ue,xt==="border-box"&&(Tn=Tn+Xt+Vt),dn=Gn>Tn?"":"hidden",Gn=Math.min(Tn,Gn))}var mn={height:Gn,overflowY:dn,resize:"none"};return An&&(mn.minHeight=An),Tn&&(mn.maxHeight=Tn),mn}var Ze=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],et=0,rt=1,ht=2,dt=_e.forwardRef(function(Tt,wt){var it=Tt,Ue=it.prefixCls,at=it.onPressEnter,Xt=it.defaultValue,Vt=it.value,xt=it.autoSize,Qt=it.onResize,An=it.className,Tn=it.style,dn=it.disabled,Gn=it.onChange,Cn=it.onInternalAutoSize,mn=(0,Le.Z)(it,Ze),Bn=(0,Be.Z)(Xt,{value:Vt,postState:function(Tr){return Tr!=null?Tr:""}}),Se=(0,Oe.Z)(Bn,2),Fe=Se[0],ie=Se[1],ae=function(Tr){ie(Tr.target.value),Gn==null||Gn(Tr)},se=_e.useRef();_e.useImperativeHandle(wt,function(){return{textArea:se.current}});var oe=_e.useMemo(function(){return xt&&(0,ft.Z)(xt)==="object"?[xt.minRows,xt.maxRows]:[]},[xt]),Je=(0,Oe.Z)(oe,2),vt=Je[0],$e=Je[1],lt=!!xt,Pt=function(){try{if(document.activeElement===se.current){var Tr=se.current,Rr=Tr.selectionStart,Sr=Tr.selectionEnd,fr=Tr.scrollTop;se.current.setSelectionRange(Rr,Sr),se.current.scrollTop=fr}}catch(Vr){}},_t=_e.useState(ht),kt=(0,Oe.Z)(_t,2),$t=kt[0],Sn=kt[1],St=_e.useState(),nn=(0,Oe.Z)(St,2),tn=nn[0],jt=nn[1],pt=function(){Sn(et)};(0,Qe.Z)(function(){lt&&pt()},[Vt,vt,$e,lt]),(0,Qe.Z)(function(){if($t===et)Sn(rt);else if($t===rt){var Dr=We(se.current,!1,vt,$e);Sn(ht),jt(Dr)}else Pt()},[$t]);var Zt=_e.useRef(),gn=function(){ke.Z.cancel(Zt.current)},wn=function(Tr){$t===ht&&(Qt==null||Qt(Tr),xt&&(gn(),Zt.current=(0,ke.Z)(function(){pt()})))};_e.useEffect(function(){return gn},[]);var Xn=lt?tn:null,yr=(0,Me.Z)((0,Me.Z)({},Tn),Xn);return($t===et||$t===rt)&&(yr.overflowY="hidden",yr.overflowX="hidden"),_e.createElement(Ne.Z,{onResize:wn,disabled:!(xt||Qt)},_e.createElement("textarea",(0,he.Z)({},mn,{ref:se,style:yr,className:xe()(Ue,An,(0,He.Z)({},"".concat(Ue,"-disabled"),dn)),disabled:dn,value:Fe,onChange:ae})))}),Ct=dt,Xe=["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,Ue){var at=it;return Tt?at=Lt(it,Ue):(0,ve.Z)(wt||"").length<it.length&&(0,ve.Z)(it||"").length>Ue&&(at=wt),at}var Ht=_e.forwardRef(function(Tt,wt){var it,Ue=Tt.defaultValue,at=Tt.value,Xt=Tt.onFocus,Vt=Tt.onBlur,xt=Tt.onChange,Qt=Tt.allowClear,An=Tt.maxLength,Tn=Tt.onCompositionStart,dn=Tt.onCompositionEnd,Gn=Tt.suffix,Cn=Tt.prefixCls,mn=Cn===void 0?"rc-textarea":Cn,Bn=Tt.classes,Se=Tt.showCount,Fe=Tt.className,ie=Tt.style,ae=Tt.disabled,se=Tt.hidden,oe=Tt.classNames,Je=Tt.styles,vt=Tt.onResize,$e=(0,Le.Z)(Tt,Xe),lt=(0,Be.Z)(Ue,{value:at,defaultValue:Ue}),Pt=(0,Oe.Z)(lt,2),_t=Pt[0],kt=Pt[1],$t=(0,_e.useRef)(null),Sn=_e.useState(!1),St=(0,Oe.Z)(Sn,2),nn=St[0],tn=St[1],jt=_e.useState(!1),pt=(0,Oe.Z)(jt,2),Zt=pt[0],gn=pt[1],wn=_e.useRef(),Xn=_e.useRef(0),yr=_e.useState(null),Dr=(0,Oe.Z)(yr,2),Tr=Dr[0],Rr=Dr[1],Sr=function(){var qr;(qr=$t.current)===null||qr===void 0||qr.textArea.focus()};(0,_e.useImperativeHandle)(wt,function(){return{resizableTextArea:$t.current,focus:Sr,blur:function(){var qr;(qr=$t.current)===null||qr===void 0||qr.textArea.blur()}}}),(0,_e.useEffect)(function(){tn(function(Si){return!ae&&Si})},[ae]);var fr=Number(An)>0,Vr=function(qr){gn(!0),wn.current=_t,Xn.current=qr.currentTarget.selectionStart,Tn==null||Tn(qr)},Bi=function(qr){gn(!1);var Ma=qr.currentTarget.value;if(fr){var kn,Dt=Xn.current>=An+1||Xn.current===((kn=wn.current)===null||kn===void 0?void 0:kn.length);Ma=Re(Dt,wn.current,Ma,An)}Ma!==_t&&(kt(Ma),(0,Ke.rJ)(qr.currentTarget,qr,xt,Ma)),dn==null||dn(qr)},yi=function(qr){var Ma=qr.target.value;if(!Zt&&fr){var kn=qr.target.selectionStart>=An+1||qr.target.selectionStart===Ma.length||!qr.target.selectionStart;Ma=Re(kn,_t,Ma,An)}kt(Ma),(0,Ke.rJ)(qr.currentTarget,qr,xt,Ma)},mi=function(qr){var Ma=$e.onPressEnter,kn=$e.onKeyDown;qr.key==="Enter"&&Ma&&Ma(qr),kn==null||kn(qr)},Vi=function(qr){tn(!0),Xt==null||Xt(qr)},ua=function(qr){tn(!1),Vt==null||Vt(qr)},Wr=function(qr){var Ma;kt(""),Sr(),(0,Ke.rJ)((Ma=$t.current)===null||Ma===void 0?void 0:Ma.textArea,qr,xt)},Mn=(0,Ke.D7)(_t);!Zt&&fr&&at==null&&(Mn=Lt(Mn,An));var ea=Gn,Ea;if(Se){var wo=(0,ve.Z)(Mn).length;(0,ft.Z)(Se)==="object"?Ea=Se.formatter({value:Mn,count:wo,maxLength:An}):Ea="".concat(wo).concat(fr?" / ".concat(An):""),ea=_e.createElement(_e.Fragment,null,ea,_e.createElement("span",{className:xe()("".concat(mn,"-data-count"),oe==null?void 0:oe.count),style:Je==null?void 0:Je.count},Ea))}var sa=function(qr){var Ma;vt==null||vt(qr),(Ma=$t.current)!==null&&Ma!==void 0&&Ma.textArea.style.height&&Rr(!0)},Pi=!$e.autoSize&&!Se&&!Qt,Aa=_e.createElement(fe.BaseInput,{value:Mn,allowClear:Qt,handleReset:Wr,suffix:ea,prefixCls:mn,classes:{affixWrapper:xe()(Bn==null?void 0:Bn.affixWrapper,(it={},(0,He.Z)(it,"".concat(mn,"-show-count"),Se),(0,He.Z)(it,"".concat(mn,"-textarea-allow-clear"),Qt),it))},disabled:ae,focused:nn,className:Fe,style:(0,Me.Z)((0,Me.Z)({},ie),Tr&&!Pi?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ea=="string"?Ea:void 0}},hidden:se,inputElement:_e.createElement(Ct,(0,he.Z)({},$e,{onKeyDown:mi,onChange:yi,onFocus:Vi,onBlur:ua,onCompositionStart:Vr,onCompositionEnd:Bi,className:oe==null?void 0:oe.textarea,style:(0,Me.Z)((0,Me.Z)({},Je==null?void 0:Je.textarea),{},{resize:ie==null?void 0:ie.resize}),disabled:ae,prefixCls:mn,onResize:sa,ref:$t}))});return Aa}),Et=Ht,bt=Et},39417:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return rt}});var he=de(60499),Me=de(18642),He=de(42244),ft=de(85899),Oe=de(38705),Le=de(17212),ve=de(15793),Ae=de(39153),xe=de(55401),fe=de(92310),Ke=de.n(fe),Be=de(26112),_e=de(59301),Ne=de(39378),Qe=function(dt){for(var Ct=dt.prefixCls,Xe=dt.level,Lt=dt.isStart,Re=dt.isEnd,Ht="".concat(Ct,"-indent-unit"),Et=[],bt=0;bt<Xe;bt+=1){var Tt;Et.push(_e.createElement("span",{key:bt,className:Ke()(Ht,(Tt={},(0,Me.Z)(Tt,"".concat(Ht,"-start"),Lt[bt]),(0,Me.Z)(Tt,"".concat(Ht,"-end"),Re[bt]),Tt))}))}return _e.createElement("span",{"aria-hidden":"true",className:"".concat(Ct,"-indent")},Et)},ke=_e.memo(Qe),Pe=de(67841),Te=de(71430),Ye=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ze="open",qe="close",We="---",Ze=function(ht){(0,Ae.Z)(Ct,ht);var dt=(0,xe.Z)(Ct);function Ct(){var Xe;(0,Oe.Z)(this,Ct);for(var Lt=arguments.length,Re=new Array(Lt),Ht=0;Ht<Lt;Ht++)Re[Ht]=arguments[Ht];return Xe=dt.call.apply(dt,[this].concat(Re)),Xe.state={dragNodeHighlight:!1},Xe.selectHandle=void 0,Xe.cacheIndent=void 0,Xe.onSelectorClick=function(Et){var bt=Xe.props.context.onNodeClick;bt(Et,(0,Te.F)(Xe.props)),Xe.isSelectable()?Xe.onSelect(Et):Xe.onCheck(Et)},Xe.onSelectorDoubleClick=function(Et){var bt=Xe.props.context.onNodeDoubleClick;bt(Et,(0,Te.F)(Xe.props))},Xe.onSelect=function(Et){if(!Xe.isDisabled()){var bt=Xe.props.context.onNodeSelect;bt(Et,(0,Te.F)(Xe.props))}},Xe.onCheck=function(Et){if(!Xe.isDisabled()){var bt=Xe.props,Tt=bt.disableCheckbox,wt=bt.checked,it=Xe.props.context.onNodeCheck;if(!(!Xe.isCheckable()||Tt)){var Ue=!wt;it(Et,(0,Te.F)(Xe.props),Ue)}}},Xe.onMouseEnter=function(Et){var bt=Xe.props.context.onNodeMouseEnter;bt(Et,(0,Te.F)(Xe.props))},Xe.onMouseLeave=function(Et){var bt=Xe.props.context.onNodeMouseLeave;bt(Et,(0,Te.F)(Xe.props))},Xe.onContextMenu=function(Et){var bt=Xe.props.context.onNodeContextMenu;bt(Et,(0,Te.F)(Xe.props))},Xe.onDragStart=function(Et){var bt=Xe.props.context.onNodeDragStart;Et.stopPropagation(),Xe.setState({dragNodeHighlight:!0}),bt(Et,(0,ve.Z)(Xe));try{Et.dataTransfer.setData("text/plain","")}catch(Tt){}},Xe.onDragEnter=function(Et){var bt=Xe.props.context.onNodeDragEnter;Et.preventDefault(),Et.stopPropagation(),bt(Et,(0,ve.Z)(Xe))},Xe.onDragOver=function(Et){var bt=Xe.props.context.onNodeDragOver;Et.preventDefault(),Et.stopPropagation(),bt(Et,(0,ve.Z)(Xe))},Xe.onDragLeave=function(Et){var bt=Xe.props.context.onNodeDragLeave;Et.stopPropagation(),bt(Et,(0,ve.Z)(Xe))},Xe.onDragEnd=function(Et){var bt=Xe.props.context.onNodeDragEnd;Et.stopPropagation(),Xe.setState({dragNodeHighlight:!1}),bt(Et,(0,ve.Z)(Xe))},Xe.onDrop=function(Et){var bt=Xe.props.context.onNodeDrop;Et.preventDefault(),Et.stopPropagation(),Xe.setState({dragNodeHighlight:!1}),bt(Et,(0,ve.Z)(Xe))},Xe.onExpand=function(Et){var bt=Xe.props,Tt=bt.loading,wt=bt.context.onNodeExpand;Tt||wt(Et,(0,Te.F)(Xe.props))},Xe.setSelectHandle=function(Et){Xe.selectHandle=Et},Xe.getNodeState=function(){var Et=Xe.props.expanded;return Xe.isLeaf()?null:Et?ze:qe},Xe.hasChildren=function(){var Et=Xe.props.eventKey,bt=Xe.props.context.keyEntities,Tt=(0,Pe.Z)(bt,Et)||{},wt=Tt.children;return!!(wt||[]).length},Xe.isLeaf=function(){var Et=Xe.props,bt=Et.isLeaf,Tt=Et.loaded,wt=Xe.props.context.loadData,it=Xe.hasChildren();return bt===!1?!1:bt||!wt&&!it||wt&&Tt&&!it},Xe.isDisabled=function(){var Et=Xe.props.disabled,bt=Xe.props.context.disabled;return!!(bt||Et)},Xe.isCheckable=function(){var Et=Xe.props.checkable,bt=Xe.props.context.checkable;return!bt||Et===!1?!1:bt},Xe.syncLoadData=function(Et){var bt=Et.expanded,Tt=Et.loading,wt=Et.loaded,it=Xe.props.context,Ue=it.loadData,at=it.onNodeLoad;Tt||Ue&&bt&&!Xe.isLeaf()&&!Xe.hasChildren()&&!wt&&at((0,Te.F)(Xe.props))},Xe.isDraggable=function(){var Et=Xe.props,bt=Et.data,Tt=Et.context.draggable;return!!(Tt&&(!Tt.nodeDraggable||Tt.nodeDraggable(bt)))},Xe.renderDragHandler=function(){var Et=Xe.props.context,bt=Et.draggable,Tt=Et.prefixCls;return bt!=null&&bt.icon?_e.createElement("span",{className:"".concat(Tt,"-draggable-icon")},bt.icon):null},Xe.renderSwitcherIconDom=function(Et){var bt=Xe.props.switcherIcon,Tt=Xe.props.context.switcherIcon,wt=bt||Tt;return typeof wt=="function"?wt((0,ft.Z)((0,ft.Z)({},Xe.props),{},{isLeaf:Et})):wt},Xe.renderSwitcher=function(){var Et=Xe.props.expanded,bt=Xe.props.context.prefixCls;if(Xe.isLeaf()){var Tt=Xe.renderSwitcherIconDom(!0);return Tt!==!1?_e.createElement("span",{className:Ke()("".concat(bt,"-switcher"),"".concat(bt,"-switcher-noop"))},Tt):null}var wt=Ke()("".concat(bt,"-switcher"),"".concat(bt,"-switcher_").concat(Et?ze:qe)),it=Xe.renderSwitcherIconDom(!1);return it!==!1?_e.createElement("span",{onClick:Xe.onExpand,className:wt},it):null},Xe.renderCheckbox=function(){var Et=Xe.props,bt=Et.checked,Tt=Et.halfChecked,wt=Et.disableCheckbox,it=Xe.props.context.prefixCls,Ue=Xe.isDisabled(),at=Xe.isCheckable();if(!at)return null;var Xt=typeof at!="boolean"?at:null;return _e.createElement("span",{className:Ke()("".concat(it,"-checkbox"),bt&&"".concat(it,"-checkbox-checked"),!bt&&Tt&&"".concat(it,"-checkbox-indeterminate"),(Ue||wt)&&"".concat(it,"-checkbox-disabled")),onClick:Xe.onCheck},Xt)},Xe.renderIcon=function(){var Et=Xe.props.loading,bt=Xe.props.context.prefixCls;return _e.createElement("span",{className:Ke()("".concat(bt,"-iconEle"),"".concat(bt,"-icon__").concat(Xe.getNodeState()||"docu"),Et&&"".concat(bt,"-icon_loading"))})},Xe.renderSelector=function(){var Et=Xe.state.dragNodeHighlight,bt=Xe.props,Tt=bt.title,wt=Tt===void 0?We:Tt,it=bt.selected,Ue=bt.icon,at=bt.loading,Xt=bt.data,Vt=Xe.props.context,xt=Vt.prefixCls,Qt=Vt.showIcon,An=Vt.icon,Tn=Vt.loadData,dn=Vt.titleRender,Gn=Xe.isDisabled(),Cn="".concat(xt,"-node-content-wrapper"),mn;if(Qt){var Bn=Ue||An;mn=Bn?_e.createElement("span",{className:Ke()("".concat(xt,"-iconEle"),"".concat(xt,"-icon__customize"))},typeof Bn=="function"?Bn(Xe.props):Bn):Xe.renderIcon()}else Tn&&at&&(mn=Xe.renderIcon());var Se;typeof wt=="function"?Se=wt(Xt):dn?Se=dn(Xt):Se=wt;var Fe=_e.createElement("span",{className:"".concat(xt,"-title")},Se);return _e.createElement("span",{ref:Xe.setSelectHandle,title:typeof wt=="string"?wt:"",className:Ke()("".concat(Cn),"".concat(Cn,"-").concat(Xe.getNodeState()||"normal"),!Gn&&(it||Et)&&"".concat(xt,"-node-selected")),onMouseEnter:Xe.onMouseEnter,onMouseLeave:Xe.onMouseLeave,onContextMenu:Xe.onContextMenu,onClick:Xe.onSelectorClick,onDoubleClick:Xe.onSelectorDoubleClick},mn,Fe,Xe.renderDropIndicator())},Xe.renderDropIndicator=function(){var Et=Xe.props,bt=Et.disabled,Tt=Et.eventKey,wt=Xe.props.context,it=wt.draggable,Ue=wt.dropLevelOffset,at=wt.dropPosition,Xt=wt.prefixCls,Vt=wt.indent,xt=wt.dropIndicatorRender,Qt=wt.dragOverNodeKey,An=wt.direction,Tn=!!it,dn=!bt&&Tn&&Qt===Tt,Gn=Vt!=null?Vt:Xe.cacheIndent;return Xe.cacheIndent=Vt,dn?xt({dropPosition:at,dropLevelOffset:Ue,indent:Gn,prefixCls:Xt,direction:An}):null},Xe}return(0,Le.Z)(Ct,[{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,Ht=Re.eventKey,Et=Re.className,bt=Re.style,Tt=Re.dragOver,wt=Re.dragOverGapTop,it=Re.dragOverGapBottom,Ue=Re.isLeaf,at=Re.isStart,Xt=Re.isEnd,Vt=Re.expanded,xt=Re.selected,Qt=Re.checked,An=Re.halfChecked,Tn=Re.loading,dn=Re.domRef,Gn=Re.active,Cn=Re.data,mn=Re.onMouseMove,Bn=Re.selectable,Se=(0,He.Z)(Re,Ye),Fe=this.props.context,ie=Fe.prefixCls,ae=Fe.filterTreeNode,se=Fe.keyEntities,oe=Fe.dropContainerKey,Je=Fe.dropTargetKey,vt=Fe.draggingNodeKey,$e=this.isDisabled(),lt=(0,Be.Z)(Se,{aria:!0,data:!0}),Pt=(0,Pe.Z)(se,Ht)||{},_t=Pt.level,kt=Xt[Xt.length-1],$t=this.isDraggable(),Sn=!$e&&$t,St=vt===Ht,nn=Bn!==void 0?{"aria-selected":!!Bn}:void 0;return _e.createElement("div",(0,he.Z)({ref:dn,className:Ke()(Et,"".concat(ie,"-treenode"),(Lt={},(0,Me.Z)(Lt,"".concat(ie,"-treenode-disabled"),$e),(0,Me.Z)(Lt,"".concat(ie,"-treenode-switcher-").concat(Vt?"open":"close"),!Ue),(0,Me.Z)(Lt,"".concat(ie,"-treenode-checkbox-checked"),Qt),(0,Me.Z)(Lt,"".concat(ie,"-treenode-checkbox-indeterminate"),An),(0,Me.Z)(Lt,"".concat(ie,"-treenode-selected"),xt),(0,Me.Z)(Lt,"".concat(ie,"-treenode-loading"),Tn),(0,Me.Z)(Lt,"".concat(ie,"-treenode-active"),Gn),(0,Me.Z)(Lt,"".concat(ie,"-treenode-leaf-last"),kt),(0,Me.Z)(Lt,"".concat(ie,"-treenode-draggable"),$t),(0,Me.Z)(Lt,"dragging",St),(0,Me.Z)(Lt,"drop-target",Je===Ht),(0,Me.Z)(Lt,"drop-container",oe===Ht),(0,Me.Z)(Lt,"drag-over",!$e&&Tt),(0,Me.Z)(Lt,"drag-over-gap-top",!$e&&wt),(0,Me.Z)(Lt,"drag-over-gap-bottom",!$e&&it),(0,Me.Z)(Lt,"filter-node",ae&&ae((0,Te.F)(this.props))),Lt)),style:bt,draggable:Sn,"aria-grabbed":St,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:mn},nn,lt),_e.createElement(ke,{prefixCls:ie,level:_t,isStart:at,isEnd:Xt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ct}(_e.Component),et=function(dt){return _e.createElement(Ne.k.Consumer,null,function(Ct){return _e.createElement(Ze,(0,he.Z)({},dt,{context:Ct}))})};et.displayName="TreeNode",et.isTreeNode=1;var rt=et},39378:function(Qn,Yt,de){"use strict";de.d(Yt,{k:function(){return Me}});var he=de(59301),Me=he.createContext(null)},38028:function(Qn,Yt,de){"use strict";de.d(Yt,{O:function(){return rt.Z},Z:function(){return Fe}});var he=de(60499),Me=de(18642),He=de(43749),ft=de(85899),Oe=de(77654),Le=de(38705),ve=de(17212),Ae=de(15793),xe=de(39153),fe=de(55401),Ke=de(92310),Be=de.n(Ke),_e=de(10228),Ne=de(26112),Qe=de(48736),ke=de(59301),Pe=de(39378);function Te(ie){var ae=ie.dropPosition,se=ie.dropLevelOffset,oe=ie.indent,Je={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ae){case-1:Je.top=0,Je.left=-se*oe;break;case 1:Je.bottom=0,Je.left=-se*oe;break;case 0:Je.bottom=0,Je.left=oe;break}return ke.createElement("div",{style:Je})}function Ye(ie){if(ie==null)throw new TypeError("Cannot destructure "+ie)}var ze=de(72190),qe=de(42244),We=de(34280),Ze=de(48911),et=de(77900),rt=de(39417);function ht(ie,ae){var se=ke.useState(!1),oe=(0,ze.Z)(se,2),Je=oe[0],vt=oe[1];ke.useLayoutEffect(function(){if(Je)return ie(),function(){ae()}},[Je]),ke.useLayoutEffect(function(){return vt(!0),function(){vt(!1)}},[])}var dt=de(71430),Ct=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Xe=function(ae,se){var oe=ae.className,Je=ae.style,vt=ae.motion,$e=ae.motionNodes,lt=ae.motionType,Pt=ae.onMotionStart,_t=ae.onMotionEnd,kt=ae.active,$t=ae.treeNodeRequiredProps,Sn=(0,qe.Z)(ae,Ct),St=ke.useState(!0),nn=(0,ze.Z)(St,2),tn=nn[0],jt=nn[1],pt=ke.useContext(Pe.k),Zt=pt.prefixCls,gn=$e&&lt!=="hide";(0,We.Z)(function(){$e&&gn!==tn&&jt(gn)},[$e]);var wn=function(){$e&&Pt()},Xn=ke.useRef(!1),yr=function(){$e&&!Xn.current&&(Xn.current=!0,_t())};ht(wn,yr);var Dr=function(Rr){gn===Rr&&yr()};return $e?ke.createElement(et.default,(0,he.Z)({ref:se,visible:tn},vt,{motionAppear:lt==="show",onVisibleChanged:Dr}),function(Tr,Rr){var Sr=Tr.className,fr=Tr.style;return ke.createElement("div",{ref:Rr,className:Be()("".concat(Zt,"-treenode-motion"),Sr),style:fr},$e.map(function(Vr){var Bi=(0,he.Z)({},(Ye(Vr.data),Vr.data)),yi=Vr.title,mi=Vr.key,Vi=Vr.isStart,ua=Vr.isEnd;delete Bi.children;var Wr=(0,dt.H8)(mi,$t);return ke.createElement(rt.Z,(0,he.Z)({},Bi,Wr,{title:yi,active:kt,data:Vr.data,key:mi,isStart:Vi,isEnd:ua}))}))}):ke.createElement(rt.Z,(0,he.Z)({domRef:se,className:oe,style:Je},Sn,{active:kt}))};Xe.displayName="MotionTreeNode";var Lt=ke.forwardRef(Xe),Re=Lt;function Ht(){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 Je(vt,$e){var lt=new Map;vt.forEach(function(_t){lt.set(_t,!0)});var Pt=$e.filter(function(_t){return!lt.has(_t)});return Pt.length===1?Pt[0]:null}return se<oe?{add:!0,key:Je(ie,ae)}:{add:!1,key:Je(ae,ie)}}function Et(ie,ae,se){var oe=ie.findIndex(function(lt){return lt.key===se}),Je=ie[oe+1],vt=ae.findIndex(function(lt){return lt.key===se});if(Je){var $e=ae.findIndex(function(lt){return lt.key===Je.key});return ae.slice(vt+1,$e)}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()),Ue={key:it},at={key:it,level:0,index:0,pos:"0",node:Ue,nodes:[Ue]},Xt={parent:null,children:[],pos:at.pos,data:Ue,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 xt(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 An=ke.forwardRef(function(ie,ae){var se=ie.prefixCls,oe=ie.data,Je=ie.selectable,vt=ie.checkable,$e=ie.expandedKeys,lt=ie.selectedKeys,Pt=ie.checkedKeys,_t=ie.loadedKeys,kt=ie.loadingKeys,$t=ie.halfCheckedKeys,Sn=ie.keyEntities,St=ie.disabled,nn=ie.dragging,tn=ie.dragOverNodeKey,jt=ie.dropPosition,pt=ie.motion,Zt=ie.height,gn=ie.itemHeight,wn=ie.virtual,Xn=ie.focusable,yr=ie.activeItem,Dr=ie.focused,Tr=ie.tabIndex,Rr=ie.onKeyDown,Sr=ie.onFocus,fr=ie.onBlur,Vr=ie.onActiveChange,Bi=ie.onListChangeStart,yi=ie.onListChangeEnd,mi=(0,qe.Z)(ie,bt),Vi=ke.useRef(null),ua=ke.useRef(null);ke.useImperativeHandle(ae,function(){return{scrollTo:function(kr){Vi.current.scrollTo(kr)},getIndentWidth:function(){return ua.current.offsetWidth}}});var Wr=ke.useState($e),Mn=(0,ze.Z)(Wr,2),ea=Mn[0],Ea=Mn[1],wo=ke.useState(oe),sa=(0,ze.Z)(wo,2),Pi=sa[0],Aa=sa[1],Si=ke.useState(oe),qr=(0,ze.Z)(Si,2),Ma=qr[0],kn=qr[1],Dt=ke.useState([]),Gt=(0,ze.Z)(Dt,2),Wt=Gt[0],Kt=Gt[1],on=ke.useState(null),_n=(0,ze.Z)(on,2),lr=_n[0],nr=_n[1],dr=ke.useRef(oe);dr.current=oe;function Pr(){var er=dr.current;Aa(er),kn(er),Kt([]),nr(null),yi()}(0,We.Z)(function(){Ea($e);var er=Ht(ea,$e);if(er.key!==null)if(er.add){var kr=Pi.findIndex(function(Jr){var ra=Jr.key;return ra===er.key}),_i=Vt(Et(Pi,oe,er.key),wn,Zt,gn),gi=Pi.slice();gi.splice(kr+1,0,Xt),kn(gi),Kt(_i),nr("show")}else{var ji=oe.findIndex(function(Jr){var ra=Jr.key;return ra===er.key}),Mi=Vt(Et(oe,Pi,er.key),wn,Zt,gn),Ca=oe.slice();Ca.splice(ji+1,0,Xt),kn(Ca),Kt(Mi),nr("hide")}else Pi!==oe&&(Aa(oe),kn(oe))},[$e,oe]),ke.useEffect(function(){nn||Pr()},[nn]);var Ur=pt?Ma:oe,ei={expandedKeys:$e,selectedKeys:lt,loadedKeys:_t,loadingKeys:kt,checkedKeys:Pt,halfCheckedKeys:$t,dragOverNodeKey:tn,dropPosition:jt,keyEntities:Sn};return ke.createElement(ke.Fragment,null,Dr&&yr&&ke.createElement("span",{style:Tt,"aria-live":"assertive"},Qt(yr)),ke.createElement("div",null,ke.createElement("input",{style:Tt,disabled:Xn===!1||St,tabIndex:Xn!==!1?Tr:null,onKeyDown:Rr,onFocus:Sr,onBlur:fr,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:ua,className:"".concat(se,"-indent-unit")}))),ke.createElement(Ze.Z,(0,he.Z)({},mi,{data:Ur,itemKey:xt,height:Zt,fullHeight:!1,virtual:wn,itemHeight:gn,prefixCls:"".concat(se,"-list"),ref:Vi,onVisibleChange:function(kr,_i){var gi=new Set(kr),ji=_i.filter(function(Mi){return!gi.has(Mi)});ji.some(function(Mi){return xt(Mi)===it})&&Pr()}}),function(er){var kr=er.pos,_i=(0,he.Z)({},(Ye(er.data),er.data)),gi=er.title,ji=er.key,Mi=er.isStart,Ca=er.isEnd,Jr=(0,dt.km)(ji,kr);delete _i.key,delete _i.children;var ra=(0,dt.H8)(Jr,ei);return ke.createElement(Re,(0,he.Z)({},_i,ra,{title:gi,active:!!yr&&ji===yr.key,pos:kr,data:er.data,isStart:Mi,isEnd:Ca,motion:pt,motionNodes:ji===it?Wt:null,motionType:lr,onMotionStart:Bi,onMotionEnd:Pr,treeNodeRequiredProps:ei,onMouseMove:function(){Vr(null)}}))}))});An.displayName="NodeList";var Tn=An,dn=de(35654),Gn=de(90782),Cn=de(67841),mn=10,Bn=function(ie){(0,xe.Z)(se,ie);var ae=(0,fe.Z)(se);function se(){var oe;(0,Le.Z)(this,se);for(var Je=arguments.length,vt=new Array(Je),$e=0;$e<Je;$e++)vt[$e]=arguments[$e];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 _t=oe.state,kt=_t.expandedKeys,$t=_t.keyEntities,Sn=oe.props.onDragStart,St=Pt.props.eventKey;oe.dragNode=Pt,oe.dragStartMousePosition={x:lt.clientX,y:lt.clientY};var nn=(0,dn._5)(kt,St);oe.setState({draggingNodeKey:St,dragChildrenKeys:(0,dn.wA)(St,$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 _t=oe.state,kt=_t.expandedKeys,$t=_t.keyEntities,Sn=_t.dragChildrenKeys,St=_t.flattenNodes,nn=_t.indent,tn=oe.props,jt=tn.onDragEnter,pt=tn.onExpand,Zt=tn.allowDrop,gn=tn.direction,wn=Pt.props,Xn=wn.pos,yr=wn.eventKey,Dr=(0,Ae.Z)(oe),Tr=Dr.dragNode;if(oe.currentMouseOverDroppableNodeKey!==yr&&(oe.currentMouseOverDroppableNodeKey=yr),!Tr){oe.resetDragState();return}var Rr=(0,dn.OM)(lt,Tr,Pt,nn,oe.dragStartMousePosition,Zt,St,$t,kt,gn),Sr=Rr.dropPosition,fr=Rr.dropLevelOffset,Vr=Rr.dropTargetKey,Bi=Rr.dropContainerKey,yi=Rr.dropTargetPos,mi=Rr.dropAllowed,Vi=Rr.dragOverNodeKey;if(Sn.indexOf(Vr)!==-1||!mi){oe.resetDragState();return}if(oe.delayedDragEnterLogic||(oe.delayedDragEnterLogic={}),Object.keys(oe.delayedDragEnterLogic).forEach(function(ua){clearTimeout(oe.delayedDragEnterLogic[ua])}),Tr.props.eventKey!==Pt.props.eventKey&&(lt.persist(),oe.delayedDragEnterLogic[Xn]=window.setTimeout(function(){if(oe.state.draggingNodeKey!==null){var ua=(0,Oe.Z)(kt),Wr=(0,Cn.Z)($t,Pt.props.eventKey);Wr&&(Wr.children||[]).length&&(ua=(0,dn.L0)(kt,Pt.props.eventKey)),"expandedKeys"in oe.props||oe.setExpandedKeys(ua),pt==null||pt(ua,{node:(0,dt.F)(Pt.props),expanded:!0,nativeEvent:lt.nativeEvent})}},800)),Tr.props.eventKey===Vr&&fr===0){oe.resetDragState();return}oe.setState({dragOverNodeKey:Vi,dropPosition:Sr,dropLevelOffset:fr,dropTargetKey:Vr,dropContainerKey:Bi,dropTargetPos:yi,dropAllowed:mi}),jt==null||jt({event:lt,node:(0,dt.F)(Pt.props),expandedKeys:kt})},oe.onNodeDragOver=function(lt,Pt){var _t=oe.state,kt=_t.dragChildrenKeys,$t=_t.flattenNodes,Sn=_t.keyEntities,St=_t.expandedKeys,nn=_t.indent,tn=oe.props,jt=tn.onDragOver,pt=tn.allowDrop,Zt=tn.direction,gn=(0,Ae.Z)(oe),wn=gn.dragNode;if(wn){var Xn=(0,dn.OM)(lt,wn,Pt,nn,oe.dragStartMousePosition,pt,$t,Sn,St,Zt),yr=Xn.dropPosition,Dr=Xn.dropLevelOffset,Tr=Xn.dropTargetKey,Rr=Xn.dropContainerKey,Sr=Xn.dropAllowed,fr=Xn.dropTargetPos,Vr=Xn.dragOverNodeKey;kt.indexOf(Tr)!==-1||!Sr||(wn.props.eventKey===Tr&&Dr===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():yr===oe.state.dropPosition&&Dr===oe.state.dropLevelOffset&&Tr===oe.state.dropTargetKey&&Rr===oe.state.dropContainerKey&&fr===oe.state.dropTargetPos&&Sr===oe.state.dropAllowed&&Vr===oe.state.dragOverNodeKey||oe.setState({dropPosition:yr,dropLevelOffset:Dr,dropTargetKey:Tr,dropContainerKey:Rr,dropTargetPos:fr,dropAllowed:Sr,dragOverNodeKey:Vr}),jt==null||jt({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 _t=oe.props.onDragLeave;_t==null||_t({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 _t=oe.props.onDragEnd;oe.setState({dragOverNodeKey:null}),oe.cleanDragState(),_t==null||_t({event:lt,node:(0,dt.F)(Pt.props)}),oe.dragNode=null,window.removeEventListener("dragend",oe.onWindowDragEnd)},oe.onNodeDrop=function(lt,Pt){var _t,kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$t=oe.state,Sn=$t.dragChildrenKeys,St=$t.dropPosition,nn=$t.dropTargetKey,tn=$t.dropTargetPos,jt=$t.dropAllowed;if(jt){var pt=oe.props.onDrop;if(oe.setState({dragOverNodeKey:null}),oe.cleanDragState(),nn!==null){var Zt=(0,ft.Z)((0,ft.Z)({},(0,dt.H8)(nn,oe.getTreeNodeRequiredProps())),{},{active:((_t=oe.getActiveItem())===null||_t===void 0?void 0:_t.key)===nn,data:(0,Cn.Z)(oe.state.keyEntities,nn).node}),gn=Sn.indexOf(nn)!==-1;(0,Qe.ZP)(!gn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wn=(0,dn.yx)(tn),Xn={event:lt,node:(0,dt.F)(Zt),dragNode:oe.dragNode?(0,dt.F)(oe.dragNode.props):null,dragNodesKeys:[oe.dragNode.props.eventKey].concat(Sn),dropToGap:St!==0,dropPosition:St+Number(wn[wn.length-1])};kt||pt==null||pt(Xn),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 _t=oe.state,kt=_t.expandedKeys,$t=_t.flattenNodes,Sn=Pt.expanded,St=Pt.key,nn=Pt.isLeaf;if(!(nn||lt.shiftKey||lt.metaKey||lt.ctrlKey)){var tn=$t.filter(function(pt){return pt.key===St})[0],jt=(0,dt.F)((0,ft.Z)((0,ft.Z)({},(0,dt.H8)(St,oe.getTreeNodeRequiredProps())),{},{data:tn.data}));oe.setExpandedKeys(Sn?(0,dn._5)(kt,St):(0,dn.L0)(kt,St)),oe.onNodeExpand(lt,jt)}},oe.onNodeClick=function(lt,Pt){var _t=oe.props,kt=_t.onClick,$t=_t.expandAction;$t==="click"&&oe.triggerExpandActionExpand(lt,Pt),kt==null||kt(lt,Pt)},oe.onNodeDoubleClick=function(lt,Pt){var _t=oe.props,kt=_t.onDoubleClick,$t=_t.expandAction;$t==="doubleClick"&&oe.triggerExpandActionExpand(lt,Pt),kt==null||kt(lt,Pt)},oe.onNodeSelect=function(lt,Pt){var _t=oe.state.selectedKeys,kt=oe.state,$t=kt.keyEntities,Sn=kt.fieldNames,St=oe.props,nn=St.onSelect,tn=St.multiple,jt=Pt.selected,pt=Pt[Sn.key],Zt=!jt;Zt?tn?_t=(0,dn.L0)(_t,pt):_t=[pt]:_t=(0,dn._5)(_t,pt);var gn=_t.map(function(wn){var Xn=(0,Cn.Z)($t,wn);return Xn?Xn.node:null}).filter(function(wn){return wn});oe.setUncontrolledState({selectedKeys:_t}),nn==null||nn(_t,{event:"select",selected:Zt,node:Pt,selectedNodes:gn,nativeEvent:lt.nativeEvent})},oe.onNodeCheck=function(lt,Pt,_t){var kt=oe.state,$t=kt.keyEntities,Sn=kt.checkedKeys,St=kt.halfCheckedKeys,nn=oe.props,tn=nn.checkStrictly,jt=nn.onCheck,pt=Pt.key,Zt,gn={event:"check",node:Pt,checked:_t,nativeEvent:lt.nativeEvent};if(tn){var wn=_t?(0,dn.L0)(Sn,pt):(0,dn._5)(Sn,pt),Xn=(0,dn._5)(St,pt);Zt={checked:wn,halfChecked:Xn},gn.checkedNodes=wn.map(function(fr){return(0,Cn.Z)($t,fr)}).filter(function(fr){return fr}).map(function(fr){return fr.node}),oe.setUncontrolledState({checkedKeys:wn})}else{var yr=(0,Gn.S)([].concat((0,Oe.Z)(Sn),[pt]),!0,$t),Dr=yr.checkedKeys,Tr=yr.halfCheckedKeys;if(!_t){var Rr=new Set(Dr);Rr.delete(pt);var Sr=(0,Gn.S)(Array.from(Rr),{checked:!1,halfCheckedKeys:Tr},$t);Dr=Sr.checkedKeys,Tr=Sr.halfCheckedKeys}Zt=Dr,gn.checkedNodes=[],gn.checkedNodesPositions=[],gn.halfCheckedKeys=Tr,Dr.forEach(function(fr){var Vr=(0,Cn.Z)($t,fr);if(Vr){var Bi=Vr.node,yi=Vr.pos;gn.checkedNodes.push(Bi),gn.checkedNodesPositions.push({node:Bi,pos:yi})}}),oe.setUncontrolledState({checkedKeys:Dr},!1,{halfCheckedKeys:Tr})}jt==null||jt(Zt,gn)},oe.onNodeLoad=function(lt){var Pt=lt.key,_t=new Promise(function(kt,$t){oe.setState(function(Sn){var St=Sn.loadedKeys,nn=St===void 0?[]:St,tn=Sn.loadingKeys,jt=tn===void 0?[]:tn,pt=oe.props,Zt=pt.loadData,gn=pt.onLoad;if(!Zt||nn.indexOf(Pt)!==-1||jt.indexOf(Pt)!==-1)return null;var wn=Zt(lt);return wn.then(function(){var Xn=oe.state.loadedKeys,yr=(0,dn.L0)(Xn,Pt);gn==null||gn(yr,{event:"load",node:lt}),oe.setUncontrolledState({loadedKeys:yr}),oe.setState(function(Dr){return{loadingKeys:(0,dn._5)(Dr.loadingKeys,Pt)}}),kt()}).catch(function(Xn){if(oe.setState(function(Dr){return{loadingKeys:(0,dn._5)(Dr.loadingKeys,Pt)}}),oe.loadingRetryTimes[Pt]=(oe.loadingRetryTimes[Pt]||0)+1,oe.loadingRetryTimes[Pt]>=mn){var yr=oe.state.loadedKeys;(0,Qe.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),oe.setUncontrolledState({loadedKeys:(0,dn.L0)(yr,Pt)}),kt()}$t(Xn)}),{loadingKeys:(0,dn.L0)(jt,Pt)}})});return _t.catch(function(){}),_t},oe.onNodeMouseEnter=function(lt,Pt){var _t=oe.props.onMouseEnter;_t==null||_t({event:lt,node:Pt})},oe.onNodeMouseLeave=function(lt,Pt){var _t=oe.props.onMouseLeave;_t==null||_t({event:lt,node:Pt})},oe.onNodeContextMenu=function(lt,Pt){var _t=oe.props.onRightClick;_t&&(lt.preventDefault(),_t({event:lt,node:Pt}))},oe.onFocus=function(){var lt=oe.props.onFocus;oe.setState({focused:!0});for(var Pt=arguments.length,_t=new Array(Pt),kt=0;kt<Pt;kt++)_t[kt]=arguments[kt];lt==null||lt.apply(void 0,_t)},oe.onBlur=function(){var lt=oe.props.onBlur;oe.setState({focused:!1}),oe.onActiveChange(null);for(var Pt=arguments.length,_t=new Array(Pt),kt=0;kt<Pt;kt++)_t[kt]=arguments[kt];lt==null||lt.apply(void 0,_t)},oe.getTreeNodeRequiredProps=function(){var lt=oe.state,Pt=lt.expandedKeys,_t=lt.selectedKeys,kt=lt.loadedKeys,$t=lt.loadingKeys,Sn=lt.checkedKeys,St=lt.halfCheckedKeys,nn=lt.dragOverNodeKey,tn=lt.dropPosition,jt=lt.keyEntities;return{expandedKeys:Pt||[],selectedKeys:_t||[],loadedKeys:kt||[],loadingKeys:$t||[],checkedKeys:Sn||[],halfCheckedKeys:St||[],dragOverNodeKey:nn,dropPosition:tn,keyEntities:jt}},oe.setExpandedKeys=function(lt){var Pt=oe.state,_t=Pt.treeData,kt=Pt.fieldNames,$t=(0,dt.oH)(_t,lt,kt);oe.setUncontrolledState({expandedKeys:lt,flattenNodes:$t},!0)},oe.onNodeExpand=function(lt,Pt){var _t=oe.state.expandedKeys,kt=oe.state,$t=kt.listChanging,Sn=kt.fieldNames,St=oe.props,nn=St.onExpand,tn=St.loadData,jt=Pt.expanded,pt=Pt[Sn.key];if(!$t){var Zt=_t.indexOf(pt),gn=!jt;if((0,Qe.ZP)(jt&&Zt!==-1||!jt&&Zt===-1,"Expand state not sync with index check"),gn?_t=(0,dn.L0)(_t,pt):_t=(0,dn._5)(_t,pt),oe.setExpandedKeys(_t),nn==null||nn(_t,{node:Pt,expanded:gn,nativeEvent:lt.nativeEvent}),gn&&tn){var wn=oe.onNodeLoad(Pt);wn&&wn.then(function(){var Xn=(0,dt.oH)(oe.state.treeData,_t,Sn);oe.setUncontrolledState({flattenNodes:Xn})}).catch(function(){var Xn=oe.state.expandedKeys,yr=(0,dn._5)(Xn,pt);oe.setExpandedKeys(yr)})}}},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,_t=oe.props.onActiveChange;Pt!==lt&&(oe.setState({activeKey:lt}),lt!==null&&oe.scrollTo({key:lt}),_t==null||_t(lt))},oe.getActiveItem=function(){var lt=oe.state,Pt=lt.activeKey,_t=lt.flattenNodes;return Pt===null?null:_t.find(function(kt){var $t=kt.key;return $t===Pt})||null},oe.offsetActiveKey=function(lt){var Pt=oe.state,_t=Pt.flattenNodes,kt=Pt.activeKey,$t=_t.findIndex(function(nn){var tn=nn.key;return tn===kt});$t===-1&&lt<0&&($t=_t.length),$t=($t+lt+_t.length)%_t.length;var Sn=_t[$t];if(Sn){var St=Sn.key;oe.onActiveChange(St)}else oe.onActiveChange(null)},oe.onKeyDown=function(lt){var Pt=oe.state,_t=Pt.activeKey,kt=Pt.expandedKeys,$t=Pt.checkedKeys,Sn=Pt.fieldNames,St=oe.props,nn=St.onKeyDown,tn=St.checkable,jt=St.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 Zt=oe.getTreeNodeRequiredProps(),gn=pt.data.isLeaf===!1||!!(pt.data[Sn.children]||[]).length,wn=(0,dt.F)((0,ft.Z)((0,ft.Z)({},(0,dt.H8)(_t,Zt)),{},{data:pt.data,active:!0}));switch(lt.which){case _e.Z.LEFT:{gn&&kt.includes(_t)?oe.onNodeExpand({},wn):pt.parent&&oe.onActiveChange(pt.parent.key),lt.preventDefault();break}case _e.Z.RIGHT:{gn&&!kt.includes(_t)?oe.onNodeExpand({},wn):pt.children&&pt.children.length&&oe.onActiveChange(pt.children[0].key),lt.preventDefault();break}case _e.Z.ENTER:case _e.Z.SPACE:{tn&&!wn.disabled&&wn.checkable!==!1&&!wn.disableCheckbox?oe.onNodeCheck({},wn,!$t.includes(_t)):!tn&&jt&&!wn.disabled&&wn.selectable!==!1&&oe.onNodeSelect({},wn);break}}}nn==null||nn(lt)},oe.setUncontrolledState=function(lt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!oe.destroyed){var kt=!1,$t=!0,Sn={};Object.keys(lt).forEach(function(St){if(St in oe.props){$t=!1;return}kt=!0,Sn[St]=lt[St]}),kt&&(!Pt||$t)&&oe.setState((0,ft.Z)((0,ft.Z)({},Sn),_t))}},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 Je=this.props.activeKey;Je!==void 0&&Je!==this.state.activeKey&&(this.setState({activeKey:Je}),Je!==null&&this.scrollTo({key:Je}))}},{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 Je,vt=this.state,$e=vt.focused,lt=vt.flattenNodes,Pt=vt.keyEntities,_t=vt.draggingNodeKey,kt=vt.activeKey,$t=vt.dropLevelOffset,Sn=vt.dropContainerKey,St=vt.dropTargetKey,nn=vt.dropPosition,tn=vt.dragOverNodeKey,jt=vt.indent,pt=this.props,Zt=pt.prefixCls,gn=pt.className,wn=pt.style,Xn=pt.showLine,yr=pt.focusable,Dr=pt.tabIndex,Tr=Dr===void 0?0:Dr,Rr=pt.selectable,Sr=pt.showIcon,fr=pt.icon,Vr=pt.switcherIcon,Bi=pt.draggable,yi=pt.checkable,mi=pt.checkStrictly,Vi=pt.disabled,ua=pt.motion,Wr=pt.loadData,Mn=pt.filterTreeNode,ea=pt.height,Ea=pt.itemHeight,wo=pt.virtual,sa=pt.titleRender,Pi=pt.dropIndicatorRender,Aa=pt.onContextMenu,Si=pt.onScroll,qr=pt.direction,Ma=pt.rootClassName,kn=pt.rootStyle,Dt=(0,Ne.Z)(this.props,{aria:!0,data:!0}),Gt;return Bi&&((0,He.Z)(Bi)==="object"?Gt=Bi:typeof Bi=="function"?Gt={nodeDraggable:Bi}:Gt={}),ke.createElement(Pe.k.Provider,{value:{prefixCls:Zt,selectable:Rr,showIcon:Sr,icon:fr,switcherIcon:Vr,draggable:Gt,draggingNodeKey:_t,checkable:yi,checkStrictly:mi,disabled:Vi,keyEntities:Pt,dropLevelOffset:$t,dropContainerKey:Sn,dropTargetKey:St,dropPosition:nn,dragOverNodeKey:tn,indent:jt,direction:qr,dropIndicatorRender:Pi,loadData:Wr,filterTreeNode:Mn,titleRender:sa,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()(Zt,gn,Ma,(Je={},(0,Me.Z)(Je,"".concat(Zt,"-show-line"),Xn),(0,Me.Z)(Je,"".concat(Zt,"-focused"),$e),(0,Me.Z)(Je,"".concat(Zt,"-active-focused"),kt!==null),Je)),style:kn},ke.createElement(Tn,(0,he.Z)({ref:this.listRef,prefixCls:Zt,style:wn,data:lt,disabled:Vi,selectable:Rr,checkable:!!yi,motion:ua,dragging:_t!==null,height:ea,itemHeight:Ea,virtual:wo,focusable:yr,focused:$e,tabIndex:Tr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Aa,onScroll:Si},this.getTreeNodeRequiredProps(),Dt))))}}],[{key:"getDerivedStateFromProps",value:function(Je,vt){var $e=vt.prevProps,lt={prevProps:Je};function Pt(yr){return!$e&&yr in Je||$e&&$e[yr]!==Je[yr]}var _t,kt=vt.fieldNames;if(Pt("fieldNames")&&(kt=(0,dt.w$)(Je.fieldNames),lt.fieldNames=kt),Pt("treeData")?_t=Je.treeData:Pt("children")&&((0,Qe.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),_t=(0,dt.zn)(Je.children)),_t){lt.treeData=_t;var $t=(0,dt.I8)(_t,{fieldNames:kt});lt.keyEntities=(0,ft.Z)((0,Me.Z)({},it,at),$t.keyEntities)}var Sn=lt.keyEntities||vt.keyEntities;if(Pt("expandedKeys")||$e&&Pt("autoExpandParent"))lt.expandedKeys=Je.autoExpandParent||!$e&&Je.defaultExpandParent?(0,dn.r7)(Je.expandedKeys,Sn):Je.expandedKeys;else if(!$e&&Je.defaultExpandAll){var St=(0,ft.Z)({},Sn);delete St[it],lt.expandedKeys=Object.keys(St).map(function(yr){return St[yr].key})}else!$e&&Je.defaultExpandedKeys&&(lt.expandedKeys=Je.autoExpandParent||Je.defaultExpandParent?(0,dn.r7)(Je.defaultExpandedKeys,Sn):Je.defaultExpandedKeys);if(lt.expandedKeys||delete lt.expandedKeys,_t||lt.expandedKeys){var nn=(0,dt.oH)(_t||vt.treeData,lt.expandedKeys||vt.expandedKeys,kt);lt.flattenNodes=nn}if(Je.selectable&&(Pt("selectedKeys")?lt.selectedKeys=(0,dn.BT)(Je.selectedKeys,Je):!$e&&Je.defaultSelectedKeys&&(lt.selectedKeys=(0,dn.BT)(Je.defaultSelectedKeys,Je))),Je.checkable){var tn;if(Pt("checkedKeys")?tn=(0,dn.E6)(Je.checkedKeys)||{}:!$e&&Je.defaultCheckedKeys?tn=(0,dn.E6)(Je.defaultCheckedKeys)||{}:_t&&(tn=(0,dn.E6)(Je.checkedKeys)||{checkedKeys:vt.checkedKeys,halfCheckedKeys:vt.halfCheckedKeys}),tn){var jt=tn,pt=jt.checkedKeys,Zt=pt===void 0?[]:pt,gn=jt.halfCheckedKeys,wn=gn===void 0?[]:gn;if(!Je.checkStrictly){var Xn=(0,Gn.S)(Zt,!0,Sn);Zt=Xn.checkedKeys,wn=Xn.halfCheckedKeys}lt.checkedKeys=Zt,lt.halfCheckedKeys=wn}}return Pt("loadedKeys")&&(lt.loadedKeys=Je.loadedKeys),lt}}]),se}(ke.Component);Bn.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:Te,allowDrop:function(){return!0},expandAction:!1},Bn.TreeNode=rt.Z;var Se=Bn,Fe=Se},35654:function(Qn,Yt,de){"use strict";de.d(Yt,{BT:function(){return ke},E6:function(){return Ye},L0:function(){return fe},OM:function(){return Qe},_5:function(){return xe},r7:function(){return ze},wA:function(){return Be},yx:function(){return Ke}});var he=de(77654),Me=de(43749),He=de(48736),ft=de(59301),Oe=de(39417),Le=de(67841),ve=de(71430),Ae=null;function xe(qe,We){if(!qe)return[];var Ze=qe.slice(),et=Ze.indexOf(We);return et>=0&&Ze.splice(et,1),Ze}function fe(qe,We){var Ze=(qe||[]).slice();return Ze.indexOf(We)===-1&&Ze.push(We),Ze}function Ke(qe){return qe.split("-")}function Be(qe,We){var Ze=[],et=(0,Le.Z)(We,qe);function rt(){var ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ht.forEach(function(dt){var Ct=dt.key,Xe=dt.children;Ze.push(Ct),rt(Xe)})}return rt(et.children),Ze}function _e(qe){if(qe.parent){var We=Ke(qe.pos);return Number(We[We.length-1])===qe.parent.children.length-1}return!1}function Ne(qe){var We=Ke(qe.pos);return Number(We[We.length-1])===0}function Qe(qe,We,Ze,et,rt,ht,dt,Ct,Xe,Lt){var Re,Ht=qe.clientX,Et=qe.clientY,bt=qe.target.getBoundingClientRect(),Tt=bt.top,wt=bt.height,it=(Lt==="rtl"?-1:1)*(((rt==null?void 0:rt.x)||0)-Ht),Ue=(it-12)/et,at=(0,Le.Z)(Ct,Ze.props.eventKey);if(Et<Tt+wt/2){var Xt=dt.findIndex(function(Fe){return Fe.key===at.key}),Vt=Xt<=0?0:Xt-1,xt=dt[Vt].key;at=(0,Le.Z)(Ct,xt)}var Qt=at.key,An=at,Tn=at.key,dn=0,Gn=0;if(!Xe.includes(Qt))for(var Cn=0;Cn<Ue&&_e(at);Cn+=1)at=at.parent,Gn+=1;var mn=We.props.data,Bn=at.node,Se=!0;return Ne(at)&&at.level===0&&Et<Tt+wt/2&&ht({dragNode:mn,dropNode:Bn,dropPosition:-1})&&at.key===Ze.props.eventKey?dn=-1:(An.children||[]).length&&Xe.includes(Tn)?ht({dragNode:mn,dropNode:Bn,dropPosition:0})?dn=0:Se=!1:Gn===0?Ue>-1.5?ht({dragNode:mn,dropNode:Bn,dropPosition:1})?dn=1:Se=!1:ht({dragNode:mn,dropNode:Bn,dropPosition:0})?dn=0:ht({dragNode:mn,dropNode:Bn,dropPosition:1})?dn=1:Se=!1:ht({dragNode:mn,dropNode:Bn,dropPosition:1})?dn=1:Se=!1,{dropPosition:dn,dropLevelOffset:Gn,dropTargetKey:at.key,dropTargetPos:at.pos,dragOverNodeKey:Tn,dropContainerKey:dn===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 Pe=function(We){return We};function Te(qe,We){if(!qe)return[];var Ze=We||{},et=Ze.processProps,rt=et===void 0?Pe:et,ht=Array.isArray(qe)?qe:[qe];return ht.map(function(dt){var Ct=dt.children,Xe=_objectWithoutProperties(dt,Ae),Lt=Te(Ct,We);return React.createElement(TreeNode,_extends({key:Xe.key},rt(Xe)),Lt)})}function Ye(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,He.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return We}function ze(qe,We){var Ze=new Set;function et(rt){if(!Ze.has(rt)){var ht=(0,Le.Z)(We,rt);if(ht){Ze.add(rt);var dt=ht.parent,Ct=ht.node;Ct.disabled||dt&&et(dt.key)}}}return(qe||[]).forEach(function(rt){et(rt)}),(0,he.Z)(Ze)}},90782:function(Qn,Yt,de){"use strict";de.d(Yt,{S:function(){return ve}});var he=de(48736),Me=de(67841);function He(Ae,xe){var fe=new Set;return Ae.forEach(function(Ke){xe.has(Ke)||fe.add(Ke)}),fe}function ft(Ae){var xe=Ae||{},fe=xe.disabled,Ke=xe.disableCheckbox,Be=xe.checkable;return!!(fe||Ke)||Be===!1}function Oe(Ae,xe,fe,Ke){for(var Be=new Set(Ae),_e=new Set,Ne=0;Ne<=fe;Ne+=1){var Qe=xe.get(Ne)||new Set;Qe.forEach(function(Ye){var ze=Ye.key,qe=Ye.node,We=Ye.children,Ze=We===void 0?[]:We;Be.has(ze)&&!Ke(qe)&&Ze.filter(function(et){return!Ke(et.node)}).forEach(function(et){Be.add(et.key)})})}for(var ke=new Set,Pe=fe;Pe>=0;Pe-=1){var Te=xe.get(Pe)||new Set;Te.forEach(function(Ye){var ze=Ye.parent,qe=Ye.node;if(!(Ke(qe)||!Ye.parent||ke.has(Ye.parent.key))){if(Ke(Ye.parent.node)){ke.add(ze.key);return}var We=!0,Ze=!1;(ze.children||[]).filter(function(et){return!Ke(et.node)}).forEach(function(et){var rt=et.key,ht=Be.has(rt);We&&!ht&&(We=!1),!Ze&&(ht||_e.has(rt))&&(Ze=!0)}),We&&Be.add(ze.key),Ze&&_e.add(ze.key),ke.add(ze.key)}})}return{checkedKeys:Array.from(Be),halfCheckedKeys:Array.from(He(_e,Be))}}function Le(Ae,xe,fe,Ke,Be){for(var _e=new Set(Ae),Ne=new Set(xe),Qe=0;Qe<=Ke;Qe+=1){var ke=fe.get(Qe)||new Set;ke.forEach(function(ze){var qe=ze.key,We=ze.node,Ze=ze.children,et=Ze===void 0?[]:Ze;!_e.has(qe)&&!Ne.has(qe)&&!Be(We)&&et.filter(function(rt){return!Be(rt.node)}).forEach(function(rt){_e.delete(rt.key)})})}Ne=new Set;for(var Pe=new Set,Te=Ke;Te>=0;Te-=1){var Ye=fe.get(Te)||new Set;Ye.forEach(function(ze){var qe=ze.parent,We=ze.node;if(!(Be(We)||!ze.parent||Pe.has(ze.parent.key))){if(Be(ze.parent.node)){Pe.add(qe.key);return}var Ze=!0,et=!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),!et&&(dt||Ne.has(ht))&&(et=!0)}),Ze||_e.delete(qe.key),et&&Ne.add(qe.key),Pe.add(qe.key)}})}return{checkedKeys:Array.from(_e),halfCheckedKeys:Array.from(He(Ne,_e))}}function ve(Ae,xe,fe,Ke){var Be=[],_e;Ke?_e=Ke:_e=ft;var Ne=new Set(Ae.filter(function(Te){var Ye=!!(0,Me.Z)(fe,Te);return Ye||Be.push(Te),Ye})),Qe=new Map,ke=0;Object.keys(fe).forEach(function(Te){var Ye=fe[Te],ze=Ye.level,qe=Qe.get(ze);qe||(qe=new Set,Qe.set(ze,qe)),qe.add(Ye),ke=Math.max(ke,ze)}),(0,he.ZP)(!Be.length,"Tree missing follow keys: ".concat(Be.slice(0,100).map(function(Te){return"'".concat(Te,"'")}).join(", ")));var Pe;return xe===!0?Pe=Oe(Ne,Qe,ke,_e):Pe=Le(Ne,xe.halfCheckedKeys,Qe,ke,_e),Pe}},67841:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return he}});function he(Me,He){return Me[He]}},71430:function(Qn,Yt,de){"use strict";de.d(Yt,{F:function(){return ze},H8:function(){return Ye},I8:function(){return Te},km:function(){return Be},oH:function(){return ke},w$:function(){return _e},zn:function(){return Qe}});var he=de(43749),Me=de(77654),He=de(85899),ft=de(42244),Oe=de(11592),Le=de(2738),ve=de(48736),Ae=de(67841),xe=["children"];function fe(qe,We){return"".concat(qe,"-").concat(We)}function Ke(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,et=We._title,rt=We.key,ht=We.children,dt=Ze||"title";return{title:dt,_title:et||[dt],key:rt||"key",children:ht||"children"}}function Ne(qe,We){var Ze=new Map;function et(rt){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(rt||[]).forEach(function(dt){var Ct=dt[We.key],Xe=dt[We.children];warning(Ct!=null,"Tree node must have a certain key: [".concat(ht).concat(Ct,"]"));var Lt=String(Ct);warning(!Ze.has(Lt)||Ct===null||Ct===void 0,"Same 'key' exist in the Tree: ".concat(Lt)),Ze.set(Lt,!0),et(Xe,"".concat(ht).concat(Lt," > "))})}et(qe)}function Qe(qe){function We(Ze){var et=(0,Oe.Z)(Ze);return et.map(function(rt){if(!Ke(rt))return(0,ve.ZP)(!rt,"Tree/TreeNode can only accept TreeNode as children."),null;var ht=rt.key,dt=rt.props,Ct=dt.children,Xe=(0,ft.Z)(dt,xe),Lt=(0,He.Z)({key:ht},Xe),Re=We(Ct);return Re.length&&(Lt.children=Re),Lt}).filter(function(rt){return rt})}return We(qe)}function ke(qe,We,Ze){var et=_e(Ze),rt=et._title,ht=et.key,dt=et.children,Ct=new Set(We===!0?[]:We),Xe=[];function Lt(Re){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Re.map(function(Et,bt){for(var Tt=fe(Ht?Ht.pos:"0",bt),wt=Be(Et[ht],Tt),it,Ue=0;Ue<rt.length;Ue+=1){var at=rt[Ue];if(Et[at]!==void 0){it=Et[at];break}}var Xt=(0,He.Z)((0,He.Z)({},(0,Le.Z)(Et,[].concat((0,Me.Z)(rt),[ht,dt]))),{},{title:it,key:wt,parent:Ht,pos:Tt,children:null,data:Et,isStart:[].concat((0,Me.Z)(Ht?Ht.isStart:[]),[bt===0]),isEnd:[].concat((0,Me.Z)(Ht?Ht.isEnd:[]),[bt===Re.length-1])});return Xe.push(Xt),We===!0||Ct.has(wt)?Xt.children=Lt(Et[dt]||[],Xt):Xt.children=[],Xt})}return Lt(qe),Xe}function Pe(qe,We,Ze){var et={};(0,he.Z)(Ze)==="object"?et=Ze:et={externalGetKey:Ze},et=et||{};var rt=et,ht=rt.childrenPropName,dt=rt.externalGetKey,Ct=rt.fieldNames,Xe=_e(Ct),Lt=Xe.key,Re=Xe.children,Ht=ht||Re,Et;dt?typeof dt=="string"?Et=function(wt){return wt[dt]}:typeof dt=="function"&&(Et=function(wt){return dt(wt)}):Et=function(wt,it){return Be(wt[Lt],it)};function bt(Tt,wt,it,Ue){var at=Tt?Tt[Ht]:qe,Xt=Tt?fe(it.pos,wt):"0",Vt=Tt?[].concat((0,Me.Z)(Ue),[Tt]):[];if(Tt){var xt=Et(Tt,Xt),Qt={node:Tt,index:wt,pos:Xt,key:xt,parentPos:it.node?it.pos:null,level:it.level+1,nodes:Vt};We(Qt)}at&&at.forEach(function(An,Tn){bt(An,Tn,{node:Tt,pos:Xt,level:it?it.level+1:-1},Vt)})}bt(null)}function Te(qe){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ze=We.initWrapper,et=We.processEntity,rt=We.onProcessFinished,ht=We.externalGetKey,dt=We.childrenPropName,Ct=We.fieldNames,Xe=arguments.length>2?arguments[2]:void 0,Lt=ht||Xe,Re={},Ht={},Et={posEntities:Re,keyEntities:Ht};return Ze&&(Et=Ze(Et)||Et),Pe(qe,function(bt){var Tt=bt.node,wt=bt.index,it=bt.pos,Ue=bt.key,at=bt.parentPos,Xt=bt.level,Vt=bt.nodes,xt={node:Tt,nodes:Vt,index:wt,key:Ue,pos:it,level:Xt},Qt=Be(Ue,it);Re[it]=xt,Ht[Qt]=xt,xt.parent=Re[at],xt.parent&&(xt.parent.children=xt.parent.children||[],xt.parent.children.push(xt)),et&&et(xt,Et)},{externalGetKey:Lt,childrenPropName:dt,fieldNames:Ct}),rt&&rt(Et),Et}function Ye(qe,We){var Ze=We.expandedKeys,et=We.selectedKeys,rt=We.loadedKeys,ht=We.loadingKeys,dt=We.checkedKeys,Ct=We.halfCheckedKeys,Xe=We.dragOverNodeKey,Lt=We.dropPosition,Re=We.keyEntities,Ht=(0,Ae.Z)(Re,qe),Et={eventKey:qe,expanded:Ze.indexOf(qe)!==-1,selected:et.indexOf(qe)!==-1,loaded:rt.indexOf(qe)!==-1,loading:ht.indexOf(qe)!==-1,checked:dt.indexOf(qe)!==-1,halfChecked:Ct.indexOf(qe)!==-1,pos:String(Ht?Ht.pos:""),dragOver:Xe===qe&&Lt===0,dragOverGapTop:Xe===qe&&Lt===-1,dragOverGapBottom:Xe===qe&&Lt===1};return Et}function ze(qe){var We=qe.data,Ze=qe.expanded,et=qe.selected,rt=qe.checked,ht=qe.loaded,dt=qe.loading,Ct=qe.halfChecked,Xe=qe.dragOver,Lt=qe.dragOverGapTop,Re=qe.dragOverGapBottom,Ht=qe.pos,Et=qe.active,bt=qe.eventKey,Tt=(0,He.Z)((0,He.Z)({},We),{},{expanded:Ze,selected:et,checked:rt,loaded:ht,loading:dt,halfChecked:Ct,dragOver:Xe,dragOverGapTop:Lt,dragOverGapBottom:Re,pos:Ht,active:Et,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(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});var he=de(4676);function Me(He,ft,Oe,Le){var ve=he.unstable_batchedUpdates?function(xe){he.unstable_batchedUpdates(Oe,xe)}:Oe;return He!=null&&He.addEventListener&&He.addEventListener(ft,ve,Le),{remove:function(){He!=null&&He.removeEventListener&&He.removeEventListener(ft,ve,Le)}}}},55468:function(Qn,Yt,de){"use strict";de.d(Yt,{g1:function(){return Ke},os:function(){return _e}});var he=/margin|padding|width|height|max|min|offset/,Me={left:!0,top:!0},He={cssFloat:1,styleFloat:1,float:1};function ft(Ne){return Ne.nodeType===1?Ne.ownerDocument.defaultView.getComputedStyle(Ne,null):{}}function Oe(Ne,Qe,ke){if(Qe=Qe.toLowerCase(),ke==="auto"){if(Qe==="height")return Ne.offsetHeight;if(Qe==="width")return Ne.offsetWidth}return Qe in Me||(Me[Qe]=he.test(Qe)),Me[Qe]?parseFloat(ke)||0:ke}function Le(Ne,Qe){var ke=arguments.length,Pe=ft(Ne);return Qe=He[Qe]?"cssFloat"in Ne.style?"cssFloat":"styleFloat":Qe,ke===1?Pe:Oe(Ne,Qe,Pe[Qe]||Ne.style[Qe])}function ve(Ne,Qe,ke){var Pe=arguments.length;if(Qe=He[Qe]?"cssFloat"in Ne.style?"cssFloat":"styleFloat":Qe,Pe===3)return typeof ke=="number"&&he.test(Qe)&&(ke="".concat(ke,"px")),Ne.style[Qe]=ke,ke;for(var Te in Qe)Qe.hasOwnProperty(Te)&&ve(Ne,Te,Qe[Te]);return ft(Ne)}function Ae(Ne){return Ne===document.body?document.documentElement.clientWidth:Ne.offsetWidth}function xe(Ne){return Ne===document.body?window.innerHeight||document.documentElement.clientHeight:Ne.offsetHeight}function fe(){var Ne=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Qe=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ne,height:Qe}}function Ke(){var Ne=document.documentElement.clientWidth,Qe=window.innerHeight||document.documentElement.clientHeight;return{width:Ne,height:Qe}}function Be(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function _e(Ne){var Qe=Ne.getBoundingClientRect(),ke=document.documentElement;return{left:Qe.left+(window.pageXOffset||ke.scrollLeft)-(ke.clientLeft||document.body.clientLeft||0),top:Qe.top+(window.pageYOffset||ke.scrollTop)-(ke.clientTop||document.body.clientTop||0)}}},24514:function(Qn,Yt,de){"use strict";de.d(Yt,{G:function(){return ft}});var he=de(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(xe){return xe in Ae.style})}return!1},He=function(Le,ve){if(!Me(Le))return!1;var Ae=document.createElement("div"),xe=Ae.style[Le];return Ae.style[Le]=ve,Ae.style[Le]!==xe};function ft(Oe,Le){return!Array.isArray(Oe)&&Le!==void 0?He(Oe,Le):Me(Oe)}},48911:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Bn}});var he=de(60499),Me=de(43749),He=de(85899),ft=de(18642),Oe=de(72190),Le=de(42244),ve=de(92310),Ae=de.n(ve),xe=de(29301),fe=de(70425),Ke=de(34280),Be=de(59301),_e=de(4676),Ne=Be.forwardRef(function(Se,Fe){var ie=Se.height,ae=Se.offsetY,se=Se.offsetX,oe=Se.children,Je=Se.prefixCls,vt=Se.onInnerResize,$e=Se.innerProps,lt=Se.rtl,Pt=Se.extra,_t={},kt={display:"flex",flexDirection:"column"};return ae!==void 0&&(_t={height:ie,position:"relative",overflow:"hidden"},kt=(0,He.Z)((0,He.Z)({},kt),{},(0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)({transform:"translateY(".concat(ae,"px)")},lt?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),Be.createElement("div",{style:_t},Be.createElement(xe.Z,{onResize:function(Sn){var St=Sn.offsetHeight;St&&vt&&vt()}},Be.createElement("div",(0,he.Z)({style:kt,className:Ae()((0,ft.Z)({},"".concat(Je,"-holder-inner"),Je)),ref:Fe},$e),oe,Pt)))});Ne.displayName="Filler";var Qe=Ne;function ke(Se){var Fe=Se.children,ie=Se.setRef,ae=Be.useCallback(function(se){ie(se)},[]);return Be.cloneElement(Fe,{ref:ae})}function Pe(Se,Fe,ie,ae,se,oe,Je,vt){var $e=vt.getKey;return Se.slice(Fe,ie+1).map(function(lt,Pt){var _t=Fe+Pt,kt=Je(lt,_t,{style:{width:ae},offsetX:se}),$t=$e(lt);return Be.createElement(ke,{key:$t,setRef:function(St){return oe(lt,St)}},kt)})}function Te(Se,Fe,ie,ae){var se=ie-Se,oe=Fe-ie,Je=Math.min(se,oe)*2;if(ae<=Je){var vt=Math.floor(ae/2);return ae%2?ie+vt+1:ie-vt}return se>oe?ie-(ae-oe):ie+(ae-se)}function Ye(Se,Fe,ie){var ae=Se.length,se=Fe.length,oe,Je;if(ae===0&&se===0)return null;ae<se?(oe=Se,Je=Fe):(oe=Fe,Je=Se);var vt={__EMPTY_ITEM__:!0};function $e(Sn){return Sn!==void 0?ie(Sn):vt}for(var lt=null,Pt=Math.abs(ae-se)!==1,_t=0;_t<Je.length;_t+=1){var kt=$e(oe[_t]),$t=$e(Je[_t]);if(kt!==$t){lt=_t,Pt=Pt||kt!==$e(Je[_t+1]);break}}return lt===null?null:{index:lt,multiple:Pt}}function ze(Se,Fe,ie){var ae=Be.useState(Se),se=(0,Oe.Z)(ae,2),oe=se[0],Je=se[1],vt=Be.useState(null),$e=(0,Oe.Z)(vt,2),lt=$e[0],Pt=$e[1];return Be.useEffect(function(){var _t=Ye(oe||[],Se||[],Fe);(_t==null?void 0:_t.index)!==void 0&&(ie==null||ie(_t.index),Pt(Se[_t.index])),Je(Se)},[Se]),[lt]}var qe=de(16089),We=(typeof navigator=="undefined"?"undefined":(0,Me.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ze=We,et=function(Se,Fe,ie,ae){var se=(0,Be.useRef)(!1),oe=(0,Be.useRef)(null);function Je(){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($e,lt){var Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,_t=$e?lt<0&&vt.current.left||lt>0&&vt.current.right:lt<0&&vt.current.top||lt>0&&vt.current.bottom;return Pt&&_t?(clearTimeout(oe.current),se.current=!1):(!_t||se.current)&&Je(),!se.current&&_t}};function rt(Se,Fe,ie,ae,se,oe,Je){var vt=(0,Be.useRef)(0),$e=(0,Be.useRef)(null),lt=(0,Be.useRef)(null),Pt=(0,Be.useRef)(!1),_t=et(Fe,ie,ae,se);function kt(jt,pt){if(qe.Z.cancel($e.current),!_t(!1,pt)){var Zt=jt;if(!Zt._virtualHandled)Zt._virtualHandled=!0;else return;vt.current+=pt,lt.current=pt,Ze||Zt.preventDefault(),$e.current=(0,qe.Z)(function(){var gn=Pt.current?10:1;Je(vt.current*gn,!1),vt.current=0})}}function $t(jt,pt){Je(pt,!0),Ze||jt.preventDefault()}var Sn=(0,Be.useRef)(null),St=(0,Be.useRef)(null);function nn(jt){if(Se){qe.Z.cancel(St.current),St.current=(0,qe.Z)(function(){Sn.current=null},2);var pt=jt.deltaX,Zt=jt.deltaY,gn=jt.shiftKey,wn=pt,Xn=Zt;(Sn.current==="sx"||!Sn.current&&gn&&Zt&&!pt)&&(wn=Zt,Xn=0,Sn.current="sx");var yr=Math.abs(wn),Dr=Math.abs(Xn);Sn.current===null&&(Sn.current=oe&&yr>Dr?"x":"y"),Sn.current==="y"?kt(jt,Xn):$t(jt,wn)}}function tn(jt){Se&&(Pt.current=jt.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,Oe.Z)(se,2),Je=oe[0],vt=oe[1],$e=function(Pt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pt,kt=Je.get(Pt),$t=Je.get(_t);if(kt===void 0||$t===void 0)for(var Sn=Se.length,St=vt.length;St<Sn;St+=1){var nn,tn=Se[St],jt=Fe(tn);Je.set(jt,St);var pt=(nn=ie.get(jt))!==null&&nn!==void 0?nn:ae;if(vt[St]=(vt[St-1]||0)+pt,jt===Pt&&(kt=St),jt===_t&&($t=St),kt!==void 0&&$t!==void 0)break}return{top:vt[kt-1]||0,bottom:vt[$t]}};return $e}var dt=de(38705),Ct=de(17212),Xe=function(){function Se(){(0,dt.Z)(this,Se),(0,ft.Z)(this,"maps",void 0),(0,ft.Z)(this,"id",0),(0,ft.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Ct.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=Xe;function Re(Se){var Fe=parseFloat(Se);return isNaN(Fe)?0:Fe}function Ht(Se,Fe,ie){var ae=Be.useState(0),se=(0,Oe.Z)(ae,2),oe=se[0],Je=se[1],vt=(0,Be.useRef)(new Map),$e=(0,Be.useRef)(new Lt),lt=(0,Be.useRef)(0);function Pt(){lt.current+=1}function _t(){var $t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Pt();var Sn=function(){var tn=!1;vt.current.forEach(function(jt,pt){if(jt&&jt.offsetParent){var Zt=jt.offsetHeight,gn=getComputedStyle(jt),wn=gn.marginTop,Xn=gn.marginBottom,yr=Re(wn),Dr=Re(Xn),Tr=Zt+yr+Dr;$e.current.get(pt)!==Tr&&($e.current.set(pt,Tr),tn=!0)}}),tn&&Je(function(jt){return jt+1})};if($t)Sn();else{lt.current+=1;var St=lt.current;Promise.resolve().then(function(){St===lt.current&&Sn()})}}function kt($t,Sn){var St=Se($t),nn=vt.current.get(St);Sn?(vt.current.set(St,Sn),_t()):vt.current.delete(St),!nn!=!Sn&&(Sn?Fe==null||Fe($t):ie==null||ie($t))}return(0,Be.useEffect)(function(){return Pt},[]),[kt,_t,$e.current,oe]}var Et=14/15;function bt(Se,Fe,ie){var ae=(0,Be.useRef)(!1),se=(0,Be.useRef)(0),oe=(0,Be.useRef)(0),Je=(0,Be.useRef)(null),vt=(0,Be.useRef)(null),$e,lt=function($t){if(ae.current){var Sn=Math.ceil($t.touches[0].pageX),St=Math.ceil($t.touches[0].pageY),nn=se.current-Sn,tn=oe.current-St,jt=Math.abs(nn)>Math.abs(tn);jt?se.current=Sn:oe.current=St;var pt=ie(jt,jt?nn:tn,!1,$t);pt&&$t.preventDefault(),clearInterval(vt.current),pt&&(vt.current=setInterval(function(){jt?nn*=Et:tn*=Et;var Zt=Math.floor(jt?nn:tn);(!ie(jt,Zt,!0)||Math.abs(Zt)<=.1)&&clearInterval(vt.current)},16))}},Pt=function(){ae.current=!1,$e()},_t=function($t){$e(),$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),Je.current=$t.target,Je.current.addEventListener("touchmove",lt,{passive:!1}),Je.current.addEventListener("touchend",Pt,{passive:!0}))};$e=function(){Je.current&&(Je.current.removeEventListener("touchmove",lt),Je.current.removeEventListener("touchend",Pt))},(0,Ke.Z)(function(){return Se&&Fe.current.addEventListener("touchstart",_t,{passive:!0}),function(){var kt;(kt=Fe.current)===null||kt===void 0||kt.removeEventListener("touchstart",_t),$e(),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,Je,vt=function(){qe.Z.cancel(oe)},$e=function kt(){vt(),oe=(0,qe.Z)(function(){ie(Je),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)}},_t=function($t){if(se){var Sn=wt($t,!1),St=ae.getBoundingClientRect(),nn=St.top,tn=St.bottom;if(Sn<=nn){var jt=nn-Sn;Je=-Tt(jt),$e()}else if(Sn>=tn){var pt=Sn-tn;Je=Tt(pt),$e()}else vt()}};return ae.addEventListener("mousedown",Pt),ae.ownerDocument.addEventListener("mouseup",lt),ae.ownerDocument.addEventListener("mousemove",_t),ae.ownerDocument.addEventListener("dragend",lt),function(){ae.removeEventListener("mousedown",Pt),ae.ownerDocument.removeEventListener("mouseup",lt),ae.ownerDocument.removeEventListener("mousemove",_t),ae.ownerDocument.removeEventListener("dragend",lt),vt()}}},[Se])}var Ue=10;function at(Se,Fe,ie,ae,se,oe,Je,vt){var $e=Be.useRef(),lt=Be.useState(null),Pt=(0,Oe.Z)(lt,2),_t=Pt[0],kt=Pt[1];return(0,Ke.Z)(function(){if(_t&&_t.times<Ue){if(!Se.current){kt(function(ua){return(0,He.Z)({},ua)});return}oe();var $t=_t.targetAlign,Sn=_t.originAlign,St=_t.index,nn=_t.offset,tn=Se.current.clientHeight,jt=!1,pt=$t,Zt=null;if(tn){for(var gn=$t||Sn,wn=0,Xn=0,yr=0,Dr=Math.min(Fe.length-1,St),Tr=0;Tr<=Dr;Tr+=1){var Rr=se(Fe[Tr]);Xn=wn;var Sr=ie.get(Rr);yr=Xn+(Sr===void 0?ae:Sr),wn=yr}for(var fr=gn==="top"?nn:tn-nn,Vr=Dr;Vr>=0;Vr-=1){var Bi=se(Fe[Vr]),yi=ie.get(Bi);if(yi===void 0){jt=!0;break}if(fr-=yi,fr<=0)break}switch(gn){case"top":Zt=Xn-nn;break;case"bottom":Zt=yr-tn+nn;break;default:{var mi=Se.current.scrollTop,Vi=mi+tn;Xn<mi?pt="top":yr>Vi&&(pt="bottom")}}Zt!==null&&Je(Zt),Zt!==_t.lastTop&&(jt=!0)}jt&&kt((0,He.Z)((0,He.Z)({},_t),{},{times:_t.times+1,targetAlign:pt,lastTop:Zt}))}},[_t,Se.current]),function($t){if($t==null){vt();return}if(qe.Z.cancel($e.current),typeof $t=="number")Je($t);else if($t&&(0,Me.Z)($t)==="object"){var Sn,St=$t.align;"index"in $t?Sn=$t.index:Sn=Fe.findIndex(function(jt){return se(jt)===$t.key});var nn=$t.offset,tn=nn===void 0?0:nn;kt({times:0,index:Sn,offset:tn,originAlign:St})}}}var Xt=Be.forwardRef(function(Se,Fe){var ie=Se.prefixCls,ae=Se.rtl,se=Se.scrollOffset,oe=Se.scrollRange,Je=Se.onStartMove,vt=Se.onStopMove,$e=Se.onScroll,lt=Se.horizontal,Pt=Se.spinSize,_t=Se.containerSize,kt=Se.style,$t=Se.thumbStyle,Sn=Se.showScrollBar,St=Be.useState(!1),nn=(0,Oe.Z)(St,2),tn=nn[0],jt=nn[1],pt=Be.useState(null),Zt=(0,Oe.Z)(pt,2),gn=Zt[0],wn=Zt[1],Xn=Be.useState(null),yr=(0,Oe.Z)(Xn,2),Dr=yr[0],Tr=yr[1],Rr=!ae,Sr=Be.useRef(),fr=Be.useRef(),Vr=Be.useState(Sn),Bi=(0,Oe.Z)(Vr,2),yi=Bi[0],mi=Bi[1],Vi=Be.useRef(),ua=function(){Sn===!0||Sn===!1||(clearTimeout(Vi.current),mi(!0),Vi.current=setTimeout(function(){mi(!1)},3e3))},Wr=oe-_t||0,Mn=_t-Pt||0,ea=Be.useMemo(function(){if(se===0||Wr===0)return 0;var kn=se/Wr;return kn*Mn},[se,Wr,Mn]),Ea=function(Dt){Dt.stopPropagation(),Dt.preventDefault()},wo=Be.useRef({top:ea,dragging:tn,pageY:gn,startTop:Dr});wo.current={top:ea,dragging:tn,pageY:gn,startTop:Dr};var sa=function(Dt){jt(!0),wn(wt(Dt,lt)),Tr(wo.current.top),Je(),Dt.stopPropagation(),Dt.preventDefault()};Be.useEffect(function(){var kn=function(Kt){Kt.preventDefault()},Dt=Sr.current,Gt=fr.current;return Dt.addEventListener("touchstart",kn,{passive:!1}),Gt.addEventListener("touchstart",sa,{passive:!1}),function(){Dt.removeEventListener("touchstart",kn),Gt.removeEventListener("touchstart",sa)}},[]);var Pi=Be.useRef();Pi.current=Wr;var Aa=Be.useRef();Aa.current=Mn,Be.useEffect(function(){if(tn){var kn,Dt=function(Kt){var on=wo.current,_n=on.dragging,lr=on.pageY,nr=on.startTop;qe.Z.cancel(kn);var dr=Sr.current.getBoundingClientRect(),Pr=_t/(lt?dr.width:dr.height);if(_n){var Ur=(wt(Kt,lt)-lr)*Pr,ei=nr;!Rr&&lt?ei-=Ur:ei+=Ur;var er=Pi.current,kr=Aa.current,_i=kr?ei/kr:0,gi=Math.ceil(_i*er);gi=Math.max(gi,0),gi=Math.min(gi,er),kn=(0,qe.Z)(function(){$e(gi,lt)})}},Gt=function(){jt(!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(kn)}}},[tn]),Be.useEffect(function(){return ua(),function(){clearTimeout(Vi.current)}},[se]),Be.useImperativeHandle(Fe,function(){return{delayHidden:ua}});var Si="".concat(ie,"-scrollbar"),qr={position:"absolute",visibility:yi?null:"hidden"},Ma={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(qr,{height:8,left:0,right:0,bottom:0}),Object.assign(Ma,(0,ft.Z)({height:"100%",width:Pt},Rr?"left":"right",ea))):(Object.assign(qr,(0,ft.Z)({width:8,top:0,bottom:0},Rr?"right":"left",0)),Object.assign(Ma,{width:"100%",height:Pt,top:ea})),Be.createElement("div",{ref:Sr,className:Ae()(Si,(0,ft.Z)((0,ft.Z)((0,ft.Z)({},"".concat(Si,"-horizontal"),lt),"".concat(Si,"-vertical"),!lt),"".concat(Si,"-visible"),yi)),style:(0,He.Z)((0,He.Z)({},qr),kt),onMouseDown:Ea,onMouseMove:ua},Be.createElement("div",{ref:fr,className:Ae()("".concat(Si,"-thumb"),(0,ft.Z)({},"".concat(Si,"-thumb-moving"),tn)),style:(0,He.Z)((0,He.Z)({},Ma),$t),onMouseDown:sa}))}),Vt=Xt,xt=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,xt),Math.floor(ie)}var An=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Tn=[],dn={overflowY:"auto",overflowAnchor:"none"};function Gn(Se,Fe){var ie=Se.prefixCls,ae=ie===void 0?"rc-virtual-list":ie,se=Se.className,oe=Se.height,Je=Se.itemHeight,vt=Se.fullHeight,$e=vt===void 0?!0:vt,lt=Se.style,Pt=Se.data,_t=Se.children,kt=Se.itemKey,$t=Se.virtual,Sn=Se.direction,St=Se.scrollWidth,nn=Se.component,tn=nn===void 0?"div":nn,jt=Se.onScroll,pt=Se.onVirtualScroll,Zt=Se.onVisibleChange,gn=Se.innerProps,wn=Se.extraRender,Xn=Se.styles,yr=Se.showScrollBar,Dr=yr===void 0?"optional":yr,Tr=(0,Le.Z)(Se,An),Rr=Be.useCallback(function(Sa){return typeof kt=="function"?kt(Sa):Sa==null?void 0:Sa[kt]},[kt]),Sr=Ht(Rr,null,null),fr=(0,Oe.Z)(Sr,4),Vr=fr[0],Bi=fr[1],yi=fr[2],mi=fr[3],Vi=!!($t!==!1&&oe&&Je),ua=Be.useMemo(function(){return Object.values(yi.maps).reduce(function(Sa,ga){return Sa+ga},0)},[yi.id,yi.maps]),Wr=Vi&&Pt&&(Math.max(Je*Pt.length,ua)>oe||!!St),Mn=Sn==="rtl",ea=Ae()(ae,(0,ft.Z)({},"".concat(ae,"-rtl"),Mn),se),Ea=Pt||Tn,wo=(0,Be.useRef)(),sa=(0,Be.useRef)(),Pi=(0,Be.useRef)(),Aa=(0,Be.useState)(0),Si=(0,Oe.Z)(Aa,2),qr=Si[0],Ma=Si[1],kn=(0,Be.useState)(0),Dt=(0,Oe.Z)(kn,2),Gt=Dt[0],Wt=Dt[1],Kt=(0,Be.useState)(!1),on=(0,Oe.Z)(Kt,2),_n=on[0],lr=on[1],nr=function(){lr(!0)},dr=function(){lr(!1)},Pr={getKey:Rr};function Ur(Sa){Ma(function(ga){var Co;typeof Sa=="function"?Co=Sa(ga):Co=Sa;var Fo=Ka(Co);return wo.current.scrollTop=Fo,Fo})}var ei=(0,Be.useRef)({start:0,end:Ea.length}),er=(0,Be.useRef)(),kr=ze(Ea,Rr),_i=(0,Oe.Z)(kr,1),gi=_i[0];er.current=gi;var ji=Be.useMemo(function(){if(!Vi)return{scrollHeight:void 0,start:0,end:Ea.length-1,offset:void 0};if(!Wr){var Sa;return{scrollHeight:((Sa=sa.current)===null||Sa===void 0?void 0:Sa.offsetHeight)||0,start:0,end:Ea.length-1,offset:void 0}}for(var ga=0,Co,Fo,Es,Js=Ea.length,Os=0;Os<Js;Os+=1){var ps=Ea[Os],as=Rr(ps),ol=yi.get(as),fa=ga+(ol===void 0?Je:ol);fa>=qr&&Co===void 0&&(Co=Os,Fo=ga),fa>qr+oe&&Es===void 0&&(Es=Os),ga=fa}return Co===void 0&&(Co=0,Fo=0,Es=Math.ceil(oe/Je)),Es===void 0&&(Es=Ea.length-1),Es=Math.min(Es+1,Ea.length-1),{scrollHeight:ga,start:Co,end:Es,offset:Fo}},[Wr,Vi,qr,Ea,mi,oe]),Mi=ji.scrollHeight,Ca=ji.start,Jr=ji.end,ra=ji.offset;ei.current.start=Ca,ei.current.end=Jr,Be.useLayoutEffect(function(){var Sa=yi.getRecord();if(Sa.size===1){var ga=Array.from(Sa.keys())[0],Co=Sa.get(ga),Fo=Ea[Ca];if(Fo&&Co===void 0){var Es=Rr(Fo);if(Es===ga){var Js=yi.get(ga),Os=Js-Je;Ur(function(ps){return ps+Os})}}}yi.resetRecord()},[Mi]);var vn=Be.useState({width:0,height:oe}),gr=(0,Oe.Z)(vn,2),Ar=gr[0],jr=gr[1],br=function(ga){jr({width:ga.offsetWidth,height:ga.offsetHeight})},Ir=(0,Be.useRef)(),Fr=(0,Be.useRef)(),si=Be.useMemo(function(){return Qt(Ar.width,St)},[Ar.width,St]),bi=Be.useMemo(function(){return Qt(Ar.height,Mi)},[Ar.height,Mi]),Ti=Mi-oe,Pa=(0,Be.useRef)(Ti);Pa.current=Ti;function Ka(Sa){var ga=Sa;return Number.isNaN(Pa.current)||(ga=Math.min(ga,Pa.current)),ga=Math.max(ga,0),ga}var $a=qr<=0,Ua=qr>=Ti,Fa=Gt<=0,ho=Gt>=St,oo=et($a,Ua,Fa,ho),ta=function(){return{x:Mn?-Gt:Gt,y:qr}},ui=(0,Be.useRef)(ta()),za=(0,fe.useEvent)(function(Sa){if(pt){var ga=(0,He.Z)((0,He.Z)({},ta()),Sa);(ui.current.x!==ga.x||ui.current.y!==ga.y)&&(pt(ga),ui.current=ga)}});function no(Sa,ga){var Co=Sa;ga?((0,_e.flushSync)(function(){Wt(Co)}),za()):Ur(Co)}function La(Sa){var ga=Sa.currentTarget.scrollTop;ga!==qr&&Ur(ga),jt==null||jt(Sa),za()}var xo=function(ga){var Co=ga,Fo=St?St-Ar.width:0;return Co=Math.max(Co,0),Co=Math.min(Co,Fo),Co},os=(0,fe.useEvent)(function(Sa,ga){ga?((0,_e.flushSync)(function(){Wt(function(Co){var Fo=Co+(Mn?-Sa:Sa);return xo(Fo)})}),za()):Ur(function(Co){var Fo=Co+Sa;return Fo})}),Va=rt(Vi,$a,Ua,Fa,ho,!!St,os),Ii=(0,Oe.Z)(Va,2),Ci=Ii[0],Ha=Ii[1];bt(Vi,wo,function(Sa,ga,Co,Fo){var Es=Fo;return oo(Sa,ga,Co)?!1:!Es||!Es._virtualHandled?(Es&&(Es._virtualHandled=!0),Ci({preventDefault:function(){},deltaX:Sa?ga:0,deltaY:Sa?0:ga}),!0):!1}),it(Wr,wo,function(Sa){Ur(function(ga){return ga+Sa})}),(0,Ke.Z)(function(){function Sa(Co){var Fo=$a&&Co.detail<0,Es=Ua&&Co.detail>0;Vi&&!Fo&&!Es&&Co.preventDefault()}var ga=wo.current;return ga.addEventListener("wheel",Ci,{passive:!1}),ga.addEventListener("DOMMouseScroll",Ha,{passive:!0}),ga.addEventListener("MozMousePixelScroll",Sa,{passive:!1}),function(){ga.removeEventListener("wheel",Ci),ga.removeEventListener("DOMMouseScroll",Ha),ga.removeEventListener("MozMousePixelScroll",Sa)}},[Vi,$a,Ua]),(0,Ke.Z)(function(){if(St){var Sa=xo(Gt);Wt(Sa),za({x:Sa})}},[Ar.width,St]);var Oa=function(){var ga,Co;(ga=Ir.current)===null||ga===void 0||ga.delayHidden(),(Co=Fr.current)===null||Co===void 0||Co.delayHidden()},eo=at(wo,Ea,yi,Je,Rr,function(){return Bi(!0)},Ur,Oa);Be.useImperativeHandle(Fe,function(){return{nativeElement:Pi.current,getScrollInfo:ta,scrollTo:function(ga){function Co(Fo){return Fo&&(0,Me.Z)(Fo)==="object"&&("left"in Fo||"top"in Fo)}Co(ga)?(ga.left!==void 0&&Wt(xo(ga.left)),eo(ga.top)):eo(ga)}}}),(0,Ke.Z)(function(){if(Zt){var Sa=Ea.slice(Ca,Jr+1);Zt(Sa,Ea)}},[Ca,Jr,Ea]);var Lo=ht(Ea,Rr,yi,Je),vo=wn==null?void 0:wn({start:Ca,end:Jr,virtual:Wr,offsetX:Gt,offsetY:ra,rtl:Mn,getSize:Lo}),jn=Pe(Ea,Ca,Jr,St,Gt,Vr,_t,Pr),Oo=null;oe&&(Oo=(0,He.Z)((0,ft.Z)({},$e?"height":"maxHeight",oe),dn),Vi&&(Oo.overflowY="hidden",St&&(Oo.overflowX="hidden"),_n&&(Oo.pointerEvents="none")));var Ks={};return Mn&&(Ks.dir="rtl"),Be.createElement("div",(0,he.Z)({ref:Pi,style:(0,He.Z)((0,He.Z)({},lt),{},{position:"relative"}),className:ea},Ks,Tr),Be.createElement(xe.Z,{onResize:br},Be.createElement(tn,{className:"".concat(ae,"-holder"),style:Oo,ref:wo,onScroll:La,onMouseEnter:Oa},Be.createElement(Qe,{prefixCls:ae,height:Mi,offsetX:Gt,offsetY:ra,scrollWidth:St,onInnerResize:Bi,ref:sa,innerProps:gn,rtl:Mn,extra:vo},jn))),Wr&&Mi>oe&&Be.createElement(Vt,{ref:Ir,prefixCls:ae,scrollOffset:qr,scrollRange:Mi,rtl:Mn,onScroll:no,onStartMove:nr,onStopMove:dr,spinSize:bi,containerSize:Ar.height,style:Xn==null?void 0:Xn.verticalScrollBar,thumbStyle:Xn==null?void 0:Xn.verticalScrollBarThumb,showScrollBar:Dr}),Wr&&St>Ar.width&&Be.createElement(Vt,{ref:Fr,prefixCls:ae,scrollOffset:Gt,scrollRange:St,rtl:Mn,onScroll:no,onStartMove:nr,onStopMove:dr,spinSize:si,containerSize:Ar.width,horizontal:!0,style:Xn==null?void 0:Xn.horizontalScrollBar,thumbStyle:Xn==null?void 0:Xn.horizontalScrollBarThumb,showScrollBar:Dr}))}var Cn=Be.forwardRef(Gn);Cn.displayName="List";var mn=Cn,Bn=mn},51353:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Object.defineProperty(Yt,"DraggableCore",{enumerable:!0,get:function(){return Ae.default}}),Yt.default=void 0;var he=Ke(de(59301)),Me=fe(de(12708)),He=fe(de(4676)),ft=de(14625),Oe=de(77026),Le=de(22013),ve=de(80217),Ae=fe(de(68555)),xe=fe(de(97510));function fe(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function Ke(Pe,Te){if(typeof WeakMap=="function")var Ye=new WeakMap,ze=new WeakMap;return(Ke=function(qe,We){if(!We&&qe&&qe.__esModule)return qe;var Ze,et,rt={__proto__:null,default:qe};if(qe===null||typeof qe!="object"&&typeof qe!="function")return rt;if(Ze=We?ze:Ye){if(Ze.has(qe))return Ze.get(qe);Ze.set(qe,rt)}for(const ht in qe)ht!=="default"&&{}.hasOwnProperty.call(qe,ht)&&((et=(Ze=Object.defineProperty)&&Object.getOwnPropertyDescriptor(qe,ht))&&(et.get||et.set)?Ze(rt,ht,et):rt[ht]=qe[ht]);return rt})(Pe,Te)}function Be(){return Be=Object.assign?Object.assign.bind():function(Pe){for(var Te=1;Te<arguments.length;Te++){var Ye=arguments[Te];for(var ze in Ye)({}).hasOwnProperty.call(Ye,ze)&&(Pe[ze]=Ye[ze])}return Pe},Be.apply(null,arguments)}function _e(Pe,Te,Ye){return(Te=Ne(Te))in Pe?Object.defineProperty(Pe,Te,{value:Ye,enumerable:!0,configurable:!0,writable:!0}):Pe[Te]=Ye,Pe}function Ne(Pe){var Te=Qe(Pe,"string");return typeof Te=="symbol"?Te:Te+""}function Qe(Pe,Te){if(typeof Pe!="object"||!Pe)return Pe;var Ye=Pe[Symbol.toPrimitive];if(Ye!==void 0){var ze=Ye.call(Pe,Te||"default");if(typeof ze!="object")return ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(Pe)}class ke extends he.Component{static getDerivedStateFromProps(Te,Ye){let{position:ze}=Te,{prevPropsPosition:qe}=Ye;return ze&&(!qe||ze.x!==qe.x||ze.y!==qe.y)?((0,xe.default)("Draggable: getDerivedStateFromProps %j",{position:ze,prevPropsPosition:qe}),{x:ze.x,y:ze.y,prevPropsPosition:tp({},ze)}):null}constructor(Te){super(Te),_e(this,"onDragStart",(Ye,ze)=>{if((0,xe.default)("Draggable: onDragStart: %j",ze),this.props.onStart(Ye,(0,Le.createDraggableData)(this,ze))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),_e(this,"onDrag",(Ye,ze)=>{if(!this.state.dragging)return!1;(0,xe.default)("Draggable: onDrag: %j",ze);const qe=(0,Le.createDraggableData)(this,ze),We={x:qe.x,y:qe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:et,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+(et-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(Ye,qe)===!1)return!1;this.setState(We)}),_e(this,"onDragStop",(Ye,ze)=>{if(!this.state.dragging||this.props.onStop(Ye,(0,Le.createDraggableData)(this,ze))===!1)return!1;(0,xe.default)("Draggable: onDragStop: %j",ze);const We={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:et,y:rt}=this.props.position;We.x=et,We.y=rt}this.setState(We)}),this.state={dragging:!1,dragged:!1,x:Te.position?Te.position.x:Te.defaultPosition.x,y:Te.position?Te.position.y:Te.defaultPosition.y,prevPropsPosition:tp({},Te.position),slackX:0,slackY:0,isElementSVG:!1},Te.position&&!(Te.onDrag||Te.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 Te,Ye,ze;return(ze=(Ye=(Te=this.props)==null?void 0:Te.nodeRef)==null?void 0:Ye.current)!=null?ze:He.default.findDOMNode(this)}render(){const wt=this.props,{axis:Te,bounds:Ye,children:ze,defaultPosition:qe,defaultClassName:We,defaultClassNameDragging:Ze,defaultClassNameDragged:et,position:rt,positionOffset:ht,scale:dt}=wt,Ct=I1(wt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Xe={},Lt=null;const Ht=!!!rt||this.state.dragging,Et=rt||qe,bt={x:(0,Le.canDragX)(this)&&Ht?this.state.x:Et.x,y:(0,Le.canDragY)(this)&&Ht?this.state.y:Et.y};this.state.isElementSVG?Lt=(0,Oe.createSVGTransform)(bt,ht):Xe=(0,Oe.createCSSTransform)(bt,ht);const Tt=(0,ft.clsx)(ze.props.className||"",We,{[Ze]:this.state.dragging,[et]:this.state.dragged});return he.createElement(Ae.default,Be({},Ct,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),he.cloneElement(he.Children.only(ze),{className:Tt,style:tp(tp({},ze.props.style),Xe),transform:Lt}))}}Yt.default=ke,_e(ke,"displayName","Draggable"),_e(ke,"propTypes",p1(tp({},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(tp({},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(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var he=xe(de(59301)),Me=Ae(de(12708)),He=Ae(de(4676)),ft=de(77026),Oe=de(22013),Le=de(80217),ve=Ae(de(97510));function Ae(ke){return ke&&ke.__esModule?ke:{default:ke}}function xe(ke,Pe){if(typeof WeakMap=="function")var Te=new WeakMap,Ye=new WeakMap;return(xe=function(ze,qe){if(!qe&&ze&&ze.__esModule)return ze;var We,Ze,et={__proto__:null,default:ze};if(ze===null||typeof ze!="object"&&typeof ze!="function")return et;if(We=qe?Ye:Te){if(We.has(ze))return We.get(ze);We.set(ze,et)}for(const rt in ze)rt!=="default"&&{}.hasOwnProperty.call(ze,rt)&&((Ze=(We=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ze,rt))&&(Ze.get||Ze.set)?We(et,rt,Ze):et[rt]=ze[rt]);return et})(ke,Pe)}function fe(ke,Pe,Te){return(Pe=Ke(Pe))in ke?Object.defineProperty(ke,Pe,{value:Te,enumerable:!0,configurable:!0,writable:!0}):ke[Pe]=Te,ke}function Ke(ke){var Pe=Be(ke,"string");return typeof Pe=="symbol"?Pe:Pe+""}function Be(ke,Pe){if(typeof ke!="object"||!ke)return ke;var Te=ke[Symbol.toPrimitive];if(Te!==void 0){var Ye=Te.call(ke,Pe||"default");if(typeof Ye!="object")return Ye;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Pe==="string"?String:Number)(ke)}const _e={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Ne=_e.mouse;class Qe 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",Pe=>{if(this.props.onMouseDown(Pe),!this.props.allowAnyClick&&typeof Pe.button=="number"&&Pe.button!==0)return!1;const Te=this.findDOMNode();if(!Te||!Te.ownerDocument||!Te.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:Ye}=Te;if(this.props.disabled||!(Pe.target instanceof Ye.defaultView.Node)||this.props.handle&&!(0,ft.matchesSelectorAndParentsTo)(Pe.target,this.props.handle,Te)||this.props.cancel&&(0,ft.matchesSelectorAndParentsTo)(Pe.target,this.props.cancel,Te))return;Pe.type==="touchstart"&&!this.props.allowMobileScroll&&Pe.preventDefault();const ze=(0,ft.getTouchIdentifier)(Pe);this.touchIdentifier=ze;const qe=(0,Oe.getControlPosition)(Pe,ze,this);if(qe==null)return;const{x:We,y:Ze}=qe,et=(0,Oe.createCoreData)(this,We,Ze);(0,ve.default)("DraggableCore: handleDragStart: %j",et),(0,ve.default)("calling",this.props.onStart),!(this.props.onStart(Pe,et)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ft.addUserSelectStyles)(Ye),this.dragging=!0,this.lastX=We,this.lastY=Ze,(0,ft.addEvent)(Ye,Ne.move,this.handleDrag),(0,ft.addEvent)(Ye,Ne.stop,this.handleDragStop))}),fe(this,"handleDrag",Pe=>{const Te=(0,Oe.getControlPosition)(Pe,this.touchIdentifier,this);if(Te==null)return;let{x:Ye,y:ze}=Te;if(Array.isArray(this.props.grid)){let Ze=Ye-this.lastX,et=ze-this.lastY;if([Ze,et]=(0,Oe.snapToGrid)(this.props.grid,Ze,et),!Ze&&!et)return;Ye=this.lastX+Ze,ze=this.lastY+et}const qe=(0,Oe.createCoreData)(this,Ye,ze);if((0,ve.default)("DraggableCore: handleDrag: %j",qe),this.props.onDrag(Pe,qe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(Ze){const et=document.createEvent("MouseEvents");et.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(et)}return}this.lastX=Ye,this.lastY=ze}),fe(this,"handleDragStop",Pe=>{if(!this.dragging)return;const Te=(0,Oe.getControlPosition)(Pe,this.touchIdentifier,this);if(Te==null)return;let{x:Ye,y:ze}=Te;if(Array.isArray(this.props.grid)){let et=Ye-this.lastX||0,rt=ze-this.lastY||0;[et,rt]=(0,Oe.snapToGrid)(this.props.grid,et,rt),Ye=this.lastX+et,ze=this.lastY+rt}const qe=(0,Oe.createCoreData)(this,Ye,ze);if(this.props.onStop(Pe,qe)===!1||this.mounted===!1)return!1;const Ze=this.findDOMNode();Ze&&this.props.enableUserSelectHack&&(0,ft.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,ft.removeEvent)(Ze.ownerDocument,Ne.move,this.handleDrag),(0,ft.removeEvent)(Ze.ownerDocument,Ne.stop,this.handleDragStop))}),fe(this,"onMouseDown",Pe=>(Ne=_e.mouse,this.handleDragStart(Pe))),fe(this,"onMouseUp",Pe=>(Ne=_e.mouse,this.handleDragStop(Pe))),fe(this,"onTouchStart",Pe=>(Ne=_e.touch,this.handleDragStart(Pe))),fe(this,"onTouchEnd",Pe=>(Ne=_e.touch,this.handleDragStop(Pe)))}componentDidMount(){this.mounted=!0;const Pe=this.findDOMNode();Pe&&(0,ft.addEvent)(Pe,_e.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const Pe=this.findDOMNode();if(Pe){const{ownerDocument:Te}=Pe;(0,ft.removeEvent)(Te,_e.mouse.move,this.handleDrag),(0,ft.removeEvent)(Te,_e.touch.move,this.handleDrag),(0,ft.removeEvent)(Te,_e.mouse.stop,this.handleDragStop),(0,ft.removeEvent)(Te,_e.touch.stop,this.handleDragStop),(0,ft.removeEvent)(Pe,_e.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ft.scheduleRemoveUserSelectStyles)(Te)}}findDOMNode(){var Pe,Te,Ye;return(Pe=this.props)!=null&&Pe.nodeRef?(Ye=(Te=this.props)==null?void 0:Te.nodeRef)==null?void 0:Ye.current:He.default.findDOMNode(this)}render(){return he.cloneElement(he.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Yt.default=Qe,fe(Qe,"displayName","DraggableCore"),fe(Qe,"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,Pe){if(ke[Pe]&&ke[Pe].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(Qe,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(Qn,Yt,de){"use strict";const{default:he,DraggableCore:Me}=de(51353);Qn.exports=he,Qn.exports.default=he,Qn.exports.DraggableCore=Me},77026:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.addClassName=We,Yt.addEvent=ve,Yt.addUserSelectStyles=Ye,Yt.createCSSTransform=Ne,Yt.createSVGTransform=Qe,Yt.getTouch=Pe,Yt.getTouchIdentifier=Te,Yt.getTranslation=ke,Yt.innerHeight=Ke,Yt.innerWidth=Be,Yt.matchesSelector=Oe,Yt.matchesSelectorAndParentsTo=Le,Yt.offsetXYFromParent=_e,Yt.outerHeight=xe,Yt.outerWidth=fe,Yt.removeClassName=Ze,Yt.removeEvent=Ae,Yt.scheduleRemoveUserSelectStyles=ze;var he=de(80217),Me=He(de(76172));function He(et,rt){if(typeof WeakMap=="function")var ht=new WeakMap,dt=new WeakMap;return(He=function(Ct,Xe){if(!Xe&&Ct&&Ct.__esModule)return Ct;var Lt,Re,Ht={__proto__:null,default:Ct};if(Ct===null||typeof Ct!="object"&&typeof Ct!="function")return Ht;if(Lt=Xe?dt:ht){if(Lt.has(Ct))return Lt.get(Ct);Lt.set(Ct,Ht)}for(const Et in Ct)Et!=="default"&&{}.hasOwnProperty.call(Ct,Et)&&((Re=(Lt=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ct,Et))&&(Re.get||Re.set)?Lt(Ht,Et,Re):Ht[Et]=Ct[Et]);return Ht})(et,rt)}let ft="";function Oe(et,rt){return ft||(ft=(0,he.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(ht){return(0,he.isFunction)(et[ht])})),(0,he.isFunction)(et[ft])?et[ft](rt):!1}function Le(et,rt,ht){let dt=et;do{if(Oe(dt,rt))return!0;if(dt===ht)return!1;dt=dt.parentNode}while(dt);return!1}function ve(et,rt,ht,dt){if(!et)return;const Ct=tp({capture:!0},dt);et.addEventListener?et.addEventListener(rt,ht,Ct):et.attachEvent?et.attachEvent("on"+rt,ht):et["on"+rt]=ht}function Ae(et,rt,ht,dt){if(!et)return;const Ct=tp({capture:!0},dt);et.removeEventListener?et.removeEventListener(rt,ht,Ct):et.detachEvent?et.detachEvent("on"+rt,ht):et["on"+rt]=null}function xe(et){let rt=et.clientHeight;const ht=et.ownerDocument.defaultView.getComputedStyle(et);return rt+=(0,he.int)(ht.borderTopWidth),rt+=(0,he.int)(ht.borderBottomWidth),rt}function fe(et){let rt=et.clientWidth;const ht=et.ownerDocument.defaultView.getComputedStyle(et);return rt+=(0,he.int)(ht.borderLeftWidth),rt+=(0,he.int)(ht.borderRightWidth),rt}function Ke(et){let rt=et.clientHeight;const ht=et.ownerDocument.defaultView.getComputedStyle(et);return rt-=(0,he.int)(ht.paddingTop),rt-=(0,he.int)(ht.paddingBottom),rt}function Be(et){let rt=et.clientWidth;const ht=et.ownerDocument.defaultView.getComputedStyle(et);return rt-=(0,he.int)(ht.paddingLeft),rt-=(0,he.int)(ht.paddingRight),rt}function _e(et,rt,ht){const Ct=rt===rt.ownerDocument.body?{left:0,top:0}:rt.getBoundingClientRect(),Xe=(et.clientX+rt.scrollLeft-Ct.left)/ht,Lt=(et.clientY+rt.scrollTop-Ct.top)/ht;return{x:Xe,y:Lt}}function Ne(et,rt){const ht=ke(et,rt,"px");return{[(0,Me.browserPrefixToKey)("transform",Me.default)]:ht}}function Qe(et,rt){return ke(et,rt,"")}function ke(et,rt,ht){let{x:dt,y:Ct}=et,Xe=`translate(${dt}${ht},${Ct}${ht})`;if(rt){const Lt=`${typeof rt.x=="string"?rt.x:rt.x+ht}`,Re=`${typeof rt.y=="string"?rt.y:rt.y+ht}`;Xe=`translate(${Lt}, ${Re})`+Xe}return Xe}function Pe(et,rt){return et.targetTouches&&(0,he.findInArray)(et.targetTouches,ht=>rt===ht.identifier)||et.changedTouches&&(0,he.findInArray)(et.changedTouches,ht=>rt===ht.identifier)}function Te(et){if(et.targetTouches&&et.targetTouches[0])return et.targetTouches[0].identifier;if(et.changedTouches&&et.changedTouches[0])return et.changedTouches[0].identifier}function Ye(et){if(!et)return;let rt=et.getElementById("react-draggable-style-el");rt||(rt=et.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;}
`,et.getElementsByTagName("head")[0].appendChild(rt)),et.body&&We(et.body,"react-draggable-transparent-selection")}function ze(et){window.requestAnimationFrame?window.requestAnimationFrame(()=>{qe(et)}):qe(et)}function qe(et){if(et)try{if(et.body&&Ze(et.body,"react-draggable-transparent-selection"),et.selection)et.selection.empty();else{const rt=(et.defaultView||window).getSelection();rt&&rt.type!=="Caret"&&rt.removeAllRanges()}}catch(rt){}}function We(et,rt){et.classList?et.classList.add(rt):et.className.match(new RegExp(`(?:^|\\s)${rt}(?!\\S)`))||(et.className+=` ${rt}`)}function Ze(et,rt){et.classList?et.classList.remove(rt):et.className=et.className.replace(new RegExp(`(?:^|\\s)${rt}(?!\\S)`,"g"),"")}},76172:function(Qn,Yt){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.browserPrefixToKey=Me,Yt.browserPrefixToStyle=He,Yt.default=void 0,Yt.getPrefix=he;const de=["Moz","Webkit","O","ms"];function he(){var Ae,xe;let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const ve=(xe=(Ae=window.document)==null?void 0:Ae.documentElement)==null?void 0:xe.style;if(!ve||Le in ve)return"";for(let fe=0;fe<de.length;fe++)if(Me(Le,de[fe])in ve)return de[fe];return""}function Me(Le,ve){return ve?`${ve}${ft(Le)}`:Le}function He(Le,ve){return ve?`-${ve.toLowerCase()}-${Le}`:Le}function ft(Le){let ve="",Ae=!0;for(let xe=0;xe<Le.length;xe++)Ae?(ve+=Le[xe].toUpperCase(),Ae=!1):Le[xe]==="-"?Ae=!0:ve+=Le[xe];return ve}var Oe=Yt.default=he()},97510:function(Qn,Yt){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=de;function de(){}},22013:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.canDragX=Oe,Yt.canDragY=Le,Yt.createCoreData=Ae,Yt.createDraggableData=xe,Yt.getBoundPosition=He,Yt.getControlPosition=ve,Yt.snapToGrid=ft;var he=de(80217),Me=de(77026);function He(Be,_e,Ne){if(!Be.props.bounds)return[_e,Ne];let{bounds:Qe}=Be.props;Qe=typeof Qe=="string"?Qe:fe(Qe);const ke=Ke(Be);if(typeof Qe=="string"){const{ownerDocument:Pe}=ke,Te=Pe.defaultView;let Ye;if(Qe==="parent"?Ye=ke.parentNode:Ye=ke.getRootNode().querySelector(Qe),!(Ye instanceof Te.HTMLElement))throw new Error('Bounds selector "'+Qe+'" could not find an element.');const ze=Ye,qe=Te.getComputedStyle(ke),We=Te.getComputedStyle(ze);Qe={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)(ze)-(0,Me.outerWidth)(ke)-ke.offsetLeft+(0,he.int)(We.paddingRight)-(0,he.int)(qe.marginRight),bottom:(0,Me.innerHeight)(ze)-(0,Me.outerHeight)(ke)-ke.offsetTop+(0,he.int)(We.paddingBottom)-(0,he.int)(qe.marginBottom)}}return(0,he.isNum)(Qe.right)&&(_e=Math.min(_e,Qe.right)),(0,he.isNum)(Qe.bottom)&&(Ne=Math.min(Ne,Qe.bottom)),(0,he.isNum)(Qe.left)&&(_e=Math.max(_e,Qe.left)),(0,he.isNum)(Qe.top)&&(Ne=Math.max(Ne,Qe.top)),[_e,Ne]}function ft(Be,_e,Ne){const Qe=Math.round(_e/Be[0])*Be[0],ke=Math.round(Ne/Be[1])*Be[1];return[Qe,ke]}function Oe(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,Ne){const Qe=typeof _e=="number"?(0,Me.getTouch)(Be,_e):null;if(typeof _e=="number"&&!Qe)return null;const ke=Ke(Ne),Pe=Ne.props.offsetParent||ke.offsetParent||ke.ownerDocument.body;return(0,Me.offsetXYFromParent)(Qe||Be,Pe,Ne.props.scale)}function Ae(Be,_e,Ne){const Qe=!(0,he.isNum)(Be.lastX),ke=Ke(Be);return Qe?{node:ke,deltaX:0,deltaY:0,lastX:_e,lastY:Ne,x:_e,y:Ne}:{node:ke,deltaX:_e-Be.lastX,deltaY:Ne-Be.lastY,lastX:Be.lastX,lastY:Be.lastY,x:_e,y:Ne}}function xe(Be,_e){const Ne=Be.props.scale;return{node:_e.node,x:Be.state.x+_e.deltaX/Ne,y:Be.state.y+_e.deltaY/Ne,deltaX:_e.deltaX/Ne,deltaY:_e.deltaY/Ne,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 Ke(Be){const _e=Be.findDOMNode();if(!_e)throw new Error("<DraggableCore>: Unmounted during event!");return _e}},80217:function(Qn,Yt){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.dontSetMe=ft,Yt.findInArray=de,Yt.int=He,Yt.isFunction=he,Yt.isNum=Me;function de(Oe,Le){for(let ve=0,Ae=Oe.length;ve<Ae;ve++)if(Le.apply(Le,[Oe[ve],ve,Oe]))return Oe[ve]}function he(Oe){return typeof Oe=="function"||Object.prototype.toString.call(Oe)==="[object Function]"}function Me(Oe){return typeof Oe=="number"&&!isNaN(Oe)}function He(Oe){return parseInt(Oe,10)}function ft(Oe,Le,ve){if(Oe[Le])return new Error(`Invalid prop ${Le} passed to ${ve} - do not set this, set it on the child.`)}},62752:function(Qn,Yt){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.SizeSensorId=Yt.SensorTabIndex=Yt.SensorClassName=void 0;var de=Yt.SizeSensorId="size-sensor-id",he=Yt.SensorClassName="size-sensor-object",Me=Yt.SensorTabIndex="-1"},25224:function(Qn,Yt){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var de=Yt.default=function(Me){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,ft=null;return function(){for(var Oe=this,Le=arguments.length,ve=new Array(Le),Ae=0;Ae<Le;Ae++)ve[Ae]=arguments[Ae];clearTimeout(ft),ft=setTimeout(function(){Me.apply(Oe,ve)},He)}}},82196:function(Qn,Yt){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var de=1,he=Yt.default=function(){return"".concat(de++)}},10413:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.ver=Yt.clear=Yt.bind=void 0;var he=de(2963),Me=Yt.bind=function(Le,ve){var Ae=(0,he.getSensor)(Le);return Ae.bind(ve),function(){Ae.unbind(ve)}},He=Yt.clear=function(Le){var ve=(0,he.getSensor)(Le);(0,he.removeSensor)(ve)},ft=Yt.ver="1.0.3"},2963:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.removeSensor=Yt.getSensor=Yt.Sensors=void 0;var he=ft(de(82196)),Me=de(42065),He=de(62752);function ft(xe){return xe&&xe.__esModule?xe:{default:xe}}var Oe=Yt.Sensors={};function Le(xe){xe&&Oe[xe]&&delete Oe[xe]}var ve=Yt.getSensor=function(fe){var Ke=fe.getAttribute(He.SizeSensorId);if(Ke&&Oe[Ke])return Oe[Ke];var Be=(0,he.default)();fe.setAttribute(He.SizeSensorId,Be);var _e=(0,Me.createSensor)(fe,function(){return Le(Be)});return Oe[Be]=_e,_e},Ae=Yt.removeSensor=function(fe){var Ke=fe.element.getAttribute(He.SizeSensorId);fe.destroy(),Le(Ke)}},42065:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.createSensor=void 0;var he=de(38132),Me=de(38950),He=Yt.createSensor=typeof ResizeObserver!="undefined"?Me.createSensor:he.createSensor},38132:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.createSensor=void 0;var he=He(de(25224)),Me=de(62752);function He(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}var ft=Yt.createSensor=function(Le,ve){var Ae=void 0,xe=[],fe=function(){getComputedStyle(Le).position==="static"&&(Le.style.position="relative");var ke=document.createElement("object");return ke.onload=function(){ke.contentDocument.defaultView.addEventListener("resize",Ke),Ke()},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},Ke=(0,he.default)(function(){xe.forEach(function(Qe){Qe(Le)})}),Be=function(ke){Ae||(Ae=fe()),xe.indexOf(ke)===-1&&xe.push(ke)},_e=function(){Ae&&Ae.parentNode&&(Ae.contentDocument&&Ae.contentDocument.defaultView.removeEventListener("resize",Ke),Ae.parentNode.removeChild(Ae),Le.removeAttribute(Me.SizeSensorId),Ae=void 0,xe=[],ve&&ve())},Ne=function(ke){var Pe=xe.indexOf(ke);Pe!==-1&&xe.splice(Pe,1),xe.length===0&&Ae&&_e()};return{element:Le,bind:Be,destroy:_e,unbind:Ne}}},38950:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.createSensor=void 0;var he=de(62752),Me=He(de(25224));function He(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}var ft=Yt.createSensor=function(Le,ve){var Ae=void 0,xe=[],fe=(0,Me.default)(function(){xe.forEach(function(Qe){Qe(Le)})}),Ke=function(){var ke=new ResizeObserver(fe);return ke.observe(Le),fe(),ke},Be=function(ke){Ae||(Ae=Ke()),xe.indexOf(ke)===-1&&xe.push(ke)},_e=function(){Ae&&Ae.disconnect(),xe=[],Ae=void 0,Le.removeAttribute(he.SizeSensorId),ve&&ve()},Ne=function(ke){var Pe=xe.indexOf(ke);Pe!==-1&&xe.splice(Pe,1),xe.length===0&&Ae&&_e()};return{element:Le,bind:Be,destroy:_e,unbind:Ne}}},25365:function(Qn){"use strict";Qn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdBoe0Tqggi5NgsLaWriWZFQEEvRHBxmL+iMo/KMg6KJSCy03mbapo1vXzCvJUstjZTM1bUzZZP6uF5M0Zwr1/nsHn/d93+/7QjBn3GhuZkm5scvRJIgODWX7sKCQT0oRGIAQorlnp+cIAAhnJghhhobvWRPjQ/rJ8eEVXIxGwcFsGBYWQUTFLrN6yCB9qpjdthA2BSGEsEd1X08NOlrPSiM4PxWJCSNL+HwfSZBMp/Mbr6+vVyyVyQm+SJYrCWea5sOmoMqm4ezu9rqSrUpFjzxBPgpoCkCEwO+3IJIgWRWVpiR5cirF40crZZGc3rkYdDgQp+advUXC9YZs2rjBQRCTwK/T6E9KaJoGJEVxyw3GtNUbt11KWSYp+AuyfRlf86baVJezc0sLb1HIxGxg9mEIIaiurVXgJOiUq6WbV8KVRMD+s45hbftL082DWk0TQohaKJn+9bb3H6Ntr16hvfvU6TExMe4A6G2Xc4+ttqIkL1fXBAAIuGVORMje3BpvNRrxM8fz0xfHxY0F7Hd/HVSYjKVtGpWqI4THc2ELhIRhTHjzXlHax4Z6++3i4iwIIRkAIYQY9+9cfxHKFyVtz8ho9/l8NIbN4mgaQAYDfHI4hRf152TxAsHhK9ev3for2f6F1sZn6w0VFvMuVY43WZHYi08SOKJIP4AYTBbW7XAKCgsvx0tEQobbg1d1fXj/eN2a9Ad6vZ6eBmd+ttlQpK15/uaaLHEFR7lK6QqPiPC63GMsm80eXmN5wmNiAJKIBRjsYCAQCNFAf98lq3lvAYSqqQLNQFNVaXyuMFue6oZ/utZ5J3Chx+NBFEX3xEnEpr5+Z5b1RX2mIHIJyFbngFHXGOr93FX41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ekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Qn){"use strict";Qn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv15Rj959hXFjFjPaNpmUbYwppVJozcK87l5npxf75JcsYdnEqca0ZSvnk+dtaV++e+dwktjzzQsFqTjmum3oRm2ZOtZbSc8hue5j/ie/x3n1nXeSv50ygv8RJ9MY7Hn08O+1+t9nfnNG8EW5xJHZs98NmCsEANdJ/tulLP2PEiP/442nw5z6/XzYTTq6HcmObSBXkSfm/uxtrTdtLk50/A3WgSZtHX812iA3imrbDq2kZxfoWVOo8hxGPXf0yDygP+eR8F3vtqdjrGTHsNN/0Pbo4z2Xadi0fcqZaSOeBTpMX/9KvDPZHnCu9V3vc2r7zvZYW6dyL4T2WE83nQgYlpy73MQwZqdz52czyKns8jTUeR06uR0FBkGdkhW04VN7Rr7TRcIE85cl75X/ZC5Pj3R9YPs+t7GDPp22u+uE7k9iLy6E3m176TbkV/OJ5GddHLYgczkPcyhGE/F277YpHLmd10XvDsFFpH1oiB9KQjQYu1aYJcKdnYvLKiA/M5UFDdWbr6LvIyNZ7KgiEufRz9Hs7UxAVSAA8l03MYufDYMtX7kRXUPx05erxquN8AmPdyiUS2QWxNq0za/GWlc83TJHfVfvk2aTxnYK9mC6+Rr5KSZcseUZt04QD8ItjbW3NcbH2LVBwOWvnld/Hv/FMP1T8mN+a8XZYQLG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sFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(Qn){"use strict";Qn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3K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(Qn,Yt,de){"use strict";Qn.exports=de.p+"static/detailbg.5bc9ddcf.jpg"},48136:function(Qn,Yt,de){"use strict";var he=Object.defineProperty,Me=Object.defineProperties,He=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,Oe=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={}))Oe.call(y,b)&&ve(a,b,y[b]);if(ft)for(var b of ft(y))Le.call(y,b)&&ve(a,b,y[b]);return a},xe=(a,y)=>Me(a,He(y)),fe=a=>typeof a=="symbol"?a:a+"",Ke=(a,y)=>{var b={};for(var z in a)Oe.call(a,z)&&y.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&ft)for(var z of ft(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 Ne(){return"window"in globalThis&&"document"in globalThis}function Qe(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function ke(){return typeof navigator.vibrate=="function"}function Pe(){var a,y;if(!Ne())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 Te(){if(!Ne())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 Ye(){return HTMLElement.prototype.hasOwnProperty("popover")}var ze={strings:_e,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return ze._locale||(ze._locale=Ne()?navigator.language.slice(0,5):"en-US"),ze._locale},set locale(a){ze._locale=a,ze._numberFormatter=void 0,ze.dirty=!0},get numberFormatter(){return ze._numberFormatter||(ze._numberFormatter=new Intl.NumberFormat(ze.locale)),ze._numberFormatter},merge(a,y){if(typeof a=="string"&&y)ze.strings[a]=Ae(Ae({},ze.strings[a]),y),ze.dirty=!0;else for(const b of Object.keys(a))ze.merge(b,a[b])},get dirty(){return ze._dirty},set dirty(a){ze._dirty||ze._dirty===a||(ze._dirty=!0,setTimeout(()=>{ze._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return ze._subscribers.push(a),ze._subscribers.length-1},unsubscribe(a){a<0||a>=ze._subscribers.length||(ze._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=ze.locale;ze.strings[z]&&(b=ze.strings[z][a]);const re=z.slice(0,2);if(!b&&ze.strings[re]&&(b=ze.strings[re][a]),b||(b=ze.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 Mt=y[gt];typeof Mt=="number"&&(Mt=ze.numberFormatter.format(Mt)),b=b.replace(ye[1],Mt)}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"},et={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 Ct(a){var y,b,z,re,pe,ye;const tt=a.split("!");let ut,gt,Mt,qt=255,pn=255,Vn=255,ar=-1;const di=tt.length>0&&tt[0].startsWith("-");di&&(tt[0]=tt[0].slice(1));for(let ja=0;ja<tt.length;ja++){ut=qt,gt=pn,Mt=Vn;const oi=(y=tt[ja].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],$i=oi==null?void 0:oi.toLowerCase(),Ya=oi&&(ye=(pe=(re=(z=(b=rt[$i])!=null?b:rt[ht[oi]])!=null?z:Ze[oi])!=null?re:dt[oi])!=null?pe:We[oi])!=null?ye:tt[ja].trim();let oa=Ya.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(oa!=null&&oa[1]&&oa[2]&&oa[3])qt=Math.max(0,Math.min(255,Number.parseInt(oa[1],16))),pn=Math.max(0,Math.min(255,Number.parseInt(oa[2],16))),Vn=Math.max(0,Math.min(255,Number.parseInt(oa[3],16)));else if(oa=Ya.match(/^#([\da-f]{3})$/i),oa!=null&&oa[1]){const zo=Number.parseInt(oa[1][0],16),gs=Number.parseInt(oa[1][1],16),is=Number.parseInt(oa[1][2],16);qt=Math.max(0,Math.min(255,zo*16+zo)),pn=Math.max(0,Math.min(255,gs*16+gs)),Vn=Math.max(0,Math.min(255,is*16+is))}else if(oa=Ya.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),oa!=null&&oa[1]&&oa[2]&&oa[3])qt=Math.max(0,Math.min(255,Number.parseInt(oa[1]))),pn=Math.max(0,Math.min(255,Number.parseInt(oa[2]))),Vn=Math.max(0,Math.min(255,Number.parseInt(oa[3])));else return;ar>=0&&(qt=(1-ar)*qt+ar*ut,pn=(1-ar)*pn+ar*gt,Vn=(1-ar)*Vn+ar*Mt,ar=-1),ja+1<tt.length&&(ar=Math.max(0,Math.min(100,Number.parseInt(tt[++ja])))/100)}return ar>=0&&(qt=ar*qt+(1-ar)*ut,pn=ar*pn+(1-ar)*gt,Vn=ar*Vn+(1-ar)*Mt),di&&(qt=255-qt,pn=255-pn,Vn=255-Vn),"#"+("00"+Math.round(qt).toString(16)).slice(-2)+("00"+Math.round(pn).toString(16)).slice(-2)+("00"+Math.round(Vn).toString(16)).slice(-2)}function Xe(a){var y,b;return a=a.trim(),(b=(y=et[a.toLowerCase()])!=null?y:et[ht[a]])!=null?b:Ct(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 Ht(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 Et(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)+(Et(y)<<16)+(Et(b)<<8)+Et(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(Ht({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"},Ue={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 Xt(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(Ue[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 Ue)if(Ue[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 xt(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 An={},Tn=Ae({},it),dn={},Gn={},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}"},mn={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}},Bn={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:Bn},"amsmath.sty":{package:mn,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;Te()?(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&&(An[a]={definitionType:"symbol",type:b,variant:z,codepoint:y},Tn[y]||(Tn[y]=a))}function Je(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 $e(a){var y;return(y=Gn[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 dn)ye.startsWith(y)&&!dn[ye].infix&&re.push({match:ye,frequency:(b=dn[ye].frequency)!=null?b:0});for(const ye in An)ye.startsWith(y)&&re.push({match:ye,frequency:(z=An[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 _t(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(..._t(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(..._t(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)Gn[z]=b}function Sn(a,y,b){typeof a=="string"&&(a=[a]);const re={tabular:!0,params:_t(y),createAtom:b};for(const pe of a)Gn[pe]=re}function St(a,y,b){var z,re;b||(b={});const pe={definitionType:"function",params:_t(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")dn["\\"+a]=pe;else for(const ye of a)dn["\\"+ye]=pe}var nn;function tn(a){return nn||(nn=pt(Se)),a?pt(Ae(Ae({},nn),a)):nn}function jt(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]=jt(z.package[re],{expand:!z.primitive,captureSelection:z.captureSelection});else y[b]=jt(z)}return y}function Zt(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=dn[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=An[a]:Fe[a]&&(b={definitionType:"symbol",type:"mord",codepoint:Fe[a]})}else if(y==="math"){if(b=An[a],!b&&a.length===1){const z=wn("math",a.codePointAt(0));return z.startsWith("\\")?xe(Ae({},Zt(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 gn(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function wn(a,y){if(y===void 0)return"";if(a==="math"&&Tn[y])return Tn[y];if(a==="text"){const b=Object.keys(Fe).find(z=>Fe[z]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var Xn=[0,.68889,0,0,.72222],yr=[0,.68889,0,0,.66667],Dr=[0,.68889,0,0,.77778],Tr=[0,.68889,0,0,.61111],Rr=[.16667,.68889,0,0,.77778],Sr=[0,.68889,0,0,.55556],fr=[0,0,0,0,.25],Vr=[0,.825,0,0,2.33334],Bi=[0,.9,0,0,2.33334],yi=[0,.68889,0,0,.54028],mi=[-.03598,.46402,0,0,.5],Vi=[-.13313,.36687,0,0,1],ua=[.01354,.52239,0,0,1],Wr=[.01354,.52239,0,0,1.11111],Mn=[0,.54986,0,0,1],ea=[0,.69224,0,0,.5],Ea=[0,.43056,0,0,1],wo=[.08198,.58198,0,0,.77778],sa=[.19444,.69224,0,0,.41667],Pi=[.1808,.675,0,0,1],Aa=[.19444,.69224,0,0,.83334],Si=[.13667,.63667,0,0,1],qr=[-.064,.437,0,0,1.334],Ma=[.08167,.58167,0,0,.77778],kn=[0,.69224,0,0,.72222],Dt=[0,.69224,0,0,.66667],Gt=[-.13313,.36687,0,0,.77778],Wt=[.06062,.54986,0,0,.77778],Kt=[0,.69224,0,0,.77778],on=[.25583,.75583,0,0,.77778],_n=[.25142,.75726,0,0,.77778],lr=[.20576,.70576,0,0,.77778],nr=[.30274,.79383,0,0,.77778],dr=[.22958,.72958,0,0,.77778],Pr=[.1808,.675,0,0,.77778],Ur=[.13667,.63667,0,0,.77778],ei=[.13597,.63597,0,0,.77778],er=[.03517,.54986,0,0,.77778],kr=[0,.675,0,0,.77778],_i=[.19444,.69224,0,0,.61111],gi=[0,.54986,0,0,.76042],ji=[0,.54986,0,0,.66667],Mi=[.0391,.5391,0,0,.77778],Ca=[.03517,.54986,0,0,1.33334],Jr=[.38569,.88569,0,0,.77778],ra=[.23222,.74111,0,0,.77778],vn=[.19444,.69224,0,0,.77778],gr=[0,.37788,0,0,.5],Ar=[0,.54986,0,0,.72222],jr=[0,.69224,0,0,.83334],br=[.11111,.69224,0,0,.66667],Ir=[.26167,.75726,0,0,.77778],Fr=[.48256,.98256,0,0,.77778],si=[.28481,.79383,0,0,.77778],bi=[.08167,.58167,0,0,.22222],Ti=[.08167,.58167,0,0,.38889],Pa=[0,.43056,.04028,0,.66667],Ka=[.41951,.91951,0,0,.77778],$a=[.24982,.74947,0,0,.38865],Ua=[.08319,.58283,0,0,.75623],Fa=[0,.10803,0,0,.27764],ho=[0,.47534,0,0,.50181],oo=[.18906,.47534,0,0,.50181],ta=[0,.69141,0,0,.50181],ui=[.24982,.74947,0,0,.27764],za=[0,.69141,0,0,.21471],no=[.25,.75,0,0,.44722],La=[0,.64444,0,0,.575],xo=[.08556,.58556,0,0,.89444],os=[0,.69444,0,0,.89444],Va=[0,.68611,0,0,.9],Ii=[0,.68611,0,0,.86944],Ci=[.25,.75,0,0,.575],Ha=[.25,.75,0,0,.31944],Oa=[0,.69444,0,0,.63889],eo=[0,.69444,0,0,.31944],Lo=[0,.44444,0,0,.63889],vo=[0,.44444,0,0,.51111],jn=[0,.69444,0,0,.575],Oo=[.13333,.63333,0,0,.89444],Ks=[0,.44444,0,0,.31944],Sa=[0,.69444,0,0,.86944],ga=[0,.68611,0,0,.69166],Co=[0,.68611,0,0,.83055],Fo=[0,.68611,0,0,.89444],Es=[0,.69444,0,0,.60278],Js=[.19444,.69444,0,0,.51111],Os=[0,.69444,0,0,.83055],ps=[-.10889,.39111,0,0,1.14999],as=[.19444,.69444,0,0,.575],ol=[.19444,.69444,0,0,1.14999],fa=[.19444,.69444,0,0,.70277],la=[.05556,.75,0,0,.575],ia=[0,.68611,0,0,.95833],Ln=[.08556,.58556,0,0,.76666],In=[-.02639,.47361,0,0,.575],Er=[0,.44444,0,0,.89444],vi=[0,.55556,0,0,.76666],ha=[-.10889,.39111,0,0,.89444],Ia=[.00222,.50222,0,0,.89444],va=[.19667,.69667,0,0,.89444],Ji=[.08556,.58556,0,0,1.14999],ya=[0,.69444,0,0,.70277],No=[-.02778,.47222,0,0,.575],Vo=[.25,.75,0,0,.51111],cs=[-.13889,.36111,0,0,1.14999],Mo=[.19444,.69444,0,0,1.02222],ul=[.12963,.69444,0,0,.89444],Ss=[.19444,.69444,0,0,.44722],vr=[0,.64444,.13167,0,.59111],On=[.19444,.64444,.13167,0,.59111],Dn=[0,.68611,.17208,0,.8961],wr=[.19444,.44444,.105,0,.53222],ni=[0,.44444,.085,0,.82666],li=[0,.69444,.06709,0,.59111],Or=[0,.69444,.12945,0,.35555],Hi=[0,.69444,0,0,.94888],ca=[0,.69444,.11472,0,.59111],uo=[0,.68611,.10778,0,.88555],Wa=[0,.69444,.07939,0,.62055],Ki=[0,.69444,.12417,0,.30667],Na=[0,.64444,.13556,0,.51111],so=[.19444,.64444,.13556,0,.51111],rr=[0,.68333,.16389,0,.74333],Kn=[.19444,.43056,.08847,0,.46],Ja=[0,.43056,.07514,0,.71555],pa=[0,.69444,.06646,0,.51111],ka=[0,.69444,0,0,.83129],ss=[0,.69444,.1225,0,.51111],qs=[0,.68333,.09403,0,.76666],tl=[0,.68333,.11111,0,.76666],eu=[0,.69444,.06961,0,.51444],nu=[0,.69444,0,0,.27778],Fu=[.25,.75,0,0,.38889],wl=[0,.64444,0,0,.5],Vl=[0,.69444,0,0,.77778],Io=[0,.68333,0,0,.75],Xo=[0,.68333,0,0,.77778],Pl=[0,.68333,0,0,.68056],Tl=[0,.68333,0,0,.72222],ml=[.25,.75,0,0,.5],Wo=[.25,.75,0,0,.27778],js=[0,.69444,0,0,.5],zu=[0,.69444,0,0,.55556],mc=[0,.43056,0,0,.44445],cl=[0,.43056,0,0,.5],ys=[.19444,.43056,0,0,.55556],bs=[0,.43056,0,0,.55556],Xl=[.08333,.58333,0,0,.77778],gl=[0,.43056,0,0,.27778],kl=[0,.66786,0,0,.27778],vl=[0,.69444,0,0,.75],Vs=[0,.66786,0,0,.5],Gl=[0,.68333,0,0,.625],ic=[.19444,.69444,0,0,.44445],Xc=[0,.69444,0,0,.72222],Jl=[.19444,.69444,0,0,.5],ku=[.19444,.69444,0,0,1],qu=[.011,.511,0,0,1.126],Hc=[.19444,.69444,0,0,.61111],Cu=[.05556,.75,0,0,.5],nA=[0,.68333,0,0,.83334],kd=[.0391,.5391,0,0,.66667],gd=[-.05555,.44445,0,0,.5],uf=[0,.43056,0,0,.77778],ud=[0,.55556,0,0,.66667],pA=[-.03625,.46375,0,0,.77778],lc=[-.01688,.48312,0,0,.77778],_d=[.0391,.5391,0,0,1],ki=[0,.69444,0,0,.61111],lo=[-.03472,.46528,0,0,.5],fi=[.25,.75,0,0,.44445],To=[-.14236,.35764,0,0,1],ds=[.244,.744,0,0,.412],mu=[.19444,.69444,0,0,.88889],gu=[.12963,.69444,0,0,.77778],_l=[.19444,.69444,0,0,.38889],Bc=[.011,.511,0,0,1.638],Lc=[.19444,.69444,0,0,0],Sc=[0,.44444,0,0,.575],dl=[.19444,.44444,0,0,.575],Gs=[0,.68611,0,0,.75555],Ms=[0,.69444,0,0,.66759],Wu=[0,.68611,0,0,.80555],gc=[0,.68611,.08229,0,.98229],Zu=[0,.68611,0,0,.76666],vc=[0,.44444,0,0,.58472],vd=[.19444,.44444,0,0,.6118],cd=[.19444,.43056,0,0,.5],ac=[0,.68333,.02778,.08334,.76278],Dc=[0,.68333,.08125,.05556,.83125],Nu=[0,.43056,0,.05556,.48472],Ec=[.19444,.43056,0,.08334,.51702],$u=[.25,.75,0,0,.42778],Pu=[0,.69444,0,0,.55],Oc=[0,.69444,0,0,.73334],yd=[0,.69444,0,0,.79445],nh=[0,.69444,0,0,.51945],KA=[0,.69444,0,0,.70278],Bh=[0,.69444,0,0,.76389],rA=[.25,.75,0,0,.34306],zA=[0,.69444,0,0,.56111],am=[0,.69444,0,0,.25556],mA=[.19444,.45833,0,0,.56111],Vd=[0,.45833,0,0,.56111],Jc=[0,.69444,0,0,.30556],ru=[0,.69444,0,0,.58056],iA=[0,.69444,0,0,.67223],gf=[0,.69444,0,0,.85556],WA=[0,.69444,0,0,.55834],nd=[0,.65556,.11156,0,.5],gA=[0,.69444,.08094,0,.70834],rh=[.17014,0,0,0,.44445],vf=[0,.69444,.0799,0,.5],k0=[0,.69444,0,0,.73752],np=[0,.69444,.09205,0,.5],uc=[0,.69444,.09031,0,.77778],aA=[0,.69444,.07816,0,.27778],rp=[0,.69444,.00316,0,.5],Ot=[.19444,.69444,0,0,.83334],Rt=[.05556,.75,0,0,.83334],fn=[0,.75,0,0,.5],En=[.125,.08333,0,0,.27778],Jn=[0,.08333,0,0,.27778],Rn=[0,.65556,0,0,.5],mr=[0,.69444,0,0,.47222],hr=[0,.69444,0,0,.66667],cr=[0,.69444,0,0,.59722],Zr=[0,.69444,0,0,.54167],hi=[0,.69444,0,0,.70834],$r=[.25,.75,0,0,.28889],Yi=[0,.69444,0,0,.51667],Ri=[0,.44444,0,0,.44445],zi=[.19444,.44444,0,0,.51667],Za=[0,.44444,0,0,.38333],_a=[0,.44444,0,0,.51667],Ra=[0,.69444,0,0,.83334],Da=[.35001,.85,0,0,.45834],ro=[.35001,.85,0,0,.57778],Qo=[.35001,.85,0,0,.41667],Jo=[.35001,.85,0,0,.58334],ko=[0,.72222,0,0,.55556],ls=[1e-5,.6,0,0,.66667],Fs=[1e-5,.6,0,0,.77778],Ao=[.25001,.75,0,0,.94445],Po=[.306,.805,.19445,0,.47222],yo=[.30612,.805,.19445,0,.47222],Ba=[.25001,.75,0,0,.83334],Bo=[.35001,.85,0,0,.47222],ns=[.25001,.75,0,0,1.11111],Ys=[.65002,1.15,0,0,.59722],rs=[.65002,1.15,0,0,.81111],Ga=[.65002,1.15,0,0,.47222],ms=[.65002,1.15,0,0,.66667],Is=[0,.75,0,0,1],Rl=[.55001,1.05,0,0,1.27778],Ml=[.862,1.36,.44445,0,.55556],Bu=[.86225,1.36,.44445,0,.55556],Su=[.55001,1.05,0,0,1.11111],ks=[.65002,1.15,0,0,.52778],oc=[.65002,1.15,0,0,.61111],yl=[.55001,1.05,0,0,1.51112],cu=[.95003,1.45,0,0,.73611],du=[.95003,1.45,0,0,1.04445],Fc=[.95003,1.45,0,0,.52778],So=[.95003,1.45,0,0,.75],$o=[0,.75,0,0,1.44445],es=[.95003,1.45,0,0,.58334],Ro=[1.25003,1.75,0,0,.79167],Ll=[1.25003,1.75,0,0,1.27778],jo=[1.25003,1.75,0,0,.58334],ws=[1.25003,1.75,0,0,.80556],nl=[0,.825,0,0,1.8889],Al=[1.25003,1.75,0,0,.63889],qc=[.64502,1.155,0,0,.875],Vu=[1e-5,.6,0,0,.875],Pd=[-99e-5,.601,0,0,.66667],ec=[.64502,1.155,0,0,.66667],Td=[1e-5,.9,0,0,.88889],to=[.65002,1.15,0,0,.88889],Nc=[.90001,0,0,0,.88889],ZA=[-.00499,.605,0,0,1.05556],bl=[0,.12,0,0,.45],aa=[0,.61111,0,0,.525],Ql=[.08333,.69444,0,0,.525],yc=[-.08056,.53055,0,0,.525],_u=[-.05556,.55556,0,0,.525],fs=[0,.43056,0,0,.525],ql=[.22222,.43056,0,0,.525],Pc=[0,0,0,0,.525],Md={"AMS-Regular":{32:fr,65:Xn,66:yr,67:Xn,68:Xn,69:yr,70:Tr,71:Dr,72:Dr,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:Dr,76:yr,77:[0,.68889,0,0,.94445],78:Xn,79:Rr,80:Tr,81:Rr,82:Xn,83:Sr,84:yr,85:Xn,86:Xn,87:[0,.68889,0,0,1],88:Xn,89:Xn,90:yr,107:Sr,160:fr,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:Sr,295:yi,710:Vr,732:Bi,770:Vr,771:Bi,989:Ma,1008:Pa,8245:[0,.54986,0,0,.275],8463:yi,8487:Xn,8498:Sr,8502:yr,8503:[0,.68889,0,0,.44445],8504:yr,8513:[0,.68889,0,0,.63889],8592:mi,8594:mi,8602:Vi,8603:Vi,8606:ua,8608:ua,8610:Wr,8611:Wr,8619:Mn,8620:Mn,8621:[-.13313,.37788,0,0,1.38889],8622:Vi,8624:ea,8625:ea,8630:Ea,8631:Ea,8634:wo,8635:wo,8638:sa,8639:sa,8642:sa,8643:sa,8644:Pi,8646:Pi,8647:Pi,8648:Aa,8649:Pi,8650:Aa,8651:ua,8652:ua,8653:Vi,8654:Vi,8655:Vi,8666:Si,8667:Si,8669:[-.13313,.37788,0,0,1],8672:qr,8674:qr,8705:[0,.825,0,0,.5],8708:Sr,8709:Ma,8717:[0,.43056,0,0,.42917],8722:mi,8724:[.08198,.69224,0,0,.77778],8726:Ma,8733:Kt,8736:kn,8737:kn,8738:[.03517,.52239,0,0,.72222],8739:bi,8740:[.25142,.74111,0,0,.27778],8741:Ti,8742:[.25142,.74111,0,0,.5],8756:Dt,8757:Dt,8764:Gt,8765:[-.13313,.37788,0,0,.77778],8769:Gt,8770:pA,8774:nr,8776:lc,8778:Ma,8782:Wt,8783:Wt,8785:wo,8786:wo,8787:wo,8790:Kt,8791:dr,8796:[.08198,.91667,0,0,.77778],8806:on,8807:on,8808:_n,8809:_n,8812:[.25583,.75583,0,0,.5],8814:lr,8815:lr,8816:nr,8817:nr,8818:dr,8819:dr,8822:Pr,8823:Pr,8828:Ur,8829:Ur,8830:dr,8831:dr,8832:lr,8833:lr,8840:nr,8841:nr,8842:ei,8843:ei,8847:er,8848:er,8858:wo,8859:wo,8861:wo,8862:kr,8863:kr,8864:kr,8865:kr,8872:[0,.69224,0,0,.61111],8873:kn,8874:[0,.69224,0,0,.88889],8876:Tr,8877:Tr,8878:Xn,8879:Xn,8882:er,8883:er,8884:Ur,8885:Ur,8888:[0,.54986,0,0,1.11111],8890:ys,8891:_i,8892:_i,8901:[0,.54986,0,0,.27778],8903:Ma,8905:Ma,8906:Ma,8907:Kt,8908:Kt,8909:[-.03598,.46402,0,0,.77778],8910:gi,8911:gi,8912:er,8913:er,8914:ji,8915:ji,8916:Dt,8918:Mi,8919:Mi,8920:Ca,8921:Ca,8922:Jr,8923:Jr,8926:Ur,8927:Ur,8928:nr,8929:nr,8934:ra,8935:ra,8936:ra,8937:ra,8938:lr,8939:lr,8940:nr,8941:nr,8994:vn,8995:vn,9416:[.15559,.69224,0,0,.90222],9484:ea,9488:ea,9492:gr,9496:gr,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:kr,9633:kr,9650:Ar,9651:Ar,9654:er,9660:Ar,9661:Ar,9664:er,9674:br,9733:[.19444,.69224,0,0,.94445],10003:jr,10016:jr,10731:br,10846:[.19444,.75583,0,0,.61111],10877:Ur,10878:Ur,10885:on,10886:on,10887:ei,10888:ei,10889:Ir,10890:Ir,10891:Fr,10892:Fr,10901:Ur,10902:Ur,10933:_n,10934:_n,10935:Ir,10936:Ir,10937:Ir,10938:Ir,10949:on,10950:on,10955:si,10956:si,57350:bi,57351:Ti,57352:Ma,57353:Pa,57356:_n,57357:_n,57358:Ka,57359:nr,57360:nr,57361:Ka,57366:_n,57367:_n,57368:_n,57369:_n,57370:ei,57371:ei},"Caligraphic-Regular":{32:fr,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:fr},"Fraktur-Regular":{32:fr,33:[0,.69141,0,0,.29574],34:za,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:$a,41:$a,42:[0,.62119,0,0,.27764],43:Ua,44:Fa,45:Ua,46:Fa,47:[.24982,.74947,0,0,.50181],48:ho,49:ho,50:ho,51:oo,52:oo,53:oo,54:ta,55:oo,56:ta,57:oo,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:ui,93:ui,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:fr,8216:za,8217:za,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:fr,33:[0,.69444,0,0,.35],34:Es,35:[.19444,.69444,0,0,.95833],36:la,37:[.05556,.75,0,0,.95833],38:os,39:eo,40:no,41:no,42:[0,.75,0,0,.575],43:Oo,44:[.19444,.15556,0,0,.31944],45:Za,46:[0,.15556,0,0,.31944],47:Ci,48:La,49:La,50:La,51:La,52:La,53:La,54:La,55:La,56:La,57:La,58:Ks,59:[.19444,.44444,0,0,.31944],60:xo,61:ha,62:xo,63:[0,.69444,0,0,.54305],64:os,65:Ii,66:[0,.68611,0,0,.81805],67:Co,68:[0,.68611,0,0,.88194],69:Gs,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Va,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:ga,77:[0,.68611,0,0,1.09166],78:Va,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:Ii,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:Ha,92:Ci,93:Ha,94:jn,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:Oa,99:vo,100:Oa,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:Oa,105:eo,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:eo,109:[0,.44444,0,0,.95833],110:Lo,111:Sc,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:Lo,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:vo,123:Ci,124:Ha,125:Ci,126:[.35,.34444,0,0,.575],160:fr,163:[0,.69444,0,0,.86853],168:jn,172:[0,.44444,0,0,.76666],176:Sa,177:Oo,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:Oo,216:[.04861,.73472,0,0,.89444],223:cr,230:[0,.44444,0,0,.83055],247:Oo,248:[.09722,.54167,0,0,.575],305:Ks,338:[0,.68611,0,0,1.16944],339:Er,567:[.19444,.44444,0,0,.35139],710:jn,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:jn,715:jn,728:jn,729:eo,730:Sa,732:jn,733:jn,915:ga,916:ia,920:Fo,923:Wu,926:Zu,928:Va,931:Co,933:Fo,934:Co,936:Fo,937:Co,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:eo,8217:eo,8220:Es,8221:Es,8224:Js,8225:Js,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:Ms,8465:Os,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:Os,8501:ya,8592:ps,8593:as,8594:ps,8595:as,8596:ps,8597:Ci,8598:ol,8599:ol,8600:ol,8601:ol,8636:ps,8637:ps,8640:ps,8641:ps,8656:ps,8657:fa,8658:ps,8659:fa,8660:ps,8661:[.25,.75,0,0,.70277],8704:Oa,8706:[0,.69444,.06389,0,.62847],8707:Oa,8709:la,8711:ia,8712:Ln,8715:Ln,8722:Oo,8723:Oo,8725:Ci,8726:Ci,8727:No,8728:In,8729:In,8730:[.18,.82,0,0,.95833],8733:Er,8734:[0,.44444,0,0,1.14999],8736:kn,8739:Ha,8741:Ci,8743:vi,8744:vi,8745:vi,8746:vi,8747:[.19444,.69444,.12778,0,.56875],8764:ha,8768:[.19444,.69444,0,0,.31944],8771:Ia,8776:[.02444,.52444,0,0,.89444],8781:Ia,8801:Ia,8804:va,8805:va,8810:Ji,8811:Ji,8826:xo,8827:xo,8834:xo,8835:xo,8838:va,8839:va,8846:vi,8849:va,8850:va,8851:vi,8852:vi,8853:Oo,8854:Oo,8855:Oo,8856:Oo,8857:Oo,8866:ya,8867:ya,8868:os,8869:os,8900:In,8901:[-.02639,.47361,0,0,.31944],8902:No,8968:Vo,8969:Vo,8970:Vo,8971:Vo,8994:cs,8995:cs,9651:Mo,9657:No,9661:Mo,9667:No,9711:ol,9824:ul,9825:ul,9826:ul,9827:ul,9837:[0,.75,0,0,.44722],9838:Ss,9839:Ss,10216:no,10217:no,10815:Va,10927:va,10928:va,57376:Lc},"Main-BoldItalic":{32:fr,33:[0,.69444,.11417,0,.38611],34:Wa,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:Or,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:vr,49:vr,50:vr,51:vr,52:On,53:vr,54:vr,55:On,56:vr,57:vr,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:Dn,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:Dn,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:li,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:wr,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:wr,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:fr,168:[0,.69444,.11473,0,.59111],176:Hi,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:ni,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:ni,567:[.19444,.44444,.04611,0,.385],710:li,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:Or,730:Hi,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:Dn,931:[0,.68611,.11431,0,.82666],933:uo,934:[0,.68611,.05632,0,.82666],936:uo,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:Or,8217:Or,8220:[0,.69444,.16772,0,.62055],8221:Wa},"Main-Italic":{32:fr,33:Ki,34:eu,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:Ki,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:Na,49:Na,50:Na,51:Na,52:so,53:Na,54:Na,55:so,56:Na,57:Na,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:ss,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:rr,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:rr,79:qs,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:rr,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:pa,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:Kn,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:Kn,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:fr,168:[0,.66786,.10474,0,.51111],176:ka,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:Ja,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:Ja,710:pa,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:ka,732:[0,.66786,.11585,0,.51111],733:ss,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:qs,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:rr,931:[0,.68333,.12028,0,.71555],933:tl,934:[0,.68333,.05986,0,.71555],936:tl,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:Ki,8217:Ki,8220:[0,.69444,.1685,0,.51444],8221:eu,8463:yi},"Main-Regular":{32:fr,33:nu,34:js,35:Ot,36:Cu,37:Rt,38:Vl,39:nu,40:Fu,41:Fu,42:fn,43:Xl,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:ml,48:wl,49:wl,50:wl,51:wl,52:wl,53:wl,54:wl,55:wl,56:wl,57:wl,58:gl,59:[.19444,.43056,0,0,.27778],60:Mi,61:Gt,62:Mi,63:mr,64:Vl,65:Io,66:[0,.68333,0,0,.70834],67:Tl,68:[0,.68333,0,0,.76389],69:Pl,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:Io,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:Xo,76:Gl,77:[0,.68333,0,0,.91667],78:Io,79:Xo,80:Pl,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:Tl,85:Io,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:Io,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Wo,92:ml,93:Wo,94:js,95:[.31,.12056,.02778,0,.5],97:cl,98:zu,99:mc,100:zu,101:mc,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:zu,105:kl,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:nu,109:[0,.43056,0,0,.83334],110:bs,111:cl,112:ys,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:bs,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:mc,123:ml,124:Wo,125:ml,126:[.35,.31786,0,0,.5],160:fr,163:[0,.69444,0,0,.76909],167:ic,168:Vs,172:[0,.43056,0,0,.66667],176:vl,177:Xl,182:Hc,184:rh,198:[0,.68333,0,0,.90278],215:Xl,216:[.04861,.73194,0,0,.77778],223:js,230:[0,.43056,0,0,.72222],247:Xl,248:[.09722,.52778,0,0,.5],305:gl,338:[0,.68333,0,0,1.01389],339:uf,567:[.19444,.43056,0,0,.30556],710:js,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:js,715:js,728:js,729:kl,730:vl,732:Vs,733:js,915:Gl,916:nA,920:Xo,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:Io,931:Tl,933:Xo,934:Tl,936:Xo,937:Tl,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:nu,8217:nu,8220:js,8221:js,8224:ic,8225:ic,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:yi,8465:Xc,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Xc,8501:ki,8592:Vi,8593:Jl,8594:Vi,8595:Jl,8596:Vi,8597:ml,8598:ku,8599:ku,8600:ku,8601:ku,8614:[.011,.511,0,0,1],8617:qu,8618:qu,8636:Vi,8637:Vi,8640:Vi,8641:Vi,8652:[.011,.671,0,0,1],8656:Vi,8657:Hc,8658:Vi,8659:Hc,8660:Vi,8661:[.25,.75,0,0,.61111],8704:zu,8706:[0,.69444,.05556,.08334,.5309],8707:zu,8709:Cu,8711:nA,8712:kd,8715:kd,8722:Xl,8723:Xl,8725:ml,8726:ml,8727:lo,8728:gd,8729:gd,8730:[.2,.8,0,0,.83334],8733:uf,8734:Ea,8736:kn,8739:Wo,8741:ml,8743:ud,8744:ud,8745:ud,8746:ud,8747:[.19444,.69444,.11111,0,.41667],8764:Gt,8768:[.19444,.69444,0,0,.27778],8771:pA,8773:[-.022,.589,0,0,1],8776:lc,8781:pA,8784:[-.133,.67,0,0,.778],8801:pA,8804:ei,8805:ei,8810:_d,8811:_d,8826:Mi,8827:Mi,8834:Mi,8835:Mi,8838:ei,8839:ei,8846:ud,8849:ei,8850:ei,8851:ud,8852:ud,8853:Xl,8854:Xl,8855:Xl,8856:Xl,8857:Xl,8866:ki,8867:ki,8868:Vl,8869:Vl,8872:[.249,.75,0,0,.867],8900:gd,8901:[-.05555,.44445,0,0,.27778],8902:lo,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:fi,8969:fi,8970:fi,8971:fi,8994:To,8995:To,9136:ds,9137:ds,9651:mu,9657:lo,9661:mu,9667:lo,9711:ku,9824:gu,9825:gu,9826:gu,9827:gu,9837:[0,.75,0,0,.38889],9838:_l,9839:_l,10216:Fu,10217:Fu,10222:ds,10223:ds,10229:[.011,.511,0,0,1.609],10230:Bc,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:Bc,10815:Io,10927:ei,10928:ei,57376:Lc},"Math-BoldItalic":{32:fr,48:Sc,49:Sc,50:Sc,51:dl,52:dl,53:dl,54:La,55:dl,56:La,57:dl,65:Ii,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:gc,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:Gs,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:Ms,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:vc,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:fr,915:[0,.68611,.15972,0,.65694],916:ia,920:[0,.68611,.03194,0,.86722],923:Wu,926:[0,.68611,.07458,0,.84125],928:gc,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:Zu,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:vc,960:[0,.44444,.03704,0,.68241],961:vd,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:vd,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:fr,48:cl,49:cl,50:cl,51:cd,52:cd,53:cd,54:wl,55:cd,56:wl,57:cd,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:Dc,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:ac,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:Nu,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:fr,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:ac,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:Dc,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:Nu,960:[0,.43056,.03588,0,.57003],961:Ec,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:Ec,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:fr,33:[0,.69444,0,0,.36667],34:WA,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:Jc,40:$u,41:$u,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:Pu,49:Pu,50:Pu,51:Pu,52:Pu,53:Pu,54:Pu,55:Pu,56:Pu,57:Pu,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:nh,64:Oc,65:Oc,66:Oc,67:KA,68:yd,69:[0,.69444,0,0,.64167],70:ki,71:Oc,72:yd,73:[0,.69444,0,0,.33056],74:nh,75:Bh,76:ru,77:[0,.69444,0,0,.97778],78:yd,79:yd,80:KA,81:[.10556,.69444,0,0,.79445],82:KA,83:ki,84:Oc,85:Bh,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:Oc,89:[0,.69444,.0275,0,.73334],90:iA,91:rA,93:rA,94:Pu,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:zA,99:[0,.45833,0,0,.48889],100:zA,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:zA,105:am,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:am,109:[0,.45833,0,0,.86667],110:Vd,111:[0,.45833,0,0,.55],112:mA,113:mA,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Vd,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:fr,168:Pu,176:Oc,180:Pu,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:Pu,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:Pu,729:Jc,730:Oc,732:Pu,733:Pu,915:ru,916:[0,.69444,0,0,.91667],920:gf,923:iA,926:Oc,928:yd,931:yd,933:gf,934:yd,936:gf,937:yd,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:Jc,8217:Jc,8220:WA,8221:WA},"SansSerif-Italic":{32:fr,33:[0,.69444,.05733,0,.31945],34:rp,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:aA,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:Jn,47:[.25,.75,.13164,0,.5],48:nd,49:nd,50:nd,51:nd,52:nd,53:nd,54:nd,55:nd,56:nd,57:nd,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:hr,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:gA,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:Zr,77:[0,.69444,.08094,0,.875],78:gA,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:vf,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:fr,168:[0,.67937,.06385,0,.5],176:k0,184:rh,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:vf,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:np,715:js,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:k0,732:[0,.67659,.08826,0,.5],733:np,915:[0,.69444,.13372,0,.54167],916:Ra,920:[0,.69444,.07555,0,.77778],923:ki,926:[0,.69444,.12816,0,.66667],928:gA,931:[0,.69444,.11983,0,.72222],933:uc,934:[0,.69444,.04603,0,.72222],936:uc,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:aA,8217:aA,8220:[0,.69444,.14205,0,.5],8221:rp},"SansSerif-Regular":{32:fr,33:[0,.69444,0,0,.31945],34:js,35:Ot,36:Cu,37:Rt,38:[0,.69444,0,0,.75834],39:nu,40:Fu,41:Fu,42:fn,43:Xl,44:En,45:[0,.44444,0,0,.33333],46:Jn,47:ml,48:Rn,49:Rn,50:Rn,51:Rn,52:Rn,53:Rn,54:Rn,55:Rn,56:Rn,57:Rn,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:mr,64:hr,65:hr,66:hr,67:Oa,68:[0,.69444,0,0,.72223],69:cr,70:[0,.69444,0,0,.56945],71:hr,72:hi,73:nu,74:mr,75:[0,.69444,0,0,.69445],76:Zr,77:[0,.69444,0,0,.875],78:hi,79:[0,.69444,0,0,.73611],80:Oa,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:zu,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:hr,89:[0,.69444,.025,0,.66667],90:ki,91:$r,93:$r,94:js,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Yi,99:Ri,100:Yi,101:Ri,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Yi,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:_a,111:[0,.44444,0,0,.5],112:zi,113:zi,114:[0,.44444,.01389,0,.34167],115:Za,116:[0,.57143,0,0,.36111],117:_a,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:fr,168:[0,.67937,0,0,.5],176:hr,184:rh,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:js,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:js,715:js,728:js,729:[0,.67937,0,0,.27778],730:hr,732:[0,.67659,0,0,.5],733:js,915:Zr,916:Ra,920:Vl,923:ki,926:hr,928:hi,931:Xc,933:Vl,934:Xc,936:Vl,937:Xc,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:nu,8217:nu,8220:js,8221:js},"Script-Regular":{32:fr,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:fr},"Size1-Regular":{32:fr,40:Da,41:Da,47:ro,91:Qo,92:ro,93:Qo,123:Jo,125:Jo,160:fr,710:ko,732:ko,770:ko,771:ko,8214:[-99e-5,.601,0,0,.77778],8593:ls,8595:ls,8657:Fs,8659:Fs,8719:Ao,8720:Ao,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:yo,8748:Po,8749:Po,8750:yo,8896:Ba,8897:Ba,8898:Ba,8899:Ba,8968:Bo,8969:Bo,8970:Bo,8971:Bo,9168:Pd,10216:Bo,10217:Bo,10752:ns,10753:ns,10754:ns,10756:Ba,10758:Ba},"Size2-Regular":{32:fr,40:Ys,41:Ys,47:rs,91:Ga,92:rs,93:Ga,123:ms,125:ms,160:fr,710:Is,732:Is,770:Is,771:Is,8719:Rl,8720:Rl,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:Bu,8748:Ml,8749:Ml,8750:Bu,8896:Su,8897:Su,8898:Su,8899:Su,8968:ks,8969:ks,8970:ks,8971:ks,10216:oc,10217:oc,10752:yl,10753:yl,10754:yl,10756:Su,10758:Su},"Size3-Regular":{32:fr,40:cu,41:cu,47:du,91:Fc,92:du,93:Fc,123:So,125:So,160:fr,710:$o,732:$o,770:$o,771:$o,8730:[.95003,1.45,0,0,1],8968:es,8969:es,8970:es,8971:es,10216:So,10217:So},"Size4-Regular":{32:fr,40:Ro,41:Ro,47:Ll,91:jo,92:Ll,93:jo,123:ws,125:ws,160:fr,710:nl,732:nl,770:nl,771:nl,8730:[1.25003,1.75,0,0,1],8968:Al,8969:Al,8970:Al,8971:Al,9115:qc,9116:Vu,9117:qc,9118:qc,9119:Vu,9120:qc,9121:ec,9122:Pd,9123:ec,9124:ec,9125:Pd,9126:ec,9127:Td,9128:to,9129:Nc,9130:[0,.3,0,0,.88889],9131:Td,9132:to,9133:Nc,9143:[.88502,.915,0,0,1.05556],10216:ws,10217:ws,57344:ZA,57345:ZA,57680:bl,57681:bl,57682:bl,57683:bl},"Typewriter-Regular":{32:Pc,33:aa,34:aa,35:aa,36:Ql,37:Ql,38:aa,39:aa,40:Ql,41:Ql,42:[0,.52083,0,0,.525],43:yc,44:[.13889,.125,0,0,.525],45:yc,46:[0,.125,0,0,.525],47:Ql,48:aa,49:aa,50:aa,51:aa,52:aa,53:aa,54:aa,55:aa,56:aa,57:aa,58:fs,59:[.13889,.43056,0,0,.525],60:_u,61:[-.19549,.41562,0,0,.525],62:_u,63:aa,64:aa,65:aa,66:aa,67:aa,68:aa,69:aa,70:aa,71:aa,72:aa,73:aa,74:aa,75:aa,76:aa,77:aa,78:aa,79:aa,80:aa,81:[.13889,.61111,0,0,.525],82:aa,83:aa,84:aa,85:aa,86:aa,87:aa,88:aa,89:aa,90:aa,91:Ql,92:Ql,93:Ql,94:aa,95:[.09514,0,0,0,.525],96:aa,97:fs,98:aa,99:fs,100:aa,101:fs,102:aa,103:ql,104:aa,105:aa,106:[.22222,.61111,0,0,.525],107:aa,108:aa,109:fs,110:fs,111:fs,112:ql,113:ql,114:fs,115:fs,116:[0,.55358,0,0,.525],117:fs,118:fs,119:fs,120:fs,121:ql,122:fs,123:Ql,124:Ql,125:Ql,126:aa,127:aa,160:Pc,176:aa,184:[.19445,0,0,0,.525],305:fs,567:ql,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:aa,715:aa,728:aa,730:aa,770:aa,771:aa,776:aa,915:aa,916:aa,920:aa,923:aa,926:aa,928:aa,931:aa,933:aa,934:aa,936:aa,937:aa,8216:aa,8217:aa,8242:aa,9251:[.11111,.21944,0,0,.525]}},bd=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,Tc=10,Gu=.25,vA=1.2,Qc=.431,Yu={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[Qc,Qc,Qc],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:[Gu,Gu,Gu],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]},Rc=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Iu=5,Tu={"\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 rd(a,y){a===void 0&&(a=77);const b=Md[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 Tu)a=Tu[z].codePointAt(0);else if(bd.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 oA={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]},Rd={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]},yA={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 VA(a){if(Rd[a]){const[gt,Mt,qt]=Rd[a],pn=`<span class="stretchy" style="height:${qt}em"><svg width="100%" height="${qt}em" viewBox="0 0 ${gt} ${Mt}" preserveAspectRatio="none" ><path fill="currentcolor" d="${yA[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]=oA[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,Mt)=>`<span class="${pe[Mt]}" style=height:${tt}em><svg width=400em height=${tt}em viewBox="0 0 400000 ${z}" preserveAspectRatio="${ye[Mt]} slice"><path fill="currentcolor" d="${yA[gt]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${tt}em;min-width:${b}em;">${ut}</span>`}function Sh(a){return oA[a]?oA[a][2]/1e3:Rd[a][2]}function xl(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=xp(2,16)+pe*xp(2,10)+ye,b++}}y.push(z)}return y}var iu=8205,kc=[[iu,1],[65038,2],[127995,5],[129456,4],[917536,96]],au,bc=[127462,127487];function _c(a){var y;if(au===void 0){au={};for(const b of kc)for(let z=b[0];z<=b[0]+b[1]-1;z++)au[z]=!0}return(y=au[a])!=null?y:!1}function tc(a){return a>=bc[0]&&a<=bc[1]}function bA(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=xl(a);let z=0;for(;z<b.length;){const re=b[z++],pe=b[z];if(pe===iu){const ye=z-1;for(z+=2;b[z]===iu;)z+=2;y.push(String.fromCodePoint(...b.slice(ye,z-ye+1)))}else if(_c(pe)){const ye=z-1;for(;_c(b[z]);)z+=b[z]===iu?2:1;y.push(String.fromCodePoint(...b.slice(ye,2*z-ye-1)))}else tc(re)?(z+=1,y.push(String.fromCodePoint(...b.slice(z-2,2)))):y.push(String.fromCodePoint(re))}return y}var ih=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=bA(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 wA(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,Mt=[];do{if(Mt.length===0)if(/^#[\d?@]$/.test(a.peek())){const qt=a.get().slice(1);Mt=xA((z=(b=y==null?void 0:y(qt))!=null?b:y==null?void 0:y("?"))!=null?z:"\\placeholder{}",y),tt=Mt[0]}else tt=a.next(),Mt=tt?[tt]:[];gt=Mt.length===0,!gt&&tt==="\\endcsname"&&(gt=!0,Mt.shift()),gt||(gt=tt==="<$>"||tt==="<$$>"||tt==="<{>"||tt==="<}>"||typeof tt=="string"&&tt.length>1&&tt.startsWith("\\")),gt||(ut+=Mt.shift())}while(!gt);ut&&ye.push("\\"+ut),ye.push(...Mt)}else if(tt!=="\\endcsname")if(tt.length>1&&tt.startsWith("#")){const ut=tt.slice(1);ye.push(...xA((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 xA(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 ih(xt(b.join(""))),pe=[];do pe.push(...wA(re,y));while(!re.end());return pe}function fl(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 Ru(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:fl([a,...y.map(b=>`{${b}}`)])}function sA(a){return fl(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var CA=class Av{constructor(y){Av._registry[y]=this}static createAtom(y,b,z){return Av._registry[y].createAtom(b,Zt(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 $h(y)){const ye=Av._registry[pe[0].mode];re.push(...ye.serialize(pe,b))}return fl(re)}return fl(If(y,b))}static getFont(y,b,z){return Av._registry[y].getFont(b,z)}};CA._registry={};var id=CA;function $h(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 cc(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 Eh(a,y){var b;const{parent:z}=a[0],re=z==null?void 0:z.computedStyle.color,pe=[];for(const ye of $h(a)){const tt=y.defaultMode;for(const ut of cc(ye,"color")){const gt=ut[0].computedStyle,Mt=id._registry[ut[0].mode].serialize(ut,xe(Ae({},y),{defaultMode:tt==="text"?"text":"math"}));!y.skipStyles&&gt.color&&gt.color!=="none"&&(!z||re!==gt.color)?pe.push(Ru("\\textcolor",(b=gt.verbatimColor)!=null?b:gt.color,fl(Mt))):pe.push(fl(Mt))}}return pe}function e0(a,y){const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.backgroundColor;return cc(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 Ru("\\colorbox",(pe=ye.verbatimBackgroundColor)!=null?pe:ye.backgroundColor,fl(Eh(re,xe(Ae({},y),{defaultMode:"text"}))))}return fl(Eh(re,y))})}function If(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 cc(a,"fontSize")){const ye=pe[0].computedStyle.fontSize,tt=e0(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 ah(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 Lf(a){if(a.length===0)return"ord";const y=ah(a[0].type),b=ah(a[a.length-1].type);return y&&y===b?y:"ord"}function yf(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=id.getFont((ye=b.mode)!=null?ye:"math",this,xe(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),Df(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=yf(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=yf(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"]=yf(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"]=yf(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"]=yf(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 Vn of this.children)pe+=Vn.toMarkup();let ye="";if(this.svgBody)ye=VA(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 Vn=(b=this.cssProperties)==null?void 0:b.padding;Vn?(ye+=`top:${Vn};`,ye+=`left:${Vn};`,ye+=`width:calc(100% - 2 * ${Vn} );`):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((Vn,ar,di)=>Vn.length>0&&di.indexOf(Vn)===ar).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(Vn=>`${Vn}="${this.attributes[Vn]}"`).join(" ")),this.htmlData){const Vn=this.htmlData.split(",");for(const ar of Vn){const di=ar.match(/([^=]+)=(.+$)/);if(di){const ja=di[1].trim().replace(/ /g,"-");ja&&(tt+=` data-${ja}="${di[2]}" `)}else{const ja=ar.trim().replace(/ /g,"-");ja&&(tt+=` data-${ja} `)}}}const Mt=(re=this.cssProperties)!=null?re:{};this.hasExplicitWidth&&Mt.width===void 0&&(Mt.width=`${Math.ceil(this._width*100)/100}em`);const qt=Object.keys(Mt).map(Vn=>`${Vn}:${Mt[Vn]}`);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 Vn=this.htmlStyle.split(";");let ar="";for(const di of Vn){const ja=di.match(/([^=]+):(.+$)/);if(ja){const oi=ja[1].trim().replace(/ /g,"-");oi&&(ar+=`${oi}:${ja[2]};`)}}ar&&(tt+=` style="${ar}"`)}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 oh(a){if(!a||a.length===0)return[];a[0].children=oh(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=oh(a[b].children),y.push(a[b]));return y}function Fh(a){return a.children&&(a.children=oh(a.children)),a}function t0(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,xe(Ae({},y),{type:"lift"}))}function BA(a){const y=Sh(a)/2,b=new Li(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function Df(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=rd(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 sh(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 bf(a){var y;const[b,z]=sh(a);if(!b)return[[],0,0];const re=new Li(null,{classes:"pstrut"});let pe=0;for(const ar of b)if(typeof ar!="number"){const di=ar.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,Mt=0;for(const ar of b){if(typeof ar=="number")gt+=ar;else{const di=ar.box,ja=(y=ar.classes)!=null?y:[],oi=new Li([re,di],{classes:ja.join(" "),style:ar.style});di.setStyle("height",di.height+di.depth,"em"),di.setStyle("display","inline-block"),oi.setStyle("top",-pe-gt-di.depth,"em"),ar.marginLeft&&oi.setStyle("margin-left",ar.marginLeft,"em"),ar.marginRight&&oi.setStyle("margin-right",ar.marginRight,"em"),ye.push(oi),gt+=di.height+di.depth,Mt=Math.max(Mt,oi.width)}tt=Math.min(tt,gt),ut=Math.max(ut,gt)}ye.forEach(ar=>{ar.softWidth=Mt});const qt=new Li(ye,{classes:"vlist"});if(qt.softWidth=Mt,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 Vn=new Li(8203,{classes:"vlist-s",maxFontSize:0});return Vn.softWidth=0,Vn.height=0,Vn.depth=0,[[new Li([qt,Vn],{classes:"vlist-r"}),new Li(pn,{classes:"vlist-r"})],ut,-tt]}var Lu=class extends Li{constructor(a,y){var b;const[z,re,pe]=bf(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 wf(a,y){var b,z,re,pe,ye;const tt=a.metrics,ut=new Li(y.base),gt=(b=y.baseShift)!=null?b:0,Mt=(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 Vn=null;if(y.below&&y.above){const ar=tt.bigOpSpacing5+y.below.height+y.below.depth+pn+ut.depth+gt;Vn=new Lu({bottom:ar,children:[tt.bigOpSpacing5,{box:y.below,marginLeft:-Mt,classes:["ML__center"]},pn,{box:ut,classes:["ML__center"]},qt,{box:y.above,marginLeft:Mt,classes:["ML__center"]},tt.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)Vn=new Lu({top:ut.height-gt,children:[tt.bigOpSpacing5,{box:y.below,marginLeft:-Mt,classes:["ML__center"]},pn,{box:ut,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const ar=ut.depth+gt;Vn=new Lu({bottom:ar,children:[{box:ut,classes:["ML__center"]},qt,{box:y.above,marginLeft:Mt,classes:["ML__center"]},tt.bigOpSpacing5]}).wrap(a)}else{const ar=ut.depth+gt;Vn=new Lu({bottom:ar,children:[{box:ut},tt.bigOpSpacing5]}).wrap(a)}return new Li(Vn,{type:(ye=y.type)!=null?ye:"op"})}var kh=7,SA=6,lh=5,EA=4,GA=3,Au=2,$c=1,jc=0,YA=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(Yu).reduce((re,pe)=>xe(Ae({},re),{[pe]:Yu[pe][z]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return jl[[jc,$c,jc,$c,Au,GA,Au,GA][this.id]]}get sub(){return jl[[jc,jc,jc,jc,Au,Au,Au,Au][this.id]]}get fracNum(){return jl[[jc,$c,jc,$c,Au,GA,EA,lh][this.id]]}get fracDen(){return jl[[jc,jc,jc,jc,Au,Au,EA,EA][this.id]]}get cramp(){return jl[[jc,jc,Au,Au,EA,EA,SA,SA][this.id]]}get isTight(){return this.sizeDelta<0}},Cl={7:new YA(kh,0,!1),6:new YA(SA,0,!0),5:new YA(lh,0,!1),4:new YA(EA,0,!0),3:new YA(GA,-3,!1),2:new YA(Au,-3,!0),1:new YA($c,-4,!1),0:new YA(jc,-4,!0)},jl=xe(Ae({},Cl),{displaystyle:Cl[kh],textstyle:Cl[lh],scriptstyle:Cl[GA],scriptscriptstyle:Cl[$c]});function wd(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:Tc,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=xp(10,y);return Math.round(a.dimension/Tc*z*re)/re}return a.dimension*z}function XA(a,y){if(a===null)return 0;const b=wd(a)/Tc;if(Number.isFinite(y)){const z=xp(10,y);return Math.round(b*z)/z}return b}function JA(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function _0(a){let y=JA(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${JA(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${JA(a.shrink)}`),y}function Mc(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 FA(a,y){return a==null?null:"number"in a?xe(Ae({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?xe(Ae({},a),{factor:a.factor*y}):xe(Ae({},a),{factor:y}):"dimension"in a?xe(Ae({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:FA(a.glue,y),shrink:FA(a.shrink,y),grow:FA(a.grow,y)}:a.shrink?{glue:FA(a.glue,y),shrink:FA(a.shrink,y)}:a.grow?{glue:FA(a.glue,y),grow:FA(a.grow,y)}:{glue:FA(a.glue,y)}:null}var M0={"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 xf(){return Ae({},M0)}function I0(){return{registers:xf(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:ze.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:Ct,backgroundColorMap:Xe,getMacro:a=>gn(a,tn())}}var Kl=class D1{constructor(y,b){var z,re,pe,ye,tt,ut,gt,Mt,qt,pn,Vn,ar,di,ja,oi;let $i;y!=null&&y.parent?(this.parent=y.parent,$i=y.parent,this.registers={}):($i=Ae(Ae({},I0()),(z=y==null?void 0:y.from)!=null?z:{}),this.registers=$i.registers),$i.atomIdsSettings&&(this.atomIdsSettings=Ae({},$i.atomIdsSettings)),this.renderPlaceholder=$i.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=$i.letterShapeStyle,this.minFontScale=$i.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=(Mt=(gt=this.parent)==null?void 0:gt.backgroundColor)!=null?Mt:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((qt=this.parent)==null?void 0:qt.size)?this.size=b.fontSize:this.size=(Vn=(pn=this.parent)==null?void 0:pn.size)!=null?Vn:Iu;let Ya=(di=(ar=this.parent)==null?void 0:ar.mathstyle)!=null?di:jl.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if($i instanceof D1)switch(y.mathstyle){case"cramp":Ya=Ya.cramp;break;case"superscript":Ya=Ya.sup;break;case"subscript":Ya=Ya.sub;break;case"numerator":Ya=Ya.fracNum;break;case"denominator":Ya=Ya.fracDen;break}switch(y.mathstyle){case"textstyle":Ya=jl.textstyle;break;case"displaystyle":Ya=jl.displaystyle;break;case"scriptstyle":Ya=jl.scriptstyle;break;case"scriptscriptstyle":Ya=jl.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=Ya,this.smartFence=$i.smartFence,this.placeholderSymbol=$i.placeholderSymbol,this.colorMap=(ja=$i.colorMap)!=null?ja:oa=>oa,this.backgroundColorMap=(oi=$i.backgroundColorMap)!=null?oi:oa=>oa,this.getMacro=$i.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===kh||this.mathstyle.id===SA}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(Rc[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 XA(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?xe(Ae({},pe),{dimension:z*pe.dimension}):"glue"in pe?xe(Ae({},pe),{glue:xe(Ae({},pe.glue),{dimension:z*pe.glue.dimension}),shrink:pe.shrink?xe(Ae({},pe.shrink),{dimension:z*pe.shrink.dimension}):void 0,grow:pe.grow?xe(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:wd(z,b)/Tc}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 Cf(a){return typeof a=="string"&&_h.includes(a)}function Mh(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var Ei=class rm{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,Mt=sm(y,ut,{style:{color:gt.color,backgroundColor:gt.backgroundColor,fontSize:gt.fontSize}});Mt&&ye.push(Mt)}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 id.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 rm({type:"mord",value:y,mode:"math"}):new rm(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=n0(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=Zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?fl([Ru(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?fl([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return id.serialize(this.body,xe(Ae({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return id.serialize(this.above,y)}belowToLatex(y){return id.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=xe(Ae({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const z=id.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=id.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(Cf(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(Cf(y)),Cf(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 Mh(this.parentBranch)?this.parentBranch[0]:-1}get col(){return Mh(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(Cf(b)),!Cf(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 rm({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(Cf(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=Zt(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const z=new Kl({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 Mt=0;if(pe){const di=new Kl({parent:y,mathstyle:"superscript"});tt=rm.createBox(di,pe),gt||(Mt=re.height-y.metrics.supDrop*di.scalingFactor)}let qt=0;if(ye){const di=new Kl({parent:y,mathstyle:"subscript"});ut=rm.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 Vn=.5/Tc/y.scalingFactor;let ar=null;if(ut&&tt){Mt=Math.max(Mt,pn,tt.depth+.25*y.metrics.xHeight),qt=Math.max(qt,y.metrics.sub2);const di=y.metrics.defaultRuleThickness;if(Mt-tt.depth-(ut.height-qt)<4*di){qt=4*di-(Mt-tt.depth)+ut.height;const oi=.8*y.metrics.xHeight-(Mt-tt.depth);oi>0&&(Mt+=oi,qt-=oi)}const ja=this.isExtensibleSymbol&&re.italic?-re.italic:0;ar=new Lu({individualShift:[{box:ut,shift:qt,marginLeft:ja},{box:tt,shift:-Mt}]}).wrap(y)}else ut&&!tt?(qt=Math.max(qt,y.metrics.sub1,ut.height-.8*Qc),ar=new Lu({shift:qt,children:[{box:ut,marginRight:Vn,marginLeft:this.isCharacterBox()?-re.italic:0}]})):!ut&&tt&&(Mt=Math.max(Mt,pn,tt.depth+.25*Qc),ar=new Lu({shift:-Mt,children:[{box:tt,marginRight:Vn}]}));return new Li([re,new Li(ar,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const z=this.superscript?rm.createBox(new Kl({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,re=this.subscript?rm.createBox(new Kl({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!z&&!re?b.base.wrap(y):wf(y,xe(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:ah(this.type);let gt=(pe=b==null?void 0:b.classes)!=null?pe:"";this.mode==="text"&&(gt+=" ML__text");const Mt=typeof tt=="string"||tt===void 0?new Li(tt!=null?tt:null,{type:ut,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:xe(Ae({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:gt}):(ye=rm.createBox(y,tt,{type:ut,classes:gt}))!=null?ye:new Li(null);return y.isTight&&(Mt.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(Mt.italic=0),Mt.right=Mt.italic,this.bind(y,Mt),this.caret&&!this.superscript&&!this.subscript&&(Mt.caret=this.caret),Mt}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 Kl({parent:a},b.style),gt=!((z=ut.atomIdsSettings)!=null&&z.groupNumbers);let Mt=[];if(y.length===1){const pn=y[0],Vn=pn.render(ut);Vn&&(gt&&pn.isSelected&&Vn.selected(!0),Mt=[Vn])}else{let pn="",Vn=!0;for(const ar of y){(re=ut.atomIdsSettings)!=null&&re.groupNumbers&&pn&&(Vn&&ar.isDigit()||!Vn&&ip(ar))&&(ut.atomIdsSettings.overrideID=pn);const di=ar.render(ut);ut.atomIdsSettings&&(ut.atomIdsSettings.overrideID=void 0),di&&((pe=ut.atomIdsSettings)!=null&&pe.groupNumbers&&((ar.isDigit()||ip(ar))&&(!pn||Vn!==ar.isDigit())&&(Vn=ar.isDigit(),pn=(ye=ar.id)!=null?ye:""),pn&&(!(ar.isDigit()||ip(ar))||!ar.hasEmptyBranch("superscript")||!ar.hasEmptyBranch("subscript"))&&(pn="")),gt&&ar.isSelected&&di.selected(!0),Mt.push(di))}}if(Mt.length===0)return null;const qt=new Li(Mt,xe(Ae({isTight:ut.isTight},b),{type:(tt=b.type)!=null?tt:"lift"}));return qt.isSelected=Mt.every(pn=>pn.isSelected),qt.wrap(ut)}function ip(a){return a.mode==="text"}function n0(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 qA=class O1 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 O1(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:wn("text",this.value.codePointAt(0))}};function Of(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let z=0;for(;z<b&&ap(a.ranges[z],y.ranges[z])==="equal";)z++;return z===b?"equal":"different"}}return"different"}function ap(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function ed(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 Nf(a){return typeof a=="number"&&!Number.isNaN(a)}function r0(a){return Array.isArray(a)&&a.length===2}function L0(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function D0(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 Ih(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,Mt=!1,qt=!1,pn=!1,Vn=!1,ar=!1,di=!1,ja=!1,oi=a[0],$i=0;for(;oi!=null&&oi.type&&/^(subsup|placeholder)$/.test(oi.type);)$i+=1,oi=a[$i];return b=!oi||oi.type==="first",oi&&(di=oi.mode==="text",z=!di&&oi.type==="mord"&&ae.test(oi.value),re=!di&&oi.type==="mord"&&/\d+$/.test(oi.value),pe=!di&&oi.isFunction,ye=oi.type==="genfrac",tt=oi.type==="surd",ut=oi.type==="mbin",gt=oi.type==="mrel",Mt=oi.type==="mop"||oi.type==="operator"||oi.type==="extensible-symbol",qt=oi.type==="mpunct"||oi.type==="minner",pn=oi.type==="array",Vn=oi.type==="mopen",ar=oi.type==="mclose"||oi.type==="leftright",ja=oi.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")&&Mt||y.after.includes("punct")&&qt||y.after.includes("array")&&pn||y.after.includes("openfence")&&Vn||y.after.includes("closefence")&&ar||y.after.includes("text")&&di||y.after.includes("space")&&ja?y.value:""}function op(a,y,b){return b?Ih(a,b[y]):""}var Cp={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\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",Ud(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function Ud(a,y){var b,z,re;if(!a)return"";let pe=!1,ye;const tt=(b=y.inlineShortcuts)!=null?b:Cp;if(!pe&&(a.startsWith("^")||a.startsWith("_"))&&(ye=Pf(a.slice(1),{inlineShortcuts:tt,noWrap:!0}),a=a[0]+"{"+ye.match+"}",a+=Ud(ye.rest,y),pe=!0),pe||(ye=a.match(/^(sqrt|\u221A)(.*)/),ye&&(ye=Pf(ye[2],{inlineShortcuts:tt,noWrap:!0}),a="\\sqrt{"+((z=ye.match)!=null?z:"\\placeholder{}")+"}",a+=Ud(ye.rest,y),pe=!0)),pe||(ye=a.match(/^(\\cbrt|\u221B)(.*)/),ye&&(ye=Pf(ye[2],{inlineShortcuts:tt,noWrap:!0}),a="\\sqrt[3]{"+((re=ye.match)!=null?re:"\\placeholder{}")+"}",a+=Ud(ye.rest,y),pe=!0)),pe||(ye=a.match(/^abs(.*)/),ye&&(ye=Pf(ye[1],{inlineShortcuts:tt,noWrap:!0}),a="\\left|"+ye.match+"\\right|",a+=Ud(ye.rest,y),pe=!0)),pe||(ye=a.match(/^["”“](.*?)["”“](.*)/),ye&&(a="\\text{"+ye[1]+"}",a+=Ud(ye[2],y),pe=!0)),pe||(ye=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),ye&&(a=Lh(ye[1],tt),a+=Ud(ye[2],y),pe=!0)),!pe&&/^([fgh])[^a-zA-Z]/.test(a)&&(ye=Pf(a.slice(1),{inlineShortcuts:tt,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+ye.match+"\\right)":a[0]+ye.match,a+=Ud(ye.rest,y),pe=!0),pe||(ye=a.match(/^([a-zA-Z]+)(.*)/),ye&&(a=Lh(ye[1],tt),a+=Ud(ye[2],y),pe=!0)),!pe)if(ye=Pf(a,{inlineShortcuts:tt,noWrap:!0}),ye.match&&ye.rest[0]==="/"){const ut=Pf(ye.rest.slice(1),{inlineShortcuts:tt,noWrap:!0});ut.match&&(a="\\frac{"+ye.match+"}{"+ut.match+"}"+Ud(ut.rest,y)),pe=!0}else ye.match&&(a=a.startsWith("(")?"\\left("+ye.match+"\\right)"+Ud(ye.rest,y):ye.match+Ud(ye.rest,y),pe=!0);return pe||(ye=a.match(/^(\s+)(.*)$/),ye&&(a=" "+Ud(ye[2],y),pe=!0)),a}function Pf(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=Ud(a.substring(1,tt-1),y):(re==="{"&&pe==="}"&&(re="\\{",pe="\\}"),b="\\left"+re+Ud(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=op(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 Lh(a,y){let b=op(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var N0=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function cf(a){const y=a.trim();for(const b of N0)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]=cf(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 sp="$$",Hm="$$",Qm=(a,y,b)=>(N0.some(z=>y.startsWith(z[0])&&y.endsWith(z[1]))||(y=`${sp} ${y} ${Hm}`),y),Bp=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]:ed(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]:ed(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 qA).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 Mt=ut.parse(re.getValue(pe,"latex-unstyled"));ut.jsonSerializationOptions=gt;const qt=JSON.stringify(Mt.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}};Bp._modes={};var Us=Bp,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","^"]}],lp={"\\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 IA(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function $A(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 Tf(a){const y=$A(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 Dh(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 i0(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=i0(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?i0(pe):null,a.atomBoundsCache&&(re?a.atomBoundsCache.set(y.id,re):a.atomBoundsCache.delete(y.id)),re!=null?re:null}function Sp(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=Dh(a,Oh(a,re),ut);if(gt){const Mt=P0(re);if(z.has(Mt)){const qt=z.get(Mt);z.set(Mt,{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(Mt,gt)}}return[...z.values()]}function cm(a,y){return a.model.selection.ranges.reduce((b,z)=>b.concat(...Sp(a,z,y)),[])}function T0(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function a0(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;
}
`,Uu=`.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);
}
`,uh=`#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);
}
`,jm=`/* 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;
}
`,dc=`/* 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);*/
}
`,ch=`.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));
}
`,Bf=`: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;
}
`,Rf=`.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;
}
`,ou;function df(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=Uu;break;case"mathfield":y=dm;break;case"environment-popover":y=uh;break;case"suggestion-popover":y=jm;break;case"keystroke-caption":y=dc;break;case"virtual-keyboard":y=ch;break;case"ui":y=Bf;break;case"menu":y=Rf;break;default:debugger}return y}function kA(a){return ou||(ou={}),ou[a]||(ou[a]=new CSSStyleSheet,ou[a].replaceSync(df(a))),ou[a]}var Sf;function ef(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(df(a))),window.document.head.appendChild(b);return}if(Sf||(Sf={}),((y=Sf[a])!=null?y:0)!==0)Sf[a]+=1;else{const b=kA(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],Sf[a]=1}}function x(a){if("adoptedStyleSheets"in document&&Sf!=null&&Sf[a]&&(Sf[a]-=1,Sf[a]<=0)){const y=ou[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var ee=class N1 extends Ei{constructor(y){var b;super(xe(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 N1(y)}toJson(){return xe(Ae({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const z=new Kl({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,Qc),tt;if(this.svgAccent)tt=BA(this.svgAccent),ye=z.metrics.bigOpSpacing1-ye;else if(this.accent){const gt=new Li(this.accent,{fontFamily:"Main-Regular"});gt.italic=0;const Mt=this.accent===8407?" ML__accent-vec":"";tt=new Li(new Li(gt),{classes:"ML__accent-body"+Mt})}tt=new Lu({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)*Gu),ye}function mt(a,y,b,z,re){var pe,ye;const tt=new Kl({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)*Gu),ut}function It(a,y,b,z,re){var pe;let ye,tt,ut,gt;ye=ut=gt=me(a),tt=null;let Mt="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,Mt="Size4-Regular"):a==="]"||a==="\\rbrack"?(ye=9124,ut=9125,gt=9126,Mt="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(ut=ye=9122,gt=9123,Mt="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(ye=9121,ut=gt=9122,Mt="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(ut=ye=9125,gt=9126,Mt="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(ye=9124,ut=gt=9125,Mt="Size4-Regular"):a==="("||a==="\\lparen"?(ye=9115,ut=9116,gt=9117,Mt="Size4-Regular"):a===")"||a==="\\rparen"?(ye=9118,ut=9119,gt=9120,Mt="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(ye=9127,tt=9128,gt=9129,ut=9130,Mt="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(ye=9131,tt=9132,gt=9133,ut=9130,Mt="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(ye=9127,gt=9129,ut=9130,Mt="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(ye=9131,gt=9133,ut=9130,Mt="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(ye=9127,gt=9133,ut=9130,Mt="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(ye=9131,gt=9129,ut=9130,Mt="Size4-Regular"):a==="\\surd"?(ye=57345,gt=9143,ut=57344,Mt="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=rd(ye,Mt),pn=qt.height+qt.depth,Vn=rd(ut,Mt),ar=Vn.height+Vn.depth,di=rd(gt,Mt),ja=di.height+di.depth;let oi=0,$i=1;if(tt!==null){const cn=rd(tt,Mt);oi=cn.height+cn.depth,$i=2}const Ya=pn+ja+oi,oa=Math.max(0,Math.ceil((y-Ya)/($i*ar))),zo=Ya+oa*$i*ar;let gs=Gu;b&&(gs=gs*z.scalingFactor);const is=zo/2-gs,we=.008,je=[];je.push({box:new Li(gt,{fontFamily:Mt})}),je.push(-we);const st=new Li(ut,{fontFamily:Mt});if(tt===null)for(let cn=0;cn<oa;cn++)je.push({box:st});else{for(let cn=0;cn<oa;cn++)je.push({box:st});je.push(-we),je.push({box:new Li(tt,{fontFamily:Mt})}),je.push(-we);for(let cn=0;cn<oa;cn++)je.push({box:st})}je.push(-we),je.push({box:new Li(ye,{fontFamily:Mt})});let Nt="";Mt==="Size1-Regular"?Nt=" delim-size1":Mt==="Size4-Regular"&&(Nt=" delim-size4");const rn=new Lu({bottom:is,children:je},{classes:Nt});return new Li(rn,xe(Ae({},re!=null?re:{}),{classes:((pe=re==null?void 0:re.classes)!=null?pe:"")+" ML__delim-mult"}))}var Ut=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"]),ir=[0,1.2,1.8,2.4,3];function Yr(a,y,b,z){return a===void 0||a==="."?Uo(b,z.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ut.has(a)||Zn.has(a)?mt(a,y,!1,b,z):Jt.has(a)?It(a,ir[y],!1,b,z):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var Qr=[{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}],Oi=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],ma=[{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 qa(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function bo(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=rd(a,qa(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(Rc[Math.max(1,z.size-2)],z.minFontScale):b[pe].mathstyle==="scriptstyle"&&(tt*=Math.max(Rc[Math.max(1,z.size-1)],z.minFontScale))),tt>y)return b[pe]}return b[b.length-1]}function _o(a,y,b,z,re,pe){if(!y||y.length===0||y===".")return Uo(re);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let ye;Zn.has(y)?ye=Qr:Ut.has(y)?ye=ma:ye=Oi;const tt=bo(me(y),b,ye,re),ut=new Kl({parent:re,mathstyle:tt.mathstyle},pe==null?void 0:pe.style);return tt.type==="small"?Ve(y,ut,z,xe(Ae({},pe),{type:a})):tt.type==="large"?mt(y,tt.size,z,ut,xe(Ae({},pe),{type:a})):(console.assert(tt.type==="stack"),It(y,b,z,ut,xe(Ae({},pe),{type:a})))}function po(a,y,b,z,re,pe){if(y===".")return Uo(re,pe==null?void 0:pe.classes);const ye=Gu*re.scalingFactor,tt=901,ut=5/Tc,gt=Math.max(b-ye,z+ye),Mt=Math.max(gt/500*tt,2*gt-ut);return _o(a,y,Mt,!0,re,pe)}function Uo(a,y){const b=new Li(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new Kl({parent:a,mathstyle:"textstyle"}))}var hs=class P1 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 P1(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{}"}},vs=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],Ns=["cases","dcases","rcases"],Hu=["align","align*","aligned","gather","gathered","split"],dd=["array","subequations","eqnarray"];function wc(a){return dd.concat(Hu).concat(Ns).concat(vs).includes(a)}function Id(a){return vs.includes(a)}function xd(a){return Ns.includes(a)}function ad(a){return Hu.includes(a)}function Hd(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 Mt=0;for(re=Math.max(re,Math.min(gt.length,z));Mt<gt.length;){const qt=[],pn=Math.min(gt.length,Mt+z);for(;Mt<pn;){const Vn=gt[Mt];Vn.length===0?qt.push([new Ei({type:"first",mode:a.mode})]):Vn[0].type!=="first"?qt.push([new Ei({type:"first",mode:a.mode}),...Vn]):(console.assert(!Vn.slice(1).some(ar=>ar.type==="first")),qt.push(Vn)),Mt+=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 Mt=gt.length;Mt<re;Mt++)gt.push([new Ei({type:"first",mode:a.mode}),new hs]);ye.push(gt)}let tt=0,ut=0;for(const gt of ye){ut=0;for(const Mt of gt){for(const qt of Mt)qt.parent=a,qt.parentBranch=[tt,ut];ut+=1}tt+=1}return a.isDirty=!0,ye}var $s=class T1 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=Hd(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 T1(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=xe(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(Mh(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return Mh(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(Cf(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 Kl({parent:y,mathstyle:this.mathstyleName},this.style),gt=ut.getRegisterAsEm("arrayrulewidth"),Mt=ut.getRegisterAsEm("arraycolsep"),qt=ut.getRegisterAsEm("doublerulesep"),pn=(z=(b=this.arraystretch)!=null?b:ut.getRegisterAsNumber("arraystretch"))!=null?z:1;let Vn=typeof this.arraycolsep=="number"?this.arraycolsep:Mt;this.colSeparationType==="small"&&(Vn=.2778*(new Kl({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const ar=pn*vA,di=.7*ar,ja=.3*ar;let oi=0;const $i=[];let Ya=0;const oa=this.array.length;for(let Pn=0;Pn<oa;++Pn){const Cr=this.array[Pn];Ya=Math.max(Ya,Cr.length);const ai=new Kl({parent:ut,mathstyle:this.mathstyleName},this.style);let $n=di/ai.scalingFactor,Kr=ja/ai.scalingFactor;const ri={cells:[],height:0,depth:0,pos:0};for(const Ai of Cr){const na=(re=Ei.createBox(ai,Ai,{type:"ignore"}))!=null?re:new Li(null,{type:"ignore"});Kr=Math.max(Kr,na.depth),$n=Math.max($n,na.height),ri.cells.push(na)}let Zi=(pe=XA(this.rowGaps[Pn]))!=null?pe:0;Zi>0&&(Zi+=ja,Kr=Math.max(Kr,Zi),Zi=0),Pn<oa-1&&!Id(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Kr+=ut.getRegisterAsEm("jot")),ri.height=$n,ri.depth=Kr,oi+=$n,ri.pos=oi,oi+=Kr+Zi,$i.push(ri)}const zo=oi/2+Gu,gs=[];for(let Pn=0;Pn<Ya;Pn++){const Cr=[];for(const ai of $i){const $n=ai.cells[Pn];$n.depth=ai.depth,$n.height=ai.height,Cr.push({box:$n,shift:ai.pos-zo})}Cr.length>0&&gs.push(new Lu({individualShift:Cr}))}const is=[];let we=!1,je=!1,st=0,Nt=!this.leftDelim;const{colFormat:rn}=this;for(const Pn of rn){if("align"in Pn&&st>=gs.length)break;if("align"in Pn)we?is.push(Xu(2*Vn)):(je||Nt)&&is.push(Xu(Vn)),is.push(new Li(gs[st],{classes:"col-align-"+Pn.align})),st++,we=!0,je=!1,Nt=!1;else if("gap"in Pn){if(typeof Pn.gap=="number")is.push(Xu(Pn.gap));else{const Cr=xc(y,$i,zo,Pn.gap);Cr&&is.push(Cr)}we=!1,je=!1,Nt=!1}else if("separator"in Pn){const Cr=new Li(null,{classes:"vertical-separator"});Cr.height=oi,Cr.setStyle("height",oi,"em"),Cr.setStyle("border-right",`${gt}em ${Pn.separator} currentColor`),Cr.setStyle("vertical-align",-(oi-zo),"em");let ai=0;je?ai=qt-gt:we&&(ai=Vn-gt),Cr.left=ai,is.push(Cr),we=!1,je=!0,Nt=!1}}we&&!this.rightDelim&&is.push(Xu(Vn));const ln=new Li(is,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(ln.caret=this.caret),this.bind(y,ln);const cn=ln.height,bn=ln.depth,Fn=this.bind(y,new Li([this.bind(y,po("open",(ye=this.leftDelim)!=null?ye:".",cn,bn,ut,{isSelected:this.isSelected})),ln,this.bind(y,po("close",(tt=this.rightDelim)!=null?tt:".",cn,bn,ut,{isSelected:this.isSelected}))],{type:"ord"}));return Fn?(Fn.setStyle("display","inline-block"),this.caret&&(Fn.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Fn}))):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}}`),fl(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(fo(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(fo(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,fo(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,fo(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 fo(a){const y=new Ei({type:"first",mode:a.mode});y.parent=a;const b=new hs;return b.parent=a,[y,b]}function Xu(a){const y=new Li(null,{classes:"arraycolsep"});return y.width=a,y}function xc(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 Lu({individualShift:re}).wrap(a)}var Mu=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 xe(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 Kl({parent:y},this.style),gt=ut.toEm((z=this.padding)!=null?z:{register:"fboxsep"}),Mt=new Li(null,{classes:"ML__box"});Mt.height=ye.height+gt,Mt.depth=ye.depth+gt,Mt.setStyle("box-sizing","border-box"),Mt.setStyle("position","absolute"),Mt.setStyle("top",-gt+.3,"em"),Mt.setStyle("left",0),Mt.setStyle("height",Mt.height+Mt.depth,"em"),Mt.setStyle("width","100%"),this.backgroundcolor&&Mt.setStyle("background-color",(re=ut.toColor(this.backgroundcolor))!=null?re:"transparent"),this.framecolor&&Mt.setStyle("border",`${ut.getRegisterAsEm("fboxrule",2)}em solid ${(pe=ut.toColor(this.framecolor))!=null?pe:"black"}`),this.border&&Mt.setStyle("border",this.border);const qt=new Li([Mt,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?fl([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},Nh=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""}},Dl=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}},Ul=class Q1 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 Q1(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=Zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},su=class j1 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 j1((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"?fl(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",re]):this.variant==="mleft...mright"?fl(["\\mleft",(z=this.leftDelim)!=null?z:".",this.bodyToLatex(y),"\\mright",re]):fl([!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 Kl({parent:y},this.style);console.assert(this.body!==void 0);const pe=new Kl({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,po("open",this.leftDelim,tt,ut,pe,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),ye&&(Cd(ye.children,this,re,tt,ut),gt.push(ye)),this.rightDelim){let Vn=this.containsCaret?" ML__contains-caret":"",ar=this.rightDelim;ar==="?"&&(re.smartFence?(ar=this.matchingRightDelim(),Vn+=" ML__smart-fence__close"):ar="."),gt.push(this.bind(pe,po("close",ar,tt,ut,pe,{isSelected:this.isSelected,classes:Vn+" ML__close",mode:this.mode,style:this.style})))}let Mt=this.variant==="mleft...mright";const qt=this.leftSibling;qt&&(!Mt&&qt.isFunction&&(Mt=!0),!Mt&&qt.type==="subsup"&&((z=qt.leftSibling)!=null&&z.isFunction)&&(Mt=!0));const pn=new Li(gt,{type:Mt?"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 Cd(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,po("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&&Cd(ye.children,y,b,z,re)}}var o0=class K1 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 K1(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}},Ps=class z1 extends Ei{constructor(){super({type:"macro-argument"})}static fromJson(y){return new z1}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},LA=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 Kl({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 Mt="";this.correctness==="incorrect"&&(Mt+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),Mt&&(gt.svgOverlay=Mt);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]"),Ru(re,z)}},fu=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 Kl({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 Kc(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var Uf=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 Kl&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new Kl({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:sA(this.tokens.slice(this.index,this.index+10)),after:sA(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 fu({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=Zt(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?od(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new hs({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();Kc(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(Kc(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()||!Kc(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=$e(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=Zt(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 Ul(y,this.parseMode,this.style);return b.verbatimLatex=sA(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 su("",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(!Kc(a)&&!a.startsWith("\\"))return null;this.next();const y=Zt(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 Dl("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new Dl("\\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 Dl(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 su(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(Kc(a)){const b=id.createAtom(this.parseMode,a,Ae({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=Zt(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new Dl(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 Dl(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 Mt=[],qt;!qt&&gt==="correct"?qt="correct":!qt&&gt==="incorrect"?qt="incorrect":gt!==""&&(Mt=ut);const pn=this.scanOptionalArgument("string")==="locked",Vn=this.scanArgument("auto");let ar;return Vn&&Array.isArray(Vn)&&Vn.length>0?ar=Vn:Vn&&typeof Vn=="object"&&"group"in Vn?ar=Vn.group:ar=Mt,tt?[new LA(tt,qt,pn,ar!=null?ar:Mt,{mode:this.parseMode,style:this.style})]:[new hs({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 Mt=fl([a,sA(this.tokens.slice(tt,this.index))]);return[new Ei({type:"text",value:"",verbatimLatex:Mt})]}}let re=this.scanMacro(a);if(re)return[re];const pe=Zt(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 Dl(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 Mt=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=Mt;const Vn=this.scanArgument(ut);return this.style=pn,this.parseMode=qt,Qt(Vn)}this.style=Mt}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=fl([a,sA(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(Kc(a)){const y=id.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 qA(" "," ",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=sA(this.tokens.slice(ut,this.index))}pe[ye]=tt}return new o0(a,{expand:b.expand,captureSelection:b.captureSelection,args:z===this.index?null:sA(this.tokens.slice(z,this.index)),style:this.parsingContext.style,body:od(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 od(a,y){var b,z,re,pe;const ye=(b=y==null?void 0:y.args)!=null?b:void 0,tt=new Uf(xA(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 Uf(xA(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 Km=class V1 extends Ei{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const z=Ac.go(wa.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=od(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 xe(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}};St(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new Km(a.command,(y=a.args[0])!=null?y:"")}});var wa={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=wa.stateMachines[y],ut=tt.transitions[b]||tt.transitions["*"];e:for(var gt=0;gt<ut.length;gt++){var Mt=wa.patterns.match_(ut[gt].pattern,a);if(Mt){for(var qt=ut[gt].task,pn=0;pn<qt.action_.length;pn++){var Vn;if(tt.actions[qt.action_[pn].type_])Vn=tt.actions[qt.action_[pn].type_](z,Mt.match_,qt.action_[pn].option);else if(wa.actions[qt.action_[pn].type_])Vn=wa.actions[qt.action_[pn].type_](z,Mt.match_,qt.action_[pn].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+qt.action_[pn].type_+")"];wa.concatArray(ye,Vn)}if(b=qt.nextState||b,a.length>0){if(qt.revisit||(a=Mt.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=wa.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 wa.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return wa.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return wa.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return wa.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return wa.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return wa.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return wa.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return wa.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return wa.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return wa.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return wa.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return wa.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return wa.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 wa.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return wa.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return wa.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return wa.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 wa.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return wa.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return wa.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return wa.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return wa.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return wa.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return wa.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return wa.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=wa.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 Mt=function(oi,$i){if(typeof $i=="string")return oi.indexOf($i)!==0?null:$i;var Ya=oi.match($i);return Ya?Ya[0]:null},qt=function(oi,$i,Ya){for(var oa=0;$i<oi.length;){var zo=oi.charAt($i),gs=Mt(oi.substr($i),Ya);if(gs!==null&&oa===0)return{endMatchBegin:$i,endMatchEnd:$i+gs.length};if(zo==="{")oa++;else if(zo==="}"){if(oa===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];oa--}$i++}return oa>0,null},pn=Mt(a,y);if(pn===null||(a=a.substr(pn.length),pn=Mt(a,b),pn===null))return null;var Vn=qt(a,pn.length,z||re);if(Vn===null)return null;var ar=a.substring(0,z?Vn.endMatchEnd:Vn.endMatchBegin);if(pe||ye){var di=this.findObserveGroups(a.substr(Vn.endMatchEnd),pe,ye,tt,ut);if(di===null)return null;var ja=[ar,di.match_];return{match_:gt?ja.join(""):ja,remainder:di.remainder}}else return{match_:ar,remainder:a.substr(Vn.endMatchEnd)}},match_:function(a,y){var b=wa.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return wa.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 wa.go(y,"text")},"{text}":function(a,y){var b=["{"];return wa.concatArray(b,wa.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return wa.go(y,"tex-math")},"tex-math tight":function(a,y){return wa.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 wa.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 wa.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 Mt in pe)pe[Mt].push({pattern:ut[gt],task:ye});else pe[z[re]].push({pattern:ut[gt],task:ye})}return pe},stateMachines:{}};wa.stateMachines={ce:{transitions:wa.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 wa.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 wa.concatArray(b,this.output(a)),wa.concatArray(b,wa.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var z=wa.patterns.match_("orbital",a.o||""),re=wa.patterns.match_("one lowercase greek letter $",a.o||""),pe=wa.patterns.match_("one lowercase latin letter $",a.o||""),ye=wa.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?(wa.concatArray(ut,this.output(a)),ut.push({type_:"hyphen"})):(z=wa.patterns.match_("digits",a.d||""),b&&z&&z.remainder===""?(wa.concatArray(ut,wa.actions["d="](a,y)),wa.concatArray(ut,this.output(a))):(wa.concatArray(ut,this.output(a)),wa.concatArray(ut,wa.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:wa.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"&&wa.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:wa.go(a.a,"a"),b:wa.go(a.b,"bd"),p:wa.go(a.p,"pq"),o:wa.go(a.o,"o"),q:wa.go(a.q,"pq"),d:wa.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var re;a.rdt==="M"?re=wa.go(a.rd,"tex-math"):a.rdt==="T"?re=[{type_:"text",p1:a.rd||""}]:re=wa.go(a.rd);var pe;a.rqt==="M"?pe=wa.go(a.rq,"tex-math"):a.rqt==="T"?pe=[{type_:"text",p1:a.rq||""}]:pe=wa.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 wa.concatArray(b,wa.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:wa.go(y[0]),p2:wa.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:wa.go(y[0]),p2:wa.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:wa.go(y[0]),p2:wa.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:wa.go(y[0]),p2:wa.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:wa.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:wa.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:wa.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:wa.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:wa.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:wa.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:wa.go(y[1],"pq")}}}},bd:{transitions:wa.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:wa.go(y[1],"bd")}}}},oxidation:{transitions:wa.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:wa.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:wa.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:wa.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:wa.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]&&(wa.concatArray(b,wa.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?wa.concatArray(b,wa.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]),wa.concatArray(b,wa.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=wa.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var z=wa.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:wa.go(a.d,"pu"),q:wa.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_:"/"}),wa.concatArray(y,re.q))}else y=wa.go(a.d,"pu-2");for(var pe in a)delete a[pe];return y}}},"pu-2":{transitions:wa.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=wa.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=wa.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var z in a)delete a[z];return y}}},"pu-9,9":{transitions:wa.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 Ac={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+=Ac._go2(pe),pe.type_==="1st-level escape"&&(z=!0))}return!y&&!z&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&Ac.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:Ac._goInner(a.a),b:Ac._goInner(a.b),p:Ac._goInner(a.p),o:Ac._goInner(a.o),q:Ac._goInner(a.q),d:Ac._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 "+Ac._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+Ac._goInner(a.p1);break;case"bond":if(y=Ac._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{"+Ac._goInner(a.p1)+"}{"+Ac._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+re+"}{"+re+"}{"+re+"}{"+re+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+Ac._goInner(a.p1)+"}{"+Ac._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+Ac._goInner(a.p1)+"}{"+Ac._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+Ac._goInner(a.p1)+"}{"+Ac._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+Ac._goInner(a.p1)+"}_{"+Ac._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+Ac._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var pe={rd:Ac._goInner(a.rd),rq:Ac._goInner(a.rq)},ye=Ac._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=Ac._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 lA=class G1 extends Ei{constructor(y){super(xe(Ae({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new G1(y)}toJson(){return xe(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=Zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Ru(this.command,this.value)}},Gd=class Y1 extends Ei{constructor(y){super(xe(Ae({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Y1(y)}toJson(){return xe(Ae({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=Yr(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=Zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):Ru(this.command,this.value)}},Ld=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 xe(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=Zt(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 Ru(re,this.bodyToLatex(y))}render(y){const b=new Kl({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 ar=.03*Math.sqrt(ut*ut+tt*tt)*1,di=z.width*ar,ja=(z.depth+z.height)*ar,oi=pe+z.width;let $i=pe;$i+ja-.4*di<0&&($i=.4*di-ja),gt+='<polygon points="',gt+=`${oi},${$i} ${oi-di-.4*ja},${$i+ja-.4*di} `,gt+=`${oi-.7*di},${$i+.7*ja} ${oi-di+.4*ja},${$i+ja+.4*di} `,gt+=`${oi},${$i}`,gt+=`" stroke='none' fill="${this.strokeColor}"`,gt+="/>"}let Mt=0;if(this.notation.phasorangle){const pn=tf(b),Vn=(z.height+z.depth+2*pn+pe).toString(),ar=(z.height+z.depth)/2;gt+=this.line(pe.toString(),Vn,(pe+ar+z.width).toString(),Vn),gt+=this.line(pe.toString(),Vn,(pe+ar).toString(),(pe-pn).toString()),tt+=pn,Mt=ar,z.left+=tt/2-pe}if(this.notation.longdiv){const pn=tf(b);tt+=pn,gt+=this.line(pe.toString(),pe.toString(),(pe+z.width).toString(),pe.toString());const Vn=.3;Mt=Vn+pn,z.left+=Vn+pn,z.setTop(pe+pn),gt+='<path d="',gt+=`M ${pe} ${pe} a${Vn} ${(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+Mt,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="${Qd(y)}" y1="${Qd(b)}" x2="${Qd(z)}" y2="${Qd(re)}" vector-effect="non-scaling-stroke"></line>`}};function Qd(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 tf(a){const y=a.isDisplayStyle?Qc:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var R0=class J1 extends Ei{constructor(y,b,z){var re,pe;super(xe(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 Kl({parent:y,mathstyle:this.mathstyleName},this.style),pe=re.metrics,ye=new Kl({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 Kl({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"}),Mt=this.hasBarLine?pe.defaultRuleThickness:0;let qt,pn=0,Vn;re.isDisplayStyle?(qt=ye.metrics.num1,pn=Mt>0?3*Mt:7*Mt,Vn=ut.metrics.denom1):(Mt>0?(qt=ye.metrics.num2,pn=Mt):(qt=ye.metrics.num3,pn=3*pe.defaultRuleThickness),Vn=ut.metrics.denom2);const ar=[];this.isSelected&&ar.push("ML__selected");const di=tt.depth,ja=gt.height;let oi;if(Mt<=0){const is=qt-di-(ja-Vn);is<pn&&(qt+=(pn-is)/2,Vn+=(pn-is)/2),oi=new Lu({individualShift:[{box:tt,shift:-qt,classes:[...ar,"ML__center"]},{box:gt,shift:Vn,classes:[...ar,"ML__center"]}]}).wrap(re)}else{const is=new Li(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});is.softWidth=Math.max(tt.width,gt.width),is.height=Mt/2,is.depth=Mt/2;const we=Gu+Mt/2;qt<pn+di+we&&(qt=pn+di+we);const je=Gu-Mt/2;Vn<pn+ja-je&&(Vn=pn+ja-je),oi=new Lu({individualShift:[{box:gt,shift:Vn,classes:[...ar,"ML__center"]},{box:is,shift:-je,classes:ar},{box:tt,shift:-qt,classes:[...ar,"ML__center"]}]}).wrap(re)}const $i=re.isDisplayStyle?pe.delim1:pe.delim2,Ya=this.leftDelim?this.bind(y,_o("open",this.leftDelim,$i,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Uo(re,"open");let oa=null;this.continuousFraction?oa=new Li(null,{type:"close"}):this.rightDelim?oa=this.bind(y,_o("close",this.rightDelim,$i,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):oa=Uo(re,"close");const zo=new Li([Ya,oi,oa],{isTight:re.isTight,type:"inner",classes:"mfrac"}),gs=this.bind(y,zo);return this.caret&&(gs.caret=this.caret),this.attachSupsub(y,{base:gs})}},Ad=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}},U0=class $1 extends Ei{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new Ad(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:""}},zm=class ey extends Ei{constructor(y,b){super(xe(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-Gu*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=Zt(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)),fl(z)}},_A=class ty extends Ei{constructor(y){const b=y.body;super(xe(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}},jd=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?BA(this.svgBody):Ei.createBox(y,this.body,{type:"ignore"});const z=new Kl({parent:y,mathstyle:"scriptstyle"},this.style);let re=null;this.svgAbove?re=BA(this.svgAbove):this.above&&(re=Ei.createBox(z,this.above,{type:"ignore"}));let pe=null;this.svgBelow?pe=BA(this.svgBelow):this.below&&(pe=Ei.createBox(z,this.below,{type:"ignore"})),this.paddedBody&&(b=new Li([Uo(y,"open"),b,Uo(y,"close")],{type:"ignore"}));let ye=Ep(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 Ep(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 Lu({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 Lu({top:re.height-pe,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:ye},{box:re,classes:["ML__center"]}]}):y.above&&(z=new Lu({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 dh=class ry extends Ei{constructor(y){var b,z,re,pe;super(xe(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 Kl({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 Lu({firstBaseline:[{box:z}]},{type:z.type}).wrap(y)}},DA=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=Zt(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}{${Mc(this.width)}}`:`${re}${Mc(this.width)}`}},Wm=class ay extends Ei{constructor(y){var b;super(xe(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(xe(Ae({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Zt(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")?Ru(`${z}[${this.aboveToLatex(y)}]`,re):/^[0-9]$/.test(re)?`${z}${re}`:Ru(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 Kl({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?Qc: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 Kl({parent:y},this.style),Vn=this.bind(pn,new Li(_o("inner","\\surd",qt,!1,pn,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!Vn)return null;const ar=Vn.height+Vn.depth-ye;ar>re.height+re.depth+gt&&(gt=(gt+ar-(re.height+re.depth))/2),Vn.setTop(Vn.height-re.height-gt);const di=this.bind(y,new Lu({firstBaseline:[{box:new Li(re)},gt-2*ye,{box:ut},ye]})),ja=Ei.createBox(new Kl({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!ja){const Ya=new Li([Vn,di],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return Ya.setStyle("display","inline-block"),Ya.setStyle("height",Ya.height+Ya.depth,"em"),this.caret&&(Ya.caret=this.caret),this.bind(y,Ya)}const oi=new Lu({shift:-.6*(Math.max(Vn.height,di.height)-Math.max(Vn.depth,di.depth)),children:[{box:ja}]}),$i=new Li([new Li(oi,{classes:"ML__sqrt-index",type:"ignore"}),Vn,di],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return $i.height=Vn.height,$i.depth=Vn.depth,this.caret&&($i.caret=this.caret),this.bind(y,$i)}},Fp=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 up(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"){up(a.parent,y);return}z>0&&b[z-1].type==="skip"?b[z-1].width+=y:b.splice(z,0,new Fp(y))}var s0={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}},l0={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function _s(a){H0(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 Uc(a,y){if(!a.children)return a;const b=a.children;_s(b);const z=y.getRegisterAsEm("thinmuskip"),re=y.getRegisterAsEm("medmuskip"),pe=y.getRegisterAsEm("thickmuskip");return H0(b,(ye,tt)=>{var ut,gt,Mt;if(!ye)return;const qt=ye.type,pn=tt.isTight?(ut=l0[qt])!=null?ut:null:(gt=s0[qt])!=null?gt:null,Vn=(Mt=pn==null?void 0:pn[tt.type])!=null?Mt:null;Vn===3&&up(tt,z),Vn===4&&up(tt,re),Vn===5&&up(tt,pe)}),a}function H0(a,y,b=void 0){if(!a)return b;a=[...a];for(const z of a)z.type==="lift"?b=H0(z.children,y,b):z.type==="ignore"?H0(z.children,y):(y(b,z),H0(z.children,y),b=z);return b}var Th=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(xe(Ae({},y),{tooltip:rl(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 xe(Ae({},super.toJson()),{tooltip:b})}render(y){const b=Ei.createBox(new Kl,this.body);if(!b)return null;const z=new Kl({parent:y,mathstyle:"displaystyle"},{fontSize:Iu}),re=Fh(Uc(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)}},Ef=class sy extends Ei{constructor(y,b){super(xe(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=Zt(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)),fl(z)}};function rl(a){if(Be(a))return a.map(z=>rl(z));if(typeof a=="string")return Ei.fromJson(a);a=Ae({},a);for(const z of _h)a[z]&&(a[z]=rl(a[z]));a.args&&(a.args=u0(a.args)),a.array&&(a.array=rl(a.array));const y=a.type;let b;y==="accent"&&(b=ee.fromJson(a)),y==="array"&&(b=$s.fromJson(a)),y==="box"&&(b=Mu.fromJson(a)),y==="chem"&&(b=Km.fromJson(a)),y==="composition"&&(b=Nh.fromJson(a)),y==="delim"&&(b=lA.fromJson(a)),y==="enclose"&&(b=Ld.fromJson(a)),y==="error"&&(b=Dl.fromJson(a)),y==="extensible-symbol"&&(b=zm.fromJson(a)),y==="genfrac"&&(b=R0.fromJson(a)),y==="group"&&(b=Ul.fromJson(a)),y==="latex"&&(b=Ad.fromJson(a)),y==="latexgroup"&&(b=U0.fromJson(a)),y==="leftright"&&(b=su.fromJson(a)),y==="macro"&&(b=o0.fromJson(a)),y==="macro-argument"&&(b=Ps.fromJson(a)),y==="operator"&&(b=Ef.fromJson(a)),y==="overlap"&&(b=_A.fromJson(a)),y==="overunder"&&(b=jd.fromJson(a)),y==="placeholder"&&(b=hs.fromJson(a)),y==="prompt"&&(b=LA.fromJson(a)),y==="phantom"&&(b=dh.fromJson(a)),y==="sizeddelim"&&(b=Gd.fromJson(a)),y==="spacing"&&(b=DA.fromJson(a)),y==="subsup"&&(b=fu.fromJson(a)),y==="surd"&&(b=Wm.fromJson(a)),y==="text"&&(b=qA.fromJson(a)),y==="tooltip"&&(b=Th.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 u0(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>rl(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>rl(b)):y)}var OA={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]$/},Hf=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,Qg=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,jg=[/^[a-z]$/,/^[A-Z]$/,Hf,Qg],Kg={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},Bd=class extends id{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,xe(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&&jg.forEach((tt,ut)=>{var gt;tt.test(a.value)&&Kg[(gt=y.letterShapeStyle)!=null?gt:"tex"][ut]==="it"&&(z="italic")}),z==="up"&&(z=void 0);const re=z?b+"-"+z:b;console.assert(OA[re]!==void 0);const[pe,ye]=OA[re];return pm[b]&&!pm[b].test(a.value)?(a.value=Xt(a.value,b,z),null):(Hf.test(a.value)&&(a.classes+=" lcGreek"),ye&&(a.classes+=" "+ye),pe)}};function Ee(a,y){const{parent:b}=a[0],z=be(b);return cc(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=fl(re.map(ut=>ut._serialize(y)));return ye?Ru(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 Bd;function De(a,y){return a.map(b=>b._serialize(y))}function Ie(a,y){return cc(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?`{${Ru("\\fontshape",re)}${fl(z)}}`:pe?Ru(pe,fl(z)):fl(z)})}function yt(a,y){return cc(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?`{${Ru("\\fontseries",re)}${fl(z)}}`:pe?Ru(pe,fl(z)):fl(z)})}function zt(a,y){return cc(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} ${fl(pe)}`:fl(pe)})}function un(a,y,b){return cc(a,"fontFamily").map(z=>{var re,pe;const ye=zt(z,y),tt=(pe={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(re=z[0].style.fontFamily)!=null?re:""])!=null?pe:"";return tt?`\\${tt}{${fl(ye)}}`:z[0].style.fontFamily?`{\\fontfamily{${z[0].style.fontFamily}} ${fl(ye)}}`:b?`\\text{${fl(ye)}}`:fl(ye)})}var Un={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Hn=class extends id{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new qA(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return un(a,xe(Ae({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,z,re,pe,ye;const{fontFamily:tt}=y;if(Un[tt]?a.classes+=" "+Un[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 Hn;var Hr=class extends id{constructor(){super("latex")}createAtom(a){return new Ad(a)}serialize(a,y){return a.filter(b=>b instanceof Ad&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Hr;var Gr={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:["","=","","="]}},ti={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:["","=","","="]}},Xi={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:["\\","|","",""]}},ts={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:[")",")",")",")"]}},io={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:["=","=","=","="]}},Do={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:["<",">","",""]}},Bl={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"]}},As={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:["=","=","=","="]}},us={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:["<",">","|",""]}},sl={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:[".",".",".","."]}},Hl={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"]}},Xs={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:["<",">","",""]}},Go={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 lu(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 Il(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 ll={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]"},Eo=[],Yd;function NA(){switch(Pe()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function $l(a){(!a.platform||a.platform===NA())&&Eo.push(a)}function Xd(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=ll[a])!=null?b:"",z}function Rh(a){if(a.code)return a;const y=Object.entries(Qf().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,xe(Ae({},a),{altKey:b,shiftKey:z,code:re}))}function MA(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 Eo)((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);Eo.sort((re,pe)=>pe.score-re.score)}function PA(a){Yd=Eo.find(y=>a.startsWith(y.locale))}function Qf(){return Yd!=null?Yd:Eo[0]}function Ff(){switch(NA()){case"apple":return ti;case"windows":return Xi;case"linux":return ts}return ti}switch(NA()){case"apple":$l(ti),$l(io),$l(Hl),$l(As);break;case"windows":$l(Xi),$l(Do),$l(Xs),$l(us);break;case"linux":$l(ts),$l(Bl),$l(Go),$l(sl);break}$l(Gr);function jf(a){var y;const b=/macos|ios/.test(Pe()),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 Ah(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 nf(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 fh(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 c0=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 kf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:c0.has(a.code)}function Uh(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var uA=class im{static get scrim(){return im._scrim||(im._scrim=new im),im._scrim}static open(y){im.scrim.open(y)}static close(){im.scrim.close()}static get state(){return im.scrim.state}static get element(){return im.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=Uh();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:"",Uh()!==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",Mt=>{if(pe||Mt.key==="Process"||Mt.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(Mt.code)){z=null;return}z=Mt,re=null,b.onKeystroke(Mt)?a.textContent="":z=null},{capture:!0,signal:gt}),a.addEventListener("keypress",Mt=>{pe||(z&&re&&b.onKeystroke(z),re=Mt)},{capture:!0,signal:gt}),a.addEventListener("compositionstart",Mt=>{a.textContent="",pe=!0,b.onCompositionStart(Mt.data)},{capture:!0,signal:gt}),a.addEventListener("compositionupdate",Mt=>{pe&&b.onCompositionUpdate(Mt.data)},{capture:!0,signal:gt}),a.addEventListener("compositionend",Mt=>{a.textContent="",pe&&(pe=!1,b.onCompositionEnd(Mt.data))},{capture:!0,signal:gt}),a.addEventListener("beforeinput",Mt=>Mt.stopImmediatePropagation(),{signal:gt}),a.addEventListener("input",Mt=>{var qt;if(!pe&&(a.textContent="",Mt.inputType!=="insertCompositionText")){if(Mt.inputType==="insertFromPaste"){Mt.preventDefault(),Mt.stopPropagation();return}b.onInput((qt=Mt.data)!=null?qt:""),Mt.preventDefault(),Mt.stopPropagation()}},{signal:gt}),a.addEventListener("paste",Mt=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(Mt)||Mt.preventDefault(),Mt.stopImmediatePropagation()},{signal:gt}),a.addEventListener("cut",Mt=>b.onCut(Mt),{capture:!0,signal:gt}),a.addEventListener("copy",Mt=>b.onCopy(Mt),{capture:!0,signal:gt}),a.addEventListener("blur",Mt=>{var qt,pn;if(((pn=(qt=Mt.relatedTarget)==null?void 0:qt._mathfield)==null?void 0:pn.element)===y){a.focus({preventScroll:!0}),Mt.preventDefault(),Mt.stopPropagation();return}const Vn=uA.state;if(Vn==="open"||Vn==="opening"){Mt.preventDefault(),Mt.stopPropagation();return}if(Mt.relatedTarget===Mt.target.getRootNode().host){Mt.preventDefault(),Mt.stopPropagation();return}tt||ye||(tt=!0,z=null,re=null,b.onBlur(),tt=!1)},{capture:!0,signal:gt}),a.addEventListener("focus",Mt=>{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:()=>Uh()===a,setAriaLabel:Mt=>a.setAttribute("aria-label",Mt),setValue:Mt=>{var qt;a.textContent=Mt,a.style.left="-1000px",(qt=window.getSelection())==null||qt.selectAllChildren(a)},moveTo:(Mt,qt)=>{a.style.top=`${qt}px`,a.style.left=`${Mt}px`}}}function kp(a){var y;if(!a||!kf(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=Rh(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(Ne()){const y=Pe(),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=Il(lu(_p(b))),re=Il({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(Pe()),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 zg(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=lp[y];Be(pe)?b=pe.slice():pe&&b.push(pe)}const z=zg(y),re=new RegExp("^"+z.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const pe of a)re.test(zg(pe.command))&&b.push(pe.key);return b.map(jf)}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=lu(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=Pe()==="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 xe(Ae({},a),{key:Il(b)});const re=Xd(b.key,y);if(!re)return xe(Ae({},a),{key:Il(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 ${Il(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,xe(Ae({},a),{key:Il(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 Us{constructor(){super("latex")}createAtom(a){return new Ad(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"}),sd(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(ed(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 Ad(ut));let ye=a.at(a.position);if(ye instanceof U0&&(ye=ye.lastChild),!(ye.parent instanceof U0)){const ut=new U0("");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 Ad&&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 Ad&&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 Mt of mm(z))Mt.isError=!1;if(!z.selectionIsCollapsed||a.options.popoverPolicy==="off"){rf(a);return}const re=[];let pe=z.at(z.position);for(;pe&&pe instanceof Ad&&/^[a-zA-Z\*]$/.test(pe.value);)pe=pe.leftSibling;if(pe&&pe instanceof Ad&&pe.value==="\\")for(re.push(pe),pe=pe.rightSibling;pe&&pe instanceof Ad&&/^[a-zA-Z\*]$/.test(pe.value);)re.push(pe),pe=pe.rightSibling;const ye=re.map(Mt=>Mt.value).join(""),tt=lt(a,ye);if(tt.length===0){if(/^\\[a-zA-Z\*]+$/.test(ye))for(const Mt of re)Mt.isError=!0;rf(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 Mt=re[re.length-1];Mt.parent.addChildrenAfter([...gt.slice(ye.length-gt.length)].map(qt=>new Ad(qt,{isSuggestion:!0})),Mt),Ip(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 Mp(a,y="accept",b){var z,re;rf(a);const pe=gv(a.model);if(!pe)return!1;if(y==="accept-suggestion"||y==="accept-all"){const gt=mm(a.model).filter(Mt=>Mt.isSuggestion);if(gt.length!==0){for(const Mt of gt)Mt.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"||(Us.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 Kl({from:a.context}),z=new Ei({mode:"math",type:"root",body:od(y,{context:b})}),re=Fh(Uc(new Li(z.render(b),{classes:"ML__base"}),b));return t0(re,{classes:"ML__latex"}).toMarkup()}function Gg(a,y){var b;if(y.length===0){rf(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=cp(a,`<ul>${z}</ul>`);Kf()&&((b=re.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var pe;re&&!Kf()&&(re.classList.add("is-visible"),Gm(a),(pe=re.querySelector(".ML__popover__current"))==null||pe.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function Kf(){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||!Kf())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){rf(a);return}if(y!=null&&y.deferred){setTimeout(()=>Gm(a),32);return}const z=Tf(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 Mt=z.y-z.height;re-tt-ut-z.y<Mt?(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 rf(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function cp(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Vm("mathlive-suggestion-popover"),ef("suggestion-popover"),ef("core"),b.addEventListener("pointerdown",z=>z.preventDefault()),b.addEventListener("click",z=>{let re=z.target;for(;re&&!re.dataset.command;)re=re.parentElement;re&&(Mp(a,"reject"),Us.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 Wf="not-loaded";function Jv(){return Um(this,null,function*(){return Wf="not-loaded",yg()})}function yg(){return Um(this,null,function*(){var a;if(Wf!=="not-loaded")return;if(Wf="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Wf="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))){Wf="ready";return}if(!window.MathfieldElement.fontsDirectory){Wf="not-loaded";return}const re=yield bv(window.MathfieldElement.fontsDirectory);if(!re){document.body.classList.add("ML__fonts-did-not-load"),Wf="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)),Wf="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")}Wf="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 sd(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{IA(a)&&a.dirty&&(a.atomBoundsCache=new Map,Ip(a,y),a.atomBoundsCache=void 0)})))}function wv(a,y){var b;y=y!=null?y:{};const z=new Kl({from:xe(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 t0(Uc(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 Ip(a,y){if(!IA(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">${pd(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)&&Wf!=="error"&&Wf!=="ready"&&setTimeout(()=>{Wf==="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=Dh(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]=xe(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 ce(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&&sd(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:Mp},{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 At(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===ot}var Ft=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(At(y)){if(!T0(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;ce(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"}]},Bt;function zn(a,y){var b,z,re;const pe=Ni.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"&&!xn(tt)||Array.isArray(tt)&&tt.length===0){y==null||y();return}const ut={};let gt="";for(const di of Lr(tt)){const ja=Ta(di),oi=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);ut[oi]=ja;const[$i,Ya]=Wi(ja);gt+=`<div id=${oi} class="item ${Ya}">${$i}</div>`}const Mt=document.createElement("div");Mt.setAttribute("aria-hidden","true"),Mt.className="MLK__variant-panel",Mt.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),Mt.style.width=`calc(var(--variant-keycap-length) * ${pn} + 12px)`,Mt.innerHTML=Lv.createHTML(gt),uA.open({root:(re=pe==null?void 0:pe.container)==null?void 0:re.querySelector(".ML__keyboard"),child:Mt}),Bt=new AbortController;const{signal:Vn}=Bt,ar=a==null?void 0:a.getBoundingClientRect();if(ar){ar.top-Mt.clientHeight<0&&(Mt.style.width="auto",qt<=6?Mt.style.height="56px":qt<=12?Mt.style.height="108px":qt<=18?Mt.style.height="205px":Mt.classList.add("compact"));const di=Math.max(0,Math.min(window.innerWidth-Mt.offsetWidth,(ar.left+ar.right-Mt.offsetWidth)/2)),ja=ar.top-Mt.clientHeight+5;Mt.style.transform=`translate(${di}px, ${ja}px)`,Mt.classList.add("is-visible"),requestAnimationFrame(()=>{Mt.addEventListener("pointerup",oi=>{const $i=pi(oi.target);!($i!=null&&$i.id)||!ut[$i.id]||(Nr(ut[$i.id]),Nn(),y==null||y(),oi.preventDefault())},{capture:!0,passive:!1,signal:Vn}),Mt.addEventListener("pointerenter",oi=>{const $i=pi(oi.target);!($i!=null&&$i.id)||!ut[$i.id]||$i.classList.add("is-active")},{capture:!0,signal:Vn}),Mt.addEventListener("pointerleave",oi=>{const $i=pi(oi.target);!($i!=null&&$i.id)||!ut[$i.id]||$i.classList.remove("is-active")},{capture:!0,signal:Vn}),window.addEventListener("pointercancel",()=>{Nn(),y==null||y()},{signal:Vn}),window.addEventListener("pointerup",()=>{Nn(),y==null||y()},{signal:Vn})})}}function Nn(){Bt==null||Bt.abort(),Bt=null,uA.state==="open"&&uA.close()}function Yn(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(et))y.push({class:"swatch-button",label:'<span style="background:'+et[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function xn(a){return sn[a]!==void 0}function Lr(a){var y;return typeof a!="string"?a:(sn[a]||(sn[a]=(y=Yn(a))!=null?y:[]),sn[a])}function xr(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function sr(a){return Object.keys(a).map(y=>`${y} {${xr(a[y])}}`).join("")}function wi(a){if(!a)return"";const y=new Kl,b=new Ei({mode:"math",type:"root",body:od(a,{context:y,args:re=>re==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),z=Fh(Uc(new Li(b.render(y),{classes:"ML__base"}),y));return t0(z,{classes:"ML__latex"}).toMarkup()}function qi(a){var y;if(Array.isArray(a))return a.map(z=>qi(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=>Ta(re)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function Qi(){var a,y;let z=window.mathVirtualKeyboard.alphabeticLayout;if(z==="auto"){const tt=Qf();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"}[ze.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:xn(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:qi({rows:ye})}}function zr(a){if(a==="alphabetic")return Qi();if(typeof a=="string")return console.assert(en[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),zr(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=Ke(re,["rows"]);y=xe(Ae({},ye),{layers:qi({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const re=a,{markup:pe}=re,ye=Ke(re,["markup"]);y=xe(Ae({},ye),{layers:qi(a.markup)})}else y=Ae({},a),"layers"in a?y.layers=qi(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()){Di(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 ur(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)qn(y)}function qn(a){const y=Ni.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]=Wi(b);a.innerHTML=window.MathfieldElement.createHTML(z)}}function Mr(){ef("virtual-keyboard"),ef("core"),yg()}function Br(){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 Ui(a){a.resetKeycapRegistry(),Mr();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)=>Gi(a,ye,tt)).join(""));const z=document.createElement("div");z.className="MLK__backdrop",z.appendChild(b),y.appendChild(z),y.addEventListener("pointerdown",or,{passive:!1});const re=y.querySelectorAll(".ML__edit-toolbar");if(re)for(const ye of re)ye.addEventListener("click",tt=>{var ut,gt;let Mt=tt.target,qt="";for(;Mt&&!qt;)qt=(ut=Mt==null?void 0:Mt.getAttribute("data-command"))!=null?ut:"",Mt=(gt=Mt==null?void 0:Mt.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 Gi(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(ur(a,b)),y.displayEditToolbar&&z.push('<div class="ML__edit-toolbar right"></div>'),z.push("</div>")),z.push(xi(a,re)),z.push("</div>");return z.join("")}function xi(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>${sr(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]=Wi(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 Wi(a,y={shifted:!1}){var b,z,re,pe,ye,tt,ut;let gt="",Mt=(b=a.class)!=null?b:"";if(y.shifted&&Di(a)&&(Mt+=" 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"&&(Mt=(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(Mt)&&(Mt+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(Mt)||(Mt+=" MLK__keycap"),!/\bw[0-9]+\b/.test(Mt)&&a.width&&(Mt+=(ut={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?ut:""),[gt,Mt||"MLK__keycap"]}var mo={"[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 Ta(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!mo[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&mo[a.label]&&(b=xe(Ae(Ae({},mo[a.label]),a),{label:mo[a.label].label})),"key"in a&&a.key&&mo[a.key]&&(b=xe(Ae(Ae({},mo[a.key]),a),{key:mo[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 or(a){var y;if(a.button!==0)return;const b=Ni.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",pr(ye),{capture:!0,signal:tt}),re.addEventListener("pointerleave",pr(ye),{capture:!0,signal:tt}),re.addEventListener("pointercancel",pr(ye),{signal:tt}),re.addEventListener("pointerup",pr(ye),{signal:tt}),Di(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),zn(re,()=>{ye.abort(),re==null||re.classList.remove("is-active")}))},300)),a.preventDefault()}function pr(a){return y=>{const b=pi(y.target);if(!(b!=null&&b.id))return;const z=Ni.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"),Di(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"),Di(re)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted));return}if(y.type==="pointerup"){hn&&clearTimeout(hn),Di(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"}]):Nr(re.shift):Nr(re),z.shiftPressCount===1&&!y.shiftKey&&(z.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Nr(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=Ni.singleton)==null||y.executeCommand(b)}function Xr(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&&!Xr(y);)y=y.parentElement;return y!=null?y:void 0}function Di(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var Ni=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=ba();ye&&!ye.readOnly&&ye.mathVirtualKeyboardPolicy==="auto"&&Qe()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",re=>{re.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{ba()||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=>zr(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]=Wi(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}),Nn(),Br(),(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=Ui(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&zn(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(At(y)){if(!T0(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=ce(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=ce(y);return Be(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),re=ce(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 ba(){var a,y;let b=Uh(),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(Ne()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=Ni.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>Ft.singleton,configurable:!0});function co(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=Ni.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>pe})}re="manual"}y.mathVirtualKeyboardPolicy=re;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?ze.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 Ho(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 Ko(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:Ct,backgroundColorMap:Xe,letterShapeStyle:ze.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:Cp,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:Qm,value:""}}function zs(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function Wn(a,y){!a||!y||(Be(a)?a.forEach(b=>Wn(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),Wn(a.body,y),Wn(a.above,y),Wn(a.below,y),Wn(a.subscript,y),Wn(a.superscript,y)))}function Yo(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=Iu),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 hu(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 Nh(y,{mode:b.mode});re.caret=z,b.parent.addChildAfter(re,b),a.position+=1}}function hl(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}$t(["math","displaymath"],qo),$t("center",qo),St("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 $s("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),Sn("array","{columns:colspec}",(a,y,b,z)=>new $s(a,il(y),b,{columns:z[0],mathstyleName:"textstyle"})),Sn(["equation","equation*","subequations"],"",(a,y,b)=>new $s(a,il(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 ao(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function il(a,y=1){return ao(a)?Array(y).fill([[new Ei({type:"first"}),new hs]]):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=il(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new $s(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new $s(a,y,b,{mathstyleName:"textstyle"});case"center":return new $s(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new $s(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new $s(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new $s(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new $s(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:Hs(z[0])});case"bmatrix":case"bmatrix*":return new $s(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:Hs(z[0])});case"Bmatrix":case"Bmatrix*":return new $s(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:Hs(z[0])});case"vmatrix":case"vmatrix*":return new $s(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:Hs(z[0])});case"Vmatrix":case"Vmatrix*":return new $s(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:Hs(z[0])});case"matrix":case"matrix*":return new $s(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:Hs(z==null?void 0:z[0])});case"smallmatrix":case"smallmatrix*":return new $s(a,y,b,{mathstyleName:"scriptstyle",columns:Hs(z==null?void 0:z[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new $s(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 $s(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new $s(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 $s(a,y,b,{arraycolsep:0,columns:pe,minColumns:2})}}return new $s(a,y,b,{mathstyleName:"textstyle"})}function Hs(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 el(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof $s);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof $s)){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=Ws()),re.length===0&&(re=Ws());let ye;return y.endsWith("column")?(ye=qo("split",[[pe,re]]),a.root=ye,Du(ye,0,0)?Sl(a,ye,0,0):Du(ye,0,1)?Sl(a,ye,0,1):a.position=a.offsetOf(z)):(ye=qo("lines",[[pe],[re]]),a.root=ye,Du(ye,0,0)?Sl(a,ye,0,0):Du(ye,1,0)?Sl(a,ye,1,0):a.position=a.offsetOf(z)),[void 0,[0,0]]}if(b.parent instanceof su){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=Ws()),pe.length===0&&(pe=Ws());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 Mt=qo(tt,y.endsWith("column")?[[ye,pe]]:[[ye],[pe]]);return re.parent.addChildBefore(Mt,re),re.parent.removeChild(re),Du(Mt,0,0)?Sl(a,Mt,0,0):y.endsWith("column")?Du(Mt,0,1)?Sl(a,Mt,0,1):a.position=a.offsetOf(b):Du(Mt,1,0)?Sl(a,Mt,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof $s?[b.parent,b.parentBranch]:[void 0,[0,0]]}function Du(a,y,b){const z=a.getCell(y,b);return!z||z.length!==2?!1:z[1].type==="placeholder"}function Ou(a,y,b,z){const re=y.getCell(b,z);return re?[a.offsetOf(re[0]),a.offsetOf(re[re.length-1])]:-1}function Sl(a,y,b,z){const re=Ou(a,y,b,z);typeof re!="number"&&a.setSelection(re)}function Eu(a,y,b,z,re){const pe=y.getCell(b,z);pe&&a.setPositionHandlingPlaceholder(a.offsetOf(pe[re==="start"?0:pe.length-1]))}function vu(a,y){const[b,[z,re]]=el(a,y);if(b)switch(y){case"after row":b.addRowAfter(z),Eu(a,b,z+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(re),Eu(a,b,z,re+1,"end");break;case"before row":b.addRowBefore(z),Eu(a,b,z,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(re),Eu(a,b,z,re,"start");break}}function Ls(a){return a.contentWillChange({inputType:"insertText"})?(vu(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function tu(a){return a.contentWillChange({inputType:"insertText"})?(vu(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Qs(a){return a.contentWillChange({inputType:"insertText"})?(vu(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Kd(a){return a.contentWillChange({inputType:"insertText"})?(vu(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Ju(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 pu(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof $s);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof $s){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 yu(a){return a.contentWillChange({inputType:"deleteContent"})?(pu(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function fd(a){return a.contentWillChange({inputType:"deleteContent"})?(pu(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}ne({addRowAfter:Ls,addColumnAfter:Qs,addRowBefore:tu,addColumnBefore:Kd,removeRow:yu,removeColumn:fd,setEnvironment:Ju},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Ws(){return[new hs]}var zc=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}};zc.maximumDepth=1e3;var El=zc;function zl(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 Ic(a,y,b){var z,re,pe,ye,tt,ut,gt;const Mt=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 qA)pn=zl(a,pn,y);else if(qt instanceof Ad)if(qt.isSuggestion)for(console.assert(y==="forward");qt&&qt instanceof Ad;)qt.isSuggestion=!1,pn=a.offsetOf(qt),qt=qt.rightSibling;else if(y==="forward"){if(qt=qt.rightSibling,!qt||!(qt instanceof Ad))return a.announce("plonk"),!1;for(;qt&&qt instanceof Ad&&/[a-zA-Z\*]/.test(qt.value);)pn=a.offsetOf(qt),qt=qt.rightSibling}else{if(qt=qt.leftSibling,!qt||!(qt instanceof Ad))return a.announce("plonk"),!1;for(;qt&&qt instanceof Ad&&/[a-zA-Z\*]/.test(qt.value);)pn=a.offsetOf(qt),qt=qt.leftSibling}else if(y==="forward"&&qt.type==="mopen"){let Vn=0;do qt.type==="mopen"?Vn+=1:qt.type==="mclose"&&(Vn-=1),qt=qt.rightSibling;while(!qt.isLastSibling&&Vn!==0);pn=a.offsetOf(qt.leftSibling)}else if(y==="backward"&&qt.type==="mclose"){let Vn=0;do qt.type==="mopen"?Vn+=1:qt.type==="mclose"&&(Vn-=1),qt=qt.leftSibling;while(!qt.isFirstSibling&&Vn!==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 Vn=qt.type;qt.type==="subsup"&&(pn=a.offsetOf(a.at(pn).leftSibling)),pn-=1;let ar=(re=a.at(pn))==null?void 0:re.type;for(;pn>=0&&ar===Vn;)((pe=a.at(pn))==null?void 0:pe.type)==="subsup"?pn=a.offsetOf(a.at(pn).leftSibling):pn-=1,ar=a.at(pn).type}else{const{type:Vn}=qt;let ar=(ye=a.at(pn))==null?void 0:ye.type;const{lastOffset:di}=a;for(;pn<=di&&(ar===Vn||ar==="subsup");){for(;((tt=a.at(pn).rightSibling)==null?void 0:tt.type)==="subsup";)pn=a.offsetOf(a.at(pn).rightSibling);pn+=1,ar=(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",Mt),a.mathfield.stopCoalescingUndo(),!0}function Ol(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 d0(a,b);if(b.extend){let tt=al(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=Ol(a,y);return a.mathfield.stopCoalescingUndo(),tt}let pe=a.position;const ye=pe;if(a.collapseSelection(y)?(pe=a.position,fc(a,pe)||(pe=al(a,pe,y))):pe=al(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 al(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||fc(a,y)?y:al(a,y,b)}function fc(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 Lp(a,y,b){let z=1/0,re=0;for(;re<y.length;re++){const pe=a0(a.getHTMLElement(y[re])).right,ye=Math.abs(b-pe);if(ye<=z)z=ye;else break}return y[re-1]}function cA(a,y,b,z,re){const pe=a.mathfield.hasEditablePrompts,ye=pe?b.filter(gt=>gt.type==="prompt"&&!gt.captureSelection):b,tt=a0(a.mathfield.getHTMLElement(y)).right,ut=a.offsetOf(Lp(a.mathfield,ye,tt))-(pe?1:0);if(z){const[gt,Mt]=a.selection.ranges[0];let qt;ut<(re==="up"?gt:Mt)?qt={ranges:[[ut,Mt]],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 Mt=!0;return a.silenceNotifications||(Mt=(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(Mt?"plonk":"line"),Mt},ye=a.at(a.position);let tt=ye;for(;tt&&tt.parentBranch!=="below"&&!(Array.isArray(tt.parentBranch)&&tt.parent instanceof $s);)tt=tt.parent;if(Array.isArray(tt==null?void 0:tt.parentBranch)&&tt.parent instanceof $s){const ut=tt.parent;if(tt.parentBranch[0]<1)return pe();const gt=tt.parentBranch[0]-1,Mt=ut.array[gt][tt.parentBranch[1]];if(!Mt.some(pn=>pn.type==="prompt"&&!pn.captureSelection)&&a.mathfield.hasEditablePrompts)return pe();cA(a,ye,Mt,re,"up")}else if(tt){const ut=(z=tt.parent.branch("above"))!=null?z:tt.parent.createBranch("above");if(!ut.some(Mt=>Mt.type==="prompt"&&Mt.placeholderId)&&a.mathfield.hasEditablePrompts)return pe();cA(a,ye,ut,re,"up")}else return pe();return a.mathfield.stopCoalescingUndo(),!0}function d0(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 Mt=!0;return a.silenceNotifications||(Mt=(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(Mt?"plonk":"line"),Mt},ye=a.at(a.position);let tt=ye;for(;tt&&tt.parentBranch!=="above"&&!(Array.isArray(tt.parentBranch)&&tt.parent instanceof $s);)tt=tt.parent;if(Array.isArray(tt==null?void 0:tt.parentBranch)&&tt.parent instanceof $s){const ut=tt.parent;if(tt.parentBranch[0]+1>ut.array.length-1)return pe();const gt=tt.parentBranch[0]+1,Mt=ut.array[gt][tt.parentBranch[1]];if(!Mt.some(pn=>pn.type==="prompt"&&!pn.captureSelection)&&a.mathfield.hasEditablePrompts)return pe();cA(a,ye,Mt,re,"down")}else if(tt){const ut=(z=tt.parent.branch("below"))!=null?z:tt.parent.createBranch("below");if(!ut.some(Mt=>Mt.type==="prompt")&&a.mathfield.hasEditablePrompts)return pe();cA(a,ye,ut,re,"down")}else return pe();return!0}function pl(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 j0(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 Zf(a){var y;if(a.collapseSelection(),j0(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 fu({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function Vf(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 fu({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 Dd(){function a(ut){const gt=[],Mt=[];return[...ut.querySelectorAll(`input, select, textarea, a[href], button,
[tabindex], audio[controls], video[controls],
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((pn,Vn)=>{const ar=z(pn);ar===0?gt.push(pn):Mt.push({documentOrder:Vn,tabIndex:ar,node:pn})}),Mt.sort((pn,Vn)=>pn.tabIndex===Vn.tabIndex?pn.documentOrder-Vn.documentOrder:pn.tabIndex-Vn.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 Mt=Number.parseInt((gt=ut.getAttribute("tabindex"))!=null?gt:"NaN",10);return Number.isNaN(Mt)?ut.contentEditable==="true"||(ut.nodeName==="AUDIO"||ut.nodeName==="VIDEO")&&ut.getAttribute("tabindex")===null?0:ut.tabIndex:Mt}function re(ut){return ut.tagName.toUpperCase()==="INPUT"&&ut.type==="radio"&&!ye(ut)}function pe(ut,gt){for(const Mt of ut)if(Mt.checked&&Mt.form===gt)return Mt;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(!Ne()||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 Ne()?a(document.body):[]}function nc(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"?nc(a,[y.leftSibling,y]):nc(a,[y,y.leftSibling])}function Wc(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 A0(a,y,b=!0){var z,re;const pe=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Ol(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=f0(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 Mt=Dd();if(!document.activeElement||Mt.length<=1)return a.announce("plonk"),!1;let qt=Mt.indexOf(document.activeElement)+pe;return qt<0&&(qt=Mt.length-1),qt>=Mt.length&&(qt=0),Mt[qt].focus(),a.mathfield.stopCoalescingUndo(),!0}return Wc(a,ut),!0}function f0(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?Vf(a):Zf(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=>pl(a),moveToNextChar:a=>Ol(a,"forward"),moveToPreviousChar:a=>Ol(a,"backward"),moveUp:a=>Ol(a,"upward"),moveDown:a=>Ol(a,"downward"),moveToNextWord:a=>Ic(a,"forward"),moveToPreviousWord:a=>Ic(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 A0(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 Vn=pe;for(;((y=Vn.rightSibling)==null?void 0:y.mode)==="text";)Vn=Vn.rightSibling;if(pn&&Vn)return nc(a,[pn,Vn])}if(pe.rightSibling.mode==="text"){let pn=pe;for(;pn&&pn.mode==="text";)pn=pn.rightSibling;return pn?(Wc(a,(b=pn.leftSibling)!=null?b:pn),a.mathfield.switchMode("math"),!0):Wc(a,a.lastOffset)}}const tt=a.at(a.anchor).parentPrompt,ut=tt?a.offsetOf(tt)+1:Math.max(a.position+1,0),gt=f0(a,ut,"forward");if(gt)return Wc(a,gt);const Mt=hh(a,pe,pn=>pn.type==="leftright"||pn.type==="text","forward");if(Mt){if(Mt.mode==="text"){let pn=Mt;for(;pn&&pn.mode==="text";)pn=pn.rightSibling;return nc(a,[(z=Mt.leftSibling)!=null?z:Mt,(re=pn.leftSibling)!=null?re:pn])}return nc(a,Mt)}const qt=pe.parent;if(qt){if(qt.type==="leftright"||qt.type==="surd")return nc(a,qt);if(pe.parentBranch==="superscript"&&qt.subscript)return nc(a,qt.subscript);if(pe.parentBranch==="above"&&qt.below)return nc(a,qt.below);if(pe.parentBranch==="superscript"||pe.parentBranch==="subscript")return Wc(a,qt);if(pe.parentBranch==="above"||pe.parentBranch==="below")return nc(a,qt)}return Wc(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return A0(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 nc(a,[tt,ut])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?Wc(a,b):Wc(a,0)}const re=a.at(a.anchor).parentPrompt,pe=re?a.offsetOf(re.leftSibling):Math.max(a.position-1,0),ye=f0(a,pe,"backward");if(ye)return Wc(a,ye);if(z==="math"){const tt=hh(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 nc(a,[tt,gt])}return nc(a,tt)}const ut=b.parent;if(ut){if(ut.type==="leftright"||ut.type==="surd")return nc(a,ut);if(b.parentBranch==="subscript"&&ut.superscript)return nc(a,ut.superscript);if(b.parentBranch==="below"&&ut.above)return nc(a,ut.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return Wc(a,ut);if(b.parentBranch==="above"||b.parentBranch==="below")return nc(a,ut)}return Wc(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:Zf,moveToSubscript:Vf},{target:"model",changeSelection:!0}),ne({moveToNextPlaceholder:a=>A0(a,"forward"),moveToPreviousPlaceholder:a=>A0(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function hh(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 Gf(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 TA(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}Yf(a),a.contentDidChange({data:fl(pe),inputType:"insertText"})}function Yf(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 ph(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 Dp(a,y,b){const{model:z}=a;if(z.mode==="latex"||!z.at(z.position).isLastSibling||!b||!kf(b))return!1;const re=kp(b);if(!z.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(re));const pe=ph(z)+re;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(re))return!0;if(/[\^_]/.test(re))return/(^|\s)[a-zA-Z][^_]$/.test(pe)&&TA(z,1),!0;const ye={")":"(","}":"{","]":"["}[re],{parent:tt}=z.at(z.position);if(ye&&tt instanceof su&&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 TA(z,1),!1;if(/\D\.[^\d\s]$/.test(pe)){TA(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 TA(z,1),!0;if(/\([a-z][,;]$/.test(pe))return TA(z,2),!0;if(/[\d+\-=><*|]$/.test(re))return Yf(z),!0}else{if(y==="[Space]")return Gf(z,void 0,ye=>/[a-z][:,;.]$/.test(ye.value)),!0;if(/[a-zA-Z]{3,}$/.test(pe)&&!/(dxd|abc|xyz|uvw)$/.test(pe))return Gf(z,void 0,ye=>/[a-zA-Z]/.test(ye.value)),!0;if(/(^|\W)(if)$/i.test(pe))return Gf(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 Gf(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 h0(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=Np(),z=a.element.getBoundingClientRect();b.style.left=`${z.left}px`,b.style.top=`${z.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(jf(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=Np();y.innerHTML=""}else{const y=Vm("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function Np(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(ef("keystroke-caption"),ef("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){MA(y);const Vn=Qf();a.keyboardLayout!==Vn.id&&(a.keyboardLayout=Vn.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,h0(a,ye),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let tt,ut="",gt;const Mt=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(pe.mode==="math")if(ye==="[Backspace]")Mt.pop();else if(!kf(y))a.flushInlineShortcutBuffer();else{const Vn=kp(y),ar=[...(z=(b=Mt[Mt.length-1])==null?void 0:b.keystrokes)!=null?z:[],Vn];Mt.push({state:pe.getState(),keystrokes:ar,leftSiblings:Xm(a)});let di=0,ja="";for(;!tt&&di<ar.length;)gt=Mt.length-(ar.length-di),ja=ar.slice(di).join(""),tt=op(Mt[gt].leftSiblings,ja,a.options.inlineShortcuts),!tt&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(ja)&&(tt=a.options.onInlineShortcut(a,ja)),di+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(tt?a.switchMode("math"):Dp(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 Vn=!1;return pe.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(Vn=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),Vn||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),pe.contentDidChange({inputType:"insertLineBreak"})),Vn}if((!ut||ye==="[Space]")&&pe.mode==="math"){if(ye==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return Us.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 Vn=pe.at(pe.position+1),ar=pe.at(pe.position-1);if((Vn==null?void 0:Vn.mode)==="text"||(ar==null?void 0:ar.mode)==="text")return Us.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===","&&kp(y)===","&&(ut="insertDecimalSeparator")}}if(!tt&&!ut){if(pe.mathfield.smartFence){if(_f(pe,kp(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:Vn}=pe.at(pe.position);if(Vn instanceof su&&Vn.rightDelim==="?"&&pe.at(pe.position).isLastSibling&&/^[)}\]|]$/.test(ye))return a.snapshot(),Vn.isDirty=!0,Vn.rightDelim=ye,pe.position+=1,pe.selectionDidChange(),pe.contentDidChange({data:kp(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!pe.selectionIsCollapsed){const ar=kp(y);if(ar==="("||ar==="{"||ar==="["){const di={"(":"(","{":"\\lbrace","[":"\\lbrack"}[ar],ja={"(":")","{":"\\rbrace","[":"\\rbrack"}[ar],[oi,$i]=ed(pe.selection);return a.snapshot(),pe.position=$i,Us.insert(pe,ja,{format:"latex"}),pe.position=oi,Us.insert(pe,di,{format:"latex"}),pe.setSelection(oi+1,$i+1),pe.contentDidChange({data:ar,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&&_f(pe,".",a.defaultStyle)&&(ut="",sd(a)),a.keyboardDelegate.cancelComposition(),ut)a.executeCommand(ut);else if(tt){const Vn=a.effectiveStyle;pe.setState(Mt[gt].state);const ar=Mt[Mt.length-1].keystrokes;for(const di of ar)Us.insert(pe,di,{silenceNotifications:!0,style:Vn});a.snapshot("insert-shortcut"),pe.setState(Mt[gt].state),pe.deferNotifications({content:!0,selection:!0,data:tt,type:"insertText"},()=>(Us.insert(pe,tt,{format:"latex",style:Vn}),Yf(a.model),tt.endsWith(" ")&&(a.switchMode("text"),Us.insert(pe," ",{style:Vn,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=bA(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(ed(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)Us.insert(z,ut);a.snapshot("insert-latex"),Zm(a)});else if(z.mode==="text"){for(const ut of re)Us.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),Us.insert(re,y,{style:b}),a.snapshot(),pl(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))}Us.insert(re,y,{style:b}),a.snapshot(`insert-${re.at(re.position).type}`)}function xg(a){a.selectionIsCollapsed||(a.deleteAtoms(ed(a.selection)),a.mathfield.snapshot("delete"))}function _f(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]=ed(a.selection),Mt=a.extractAtoms([ut,gt]),qt=re.addChildrenAfter([new su("left...right",Mt,{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 su?re.leftDelim+re.rightDelim:"";if(ut==="\\lbrace\\rbrace"||ut==="\\{\\}"||ut==="\\lbrace?")return a.mathfield.snapshot(),Us.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 su&&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 su)){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 su("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 su&&(qt.leftDelim==="?"||qt.leftDelim===".")&&Jm(pe,qt.rightDelim))break}const Mt=a.at(gt);if(gt<=ut&&Mt instanceof su){Mt.leftDelim=pe,a.mathfield.snapshot();let qt=a.extractAtoms([a.position,gt-1]);return qt=qt.filter(pn=>pn.type!=="first"),Mt.addChildren(qt,Mt.parentBranch),a.position+=1,a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(re instanceof su&&(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 su&&re.leftDelim==="|")){if(a.mathfield.snapshot(),Us.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 Vn=ut.leftSibling,ar=a.extractAtoms([a.offsetOf(ut.leftSibling),a.offsetOf(z)]);ar.shift();const di=new su("left...right",ar,{leftDelim:ye,rightDelim:pe});return re.addChildrenAfter([di],Vn),a.position=a.offsetOf(di),a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}ut=ut.leftSibling}if(re instanceof su&&z.isLastSibling&&Tp(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 Mt;for(Mt=a.position;Mt>=gt;Mt--){const Vn=a.at(Mt);if(Vn instanceof su&&(Vn.rightDelim==="?"||Vn.rightDelim===".")&&Tp(Vn.leftDelim,pe))break}const qt=a.at(Mt);if(Mt>=gt&&qt instanceof su)return a.mathfield.snapshot(),qt.rightDelim=pe,qt.addChildren(a.extractAtoms([Mt,a.position]),qt.parentBranch),a.contentDidChange({data:pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(re instanceof su&&(re.rightDelim==="?"||re.rightDelim===".")&&Tp(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 su&&(pn.rightDelim==="?"||pn.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(pn),_f(a,pe,b)):!1}return!1}function Tp(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"}),sd(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=>Yo(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,Mt,qt;const pn={};if(typeof y.color=="string"){const ar=(z=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?z:"none";ar!==y.color&&(pn.verbatimColor=(re=y.verbatimColor)!=null?re:y.color),pn.color=ar}if(typeof y.backgroundColor=="string"){const ar=(ye=a.backgroundColorMap((pe=y.backgroundColor)!=null?pe:y.verbatimBackgroundColor))!=null?ye:"none";ar!==y.backgroundColor&&(pn.verbatimBackgroundColor=(tt=y.verbatimBackgroundColor)!=null?tt:y.backgroundColor),pn.backgroundColor=ar}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 Vn=(Mt=y.size)!=null?Mt:y.fontSize;return typeof Vn=="number"?pn.fontSize=Math.max(1,Math.min(10,Vn)):typeof Vn=="string"&&(pn.fontSize=(qt={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[Vn.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}[Vn]),pn}function ym(a){let[y,b]=ed(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=>Ol(a,"forward",{extend:!0}),extendSelectionBackward:a=>Ol(a,"backward",{extend:!0}),extendToNextWord:a=>Ic(a,"forward",{extend:!0}),extendToPreviousWord:a=>Ic(a,"backward",{extend:!0}),extendSelectionUpward:a=>Ol(a,"upward",{extend:!0}),extendSelectionDownward:a=>Ol(a,"downward",{extend:!0}),extendToNextBoundary:a=>Ic(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Ic(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 af=null,p0=0,bm=class F0{static start(y,b,z,re){var pe;F0.element=y,(pe=F0.controller)==null||pe.abort(),F0.controller=new AbortController;const ye={signal:F0.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",z,ye),y.addEventListener("pointerup",re,ye),y.addEventListener("pointercancel",re,ye),Od(b)&&(F0.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=F0.controller)==null||y.abort(),F0.controller=void 0,typeof F0.pointerId=="number"&&(F0.element.releasePointerCapture(F0.pointerId),F0.pointerId=void 0)}};function Od(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 Mt=y.clientX,qt=y.clientY,pn=Date.now(),Vn=z.field,ar=setInterval(()=>{ut?Vn.scroll({top:0,left:Vn.scrollLeft-16}):gt&&Vn.scroll({top:0,left:Vn.scrollLeft+16})},32);function di(){bm.stop(),pe=!1,clearInterval(ar),a.element.classList.remove("tracking"),y&&y.preventDefault()}function ja($i){if(!z.hasFocus()){di();return}const Ya=$i.clientX,oa=$i.clientY,zo=Od($i)&&$i.pointerType==="touch"?20:5;if(Date.now()<pn+500&&Math.abs(Mt-Ya)<zo&&Math.abs(qt-oa)<zo){$i.preventDefault(),$i.stopPropagation();return}const gs=Vn.getBoundingClientRect();gt=Ya>gs.right,ut=Ya<gs.left;let is=re;Od($i)&&($i.isPrimary||(is=of(z,$i.clientX,$i.clientY,{bias:0})));const we=of(z,Ya,oa,{bias:Ya<=Mt?Ya===Mt?0:-1:1});is>=0&&we>=0&&(z.model.extendSelectionTo(is,we),sd(a)),ye&&ym(z.model)}af&&Math.abs(af.x-Mt)<5&&Math.abs(af.y-qt)<5&&Date.now()<af.time+500?(p0+=1,af.time=pn):(af={x:Mt,y:qt,time:pn},p0=1);const oi=Vn.getBoundingClientRect();if(Mt>=oi.left&&Mt<=oi.right&&qt>=oi.top&&qt<=oi.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",re=of(a,Mt,qt,{bias:0}),re>=0){if(a.element.classList.add("tracking"),y.shiftKey){const $i=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,re),gg(a.model)||$i?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||p0>2?(di(),(y.detail===3||p0===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},tt="all")):pe||(pe=!0,bm.start(Vn,y,ja,di),(y.detail===2||p0===2)&&(ye=!0,ym(a.model),tt="all"))}a.hasFocus()||(tt="none",a.focus({preventScroll:!0}))}else af=null;a.stopCoalescingUndo(),tt!=="none"&&(a.model.selectionIsCollapsed&&(tt="all"),sd(a)),y.preventDefault()}function m0(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 Rp(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=Rp(a,y,tt,z,re);ut[0]<=ye[0]&&(ye=ut)}return ye[1]||(ye=[m0(z,re,pe),b]),y.set(b.id,ye),ye}function Cg(a,y,b){const[,z]=Rp(a,new Map,a.model.root,y,b);return z}function of(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 Mt of tt)if(Mt.captureSelection){ye=Mt;break}let gt=a.model.offsetOf(ye);if(gt<0)return-1;if(ye.leftSibling)if(z.bias===0&&ye.type!=="placeholder"){const Mt=Oh(a,ye);Mt&&y<(Mt.left+Mt.right)/2&&(gt=a.model.offsetOf(ye.leftSibling))}else z.bias<0&&(gt=a.model.offsetOf(ye.leftSibling));return gt}var dA=class extends Us{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=rl(pe),{model:tt}=a;tt.selectionIsCollapsed||tt.deleteAtoms(ed(tt.selection));const ut=tt.at(tt.position);if(ut.parent instanceof $s){console.assert(ut.parentBranch!==void 0);const gt=[];let Mt=[];ye[0].type==="first"&&ye.shift(),ye[ye.length-1].type==="first"&&ye.pop();for(const ar of ye)ar.type==="first"&&Mt.length>0?(gt.push(Mt),Mt=[ar]):Mt.push(ar);Mt.length>0&&gt.push(Mt);let qt=Number(ut.parentBranch[0]),pn=Number(ut.parentBranch[1]);const Vn=ut.parent.maxColumns;for(;ut.parent.colCount-pn<gt.length&&ut.parent.colCount<Vn;)ut.parent.addColumn();ut.parent.addChildrenAfter(gt[0],ut);for(let ar=1;ar<gt.length;ar++)pn++,pn>=Vn&&(pn=0,ut.parent.addRowAfter(qt),qt++),ut.parent.setCell(qt,pn,gt[ar])}else ut.parent.addChildrenAfter(ye.filter(gt=>gt.type!=="first"),ut);return tt.position=tt.offsetOf(ye[ye.length-1]),tt.contentDidChange({inputType:"insertFromPaste"}),sd(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]=cf(b),z==="auto"&&pe&&(z="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:z})&&(a.startRecording(),a.snapshot("paste"),sd(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(ed(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 Mt=!1;const qt=Ya=>(Mt=!0,ut[Ya]);let[pn,Vn]=g0(a,y,qt,b);if(!Vn)return!1;const ar=Vn.length===1&&Vn[0].type==="genfrac";ar&&gt>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(ut["@"]=ut["?"],Mt=!1,[pn,Vn]=g0(a,y,qt,b)):gt>=0&&a.deleteAtoms([gt,a.position]);const{parent:di}=a.at(a.position),ja=di.hasEmptyBranch("body");if(ar&&pn!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&di instanceof su&&di.leftDelim==="("&&ja){const Ya=di.parent,oa=di.parentBranch;Ya.removeChild(di),Ya.setChildren(Vn,oa)}const oi=a.at(a.position);oi.parent.addChildrenAfter(Vn,oi),pn==="latex"&&typeof y=="string"&&(di==null?void 0:di.type)==="root"&&ja&&!Mt&&(di.verbatimLatex=y),a.silenceNotifications=tt;const $i=Vn[Vn.length-1];if(b.selectionMode==="placeholder"){const Ya=Vn.flatMap(oa=>[oa,...oa.children]).find(oa=>oa.type==="placeholder");if(Ya){const oa=a.offsetOf(Ya);a.setSelection(oa-1,oa),a.announce("move")}else $i&&(a.position=a.offsetOf($i))}else b.selectionMode==="before"||(b.selectionMode==="after"?$i&&(a.position=a.offsetOf($i)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf($i)));return a.contentDidChange({data:pe,inputType:"insertText"}),a.silenceNotifications=ye,!0}};function g0(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=od(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=od(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]=cf(y)),ye=od(y,{context:a.mathfield.context,args:b}),z.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&wm(ye));return Wn(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 su&&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 su&&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 $s)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||Hh(y));)y=y.leftSibling;else{const re=[];for(;!y.isFirstSibling&&(Hh(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 Hh(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new dA;var Sg=class extends Us{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"),sd(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(ed(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(Wn(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 "),od(a,{context:y,parseMode:"text"})}new Sg;function Af(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var Qu=4,RA=20,hd=2*(RA+Qu),xm=(a,y)=>`
<line x1="${a+RA}" y1="${y+RA}"
x2="${a>y?a+RA:7*RA+10*Qu}"
y2="${a<y?y+RA:7*RA+10*Qu}"/>
<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+RA}" y1="${y+RA}"
x2="${a>y?a+RA:7*RA+10*Qu}"
y2="${a<y?y+RA:7*RA+10*Qu}"/>
<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>`,Up=(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*RA+10*Qu+5} ${8*RA+10*Qu+5}">
<rect
class="MLEP__array-insert-background rows"
x="0"
y="${hd+Qu}"
height="${3*hd}"
width="${hd}"
rx="${hd/2}"/>
<rect
class="MLEP__array-insert-background columns"
x="${hd+Qu}"
y="0"
height="${hd}"
width="${3*hd}"
rx="${hd/2}"/>
<g data-command='"moveDown"'>
${Up(2*(Qu+hd),2*Qu+3*hd,0)}
</g>
<g data-command='"moveUp"'>
${Up(2*(Qu+hd),2*Qu+hd,180)}
</g>
<g data-command='"moveToNextWord"'>
${Up(2*Qu+3*hd,2*(Qu+hd),-90)}
</g>
<g data-command='"moveToPreviousWord"'>
${Up(2*Qu+hd,2*(Qu+hd),90)}
</g>
<g>
<g data-command='"addColumnBefore"'>
${xm(2*Qu+hd,Qu)}
</g>
<g data-command='"removeColumn"'>
${Cm(2*Qu+2*hd,Qu)}
</g>
<g data-command='"addColumnAfter"'>
${xm(2*Qu+3*hd,Qu)}
</g>
<g data-command='"addRowBefore"'>
${xm(Qu,2*Qu+hd)}
</g>
<g data-command='"removeRow"'>
${Cm(Qu,2*Qu+2*hd)}
</g>
<g data-command='"addRowAfter"'>
${xm(Qu,2*Qu+3*hd)}
</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>`,Hp=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>`,Wl=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>`,jh={matrix:Jg,pmatrix:Hp,bmatrix:qg,Bmatrix:Bm,vmatrix:Wl,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(ar=>{(!re||ar.length>re)&&(re=ar.length)});let pe=document.getElementById("mathlive-environment-popover");pe||(pe=Vm("mathlive-environment-popover"),ef("environment-popover"),ef("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 Mt=a.model.parentEnvironment.environmentName;if(Id(Mt)){const ar=Qp(Mt);gt=jh[ar]("active");const di=jh,{[ar]:ja}=di,oi=Ke(di,[fe(ar)]);ut=Object.values(oi).map($i=>$i("inactive"))}else if(xd(Mt)){const ar=rv(Mt);gt=Kh[ar]("active");const di=Kh,{[ar]:ja}=di,oi=Ke(di,[fe(ar)]);ut=Object.values(oi).map($i=>$i("inactive"))}else ad(Mt)&&(gt=jh.matrix("active"),ut=Object.values(Kh).map(ar=>ar("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(ar=>{const di=ar.dataset.command;let ja=di;try{ja=JSON.parse(di)}catch(oi){}ar.addEventListener("mousedown",oi=>oi.preventDefault()),ja&&ar.addEventListener("click",()=>a.executeCommand(ja))});const Vn=(b=a.field)==null?void 0:b.getBoundingClientRect();Vn&&(pe.style.top=`${window.scrollY+(Vn.top-pe.clientHeight-15)}px`,pe.style.left=`${Vn.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 dp(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&wc(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 v0(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 jp(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=v0(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=jp(y.location.y,ut,y.verticalPos,pe);gt+ut>window.innerHeight-8&&(y.alternateLocation?(gt=jp(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 Mt=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let qt=Math.min(Mt,(re=y.width)!=null?re:ye.width),pn=jp(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 z0(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function y0(a){return"submenu"in a}function ff(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 W0(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,b0=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,y0(a)?(this.type="submenu",this.submenu=new Ap(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=ff(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}W0(re)&&(this.enabled=!1,this.checked=!1,this.visible=!0),ff(re)&&(this.checked=ff(re)&&((y=V0(re.checked,a))!=null?y:!1)),(ff(re)||y0(re))&&(this.enabled=(b=V0(re.enabled,a))!=null?b:!0,this.visible=(z=V0(re.visible,a))!=null?z:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(ff(re)||W0(re)||y0(re))&&(this.label=V0(re.label,a),this.tooltip=V0(re.tooltip,a),this.ariaLabel=V0(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),ff(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=jf(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,(ff(this._declaration)||W0(this._declaration)||y0(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(!ff(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=v0(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(Z0(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 Z0(a,y,b){return Math.hypot(a,y)/b}function V0(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var Ap=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 b0(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),Ye()&&(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),Ye()&&((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 Ap{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){fh(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=nf(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,z,re;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=nf(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(nf(y));break;case"ArrowRight":if((tt==null?void 0:tt.type)==="submenu")tt.select(nf(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:Mt}=gt;Mt==null||Mt.focus(),Mt==null||Mt.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(kf(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 uA.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),uA.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),uA.state==="open"&&uA.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(xe(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,uA.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"||(ff(a)||y0(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||ff(a)&&typeof a.checked=="function"?!0:y0(a)?a.submenu.some(an):!1}var tr=class{};tr.DELAY=300,tr.MAX_DISTANCE=10;function _r(a){return new Promise((y,b)=>{const z=Ah(a);z||y(!1);let re=z;const pe=setTimeout(()=>{ye.abort(),y(z0(re,z)<tr.MAX_DISTANCE)},tr.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 Mt=Ah(gt);Mt&&(re=Mt)}},{passive:!0,signal:tt})})}function ii(a,y,b){return Um(this,null,function*(){if(a.type==="contextmenu"){const z=a;if(b.show({target:y,location:Ah(z),modifiers:nf(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:nf(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=Ah(a);if(yield _r(a))return b.state!=="closed"?!1:(b.show({target:y,location:re}),!0)}return!1})}var da={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};St(Object.keys(da),"{body:auto}",{createAtom:a=>new ee(xe(Ae({},a),{body:Qt(a.args[0]),accentChar:da[a.command.slice(1)]}))}),St(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=kt(Qt(a.args[0]));return new ee(xe(Ae({},a),{body:Qt(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),St(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new ee(xe(Ae({},a),{body:Qt(a.args[0]),svgAccent:"overarc"}))}),St(["underarc","underparen"],"{body:auto}",{createAtom:a=>new jd(xe(Ae({},a),{body:Qt(a.args[0]),svgBelow:"underarc"}))}),St("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 jd(xe(Ae({},a),{body:y,svgBelow:z,boxType:Lf(y)}))}}),St("^","{:string}",{createAtom:a=>{var y;return new Ei(xe(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:"^"}))}}),St("`","{:string}",{createAtom:a=>{var y;return new Ei(xe(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:"`"}))}}),St("'","{:string}",{createAtom:a=>{var y;return new Ei(xe(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:"'"}))}}),St('"',"{:string}",{createAtom:a=>{var y,b;return new Ei(xe(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]:'"'}))}}),St(".","{:string}",{createAtom:a=>{var y,b;return new Ei(xe(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]:"."}))}}),St("=","{:string}",{createAtom:a=>{var y,b;return new Ei(xe(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]:"="}))}}),St("~","{:string}",{createAtom:a=>{var y;return new Ei(xe(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"}))}}),St("c","{:string}",{createAtom:a=>{var y;return new Ei(xe(Ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),St("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 Ld(a.command,Qt(z[2]),pe,re)}}),St("cancel","{body:auto}",{createAtom:a=>{var y;return new Ld(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:{}})}}),St("bcancel","{body:auto}",{createAtom:a=>{var y;return new Ld(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:{}})}}),St("xcancel","{body:auto}",{createAtom:a=>{var y;return new Ld(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:{}})}}),St(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new jd(xe(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)}))}}),St("overbrace","{:auto}",{createAtom:a=>new jd(xe(Ae({},a),{body:Qt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),St(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new jd(xe(Ae({},a),{body:Qt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),St(["underbrace"],"{:auto}",{createAtom:a=>new jd(xe(Ae({},a),{body:Qt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),St(["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 jd(xe(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)}`}),St(["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 Ef(a.command.slice(1),xe(Ae({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),St(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new Ef({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],xe(Ae({},a),{limits:"over-under",variant:"main"}))}),St(["lim","mod"],"",{ifMode:"math",createAtom:a=>new Ef(a.command.slice(1),xe(Ae({},a),{limits:"over-under",variant:"main"}))}),St(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new Ef(a.command.slice(1),xe(Ae({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),St(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new Ei(xe(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:xe(Ae({},a.style),{variant:"normal",variantStyle:"up"})});return new Li([b,re],{type:"inner",isSelected:a.isSelected,caret:z})}}),St("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new Wm(xe(Ae({},a),{body:Qt(a.args[1]),index:a.args[0]?Qt(a.args[0]):void 0}))}),St(["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 R0(z[0]?Qt(z[0]):[new hs],z[1]?Qt(z[1]):[new hs],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}`:Ru(a.command,b,z)}}),St(["brace","brack"],"",{infix:!0,createAtom:a=>new R0(Qt(a.args[0]),Qt(a.args[1]),xe(Ae({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>fl([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),St(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const z=a.args;return a.command==="\\choose"&&(y="(",b=")"),new R0(Qt(z[0]),Qt(z[1]),xe(Ae({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>fl([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),St(["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 R0(Qt(z[0]),Qt(z[1]),xe(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)}`}),St("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new R0(Qt(a.args[0]),Qt(a.args[1]),xe(Ae({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),St(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new zm({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)],xe(Ae({},a),{limits:"auto",variant:"main"}))}),St("smallint","",{ifMode:"math",createAtom:a=>new Ef("\u222B",xe(Ae({},a),{limits:"adjacent",variant:"main"}))});var Qa={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"};St(Object.keys(Qa),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=Qa[y.slice(1)];return new zm(b,xe(Ae({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),St(["Re","Im"],"",{ifMode:"math",createAtom:a=>new Ef({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],xe(Ae({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),St("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new lA(xe(Ae({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),St("the","{:value}",{createAtom:a=>new Ei(xe(Ae({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const z=new Kl({parent:y},a.style);let re="";a.isSelected&&(re+=" ML__selected");const pe=z.evaluate(a.args[0]);return new Li(((b=Mc(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=Mc(a.args[0]))!=null?y:"\\relax"}`}}),St("mathtip","{:auto}{:math}",{createAtom:a=>new Th(xe(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],xe(Ae({},y),{defaultMode:"math"}))}}`}),St("texttip","{:auto}{:text}",{createAtom:a=>new Th(xe(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],xe(Ae({},y),{defaultMode:"text"}))}}`}),St("error","{:math}",{createAtom:a=>new Ei(xe(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),St("ensuremath","{:math}",{createAtom:a=>new Ei(xe(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(xe(Ae({},y),{defaultMode:"math"}))}}`}),St("color","{:value}",{applyStyle:(a,y,b)=>{var z,re;return{verbatimColor:(z=Mc(y[0]))!=null?z:void 0,color:b.toColor((re=y[0])!=null?re:{string:"red"})}}}),St("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var z,re;return{verbatimColor:(z=Mc(y[0]))!=null?z:void 0,color:b.toColor((re=y[0])!=null?re:{string:"red"})}}}),St("boxed","{content:math}",{createAtom:a=>new Mu(xe(Ae({},a),{body:Qt(a.args[0]),framecolor:{string:"black"}}))}),St("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var z,re;return{verbatimBackgroundColor:(z=Mc(y[0]))!=null?z:void 0,backgroundColor:b.toBackgroundColor((re=y[0])!=null?re:{string:"yellow"})}}}),St("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Mu(xe(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(xe(Ae({},y),{defaultMode:"text"})):Ru(a.command,(b=Mc(a.framecolor))!=null?b:"",(z=Mc(a.backgroundcolor))!=null?z:"",a.bodyToLatex(xe(Ae({},y),{defaultMode:"text"})))}}),St("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],z=Qt(a.args[1]);return b?new Mu(xe(Ae({},a),{body:z,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Mu(xe(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=Mc(a.padding))!=null?b:""),a.border&&pe.push(`border: ${a.border}`),a.backgroundcolor&&pe.push((z=Mc(a.backgroundcolor))!=null?z:""),re+=`[${pe.join(",")}]`}return Ru(re,a.bodyToLatex(y))}}),St(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new Ei(xe(Ae({},a),{body:Qt(a.args[0])})),render:(a,y)=>{const b=new Kl({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):`{${fl([a.command,a.bodyToLatex(y)])}}`}),St(["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]})}),St("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),St("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),St("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),St("selectfont","",{ifMode:"text",applyStyle:()=>({})}),St("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),St(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new Ei(xe(Ae({},a),{body:Qt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),St("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),St("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),St("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),St("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),St("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),St("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),St("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),St("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),St("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),St("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),St("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),St("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),St("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),St("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),St("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),St("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),St("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),St("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),St("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),St("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),St("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),St("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),St("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),St("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),St("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),St("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),St("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),St(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),St(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),St("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),St("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),St("mbox","{:text}",{ifMode:"math",createAtom:a=>new Ei(xe(Ae({},a),{type:"mord",body:Qt(a.args[0]),mode:"math"})),serialize:(a,y)=>Ru("\\mbox",a.bodyToLatex(xe(Ae({},y),{defaultMode:"text"})))}),St("text","{:text}",{ifMode:"math",applyMode:"text"}),St(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new Ei(xe(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:""})}}),St(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new Ei(xe(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}}),St("htmlData","{data:string}{content:auto}",{createAtom:a=>new Ei(xe(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}}),St(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new Ei(xe(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}}),St("em","{:rest}",{createAtom:a=>new Ei(xe(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"})}),St("emph","{:auto}",{createAtom:a=>new Ei(xe(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 xs={"\\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}};St(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new Gd(xe(Ae({},a),{delim:(y=a.args[0])!=null?y:".",size:xs[a.command].size,delimType:xs[a.command].mclass}))}}),St(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new DA(xe(Ae({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),St(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new DA(xe(Ae({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),St("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new Ei(a),render:(a,y)=>{let b=0;const z=y.mathstyle.id;(z===lh||z===EA)&&(b=1),(z===GA||z===Au)&&(b=2),(z===$c||z===jc)&&(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)}}`}),St("mathop","{:auto}",{createAtom:a=>new Ei(xe(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=[Ru(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)),fl(b)}}),St(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new Ei(xe(Ae({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:Qt(a.args[0])}))}),St(["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(xe(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=[Ru(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)),fl(b)}}),St(["char","unicode"],"{charcode:value}",{createAtom:a=>new Ei(xe(Ae({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Mc((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)}}),St("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new Ei(a),render:(a,y)=>{var b,z,re;const pe=new Kl({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]?`[${Mc(a.args[0])}]`:""}{${Mc(a.args[1])}}{${Mc(a.args[2])}}`}),St(["overline","underline"],"{:auto}",{createAtom:a=>new Ei(xe(Ae({},a),{body:Qt(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),z=new Kl({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 Lu({shift:0,children:[{box:re},3*pe,{box:ye},pe]}):tt=new Lu({top:re.height,children:[pe,{box:ye},3*pe,{box:re}]}),a.caret&&(tt.caret=a.caret),new Li(tt,{classes:b,type:"ignore"})}}),St("overset","{:auto}{base:auto}",{createAtom:a=>{const y=Qt(a.args[1]);return new jd(xe(Ae({},a),{above:Qt(a.args[0]),body:y,skipBoundary:!1,boxType:Lf(y)}))},serialize:(a,y)=>Ru(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),St("underset","{:auto}{base:auto}",{createAtom:a=>{const y=Qt(a.args[1]);return new jd(xe(Ae({},a),{below:Qt(a.args[0]),body:y,skipBoundary:!1,boxType:Lf(y)}))},serialize:(a,y)=>Ru(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),St("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=Qt(a.args[2]);return new jd(xe(Ae({},a),{above:Qt(a.args[0]),below:Qt(a.args[1]),body:y,skipBoundary:!1,boxType:Lf(y)}))},serialize:(a,y)=>Ru(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),St(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new jd(xe(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)=>Ru(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),St("smash","[:string]{:auto}",{createAtom:a=>{var y,b,z,re;return new dh(xe(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}))}}),St(["vphantom"],"{:auto}",{createAtom:a=>new dh(xe(Ae({},a),{body:Qt(a.args[0]),isInvisible:!0,smashWidth:!0}))}),St(["hphantom"],"{:auto}",{createAtom:a=>new dh(xe(Ae({},a),{body:Qt(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),St(["phantom"],"{:auto}",{createAtom:a=>new dh(xe(Ae({},a),{body:Qt(a.args[0]),isInvisible:!0}))}),St("not","{:math}",{createAtom:a=>{const y=Qt(a.args[0]);return y.length===0?new Ei(xe(Ae({},a),{type:"mrel",value:"\uE020"})):new Ei(xe(Ae({},a),{body:[new _A(xe(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":Lf(Qt(a.args[0])),re=Ei.createBox(y,a.body,{type:z});return a.caret&&(re.caret=a.caret),a.bind(y,re)}}),St(["ne","neq"],"",{createAtom:a=>new Ei(xe(Ae({},a),{type:"mrel",body:[new _A(xe(Ae({},a),{body:"\uE020",align:"right",boxType:"rel"})),new Ei(xe(Ae({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),St("rlap","{:auto}",{createAtom:a=>new _A(xe(Ae({},a),{body:Qt(a.args[0]),align:"right"}))}),St("llap","{:auto}",{createAtom:a=>new _A(xe(Ae({},a),{body:Qt(a.args[0]),align:"left"}))}),St("mathrlap","{:math}",{createAtom:a=>new _A(xe(Ae({},a),{body:Qt(a.args[0]),align:"left"}))}),St("mathllap","{:math}",{createAtom:a=>new _A(xe(Ae({},a),{body:Qt(a.args[0]),align:"left"}))}),St("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Mu(xe(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 Ru("\\raisebox",(b=Mc(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),St("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Mu(xe(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 Ru("\\raise",(b=Mc(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),St("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Mu(xe(Ae({},a),{body:Qt(a.args[1]),padding:{dimension:0},offset:(y=FA(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,z;return Ru("\\lower",(z=Mc(FA((b=a.offset)!=null?b:{dimension:0},-1)))!=null?z:"0pt",a.bodyToLatex(y))}}),Je("0123456789/@.?!"),vt(65,90),vt(97,122),Je([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Je([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Je([["\\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]]),Je([["\\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"),Je([["\\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"]]),Je([["\\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"]]),Je([["\\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"),Je([["+",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"),Je([["\\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"),Je([["\\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]]),Je([["=",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"),Je([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Je([["\\wp",8472],["\\aleph",8501]]),Je([["\\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"),Je([["\\ ",160],["~",160]],"space"),St(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new DA(a)}),St("space","",{createAtom:a=>new DA(a)}),Je([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Je([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Je([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var Ds="<mo>&#x2061;</mo>",Fl="<mo>&#8290;</mo>";function Zl(a){return a.replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Cs(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Sd(a,y,b){var z,re,pe,ye,tt,ut,gt,Mt,qt,pn,Vn;let ar=!1;y=y!=null?y:a.atoms.length;let di="",ja="",oi=a.atoms[a.index];const $i=(re=(z=oi.style)==null?void 0:z.variant)!=null?re:"",Ya=(ye=(pe=oi.style)==null?void 0:pe.variantStyle)!=null?ye:"";let oa="";if($i||Ya){const gs=Xt(oi.value,(tt=oi.style)==null?void 0:tt.variant,(ut=oi.style)==null?void 0:ut.variantStyle);if(gs!==oi.value)return a.index+=1,di=`<mi${Cs(oi.id,b)}>${gs}</mi>`,Zc(di,a,b)||(a.mathML+=di,a.lastType="mi"),!0;oa=(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"}[Ya+$i])!=null?gt:"",oa=` mathvariant="${oa}"`}const zo={"\\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(oi.command==="!")return a.index+=1,di="<mo>!</mo>",Zc(di,a,b)||(a.mathML+=di,a.lastType="mo"),!0;if(zo[oi.command]){a.index+=1;let gs=`<mi${Cs(oi.id,b)}${oa}>${zo[oi.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(gs=Fl+gs),Zc(gs,a,b)||(a.mathML+=gs,a.lastType="mi"),!0}if(oi.command==="\\operatorname")ja=Zh(oi.body),a.index+=1;else if($i||Ya)for(;a.index<y&&(oi.type==="mord"||oi.type==="macro")&&!oi.isDigit()&&$i===((qt=(Mt=oi.style)==null?void 0:Mt.variant)!=null?qt:"")&&Ya===((Vn=(pn=oi.style)==null?void 0:pn.variantStyle)!=null?Vn:"");)ja+=Zh([oi]),a.index+=1,oi=a.atoms[a.index];else(oi.type==="mord"||oi.type==="macro")&&!oi.isDigit()&&(ja+=Zh([oi]),a.index+=1);if(ja.length>0){ar=!0,di=`<mi${oa}>${ja}</mi>`;const gs=a.lastType;di.endsWith(">f</mi>")||di.endsWith(">g</mi>")?(di+=Ds,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(di)?"mo":"mi",Zc(di,a,b)||((gs==="mi"||gs==="mn"||gs==="mtext"||gs==="fence")&&(di=Fl+di),a.mathML+=di)}return ar}function Jd(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function td(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 Zc(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=Yl(re.superscript,b);y.lastType="";const tt=Yl(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 qd(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 ${Cs(a.atoms[z].id,b)}>${re}</mtext>`,a.lastType="mtext",!0):!1}function UA(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let re="",pe=td(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"+Cs(a.atoms[z].id,b)+">"+re+"</mn>",pe<0&&Jd(a)&&(pe=a.index,a.index+=1),Zc(re,a,b)||(a.mathML+=re,a.lastType="mn"),!0)}function G0(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,Mt=ut+1;for(;Mt<y&&!ye;)a.atoms[Mt].type==="mopen"?tt+=1:a.atoms[Mt].type==="mclose"&&(tt-=1),tt===-1&&(ye=!0,gt=Mt),Mt+=1;ye&&(re="<mrow>",re+=Wh(a.atoms[ut],b),re+=Yl(a.atoms,b,ut+1,gt),re+=Wh(a.atoms[gt],b),re+="</mrow>",a.index=gt+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=Fl),Zc(re,a,b)&&(z=!0,a.lastType="",re=""),pe="fence")}return re.length>0&&(z=!0,a.mathML+=re,a.lastType=pe),z}function zh(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${Cs(ye.id,b)}>${tt[ye.command]}</mo>`;return Zc(ut,a,b)||(a.mathML+=ut,a.lastType="mo"),!0}if(a.index<y&&(ye.type==="mbin"||ye.type==="mrel"))re+=w0(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=Wh(ye,b);return ye.superscript&&ye.subscript?(re+="<munderover>"+ut,re+=Yl(ye.subscript,b),re+=Yl(ye.superscript,b),re+="</munderover>"):ye.superscript?(re+="<mover>"+ut,re+=Yl(ye.superscript,b),re+="</mover>"):ye.subscript&&(re+="<munder>"+ut,re+=Yl(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",Mt=gt?'<mi class="MathML-Unit"'+Cs(ut.id,b)+">"+Zh(ut.value)+"</mi>":Wh(ut,b);re+=Mt,!gt&&!/^<mo>(.*)<\/mo>$/.test(Mt)?(re+=Ds,pe="applyfunction"):pe=gt?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(re)&&(re=Fl+re),a.index+=1}return re.length>0&&(z=!0,Zc(re,a,b)||(a.mathML+=re,a.lastType=pe)),z}function Yl(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=w0(a,y);else if(Array.isArray(a)){re.atoms=a;let pe=0;for(z=z||(a?a.length:0);re.index<z;)if(qd(re,z,y)||UA(re,z,y)||Sd(re,z,y)||zh(re,z,y)||G0(re,z,y))pe+=1;else if(re.index<z){let ye=w0(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,Zc(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 Wh(a,y){let b="";const z=Zh(a.value);return z&&(b="<mo"+Cs(a.id,y)+">"+z+"</mo>"),b}function Zh(a){if(!a)return"";if(typeof a=="string")return Zl(a);if(!Array.isArray(a)&&typeof a.body=="string")return Zl(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return Zl(y)}function w0(a,y){var b,z,re,pe,ye,tt,ut,gt,Mt,qt,pn,Vn,ar,di,ja,oi,$i,Ya,oa,zo,gs,is;if(a.mode==="text")return`<mi${Cs(a.id,y)}>${a.value}</mi>`;const we={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"},je={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let st="",Nt="",rn,ln,cn,bn,Fn,Pn;const{command:Cr}=a;if(a.command==="\\error")return`<merror${Cs(a.id,y)}>${Yl(a.body,y)}</merror>`;const ai={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},$n={"\\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=Yl(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(st+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(st+="<mo>"+(ai[a.leftDelim]||a.leftDelim)+"</mo>")),st+="<mtable",a.colFormat){for(st+=' columnalign="',cn=0;cn<a.colFormat.length;cn++)a.colFormat[cn].align&&(st+={l:"left",c:"center",r:"right"}[a.colFormat[cn].align]+" ");st+='"'}for(st+=">",ln=0;ln<a.array.length;ln++){for(st+="<mtr>",rn=0;rn<a.array[ln].length;rn++)st+="<mtd>"+Yl(a.array[ln][rn],y)+"</mtd>";st+="</mtr>"}st+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(st+="<mo>"+(ai[a.leftDelim]||a.rightDelim)+"</mo>"),st+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(st+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(st+="<mo"+Cs(a.id,y)+">"+(ai[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(st+="<mfrac>",st+=Yl(a.above,y)||"<mi>&nbsp;</mi>",st+=Yl(a.below,y)||"<mi>&nbsp;</mi>",st+="</mfrac>"):(st+="<mtable"+Cs(a.id,y)+">",st+="<mtr>"+Yl(a.above,y)+"</mtr>",st+="<mtr>"+Yl(a.below,y)+"</mtr>",st+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(st+="<mo"+Cs(a.id,y)+">"+(ai[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(st+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(st+="<msqrt"+Cs(a.id,y)+">",st+=Yl(a.body,y),st+="</msqrt>"):(st+="<mroot"+Cs(a.id,y)+">",st+=Yl(a.body,y),st+=Yl(a.above,y),st+="</mroot>");break;case"leftright":const Kr=a,ri=Kr.leftDelim;st="<mrow>",ri&&ri!=="."&&(st+=`<mo${Cs(a.id,y)}>${(b=ai[ri])!=null?b:ri}</mo>`),a.body&&(st+=Yl(a.body,y));const Zi=Kr.matchingRightDelim();Zi&&Zi!=="."&&(st+=`<mo${Cs(a.id,y)}>${(z=ai[Zi])!=null?z:Zi}</mo>`),st+="</mrow>";break;case"sizeddelim":case"delim":st+=`<mo${Cs(a.id,y)}>${ai[a.value]||a.value}</mo>`;break;case"accent":st+='<mover accent="true"'+Cs(a.id,y)+">",st+=Yl(a.body,y),st+="<mo>"+($n[Cr]||a.accent)+"</mo>",st+="</mover>";break;case"line":case"overlap":break;case"overunder":Fn=a.above,bn=a.below,(a.svgAbove||Fn)&&(a.svgBelow||bn)?Pn=a.body:Fn&&Fn.length>0?(Pn=a.body,(pe=(re=a.body)==null?void 0:re[0])!=null&&pe.below?(bn=a.body[0].below,Pn=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,Pn=a.body[1].body)):bn&&bn.length>0&&(Pn=a.body,(qt=(Mt=a.body)==null?void 0:Mt[0])!=null&&qt.above?(Fn=a.body[0].above,Pn=a.body[0].body):((Vn=(pn=a.body)==null?void 0:pn[0])==null?void 0:Vn.type)==="first"&&((di=(ar=a.body)==null?void 0:ar[1])!=null&&di.above)&&(Fn=a.body[1].overscript,Pn=a.body[1].body)),(a.svgAbove||Fn)&&(a.svgBelow||bn)?(st+=`<munderover ${Cs(a.id,y)}>`,st+=(ja=we[a.svgBody])!=null?ja:Yl(Pn,y),st+=(oi=we[a.svgBelow])!=null?oi:Yl(bn,y),st+=($i=we[a.svgAbove])!=null?$i:Yl(Fn,y),st+="</munderover>"):a.svgAbove||Fn?(st+=`<mover ${Cs(a.id,y)}>`+((Ya=we[a.svgBody])!=null?Ya:Yl(Pn,y)),st+=(oa=we[a.svgAbove])!=null?oa:Yl(Fn,y),st+="</mover>"):(a.svgBelow||bn)&&(st+=`<munder ${Cs(a.id,y)}>`+((zo=we[a.svgBody])!=null?zo:Yl(Pn,y)),st+=(gs=we[a.svgBelow])!=null?gs:Yl(bn,y),st+="</munder>");break;case"placeholder":st+="?";break;case"mord":{st=typeof a.value=="string"?a.value:Cr,Cr==="\\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}${Cs(a.id,y)}>${Zl(st)}</${Ai}>`;break}case"mbin":case"mrel":case"minner":st=Wh(a,y);break;case"mpunct":st='<mo separator="true"'+Cs(a.id,y)+">"+Cr+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(st="<mo"+Cs(a.id,y)+">",st+=Cr==="\\operatorname"?a.body:Cr||a.body,st+="</mo>");break;case"box":st='<menclose notation="box"',a.backgroundcolor&&(st+=' mathbackground="'+a.backgroundcolor+'"'),st+=Cs(a.id,y)+">"+Yl(a.body,y)+"</menclose>";break;case"spacing":st+='<mspace width="'+((is=je[Cr])!=null?is: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+=Nt+Ai,Nt=" ");st+=Cs(a.id,y)+'">'+Yl(a.body,y)+"</menclose>";break;case"prompt":st='<menclose notation="roundexbox""">'+Yl(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+=Wh(a,y);break;case"mclose":st+=Wh(a,y);break;case"macro":{const Ai=a.command+Zh(a.macroArgs);Ai&&(st+=`<mo ${Cs(a.id,y)}>${Ai}</mo>`)}break;case"latexgroup":st+=Yl(a.body,y);break;case"latex":st+="<mtext"+Cs(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":st+=Yl(a.body,y);break;case"text":st+=`<mtext ${Cs(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${Cs(a.id,y)} displaystyle="true">${Yl(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${Cs(a.id,y)} displaystyle="false">${Yl(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return st}var mh={"\\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"},Y0={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 fp(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function zd(a){let y=0;if(Be(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function zp(a){if(Be(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function hp(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 Nl(a,y){var b,z,re,pe,ye;function tt(Mt){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(Mt)?` <say-as interpret-as="character">${Mt}</say-as>`:/[A-Z]/.test(Mt)?`capital <say-as interpret-as="character">${Mt.toLowerCase()}</say-as>`:Mt:/[a-z]/.test(Mt)?" '"+Mt.toUpperCase()+"'":/[A-Z]/.test(Mt)?" 'capital "+Mt.toUpperCase()+"'":Mt}function ut(Mt){return"<emphasis>"+Mt+"</emphasis>"}if(!y)return"";let gt="";if(Be(y)){let Mt=!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(Nl(a,y[pn+1])),pn+=2):y[pn].mode==="text"?qt?gt+=(b=y[pn].value)!=null?b:" ":(qt=!0,gt+=Nl("text",y[pn])):y[pn].isDigit()?Mt?gt+=y[pn].asDigit():(Mt=!0,gt+=Nl(a,y[pn])):(Mt=!1,gt+=Nl(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 Mt="",qt="",pn="",Vn=!1;const{command:ar}=y;switch(ar){case"\\vec":return"vector "+Nl(a,y.body);case"\\acute":return Nl(a,y.body)+" acute";case"\\grave":return Nl(a,y.body)+" grave";case"\\dot":return"dot over"+Nl(a,y.body);case"\\ddot":return"double dot over"+Nl(a,y.body);case"\\mathring":return"ring over"+Nl(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Nl(a,y.body);case"\\bar":return Nl(a,y.body)+" bar";case"\\breve":return Nl(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Nl(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Nl(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Nl(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Nl(a,y.body)}switch(y.type){case"prompt":const di=y.body.length>1?'start input . <break time="500ms"/> '+Nl(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 ja=y.array,oi=y.environmentName;if(Object.keys(Y0).includes(oi)){gt+=` begin ${Y0[oi]} `;for(let oa=0;oa<ja.length;oa++){oa>0&&(gt+=","),gt+=` row ${oa+1} `;for(let zo=0;zo<ja[oa].length;zo++)zo>0&&(gt+=","),gt+=` column ${zo+1}: `,gt+=Nl("math",ja[oa][zo])}gt+=` end ${Y0[oi]} `}break;case"group":ar==="\\ne"?gt+=" not equal ":(ar==="\\not"&&(gt+=" not "),gt+=Nl("math",y.body));break;case"root":gt+=Nl("math",y.body);break;case"genfrac":if(Mt=Nl("math",y.above),qt=Nl("math",y.below),zd(y.above)&&zd(y.below)){const zo={"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 "}[hp(y.above)+"/"+hp(y.below)];zo?gt=zo:gt+=Mt+" over "+qt}else gt+=' the fraction <break time="150ms"/>'+Mt+' over <break time="150ms"/>'+qt+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(pn=Nl("math",y.body),y.hasEmptyBranch("above"))gt+=zd(y.body)?" the square root of "+pn+" , ":' the square root of <break time="200ms"/>'+pn+'. <break time="200ms"/> End square root';else{let oa=Nl("math",y.above);oa=oa.trim();const zo=oa.replace(/<mark([^/]*)\/>/g,"");zo==="3"?gt+=' the cube root of <break time="200ms"/>'+pn+'. <break time="200ms"/> End cube root':zo==="n"?gt+=' the nth root of <break time="200ms"/>'+pn+'. <break time="200ms"/> End root':gt+=' the root with index: <break time="200ms"/>'+oa+', of <break time="200ms"/>'+pn+'. <break time="200ms"/> End root'}break;case"leftright":{const oa=y;gt+=(re=oa.leftDelim?mh[oa.leftDelim]:void 0)!=null?re:oa.leftDelim,gt+=Nl("math",y.body),gt+=(pe=oa.rightDelim?mh[oa.rightDelim]:void 0)!=null?pe:oa.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const $i=ar.replace(/^\\/g,""),Ya=tn()[$i];Ya&&(Ya!=null&&Ya.expand?gt+=Nl("math",y.body):gt+=`${$i} `);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(ar==="\\mathbin"||ar==="\\mathrel"||ar==="\\mathopen"||ar==="\\mathclose"||ar==="\\mathpunct"||ar==="\\mathord"||ar==="\\mathinner"){gt=Nl(a,y.body);break}let oa=y.isDigit()?y.asDigit():y.value,zo=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(zo=y.value,oa=zo),a==="text")gt+=oa;else{if(y.type==="mbin"&&(gt+='<break time="150ms"/>'),oa){const gs=mh[oa]||(zo?mh[zo.trim()]:"");if(gs)gt+=" "+gs;else{const is=zo?fp(zo.trim()):"";gt+=is||tt(oa)}}else gt+=Nl("math",y.body);y.type==="mbin"&&(gt+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const oa=y.command;if(oa==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let zo=Nl("math",y.superscript);zo=zo.trim();let gs=Nl("math",y.subscript);gs=gs.trim(),gt+=' the summation from <break time="200ms"/>'+gs+'<break time="200ms"/> to <break time="200ms"/>'+zo+'<break time="200ms"/> of <break time="150ms"/>',Vn=!0}else if(y.hasEmptyBranch("subscript"))gt+=" the summation of";else{let zo=Nl("math",y.subscript);zo=zo.trim(),gt+=' the summation from <break time="200ms"/>'+zo+'<break time="200ms"/> of <break time="150ms"/>',Vn=!0}else if(oa==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let zo=Nl("math",y.superscript);zo=zo.trim();let gs=Nl("math",y.subscript);gs=gs.trim(),gt+=' the product from <break time="200ms"/>'+gs+'<break time="200ms"/> to <break time="200ms"/>'+zo+'<break time="200ms"/> of <break time="150ms"/>',Vn=!0}else if(y.hasEmptyBranch("subscript"))gt+=" the product of ";else{let zo=Nl("math",y.subscript);zo=zo.trim(),gt+=' the product from <break time="200ms"/>'+zo+'<break time="200ms"/> of <break time="150ms"/>',Vn=!0}else if(oa==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let zo=Nl("math",y.superscript);zo=zo.trim();let gs=Nl("math",y.subscript);gs=gs.trim(),gt+=' the integral from <break time="200ms"/>'+ut(gs)+'<break time="200ms"/> to <break time="200ms"/>'+ut(zo)+' <break time="200ms"/> of ',Vn=!0}else gt+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const zo=(ye=mh[y.value])!=null?ye:y.command?mh[y.command]:void 0;gt+=zo||" "+y.value}else y.command&&(y.command==="\\mathop"?gt+=Nl("math",y.body):y.command==="\\operatorname"?gt+=ag(y.body):gt+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":pn=Nl("math",y.body),gt+=" crossed out "+pn+". End crossed out.";break;case"space":case"spacing":break}if(!Vn&&!y.hasEmptyBranch("superscript")){let di=Nl(a,y.superscript);di=di.trim();const ja=di.replace(/<[^>]*>/g,"");if(zd(y.superscript)){if(a==="math"){const oi=zp(y.superscript);oi&&(gt+='<mark name="'+oi+'"/>')}ja==="\u2032"?gt+=" prime ":ja==="2"?gt+=" squared ":ja==="3"?gt+=" cubed ":Number.isNaN(Number.parseInt(ja))?gt+=" to the "+di+"; ":gt+=' to the <say-as interpret-as="ordinal">'+ja+"</say-as> power; "}else Number.isNaN(Number.parseInt(ja))?gt+=" raised to the "+di+"; ":gt+=' raised to the <say-as interpret-as="ordinal">'+ja+"</say-as> power; "}if(!Vn&&!y.hasEmptyBranch("subscript")){let di=Nl("math",y.subscript);di=di.trim(),gt+=zd(y.subscript)?" sub "+di:" subscript "+di+". End subscript. "}}return gt}function $d(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const re=Yl(a);if(re){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=xe(Ae({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=xe(Ae({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=xe(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=Nl("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"&&Pe()==="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 Xf={"\\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"},x0={"\\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 _g(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 ju(a){var y,b,z,re,pe,ye,tt,ut,gt,Mt,qt,pn,Vn;if(!a)return"";if(Be(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(ju).join("");if(a[0].mode==="text"){let Ya=0,oa="";for(;((y=a[Ya])==null?void 0:y.mode)==="text";)oa+=a[Ya].body?ju(a[Ya].body):a[Ya].value,Ya++;return`"${oa}" ${ju(a.slice(Ya))}`}let oi=0;const $i=[];for(;a[oi]&&a[oi].mode==="math";){let Ya="";for(;a[oi]&&a[oi].type==="mord"&&/\d/.test(a[oi].value);)Ya+=a[oi++].value;Ya?$i.push(Ya):$i.push(ju(a[oi++]))}return $i.push(ju(a.slice(oi))),_g($i)}if(a.mode==="text")return`"${a.value}"`;let ar="";const{command:di}=a;let ja;if(di==="\\placeholder")return`(${ju(a.body)})`;switch(a.type){case"accent":const oi={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[di];ar=`${oi!=null?oi:""} ${ju(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(is=>is.value).join("");case"group":case"root":ar=(b=Xf[di])!=null?b:ju(a.body);break;case"genfrac":{const is=a;(is.leftDelim||is.rightDelim)&&(ar=is.leftDelim==="."||!is.leftDelim?"{:":is.leftDelim),is.hasBarLine?(ar+="(",ar+=ju(is.above),ar+=")/(",ar+=ju(is.below),ar+=")"):(ar+="("+ju(is.above)+"),",ar+="("+ju(is.below)+")"),(is.leftDelim||is.rightDelim)&&(ar+=is.rightDelim==="."||!is.rightDelim?"{:":is.rightDelim)}break;case"surd":ar+=a.hasEmptyBranch("above")?"sqrt("+ju(a.body)+")":"root("+ju(a.above)+")("+ju(a.body)+")";break;case"latex":ar=a.value;break;case"leftright":{const is=a,we=is.leftDelim;ar+=we==="."||!we?"{:":we,ar+=ju(is.body);const je=is.matchingRightDelim();ar+=je==="."||!je?":}":je}break;case"sizeddelim":case"delim":ar=a.value;break;case"overlap":break;case"overunder":break;case"mord":ar=(re=(z=Xf[di])!=null?z:di)!=null?re:typeof a.value=="string"?a.value:"",ar.startsWith("\\")&&(ar+=" "),ja=di?di.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,ja?ar=String.fromCodePoint(Number.parseInt("0x"+ja[1])):ar.length>0&&ar.startsWith("\\")&&(ar=typeof a.value=="string"?a.value.charAt(0):a.command),ar=Wp(ar,a.style);break;case"mbin":case"mrel":case"minner":ar=(ye=(pe=Xf[di])!=null?pe:x0[di])!=null?ye:a.value;break;case"mopen":case"mclose":ar=a.value;break;case"mpunct":ar=(tt=x0[di])!=null?tt:di;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(x0[di]?ar=x0[di]:ar=di==="\\operatorname"?ju(a.body):(ut=a.value)!=null?ut:di,ar+=" ");break;case"array":const $i=a.array,Ya=a.environmentName,oa=(gt={bmatrix:["[","]"],"bmatrix*":["[","]"]}[Ya])!=null?gt:["(",")"],zo=[];for(const is of $i){const we=[];for(const je of is)we.push(oa[0]+ju(je)+oa[1]);zo.push(we.join(","))}const gs=(Mt={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[Ya])!=null?Mt:["(",")"];ar=gs[0]+zo.join(",")+gs[1];break;case"box":break;case"spacing":ar=(qt=Xf[di])!=null?qt:" ";break;case"enclose":ar="("+ju(a.body)+")";break;case"space":ar=" ";break;case"subsup":ar="";break;case"macro":ar=(Vn=(pn=Xf[di])!=null?pn:x0[di])!=null?Vn:ju(a.body);break}if(!a.hasEmptyBranch("subscript")){ar+="_";const oi=ju(a.subscript);ar+=oi.length!==1?`(${oi})`:oi}if(!a.hasEmptyBranch("superscript")){ar+="^";const oi=ju(a.superscript);ar+=oi.length!==1?`(${oi})`:oi}return ar}function Wp(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 pd(a,y){var b,z;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const re=new Kl({from:xe(Ae({},I0()),{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:od(a,{context:re,parseMode:"math",mathstyle:y.mathstyle})}).render(re);return ye?(Fh(Uc(ye,re)),t0(ye,{classes:"ML__latex"}).toMarkup()):""}function Mg(a){return Ph(a,{context:I0()})}function pp(a,y={}){return Yl(od(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Zp(a){const y=od(a,{parseMode:"math",mathstyle:"displaystyle"});return $d(y)}var sf;function Jf(a){var y,b;if(!sf){const z=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;z?sf=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=sf==null?void 0:sf.box(a).latex)!=null?b:""}function Vp(a,y="math"){return ju(new Ei({type:"root",body:od(a,{parseMode:y})}))}function mp(a){return O0(a,{format:"ascii-math"})[1]}function C0(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?_m(a):a}function B0(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 Ed(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 gh(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,Mt=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[Mt(tt),Mt(ut),Mt(gt)]}function vh(a){const[y,b,z]=a;return y>=0&&y<=1&&b>=0&&b<=1&&z>=0&&z<=1}function Gp(a,y){let[b,z,re]=a;return b=B0(b*255),z=B0(z*255),re=B0(re*255),y!==void 0?{r:b,g:z,b:re,alpha:y}:{r:b,g:z,b:re}}function _m(a){let[y,b,z]=gh(a);if(vh([y,b,z]))return Gp([y,b,z],a.alpha);const re=Ig(a);if(re.C=0,[y,b,z]=gh(Ed(re)),!vh([y,b,z]))return Gp([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]=gh(Ed(re)),vh([y,b,z])?pe=tt:ye=tt;return Gp([y,b,z],a.alpha)}function og(a){return _m(Ed(a))}function Mm(a,y){const b=C0(a),z=C0(y),re=.56,pe=.57,ye=.62,tt=.65,ut=.022,gt=1.414,Mt=.1,qt=5e-4,pn=1.14,Vn=.027,ar=1.14,di=.027;function ja(is){return is>=ut?is:is+xp(ut-is,gt)}function oi(is){return(is<0?-1:1)*Math.pow(Math.abs(is),2.4)}const $i=ja(oi(z.r/255)*.2126729+oi(z.g/255)*.7151522+oi(z.b/255)*.072175),Ya=ja(oi(b.r/255)*.2126729+oi(b.g/255)*.7151522+oi(b.b/255)*.072175);let oa,zo,gs;return Math.abs(Ya-$i)<qt?zo=0:Ya>$i?(oa=xp(Ya,re)-xp($i,pe),zo=oa*pn):(oa=xp(Ya,tt)-xp($i,ye),zo=oa*ar),Math.abs(zo)<Mt?gs=0:zo>0?gs=zo-di:gs=zo+Vn,gs*100}function X0(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const z=Mm(a,b),re=Mm(a,y);return Math.abs(z)>Math.abs(re)?b:y}function gp(a){const y=C0(a);let b=((1<<24)+(B0(y.r)<<16)+(B0(y.g)<<8)+B0(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 Ku(a){const y=vp(a);let b="";for(const z of y){if(typeof z.value!="string")return"";b+=z.value}return b}function vp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function yp(a,y){const b=vp(a);if(b.length!==1)return!1;const z=pm[y];return z?!!z.test(b[0].value):!1}function Yp(a,y){return Ku(a).length>0}function yh(a){return[Dg(a,"double-struck","mathbb","tooltip.blackboard"),Dg(a,"fraktur","mathfrak","tooltip.fraktur"),Dg(a,"calligraphic","mathcal","tooltip.caligraphic"),Og(a,"up","mathrm","tooltip.roman-upright"),Og(a,"bold","mathbf","tooltip.bold"),Og(a,"italic","mathit","tooltip.italic")]}function S0(a){return[{label:()=>pd(`\\vec{${Ku(a)}}`),visible:()=>Ku(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>pd(`\\overrightarrow{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>pd(`\\overleftarrow{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>pd(`\\dot{${Ku(a)}}`),visible:()=>Ku(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>pd(`\\ddot{${Ku(a)}}`),visible:()=>Ku(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>pd(`\\bar{${Ku(a)}}`),visible:()=>Ku(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>pd(`\\overline{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>pd(`\\overgroup{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>pd(`\\overbrace{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>pd(`\\underline{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>pd(`\\undergroup{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>pd(`\\underbrace{${Ku(a)}}`),visible:()=>Ku(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function Cc(a){return[{label:()=>pd(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>pd(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>pd(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function Vc(a){const y=[];for(const b of Object.keys(et))y.push({class:(gp(X0(et[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${et[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 Wd(a){const y=[];for(const b of Object.keys(rt))y.push({class:(X0(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 AA=class extends b0{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 J0(a){const y=[];for(let b=1;b<=5;b++)for(let z=1;z<=5;z++)y.push({onCreate:(re,pe)=>new AA(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:()=>bh(a)},{label:()=>qe("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>bh(a)},{label:()=>qe("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>bh(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:()=>bh(a)},{type:"divider"},{label:()=>qe("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>bh(a)},{label:()=>qe("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>bh(a)},{type:"divider"},{label:()=>qe("menu.borders"),visible:()=>(Lg(a)||bh(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:J0(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:()=>{Mp(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>qe("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{Mp(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:yh(a),submenuClass:"variant-submenu"},{label:()=>qe("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Wd(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>qe("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Vc(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>qe("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:S0(a),submenuClass:"variant-submenu"},{label:()=>qe("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&Ku(a).length>0,submenu:Cc(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",pd(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:()=>Us.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>qe("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>Us.copyToClipboard(a,"ascii-math")},{label:()=>qe("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>Us.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 bh(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(),Ju(a.model,y),sd(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:()=>pd(`\\${b}{${Ku(a)}}`),tooltip:()=>{var re;return(re=qe(z))!=null?re:z},visible:()=>yp(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 Og(a,y,b,z){return{label:()=>pd(`\\${b}{${Ku(a)}}`),tooltip:()=>{var re;return(re=qe(z))!=null?re:z},visible:()=>Yp(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 Xp(a,y){return a+$d(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(Mt){let qt=null;switch(Mt){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(Mt){let qt="";switch(Mt){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: "'+Mt+'"');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=$d(ut);return Ne()&&b.withHighlighting?(lf().readAloudMathfield=a,Ip(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(!Ne()){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=Xp("deleted: ",z);else if(y==="focus"||y.includes("move"))re=kv(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+_v(a.model);else if(y==="replacement")re=Xp("",a.model.at(a.model.position));else if(y==="line"){const pe=Xp("",a.model.root);a.keyboardDelegate.setAriaLabel(pe)}else re=z?Xp(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 _v(a){if(!a.selectionIsCollapsed)return Xp("",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+=Xp("",b),y}var Mv=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=rl(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 Mt=pe.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(Mt))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((z=this.at(Mt-1))!=null&&z.parentPrompt){this._anchor=this.normalizeOffset(Mt-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((re=this.at(Mt+1))!=null&&re.parentPrompt){this._anchor=this.normalizeOffset(Mt+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=Mt,this._position=Mt,this._selection=pe;return}const ye=ed(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 Ad&&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(L0(a)){if(z=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((gt,Mt)=>[...gt,...this.getAtoms(Mt,z)],[]);a=a.ranges[0]}let re,pe;if(Nf(a)){if(re=a,!Nf(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 Mt=this.atoms[gt];av(this,Mt,ye,tt)&&ut.push(Mt)}return z.includeChildren||(ut=ut.filter(gt=>{let Mt=!1,{parent:qt}=gt;for(;qt&&!Mt;)Mt=av(this,qt,ye,tt),qt=qt.parent;return!Mt})),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 Yl(a);if(b==="spoken")return $d(a);if(b==="spoken-text"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const re=$d(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=$d(a);return window.MathfieldElement.textToSpeechMarkup=z,re}return b==="ascii-math"?ju(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(Nf(a)&&Nf(y)?(z=[this.normalizeRange([a,y])],re=b):r0(a)?(z=[this.normalizeRange(a)],re=y):L0(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 fl(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&&Ng(this,pe,[z,re]);)re=this.offsetOf(pe),pe=pe.parent;for(pe=this.at(z).parent;pe!==this.root&&Ng(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&&Ng(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||Of(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(Nf(a)){const re=this.normalizeOffset(a);if(Nf(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(r0(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 L0(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(Af(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",xe(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(Af(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 Ng(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 Jp(a,y,b,z){var re,pe,ye,tt,ut,gt;const Mt=b.parent;if(Mt&&b instanceof su){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):(Mt.addChildrenAfter(b.removeBranch("body"),b),Mt.removeChild(b),pn--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(Mt.addChildrenAfter(b.removeBranch("body"),b),Mt.removeChild(b),pn--),a.position=pn,!0}if(Mt&&b.type==="surd"){if(y==="forward"&&!z||y==="backward"&&z==="body"){const qt=b.leftSibling;b.hasChildren&&Mt.addChildrenAfter(b.removeBranch("body"),b),Mt.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),Mt.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(Mt&&(b.type==="box"||b.type==="enclose")){const qt=z&&y==="backward"||!z&&y==="forward"?b.leftSibling:b.lastChild;return Mt.addChildrenAfter(b.removeBranch("body"),b),Mt.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=qp.fractionNavigationOrder==="numerator-denominator"?"above":"below",pn=qt==="above"?"below":"above";if(Mt&&(y==="forward"&&z===qt||y==="backward"&&z===pn)){const Vn=b.removeBranch(qt),ar=b.removeBranch(pn);return Mt.addChildrenAfter([...Vn,...ar],b),Mt.removeChild(b),a.position=a.offsetOf(Vn.length>0?Vn[Vn.length-1]:ar[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((Mt==null?void 0:Mt.type)==="genfrac"&&!z&&b.type!=="first"){let qt=a.offsetOf(b.leftSibling);return Mt.removeChild(b),Mt.hasEmptyBranch("above")&&Mt.hasEmptyBranch("below")?(qt=a.offsetOf(Mt.leftSibling),Mt.parent.removeChild(Mt),a.announce("delete",void 0,[Mt]),a.position=qt,!0):(a.announce("delete",void 0,[b]),a.position=qt,!0)}if(y==="backward"&&((Mt==null?void 0:Mt.command)==="\\ln"||(Mt==null?void 0:Mt.command)==="\\log")&&b.parentBranch!=="body"){const qt=a.offsetOf(Mt.leftSibling);return Mt.parent.removeChild(Mt),a.announce("delete",void 0,[Mt]),a.position=qt,!0}return!1}function Pg(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&&Jp(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(Jp(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])}}):Zd(a,ed(a.selection),"deleteContentBackward")}function qf(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&&Jp(a,"forward",z))return;if(z){if(a.at(a.position).isLastSibling&&Jp(a,"forward",z.parent,z.parentBranch))return}else{if(z=a.at(a.position),z.isLastSibling&&Jp(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])}):Zd(a,ed(a.selection),"deleteContentForward")}function Zd(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",Mt=a.offsetOf(ut.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var qt,pn;const Vn=ut.removeBranch(gt);if(Vn.length===1&&Vn[0].type==="placeholder")(pn=ut.parent)==null||pn.removeChild(ut),a.position=Math.max(0,Mt);else{const ar=ut.parent.addChildrenAfter(Vn,ut);(qt=ut.parent)==null||qt.removeChild(ut),a.position=a.offsetOf(ar)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}ne({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&Zd(a,[0,-1],"deleteContent"),deleteForward:a=>qf(a),deleteBackward:a=>Pg(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&Zd(a,[a.anchor,zl(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&Zd(a,[a.anchor,zl(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&Zd(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&Zd(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&Zd(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&Zd(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var Tg=`<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(xe(Ae({},Ko()),{macros:tn(),registers:xf()}),co(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=zs(this.options),ut=new Ei({type:"root",mode:tt,body:od(ye,{context:this.context})});this.model=new Mv(this,tt,ut),this.undoManager=new El(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(Tg),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=ze.subscribe(()=>ze.update(this.element)),ze.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(Af(this)))},{signal:pe}),this._menu=new ct(sg(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:pe});const Mt=this.element.querySelector("[part=menu-toggle]");Mt==null||Mt.addEventListener("pointerdown",qt=>{if(qt.currentTarget!==Mt||this._menu.state!=="closed")return;this.element.classList.add("tracking");const pn=Mt.getBoundingClientRect();this._menu.modifiers=nf(qt),this._menu.show({target:Mt,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")&&(Mt.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(()=>sd(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:pe}),Yd&&!ze.locale.startsWith(Yd.locale)&&PA(ze.locale),Wf!=="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(Af(this)),dp(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:Tf(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:Ct(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:Xe(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=Qf())!=null?a:Ff());return((y=Qf())==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),co(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)&&Us.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)&&sd(this)}getOptions(a){return Ho(this.options,a)}getOption(a){return Ho(this.options,a)}handleEvent(a){return Um(this,null,function*(){var y;if(IA(this)){if(At(a)){if(!T0(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(ce(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 ii(a,this.element.querySelector("[part=container]"),this._menu))&&bm.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield ii(a,this.element.querySelector("[part=container]"),this._menu))&&bm.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&dp(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>IA(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>IA(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!IA(this))return;ze.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 ce(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Af(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=D0(this.model,this.model.position))!=null?b:"math");const z=this.undoManager.canUndo();Us.insert(this.model,a,y)&&(sd(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&&Ip(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=Tf(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==="\\\\"?Ls(this.model):a==="&"?Qs(this.model):this.model.selectionIsCollapsed?Us.insert(this.model,a,Ae({style:this.model.at(this.model.position).computedStyle},y)):Us.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),sd(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=od(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;Mp(this,"accept");let gt,Mt=ye.at(ye.position);if(ut)gt="\\";else{const pn=ed(ye.selection);gt=this.model.getValue(pn,"latex");const Vn=this.model.extractAtoms(pn);Vn.length===1&&Vn[0].type==="placeholder"&&(gt=y,ut=!0),Mt=ye.at(pn[0])}const qt=new U0(gt);Mt.parent.addChildAfter(qt,Mt),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=od(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 sd(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),tt}),this.model.mode=a,window.mathVirtualKeyboard.update(Af(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};r0(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)Yo(this.model,tt,pe,{operation:ye});else Yo(this.model,re.range,pe,{operation:ye})}),sd(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=Tf(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=of(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),sd(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,xe(Ae({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),sd(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),sd(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(Af(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(Af(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(Af(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:zs(this.options);this.model.mode!==re&&(this.model.mode==="latex"?(Mp(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(Af(this)),dp(this)}onContentWillChange(a){var y,b,z;return(z=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",xe(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(),Ip(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="",rf(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})),sd(this),this.focusBlurInProgress=!1,tg();const z=new AbortController,re=z.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{IA(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(ed(this.model.selection));const y=Tf(this.field);y&&requestAnimationFrame(()=>{Ip(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){hu(this.model,a),sd(this)}onCompositionEnd(a){hl(this.model),Ym(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),Us.onCopy(this,a),Zd(this.model,ed(this.model.selection),"deleteByCut"),this.snapshot("cut"),sd(this))}onCopy(a){Us.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=Us.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),dp(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=>gn(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(!Ne())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"]};lf().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));lf().readAloudMarks=tt.split(`
`).map(ut=>ut?JSON.parse(ut):{}),lf().readAloudTokens=[];for(const ut of lf().readAloudMarks)ut.value&&lf().readAloudTokens.push(ut.value);lf().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 Mt=new Uint8Array(gt.AudioStream),qt=new Blob([Mt.buffer],{type:"audio/mpeg"}),pn=URL.createObjectURL(qt),Vn=lf();Vn.readAloudAudio?Vn.readAloudAudio.pause():(Vn.readAloudAudio=new Audio,Vn.readAloudAudio.addEventListener("ended",()=>{const ar=Vn.readAloudMathfield;Vn.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),ar?(Ip(ar),Vn.readAloudElement=null,Vn.readAloudMathfield=null,Vn.readAloudTokens=[],Vn.readAloudMarks=[],Vn.readAloudCurrentMark=""):ug(Vn.readAloudElement)}),Vn.readAloudAudio.addEventListener("timeupdate",()=>{let ar="";const di=Vn.readAloudAudio.currentTime*1e3+100;for(const ja of Vn.readAloudMarks)ja.time<di&&(ar=ja.value);Vn.readAloudCurrentMark!==ar&&(Vn.readAloudCurrentToken=ar,ar&&ar===Vn.readAloudFinalToken?Vn.readAloudAudio.pause():(Vn.readAloudCurrentMark=ar,Lm(Vn.readAloudElement,Vn.readAloudCurrentMark)))})),Vn.readAloudAudio.src=pn,Vn.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),Vn.readAloudAudio.play()})})}Ne()||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 bu=new WeakMap,sv=.5,E0={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 = ..."},Nd=class Ag extends HTMLElement{static get formAssociated(){return $p()}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 ze.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),ze.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 ze.strings}static set strings(y){ze.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(E0[z])if(E0[z].startsWith("mf."))if(E0[z].startsWith(`mf.${z}`))b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${E0[z]}`);else{const re=E0[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 ${E0[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($p()&&(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=[kA("core"),kA("mathfield"),kA("mathfield-element"),kA("ui"),kA("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>"+df("core")+df("mathfield")+df("mathfield-element")+df("ui")+df("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?Ho(this._mathfield.options,y):bu.has(this)?Ae({},Ho(Ae(Ae({},Ko()),co(bu.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?Ho(this._mathfield.options,y):bu.has(this)?Ho(Ae(Ae({},Ko()),co(bu.get(this).options)),y):null}reflectAttributes(){const y=Ko(),b=this._getOptions();Object.keys(Ag.optionsAttributes).forEach(z=>{const re=q0(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(bu.has(this)){const b=Ae(Ae({},bu.get(this).options),y);bu.set(this,xe(Ae({},bu.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else bu.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))E0[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${E0[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(bu.has(this)){let ye,tt,ut;if(L0(y)?([ye,tt]=y.ranges[0],ut=b):r0(y)?([ye,tt]=y,ut=b):Nf(y)&&Nf(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=bu.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(bu.has(this)){const re=bu.get(this).options;bu.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:re,menuItems:void 0});return}const z=cg(this);bu.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?of(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;uA.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 Mt=ye.querySelector("span");Mt.style.pointerEvents="none"}ye.host.addEventListener("focus",this,!0),ye.host.addEventListener("blur",this,!0),$p()||(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(Mt=>Mt.tagName.toLowerCase()==="style").map(Mt=>Mt.textContent).join("")}catch(Mt){console.error(Mt)}if(this._style){const Mt=document.createElement("style");Mt.textContent=this._style,ye.appendChild(Mt)}let gt="";if(this.hasAttribute("value")?gt=this.getAttribute("value"):gt=(y=ut==null?void 0:ut.assignedNodes().map(Mt=>Mt.nodeType===3?Mt.textContent:"").join("").trim())!=null?y:"",this._mathfield=new Iv(ye.querySelector(":host > span"),xe(Ae({},(z=(b=bu.get(this))==null?void 0:b.options)!=null?z:cg(this)),{eventSink:this,value:gt})),!bu.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const Mt of Object.keys(Ag.optionsAttributes))this.upgradeProperty(q0(Mt))}if(!((re=this._mathfield)!=null&&re.model)){this._mathfield=null;return}if(bu.has(this)){const Mt=this._mathfield,qt=bu.get(this),pn=qt.menuItems;Mt.model.deferNotifications({content:!1,selection:!1},()=>{const Vn=qt.value;Vn!==void 0&&Mt.setValue(Vn),Mt.model.selection=qt.selection,bu.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=Ho(this._mathfield.options,Object.keys(Ag.optionsAttributes).map(re=>q0(re)));bu.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":sd(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",""),$p()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):($p()?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"),$p()?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:xe(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=bu.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}bu.has(this)?bu.set(this,xe(Ae({},bu.get(this)),{menuItems:y})):bu.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:bu.has(this)?bu.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,sd(this._mathfield);return}if(bu.has(this)){bu.set(this,xe(Ae({},bu.get(this)),{selection:y}));return}bu.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:bu.has(this)?bu.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,sd(this._mathfield)),bu.has(this)){bu.set(this,xe(Ae({},bu.get(this)),{selection:{ranges:[[y,y]]}}));return}bu.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}};Nd.version="0.98.5",Nd._fontsDirectory="./fonts",Nd._soundsDirectory="./sounds",Nd.keypressVibration=!0,Nd._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Nd._plonkSound="plonk.wav",Nd.audioBuffers={},Nd.createHTML=a=>a,Nd._speechEngineRate="100%",Nd._speechEngineVoice="Joanna",Nd._textToSpeechMarkup="",Nd._textToSpeechRules="mathlive",Nd._textToSpeechRulesOptions={},Nd.speakHook=Ev,Nd.readAloudHook=ov,Nd._decimalSeparator=".",Nd.fractionNavigationOrder="numerator-denominator",Nd._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 qp=Nd;function q0(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function cg(a){const y={readOnly:!1},b=qp.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[q0(z)]=!0:b[z]==="on/off"?re==="on"?y[q0(z)]=!0:re==="off"?y[q0(z)]=!1:y[q0(z)]=void 0:b[z]==="number"?y[q0(z)]=Number.parseFloat(re!=null?re:"0"):y[q0(z)]=re}}),y}function $p(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var Lv=qp,Dv,Ov,Nv,Pv;if(Ne()&&!((Dv=window.customElements)!=null&&Dv.get("math-field"))){(Nv=window[Ov=Symbol.for("io.cortexjs.mathlive")])!=null||(window[Ov]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=qp,(Pv=window.customElements)==null||Pv.define("math-field",qp)}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,Mt;Mt=tt.indexOf(y),Mt!==-1&&(gt=Mt,gt>0&&pe.push({type:"text",data:tt.slice(0,gt)}),ut=!1);let qt=!1;for(;!qt;){if(ut){if(Mt=tt.indexOf(y,gt),Mt===-1){qt=!0;break}gt!==Mt&&pe.push({type:"text",data:tt.slice(gt,Mt)}),gt=Mt}else{if(Mt=lv(b,tt,gt+y.length),Mt===-1){qt=!0;break}let pn=tt.slice(gt+y.length,Mt);re==="ascii-math"&&([,pn]=O0(pn,{format:"ascii-math"})),pe.push({type:"math",data:pn,rawData:tt.slice(gt,Mt+b.length),mathstyle:z}),gt=Mt+b.length}ut=!ut}gt<tt.length&&pe.push({type:"text",data:tt.slice(gt)})}else pe.push(ye);return pe}function Om(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 em(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=em(a,"",y,!0);ye&&pe.appendChild(ye)}else{if(!a.trim())return null;const ye=Om(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=em(tt.data,tt.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);ut&&pe.appendChild(ut)}}return pe}function Tv(a,y){var b,z,re,pe,ye,tt,ut,gt,Mt,qt,pn,Vn,ar,di,ja,oi;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const $i=(b=a.childNodes[0].textContent)!=null?b:"";if((z=y.TeX)!=null&&z.processEnvironments&&/^\s*\\begin/.test($i)){a.textContent="";const oa=em($i,"",y,!0);oa&&a.append(oa);return}const Ya=Om($i,(re=y.TeX)==null?void 0:re.delimiters,(pe=y.asciiMath)==null?void 0:pe.delimiters);if(Ya.length===1&&Ya[0].type==="math"){a.textContent="";const oa=em(Ya[0].data,Ya[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);oa&&a.append(oa);return}if(Ya.length===1&&Ya[0].type==="text")return}for(let $i=a.childNodes.length-1;$i>=0;$i--){const Ya=a.childNodes[$i];if(Ya.nodeType===3){const oa=n1((ye=Ya.textContent)!=null?ye:"",y);oa&&($i+=oa.childNodes.length-1,Ya.replaceWith(oa))}else if(Ya.nodeType===1){const oa=Ya,zo=Ya.nodeName.toLowerCase();if(zo==="script"){const gs=Ya;let is;if((tt=y.processScriptTypePattern)!=null&&tt.test(gs.type))is=(ut=gs.textContent)!=null?ut:"";else if((gt=y.processMathJSONScriptTypePattern)!=null&&gt.test(gs.type))try{is=(qt=y.serializeToLatex)==null?void 0:qt.call(y,JSON.parse((Mt=gs.textContent)!=null?Mt:""))}catch(we){console.error(we)}if(is){let we="textstyle";for(const st of gs.type.split(";")){const[Nt,rn]=st.toLowerCase().split("=");Nt.trim()==="mode"&&(we=rn.trim()==="display"?"displaystyle":"textstyle")}const je=em(is,we,y,!0);je&&gs.parentNode.replaceChild(je,gs)}}else if(((Vn=(pn=y.processClassPattern)==null?void 0:pn.test(oa.className))!=null?Vn:!1)||!((di=(ar=y.skipTags)==null?void 0:ar.includes(zo))!=null&&di||(oi=(ja=y.ignoreClassPattern)==null?void 0:ja.test(oa.className))!=null&&oi))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const is=a.textContent;a.textContent="";const we=em(is!=null?is:"","displaystyle",y,!0);we&&a.append(we)}else Tv(oa,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(),ef("core"),Tv(a,ye)}catch(ye){ye instanceof Error?console.error("renderMathInElement(): "+ye.message):console.error("renderMathInElement(): Could not render math for element",a)}}function bp(a,y){const b=Ni.singleton;return b?(b.show(),Nn(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function Vh(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}ne({switchKeyboardLayer:bp,toggleVirtualKeyboard:Vh,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function lf(){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){wh(document.body,a)}function wp(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 wh(a,y){var b,z,re,pe;const ye=wp(a);if(!ye)return;const tt=y!=null?y:{};(b=tt.renderToMarkup)!=null||(tt.renderToMarkup=pd),(z=tt.renderToMathML)!=null||(tt.renderToMathML=pp),(re=tt.renderToSpeakableText)!=null||(tt.renderToSpeakableText=Zp),(pe=tt.serializeToLatex)!=null||(tt.serializeToLatex=Jf),i1(ye,tt)}var g1={mathlive:"0.98.5"}},16722:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});const he=xe=>typeof xe=="object"&&xe!=null&&xe.nodeType===1,Me=(xe,fe)=>(!fe||xe!=="hidden")&&xe!=="visible"&&xe!=="clip",He=(xe,fe)=>{if(xe.clientHeight<xe.scrollHeight||xe.clientWidth<xe.scrollWidth){const Ke=getComputedStyle(xe,null);return Me(Ke.overflowY,fe)||Me(Ke.overflowX,fe)||(Be=>{const _e=(Ne=>{if(!Ne.ownerDocument||!Ne.ownerDocument.defaultView)return null;try{return Ne.ownerDocument.defaultView.frameElement}catch(Qe){return null}})(Be);return!!_e&&(_e.clientHeight<Be.scrollHeight||_e.clientWidth<Be.scrollWidth)})(xe)}return!1},ft=(xe,fe,Ke,Be,_e,Ne,Qe,ke)=>Ne<xe&&Qe>fe||Ne>xe&&Qe<fe?0:Ne<=xe&&ke<=Ke||Qe>=fe&&ke>=Ke?Ne-xe-Be:Qe>fe&&ke<Ke||Ne<xe&&ke>Ke?Qe-fe+_e:0,Oe=xe=>{const fe=xe.parentElement;return fe==null?xe.getRootNode().host||null:fe},Le=(xe,fe)=>{var Ke,Be,_e,Ne;if(typeof document=="undefined")return[];const{scrollMode:Qe,block:ke,inline:Pe,boundary:Te,skipOverflowHiddenElements:Ye}=fe,ze=typeof Te=="function"?Te:Vt=>Vt!==Te;if(!he(xe))throw new TypeError("Invalid target");const qe=document.scrollingElement||document.documentElement,We=[];let Ze=xe;for(;he(Ze)&&ze(Ze);){if(Ze=Oe(Ze),Ze===qe){We.push(Ze);break}Ze!=null&&Ze===document.body&&He(Ze)&&!He(document.documentElement)||Ze!=null&&He(Ze,Ye)&&We.push(Ze)}const et=(Be=(Ke=window.visualViewport)==null?void 0:Ke.width)!=null?Be:innerWidth,rt=(Ne=(_e=window.visualViewport)==null?void 0:_e.height)!=null?Ne:innerHeight,{scrollX:ht,scrollY:dt}=window,{height:Ct,width:Xe,top:Lt,right:Re,bottom:Ht,left:Et}=xe.getBoundingClientRect(),{top:bt,right:Tt,bottom:wt,left:it}=(Vt=>{const xt=window.getComputedStyle(Vt);return{top:parseFloat(xt.scrollMarginTop)||0,right:parseFloat(xt.scrollMarginRight)||0,bottom:parseFloat(xt.scrollMarginBottom)||0,left:parseFloat(xt.scrollMarginLeft)||0}})(xe);let Ue=ke==="start"||ke==="nearest"?Lt-bt:ke==="end"?Ht+wt:Lt+Ct/2-bt+wt,at=Pe==="center"?Et+Xe/2-it+Tt:Pe==="end"?Re+Tt:Et-it;const Xt=[];for(let Vt=0;Vt<We.length;Vt++){const xt=We[Vt],{height:Qt,width:An,top:Tn,right:dn,bottom:Gn,left:Cn}=xt.getBoundingClientRect();if(Qe==="if-needed"&&Lt>=0&&Et>=0&&Ht<=rt&&Re<=et&&(xt===qe&&!He(xt)||Lt>=Tn&&Ht<=Gn&&Et>=Cn&&Re<=dn))return Xt;const mn=getComputedStyle(xt),Bn=parseInt(mn.borderLeftWidth,10),Se=parseInt(mn.borderTopWidth,10),Fe=parseInt(mn.borderRightWidth,10),ie=parseInt(mn.borderBottomWidth,10);let ae=0,se=0;const oe="offsetWidth"in xt?xt.offsetWidth-xt.clientWidth-Bn-Fe:0,Je="offsetHeight"in xt?xt.offsetHeight-xt.clientHeight-Se-ie:0,vt="offsetWidth"in xt?xt.offsetWidth===0?0:An/xt.offsetWidth:0,$e="offsetHeight"in xt?xt.offsetHeight===0?0:Qt/xt.offsetHeight:0;if(qe===xt)ae=ke==="start"?Ue:ke==="end"?Ue-rt:ke==="nearest"?ft(dt,dt+rt,rt,Se,ie,dt+Ue,dt+Ue+Ct,Ct):Ue-rt/2,se=Pe==="start"?at:Pe==="center"?at-et/2:Pe==="end"?at-et:ft(ht,ht+et,et,Bn,Fe,ht+at,ht+at+Xe,Xe),ae=Math.max(0,ae+dt),se=Math.max(0,se+ht);else{ae=ke==="start"?Ue-Tn-Se:ke==="end"?Ue-Gn+ie+Je:ke==="nearest"?ft(Tn,Gn,Qt,Se,ie+Je,Ue,Ue+Ct,Ct):Ue-(Tn+Qt/2)+Je/2,se=Pe==="start"?at-Cn-Bn:Pe==="center"?at-(Cn+An/2)+oe/2:Pe==="end"?at-dn+Fe+oe:ft(Cn,dn,An,Bn,Fe+oe,at,at+Xe,Xe);const{scrollLeft:lt,scrollTop:Pt}=xt;ae=$e===0?0:Math.max(0,Math.min(Pt+ae/$e,xt.scrollHeight-Qt/$e+Je)),se=vt===0?0:Math.max(0,Math.min(lt+se/vt,xt.scrollWidth-An/vt+oe)),Ue+=Pt-ae,at+=lt-se}Xt.push({el:xt,top:ae,left:se})}return Xt},ve=xe=>xe===!1?{block:"end",inline:"nearest"}:(fe=>fe===Object(fe)&&Object.keys(fe).length!==0)(xe)?xe:{block:"start",inline:"nearest"};function Ae(xe,fe){if(!xe.isConnected||!(_e=>{let Ne=_e;for(;Ne&&Ne.parentNode;){if(Ne.parentNode===document)return!0;Ne=Ne.parentNode instanceof ShadowRoot?Ne.parentNode.host:Ne.parentNode}return!1})(xe))return;const Ke=(_e=>{const Ne=window.getComputedStyle(_e);return{top:parseFloat(Ne.scrollMarginTop)||0,right:parseFloat(Ne.scrollMarginRight)||0,bottom:parseFloat(Ne.scrollMarginBottom)||0,left:parseFloat(Ne.scrollMarginLeft)||0}})(xe);if((_e=>typeof _e=="object"&&typeof _e.behavior=="function")(fe))return fe.behavior(Le(xe,fe));const Be=typeof fe=="boolean"||fe==null?void 0:fe.behavior;for(const{el:_e,top:Ne,left:Qe}of Le(xe,ve(fe))){const ke=Ne-Ke.top+Ke.bottom,Pe=Qe-Ke.left+Ke.right;_e.scroll({top:ke,left:Pe,behavior:Be})}}}}]);
}());