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/antdesign.1bb62e86.async.js

1 line
1.4 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.

(self.webpackChunk=self.webpackChunk||[]).push([[8891],{70557:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},27812:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},89489:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},59477:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},40001:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},81953:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},26227:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},49198:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},84105:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},41464:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},18785:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},87169:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},73331:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},15277:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},52671:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},8657:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},56082:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},61481:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},33853:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},12893:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},15075:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},32134:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},62772:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},43531:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},61485:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},38819:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},47472:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},87395:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={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"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},32050:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(54476),o=r(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},a=r(7657),s=function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},73958:function(){},29509:function(e,t,r){"use strict";r.d(t,{o2:function(){return s},yT:function(){return l}});var n=r(94480),o=r(34998);const i=o.i.map((e=>`${e}-inverse`)),a=["success","processing","error","default","warning"];function s(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?[].concat((0,n.Z)(i),(0,n.Z)(o.i)).includes(e):o.i.includes(e)}function l(e){return a.includes(e)}},9981:function(e,t){"use strict";t.Z=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t++){const r=t<0||arguments.length<=t?void 0:arguments[t];r&&Object.keys(r).forEach((t=>{const n=r[t];void 0!==n&&(e[t]=n)}))}return e}},86013:function(e,t,r){"use strict";var n=r(59301),o=r(19248);t.Z=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:n.createElement(o.Z,null)}),t}},54500:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});const n=e=>e?"function"==typeof e?e():e:null},97224:function(e,t,r){"use strict";function n(e){return null!=e&&e===e.window}r.d(t,{F:function(){return n}});t.Z=e=>{var t,r;if("undefined"==typeof window)return 0;let o=0;return n(e)?o=e.pageYOffset:e instanceof Document?o=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(o=e.scrollTop),e&&!n(e)&&"number"!=typeof o&&(o=null===(r=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===r?void 0:r.scrollTop),o}},52838:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(37645);const o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},i={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},a=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function s(e){const{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:s,offset:l,borderRadius:c,visibleFirst:u}=e,d=t/2,h={};return Object.keys(o).forEach((e=>{const p=s&&i[e]||o[e],m=Object.assign(Object.assign({},p),{offset:[0,0],dynamicInset:!0});switch(h[e]=m,a.has(e)&&(m.autoArrow=!1),e){case"top":case"topLeft":case"topRight":m.offset[1]=-d-l;break;case"bottom":case"bottomLeft":case"bottomRight":m.offset[1]=d+l;break;case"left":case"leftTop":case"leftBottom":m.offset[0]=-d-l;break;case"right":case"rightTop":case"rightBottom":m.offset[0]=d+l}const f=(0,n.wZ)({contentRadius:c,limitVerticalRadius:!0});if(s)switch(e){case"topLeft":case"bottomLeft":m.offset[0]=-f.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":m.offset[0]=f.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":m.offset[1]=2*-f.arrowOffsetHorizontal+d;break;case"leftBottom":case"rightBottom":m.offset[1]=2*f.arrowOffsetHorizontal-d}m.overflow=function(e,t,r,n){if(!1===n)return{adjustX:!1,adjustY:!1};const o=n&&"object"==typeof n?n:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+r,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+r,i.shiftX=!0,i.adjustX=!0}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,f,t,r),u&&(m.htmlRegion="visibleFirst")})),h}},83010:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(16089);function o(e,t,r,n){const o=r-t;return(e/=n/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}var i=r(97224);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{getContainer:r=(()=>window),callback:a,duration:s=450}=t,l=r(),c=(0,i.Z)(l),u=Date.now(),d=()=>{const t=Date.now()-u,r=o(t>s?s:t,c,e,s);(0,i.F)(l)?l.scrollTo(window.pageXOffset,r):l instanceof Document||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=r:l.scrollTop=r,t<s?(0,n.Z)(d):"function"==typeof a&&a()};(0,n.Z)(d)}},82855:function(e,t,r){"use strict";r.d(t,{F:function(){return a},Z:function(){return i}});var n=r(92310),o=r.n(n);function i(e,t,r){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:r})}const a=(e,t)=>t||e},41780:function(e,t,r){"use strict";var n=r(94480),o=r(16089);t.Z=function(e){let t;const r=r=>()=>{t=null,e.apply(void 0,(0,n.Z)(r))},i=function(){if(null==t){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t=(0,o.Z)(r(n))}};return i.cancel=()=>{o.Z.cancel(t),t=null},i}},48608:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(59301),o=r(92310),i=r.n(o),a=r(29301),s=r(41780),l=r(48755);var c=(0,r(16931).I$)("Affix",(e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}}),(e=>({zIndexPopup:e.zIndexBase+10})));function u(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function d(e,t,r){if(void 0!==r&&Math.round(t.top)>Math.round(e.top)-r)return r+t.top}function h(e,t,r){if(void 0!==r&&Math.round(t.bottom)<Math.round(e.bottom)+r){return r+(window.innerHeight-t.bottom)}}var p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const m=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function f(){return"undefined"!=typeof window?window:null}var g=n.forwardRef(((e,t)=>{var r;const{style:o,offsetTop:g,offsetBottom:b,prefixCls:v,className:y,rootClassName:w,children:x,target:S,onChange:k,onTestUpdatePosition:C}=e,$=p(e,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:j,getTargetContainer:O}=n.useContext(l.E_),_=j("affix",v),[N,A]=n.useState(!1),[I,E]=n.useState(),[z,M]=n.useState(),P=n.useRef(0),L=n.useRef(null),B=n.useRef(null),T=n.useRef(null),R=n.useRef(null),F=n.useRef(null),D=null!==(r=null!=S?S:O)&&void 0!==r?r:f,q=void 0===b&&void 0===g?0:g,H=()=>{P.current=1,(()=>{if(1!==P.current||!R.current||!T.current||!D)return;const e=D();if(e){const t={status:0},r=u(T.current);if(0===r.top&&0===r.left&&0===r.width&&0===r.height)return;const n=u(e),o=d(r,n,q),i=h(r,n,b);void 0!==o?(t.affixStyle={position:"fixed",top:o,width:r.width,height:r.height},t.placeholderStyle={width:r.width,height:r.height}):void 0!==i&&(t.affixStyle={position:"fixed",bottom:i,width:r.width,height:r.height},t.placeholderStyle={width:r.width,height:r.height}),t.lastAffix=!!t.affixStyle,N!==t.lastAffix&&(null==k||k(t.lastAffix)),P.current=t.status,E(t.affixStyle),M(t.placeholderStyle),A(t.lastAffix)}})()},W=(0,s.Z)((()=>{H()})),Z=(0,s.Z)((()=>{if(D&&I){const e=D();if(e&&T.current){const t=u(e),r=u(T.current),n=d(r,t,q),o=h(r,t,b);if(void 0!==n&&I.top===n||void 0!==o&&I.bottom===o)return}}H()})),U=()=>{const e=null==D?void 0:D();e&&(m.forEach((t=>{var r;B.current&&(null===(r=L.current)||void 0===r||r.removeEventListener(t,B.current)),null==e||e.addEventListener(t,Z)})),L.current=e,B.current=Z)};n.useImperativeHandle(t,(()=>({updatePosition:W}))),n.useEffect((()=>(F.current=setTimeout(U),()=>(()=>{F.current&&(clearTimeout(F.current),F.current=null);const e=null==D?void 0:D();m.forEach((t=>{var r;null==e||e.removeEventListener(t,Z),B.current&&(null===(r=L.current)||void 0===r||r.removeEventListener(t,B.current))})),W.cancel(),Z.cancel()})())),[]),n.useEffect((()=>{U()}),[S,I,N]),n.useEffect((()=>{W()}),[S,g,b]);const[V,G,X]=c(_),Y=i()(w,G,_,X),K=i()({[Y]:I});return V(n.createElement(a.Z,{onResize:W},n.createElement("div",Object.assign({style:o,className:y,ref:T},$),I&&n.createElement("div",{style:z,"aria-hidden":"true"}),n.createElement("div",{className:K,ref:R,style:I},n.createElement(a.Z,{onResize:W},x)))))}))},1560:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(2738),o=r(45915),i=r(82326),a=r(59301),s=r(92310),l=r.n(s),c=r(11592),u=r(75030),d=r(48755);const{Option:h}=i.default;function p(e){return(null==e?void 0:e.type)&&(e.type.isSelectOption||e.type.isSelectOptGroup)}const m=(e,t)=>{var r;const{prefixCls:o,className:s,popupClassName:m,dropdownClassName:f,children:g,dataSource:b}=e,v=(0,c.Z)(g);let y;1===v.length&&a.isValidElement(v[0])&&!p(v[0])&&([y]=v);const w=y?()=>y:void 0;let x;x=v.length&&p(v[0])?g:b?b.map((e=>{if(a.isValidElement(e))return e;switch(typeof e){case"string":return a.createElement(h,{key:e,value:e},e);case"object":{const{value:t}=e;return a.createElement(h,{key:t,value:t},e.text)}default:return}})):[];const{getPrefixCls:S}=a.useContext(d.E_),k=S("select",o),[C]=(0,u.Cn)("SelectLike",null===(r=e.dropdownStyle)||void 0===r?void 0:r.zIndex);return a.createElement(i.default,Object.assign({ref:t,suffixIcon:null},(0,n.Z)(e,["dataSource","dropdownClassName"]),{prefixCls:k,popupClassName:m||f,dropdownStyle:Object.assign(Object.assign({},e.dropdownStyle),{zIndex:C}),className:l()(`${k}-auto-complete`,s),mode:i.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:w}),x)};var f=a.forwardRef(m);const{Option:g}=i.default,b=(0,o.Z)(f,"dropdownAlign",(e=>(0,n.Z)(e,["visible"]))),v=f;v.Option=g,v._InternalPanelDoNotUseOrYouWillBeFired=b;var y=v},91882:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(59301),o=r(92310),i=r.n(o),a=r(11592),s=r(26112),l=r(22703),c=r(48755),u=r(84105),d=r(19563);const h=e=>{let{children:t}=e;const{getPrefixCls:r}=n.useContext(c.E_),o=r("breadcrumb");return n.createElement("li",{className:`${o}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var p=h,m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function f(e,t,r,o){if(null==r)return null;const{className:a,onClick:l}=t,c=m(t,["className","onClick"]),u=Object.assign(Object.assign({},(0,s.Z)(c,{data:!0,aria:!0})),{onClick:l});return void 0!==o?n.createElement("a",Object.assign({},u,{className:i()(`${e}-link`,a),href:o}),r):n.createElement("span",Object.assign({},u,{className:i()(`${e}-link`,a)}),r)}function g(e,t){return(r,n,o,i,a)=>{if(t)return t(r,n,o,i);const s=function(e,t){if(void 0===e.title||null===e.title)return null;const r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${r})`,"g"),((e,r)=>t[r]||e))}(r,n);return f(e,r,s,a)}}var b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const v=e=>{const{prefixCls:t,separator:r="/",children:o,menu:i,overlay:a,dropdownProps:s,href:l}=e;const c=(e=>{if(i||a){const r=Object.assign({},s);if(i){const e=i||{},{items:t}=e,o=b(e,["items"]);r.menu=Object.assign(Object.assign({},o),{items:null==t?void 0:t.map(((e,t)=>{var{key:r,title:o,label:i,path:a}=e,s=b(e,["key","title","label","path"]);let c=null!=i?i:o;return a&&(c=n.createElement("a",{href:`${l}${a}`},c)),Object.assign(Object.assign({},s),{key:null!=r?r:t,label:c})}))})}else a&&(r.overlay=a);return n.createElement(d.Z,Object.assign({placement:"bottom"},r),n.createElement("span",{className:`${t}-overlay-link`},e,n.createElement(u.Z,null)))}return e})(o);return null!=c?n.createElement(n.Fragment,null,n.createElement("li",null,c),r&&n.createElement(p,null,r)):null},y=e=>{const{prefixCls:t,children:r,href:o}=e,i=b(e,["prefixCls","children","href"]),{getPrefixCls:a}=n.useContext(c.E_),s=a("breadcrumb",t);return n.createElement(v,Object.assign({},i,{prefixCls:s}),f(s,i,r,o))};y.__ANT_BREADCRUMB_ITEM=!0;var w=y,x=r(36237),S=r(63356),k=r(16931),C=r(51636);var $=(0,k.I$)("Breadcrumb",(e=>(e=>{const{componentCls:t,iconCls:r,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,S.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,x.unit)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:n(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,S.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${r} + span,\n > ${r} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,x.unit)(e.paddingXXS)}`,marginInline:n(e.marginXXS).mul(-1).equal(),[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}})((0,C.mergeToken)(e,{}))),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function O(e){const{breadcrumbName:t,children:r}=e,n=j(e,["breadcrumbName","children"]),o=Object.assign({title:t},n);return r&&(o.menu={items:r.map((e=>{var{breadcrumbName:t}=e,r=j(e,["breadcrumbName"]);return Object.assign(Object.assign({},r),{title:t})}))}),o}var _=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const N=e=>{const{prefixCls:t,separator:r="/",style:o,className:u,rootClassName:d,routes:h,items:m,children:f,itemRender:b,params:y={}}=e,w=_(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:x,direction:S,breadcrumb:k}=n.useContext(c.E_);let C;const j=x("breadcrumb",t),[N,A,I]=$(j),E=function(e,t){return(0,n.useMemo)((()=>e||(t?t.map(O):null)),[e,t])}(m,h);const z=g(j,b);if(E&&E.length>0){const e=[],t=m||h;C=E.map(((o,i)=>{const{path:a,key:l,type:c,menu:u,overlay:d,onClick:h,className:m,separator:f,dropdownProps:g}=o,b=((e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{r=r.replace(`:${t}`,e[t])})),r})(y,a);void 0!==b&&e.push(b);const w=null!=l?l:i;if("separator"===c)return n.createElement(p,{key:w},f);const x={},S=i===E.length-1;u?x.menu=u:d&&(x.overlay=d);let{href:k}=o;return e.length&&void 0!==b&&(k=`#/${e.join("/")}`),n.createElement(v,Object.assign({key:w},x,(0,s.Z)(o,{data:!0,aria:!0}),{className:m,dropdownProps:g,href:k,separator:S?"":r,onClick:h,prefixCls:j}),z(o,y,t,e,k))}))}else if(f){const e=(0,a.Z)(f).length;C=(0,a.Z)(f).map(((t,n)=>{if(!t)return t;const o=n===e-1;return(0,l.Tm)(t,{separator:o?"":r,key:n})}))}const M=i()(j,null==k?void 0:k.className,{[`${j}-rtl`]:"rtl"===S},u,d,A,I),P=Object.assign(Object.assign({},null==k?void 0:k.style),o);return N(n.createElement("nav",Object.assign({className:M,style:P},w),n.createElement("ol",null,C)))};N.Item=w,N.Separator=p;var A=N},17149:function(e,t,r){"use strict";r.d(t,{Z:function(){return G}});var n=r(94480),o=r(59301),i=r(92310),a=r.n(i),s=r(63727),l=r(2738),c=r(75030),u=r(86641),d=r(45915),h=r(82855),p=r(48755),m=r(38406),f=r(2171),g=r(83397),b=r(31756),v=r(56553),y=r(24971),w=r(1722),x=r(90376),S=r(68525),k=r(90005),C=r(70045);var $=function(e,t){const{getPrefixCls:r,direction:n,renderEmpty:i}=o.useContext(p.E_),a=t||n;return[r("select",e),r("cascader",e),a,i]};function j(e,t){return o.useMemo((()=>!!t&&o.createElement("span",{className:`${e}-checkbox-inner`})),[t])}var O=r(33853),_=r(58617),N=r(38819);var A=(e,t,r)=>{let n=r;r||(n=t?o.createElement(O.Z,null):o.createElement(N.Z,null));const i=o.createElement("span",{className:`${e}-menu-item-loading-icon`},o.createElement(_.Z,{spin:!0}));return o.useMemo((()=>[n,i]),[n])},I=r(56119),E=r(16931),z=r(36237),M=r(36170),P=r(63356);var L=e=>{const{prefixCls:t,componentCls:r}=e,n=`${r}-menu-item`,o=`\n &${n}-expand ${n}-expand-icon,\n ${n}-loading-icon\n`;return[(0,M.C2)(`${t}-checkbox`,e),{[r]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${r}-menu-empty`]:{[`${r}-menu`]:{width:"100%",height:"auto",[n]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,z.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},P.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[o]:{color:e.colorTextDisabled}},[`&-active:not(${n}-disabled)`]:{"&, &:hover":{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[o]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]};const B=e=>{const{componentCls:t,antCls:r}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${r}-select-dropdown`]:{padding:0}},L(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},(0,I.c)(e)]},T=e=>{const t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS,optionSelectedColor:e.colorText}};var R=(0,E.I$)("Cascader",(e=>[B(e)]),T);var F=(0,E.A1)(["Cascader","Panel"],(e=>(e=>{const{componentCls:t}=e;return{[`${t}-panel`]:[L(e),{display:"inline-flex",border:`${(0,z.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}})(e)),T);var D=function(e){const{prefixCls:t,className:r,multiple:n,rootClassName:i,notFoundContent:l,direction:c,expandIcon:u,disabled:d}=e,h=o.useContext(f.Z),p=null!=d?d:h,[b,v,y,w]=$(t,c),x=(0,g.Z)(v),[S,k,C]=R(v,x);F(v);const O="rtl"===y,[_,N]=A(b,O,u),I=l||(null==w?void 0:w("Cascader"))||o.createElement(m.Z,{componentName:"Cascader"}),E=j(v,n);return S(o.createElement(s.s,Object.assign({},e,{checkable:E,prefixCls:v,className:a()(r,k,i,C,x),notFoundContent:I,direction:y,expandIcon:_,loadingIcon:N,disabled:p})))},q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const{SHOW_CHILD:H,SHOW_PARENT:W}=s.default;const Z=(e,t,r,i)=>{const a=[],s=e.toLowerCase();return t.forEach(((e,t)=>{0!==t&&a.push(" / ");let l=e[i.label];const c=typeof l;"string"!==c&&"number"!==c||(l=function(e,t,r){const i=e.toLowerCase().split(t).reduce(((e,r,o)=>0===o?[r]:[].concat((0,n.Z)(e),[t,r])),[]),a=[];let s=0;return i.forEach(((t,n)=>{const i=s+t.length;let l=e.slice(s,i);s=i,n%2==1&&(l=o.createElement("span",{className:`${r}-menu-item-keyword`,key:`separator-${n}`},l)),a.push(l)})),a}(String(l),s,r)),a.push(l)})),a},U=o.forwardRef(((e,t)=>{var r;const{prefixCls:n,size:i,disabled:d,className:O,rootClassName:_,multiple:N,bordered:I=!0,transitionName:E,choiceTransitionName:z="",popupClassName:M,dropdownClassName:P,expandIcon:L,placement:B,showSearch:T,allowClear:F=!0,notFoundContent:D,direction:H,getPopupContainer:W,status:U,showArrow:V,builtinPlacements:G,style:X,variant:Y}=e,K=q(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),J=(0,l.Z)(K,["suffixIcon"]),{getPrefixCls:Q,getPopupContainer:ee,className:te,style:re}=(0,p.dj)("cascader"),{popupOverflow:ne}=o.useContext(p.E_),{status:oe,hasFeedback:ie,isFormItemInput:ae,feedbackIcon:se}=o.useContext(v.aM),le=(0,h.F)(oe,U);const[ce,ue,de,he]=$(n,H),pe="rtl"===de,me=Q(),fe=(0,g.Z)(ce),[ge,be,ve]=(0,x.Z)(ce,fe),ye=(0,g.Z)(ue),[we]=R(ue,ye),{compactSize:xe,compactItemClassnames:Se}=(0,C.ri)(ce,H),[ke,Ce]=(0,y.Z)("cascader",Y,I),$e=D||(null==he?void 0:he("Cascader"))||o.createElement(m.Z,{componentName:"Cascader"}),je=a()(M||P,`${ue}-dropdown`,{[`${ue}-dropdown-rtl`]:"rtl"===de},_,fe,ye,be,ve),Oe=o.useMemo((()=>{if(!T)return T;let e={render:Z};return"object"==typeof T&&(e=Object.assign(Object.assign({},e),T)),e}),[T]),_e=(0,b.Z)((e=>{var t;return null!==(t=null!=i?i:xe)&&void 0!==t?t:e})),Ne=o.useContext(f.Z),Ae=null!=d?d:Ne,[Ie,Ee]=A(ce,pe,L),ze=j(ue,N),Me=(0,k.Z)(e.suffixIcon,V),{suffixIcon:Pe,removeIcon:Le,clearIcon:Be}=(0,S.Z)(Object.assign(Object.assign({},e),{hasFeedback:ie,feedbackIcon:se,showSuffixIcon:Me,multiple:N,prefixCls:ce,componentName:"Cascader"})),Te=o.useMemo((()=>void 0!==B?B:pe?"bottomRight":"bottomLeft"),[B,pe]),Re=!0===F?{clearIcon:Be}:F,[Fe]=(0,c.Cn)("SelectLike",null===(r=J.dropdownStyle)||void 0===r?void 0:r.zIndex);return we(ge(o.createElement(s.default,Object.assign({prefixCls:ce,className:a()(!n&&ue,{[`${ce}-lg`]:"large"===_e,[`${ce}-sm`]:"small"===_e,[`${ce}-rtl`]:pe,[`${ce}-${ke}`]:Ce,[`${ce}-in-form-item`]:ae},(0,h.Z)(ce,le,ie),Se,te,O,_,fe,ye,be,ve),disabled:Ae,style:Object.assign(Object.assign({},re),X)},J,{builtinPlacements:(0,w.Z)(G,ne),direction:de,placement:Te,notFoundContent:$e,allowClear:Re,showSearch:Oe,expandIcon:Ie,suffixIcon:Pe,removeIcon:Le,loadingIcon:Ee,checkable:ze,dropdownClassName:je,dropdownPrefixCls:n||ue,dropdownStyle:Object.assign(Object.assign({},J.dropdownStyle),{zIndex:Fe}),choiceTransitionName:(0,u.m)(me,"",z),transitionName:(0,u.m)(me,"slide-up",E),getPopupContainer:W||ee,ref:t}))))}));const V=(0,d.Z)(U,"dropdownAlign",(e=>(0,l.Z)(e,["visible"])));U.SHOW_PARENT=W,U.SHOW_CHILD=H,U.Panel=D,U._InternalPanelDoNotUseOrYouWillBeFired=V;var G=U},62673:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(59301),o=r(92310),i=r.n(o),a=r(16632),s=r(8654),l=r(12919),c=r(63872),u=r(48755),d=r(2171),h=r(83397),p=r(56553);var m=n.createContext(null),f=r(36170),g=r(74632),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const v=(e,t)=>{var r;const{prefixCls:o,className:v,rootClassName:y,children:w,indeterminate:x=!1,style:S,onMouseEnter:k,onMouseLeave:C,skipGroup:$=!1,disabled:j}=e,O=b(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:_,direction:N,checkbox:A}=n.useContext(u.E_),I=n.useContext(m),{isFormItemInput:E}=n.useContext(p.aM),z=n.useContext(d.Z),M=null!==(r=(null==I?void 0:I.disabled)||j)&&void 0!==r?r:z,P=n.useRef(O.value),L=n.useRef(null),B=(0,s.sQ)(t,L);n.useEffect((()=>{null==I||I.registerValue(O.value)}),[]),n.useEffect((()=>{if(!$)return O.value!==P.current&&(null==I||I.cancelValue(P.current),null==I||I.registerValue(O.value),P.current=O.value),()=>null==I?void 0:I.cancelValue(O.value)}),[O.value]),n.useEffect((()=>{var e;(null===(e=L.current)||void 0===e?void 0:e.input)&&(L.current.input.indeterminate=x)}),[x]);const T=_("checkbox",o),R=(0,h.Z)(T),[F,D,q]=(0,f.ZP)(T,R),H=Object.assign({},O);I&&!$&&(H.onChange=function(){O.onChange&&O.onChange.apply(O,arguments),I.toggleOption&&I.toggleOption({label:w,value:O.value})},H.name=I.name,H.checked=I.value.includes(O.value));const W=i()(`${T}-wrapper`,{[`${T}-rtl`]:"rtl"===N,[`${T}-wrapper-checked`]:H.checked,[`${T}-wrapper-disabled`]:M,[`${T}-wrapper-in-form-item`]:E},null==A?void 0:A.className,v,y,q,R,D),Z=i()({[`${T}-indeterminate`]:x},c.A,D),[U,V]=(0,g.Z)(H.onClick);return F(n.createElement(l.Z,{component:"Checkbox",disabled:M},n.createElement("label",{className:W,style:Object.assign(Object.assign({},null==A?void 0:A.style),S),onMouseEnter:k,onMouseLeave:C,onClick:U},n.createElement(a.Z,Object.assign({},H,{onClick:V,prefixCls:T,className:Z,disabled:M,ref:B})),void 0!==w&&n.createElement("span",{className:`${T}-label`},w))))};var y=n.forwardRef(v),w=r(94480),x=r(2738),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const k=n.forwardRef(((e,t)=>{const{defaultValue:r,children:o,options:a=[],prefixCls:s,className:l,rootClassName:c,style:d,onChange:p}=e,g=S(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:b,direction:v}=n.useContext(u.E_),[k,C]=n.useState(g.value||r||[]),[$,j]=n.useState([]);n.useEffect((()=>{"value"in g&&C(g.value||[])}),[g.value]);const O=n.useMemo((()=>a.map((e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e))),[a]),_=b("checkbox",s),N=`${_}-group`,A=(0,h.Z)(_),[I,E,z]=(0,f.ZP)(_,A),M=(0,x.Z)(g,["value","disabled"]),P=a.length?O.map((e=>n.createElement(y,{prefixCls:_,key:e.value.toString(),disabled:"disabled"in e?e.disabled:g.disabled,value:e.value,checked:k.includes(e.value),onChange:e.onChange,className:`${N}-item`,style:e.style,title:e.title,id:e.id,required:e.required},e.label))):o,L={toggleOption:e=>{const t=k.indexOf(e.value),r=(0,w.Z)(k);-1===t?r.push(e.value):r.splice(t,1),"value"in g||C(r),null==p||p(r.filter((e=>$.includes(e))).sort(((e,t)=>O.findIndex((t=>t.value===e))-O.findIndex((e=>e.value===t)))))},value:k,disabled:g.disabled,name:g.name,registerValue:e=>{j((t=>[].concat((0,w.Z)(t),[e])))},cancelValue:e=>{j((t=>t.filter((t=>t!==e))))}},B=i()(N,{[`${N}-rtl`]:"rtl"===v},l,c,z,A,E);return I(n.createElement("div",Object.assign({className:B,style:d},M,{ref:t}),n.createElement(m.Provider,{value:L},P)))}));var C=k;const $=y;$.Group=C,$.__ANT_CHECKBOX=!0;var j=$},36170:function(e,t,r){"use strict";r.d(t,{C2:function(){return l}});var n=r(36237),o=r(63356),i=r(51636),a=r(16931);const s=e=>{const{checkboxCls:t}=e,r=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[r]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${r}`]:{marginInlineStart:0},[`&${r}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,o.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${(0,n.unit)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`\n ${r}:not(${r}-disabled),\n ${t}:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${r}:not(${r}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`\n ${r}-checked:not(${r}-disabled),\n ${t}-checked:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${r}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function l(e,t){const r=(0,i.mergeToken)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[s(r)]}t.ZP=(0,a.I$)("Checkbox",((e,t)=>{let{prefixCls:r}=t;return[l(r,e)]}))},74632:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(59301),o=r(16089);function i(e){const t=n.useRef(null),r=()=>{o.Z.cancel(t.current),t.current=null};return[()=>{r(),t.current=(0,o.Z)((()=>{t.current=null}))},n=>{t.current&&(n.stopPropagation(),r()),null==e||e(n)}]}},8848:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(59301),o=r(38819),i=r(92310),a=r.n(i),s=r(98535),l=r(11592),c=r(2738),u=r(86641),d=r(22703),h=r(48755),p=r(31756);var m=n.forwardRef(((e,t)=>{const{getPrefixCls:r}=n.useContext(h.E_),{prefixCls:o,className:i,showArrow:l=!0}=e,c=r("collapse",o),u=a()({[`${c}-no-arrow`]:!l},i);return n.createElement(s.default.Panel,Object.assign({ref:t},e,{prefixCls:c,className:u}))})),f=r(36237),g=r(63356),b=r(34961),v=r(16931),y=r(51636);const w=e=>{const{componentCls:t,contentBg:r,padding:n,headerBg:o,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:d,colorText:h,colorTextHeading:p,colorTextDisabled:m,fontSizeLG:b,lineHeight:v,lineHeightLG:y,marginSM:w,paddingSM:x,paddingLG:S,paddingXS:k,motionDurationSlow:C,fontSizeIcon:$,contentPadding:j,fontHeight:O,fontHeightLG:_}=e,N=`${(0,f.unit)(c)} ${u} ${d}`;return{[t]:Object.assign(Object.assign({},(0,g.Wf)(e)),{backgroundColor:o,border:N,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:N,"&:first-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`${(0,f.unit)(l)} ${(0,f.unit)(l)} 0 0`}},"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${(0,f.unit)(l)} ${(0,f.unit)(l)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:p,lineHeight:v,cursor:"pointer",transition:`all ${C}, visibility 0s`},(0,g.Qy)(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:O,display:"flex",alignItems:"center",paddingInlineEnd:w},[`${t}-arrow`]:Object.assign(Object.assign({},(0,g.Ro)()),{fontSize:$,transition:`transform ${C}`,svg:{transition:`transform ${C}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:r,borderTop:N,[`& > ${t}-content-box`]:{padding:j},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:k,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(x).sub(k).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},"&-large":{[`> ${t}-item`]:{fontSize:b,lineHeight:y,[`> ${t}-header`]:{padding:s,paddingInlineStart:n,[`> ${t}-expand-icon`]:{height:_,marginInlineStart:e.calc(S).sub(n).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,f.unit)(l)} ${(0,f.unit)(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:m,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:w}}}}})}},x=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow`]:{transform:"rotate(180deg)"}}}},S=e=>{const{componentCls:t,headerBg:r,paddingXXS:n,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:r,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:n}}}},k=e=>{const{componentCls:t,paddingSM:r}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:r}}}}}};var C=(0,v.I$)("Collapse",(e=>{const t=(0,y.mergeToken)(e,{collapseHeaderPaddingSM:`${(0,f.unit)(e.paddingXS)} ${(0,f.unit)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,f.unit)(e.padding)} ${(0,f.unit)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[w(t),S(t),k(t),x(t),(0,b.Z)(t)]}),(e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer})));const $=n.forwardRef(((e,t)=>{const{getPrefixCls:r,direction:i,expandIcon:m,className:f,style:g}=(0,h.dj)("collapse"),{prefixCls:b,className:v,rootClassName:y,style:w,bordered:x=!0,ghost:S,size:k,expandIconPosition:$="start",children:j,expandIcon:O}=e,_=(0,p.Z)((e=>{var t;return null!==(t=null!=k?k:e)&&void 0!==t?t:"middle"})),N=r("collapse",b),A=r(),[I,E,z]=C(N);const M=n.useMemo((()=>"left"===$?"start":"right"===$?"end":$),[$]),P=null!=O?O:m,L=n.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t="function"==typeof P?P(e):n.createElement(o.Z,{rotate:e.isActive?"rtl"===i?-90:90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,d.Tm)(t,(()=>{var e;return{className:a()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${N}-arrow`)}}))}),[P,N]),B=a()(`${N}-icon-position-${M}`,{[`${N}-borderless`]:!x,[`${N}-rtl`]:"rtl"===i,[`${N}-ghost`]:!!S,[`${N}-${_}`]:"middle"!==_},f,v,y,E,z),T=Object.assign(Object.assign({},(0,u.Z)(A)),{motionAppear:!1,leavedClassName:`${N}-content-hidden`}),R=n.useMemo((()=>j?(0,l.Z)(j).map(((e,t)=>{var r,n;const o=e.props;if(null==o?void 0:o.disabled){const i=null!==(r=e.key)&&void 0!==r?r:String(t),a=Object.assign(Object.assign({},(0,c.Z)(e.props,["disabled"])),{key:i,collapsible:null!==(n=o.collapsible)&&void 0!==n?n:"disabled"});return(0,d.Tm)(e,a)}return e})):null),[j]);return I(n.createElement(s.default,Object.assign({ref:t,openMotion:T},(0,c.Z)(e,["rootClassName"]),{expandIcon:L,prefixCls:N,className:B,style:Object.assign(Object.assign({},g),w)}),R))}));var j=Object.assign($,{Panel:m})},38406:function(e,t,r){"use strict";var n=r(59301),o=r(48755),i=r(584);t.Z=e=>{const{componentName:t}=e,{getPrefixCls:r}=(0,n.useContext)(o.E_),a=r("empty");switch(t){case"Table":case"List":return n.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return n.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:`${a}-small`});case"Table.filter":return null;default:return n.createElement(i.Z,null)}}},16326:function(e,t,r){"use strict";r.d(t,{default:function(){return je}});var n=r(48365),o=r(45915),i=r(59301),a=r(54476),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},l=r(7657),c=function(e,t){return i.createElement(l.Z,(0,a.Z)({},e,{ref:t,icon:s}))};var u=i.forwardRef(c),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},h=function(e,t){return i.createElement(l.Z,(0,a.Z)({},e,{ref:t,icon:d}))};var p=i.forwardRef(h),m={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},f=function(e,t){return i.createElement(l.Z,(0,a.Z)({},e,{ref:t,icon:m}))};var g=i.forwardRef(f),b=r(92310),v=r.n(b),y=r(8571),w=r(62487),x=r(75030),S=r(82855),k=r(48755),C=r(2171),$=r(83397),j=r(31756),O=r(56553),_=r(24971),N=r(9017),A=r(70045),I=r(57428),E=r(36237),z=r(53075),M=r(64910),P=r(63356),L=r(56119),B=r(46e3),T=r(93873),R=r(36305),F=r(16931),D=r(51636),q=r(26743);const H=(e,t)=>{const{componentCls:r,controlHeight:n}=e,o=t?`${r}-${t}`:"",i=(0,q.gp)(e);return[{[`${r}-multiple${o}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:n,[`${r}-selection-item`]:{height:i.itemHeight,lineHeight:(0,E.unit)(i.itemLineHeight)}}}]};var W=e=>{const{componentCls:t,calc:r,lineWidth:n}=e,o=(0,D.mergeToken)(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=(0,D.mergeToken)(e,{fontHeight:r(e.multipleItemHeightLG).sub(r(n).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[H(o,"small"),H(e),H(i,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},(0,q._z)(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Z=r(17835);const U=e=>{const{pickerCellCls:t,pickerCellInnerCls:r,cellHeight:n,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:s,lineType:l,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:h,cellBgDisabled:p,colorFillSecondary:m}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:n,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[r]:{position:"relative",zIndex:2,display:"inline-block",minWidth:n,height:n,lineHeight:(0,E.unit)(n),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view):not(${t}-disabled),\n &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[r]:{background:a}},[`&-in-view${t}-today ${r}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,E.unit)(s)} ${l} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,\n &-in-view${t}-range-start,\n &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,\n &-in-view${t}-range-start,\n &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${r}`]:{color:d,background:c},[`&${t}-disabled ${r}`]:{background:m}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${r}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:h,cursor:"not-allowed",[r]:{background:"transparent"},"&::before":{background:p}},[`&-disabled${t}-today ${r}::before`]:{borderColor:h}}},V=e=>{const{componentCls:t,pickerCellCls:r,pickerCellInnerCls:n,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:s,paddingXS:l,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:h,borderRadiusLG:p,colorPrimary:m,colorTextHeading:f,colorSplit:g,pickerControlIconBorderWidth:b,colorIcon:v,textHeight:y,motionDurationMid:w,colorIconHover:x,fontWeightStrong:S,cellHeight:k,pickerCellPaddingVertical:C,colorTextDisabled:$,colorText:j,fontSize:O,motionDurationSlow:_,withoutTimeCellHeight:N,pickerQuarterPanelContentHeight:A,borderRadiusSM:I,colorTextLightSolid:z,cellHoverBg:M,timeColumnHeight:P,timeColumnWidth:L,timeCellHeight:B,controlItemBgActive:T,marginXXS:R,pickerDatePanelPaddingHorizontal:F,pickerControlIconMargin:D}=e;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:p,outline:"none","&-focused":{borderColor:m},"&-rtl":{[`${t}-prev-icon,\n ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,\n ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:e.calc(a).mul(7).add(e.calc(F).mul(2)).equal()},"&-header":{display:"flex",padding:`0 ${(0,E.unit)(l)}`,color:f,borderBottom:`${(0,E.unit)(d)} ${h} ${g}`,"> *":{flex:"none"},button:{padding:0,color:v,lineHeight:(0,E.unit)(y),background:"transparent",border:0,cursor:"pointer",transition:`color ${w}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:O,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:S,lineHeight:(0,E.unit)(y),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:m}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:b,borderInlineStartWidth:b,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:D,insetInlineStart:D,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:b,borderInlineStartWidth:b,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:k,fontWeight:"normal"},th:{height:e.calc(k).add(e.calc(C).mul(2)).equal(),color:j,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,E.unit)(C)} 0`,color:$,cursor:"pointer","&-in-view":{color:j}},U(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(N).mul(4).equal()},[n]:{padding:`0 ${(0,E.unit)(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[n]:{padding:`0 ${(0,E.unit)(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${(0,E.unit)(l)}`},[n]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${(0,E.unit)(l)} ${(0,E.unit)(F)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${n},\n &-selected ${n},\n ${n}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${w}`},"&:first-child:before":{borderStartStartRadius:I,borderEndStartRadius:I},"&:last-child:before":{borderStartEndRadius:I,borderEndEndRadius:I}},"&:hover td:before":{background:M},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${r}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new Z.FastColor(z).setA(.5).toHexString()},[n]:{color:z}}},"&-range-hover td:before":{background:T}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${(0,E.unit)(l)} ${(0,E.unit)(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${(0,E.unit)(d)} ${h} ${g}`},[`${t}-date-panel,\n ${t}-time-panel`]:{transition:`opacity ${_}`},"&-active":{[`${t}-date-panel,\n ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:P},"&-column":{flex:"1 0 auto",width:L,margin:`${(0,E.unit)(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${w}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,E.unit)(B)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,E.unit)(d)} ${h} ${g}`},"&-active":{background:new Z.FastColor(T).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:R,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(R).mul(2)).equal(),height:B,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(B).div(2).equal(),color:j,lineHeight:(0,E.unit)(B),borderRadius:I,cursor:"pointer",transition:`background ${w}`,"&:hover":{background:M}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:T}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:$,background:"transparent",cursor:"not-allowed"}}}}}}}}};var G=e=>{const{componentCls:t,textHeight:r,lineWidth:n,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${(0,E.unit)(n)} ${c} ${u}`,"&-extra":{padding:`0 ${(0,E.unit)(o)}`,lineHeight:(0,E.unit)(e.calc(r).sub(e.calc(n).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,E.unit)(n)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:(0,E.unit)(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,E.unit)(e.calc(r).sub(e.calc(n).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(n).mul(2).equal(),marginInlineStart:"auto"}}}}};var X=r(39082);var Y=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.qG)(e)),(0,X.vc)(e)),(0,X.H8)(e)),(0,X.Mu)(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,E.unit)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${(0,E.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,E.unit)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${(0,E.unit)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}};const K=(e,t,r,n)=>{const o=e.calc(r).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${(0,E.unit)(i)} ${(0,E.unit)(n)} ${(0,E.unit)(a)}`}},J=e=>{const{componentCls:t,colorError:r,colorWarning:n}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:r}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:n}}}}},Q=e=>{const{componentCls:t,antCls:r,controlHeight:n,paddingInline:o,lineWidth:i,lineType:a,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:h,fontSizeLG:p,controlHeightSM:m,paddingInlineSM:f,paddingXS:g,marginXS:b,colorTextDescription:v,lineWidthBold:y,colorPrimary:w,motionDurationSlow:x,zIndexPopup:S,paddingXXS:k,sizePopupArrow:C,colorBgElevated:$,borderRadiusLG:j,boxShadowSecondary:O,borderRadiusSM:_,colorSplit:N,cellHoverBg:A,presetsWidth:I,presetsMaxWidth:M,boxShadowPopoverArrow:L,fontHeight:F,fontHeightLG:D,lineHeightLG:q}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,P.Wf)(e)),K(e,n,F,o)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:`border ${c}, box-shadow ${c}, background ${c}`,[`${t}-prefix`]:{flex:"0 0 auto",marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`},(0,z.nz)(d)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:d}}},"&-large":Object.assign(Object.assign({},K(e,h,D,o)),{[`${t}-input > input`]:{fontSize:p,lineHeight:q}}),"&-small":Object.assign({},K(e,m,F,f)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(g).div(2).equal(),color:u,lineHeight:1,pointerEvents:"none",transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:b}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:u,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top"},"&:hover":{color:v}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:p,color:u,fontSize:p,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:v},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:y,background:w,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${(0,E.unit)(g)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:o},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:f}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,P.Wf)(e)),V(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft,\n &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft,\n &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${r}-slide-up-appear, &${r}-slide-up-enter`]:{[`${t}-range-arrow${t}-range-arrow`]:{transition:"none"}},[`&${r}-slide-up-enter${r}-slide-up-enter-active${t}-dropdown-placement-topLeft,\n &${r}-slide-up-enter${r}-slide-up-enter-active${t}-dropdown-placement-topRight,\n &${r}-slide-up-appear${r}-slide-up-appear-active${t}-dropdown-placement-topLeft,\n &${r}-slide-up-appear${r}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:B.Qt},[`&${r}-slide-up-enter${r}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,\n &${r}-slide-up-enter${r}-slide-up-enter-active${t}-dropdown-placement-bottomRight,\n &${r}-slide-up-appear${r}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,\n &${r}-slide-up-appear${r}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:B.fJ},[`&${r}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-topLeft,\n &${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:B.ly},[`&${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,\n &${r}-slide-up-leave${r}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:B.Uw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:k},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${x} ease-out`},(0,R.W)(e,$,L)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:$,borderRadius:j,boxShadow:O,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:I,maxWidth:M,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:g,borderInlineEnd:`${(0,E.unit)(i)} ${a} ${N}`,li:Object.assign(Object.assign({},P.vS),{borderRadius:_,paddingInline:g,paddingBlock:e.calc(m).sub(F).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:b},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${(0,E.unit)(e.calc(C).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"scale(-1, 1)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,B.oN)(e,"slide-up"),(0,B.oN)(e,"slide-down"),(0,T.Fm)(e,"move-up"),(0,T.Fm)(e,"move-down")]};var ee=(0,F.I$)("DatePicker",(e=>{const t=(0,D.mergeToken)((0,M.e)(e),(e=>{const{componentCls:t,controlHeightLG:r,paddingXXS:n,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(r).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(r).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(n).add(e.calc(n).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(n).div(2)).equal()}})(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[G(t),Q(t),Y(t),J(t),W(t),(0,L.c)(e,{focusElCls:`${e.componentCls}-focused`})]}),(e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,M.T)(e)),(e=>{const{colorBgContainerDisabled:t,controlHeight:r,controlHeightSM:n,controlHeightLG:o,paddingXXS:i,lineWidth:a}=e,s=2*i,l=2*a,c=Math.min(r-s,r-l),u=Math.min(n-s,n-l),d=Math.min(o-s,o-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Z.FastColor(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Z.FastColor(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:1.4*o,timeColumnHeight:224,timeCellHeight:28,cellWidth:1.5*n,cellHeight:n,textHeight:o,withoutTimeCellHeight:1.65*o,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:c,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}})(e)),(0,R.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}))),te=r(68525);function re(e,t,r){return void 0!==r?r:"year"===t&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function ne(e,t,r){return void 0!==r?r:"year"===t&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function oe(e,t){const{allowClear:r=!0}=e,{clearIcon:n,removeIcon:o}=(0,te.Z)(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[i.useMemo((()=>{if(!1===r)return!1;const e=!0===r?{}:r;return Object.assign({clearIcon:n},e)}),[r,n]),o]}const[ie,ae]=["week","WeekPicker"],[se,le]=["month","MonthPicker"],[ce,ue]=["year","YearPicker"],[de,he]=["quarter","QuarterPicker"],[pe,me]=["time","TimePicker"];var fe=r(99571);var ge=e=>i.createElement(fe.ZP,Object.assign({size:"small",type:"primary"},e));function be(e){return(0,i.useMemo)((()=>Object.assign({button:ge},e)),[e])}var ve=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var ye=e=>{const t=(0,i.forwardRef)(((t,r)=>{var n;const{prefixCls:o,getPopupContainer:a,components:s,className:l,style:c,placement:d,size:h,disabled:m,bordered:f=!0,placeholder:b,popupClassName:E,dropdownClassName:z,status:M,rootClassName:P,variant:L,picker:B}=t,T=ve(t,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),R=i.useRef(null),{getPrefixCls:F,direction:D,getPopupContainer:q,rangePicker:H}=(0,i.useContext)(k.E_),W=F("picker",o),{compactSize:Z,compactItemClassnames:U}=(0,A.ri)(W,D),V=F(),[G,X]=(0,_.Z)("rangePicker",L,f),Y=(0,$.Z)(W),[K,J,Q]=ee(W,Y);const[te]=oe(t,W),re=be(s),ie=(0,j.Z)((e=>{var t;return null!==(t=null!=h?h:Z)&&void 0!==t?t:e})),ae=i.useContext(C.Z),se=null!=m?m:ae,le=(0,i.useContext)(O.aM),{hasFeedback:ce,status:ue,feedbackIcon:de}=le,he=i.createElement(i.Fragment,null,B===pe?i.createElement(p,null):i.createElement(u,null),ce&&de);(0,i.useImperativeHandle)(r,(()=>R.current));const[me]=(0,N.Z)("Calendar",I.Z),fe=Object.assign(Object.assign({},me),t.locale),[ge]=(0,x.Cn)("DatePicker",null===(n=t.popupStyle)||void 0===n?void 0:n.zIndex);return K(i.createElement(w.Z,{space:!0},i.createElement(y.Sq,Object.assign({separator:i.createElement("span",{"aria-label":"to",className:`${W}-separator`},i.createElement(g,null)),disabled:se,ref:R,placement:d,placeholder:ne(fe,B,b),suffixIcon:he,prevIcon:i.createElement("span",{className:`${W}-prev-icon`}),nextIcon:i.createElement("span",{className:`${W}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${W}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${W}-super-next-icon`}),transitionName:`${V}-slide-up`,picker:B},T,{className:v()({[`${W}-${ie}`]:ie,[`${W}-${G}`]:X},(0,S.Z)(W,(0,S.F)(ue,M),ce),J,U,l,null==H?void 0:H.className,Q,Y,P),style:Object.assign(Object.assign({},null==H?void 0:H.style),c),locale:fe.lang,prefixCls:W,getPopupContainer:a||q,generateConfig:e,components:re,direction:D,classNames:{popup:v()(J,E||z,Q,Y,P)},styles:{popup:Object.assign(Object.assign({},t.popupStyle),{zIndex:ge})},allowClear:te}))))}));return t},we=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var xe=e=>{const t=(t,r)=>{const n=r===me?"timePicker":"datePicker",o=(0,i.forwardRef)(((r,o)=>{var a;const{prefixCls:s,getPopupContainer:l,components:c,style:d,className:h,rootClassName:m,size:f,bordered:g,placement:b,placeholder:E,popupClassName:z,dropdownClassName:M,disabled:P,status:L,variant:B,onCalendarChange:T}=r,R=we(r,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:F,direction:D,getPopupContainer:q,[n]:H}=(0,i.useContext)(k.E_),W=F("picker",s),{compactSize:Z,compactItemClassnames:U}=(0,A.ri)(W,D),V=i.useRef(null),[G,X]=(0,_.Z)("datePicker",B,g),Y=(0,$.Z)(W),[K,J,Q]=ee(W,Y);(0,i.useImperativeHandle)(o,(()=>V.current));const te=t||r.picker,ne=F(),{onSelect:ie,multiple:ae}=R,se=ie&&"time"===t&&!ae;const[le,ce]=oe(r,W),ue=be(c),de=(0,j.Z)((e=>{var t;return null!==(t=null!=f?f:Z)&&void 0!==t?t:e})),he=i.useContext(C.Z),pe=null!=P?P:he,me=(0,i.useContext)(O.aM),{hasFeedback:fe,status:ge,feedbackIcon:ve}=me,ye=i.createElement(i.Fragment,null,"time"===te?i.createElement(p,null):i.createElement(u,null),fe&&ve),[xe]=(0,N.Z)("DatePicker",I.Z),Se=Object.assign(Object.assign({},xe),r.locale),[ke]=(0,x.Cn)("DatePicker",null===(a=r.popupStyle)||void 0===a?void 0:a.zIndex);return K(i.createElement(w.Z,{space:!0},i.createElement(y.ZP,Object.assign({ref:V,placeholder:re(Se,te,E),suffixIcon:ye,placement:b,prevIcon:i.createElement("span",{className:`${W}-prev-icon`}),nextIcon:i.createElement("span",{className:`${W}-next-icon`}),superPrevIcon:i.createElement("span",{className:`${W}-super-prev-icon`}),superNextIcon:i.createElement("span",{className:`${W}-super-next-icon`}),transitionName:`${ne}-slide-up`,picker:t,onCalendarChange:(e,t,r)=>{null==T||T(e,t,r),se&&ie(e)}},{showToday:!0},R,{locale:Se.lang,className:v()({[`${W}-${de}`]:de,[`${W}-${G}`]:X},(0,S.Z)(W,(0,S.F)(ge,L),fe),J,U,null==H?void 0:H.className,h,Q,Y,m),style:Object.assign(Object.assign({},null==H?void 0:H.style),d),prefixCls:W,getPopupContainer:l||q,generateConfig:e,components:ue,direction:D,disabled:pe,classNames:{popup:v()(J,Q,Y,m,z||M)},styles:{popup:Object.assign(Object.assign({},r.popupStyle),{zIndex:ke})},allowClear:le,removeIcon:ce}))))}));return o},r=t(),n=t(ie,ae),o=t(se,le),a=t(ce,ue),s=t(de,he);return{DatePicker:r,WeekPicker:n,MonthPicker:o,YearPicker:a,TimePicker:t(pe,me),QuarterPicker:s}};var Se=e=>{const{DatePicker:t,WeekPicker:r,MonthPicker:n,YearPicker:o,TimePicker:i,QuarterPicker:a}=xe(e),s=ye(e),l=t;return l.WeekPicker=r,l.MonthPicker=n,l.YearPicker=o,l.RangePicker=s,l.TimePicker=i,l.QuarterPicker=a,l};const ke=Se(n.Z),Ce=(0,o.Z)(ke,"popupAlign",void 0,"picker");ke._InternalPanelDoNotUseOrYouWillBeFired=Ce;const $e=(0,o.Z)(ke.RangePicker,"popupAlign",void 0,"picker");ke._InternalRangePanelDoNotUseOrYouWillBeFired=$e,ke.generatePicker=Se;var je=ke},37285:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(59301),o=r(92310),i=r.n(o),a=r(48755),s=r(36237),l=r(63356),c=r(16931),u=r(51636);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:`${(0,s.unit)(o)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,s.unit)(o)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,s.unit)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,s.unit)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,s.unit)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-start`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,s.unit)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,s.unit)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}})}};var h=(0,c.I$)("Divider",(e=>{const t=(0,u.mergeToken)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS})),{unitless:{orientationMargin:!0}}),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var m=e=>{const{getPrefixCls:t,direction:r,className:o,style:s}=(0,a.dj)("divider"),{prefixCls:l,type:c="horizontal",orientation:u="center",orientationMargin:d,className:m,rootClassName:f,children:g,dashed:b,variant:v="solid",plain:y,style:w}=e,x=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),S=t("divider",l),[k,C,$]=h(S),j=!!g,O=n.useMemo((()=>"left"===u?"rtl"===r?"end":"start":"right"===u?"rtl"===r?"start":"end":u),[r,u]),_="start"===O&&null!=d,N="end"===O&&null!=d,A=i()(S,o,C,$,`${S}-${c}`,{[`${S}-with-text`]:j,[`${S}-with-text-${O}`]:j,[`${S}-dashed`]:!!b,[`${S}-${v}`]:"solid"!==v,[`${S}-plain`]:!!y,[`${S}-rtl`]:"rtl"===r,[`${S}-no-default-orientation-margin-start`]:_,[`${S}-no-default-orientation-margin-end`]:N},m,f),I=n.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),E={marginInlineStart:_?I:void 0,marginInlineEnd:N?I:void 0};return k(n.createElement("div",Object.assign({className:A,style:Object.assign(Object.assign({},s),w)},x,{role:"separator"}),g&&"vertical"!==c&&n.createElement("span",{className:`${S}-inner-text`,style:E},g)))}},30641:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(59301),o=r(92310),i=r.n(o),a=r(66042),s=r(62487),l=r(75030),c=r(86641),u=r(55743),d=r(48755),h=r(91190),p=r(78776),m=r(458);var f=e=>{var t,r;const{prefixCls:o,title:a,footer:s,extra:l,loading:c,onClose:u,headerStyle:h,bodyStyle:f,footerStyle:g,children:b,classNames:v,styles:y}=e,w=(0,d.dj)("drawer"),x=n.useCallback((e=>n.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${o}-close`},e)),[u]),[S,k]=(0,p.Z)((0,p.w)(e),(0,p.w)(w),{closable:!0,closeIconRender:x}),C=n.useMemo((()=>{var e,t;return a||S?n.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=w.styles)||void 0===e?void 0:e.header),h),null==y?void 0:y.header),className:i()(`${o}-header`,{[`${o}-header-close-only`]:S&&!a&&!l},null===(t=w.classNames)||void 0===t?void 0:t.header,null==v?void 0:v.header)},n.createElement("div",{className:`${o}-header-title`},k,a&&n.createElement("div",{className:`${o}-title`},a)),l&&n.createElement("div",{className:`${o}-extra`},l)):null}),[S,k,l,h,o,a]),$=n.useMemo((()=>{var e,t;if(!s)return null;const r=`${o}-footer`;return n.createElement("div",{className:i()(r,null===(e=w.classNames)||void 0===e?void 0:e.footer,null==v?void 0:v.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=w.styles)||void 0===t?void 0:t.footer),g),null==y?void 0:y.footer)},s)}),[s,g,o]);return n.createElement(n.Fragment,null,C,n.createElement("div",{className:i()(`${o}-body`,null==v?void 0:v.body,null===(t=w.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(r=w.styles)||void 0===r?void 0:r.body),f),null==y?void 0:y.body)},c?n.createElement(m.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${o}-body-skeleton`}):b),$)},g=r(36237),b=r(63356),v=r(16931),y=r(51636);const w=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},x=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),S=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},x({opacity:e},{opacity:1})),k=(e,t)=>[S(.7,t),x({transform:w(e)},{transform:"none"})];var C=e=>{const{componentCls:t,motionDurationSlow:r}=e;return{[t]:{[`${t}-mask-motion`]:S(0,r),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce(((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:k(t,r)})),{})}}};const $=e=>{const{borderRadiusSM:t,componentCls:r,zIndexPopup:n,colorBgMask:o,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:h,lineWidth:p,lineType:m,colorSplit:f,marginXS:v,colorIcon:y,colorIconHover:w,colorBgTextHover:x,colorBgTextActive:S,colorText:k,fontWeightStrong:C,footerPaddingBlock:$,footerPaddingInline:j,calc:O}=e,_=`${r}-content-wrapper`;return{[r]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none",color:k,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${r}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${r}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${r}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${r}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${r}-mask`]:{position:"absolute",inset:0,zIndex:n,background:o,pointerEvents:"auto"},[_]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${_}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${_}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${_}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${_}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${r}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${r}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,g.unit)(c)} ${(0,g.unit)(u)}`,fontSize:d,lineHeight:h,borderBottom:`${(0,g.unit)(p)} ${m} ${f}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${r}-extra`]:{flex:"none"},[`${r}-close`]:Object.assign({display:"inline-flex",width:O(d).add(l).equal(),height:O(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:y,fontWeight:C,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:w,backgroundColor:x,textDecoration:"none"},"&:active":{backgroundColor:S}},(0,b.Qy)(e)),[`${r}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:h},[`${r}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${r}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${r}-footer`]:{flexShrink:0,padding:`${(0,g.unit)($)} ${(0,g.unit)(j)}`,borderTop:`${(0,g.unit)(p)} ${m} ${f}`},"&-rtl":{direction:"rtl"}}}};var j=(0,v.I$)("Drawer",(e=>{const t=(0,y.mergeToken)(e,{});return[$(t),C(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}))),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const _={distance:180},N=e=>{const{rootClassName:t,width:r,height:o,size:p="default",mask:m=!0,push:g=_,open:b,afterOpenChange:v,onClose:y,prefixCls:w,getContainer:x,style:S,className:k,visible:C,afterVisibleChange:$,maskStyle:N,drawerStyle:A,contentWrapperStyle:I}=e,E=O(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:z,getPrefixCls:M,direction:P,className:L,style:B,classNames:T,styles:R}=(0,d.dj)("drawer"),F=M("drawer",w),[D,q,H]=j(F),W=void 0===x&&z?()=>z(document.body):x,Z=i()({"no-mask":!m,[`${F}-rtl`]:"rtl"===P},t,q,H);const U=n.useMemo((()=>null!=r?r:"large"===p?736:378),[r,p]),V=n.useMemo((()=>null!=o?o:"large"===p?736:378),[o,p]),G={motionName:(0,c.m)(F,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},X=(0,h.H)(),[Y,K]=(0,l.Cn)("Drawer",E.zIndex),{classNames:J={},styles:Q={}}=E;return D(n.createElement(s.Z,{form:!0,space:!0},n.createElement(u.Z.Provider,{value:K},n.createElement(a.Z,Object.assign({prefixCls:F,onClose:y,maskMotion:G,motion:e=>({motionName:(0,c.m)(F,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},E,{classNames:{mask:i()(J.mask,T.mask),content:i()(J.content,T.content),wrapper:i()(J.wrapper,T.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Q.mask),N),R.mask),content:Object.assign(Object.assign(Object.assign({},Q.content),A),R.content),wrapper:Object.assign(Object.assign(Object.assign({},Q.wrapper),I),R.wrapper)},open:null!=b?b:C,mask:m,push:g,width:U,height:V,style:Object.assign(Object.assign({},B),S),className:i()(L,k),rootClassName:Z,getContainer:W,afterOpenChange:null!=v?v:$,panelRef:X,zIndex:Y}),n.createElement(f,Object.assign({prefixCls:F},E,{onClose:y}))))))};N._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:r,className:o,placement:a="right"}=e,s=O(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=n.useContext(d.E_),c=l("drawer",t),[u,h,p]=j(c),m=i()(c,`${c}-pure`,`${c}-${a}`,h,p,o);return u(n.createElement("div",{className:m,style:r},n.createElement(f,Object.assign({prefixCls:c},s))))};var A=N},19563:function(e,t,r){"use strict";r.d(t,{Z:function(){return T}});var n=r(59301),o=r(33853),i=r(38819),a=r(92310),s=r.n(a),l=r(96478),c=r(6089),u=r(18929),d=r(2738),h=r(75030);var p=e=>"object"!=typeof e&&"function"!=typeof e||null===e,m=r(52838),f=r(45915),g=r(22703),b=r(32383),v=r(55743),y=r(48755),w=r(83397),x=r(93041),S=r(78857),k=r(57700),C=r(36237),$=r(63356),j=r(46e3),O=r(93873),_=r(34925),N=r(37645),A=r(36305),I=r(16931),E=r(51636);var z=e=>{const{componentCls:t,menuCls:r,colorError:n,colorTextLightSolid:o}=e,i=`${r}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${r} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:n,"&:hover":{color:o,backgroundColor:n}}}}}};const M=e=>{const{componentCls:t,menuCls:r,zIndexPopup:n,dropdownArrowDistance:o,sizePopupArrow:i,antCls:a,iconCls:s,motionDurationMid:l,paddingBlock:c,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:h,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:f}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${a}-btn`]:{[`& > ${s}-down, & > ${a}-btn-icon > ${s}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${s}-down`]:{fontSize:p},[`${s}-down::before`]:{transition:`transform ${l}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:j.fJ},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:j.Qt},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:j.Uw},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:j.ly}}},(0,N.ZP)(e,f,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${r}`]:{position:"relative",margin:0},[`${r}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},(0,$.Wf)(e)),{[r]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:f,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,$.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${r}-item-group-title`]:{padding:`${(0,C.unit)(c)} ${(0,C.unit)(m)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${r}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${r}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${r}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${r}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${r}-item, ${r}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,C.unit)(c)} ${(0,C.unit)(m)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,$.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:f,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,C.unit)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${r}-item-group-list`]:{margin:`0 ${(0,C.unit)(e.marginXS)}`,padding:0,listStyle:"none"},[`${r}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${r}-submenu-vertical`]:{position:"relative"},[`${r}-submenu${r}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:f,cursor:"not-allowed"}},[`${r}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[(0,j.oN)(e,"slide-up"),(0,j.oN)(e,"slide-down"),(0,O.Fm)(e,"move-up"),(0,O.Fm)(e,"move-down"),(0,_._y)(e,"zoom-big")]]};var P=(0,I.I$)("Dropdown",(e=>{const{marginXXS:t,sizePopupArrow:r,paddingXXS:n,componentCls:o}=e,i=(0,E.mergeToken)(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(r).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[M(i),z(i)]}),(e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,N.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,A.w)(e))),{resetStyle:!1});const L=e=>{var t;const{menu:r,arrow:a,prefixCls:f,children:C,trigger:$,disabled:j,dropdownRender:O,getPopupContainer:_,overlayClassName:N,rootClassName:A,overlayStyle:I,open:E,onOpenChange:z,visible:M,onVisibleChange:L,mouseEnterDelay:B=.15,mouseLeaveDelay:T=.1,autoAdjustOverflow:R=!0,placement:F="",overlay:D,transitionName:q}=e,{getPopupContainer:H,getPrefixCls:W,direction:Z,dropdown:U}=n.useContext(y.E_);(0,b.ln)("Dropdown");const V=n.useMemo((()=>{const e=W();return void 0!==q?q:F.includes("top")?`${e}-slide-down`:`${e}-slide-up`}),[W,F,q]),G=n.useMemo((()=>F?F.includes("Center")?F.slice(0,F.indexOf("Center")):F:"rtl"===Z?"bottomRight":"bottomLeft"),[F,Z]);const X=W("dropdown",f),Y=(0,w.Z)(X),[K,J,Q]=P(X,Y),[,ee]=(0,k.ZP)(),te=n.Children.only(p(C)?n.createElement("span",null,C):C),re=(0,g.Tm)(te,{className:s()(`${X}-trigger`,{[`${X}-rtl`]:"rtl"===Z},te.props.className),disabled:null!==(t=te.props.disabled)&&void 0!==t?t:j}),ne=j?[]:$,oe=!!(null==ne?void 0:ne.includes("contextMenu")),[ie,ae]=(0,u.Z)(!1,{value:null!=E?E:M}),se=(0,c.Z)((e=>{null==z||z(e,{source:"trigger"}),null==L||L(e),ae(e)})),le=s()(N,A,J,Q,Y,null==U?void 0:U.className,{[`${X}-rtl`]:"rtl"===Z}),ce=(0,m.Z)({arrowPointAtCenter:"object"==typeof a&&a.pointAtCenter,autoAdjustOverflow:R,offset:ee.marginXXS,arrowWidth:a?ee.sizePopupArrow:0,borderRadius:ee.borderRadius}),ue=n.useCallback((()=>{(null==r?void 0:r.selectable)&&(null==r?void 0:r.multiple)||(null==z||z(!1,{source:"menu"}),ae(!1))}),[null==r?void 0:r.selectable,null==r?void 0:r.multiple]),[de,he]=(0,h.Cn)("Dropdown",null==I?void 0:I.zIndex);let pe=n.createElement(l.Z,Object.assign({alignPoint:oe},(0,d.Z)(e,["rootClassName"]),{mouseEnterDelay:B,mouseLeaveDelay:T,visible:ie,builtinPlacements:ce,arrow:!!a,overlayClassName:le,prefixCls:X,getPopupContainer:_||H,transitionName:V,trigger:ne,overlay:()=>{let e;return e=(null==r?void 0:r.items)?n.createElement(x.Z,Object.assign({},r)):"function"==typeof D?D():D,O&&(e=O(e)),e=n.Children.only("string"==typeof e?n.createElement("span",null,e):e),n.createElement(S.J,{prefixCls:`${X}-menu`,rootClassName:s()(Q,Y),expandIcon:n.createElement("span",{className:`${X}-menu-submenu-arrow`},"rtl"===Z?n.createElement(o.Z,{className:`${X}-menu-submenu-arrow-icon`}):n.createElement(i.Z,{className:`${X}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ue,validator:e=>{let{mode:t}=e}},e)},placement:G,onVisibleChange:se,overlayStyle:Object.assign(Object.assign(Object.assign({},null==U?void 0:U.style),I),{zIndex:de})}),re);return de&&(pe=n.createElement(v.Z.Provider,{value:he},pe)),K(pe)},B=(0,f.Z)(L,"align",void 0,"dropdown",(e=>e));L._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(B,Object.assign({},e),n.createElement("span",null));var T=L},75727:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(19563),o=r(59301),i=r(18785),a=r(92310),s=r.n(a),l=r(99571),c=r(48755),u=r(77736),d=r(70045),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const p=e=>{const{getPopupContainer:t,getPrefixCls:r,direction:a}=o.useContext(c.E_),{prefixCls:p,type:m="default",danger:f,disabled:g,loading:b,onClick:v,htmlType:y,children:w,className:x,menu:S,arrow:k,autoFocus:C,overlay:$,trigger:j,align:O,open:_,onOpenChange:N,placement:A,getPopupContainer:I,href:E,icon:z=o.createElement(i.Z,null),title:M,buttonsRender:P=(e=>e),mouseEnterDelay:L,mouseLeaveDelay:B,overlayClassName:T,overlayStyle:R,destroyPopupOnHide:F,dropdownRender:D}=e,q=h(e,["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"]),H=r("dropdown",p),W=`${H}-button`,Z={menu:S,arrow:k,autoFocus:C,align:O,disabled:g,trigger:g?[]:j,onOpenChange:N,getPopupContainer:I||t,mouseEnterDelay:L,mouseLeaveDelay:B,overlayClassName:T,overlayStyle:R,destroyPopupOnHide:F,dropdownRender:D},{compactSize:U,compactItemClassnames:V}=(0,d.ri)(H,a),G=s()(W,V,x);"overlay"in e&&(Z.overlay=$),"open"in e&&(Z.open=_),Z.placement="placement"in e?A:"rtl"===a?"bottomLeft":"bottomRight";const X=o.createElement(l.ZP,{type:m,danger:f,disabled:g,loading:b,onClick:v,htmlType:y,href:E,title:M},w),Y=o.createElement(l.ZP,{type:m,danger:f,icon:z}),[K,J]=P([X,Y]);return o.createElement(u.Z.Compact,Object.assign({className:G,size:U,block:!0},q),K,o.createElement(n.Z,Object.assign({},Z),J))};p.__ANT_BUTTON=!0;var m=p;const f=n.Z;f.Button=m;var g=f},584:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(59301),o=r(92310),i=r.n(o),a=r(9017),s=r(17835),l=r(57700);var c=()=>{const[,e]=(0,l.ZP)(),[t]=(0,a.Z)("Empty"),r=new s.FastColor(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return n.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,(null==t?void 0:t.description)||"Empty"),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(24 31.67)"},n.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),n.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"}),n.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)"}),n.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"}),n.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"})),n.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"}),n.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},n.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),n.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};var u=()=>{const[,e]=(0,l.ZP)(),[t]=(0,a.Z)("Empty"),{colorFill:r,colorFillTertiary:o,colorFillQuaternary:i,colorBgContainer:c}=e,{borderColor:u,shadowColor:d,contentColor:h}=(0,n.useMemo)((()=>({borderColor:new s.FastColor(r).onBackground(c).toHexString(),shadowColor:new s.FastColor(o).onBackground(c).toHexString(),contentColor:new s.FastColor(i).onBackground(c).toHexString()})),[r,o,i,c]);return n.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,(null==t?void 0:t.description)||"Empty"),n.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},n.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),n.createElement("g",{fillRule:"nonzero",stroke:u},n.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"}),n.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:h}))))},d=r(16931),h=r(51636);const p=e=>{const{componentCls:t,margin:r,marginXS:n,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:n,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var m=(0,d.I$)("Empty",(e=>{const{componentCls:t,controlHeightLG:r,calc:n}=e,o=(0,h.mergeToken)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n(r).mul(2.5).equal(),emptyImgHeightMD:r,emptyImgHeightSM:n(r).mul(.875).equal()});return[p(o)]})),f=r(48755),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const b=n.createElement(c,null),v=n.createElement(u,null),y=e=>{const{className:t,rootClassName:r,prefixCls:o,image:s=b,description:l,children:c,imageStyle:u,style:d,classNames:h,styles:p}=e,y=g(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:w,direction:x,className:S,style:k,classNames:C,styles:$}=(0,f.dj)("empty"),j=w("empty",o),[O,_,N]=m(j),[A]=(0,a.Z)("Empty"),I=void 0!==l?l:null==A?void 0:A.description,E="string"==typeof I?I:"empty";let z=null;return z="string"==typeof s?n.createElement("img",{alt:E,src:s}):s,O(n.createElement("div",Object.assign({className:i()(_,N,j,S,{[`${j}-normal`]:s===v,[`${j}-rtl`]:"rtl"===x},t,r,C.root,null==h?void 0:h.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},$.root),k),null==p?void 0:p.root),d)},y),n.createElement("div",{className:i()(`${j}-image`,C.image,null==h?void 0:h.image),style:Object.assign(Object.assign(Object.assign({},u),$.image),null==p?void 0:p.image)},z),I&&n.createElement("div",{className:i()(`${j}-description`,C.description,null==h?void 0:h.description),style:Object.assign(Object.assign({},$.description),null==p?void 0:p.description)},I),c&&n.createElement("div",{className:i()(`${j}-footer`,C.footer,null==h?void 0:h.footer),style:Object.assign(Object.assign({},$.footer),null==p?void 0:p.footer)},c)))};y.PRESENTED_IMAGE_DEFAULT=b,y.PRESENTED_IMAGE_SIMPLE=v;var w=y},24971:function(e,t,r){"use strict";var n=r(59301),o=r(56553),i=r(48755);t.Z=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;var a,s;const{variant:l,[e]:c}=n.useContext(i.E_),u=n.useContext(o.pg),d=null==c?void 0:c.variant;let h;h=void 0!==t?t:!1===r?"borderless":null!==(s=null!==(a=null!=u?u:d)&&void 0!==a?a:l)&&void 0!==s?s:"outlined";const p=i.tr.includes(h);return[h,p]}},28284:function(e,t,r){"use strict";r.d(t,{Z:function(){return Be}});var n=r(56553),o=r(94480),i=r(59301),a=r(92310),s=r.n(a),l=r(77900),c=r(86641),u=r(83397);function d(e){const[t,r]=i.useState(e);return i.useEffect((()=>{const t=setTimeout((()=>{r(e)}),e.length?0:10);return()=>{clearTimeout(t)}}),[e]),t}var h=r(36237),p=r(63356),m=r(34925),f=r(34961),g=r(51636),b=r(16931);var v=e=>{const{componentCls:t}=e,r=`${t}-show-help-item`;return{[`${t}-show-help`]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut},\n opacity ${e.motionDurationFast} ${e.motionEaseInOut},\n transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};const y=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,h.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'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 ${(0,h.unit)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),w=(e,t)=>{const{formItemCls:r}=e;return{[r]:{[`${r}-label > label`]:{height:t},[`${r}-control-input`]:{minHeight:t}}}},x=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,p.Wf)(e)),y(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},w(e,e.controlHeightSM)),"&-large":Object.assign({},w(e,e.controlHeightLG))})}},S=e=>{const{formItemCls:t,iconCls:r,rootPrefixCls:n,antCls:o,labelRequiredMarkColor:i,labelColor:a,labelFontSize:s,labelHeight:l,labelColonMarginInlineStart:c,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e;return{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{marginBottom:d,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:l,color:a,fontSize:s,[`> ${r}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:c,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${n}-col-'"]):not([class*="' ${n}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:m.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},k=(e,t)=>{const{formItemCls:r}=e;return{[`${t}-horizontal`]:{[`${r}-label`]:{flexGrow:0},[`${r}-control`]:{flex:"1 1 0",minWidth:0},[`${r}-label[class$='-24'], ${r}-label[class*='-24 ']`]:{[`& + ${r}-control`]:{minWidth:"unset"}}}}},C=e=>{const{componentCls:t,formItemCls:r,inlineItemMarginBottom:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[r]:{flex:"none",marginInlineEnd:e.margin,marginBottom:n,"&-row":{flexWrap:"nowrap"},[`> ${r}-label,\n > ${r}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${r}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${r}-has-feedback`]:{display:"inline-block"}}}}},$=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),j=e=>{const{componentCls:t,formItemCls:r,rootPrefixCls:n}=e;return{[`${r} ${r}-label`]:$(e),[`${t}:not(${t}-inline)`]:{[r]:{flexWrap:"wrap",[`${r}-label, ${r}-control`]:{[`&:not([class*=" ${n}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},O=e=>{const{componentCls:t,formItemCls:r,antCls:n}=e;return{[`${t}-vertical`]:{[`${r}:not(${r}-horizontal)`]:{[`${r}-row`]:{flexDirection:"column"},[`${r}-label > label`]:{height:"auto"},[`${r}-control`]:{width:"100%"},[`${r}-label,\n ${n}-col-24${r}-label,\n ${n}-col-xl-24${r}-label`]:$(e)}},[`@media (max-width: ${(0,h.unit)(e.screenXSMax)})`]:[j(e),{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-xs-24${r}-label`]:$(e)}}}],[`@media (max-width: ${(0,h.unit)(e.screenSMMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-sm-24${r}-label`]:$(e)}}},[`@media (max-width: ${(0,h.unit)(e.screenMDMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-md-24${r}-label`]:$(e)}}},[`@media (max-width: ${(0,h.unit)(e.screenLGMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${n}-col-lg-24${r}-label`]:$(e)}}}}},_=e=>{const{formItemCls:t,antCls:r}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label,\n ${r}-col-24${t}-label,\n ${r}-col-xl-24${t}-label`]:$(e),[`@media (max-width: ${(0,h.unit)(e.screenXSMax)})`]:[j(e),{[t]:{[`${r}-col-xs-24${t}-label`]:$(e)}}],[`@media (max-width: ${(0,h.unit)(e.screenSMMax)})`]:{[t]:{[`${r}-col-sm-24${t}-label`]:$(e)}},[`@media (max-width: ${(0,h.unit)(e.screenMDMax)})`]:{[t]:{[`${r}-col-md-24${t}-label`]:$(e)}},[`@media (max-width: ${(0,h.unit)(e.screenLGMax)})`]:{[t]:{[`${r}-col-lg-24${t}-label`]:$(e)}}}},N=(e,t)=>(0,g.mergeToken)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});var A=(0,b.I$)("Form",((e,t)=>{let{rootPrefixCls:r}=t;const n=N(e,r);return[x(n),S(n),v(n),k(n,n.componentCls),k(n,n.formItemCls),C(n),O(n),_(n),(0,f.Z)(n),m.kr]}),(e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0})),{order:-1e3});const I=[];function E(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${n}`,error:e,errorStatus:r}}var z=e=>{let{help:t,helpStatus:r,errors:a=I,warnings:h=I,className:p,fieldId:m,onVisibleChanged:f}=e;const{prefixCls:g}=i.useContext(n.Rk),b=`${g}-item-explain`,v=(0,u.Z)(g),[y,w,x]=A(g,v),S=i.useMemo((()=>(0,c.Z)(g)),[g]),k=d(a),C=d(h),$=i.useMemo((()=>null!=t?[E(t,"help",r)]:[].concat((0,o.Z)(k.map(((e,t)=>E(e,"error","error",t)))),(0,o.Z)(C.map(((e,t)=>E(e,"warning","warning",t)))))),[t,r,k,C]),j=i.useMemo((()=>{const e={};return $.forEach((t=>{let{key:r}=t;e[r]=(e[r]||0)+1})),$.map(((t,r)=>Object.assign(Object.assign({},t),{key:e[t.key]>1?`${t.key}-fallback-${r}`:t.key})))}),[$]),O={};return m&&(O.id=`${m}_help`),y(i.createElement(l.default,{motionDeadline:S.motionDeadline,motionName:`${g}-show-help`,visible:!!j.length,onVisibleChanged:f},(e=>{const{className:t,style:r}=e;return i.createElement("div",Object.assign({},O,{className:s()(b,t,x,v,p,w),style:r}),i.createElement(l.CSSMotionList,Object.assign({keys:j},(0,c.Z)(g),{motionName:`${g}-show-help-item`,component:!1}),(e=>{const{key:t,error:r,errorStatus:n,className:o,style:a}=e;return i.createElement("div",{key:t,className:s()(o,{[`${b}-${n}`]:n}),style:a},r)})))})))},M=r(30810),P=r(48755),L=r(2171),B=r(31756),T=r(23069),R=r(76846),F=r(16722);const D=["parentNode"];function q(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function H(e,t){if(!e.length)return;const r=e.join("_");if(t)return`${t}_${r}`;return D.includes(r)?`form_item_${r}`:r}function W(e,t,r,n,o,i){let a=n;return void 0!==i?a=i:r.validating?a="validating":e.length?a="error":t.length?a="warning":(r.touched||o&&r.validated)&&(a="success"),a}var Z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function U(e){return q(e).join("_")}function V(e,t){const r=t.getFieldInstance(e),n=(0,R.bn)(r);if(n)return n;const o=H(q(e),t.__INTERNAL__.name);return o?document.getElementById(o):void 0}function G(e){const[t]=(0,M.useForm)(),r=i.useRef({}),n=i.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const n=U(e);t?r.current[n]=t:delete r.current[n]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{focus:r}=t,o=Z(t,["focus"]),i=V(e,n);i&&((0,F.Z)(i,Object.assign({scrollMode:"if-needed",block:"nearest"},o)),r&&n.focusField(e))},focusField:e=>{var t,r;const o=n.getFieldInstance(e);"function"==typeof(null==o?void 0:o.focus)?o.focus():null===(r=null===(t=V(e,n))||void 0===t?void 0:t.focus)||void 0===r||r.call(t)},getFieldInstance:e=>{const t=U(e);return r.current[t]}})),[e,t]);return[n]}var X=r(98350),Y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const K=(e,t)=>{const r=i.useContext(L.Z),{getPrefixCls:o,direction:a,requiredMark:l,colon:c,scrollToFirstError:d,className:h,style:p}=(0,P.dj)("form"),{prefixCls:m,className:f,rootClassName:g,size:b,disabled:v=r,form:y,colon:w,labelAlign:x,labelWrap:S,labelCol:k,wrapperCol:C,hideRequiredMark:$,layout:j="horizontal",scrollToFirstError:O,requiredMark:_,onFinishFailed:N,name:I,style:E,feedbackIcons:z,variant:R}=e,F=Y(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),D=(0,B.Z)(b),q=i.useContext(X.Z);const H=i.useMemo((()=>void 0!==_?_:!$&&(void 0===l||l)),[$,_,l]),W=null!=w?w:c,Z=o("form",m),U=(0,u.Z)(Z),[V,K,J]=A(Z,U),Q=s()(Z,`${Z}-${j}`,{[`${Z}-hide-required-mark`]:!1===H,[`${Z}-rtl`]:"rtl"===a,[`${Z}-${D}`]:D},J,U,K,h,f,g),[ee]=G(y),{__INTERNAL__:te}=ee;te.name=I;const re=i.useMemo((()=>({name:I,labelAlign:x,labelCol:k,labelWrap:S,wrapperCol:C,vertical:"vertical"===j,colon:W,requiredMark:H,itemRef:te.itemRef,form:ee,feedbackIcons:z})),[I,x,k,C,j,W,H,ee,z]),ne=i.useRef(null);i.useImperativeHandle(t,(()=>{var e;return Object.assign(Object.assign({},ee),{nativeElement:null===(e=ne.current)||void 0===e?void 0:e.nativeElement})}));const oe=(e,t)=>{if(e){let r={block:"nearest"};"object"==typeof e&&(r=Object.assign(Object.assign({},r),e)),ee.scrollToField(t,r)}};return V(i.createElement(n.pg.Provider,{value:R},i.createElement(L.n,{disabled:v},i.createElement(T.Z.Provider,{value:D},i.createElement(n.RV,{validateMessages:q},i.createElement(n.q3.Provider,{value:re},i.createElement(M.default,Object.assign({id:I},F,{name:I,onFinishFailed:e=>{if(null==N||N(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==O)return void oe(O,t);void 0!==d&&oe(d,t)}},form:ee,ref:ne,style:Object.assign(Object.assign({},p),E),className:Q}))))))))};var J=i.forwardRef(K),Q=r(41799),ee=r(8654),te=r(22703),re=r(32383),ne=r(11592);const oe=()=>{const{status:e,errors:t=[],warnings:r=[]}=i.useContext(n.aM);return{status:e,errors:t,warnings:r}};oe.Context=n.aM;var ie=oe,ae=r(16089);var se=r(29194),le=r(34280),ce=r(2738),ue=r(65970),de=r(70425),he=r(5472);const pe=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var me=(0,b.bk)(["Form","item-item"],((e,t)=>{let{rootPrefixCls:r}=t;const n=N(e,r);return[pe(n)]})),fe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var ge=e=>{const{prefixCls:t,status:r,labelCol:o,wrapperCol:a,children:l,errors:c,warnings:u,_internalItemRender:d,extra:h,help:p,fieldId:m,marginBottom:f,onErrorVisibleChanged:g,label:b}=e,v=`${t}-item`,y=i.useContext(n.q3),w=i.useMemo((()=>{let e=Object.assign({},a||y.wrapperCol||{});if(null===b&&!o&&!a&&y.labelCol){[void 0,"xs","sm","md","lg","xl","xxl"].forEach((t=>{const r=t?[t]:[],n=(0,de.U2)(y.labelCol,r),o="object"==typeof n?n:{},i=(0,de.U2)(e,r);"span"in o&&!("offset"in("object"==typeof i?i:{}))&&o.span<24&&(e=(0,de.t8)(e,[].concat(r,["offset"]),o.span))}))}return e}),[a,y]),x=s()(`${v}-control`,w.className),S=i.useMemo((()=>{const{labelCol:e,wrapperCol:t}=y;return fe(y,["labelCol","wrapperCol"])}),[y]),k=i.useRef(null),[C,$]=i.useState(0);(0,le.Z)((()=>{h&&k.current?$(k.current.clientHeight):$(0)}),[h]);const j=i.createElement("div",{className:`${v}-control-input`},i.createElement("div",{className:`${v}-control-input-content`},l)),O=i.useMemo((()=>({prefixCls:t,status:r})),[t,r]),_=null!==f||c.length||u.length?i.createElement(n.Rk.Provider,{value:O},i.createElement(z,{fieldId:m,errors:c,warnings:u,help:p,helpStatus:r,className:`${v}-explain-connected`,onVisibleChanged:g})):null,N={};m&&(N.id=`${m}_extra`);const A=h?i.createElement("div",Object.assign({},N,{className:`${v}-extra`,ref:k}),h):null,I=_||A?i.createElement("div",{className:`${v}-additional`,style:f?{minHeight:f+C}:{}},_,A):null,E=d&&"pro_table_render"===d.mark&&d.render?d.render(e,{input:j,errorList:_,extra:A}):i.createElement(i.Fragment,null,j,I);return i.createElement(n.q3.Provider,{value:S},i.createElement(he.Z,Object.assign({},w,{className:x}),E),i.createElement(me,{prefixCls:t}))},be=r(61485),ve=r(9017),ye=r(85981),we=r(25399),xe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var Se=e=>{let{prefixCls:t,label:r,htmlFor:o,labelCol:a,labelAlign:l,colon:c,required:u,requiredMark:d,tooltip:h,vertical:p}=e;var m;const[f]=(0,ve.Z)("Form"),{labelAlign:g,labelCol:b,labelWrap:v,colon:y}=i.useContext(n.q3);if(!r)return null;const w=a||b||{},x=l||g,S=`${t}-item-label`,k=s()(S,"left"===x&&`${S}-left`,w.className,{[`${S}-wrap`]:!!v});let C=r;const $=!0===c||!1!==y&&!1!==c;$&&!p&&"string"==typeof r&&r.trim()&&(C=r.replace(/[:|]\s*$/,""));const j=function(e){return e?"object"!=typeof e||i.isValidElement(e)?{title:e}:e:null}(h);if(j){const{icon:e=i.createElement(be.Z,null)}=j,r=xe(j,["icon"]),n=i.createElement(we.Z,Object.assign({},r),i.cloneElement(e,{className:`${t}-item-tooltip`,title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));C=i.createElement(i.Fragment,null,C,n)}const O="optional"===d,_="function"==typeof d,N=!1===d;let A;_?C=d(C,{required:!!u}):O&&!u&&(C=i.createElement(i.Fragment,null,C,i.createElement("span",{className:`${t}-item-optional`,title:""},(null==f?void 0:f.optional)||(null===(m=ye.Z.Form)||void 0===m?void 0:m.optional)))),N?A="hidden":(O||_)&&(A="optional");const I=s()({[`${t}-item-required`]:u,[`${t}-item-required-mark-${A}`]:A,[`${t}-item-no-colon`]:!$});return i.createElement(he.Z,Object.assign({},w,{className:k}),i.createElement("label",{htmlFor:o,className:I,title:"string"==typeof r?r:""},C))},ke=r(29679),Ce=r(19248),$e=r(96512),je=r(58617);const Oe={success:ke.Z,warning:$e.Z,error:Ce.Z,validating:je.Z};function _e(e){let{children:t,errors:r,warnings:o,hasFeedback:a,validateStatus:l,prefixCls:c,meta:u,noStyle:d}=e;const h=`${c}-item`,{feedbackIcons:p}=i.useContext(n.q3),m=W(r,o,u,null,!!a,l),{isFormItemInput:f,status:g,hasFeedback:b,feedbackIcon:v}=i.useContext(n.aM),y=i.useMemo((()=>{var e;let t;if(a){const n=!0!==a&&a.icons||p,l=m&&(null===(e=null==n?void 0:n({status:m,errors:r,warnings:o}))||void 0===e?void 0:e[m]),c=m&&Oe[m];t=!1!==l&&c?i.createElement("span",{className:s()(`${h}-feedback-icon`,`${h}-feedback-icon-${m}`)},l||i.createElement(c,null)):null}const n={status:m||"",errors:r,warnings:o,hasFeedback:!!a,feedbackIcon:t,isFormItemInput:!0};return d&&(n.status=(null!=m?m:g)||"",n.isFormItemInput=f,n.hasFeedback=!!(null!=a?a:b),n.feedbackIcon=void 0!==a?n.feedbackIcon:v),n}),[m,a,d,f,g]);return i.createElement(n.aM.Provider,{value:y},t)}var Ne=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function Ae(e){const{prefixCls:t,className:r,rootClassName:o,style:a,help:l,errors:c,warnings:u,validateStatus:h,meta:p,hasFeedback:m,hidden:f,children:g,fieldId:b,required:v,isRequired:y,onSubItemMetaChange:w,layout:x}=e,S=Ne(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),k=`${t}-item`,{requiredMark:C,vertical:$}=i.useContext(n.q3),j=$||"vertical"===x,O=i.useRef(null),_=d(c),N=d(u),A=null!=l,I=!!(A||c.length||u.length),E=!!O.current&&(0,se.Z)(O.current),[z,M]=i.useState(null);(0,le.Z)((()=>{if(I&&O.current){const e=getComputedStyle(O.current);M(parseInt(e.marginBottom,10))}}),[I,E]);const P=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=e?_:p.errors,r=e?N:p.warnings;return W(t,r,p,"",!!m,h)}(),L=s()(k,r,o,{[`${k}-with-help`]:A||_.length||N.length,[`${k}-has-feedback`]:P&&m,[`${k}-has-success`]:"success"===P,[`${k}-has-warning`]:"warning"===P,[`${k}-has-error`]:"error"===P,[`${k}-is-validating`]:"validating"===P,[`${k}-hidden`]:f,[`${k}-${x}`]:x});return i.createElement("div",{className:L,style:a,ref:O},i.createElement(ue.Z,Object.assign({className:`${k}-row`},(0,ce.Z)(S,["_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"])),i.createElement(Se,Object.assign({htmlFor:b},e,{requiredMark:C,required:null!=v?v:y,prefixCls:t,vertical:j})),i.createElement(ge,Object.assign({},e,p,{errors:_,warnings:N,prefixCls:t,status:P,help:l,marginBottom:z,onErrorVisibleChanged:e=>{e||M(null)}}),i.createElement(n.qI.Provider,{value:w},i.createElement(_e,{prefixCls:t,meta:p,errors:p.errors,warnings:p.warnings,hasFeedback:m,validateStatus:P},g)))),!!z&&i.createElement("div",{className:`${k}-margin-offset`,style:{marginBottom:-z}}))}const Ie=i.memo((e=>{let{children:t}=e;return t}),((e,t)=>function(e,t){const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every((r=>{const n=e[r],o=t[r];return n===o||"function"==typeof n||"function"==typeof o}))}(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(((e,r)=>e===t.childProps[r]))));const Ee=function(e){const{name:t,noStyle:r,className:a,dependencies:l,prefixCls:c,shouldUpdate:d,rules:h,children:p,required:m,label:f,messageVariables:g,trigger:b="onChange",validateTrigger:v,hidden:y,help:w,layout:x}=e,{getPrefixCls:S}=i.useContext(P.E_),{name:k}=i.useContext(n.q3),C=function(e){if("function"==typeof e)return e;const t=(0,ne.Z)(e);return t.length<=1?t[0]:t}(p),$="function"==typeof C,j=i.useContext(n.qI),{validateTrigger:O}=i.useContext(M.FieldContext),_=void 0!==v?v:O,N=!(null==t),I=S("form",c),E=(0,u.Z)(I),[z,L,B]=A(I,E);(0,re.ln)("Form.Item");const T=i.useContext(M.ListContext),R=i.useRef(null),[F,D]=function(e){const[t,r]=i.useState(e),n=i.useRef(null),o=i.useRef([]),a=i.useRef(!1);return i.useEffect((()=>(a.current=!1,()=>{a.current=!0,ae.Z.cancel(n.current),n.current=null})),[]),[t,function(e){a.current||(null===n.current&&(o.current=[],n.current=(0,ae.Z)((()=>{n.current=null,r((e=>{let t=e;return o.current.forEach((e=>{t=e(t)})),t}))}))),o.current.push(e))}]}({}),[W,Z]=(0,Q.Z)((()=>({errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}))),U=(e,t)=>{D((r=>{const n=Object.assign({},r),i=[].concat((0,o.Z)(e.name.slice(0,-1)),(0,o.Z)(t)).join("__SPLIT__");return e.destroy?delete n[i]:n[i]=e,n}))},[V,G]=i.useMemo((()=>{const e=(0,o.Z)(W.errors),t=(0,o.Z)(W.warnings);return Object.values(F).forEach((r=>{e.push.apply(e,(0,o.Z)(r.errors||[])),t.push.apply(t,(0,o.Z)(r.warnings||[]))})),[e,t]}),[F,W.errors,W.warnings]),X=function(){const{itemRef:e}=i.useContext(n.q3),t=i.useRef({});return function(r,n){const o=n&&"object"==typeof n&&(0,ee.C4)(n),i=r.join("_");return t.current.name===i&&t.current.originRef===o||(t.current.name=i,t.current.originRef=o,t.current.ref=(0,ee.sQ)(e(r),o)),t.current.ref}}();function Y(t,n,o){return r&&!y?i.createElement(_e,{prefixCls:I,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:W,errors:V,warnings:G,noStyle:!0},t):i.createElement(Ae,Object.assign({key:"row"},e,{className:s()(a,B,E,L),prefixCls:I,fieldId:n,isRequired:o,errors:V,warnings:G,meta:W,onSubItemMetaChange:U,layout:x}),t)}if(!N&&!$&&!l)return z(Y(C));let K={};return"string"==typeof f?K.label=f:t&&(K.label=String(t)),g&&(K=Object.assign(Object.assign({},K),g)),z(i.createElement(M.Field,Object.assign({},e,{messageVariables:K,trigger:b,validateTrigger:_,onMetaChange:e=>{const t=null==T?void 0:T.getKey(e.name);if(Z(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}:e,!0),r&&!1!==w&&j){let r=e.name;if(e.destroy)r=R.current||r;else if(void 0!==t){const[e,n]=t;r=[e].concat((0,o.Z)(n)),R.current=r}j(e,r)}}}),((r,n,a)=>{const s=q(t).length&&n?n.name:[],c=H(s,k),u=void 0!==m?m:!!(null==h?void 0:h.some((e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){const t=e(a);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1}))),p=Object.assign({},r);let f=null;if(Array.isArray(C)&&N)f=C;else if($&&(!d&&!l||N));else if(!l||$||N)if(i.isValidElement(C)){const t=Object.assign(Object.assign({},C.props),p);if(t.id||(t.id=c),w||V.length>0||G.length>0||e.extra){const r=[];(w||V.length>0)&&r.push(`${c}_help`),e.extra&&r.push(`${c}_extra`),t["aria-describedby"]=r.join(" ")}V.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,ee.Yr)(C)&&(t.ref=X(s,C));new Set([].concat((0,o.Z)(q(b)),(0,o.Z)(q(_)))).forEach((e=>{t[e]=function(){for(var t,r,n,o,i,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];null===(n=p[e])||void 0===n||(t=n).call.apply(t,[p].concat(s)),null===(i=(o=C.props)[e])||void 0===i||(r=i).call.apply(r,[o].concat(s))}}));const r=[t["aria-required"],t["aria-invalid"],t["aria-describedby"]];f=i.createElement(Ie,{control:p,update:C,childProps:r},(0,te.Tm)(C,t))}else f=$&&(d||l)&&!N?C(a):C;else;return Y(f,c,u)})))};Ee.useStatus=ie;var ze=Ee,Me=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var Pe=e=>{var{prefixCls:t,children:r}=e,o=Me(e,["prefixCls","children"]);const{getPrefixCls:a}=i.useContext(P.E_),s=a("form",t),l=i.useMemo((()=>({prefixCls:s,status:"error"})),[s]);return i.createElement(M.List,Object.assign({},o),((e,t,o)=>i.createElement(n.Rk.Provider,{value:l},r(e.map((e=>Object.assign(Object.assign({},e),{fieldKey:e.key}))),t,{errors:o.errors,warnings:o.warnings}))))};const Le=J;Le.Item=ze,Le.List=Pe,Le.ErrorList=z,Le.useForm=G,Le.useFormInstance=function(){const{form:e}=i.useContext(n.q3);return e},Le.useWatch=M.useWatch,Le.Provider=n.RV,Le.create=()=>{};var Be=Le},90083:function(e,t,r){"use strict";r.d(t,{Z:function(){return Q}});var n=r(59301),o=r(15277),i=r(92310),a=r.n(i),s=r(91574),l=r(75030),c=r(86641),u=r(48755),d=r(83397),h=r(9017),p=r(99267),m=r(33853),f=r(38819),g=r(54476),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},v=r(7657),y=function(e,t){return n.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:b}))};var w=n.forwardRef(y),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},S=function(e,t){return n.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:x}))};var k=n.forwardRef(S),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},$=function(e,t){return n.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:C}))};var j=n.forwardRef($),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},_=function(e,t){return n.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:O}))};var N=n.forwardRef(_),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},I=function(e,t){return n.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:A}))};var E=n.forwardRef(I),z=r(36237),M=r(17835),P=r(64427),L=r(63356),B=r(34925),T=r(99495),R=r(16931),F=r(51636);const D=e=>({position:e||"absolute",inset:0}),q=e=>{const{iconCls:t,motionDurationSlow:r,paddingXXS:n,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new M.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${r}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},L.vS),{padding:`0 ${(0,z.unit)(n)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},H=e=>{const{previewCls:t,modalMaskBg:r,paddingSM:n,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,h=new M.FastColor(r).setA(.1),p=h.clone().setA(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:d,backgroundColor:h.toRgbString(),borderRadius:"50%",padding:n,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:p.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,z.unit)(a)}`,backgroundColor:h.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:n,padding:n,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},W=e=>{const{modalMaskBg:t,iconCls:r,previewOperationColorDisabled:n,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,s=new M.FastColor(t).setA(.1),l=s.clone().setA(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:n,background:"transparent",cursor:"not-allowed",[`> ${r}`]:{cursor:"not-allowed"}}},[`> ${r}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},Z=e=>{const{motionEaseOut:t,previewCls:r,motionDurationSlow:n,componentCls:o}=e;return[{[`${o}-preview-root`]:{[r]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${r}-body`]:Object.assign(Object.assign({},D()),{overflow:"hidden"}),[`${r}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${n} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},D()),{transition:`transform ${n} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${r}-moving`]:{[`${r}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${r}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[H(e),W(e)]}]},U=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},q(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},D())}}},V=e=>{const{previewCls:t}=e;return{[`${t}-root`]:(0,B._y)(e,"zoom"),"&":(0,T.J$)(e,!0)}};var G=(0,R.I$)("Image",(e=>{const t=`${e.componentCls}-preview`,r=(0,F.mergeToken)(e,{previewCls:t,modalMaskBg:new M.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[U(r),Z(r),(0,P.QA)((0,F.mergeToken)(r,{componentCls:t})),V(r)]}),(e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new M.FastColor(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new M.FastColor(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new M.FastColor(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}))),X=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const Y={rotateLeft:n.createElement(w,null),rotateRight:n.createElement(k,null),zoomIn:n.createElement(N,null),zoomOut:n.createElement(E,null),close:n.createElement(p.Z,null),left:n.createElement(m.Z,null),right:n.createElement(f.Z,null),flipX:n.createElement(j,null),flipY:n.createElement(j,{rotate:90})};var K=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const J=e=>{const{prefixCls:t,preview:r,className:i,rootClassName:p,style:m}=e,f=K(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:g,getPopupContainer:b,className:v,style:y,preview:w}=(0,u.dj)("image"),[x]=(0,h.Z)("Image"),S=g("image",t),k=g(),C=(0,d.Z)(S),[$,j,O]=G(S,C),_=a()(p,j,O,C),N=a()(i,j,v),[A]=(0,l.Cn)("ImagePreview","object"==typeof r?r.zIndex:void 0),I=n.useMemo((()=>{if(!1===r)return r;const e="object"==typeof r?r:{},{getContainer:t,closeIcon:i,rootClassName:s}=e,l=K(e,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:n.createElement("div",{className:`${S}-mask-info`},n.createElement(o.Z,null),null==x?void 0:x.preview),icons:Y},l),{rootClassName:a()(_,s),getContainer:null!=t?t:b,transitionName:(0,c.m)(k,"zoom",e.transitionName),maskTransitionName:(0,c.m)(k,"fade",e.maskTransitionName),zIndex:A,closeIcon:null!=i?i:null==w?void 0:w.closeIcon})}),[r,x,null==w?void 0:w.closeIcon]),E=Object.assign(Object.assign({},y),m);return $(n.createElement(s.Z,Object.assign({prefixCls:S,preview:I,rootClassName:_,className:N,style:E},f)))};J.PreviewGroup=e=>{var{previewPrefixCls:t,preview:r}=e,o=X(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=n.useContext(u.E_),h=i("image",t),p=`${h}-preview`,m=i(),f=(0,d.Z)(h),[g,b,v]=G(h,f),[y]=(0,l.Cn)("ImagePreview","object"==typeof r?r.zIndex:void 0),w=n.useMemo((()=>{var e;if(!1===r)return r;const t="object"==typeof r?r:{},n=a()(b,v,f,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,c.m)(m,"zoom",t.transitionName),maskTransitionName:(0,c.m)(m,"fade",t.maskTransitionName),rootClassName:n,zIndex:y})}),[r]);return g(n.createElement(s.Z.PreviewGroup,Object.assign({preview:w,previewPrefixCls:p,icons:Y},o)))};var Q=J},71051:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(59301),o=r(84105),i=r(87395),a=r(92310),s=r.n(a),l=r(20922),c=r(62487),u=r(82855),d=r(48755),h=r(60840),p=r(2171),m=r(83397),f=r(31756),g=r(56553),b=r(24971),v=r(70045),y=r(36237),w=r(53075),x=r(64910),S=r(39082),k=r(63356),C=r(56119),$=r(16931),j=r(51636),O=r(17835);const _=(e,t)=>{let{componentCls:r,borderRadiusSM:n,borderRadiusLG:o}=e;const i="lg"===t?o:n;return{[`&-${t}`]:{[`${r}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${r}-handler-up`]:{borderStartEndRadius:i},[`${r}-handler-down`]:{borderEndEndRadius:i}}}},N=e=>{const{componentCls:t,lineWidth:r,lineType:n,borderRadius:o,inputFontSizeSM:i,inputFontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,paddingInlineSM:u,paddingBlockSM:d,paddingBlockLG:h,paddingInlineLG:p,colorTextDescription:m,motionDurationMid:f,handleHoverColor:g,handleOpacity:b,paddingInline:v,paddingBlock:x,handleBg:C,handleActiveBg:$,colorTextDisabled:j,borderRadiusSM:O,borderRadiusLG:N,controlWidth:A,handleBorderColor:I,filledHandleBg:E,lineHeightLG:z,calc:M}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,k.Wf)(e)),(0,w.ik)(e)),{display:"inline-block",width:A,margin:0,padding:0,borderRadius:o}),(0,S.qG)(e,{[`${t}-handler-wrap`]:{background:C,[`${t}-handler-down`]:{borderBlockStart:`${(0,y.unit)(r)} ${n} ${I}`}}})),(0,S.H8)(e,{[`${t}-handler-wrap`]:{background:E,[`${t}-handler-down`]:{borderBlockStart:`${(0,y.unit)(r)} ${n} ${I}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:C}}})),(0,S.vc)(e,{[`${t}-handler-wrap`]:{background:C,[`${t}-handler-down`]:{borderBlockStart:`${(0,y.unit)(r)} ${n} ${I}`}}})),(0,S.Mu)(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,lineHeight:z,borderRadius:N,[`input${t}-input`]:{height:M(s).sub(M(r).mul(2)).equal(),padding:`${(0,y.unit)(h)} ${(0,y.unit)(p)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:O,[`input${t}-input`]:{height:M(l).sub(M(r).mul(2)).equal(),padding:`${(0,y.unit)(d)} ${(0,y.unit)(u)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,k.Wf)(e)),(0,w.s7)(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:N,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:O}}},(0,S.ir)(e)),(0,S.S5)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,k.Wf)(e)),{width:"100%",padding:`${(0,y.unit)(x)} ${(0,y.unit)(v)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${f} linear`,appearance:"textfield",fontSize:"inherit"}),(0,w.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:b,height:"100%",borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${f}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:m,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,y.unit)(r)} ${n} ${I}`,transition:`all ${f} linear`,"&:active":{background:$},"&:hover":{height:"60%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{color:g}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,k.Ro)()),{color:m,transition:`all ${f} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderEndEndRadius:o}},_(e,"lg")),_(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`\n ${t}-handler-up-disabled,\n ${t}-handler-down-disabled\n `]:{cursor:"not-allowed"},[`\n ${t}-handler-up-disabled:hover &-handler-up-inner,\n ${t}-handler-down-disabled:hover &-handler-down-inner\n `]:{color:j}})}]},A=e=>{const{componentCls:t,paddingBlock:r,paddingInline:n,inputAffixPadding:o,controlWidth:i,borderRadiusLG:a,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:c,paddingBlockLG:u,paddingBlockSM:d,motionDurationMid:h}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${(0,y.unit)(r)} 0`}},(0,w.ik)(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:a,paddingInlineStart:l,[`input${t}-input`]:{padding:`${(0,y.unit)(u)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:c,[`input${t}-input`]:{padding:`${(0,y.unit)(d)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:n,marginInlineStart:o,transition:`margin ${h}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(n).equal()}})}};var I=(0,$.I$)("InputNumber",(e=>{const t=(0,j.mergeToken)(e,(0,x.e)(e));return[N(t),A(t),(0,C.c)(t)]}),(e=>{var t;const r=null!==(t=e.handleVisible)&&void 0!==t?t:"auto",n=e.controlHeightSM-2*e.lineWidth;return Object.assign(Object.assign({},(0,x.T)(e)),{controlWidth:90,handleWidth:n,handleFontSize:e.fontSize/2,handleVisible:r,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new O.FastColor(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:!0===r?1:0,handleVisibleWidth:!0===r?n:0})}),{unitless:{handleOpacity:!0}}),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const z=n.forwardRef(((e,t)=>{const{getPrefixCls:r,direction:a}=n.useContext(d.E_),h=n.useRef(null);n.useImperativeHandle(t,(()=>h.current));const{className:y,rootClassName:w,size:x,disabled:S,prefixCls:k,addonBefore:C,addonAfter:$,prefix:j,suffix:O,bordered:_,readOnly:N,status:A,controls:z,variant:M}=e,P=E(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),L=r("input-number",k),B=(0,m.Z)(L),[T,R,F]=I(L,B),{compactSize:D,compactItemClassnames:q}=(0,v.ri)(L,a);let H=n.createElement(i.Z,{className:`${L}-handler-up-inner`}),W=n.createElement(o.Z,{className:`${L}-handler-down-inner`});const Z="boolean"==typeof z?z:void 0;"object"==typeof z&&(H=void 0===z.upIcon?H:n.createElement("span",{className:`${L}-handler-up-inner`},z.upIcon),W=void 0===z.downIcon?W:n.createElement("span",{className:`${L}-handler-down-inner`},z.downIcon));const{hasFeedback:U,status:V,isFormItemInput:G,feedbackIcon:X}=n.useContext(g.aM),Y=(0,u.F)(V,A),K=(0,f.Z)((e=>{var t;return null!==(t=null!=x?x:D)&&void 0!==t?t:e})),J=n.useContext(p.Z),Q=null!=S?S:J,[ee,te]=(0,b.Z)("inputNumber",M,_),re=U&&n.createElement(n.Fragment,null,X),ne=s()({[`${L}-lg`]:"large"===K,[`${L}-sm`]:"small"===K,[`${L}-rtl`]:"rtl"===a,[`${L}-in-form-item`]:G},R),oe=`${L}-group`;return T(n.createElement(l.Z,Object.assign({ref:h,disabled:Q,className:s()(F,B,y,w,q),upHandler:H,downHandler:W,prefixCls:L,readOnly:N,controls:Z,prefix:j,suffix:re||O,addonBefore:C&&n.createElement(c.Z,{form:!0,space:!0},C),addonAfter:$&&n.createElement(c.Z,{form:!0,space:!0},$),classNames:{input:ne,variant:s()({[`${L}-${ee}`]:te},(0,u.Z)(L,Y,U)),affixWrapper:s()({[`${L}-affix-wrapper-sm`]:"small"===K,[`${L}-affix-wrapper-lg`]:"large"===K,[`${L}-affix-wrapper-rtl`]:"rtl"===a,[`${L}-affix-wrapper-without-controls`]:!1===z||Q},R),wrapper:s()({[`${oe}-rtl`]:"rtl"===a},R),groupWrapper:s()({[`${L}-group-wrapper-sm`]:"small"===K,[`${L}-group-wrapper-lg`]:"large"===K,[`${L}-group-wrapper-rtl`]:"rtl"===a,[`${L}-group-wrapper-${ee}`]:te},(0,u.Z)(`${L}-group-wrapper`,Y,U),R)}},P)))})),M=z;M._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(h.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},n.createElement(z,Object.assign({},e)));var P=M},49397:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(59301),o=r(92310),i=r.n(o),a=r(36901),s=r(8654),l=r(62487),c=r(86013),u=r(82855),d=r(48755),h=r(2171),p=r(83397),m=r(31756),f=r(56553),g=r(24971),b=r(70045),v=r(23826),y=r(53075);var w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var x=(0,n.forwardRef)(((e,t)=>{const{prefixCls:r,bordered:o=!0,status:x,size:S,disabled:k,onBlur:C,onFocus:$,suffix:j,allowClear:O,addonAfter:_,addonBefore:N,className:A,style:I,styles:E,rootClassName:z,onChange:M,classNames:P,variant:L}=e,B=w(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]);const{getPrefixCls:T,direction:R,allowClear:F,autoComplete:D,className:q,style:H,classNames:W,styles:Z}=(0,d.dj)("input"),U=T("input",r),V=(0,n.useRef)(null),G=(0,p.Z)(U),[X,Y,K]=(0,y.TI)(U,z),[J]=(0,y.ZP)(U,G),{compactSize:Q,compactItemClassnames:ee}=(0,b.ri)(U,R),te=(0,m.Z)((e=>{var t;return null!==(t=null!=S?S:Q)&&void 0!==t?t:e})),re=n.useContext(h.Z),ne=null!=k?k:re,{status:oe,hasFeedback:ie,feedbackIcon:ae}=(0,n.useContext)(f.aM),se=(0,u.F)(oe,x),le=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!ie;(0,n.useRef)(le);const ce=(0,v.Z)(V,!0),ue=(ie||j)&&n.createElement(n.Fragment,null,j,ie&&ae),de=(0,c.Z)(null!=O?O:F),[he,pe]=(0,g.Z)("input",L,o);return X(J(n.createElement(a.default,Object.assign({ref:(0,s.sQ)(t,V),prefixCls:U,autoComplete:D},B,{disabled:ne,onBlur:e=>{ce(),null==C||C(e)},onFocus:e=>{ce(),null==$||$(e)},style:Object.assign(Object.assign({},H),I),styles:Object.assign(Object.assign({},Z),E),suffix:ue,allowClear:de,className:i()(A,z,K,G,ee,q),onChange:e=>{ce(),null==M||M(e)},addonBefore:N&&n.createElement(l.Z,{form:!0,space:!0},N),addonAfter:_&&n.createElement(l.Z,{form:!0,space:!0},_),classNames:Object.assign(Object.assign(Object.assign({},P),W),{input:i()({[`${U}-sm`]:"small"===te,[`${U}-lg`]:"large"===te,[`${U}-rtl`]:"rtl"===R},null==P?void 0:P.input,W.input,Y),variant:i()({[`${U}-${he}`]:pe},(0,u.Z)(U,se)),affixWrapper:i()({[`${U}-affix-wrapper-sm`]:"small"===te,[`${U}-affix-wrapper-lg`]:"large"===te,[`${U}-affix-wrapper-rtl`]:"rtl"===R},Y),wrapper:i()({[`${U}-group-rtl`]:"rtl"===R},Y),groupWrapper:i()({[`${U}-group-wrapper-sm`]:"small"===te,[`${U}-group-wrapper-lg`]:"large"===te,[`${U}-group-wrapper-rtl`]:"rtl"===R,[`${U}-group-wrapper-${he}`]:pe},(0,u.Z)(`${U}-group-wrapper`,se,ie),Y)})}))))}))},79809:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var n=r(59301),o=r(92310),i=r.n(o),a=r(22711),s=r(86013),l=r(82855),c=r(48755),u=r(2171),d=r(83397),h=r(31756),p=r(56553),m=r(24971),f=r(70045),g=r(30292),b=r(53075),v=r(16931),y=r(51636),w=r(64910);const x=e=>{const{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${n}-has-feedback ${t}\n `]:{paddingInlineEnd:r},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}};var S=(0,v.I$)(["Input","TextArea"],(e=>{const t=(0,y.mergeToken)(e,(0,w.e)(e));return[x(t)]}),w.T,{resetFont:!1}),k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var C=(0,n.forwardRef)(((e,t)=>{var r;const{prefixCls:o,bordered:v=!0,size:y,disabled:w,status:x,allowClear:C,classNames:$,rootClassName:j,className:O,style:_,styles:N,variant:A,showCount:I,onMouseDown:E,onResize:z}=e,M=k(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]);const{getPrefixCls:P,direction:L,allowClear:B,autoComplete:T,className:R,style:F,classNames:D,styles:q}=(0,c.dj)("textArea"),H=n.useContext(u.Z),W=null!=w?w:H,{status:Z,hasFeedback:U,feedbackIcon:V}=n.useContext(p.aM),G=(0,l.F)(Z,x),X=n.useRef(null);n.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=X.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,r;(0,g.nH)(null===(r=null===(t=X.current)||void 0===t?void 0:t.resizableTextArea)||void 0===r?void 0:r.textArea,e)},blur:()=>{var e;return null===(e=X.current)||void 0===e?void 0:e.blur()}}}));const Y=P("input",o),K=(0,d.Z)(Y),[J,Q,ee]=(0,b.TI)(Y,j),[te]=S(Y,K),{compactSize:re,compactItemClassnames:ne}=(0,f.ri)(Y,L),oe=(0,h.Z)((e=>{var t;return null!==(t=null!=y?y:re)&&void 0!==t?t:e})),[ie,ae]=(0,m.Z)("textArea",A,v),se=(0,s.Z)(null!=C?C:B),[le,ce]=n.useState(!1),[ue,de]=n.useState(!1);return J(te(n.createElement(a.default,Object.assign({autoComplete:T},M,{style:Object.assign(Object.assign({},F),_),styles:Object.assign(Object.assign({},q),N),disabled:W,allowClear:se,className:i()(ee,K,O,j,ne,R,ue&&`${Y}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},$),D),{textarea:i()({[`${Y}-sm`]:"small"===oe,[`${Y}-lg`]:"large"===oe},Q,null==$?void 0:$.textarea,D.textarea,le&&`${Y}-mouse-active`),variant:i()({[`${Y}-${ie}`]:ae},(0,l.Z)(Y,G)),affixWrapper:i()(`${Y}-textarea-affix-wrapper`,{[`${Y}-affix-wrapper-rtl`]:"rtl"===L,[`${Y}-affix-wrapper-sm`]:"small"===oe,[`${Y}-affix-wrapper-lg`]:"large"===oe,[`${Y}-textarea-show-count`]:I||(null===(r=e.count)||void 0===r?void 0:r.show)},Q)}),prefixCls:Y,suffix:U&&n.createElement("span",{className:`${Y}-textarea-suffix`},V),showCount:I,ref:X,onResize:e=>{var t,r;if(null==z||z(e),le&&"function"==typeof getComputedStyle){const e=null===(r=null===(t=X.current)||void 0===t?void 0:t.nativeElement)||void 0===r?void 0:r.querySelector("textarea");e&&"both"===getComputedStyle(e).resize&&de(!0)}},onMouseDown:e=>{ce(!0),null==E||E(e);const t=()=>{ce(!1),document.removeEventListener("mouseup",t)};document.addEventListener("mouseup",t)}}))))}))},23826:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(59301);function o(e,t){const r=(0,n.useRef)([]),o=()=>{r.current.push(setTimeout((()=>{var t,r,n,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(r=e.current)||void 0===r?void 0:r.input.getAttribute("type"))&&(null===(n=e.current)||void 0===n?void 0:n.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return(0,n.useEffect)((()=>(t&&o(),()=>r.current.forEach((e=>{e&&clearTimeout(e)})))),[]),o}},37568:function(e,t,r){"use strict";r.d(t,{Z:function(){return U}});var n=r(59301),o=r(92310),i=r.n(o),a=r(48755),s=r(56553),l=r(53075);var c=e=>{const{getPrefixCls:t,direction:r}=(0,n.useContext)(a.E_),{prefixCls:o,className:c}=e,u=t("input-group",o),d=t("input"),[h,p,m]=(0,l.ZP)(d),f=i()(u,m,{[`${u}-lg`]:"large"===e.size,[`${u}-sm`]:"small"===e.size,[`${u}-compact`]:e.compact,[`${u}-rtl`]:"rtl"===r},p,c),g=(0,n.useContext)(s.aM),b=(0,n.useMemo)((()=>Object.assign(Object.assign({},g),{isFormItemInput:!1})),[g]);return h(n.createElement("span",{className:f,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},n.createElement(s.aM.Provider,{value:b},e.children)))},u=r(49397),d=r(94480),h=r(6089),p=r(26112),m=r(82855),f=r(31756),g=r(16931),b=r(51636),v=r(64910);const y=e=>{const{componentCls:t,paddingXS:r}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:r,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}};var w=(0,g.I$)(["Input","OTP"],(e=>{const t=(0,b.mergeToken)(e,(0,v.e)(e));return[y(t)]}),v.T),x=r(16089),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var k=n.forwardRef(((e,t)=>{const{value:r,onChange:o,onActiveChange:i,index:a,mask:s}=e,l=S(e,["value","onChange","onActiveChange","index","mask"]),c=r&&"string"==typeof s?s:r,d=n.useRef(null);n.useImperativeHandle(t,(()=>d.current));const h=()=>{(0,x.Z)((()=>{var e;const t=null===(e=d.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()}))};return n.createElement(u.Z,Object.assign({type:!0===s?"password":"text"},l,{ref:d,value:c,onInput:e=>{o(a,e.target.value)},onFocus:h,onKeyDown:e=>{const{key:t,ctrlKey:r,metaKey:n}=e;"ArrowLeft"===t?i(a-1):"ArrowRight"===t?i(a+1):"z"===t&&(r||n)&&e.preventDefault(),h()},onKeyUp:e=>{"Backspace"!==e.key||r||i(a-1),h()},onMouseDown:h,onMouseUp:h}))})),C=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function $(e){return(e||"").split("")}const j=e=>{const{index:t,prefixCls:r,separator:o}=e,i="function"==typeof o?o(t):o;return i?n.createElement("span",{className:`${r}-separator`},i):null};var O=n.forwardRef(((e,t)=>{const{prefixCls:r,length:o=6,size:l,defaultValue:c,value:u,onChange:g,formatter:b,separator:v,variant:y,disabled:x,status:S,autoFocus:O,mask:_,type:N,onInput:A,inputMode:I}=e,E=C(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]);const{getPrefixCls:z,direction:M}=n.useContext(a.E_),P=z("otp",r),L=(0,p.Z)(E,{aria:!0,data:!0,attr:!0}),[B,T,R]=w(P),F=(0,f.Z)((e=>null!=l?l:e)),D=n.useContext(s.aM),q=(0,m.F)(D.status,S),H=n.useMemo((()=>Object.assign(Object.assign({},D),{status:q,hasFeedback:!1,feedbackIcon:null})),[D,q]),W=n.useRef(null),Z=n.useRef({});n.useImperativeHandle(t,(()=>({focus:()=>{var e;null===(e=Z.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;t<o;t+=1)null===(e=Z.current[t])||void 0===e||e.blur()},nativeElement:W.current})));const U=e=>b?b(e):e,[V,G]=n.useState((()=>$(U(c||""))));n.useEffect((()=>{void 0!==u&&G($(u))}),[u]);const X=(0,h.Z)((e=>{G(e),A&&A(e),g&&e.length===o&&e.every((e=>e))&&e.some(((e,t)=>V[t]!==e))&&g(e.join(""))})),Y=(0,h.Z)(((e,t)=>{let r=(0,d.Z)(V);for(let t=0;t<e;t+=1)r[t]||(r[t]="");t.length<=1?r[e]=t:r=r.slice(0,e).concat($(t)),r=r.slice(0,o);for(let e=r.length-1;e>=0&&!r[e];e-=1)r.pop();const n=U(r.map((e=>e||" ")).join(""));return r=$(n).map(((e,t)=>" "!==e||r[t]?e:r[t])),r})),K=(e,t)=>{var r;const n=Y(e,t),i=Math.min(e+t.length,o-1);i!==e&&void 0!==n[e]&&(null===(r=Z.current[i])||void 0===r||r.focus()),X(n)},J=e=>{var t;null===(t=Z.current[e])||void 0===t||t.focus()},Q={variant:y,disabled:x,status:q,mask:_,type:N,inputMode:I};return B(n.createElement("div",Object.assign({},L,{ref:W,className:i()(P,{[`${P}-sm`]:"small"===F,[`${P}-lg`]:"large"===F,[`${P}-rtl`]:"rtl"===M},R,T)}),n.createElement(s.aM.Provider,{value:H},Array.from({length:o}).map(((e,t)=>{const r=`otp-${t}`,i=V[t]||"";return n.createElement(n.Fragment,{key:r},n.createElement(k,Object.assign({ref:e=>{Z.current[t]=e},index:t,size:F,htmlSize:1,className:`${P}-input`,onChange:K,value:i,onActiveChange:J,autoFocus:0===t&&O},Q)),t<o-1&&n.createElement(j,{separator:v,index:t,prefixCls:P}))})))))})),_=r(73331),N=r(15277),A=r(2738),I=r(8654),E=r(2171),z=r(23826),M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const P=e=>e?n.createElement(N.Z,null):n.createElement(_.Z,null),L={click:"onClick",hover:"onMouseOver"};var B=n.forwardRef(((e,t)=>{const{disabled:r,action:o="click",visibilityToggle:s=!0,iconRender:l=P}=e,c=n.useContext(E.Z),d=null!=r?r:c,h="object"==typeof s&&void 0!==s.visible,[p,m]=(0,n.useState)((()=>!!h&&s.visible)),f=(0,n.useRef)(null);n.useEffect((()=>{h&&m(s.visible)}),[h,s]);const g=(0,z.Z)(f),b=()=>{var e;if(d)return;p&&g();const t=!p;m(t),"object"==typeof s&&(null===(e=s.onVisibleChange)||void 0===e||e.call(s,t))},{className:v,prefixCls:y,inputPrefixCls:w,size:x}=e,S=M(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:k}=n.useContext(a.E_),C=k("input",w),$=k("input-password",y),j=s&&(e=>{const t=L[o]||"",r=l(p),i={[t]:b,className:`${e}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return n.cloneElement(n.isValidElement(r)?r:n.createElement("span",null,r),i)})($),O=i()($,v,{[`${$}-${x}`]:!!x}),_=Object.assign(Object.assign({},(0,A.Z)(S,["suffix","iconRender","visibilityToggle"])),{type:p?"text":"password",className:O,prefixCls:C,suffix:j});return x&&(_.size=x),n.createElement(u.Z,Object.assign({ref:(0,I.sQ)(t,f)},_))})),T=r(47472),R=r(22703),F=r(99571),D=r(70045),q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var H=n.forwardRef(((e,t)=>{const{prefixCls:r,inputPrefixCls:o,className:s,size:l,suffix:c,enterButton:d=!1,addonAfter:h,loading:p,disabled:m,onSearch:g,onChange:b,onCompositionStart:v,onCompositionEnd:y}=e,w=q(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:x,direction:S}=n.useContext(a.E_),k=n.useRef(!1),C=x("input-search",r),$=x("input",o),{compactSize:j}=(0,D.ri)(C,S),O=(0,f.Z)((e=>{var t;return null!==(t=null!=l?l:j)&&void 0!==t?t:e})),_=n.useRef(null),N=e=>{var t;document.activeElement===(null===(t=_.current)||void 0===t?void 0:t.input)&&e.preventDefault()},A=e=>{var t,r;g&&g(null===(r=null===(t=_.current)||void 0===t?void 0:t.input)||void 0===r?void 0:r.value,e,{source:"input"})},E="boolean"==typeof d?n.createElement(T.Z,null):null,z=`${C}-button`;let M;const P=d||{},L=P.type&&!0===P.type.__ANT_BUTTON;M=L||"button"===P.type?(0,R.Tm)(P,Object.assign({onMouseDown:N,onClick:e=>{var t,r;null===(r=null===(t=null==P?void 0:P.props)||void 0===t?void 0:t.onClick)||void 0===r||r.call(t,e),A(e)},key:"enterButton"},L?{className:z,size:O}:{})):n.createElement(F.ZP,{className:z,type:d?"primary":void 0,size:O,disabled:m,key:"enterButton",onMouseDown:N,onClick:A,loading:p,icon:E},d),h&&(M=[M,(0,R.Tm)(h,{key:"addonAfter"})]);const B=i()(C,{[`${C}-rtl`]:"rtl"===S,[`${C}-${O}`]:!!O,[`${C}-with-button`]:!!d},s),H=Object.assign(Object.assign({},w),{className:B,prefixCls:$,type:"search"});return n.createElement(u.Z,Object.assign({ref:(0,I.sQ)(_,t),onPressEnter:e=>{k.current||p||A(e)}},H,{size:O,onCompositionStart:e=>{k.current=!0,null==v||v(e)},onCompositionEnd:e=>{k.current=!1,null==y||y(e)},addonAfter:M,suffix:c,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&g&&g(e.target.value,e,{source:"clear"}),null==b||b(e)},disabled:m}))})),W=r(79809);const Z=u.Z;Z.Group=c,Z.Search=H,Z.TextArea=W.Z,Z.Password=B,Z.OTP=O;var U=Z},53075:function(e,t,r){"use strict";r.d(t,{TI:function(){return x},ik:function(){return p},nz:function(){return u},s7:function(){return m},x0:function(){return h}});var n=r(36237),o=r(63356),i=r(56119),a=r(16931),s=r(51636),l=r(64910),c=r(39082);const u=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=e=>{const{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${(0,n.unit)(t)} ${(0,n.unit)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:o}},h=e=>({padding:`${(0,n.unit)(e.paddingBlockSM)} ${(0,n.unit)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),p=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.unit)(e.paddingBlock)} ${(0,n.unit)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},u(e.colorTextPlaceholder)),{"&-lg":Object.assign({},d(e)),"&-sm":Object.assign({},h(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),m=e=>{const{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},d(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},h(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.unit)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${(0,n.unit)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${r}-cascader-picker`]:{margin:`-9px ${(0,n.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,o.dF)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${r}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${r}-select > ${r}-select-selector,\n & > ${r}-select-auto-complete ${t},\n & > ${r}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${r}-select:first-child > ${r}-select-selector,\n & > ${r}-select-auto-complete:first-child ${t},\n & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${r}-select:last-child > ${r}-select-selector,\n & > ${r}-cascader-picker:last-child ${t},\n & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},f=e=>{const{componentCls:t,controlHeightSM:r,lineWidth:n,calc:i}=e,a=i(r).sub(i(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.Wf)(e)),p(e)),(0,c.qG)(e)),(0,c.H8)(e)),(0,c.Mu)(e)),(0,c.vc)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},g=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,n.unit)(e.inputAffixPadding)}`}}}},b=e=>{const{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e,l=`${t}-affix-wrapper-disabled`;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},p(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),g(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),[`${t}-underlined`]:{borderRadius:0},[l]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},v=e=>{const{componentCls:t,borderRadiusLG:r,borderRadiusSM:n}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,o.Wf)(e)),m(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}}},(0,c.ir)(e)),(0,c.S5)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},y=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},w=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},x=(0,a.I$)(["Input","Shared"],(e=>{const t=(0,s.mergeToken)(e,(0,l.e)(e));return[f(t),b(t)]}),l.T,{resetFont:!1});t.ZP=(0,a.I$)(["Input","Component"],(e=>{const t=(0,s.mergeToken)(e,(0,l.e)(e));return[v(t),y(t),w(t),(0,i.c)(t)]}),l.T,{resetFont:!1})},64910:function(e,t,r){"use strict";r.d(t,{T:function(){return i},e:function(){return o}});var n=r(51636);function o(e){return(0,n.mergeToken)(e,{inputAffixPadding:e.paddingXXS})}const i=e=>{const{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:h,colorPrimaryHover:p,colorPrimary:m,controlOutlineWidth:f,controlOutline:g,colorErrorOutline:b,colorWarningOutline:v,colorBgContainer:y,inputFontSize:w,inputFontSizeLG:x,inputFontSizeSM:S}=e,k=w||r,C=S||k,$=x||s,j=Math.round((t-k*n)/2*10)/10-o,O=Math.round((i-C*n)/2*10)/10-o,_=Math.ceil((a-$*l)/2*10)/10-o;return{paddingBlock:Math.max(j,0),paddingBlockSM:Math.max(O,0),paddingBlockLG:Math.max(_,0),paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:d-o,addonBg:h,activeBorderColor:m,hoverBorderColor:p,activeShadow:`0 0 0 ${f}px ${g}`,errorActiveShadow:`0 0 0 ${f}px ${b}`,warningActiveShadow:`0 0 0 ${f}px ${v}`,hoverBg:y,activeBg:y,inputFontSize:k,inputFontSizeLG:$,inputFontSizeSM:C}}},39082:function(e,t,r){"use strict";r.d(t,{$U:function(){return s},H8:function(){return f},Mu:function(){return h},S5:function(){return b},Xy:function(){return a},ir:function(){return d},qG:function(){return c},vc:function(){return w}});var n=r(36237),o=r(51636);const i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,o.mergeToken)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),s=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),l=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},s(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),c=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),l(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),l(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),u=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),d=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},u(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),u(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),h=(e,t)=>{const{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},p=(e,t)=>{var r;return{background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null!==(r=null==t?void 0:t.inputColor)&&void 0!==r?r:"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}},m=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},p(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),f=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),m(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),m(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),g=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),b=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},g(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),g(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),v=(e,t)=>({background:e.colorBgContainer,borderWidth:`${(0,n.unit)(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.borderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.borderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),y=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},v(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),w=(e,t)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),y(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),y(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)})},24303:function(e,t,r){"use strict";r.d(t,{D:function(){return k},Z:function(){return j}});var n=r(59301),o=r(54476),i={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"},a=r(7657),s=function(e,t){return n.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))};var l=n.forwardRef(s),c=r(33853),u=r(38819),d=r(92310),h=r.n(d),p=r(2738),m=r(48755),f=r(6989),g=r(36237),b=r(48923),v=r(16931);const y=e=>{const{componentCls:t,siderBg:r,motionDurationMid:n,motionDurationSlow:o,antCls:i,triggerHeight:a,triggerColor:s,triggerBg:l,headerHeight:c,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:h,lightSiderBg:p,lightTriggerColor:m,lightTriggerBg:f,bodyBg:b}=e;return{[t]:{position:"relative",minWidth:0,background:r,transition:`all ${n}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${i}-menu${i}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${t}-children`]:{overflow:"hidden"},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:s,lineHeight:(0,g.unit)(a),textAlign:"center",background:l,cursor:"pointer",transition:`all ${n}`},[`${t}-zero-width-trigger`]:{position:"absolute",top:c,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:r,borderRadius:`0 ${(0,g.unit)(h)} ${(0,g.unit)(h)} 0`,cursor:"pointer",transition:`background ${o} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${o}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${(0,g.unit)(h)} 0 0 ${(0,g.unit)(h)}`}},"&-light":{background:p,[`${t}-trigger`]:{color:m,background:f},[`${t}-zero-width-trigger`]:{color:m,background:f,border:`1px solid ${b}`,borderInlineStart:0}}}}};var w=(0,v.I$)(["Layout","Sider"],(e=>[y(e)]),b.eh,{deprecatedTokens:b.jn}),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const S={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},k=n.createContext({}),C=(()=>{let e=0;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,`${t}${e}`}})(),$=n.forwardRef(((e,t)=>{const{prefixCls:r,className:o,trigger:i,children:a,defaultCollapsed:s=!1,theme:d="dark",style:g={},collapsible:b=!1,reverseArrow:v=!1,width:y=200,collapsedWidth:$=80,zeroWidthTriggerStyle:j,breakpoint:O,onCollapse:_,onBreakpoint:N}=e,A=x(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:I}=(0,n.useContext)(f.V),[E,z]=(0,n.useState)("collapsed"in e?e.collapsed:s),[M,P]=(0,n.useState)(!1);(0,n.useEffect)((()=>{"collapsed"in e&&z(e.collapsed)}),[e.collapsed]);const L=(t,r)=>{"collapsed"in e||z(t),null==_||_(t,r)},{getPrefixCls:B,direction:T}=(0,n.useContext)(m.E_),R=B("layout-sider",r),[F,D,q]=w(R),H=(0,n.useRef)(null);H.current=e=>{P(e.matches),null==N||N(e.matches),E!==e.matches&&L(e.matches,"responsive")},(0,n.useEffect)((()=>{function e(e){return H.current(e)}let t;if("undefined"!=typeof window){const{matchMedia:r}=window;if(r&&O&&O in S){t=r(`screen and (max-width: ${S[O]})`);try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return()=>{try{null==t||t.removeEventListener("change",e)}catch(r){null==t||t.removeListener(e)}}}),[O]),(0,n.useEffect)((()=>{const e=C("ant-sider-");return I.addSider(e),()=>I.removeSider(e)}),[]);const W=()=>{L(!E,"clickTrigger")},Z=(0,p.Z)(A,["collapsed"]),U=E?$:y,V=(G=U,!Number.isNaN(Number.parseFloat(G))&&isFinite(G)?`${U}px`:String(U));var G;const X=0===parseFloat(String($||0))?n.createElement("span",{onClick:W,className:h()(`${R}-zero-width-trigger`,`${R}-zero-width-trigger-${v?"right":"left"}`),style:j},i||n.createElement(l,null)):null,Y="rtl"===T==!v,K={expanded:Y?n.createElement(u.Z,null):n.createElement(c.Z,null),collapsed:Y?n.createElement(c.Z,null):n.createElement(u.Z,null)}[E?"collapsed":"expanded"],J=null!==i?X||n.createElement("div",{className:`${R}-trigger`,onClick:W,style:{width:V}},i||K):null,Q=Object.assign(Object.assign({},g),{flex:`0 0 ${V}`,maxWidth:V,minWidth:V,width:V}),ee=h()(R,`${R}-${d}`,{[`${R}-collapsed`]:!!E,[`${R}-has-trigger`]:b&&null!==i&&!X,[`${R}-below`]:!!M,[`${R}-zero-width`]:0===parseFloat(V)},o,D,q),te=n.useMemo((()=>({siderCollapsed:E})),[E]);return F(n.createElement(k.Provider,{value:te},n.createElement("aside",Object.assign({className:ee},Z,{style:Q,ref:t}),n.createElement("div",{className:`${R}-children`},a),b||M&&X?J:null)))}));var j=$},6989:function(e,t,r){"use strict";r.d(t,{V:function(){return n}});const n=r(59301).createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24404:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var n=r(94480),o=r(59301),i=r(92310),a=r.n(i),s=r(2738),l=r(48755),c=r(6989),u=r(11592),d=r(24303);var h=r(48923),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function m(e){let{suffixCls:t,tagName:r,displayName:n}=e;return e=>o.forwardRef(((n,i)=>o.createElement(e,Object.assign({ref:i,suffixCls:t,tagName:r},n))))}const f=o.forwardRef(((e,t)=>{const{prefixCls:r,suffixCls:n,className:i,tagName:s}=e,c=p(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:u}=o.useContext(l.E_),d=u("layout",r),[m,f,g]=(0,h.ZP)(d),b=n?`${d}-${n}`:d;return m(o.createElement(s,Object.assign({className:a()(r||b,i,f,g),ref:t},c)))})),g=o.forwardRef(((e,t)=>{const{direction:r}=o.useContext(l.E_),[i,m]=o.useState([]),{prefixCls:f,className:g,rootClassName:b,children:v,hasSider:y,tagName:w,style:x}=e,S=p(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),k=(0,s.Z)(S,["suffixCls"]),{getPrefixCls:C,className:$,style:j}=(0,l.dj)("layout"),O=C("layout",f),_=function(e,t,r){return"boolean"==typeof r?r:!!e.length||(0,u.Z)(t).some((e=>e.type===d.Z))}(i,v,y),[N,A,I]=(0,h.ZP)(O),E=a()(O,{[`${O}-has-sider`]:_,[`${O}-rtl`]:"rtl"===r},$,g,b,A,I),z=o.useMemo((()=>({siderHook:{addSider:e=>{m((t=>[].concat((0,n.Z)(t),[e])))},removeSider:e=>{m((t=>t.filter((t=>t!==e))))}}})),[]);return N(o.createElement(c.V.Provider,{value:z},o.createElement(w,Object.assign({ref:t,className:E,style:Object.assign(Object.assign({},j),x)},k),v)))})),b=m({tagName:"div",displayName:"Layout"})(g),v=m({suffixCls:"header",tagName:"header",displayName:"Header"})(f),y=m({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(f),w=m({suffixCls:"content",tagName:"main",displayName:"Content"})(f);const x=b;x.Header=v,x.Footer=y,x.Content=w,x.Sider=d.Z,x._InternalSiderContext=d.D;var S=x},48923:function(e,t,r){"use strict";r.d(t,{eh:function(){return a},jn:function(){return s}});var n=r(36237),o=r(16931);const i=e=>{const{antCls:t,componentCls:r,colorText:o,footerBg:i,headerHeight:a,headerPadding:s,headerColor:l,footerPadding:c,fontSize:u,bodyBg:d,headerBg:h}=e;return{[r]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:d,"&, *":{boxSizing:"border-box"},[`&${r}-has-sider`]:{flexDirection:"row",[`> ${r}, > ${r}-content`]:{width:0}},[`${r}-header, &${r}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${r}-header`]:{height:a,padding:s,color:l,lineHeight:(0,n.unit)(a),background:h,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:c,color:o,fontSize:u,background:i},[`${r}-content`]:{flex:"auto",color:o,minHeight:0}}},a=e=>{const{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:o,controlHeightSM:i,marginXXS:a,colorTextLightSolid:s,colorBgContainer:l}=e,c=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*r,headerPadding:`0 ${c}px`,headerColor:o,footerPadding:`${i}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*a,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:o}},s=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];t.ZP=(0,o.I$)("Layout",(e=>[i(e)]),a,{deprecatedTokens:s})},78857:function(e,t,r){"use strict";r.d(t,{J:function(){return l}});var n=r(59301),o=r(8654),i=r(62487),a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const s=n.createContext(null),l=n.forwardRef(((e,t)=>{const{children:r}=e,l=a(e,["children"]),c=n.useContext(s),u=n.useMemo((()=>Object.assign(Object.assign({},c),l)),[c,l.prefixCls,l.mode,l.selectable,l.rootClassName]),d=(0,o.t4)(r),h=(0,o.x1)(t,d?(0,o.C4)(r):null);return n.createElement(s.Provider,{value:u},n.createElement(i.Z,{space:!0},d?n.cloneElement(r,{ref:h}):r))}));t.Z=s},93041:function(e,t,r){"use strict";r.d(t,{Z:function(){return X}});var n=r(59301),o=r(28321),i=r(24303),a=r(18785),s=r(92310),l=r.n(s),c=r(6089),u=r(2738),d=r(86641),h=r(22703),p=r(48755),m=r(83397);var f=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var b=e=>{const{prefixCls:t,className:r,dashed:i}=e,a=g(e,["prefixCls","className","dashed"]),{getPrefixCls:s}=n.useContext(p.E_),c=s("menu",t),u=l()({[`${c}-item-divider-dashed`]:!!i},r);return n.createElement(o.iz,Object.assign({className:u},a))},v=r(11592),y=r(25399);var w=e=>{var t;const{className:r,children:a,icon:s,title:c,danger:d,extra:p}=e,{prefixCls:m,firstLevel:g,direction:b,disableMenuItemTitleTooltip:w,inlineCollapsed:x}=n.useContext(f),{siderCollapsed:S}=n.useContext(i.D);let k=c;void 0===c?k=g?a:"":!1===c&&(k="");const C={title:k};S||x||(C.title=null,C.open=!1);const $=(0,v.Z)(a).length;let j=n.createElement(o.ck,Object.assign({},(0,u.Z)(e,["title","icon","danger"]),{className:l()({[`${m}-item-danger`]:d,[`${m}-item-only-child`]:1===(s?$+1:$)},r),title:"string"==typeof c?c:void 0}),(0,h.Tm)(s,{className:l()(n.isValidElement(s)?null===(t=s.props)||void 0===t?void 0:t.className:"",`${m}-item-icon`)}),(e=>{const t=null==a?void 0:a[0],r=n.createElement("span",{className:l()(`${m}-title-content`,{[`${m}-title-content-with-extra`]:!!p||0===p})},a);return(!s||n.isValidElement(a)&&"span"===a.type)&&a&&e&&g&&"string"==typeof t?n.createElement("div",{className:`${m}-inline-collapsed-noicon`},t.charAt(0)):r})(x));return w||(j=n.createElement(y.Z,Object.assign({},C,{placement:"rtl"===b?"left":"right",classNames:{root:`${m}-inline-collapsed-tooltip`}}),j)),j},x=r(78857),S=r(36237),k=r(17835),C=r(63356),$=r(34961),j=r(46e3),O=r(34925),_=r(16931),N=r(51636);var A=e=>{const{componentCls:t,motionDurationSlow:r,horizontalLineHeight:n,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,S.unit)(i)} ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${r}`,`background ${r}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}};var I=e=>{let{componentCls:t,menuArrowOffset:r,calc:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,S.unit)(n(r).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,S.unit)(r)})`}}}}};const E=e=>Object.assign({},(0,C.oN)(e));var z=(e,t)=>{const{componentCls:r,itemColor:n,itemSelectedColor:o,subMenuItemSelectedColor:i,groupTitleColor:a,itemBg:s,subMenuItemBg:l,itemSelectedBg:c,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:h,motionDurationSlow:p,motionEaseInOut:m,motionEaseOut:f,itemPaddingInline:g,motionDurationMid:b,itemHoverColor:v,lineType:y,colorSplit:w,itemDisabledColor:x,dangerItemColor:k,dangerItemHoverColor:C,dangerItemSelectedColor:$,dangerItemActiveBg:j,dangerItemSelectedBg:O,popupBg:_,itemHoverBg:N,itemActiveBg:A,menuSubMenuBg:I,horizontalItemSelectedColor:z,horizontalItemSelectedBg:M,horizontalItemBorderRadius:P,horizontalItemHoverBg:L}=e;return{[`${r}-${t}, ${r}-${t} > ${r}`]:{color:n,background:s,[`&${r}-root:focus-visible`]:Object.assign({},E(e)),[`${r}-item`]:{"&-group-title, &-extra":{color:a}},[`${r}-submenu-selected > ${r}-submenu-title`]:{color:i},[`${r}-item, ${r}-submenu-title`]:{color:n,[`&:not(${r}-item-disabled):focus-visible`]:Object.assign({},E(e))},[`${r}-item-disabled, ${r}-submenu-disabled`]:{color:`${x} !important`},[`${r}-item:not(${r}-item-selected):not(${r}-submenu-selected)`]:{[`&:hover, > ${r}-submenu-title:hover`]:{color:v}},[`&:not(${r}-horizontal)`]:{[`${r}-item:not(${r}-item-selected)`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:A}},[`${r}-submenu-title`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:A}}},[`${r}-item-danger`]:{color:k,[`&${r}-item:hover`]:{[`&:not(${r}-item-selected):not(${r}-submenu-selected)`]:{color:C}},[`&${r}-item:active`]:{background:j}},[`${r}-item a`]:{"&, &:hover":{color:"inherit"}},[`${r}-item-selected`]:{color:o,[`&${r}-item-danger`]:{color:$},"a, a:hover":{color:"inherit"}},[`& ${r}-item-selected`]:{backgroundColor:c,[`&${r}-item-danger`]:{backgroundColor:O}},[`&${r}-submenu > ${r}`]:{backgroundColor:I},[`&${r}-popup > ${r}`]:{backgroundColor:_},[`&${r}-submenu-popup > ${r}`]:{backgroundColor:_},[`&${r}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${r}-item, > ${r}-submenu`]:{top:h,marginTop:e.calc(h).mul(-1).equal(),marginBottom:0,borderRadius:P,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${(0,S.unit)(u)} solid transparent`,transition:`border-color ${p} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:L,"&::after":{borderBottomWidth:u,borderBottomColor:z}},"&-selected":{color:z,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:u,borderBottomColor:z}}}}),[`&${r}-root`]:{[`&${r}-inline, &${r}-vertical`]:{borderInlineEnd:`${(0,S.unit)(h)} ${y} ${w}`}},[`&${r}-inline`]:{[`${r}-sub${r}-inline`]:{background:l},[`${r}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,S.unit)(d)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${b} ${f}`,`opacity ${b} ${f}`].join(","),content:'""'},[`&${r}-item-danger`]:{"&::after":{borderInlineEndColor:$}}},[`${r}-selected, ${r}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${b} ${m}`,`opacity ${b} ${m}`].join(",")}}}}}};const M=e=>{const{componentCls:t,itemHeight:r,itemMarginInline:n,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:s,itemWidth:l,itemPaddingInline:c}=e,u=e.calc(i).add(o).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:r,lineHeight:(0,S.unit)(r),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:s,width:l},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:r,lineHeight:(0,S.unit)(r)},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:u}}};var P=e=>{const{componentCls:t,iconCls:r,itemHeight:n,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionEaseOut:s,paddingXL:l,itemMarginInline:c,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:h,paddingXS:p,boxShadowSecondary:m,collapsedWidth:f,collapsedIconSize:g}=e,b={height:n,lineHeight:(0,S.unit)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},M(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},M(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${(0,S.unit)(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${h}`,`background ${h}`,`padding ${d} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:l}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:f,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,S.unit)(e.calc(g).div(2).equal())} - ${(0,S.unit)(c)})`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${r}`]:{margin:0,fontSize:g,lineHeight:(0,S.unit)(n),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${r}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${r}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},C.vS),{paddingInline:p})}}]};const L=e=>{const{componentCls:t,motionDurationSlow:r,motionDurationMid:n,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding calc(${r} + 0.1s) ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:s,fontSize:s,transition:[`font-size ${n} ${i}`,`margin ${r} ${o}`,`color ${r}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${r} ${o}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:Object.assign({},(0,C.Ro)()),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},B=e=>{const{componentCls:t,motionDurationSlow:r,motionEaseInOut:n,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${r} ${n}, opacity ${r}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${r} ${n}`,`transform ${r} ${n}`,`top ${r} ${n}`,`color ${r} ${n}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,S.unit)(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,S.unit)(a)})`}}}}},T=e=>{const{antCls:t,componentCls:r,fontSize:n,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:s,padding:l,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:h,subMenuItemBorderRadius:p,menuArrowSize:m,menuArrowOffset:f,lineType:g,groupTitleLineHeight:b,groupTitleFontSize:v}=e;return[{"":{[r]:Object.assign(Object.assign({},(0,C.dF)()),{"&-hidden":{display:"none"}})},[`${r}-submenu-hidden`]:{display:"none"}},{[r]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.Wf)(e)),(0,C.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${r}-item`]:{flex:"none"}},[`${r}-item, ${r}-submenu, ${r}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${r}-item-group-title`]:{padding:`${(0,S.unit)(s)} ${(0,S.unit)(l)}`,fontSize:v,lineHeight:b,transition:`all ${o}`},[`&-horizontal ${r}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${r}-submenu, ${r}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${r}-submenu ${r}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${r}-title-content`]:{transition:`color ${o}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${r}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${r}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${r}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),L(e)),{[`${r}-item-group`]:{[`${r}-item-group-list`]:{margin:0,padding:0,[`${r}-item, ${r}-submenu-title`]:{paddingInline:`${(0,S.unit)(e.calc(n).mul(2).equal())} ${(0,S.unit)(l)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:h,boxShadow:"none",transformOrigin:"0 0",[`&${r}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${r}`]:Object.assign(Object.assign(Object.assign({borderRadius:h},L(e)),B(e)),{[`${r}-item, ${r}-submenu > ${r}-submenu-title`]:{borderRadius:p},[`${r}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})},"\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:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),B(e)),{[`&-inline-collapsed ${r}-submenu-arrow,\n &-inline ${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,S.unit)(f)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,S.unit)(e.calc(f).mul(-1).equal())})`}},[`${r}-submenu-open${r}-submenu-inline > ${r}-submenu-title > ${r}-submenu-arrow`]:{transform:`translateY(${(0,S.unit)(e.calc(m).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,S.unit)(e.calc(f).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,S.unit)(f)})`}}})},{[`${t}-layout-header`]:{[r]:{lineHeight:"inherit"}}}]},R=e=>{var t,r,n;const{colorPrimary:o,colorError:i,colorTextDisabled:a,colorErrorBg:s,colorText:l,colorTextDescription:c,colorBgContainer:u,colorFillAlter:d,colorFillContent:h,lineWidth:p,lineWidthBold:m,controlItemBgActive:f,colorBgTextHover:g,controlHeightLG:b,lineHeight:v,colorBgElevated:y,marginXXS:w,padding:x,fontSize:S,controlHeightSM:C,fontSizeLG:$,colorTextLightSolid:j,colorErrorHover:O}=e,_=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,N=null!==(r=e.activeBarBorderWidth)&&void 0!==r?r:p,A=null!==(n=e.itemMarginInline)&&void 0!==n?n:e.marginXXS,I=new k.FastColor(j).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:o,itemSelectedColor:o,subMenuItemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:u,itemBg:u,colorItemBgHover:g,itemHoverBg:g,colorItemBgActive:h,itemActiveBg:f,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:f,itemSelectedBg:f,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:_,colorActiveBarHeight:m,activeBarHeight:m,colorActiveBarBorderSize:p,activeBarBorderWidth:N,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:A,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:b,groupTitleLineHeight:v,collapsedWidth:2*b,popupBg:y,itemMarginBlock:w,itemPaddingInline:x,horizontalLineHeight:1.15*b+"px",iconSize:S,iconMarginInlineEnd:C-S,collapsedIconSize:$,groupTitleFontSize:S,darkItemDisabledColor:new k.FastColor(j).setA(.25).toRgbString(),darkItemColor:I,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:j,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:I,darkItemHoverColor:j,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:j,darkDangerItemActiveBg:i,itemWidth:_?`calc(100% + ${N}px)`:`calc(100% - ${2*A}px)`}};var F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=(0,_.I$)("Menu",(e=>{const{colorBgElevated:t,controlHeightLG:r,fontSize:n,darkItemColor:o,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:s,darkItemSelectedColor:l,darkItemSelectedBg:c,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:h,darkItemHoverColor:p,darkItemDisabledColor:m,darkDangerItemHoverColor:f,darkDangerItemSelectedColor:g,darkDangerItemActiveBg:b,popupBg:v,darkPopupBg:y}=e,w=e.calc(n).div(7).mul(5).equal(),x=(0,N.mergeToken)(e,{menuArrowSize:w,menuHorizontalHeight:e.calc(r).mul(1.15).equal(),menuArrowOffset:e.calc(w).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),S=(0,N.mergeToken)(x,{itemColor:o,itemHoverColor:p,groupTitleColor:h,itemSelectedColor:l,subMenuItemSelectedColor:l,itemBg:a,popupBg:y,subMenuItemBg:s,itemActiveBg:"transparent",itemSelectedBg:c,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:m,dangerItemColor:i,dangerItemHoverColor:f,dangerItemSelectedColor:g,dangerItemActiveBg:b,dangerItemSelectedBg:u,menuSubMenuBg:s,horizontalItemSelectedColor:l,horizontalItemSelectedBg:c});return[T(x),A(x),P(x),z(x,"light"),z(S,"dark"),I(x),(0,$.Z)(x),(0,j.oN)(x,"slide-up"),(0,j.oN)(x,"slide-down"),(0,O._y)(x,"zoom-big")]}),R,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:r,unitless:{groupTitleLineHeight:!0}});return n(e,t)},D=r(75030);var q=e=>{var t;const{popupClassName:r,icon:i,title:a,theme:s}=e,c=n.useContext(f),{prefixCls:d,inlineCollapsed:p,theme:m}=c,g=(0,o.Xl)();let b;if(i){const e=n.isValidElement(a)&&"span"===a.type;b=n.createElement(n.Fragment,null,(0,h.Tm)(i,{className:l()(n.isValidElement(i)?null===(t=i.props)||void 0===t?void 0:t.className:"",`${d}-item-icon`)}),e?a:n.createElement("span",{className:`${d}-title-content`},a))}else b=p&&!g.length&&a&&"string"==typeof a?n.createElement("div",{className:`${d}-inline-collapsed-noicon`},a.charAt(0)):n.createElement("span",{className:`${d}-title-content`},a);const v=n.useMemo((()=>Object.assign(Object.assign({},c),{firstLevel:!1})),[c]),[y]=(0,D.Cn)("Menu");return n.createElement(f.Provider,{value:v},n.createElement(o.Wd,Object.assign({},(0,u.Z)(e,["icon"]),{title:b,popupClassName:l()(d,r,`${d}-${s||m}`),popupStyle:Object.assign({zIndex:y},e.popupStyle)})))},H=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function W(e){return null===e||!1===e}const Z={item:w,submenu:q,divider:b},U=(0,n.forwardRef)(((e,t)=>{var r;const i=n.useContext(x.Z),s=i||{},{getPrefixCls:g,getPopupContainer:b,direction:v,menu:y}=n.useContext(p.E_),w=g(),{prefixCls:S,className:k,style:C,theme:$="light",expandIcon:j,_internalDisableMenuItemTitleTooltip:O,inlineCollapsed:_,siderCollapsed:N,rootClassName:A,mode:I,selectable:E,onClick:z,overflowedIndicatorPopupClassName:M}=e,P=H(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),L=(0,u.Z)(P,["collapsedWidth"]);null===(r=s.validator)||void 0===r||r.call(s,{mode:I});const B=(0,c.Z)((function(){var e;null==z||z.apply(void 0,arguments),null===(e=s.onClick)||void 0===e||e.call(s)})),T=s.mode||I,R=null!=E?E:s.selectable,D=null!=_?_:N,q={horizontal:{motionName:`${w}-slide-up`},inline:(0,d.Z)(w),other:{motionName:`${w}-zoom-big`}},U=g("menu",S||s.prefixCls),V=(0,m.Z)(U),[G,X,Y]=F(U,V,!i),K=l()(`${U}-${$}`,null==y?void 0:y.className,k),J=n.useMemo((()=>{var e,t;if("function"==typeof j||W(j))return j||null;if("function"==typeof s.expandIcon||W(s.expandIcon))return s.expandIcon||null;if("function"==typeof(null==y?void 0:y.expandIcon)||W(null==y?void 0:y.expandIcon))return(null==y?void 0:y.expandIcon)||null;const r=null!==(e=null!=j?j:null==s?void 0:s.expandIcon)&&void 0!==e?e:null==y?void 0:y.expandIcon;return(0,h.Tm)(r,{className:l()(`${U}-submenu-expand-icon`,n.isValidElement(r)?null===(t=r.props)||void 0===t?void 0:t.className:void 0)})}),[j,null==s?void 0:s.expandIcon,null==y?void 0:y.expandIcon,U]),Q=n.useMemo((()=>({prefixCls:U,inlineCollapsed:D||!1,direction:v,firstLevel:!0,theme:$,mode:T,disableMenuItemTitleTooltip:O})),[U,D,v,O,$]);return G(n.createElement(x.Z.Provider,{value:null},n.createElement(f.Provider,{value:Q},n.createElement(o.ZP,Object.assign({getPopupContainer:b,overflowedIndicator:n.createElement(a.Z,null),overflowedIndicatorPopupClassName:l()(U,`${U}-${$}`,M),mode:T,selectable:R,onClick:B},L,{inlineCollapsed:D,style:Object.assign(Object.assign({},null==y?void 0:y.style),C),className:K,prefixCls:U,direction:v,defaultMotions:q,expandIcon:J,ref:t,rootClassName:l()(A,X,s.rootClassName,Y,V),_internalComponents:Z})))))}));var V=U;const G=(0,n.forwardRef)(((e,t)=>{const r=(0,n.useRef)(null),o=n.useContext(i.D);return(0,n.useImperativeHandle)(t,(()=>({menu:r.current,focus:e=>{var t;null===(t=r.current)||void 0===t||t.focus(e)}}))),n.createElement(V,Object.assign({ref:r},e,o))}));G.Item=w,G.SubMenu=q,G.Divider=b,G.ItemGroup=o.BW;var X=G},13747:function(e,t,r){"use strict";r.d(t,{Z:function(){return W}});var n=r(59301),o=r(54476),i={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"},a=r(7657),s=function(e,t){return n.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))};var l=n.forwardRef(s),c=r(49198),u=r(33853),d=r(38819),h=r(92310),p=r.n(h),m=r(23425),f=r(61852),g=r(48755),b=r(31756),v=r(13783),y=r(9017),w=r(82326),x=r(57700),S=r(36237),k=r(53075),C=r(64910),$=r(39082),j=r(63356),O=r(51636),_=r(16931);const N=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},A=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,S.unit)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,S.unit)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,S.unit)(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[`\n &${t}-mini ${t}-prev ${t}-item-link,\n &${t}-mini ${t}-next ${t}-item-link\n `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,S.unit)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,S.unit)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,S.unit)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,k.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},I=e=>{const{componentCls:t}=e;return{[`\n &${t}-simple ${t}-prev,\n &${t}-simple ${t}-next\n `]:{height:e.itemSizeSM,lineHeight:(0,S.unit)(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,S.unit)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,S.unit)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,S.unit)(e.lineWidth)} ${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:`${(0,S.unit)(e.inputOutlineOffset)} 0 ${(0,S.unit)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},E=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`\n ${t}-prev,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{marginInlineEnd:e.marginXS},[`\n ${t}-prev,\n ${t}-next,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,S.unit)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,S.unit)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,S.unit)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,k.ik)(e)),(0,$.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,$.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},z=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,S.unit)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,S.unit)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,S.unit)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},M=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,j.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,S.unit)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),z(e)),E(e)),I(e)),A(e)),N(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},P=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,j.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,j.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,j.oN)(e))}}}},L=e=>Object.assign({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},(0,C.T)(e)),B=e=>(0,O.mergeToken)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,C.e)(e));var T=(0,_.I$)("Pagination",(e=>{const t=B(e);return[M(t),P(t)]}),L);const R=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,S.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var F=(0,_.bk)(["Pagination","bordered"],(e=>{const t=B(e);return[R(t)]}),L);function D(e){return(0,n.useMemo)((()=>"boolean"==typeof e?[e,{}]:e&&"object"==typeof e?[!0,e]:[void 0,void 0]),[e])}var q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var H=e=>{const{align:t,prefixCls:r,selectPrefixCls:o,className:i,rootClassName:a,style:s,size:h,locale:S,responsive:k,showSizeChanger:C,selectComponentClass:$,pageSizeOptions:j}=e,O=q(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:_}=(0,v.Z)(k),[,N]=(0,x.ZP)(),{getPrefixCls:A,direction:I,showSizeChanger:E,className:z,style:M}=(0,g.dj)("pagination"),P=A("pagination",r),[L,B,R]=T(P),H=(0,b.Z)(h),W="small"===H||!(!_||H||!k),[Z]=(0,y.Z)("Pagination",f.Z),U=Object.assign(Object.assign({},Z),S),[V,G]=D(C),[X,Y]=D(E),K=null!=V?V:X,J=null!=G?G:Y,Q=$||w.default,ee=n.useMemo((()=>j?j.map((e=>Number(e))):void 0),[j]);const te=n.useMemo((()=>{const e=n.createElement("span",{className:`${P}-item-ellipsis`},"•••");return{prevIcon:n.createElement("button",{className:`${P}-item-link`,type:"button",tabIndex:-1},"rtl"===I?n.createElement(d.Z,null):n.createElement(u.Z,null)),nextIcon:n.createElement("button",{className:`${P}-item-link`,type:"button",tabIndex:-1},"rtl"===I?n.createElement(u.Z,null):n.createElement(d.Z,null)),jumpPrevIcon:n.createElement("a",{className:`${P}-item-link`},n.createElement("div",{className:`${P}-item-container`},"rtl"===I?n.createElement(c.Z,{className:`${P}-item-link-icon`}):n.createElement(l,{className:`${P}-item-link-icon`}),e)),jumpNextIcon:n.createElement("a",{className:`${P}-item-link`},n.createElement("div",{className:`${P}-item-container`},"rtl"===I?n.createElement(l,{className:`${P}-item-link-icon`}):n.createElement(c.Z,{className:`${P}-item-link-icon`}),e))}}),[I,P]),re=A("select",o),ne=p()({[`${P}-${t}`]:!!t,[`${P}-mini`]:W,[`${P}-rtl`]:"rtl"===I,[`${P}-bordered`]:N.wireframe},z,i,a,B,R),oe=Object.assign(Object.assign({},M),s);return L(n.createElement(n.Fragment,null,N.wireframe&&n.createElement(F,{prefixCls:P}),n.createElement(m.Z,Object.assign({},te,O,{style:oe,prefixCls:P,selectPrefixCls:re,className:ne,locale:U,pageSizeOptions:ee,showSizeChanger:K,sizeChangerRender:e=>{var t;const{disabled:r,size:o,onSizeChange:i,"aria-label":a,className:s,options:l}=e,{className:c,onChange:u}=J||{},d=null===(t=l.find((e=>String(e.value)===String(o))))||void 0===t?void 0:t.value;return n.createElement(Q,Object.assign({disabled:r,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":a,options:l},J,{value:d,onChange:(e,t)=>{null==i||i(e),null==u||u(e,t)},size:W?"small":"middle",className:p()(s,c)}))}}))))},W=H},93725:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(59301),o=r(96512),i=r(92310),a=r.n(i),s=r(18929),l=r(2738),c=r(48755),u=r(37639),d=r(15565),h=r(54500),p=r(99571),m=r(61670),f=r(9017),g=r(85981),b=r(69106),v=r(16931);var y=(0,v.I$)("Popconfirm",(e=>(e=>{const{componentCls:t,iconCls:r,antCls:n,zIndexPopup:o,colorText:i,colorWarning:a,marginXXS:s,marginXS:l,fontSize:c,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:o,[`&${n}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:l,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${r}`]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:l},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:s,color:i}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:l}}}}})(e)),(e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}}),{resetStyle:!1}),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const x=e=>{const{prefixCls:t,okButtonProps:r,cancelButtonProps:i,title:a,description:s,cancelText:l,okText:u,okType:b="primary",icon:v=n.createElement(o.Z,null),showCancel:y=!0,close:w,onConfirm:x,onCancel:S,onPopupClick:k}=e,{getPrefixCls:C}=n.useContext(c.E_),[$]=(0,f.Z)("Popconfirm",g.Z.Popconfirm),j=(0,h.Z)(a),O=(0,h.Z)(s);return n.createElement("div",{className:`${t}-inner-content`,onClick:k},n.createElement("div",{className:`${t}-message`},v&&n.createElement("span",{className:`${t}-message-icon`},v),n.createElement("div",{className:`${t}-message-text`},j&&n.createElement("div",{className:`${t}-title`},j),O&&n.createElement("div",{className:`${t}-description`},O))),n.createElement("div",{className:`${t}-buttons`},y&&n.createElement(p.ZP,Object.assign({onClick:S,size:"small"},i),l||(null==$?void 0:$.cancelText)),n.createElement(d.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,m.nx)(b)),r),actionFn:x,close:w,prefixCls:C("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==$?void 0:$.okText))))};var S=e=>{const{prefixCls:t,placement:r,className:o,style:i}=e,s=w(e,["prefixCls","placement","className","style"]),{getPrefixCls:l}=n.useContext(c.E_),u=l("popconfirm",t),[d]=y(u);return d(n.createElement(b.ZP,{placement:r,className:a()(u,o),style:i,content:n.createElement(x,Object.assign({prefixCls:u},s))}))},k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const C=n.forwardRef(((e,t)=>{var r,i;const{prefixCls:d,placement:h="top",trigger:p="click",okType:m="primary",icon:f=n.createElement(o.Z,null),children:g,overlayClassName:b,onOpenChange:v,onVisibleChange:w,overlayStyle:S,styles:C,classNames:$}=e,j=k(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:O,className:_,style:N,classNames:A,styles:I}=(0,c.dj)("popconfirm"),[E,z]=(0,s.Z)(!1,{value:null!==(r=e.open)&&void 0!==r?r:e.visible,defaultValue:null!==(i=e.defaultOpen)&&void 0!==i?i:e.defaultVisible}),M=(e,t)=>{z(e,!0),null==w||w(e),null==v||v(e,t)},P=O("popconfirm",d),L=a()(P,_,b,A.root,null==$?void 0:$.root),B=a()(A.body,null==$?void 0:$.body),[T]=y(P);return T(n.createElement(u.Z,Object.assign({},(0,l.Z)(j,["title"]),{trigger:p,placement:h,onOpenChange:(t,r)=>{const{disabled:n=!1}=e;n||M(t,r)},open:E,ref:t,classNames:{root:L,body:B},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},I.root),N),S),null==C?void 0:C.root),body:Object.assign(Object.assign({},I.body),null==C?void 0:C.body)},content:n.createElement(x,Object.assign({okType:m,icon:f},e,{prefixCls:P,close:e=>{M(!1,e)},onConfirm:t=>{var r;return null===(r=e.onConfirm)||void 0===r?void 0:r.call(void 0,t)},onCancel:t=>{var r;M(!1,t),null===(r=e.onCancel)||void 0===r||r.call(void 0,t)}})),"data-popover-inject":!0}),g))}));C._InternalPanelDoNotUseOrYouWillBeFired=S;var $=C},69106:function(e,t,r){"use strict";r.d(t,{aV:function(){return d},t5:function(){return h}});var n=r(59301),o=r(92310),i=r.n(o),a=r(29125),s=r(54500),l=r(48755),c=r(85074),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const d=e=>{let{title:t,content:r,prefixCls:o}=e;return t||r?n.createElement(n.Fragment,null,t&&n.createElement("div",{className:`${o}-title`},t),r&&n.createElement("div",{className:`${o}-inner-content`},r)):null},h=e=>{const{hashId:t,prefixCls:r,className:o,style:l,placement:c="top",title:u,content:h,children:p}=e,m=(0,s.Z)(u),f=(0,s.Z)(h),g=i()(t,r,`${r}-pure`,`${r}-placement-${c}`,o);return n.createElement("div",{className:g,style:l},n.createElement("div",{className:`${r}-arrow`}),n.createElement(a.G,Object.assign({},e,{className:t,prefixCls:r}),p||n.createElement(d,{prefixCls:r,title:m,content:f})))};t.ZP=e=>{const{prefixCls:t,className:r}=e,o=u(e,["prefixCls","className"]),{getPrefixCls:a}=n.useContext(l.E_),s=a("popover",t),[d,p,m]=(0,c.Z)(s);return d(n.createElement(h,Object.assign({},o,{prefixCls:s,hashId:p,className:i()(r,m)})))}},37639:function(e,t,r){"use strict";var n=r(59301),o=r(92310),i=r.n(o),a=r(18929),s=r(10228),l=r(54500),c=r(86641),u=r(22703),d=r(25399),h=r(69106),p=r(48755),m=r(85074),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const g=n.forwardRef(((e,t)=>{var r,o;const{prefixCls:g,title:b,content:v,overlayClassName:y,placement:w="top",trigger:x="hover",children:S,mouseEnterDelay:k=.1,mouseLeaveDelay:C=.1,onOpenChange:$,overlayStyle:j={},styles:O,classNames:_}=e,N=f(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:A,className:I,style:E,classNames:z,styles:M}=(0,p.dj)("popover"),P=A("popover",g),[L,B,T]=(0,m.Z)(P),R=A(),F=i()(y,B,T,I,z.root,null==_?void 0:_.root),D=i()(z.body,null==_?void 0:_.body),[q,H]=(0,a.Z)(!1,{value:null!==(r=e.open)&&void 0!==r?r:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),W=(e,t)=>{H(e,!0),null==$||$(e,t)},Z=(0,l.Z)(b),U=(0,l.Z)(v);return L(n.createElement(d.Z,Object.assign({placement:w,trigger:x,mouseEnterDelay:k,mouseLeaveDelay:C},N,{prefixCls:P,classNames:{root:F,body:D},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},M.root),E),j),null==O?void 0:O.root),body:Object.assign(Object.assign({},M.body),null==O?void 0:O.body)},ref:t,open:q,onOpenChange:e=>{W(e)},overlay:Z||U?n.createElement(h.aV,{prefixCls:P,title:Z,content:U}):null,transitionName:(0,c.m)(R,"zoom-big",N.transitionName),"data-popover-inject":!0}),(0,u.Tm)(S,{onKeyDown:e=>{var t,r;n.isValidElement(S)&&(null===(r=null==S?void 0:(t=S.props).onKeyDown)||void 0===r||r.call(t,e)),(e=>{e.keyCode===s.Z.ESC&&W(!1,e)})(e)}})))}));g._InternalPanelDoNotUseOrYouWillBeFired=h.ZP,t.Z=g},85074:function(e,t,r){"use strict";var n=r(63356),o=r(34925),i=r(37645),a=r(36305),s=r(34998),l=r(16931),c=r(51636);const u=e=>{const{componentCls:t,popoverColor:r,titleMinWidth:o,fontWeightStrong:a,innerPadding:s,boxShadowSecondary:l,colorTextHeading:c,borderRadiusLG:u,zIndexPopup:d,titleMarginBottom:h,colorBgElevated:p,popoverBg:m,titleBorderBottom:f,innerContentPadding:g,titlePadding:b}=e;return[{[t]:Object.assign(Object.assign({},(0,n.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:m,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:s},[`${t}-title`]:{minWidth:o,marginBottom:h,color:c,fontWeight:a,borderBottom:f,padding:b},[`${t}-inner-content`]:{color:r,padding:g}})},(0,i.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},d=e=>{const{componentCls:t}=e;return{[t]:s.i.map((r=>{const n=e[`${r}6`];return{[`&${t}-${r}`]:{"--antd-arrow-background-color":n,[`${t}-inner`]:{backgroundColor:n},[`${t}-arrow`]:{background:"transparent"}}}}))}};t.Z=(0,l.I$)("Popover",(e=>{const{colorBgElevated:t,colorText:r}=e,n=(0,c.mergeToken)(e,{popoverBg:t,popoverColor:r});return[u(n),d(n),(0,o._y)(n,"zoom-big")]}),(e=>{const{lineWidth:t,controlHeight:r,fontHeight:n,padding:o,wireframe:s,zIndexPopupBase:l,borderRadiusLG:c,marginXS:u,lineType:d,colorSplit:h,paddingSM:p}=e,m=r-n,f=m/2,g=m/2-t,b=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},(0,a.w)(e)),(0,i.wZ)({contentRadius:c,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:u,titlePadding:s?`${f}px ${b}px ${g}px`:0,titleBorderBottom:s?`${t}px ${d} ${h}`:"none",innerContentPadding:s?`${p}px ${b}px`:0})}),{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},60242:function(e,t,r){"use strict";r.d(t,{Z:function(){return R}});var n=r(59301),o=r(17835),i=r(29679),a=r(40001),s=r(19248),l=r(99267),c=r(92310),u=r.n(c),d=r(2738),h=r(48755),p=r(25930),m=r(25399),f=r(68361);function g(e){return!e||e<0?0:e>100?100:e}function b(e){let{success:t,successPercent:r}=e,n=r;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}const v=(e,t,r)=>{var n,o,i,a;let s=-1,l=-1;if("step"===t){const t=r.steps,n=r.strokeWidth;"string"==typeof e||void 0===e?(s="small"===e?2:14,l=null!=n?n:8):"number"==typeof e?[s,l]=[e,e]:[s=14,l=8]=Array.isArray(e)?e:[e.width,e.height],s*=t}else if("line"===t){const t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?l=t||("small"===e?6:8):"number"==typeof e?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else"circle"!==t&&"dashboard"!==t||("string"==typeof e||void 0===e?[s,l]="small"===e?[60,60]:[120,120]:"number"==typeof e?[s,l]=[e,e]:Array.isArray(e)&&(s=null!==(o=null!==(n=e[0])&&void 0!==n?n:e[1])&&void 0!==o?o:120,l=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[s,l]};var y=e=>{const{prefixCls:t,trailColor:r=null,strokeLinecap:o="round",gapPosition:i,gapDegree:a,width:s=120,type:l,children:c,success:d,size:h=s,steps:y}=e,[w,x]=v(h,"circle");let{strokeWidth:S}=e;void 0===S&&(S=Math.max((e=>3/e*100)(w),6));const k={width:w,height:x,fontSize:.15*w+6},C=n.useMemo((()=>a||0===a?a:"dashboard"===l?75:void 0),[a,l]),$=(e=>{let{percent:t,success:r,successPercent:n}=e;const o=g(b({success:r,successPercent:n}));return[o,g(g(t)-o)]})(e),j=i||"dashboard"===l&&"bottom"||void 0,O="[object Object]"===Object.prototype.toString.call(e.strokeColor),_=(e=>{let{success:t={},strokeColor:r}=e;const{strokeColor:n}=t;return[n||f.presetPrimaryColors.green,r||null]})({success:d,strokeColor:e.strokeColor}),N=u()(`${t}-inner`,{[`${t}-circle-gradient`]:O}),A=n.createElement(p.Cd,{steps:y,percent:y?$[1]:$,strokeWidth:S,trailWidth:S,strokeColor:y?_[1]:_,strokeLinecap:o,trailColor:r,prefixCls:t,gapDegree:C,gapPosition:j}),I=w<=20,E=n.createElement("div",{className:N,style:k},A,!I&&c);return I?n.createElement(m.Z,{title:c},E):E},w=r(36237),x=r(63356),S=r(16931),k=r(51636);const C="--progress-line-stroke-color",$="--progress-percent",j=e=>{const t=e?"100%":"-100%";return new w.Keyframes(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},O=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,x.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${C})`]},height:"100%",width:`calc(1 / var(${$}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,w.unit)(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:j(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:j(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},_=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},N=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},A=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var I=(0,S.I$)("Progress",(e=>{const t=e.calc(e.marginXXS).div(2).equal(),r=(0,k.mergeToken)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[O(r),_(r),N(r),A(r)]}),(e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:e.fontSize/e.fontSizeSM+"em"}))),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const z=(e,t)=>{const{from:r=f.presetPrimaryColors.blue,to:n=f.presetPrimaryColors.blue,direction:o=("rtl"===t?"to left":"to right")}=e,i=E(e,["from","to","direction"]);if(0!==Object.keys(i).length){const e=`linear-gradient(${o}, ${(e=>{let t=[];return Object.keys(e).forEach((r=>{const n=parseFloat(r.replace(/%/g,""));Number.isNaN(n)||t.push({key:n,value:e[r]})})),t=t.sort(((e,t)=>e.key-t.key)),t.map((e=>{let{key:t,value:r}=e;return`${r} ${t}%`})).join(", ")})(i)})`;return{background:e,[C]:e}}const a=`linear-gradient(${o}, ${r}, ${n})`;return{background:a,[C]:a}};var M=e=>{const{prefixCls:t,direction:r,percent:o,size:i,strokeWidth:a,strokeColor:s,strokeLinecap:l="round",children:c,trailColor:d=null,percentPosition:h,success:p}=e,{align:m,type:f}=h,y=s&&"string"!=typeof s?z(s,r):{[C]:s,background:s},w="square"===l||"butt"===l?0:void 0,x=null!=i?i:[-1,a||("small"===i?6:8)],[S,k]=v(x,"line",{strokeWidth:a});const j={backgroundColor:d||void 0,borderRadius:w},O=Object.assign(Object.assign({width:`${g(o)}%`,height:k,borderRadius:w},y),{[$]:g(o)/100}),_=b(e),N={width:`${g(_)}%`,height:k,borderRadius:w,backgroundColor:null==p?void 0:p.strokeColor},A={width:S<0?"100%":S},I=n.createElement("div",{className:`${t}-inner`,style:j},n.createElement("div",{className:u()(`${t}-bg`,`${t}-bg-${f}`),style:O},"inner"===f&&c),void 0!==_&&n.createElement("div",{className:`${t}-success-bg`,style:N})),E="outer"===f&&"start"===m,M="outer"===f&&"end"===m;return"outer"===f&&"center"===m?n.createElement("div",{className:`${t}-layout-bottom`},I,c):n.createElement("div",{className:`${t}-outer`,style:A},E&&c,I,M&&c)};var P=e=>{const{size:t,steps:r,rounding:o=Math.round,percent:i=0,strokeWidth:a=8,strokeColor:s,trailColor:l=null,prefixCls:c,children:d}=e,h=o(r*(i/100)),p=null!=t?t:["small"===t?2:14,a],[m,f]=v(p,"step",{steps:r,strokeWidth:a}),g=m/r,b=Array.from({length:r});for(let e=0;e<r;e++){const t=Array.isArray(s)?s[e]:s;b[e]=n.createElement("div",{key:e,className:u()(`${c}-steps-item`,{[`${c}-steps-item-active`]:e<=h-1}),style:{backgroundColor:e<=h-1?t:l,width:g,height:f}})}return n.createElement("div",{className:`${c}-steps-outer`},b,d)},L=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const B=["normal","exception","active","success"],T=n.forwardRef(((e,t)=>{const{prefixCls:r,className:c,rootClassName:p,steps:m,strokeColor:f,percent:w=0,size:x="default",showInfo:S=!0,type:k="line",status:C,format:$,style:j,percentPosition:O={}}=e,_=L(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:N="end",type:A="outer"}=O,E=Array.isArray(f)?f[0]:f,z="string"==typeof f||Array.isArray(f)?f:void 0,T=n.useMemo((()=>{if(E){const e="string"==typeof E?E:Object.values(E)[0];return new o.FastColor(e).isLight()}return!1}),[f]),R=n.useMemo((()=>{var t,r;const n=b(e);return parseInt(void 0!==n?null===(t=null!=n?n:0)||void 0===t?void 0:t.toString():null===(r=null!=w?w:0)||void 0===r?void 0:r.toString(),10)}),[w,e.success,e.successPercent]),F=n.useMemo((()=>!B.includes(C)&&R>=100?"success":C||"normal"),[C,R]),{getPrefixCls:D,direction:q,progress:H}=n.useContext(h.E_),W=D("progress",r),[Z,U,V]=I(W),G="line"===k,X=G&&!m,Y=n.useMemo((()=>{if(!S)return null;const t=b(e);let r;const o=G&&T&&"inner"===A;return"inner"===A||$||"exception"!==F&&"success"!==F?r=($||(e=>`${e}%`))(g(w),g(t)):"exception"===F?r=G?n.createElement(s.Z,null):n.createElement(l.Z,null):"success"===F&&(r=G?n.createElement(i.Z,null):n.createElement(a.Z,null)),n.createElement("span",{className:u()(`${W}-text`,{[`${W}-text-bright`]:o,[`${W}-text-${N}`]:X,[`${W}-text-${A}`]:X}),title:"string"==typeof r?r:void 0},r)}),[S,w,R,F,k,W,$]);let K;"line"===k?K=m?n.createElement(P,Object.assign({},e,{strokeColor:z,prefixCls:W,steps:"object"==typeof m?m.count:m}),Y):n.createElement(M,Object.assign({},e,{strokeColor:E,prefixCls:W,direction:q,percentPosition:{align:N,type:A}}),Y):"circle"!==k&&"dashboard"!==k||(K=n.createElement(y,Object.assign({},e,{strokeColor:E,prefixCls:W,progressStatus:F}),Y));const J=u()(W,`${W}-status-${F}`,{[`${W}-${"dashboard"===k?"circle":k}`]:"line"!==k,[`${W}-inline-circle`]:"circle"===k&&v(x,"circle")[0]<=20,[`${W}-line`]:X,[`${W}-line-align-${N}`]:X,[`${W}-line-position-${A}`]:X,[`${W}-steps`]:m,[`${W}-show-info`]:S,[`${W}-${x}`]:"string"==typeof x,[`${W}-rtl`]:"rtl"===q},null==H?void 0:H.className,c,p,U,V);return Z(n.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==H?void 0:H.style),j),className:J,role:"progressbar","aria-valuenow":R,"aria-valuemin":0,"aria-valuemax":100},(0,d.Z)(_,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),K))}));var R=T},47889:function(e,t,r){"use strict";r.d(t,{ZP:function(){return D}});var n=r(59301),o=r(92310),i=r.n(o),a=r(18929),s=r(26112),l=r(48755),c=r(83397),u=r(31756);const d=n.createContext(null),h=d.Provider;var p=d;const m=n.createContext(null),f=m.Provider;var g=r(16632),b=r(8654),v=r(12919),y=r(63872),w=r(74632),x=r(2171),S=r(56553),k=r(36237),C=r(63356),$=r(16931),j=r(51636);const O=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-group`;return{[n]:Object.assign(Object.assign({},(0,C.Wf)(e)),{display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`&${n}-block`]:{display:"flex"},[`${r}-badge ${r}-badge-count`]:{zIndex:1},[`> ${r}-badge:not(:first-child) > ${r}-button-wrapper`]:{borderInlineStart:"none"}})}},_=e=>{const{componentCls:t,wrapperMarginInlineEnd:r,colorPrimary:n,radioSize:o,motionDurationSlow:i,motionDurationMid:a,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:c,lineWidth:u,colorBgContainerDisabled:d,colorTextDisabled:h,paddingXS:p,dotColorDisabled:m,lineType:f,radioColor:g,radioBgColor:b,calc:v}=e,y=`${t}-inner`,w=v(o).sub(v(4).mul(2)),x=v(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,C.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:r,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,k.unit)(u)} ${f} ${n}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,C.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &,\n &:hover ${y}`]:{borderColor:n},[`${t}-input:focus-visible + ${y}`]:Object.assign({},(0,C.oN)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:x,height:x,marginBlockStart:v(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:v(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:g,borderBlockStart:0,borderInlineStart:0,borderRadius:x,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:x,height:x,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[y]:{borderColor:n,backgroundColor:b,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:m}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:h,cursor:"not-allowed"},[`&${t}-checked`]:{[y]:{"&::after":{transform:`scale(${v(w).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},N=e=>{const{buttonColor:t,controlHeight:r,componentCls:n,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:h,controlHeightLG:p,controlHeightSM:m,paddingXS:f,borderRadius:g,borderRadiusSM:b,borderRadiusLG:v,buttonCheckedBg:y,buttonSolidCheckedColor:w,colorTextDisabled:x,colorBgContainerDisabled:S,buttonCheckedBgDisabled:$,buttonCheckedColorDisabled:j,colorPrimary:O,colorPrimaryHover:_,colorPrimaryActive:N,buttonSolidCheckedBg:A,buttonSolidCheckedHoverBg:I,buttonSolidCheckedActiveBg:E,calc:z}=e;return{[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:r,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:(0,k.unit)(z(r).sub(z(o).mul(2)).equal()),background:d,border:`${(0,k.unit)(o)} ${i} ${a}`,borderBlockStartWidth:z(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:z(o).mul(-1).equal(),insetInlineStart:z(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,k.unit)(o)} ${i} ${a}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${n}-group-large &`]:{height:p,fontSize:h,lineHeight:(0,k.unit)(z(p).sub(z(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${n}-group-small &`]:{height:m,paddingInline:z(f).sub(o).equal(),paddingBlock:0,lineHeight:(0,k.unit)(z(m).sub(z(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},(0,C.oN)(e)),[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:y,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:_,borderColor:_,"&::before":{backgroundColor:_}},"&:active":{color:N,borderColor:N,"&::before":{backgroundColor:N}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:w,background:A,borderColor:A,"&:hover":{color:w,background:I,borderColor:I},"&:active":{color:w,background:E,borderColor:E}},"&-disabled":{color:x,backgroundColor:S,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:S,borderColor:a}},[`&-disabled${n}-button-wrapper-checked`]:{color:j,backgroundColor:$,borderColor:a,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}};var A=(0,$.I$)("Radio",(e=>{const{controlOutline:t,controlOutlineWidth:r}=e,n=`0 0 0 ${(0,k.unit)(r)} ${t}`,o=n,i=(0,j.mergeToken)(e,{radioFocusShadow:n,radioButtonFocusShadow:o});return[O(i),_(i),N(i)]}),(e=>{const{wireframe:t,padding:r,marginXS:n,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:h,colorPrimaryActive:p,colorWhite:m}=e;return{radioSize:i,dotSize:t?i-8:i-2*(4+o),dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:h,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:r-o,wrapperMarginInlineEnd:n,radioColor:t?d:m,radioBgColor:t?s:d}}),{unitless:{radioSize:!0,dotSize:!0}}),I=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const E=(e,t)=>{var r,o;const a=n.useContext(p),s=n.useContext(m),{getPrefixCls:u,direction:d,radio:h}=n.useContext(l.E_),f=n.useRef(null),k=(0,b.sQ)(t,f),{isFormItemInput:C}=n.useContext(S.aM);const $=t=>{var r,n;null===(r=e.onChange)||void 0===r||r.call(e,t),null===(n=null==a?void 0:a.onChange)||void 0===n||n.call(a,t)},{prefixCls:j,className:O,rootClassName:_,children:N,style:E,title:z}=e,M=I(e,["prefixCls","className","rootClassName","children","style","title"]),P=u("radio",j),L="button"===((null==a?void 0:a.optionType)||s),B=L?`${P}-button`:P,T=(0,c.Z)(P),[R,F,D]=A(P,T),q=Object.assign({},M),H=n.useContext(x.Z);a&&(q.name=a.name,q.onChange=$,q.checked=e.value===a.value,q.disabled=null!==(r=q.disabled)&&void 0!==r?r:a.disabled),q.disabled=null!==(o=q.disabled)&&void 0!==o?o:H;const W=i()(`${B}-wrapper`,{[`${B}-wrapper-checked`]:q.checked,[`${B}-wrapper-disabled`]:q.disabled,[`${B}-wrapper-rtl`]:"rtl"===d,[`${B}-wrapper-in-form-item`]:C,[`${B}-wrapper-block`]:!!(null==a?void 0:a.block)},null==h?void 0:h.className,O,_,F,D,T),[Z,U]=(0,w.Z)(q.onClick);return R(n.createElement(v.Z,{component:"Radio",disabled:q.disabled},n.createElement("label",{className:W,style:Object.assign(Object.assign({},null==h?void 0:h.style),E),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:z,onClick:Z},n.createElement(g.Z,Object.assign({},q,{className:i()(q.className,{[y.A]:!L}),type:"radio",prefixCls:B,ref:k,onClick:U})),void 0!==N?n.createElement("span",{className:`${B}-label`},N):null)))};var z=n.forwardRef(E),M=r(80402);const P=n.forwardRef(((e,t)=>{const{getPrefixCls:r,direction:o}=n.useContext(l.E_),d=(0,M.Z)(),{prefixCls:p,className:m,rootClassName:f,options:g,buttonStyle:b="outline",disabled:v,children:y,size:w,style:x,id:S,optionType:k,name:C=d,defaultValue:$,value:j,block:O=!1,onChange:_,onMouseEnter:N,onMouseLeave:I,onFocus:E,onBlur:P}=e,[L,B]=(0,a.Z)($,{value:j}),T=n.useCallback((t=>{const r=L,n=t.target.value;"value"in e||B(n),n!==r&&(null==_||_(t))}),[L,B,_]),R=r("radio",p),F=`${R}-group`,D=(0,c.Z)(R),[q,H,W]=A(R,D);let Z=y;g&&g.length>0&&(Z=g.map((e=>"string"==typeof e||"number"==typeof e?n.createElement(z,{key:e.toString(),prefixCls:R,disabled:v,value:e,checked:L===e},e):n.createElement(z,{key:`radio-group-value-options-${e.value}`,prefixCls:R,disabled:e.disabled||v,value:e.value,checked:L===e.value,title:e.title,style:e.style,id:e.id,required:e.required},e.label))));const U=(0,u.Z)(w),V=i()(F,`${F}-${b}`,{[`${F}-${U}`]:U,[`${F}-rtl`]:"rtl"===o,[`${F}-block`]:O},m,f,H,W,D),G=n.useMemo((()=>({onChange:T,value:L,disabled:v,name:C,optionType:k,block:O})),[T,L,v,C,k,O]);return q(n.createElement("div",Object.assign({},(0,s.Z)(e,{aria:!0,data:!0}),{className:V,style:x,onMouseEnter:N,onMouseLeave:I,onFocus:E,onBlur:P,id:S,ref:t}),n.createElement(h,{value:G},Z)))}));var L=n.memo(P),B=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const T=(e,t)=>{const{getPrefixCls:r}=n.useContext(l.E_),{prefixCls:o}=e,i=B(e,["prefixCls"]),a=r("radio",o);return n.createElement(f,{value:"button"},n.createElement(z,Object.assign({prefixCls:a},i,{type:"radio",ref:t})))};var R=n.forwardRef(T);const F=z;F.Button=R,F.Group=L,F.__ANT_RADIO=!0;var D=F},58018:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(59301),o=r(54476),i={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"},a=r(7657),s=function(e,t){return n.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))};var l=n.forwardRef(s),c=r(92310),u=r.n(c),d=r(738),h=r(48755),p=r(25399),m=r(36237),f=r(63356),g=r(16931),b=r(51636);const v=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,m.unit)(e.lineWidth)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},y=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),w=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.Wf)(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),v(e)),y(e))}};var x=(0,g.I$)("Rate",(e=>{const t=(0,b.mergeToken)(e,{});return[w(t)]}),(e=>({starColor:e.yellow6,starSize:.5*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent}))),S=r(2171),k=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const C=n.forwardRef(((e,t)=>{const{prefixCls:r,className:o,rootClassName:i,style:a,tooltips:s,character:c=n.createElement(l,null),disabled:m}=e,f=k(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),{getPrefixCls:g,direction:b,rate:v}=n.useContext(h.E_),y=g("rate",r),[w,C,$]=x(y),j=Object.assign(Object.assign({},null==v?void 0:v.style),a),O=n.useContext(S.Z),_=null!=m?m:O;return w(n.createElement(d.Z,Object.assign({ref:t,character:c,characterRender:(e,t)=>{let{index:r}=t;return s?n.createElement(p.Z,{title:s[r]},e):e},disabled:_},f,{className:u()(o,i,C,$,null==v?void 0:v.className),style:j,prefixCls:y,direction:b})))}));var $=C},82326:function(e,t,r){"use strict";var n=r(59301),o=r(92310),i=r.n(o),a=r(37463),s=r(2738),l=r(75030),c=r(86641),u=r(45915),d=r(82855),h=r(48755),p=r(38406),m=r(2171),f=r(83397),g=r(31756),b=r(56553),v=r(24971),y=r(70045),w=r(57700),x=r(1722),S=r(90376),k=r(68525),C=r(90005),$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const j="SECRET_COMBOBOX_MODE_DO_NOT_USE",O=(e,t)=>{var r;const{prefixCls:o,bordered:u,className:O,rootClassName:_,getPopupContainer:N,popupClassName:A,dropdownClassName:I,listHeight:E=256,placement:z,listItemHeight:M,size:P,disabled:L,notFoundContent:B,status:T,builtinPlacements:R,dropdownMatchSelectWidth:F,popupMatchSelectWidth:D,direction:q,style:H,allowClear:W,variant:Z,dropdownStyle:U,transitionName:V,tagRender:G,maxCount:X,prefix:Y}=e,K=$(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:J,getPrefixCls:Q,renderEmpty:ee,direction:te,virtual:re,popupMatchSelectWidth:ne,popupOverflow:oe}=n.useContext(h.E_),ie=(0,h.dj)("select"),[,ae]=(0,w.ZP)(),se=null!=M?M:null==ae?void 0:ae.controlHeight,le=Q("select",o),ce=Q(),ue=null!=q?q:te,{compactSize:de,compactItemClassnames:he}=(0,y.ri)(le,ue),[pe,me]=(0,v.Z)("select",Z,u),fe=(0,f.Z)(le),[ge,be,ve]=(0,S.Z)(le,fe),ye=n.useMemo((()=>{const{mode:t}=e;if("combobox"!==t)return t===j?"combobox":t}),[e.mode]),we="multiple"===ye||"tags"===ye,xe=(0,C.Z)(e.suffixIcon,e.showArrow),Se=null!==(r=null!=D?D:F)&&void 0!==r?r:ne,{status:ke,hasFeedback:Ce,isFormItemInput:$e,feedbackIcon:je}=n.useContext(b.aM),Oe=(0,d.F)(ke,T);let _e;_e=void 0!==B?B:"combobox"===ye?null:(null==ee?void 0:ee("Select"))||n.createElement(p.Z,{componentName:"Select"});const{suffixIcon:Ne,itemIcon:Ae,removeIcon:Ie,clearIcon:Ee}=(0,k.Z)(Object.assign(Object.assign({},K),{multiple:we,hasFeedback:Ce,feedbackIcon:je,showSuffixIcon:xe,prefixCls:le,componentName:"Select"})),ze=!0===W?{clearIcon:Ee}:W,Me=(0,s.Z)(K,["suffixIcon","itemIcon"]),Pe=i()(A||I,{[`${le}-dropdown-${ue}`]:"rtl"===ue},_,ve,fe,be),Le=(0,g.Z)((e=>{var t;return null!==(t=null!=P?P:de)&&void 0!==t?t:e})),Be=n.useContext(m.Z),Te=null!=L?L:Be,Re=i()({[`${le}-lg`]:"large"===Le,[`${le}-sm`]:"small"===Le,[`${le}-rtl`]:"rtl"===ue,[`${le}-${pe}`]:me,[`${le}-in-form-item`]:$e},(0,d.Z)(le,Oe,Ce),he,ie.className,O,_,ve,fe,be),Fe=n.useMemo((()=>void 0!==z?z:"rtl"===ue?"bottomRight":"bottomLeft"),[z,ue]);const[De]=(0,l.Cn)("SelectLike",null==U?void 0:U.zIndex);return ge(n.createElement(a.ZP,Object.assign({ref:t,virtual:re,showSearch:ie.showSearch},Me,{style:Object.assign(Object.assign({},ie.style),H),dropdownMatchSelectWidth:Se,transitionName:(0,c.m)(ce,"slide-up",V),builtinPlacements:(0,x.Z)(R,oe),listHeight:E,listItemHeight:se,mode:ye,prefixCls:le,placement:Fe,direction:ue,prefix:Y,suffixIcon:Ne,menuItemSelectedIcon:Ae,removeIcon:Ie,allowClear:ze,notFoundContent:_e,className:Re,getPopupContainer:N||J,dropdownClassName:Pe,disabled:Te,dropdownStyle:Object.assign(Object.assign({},U),{zIndex:De}),maxCount:we?X:void 0,tagRender:we?G:void 0})))};const _=n.forwardRef(O),N=(0,u.Z)(_,"dropdownAlign");_.SECRET_COMBOBOX_MODE_DO_NOT_USE=j,_.Option=a.Wx,_.OptGroup=a.Xo,_._InternalPanelDoNotUseOrYouWillBeFired=N,t.default=_},1722:function(e,t){"use strict";t.Z=function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)}},90376:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(63356),o=r(56119),i=r(16931),a=r(51636),s=r(46e3),l=r(93873);const c=e=>{const{optionHeight:t,optionFontSize:r,optionLineHeight:n,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:r,lineHeight:n,boxSizing:"border-box"}};var u=e=>{const{antCls:t,componentCls:r}=e,o=`${r}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,u=`&${t}-slide-up-leave${t}-slide-up-leave-active`,d=`${r}-dropdown-placement-`,h=`${o}-option-selected`;return[{[`${r}-dropdown`]:Object.assign(Object.assign({},(0,n.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${i}${d}bottomLeft,\n ${a}${d}bottomLeft\n `]:{animationName:s.fJ},[`\n ${i}${d}topLeft,\n ${a}${d}topLeft,\n ${i}${d}topRight,\n ${a}${d}topRight\n `]:{animationName:s.Qt},[`${u}${d}bottomLeft`]:{animationName:s.Uw},[`\n ${u}${d}topLeft,\n ${u}${d}topRight\n `]:{animationName:s.ly},"&-hidden":{display:"none"},[o]:Object.assign(Object.assign({},c(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},n.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${o}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${o}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},c(e)),{color:e.colorTextDisabled})}),[`${h}:has(+ ${h})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${h}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,s.oN)(e,"slide-up"),(0,s.oN)(e,"slide-down"),(0,l.Fm)(e,"move-up"),(0,l.Fm)(e,"move-down")]},d=r(26743),h=r(36237);function p(e,t){const{componentCls:r,inputPaddingHorizontalBase:o,borderRadius:i}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal();return{[`${r}-single${t?`${r}-${t}`:""}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${r}-selector`]:Object.assign(Object.assign({},(0,n.Wf)(e,!0)),{display:"flex",borderRadius:i,flex:"1 1 auto",[`${r}-selection-wrap:after`]:{lineHeight:(0,h.unit)(a)},[`${r}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`\n ${r}-selection-item,\n ${r}-selection-placeholder\n `]:{display:"block",padding:0,lineHeight:(0,h.unit)(a),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${r}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${r}-selection-item:empty:after`,`${r}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${r}-show-arrow ${r}-selection-item,\n &${r}-show-arrow ${r}-selection-search,\n &${r}-show-arrow ${r}-selection-placeholder\n `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${r}-open ${r}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${r}-customize-input)`]:{[`${r}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,h.unit)(o)}`,[`${r}-selection-search-input`]:{height:a,fontSize:e.fontSize},"&:after":{lineHeight:(0,h.unit)(a)}}},[`&${r}-customize-input`]:{[`${r}-selector`]:{"&:after":{display:"none"},[`${r}-selection-search`]:{position:"static",width:"100%"},[`${r}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,h.unit)(o)}`,"&:after":{display:"none"}}}}}}}function m(e){const{componentCls:t}=e,r=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[p(e),p((0,a.mergeToken)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${(0,h.unit)(r)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(r).add(e.calc(e.fontSize).mul(1.5)).equal()},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},p((0,a.mergeToken)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const f=(e,t)=>{const{componentCls:r,antCls:n,controlOutlineWidth:o}=e;return{[`&:not(${r}-customize-input) ${r}-selector`]:{border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${r}-disabled):not(${r}-customize-input):not(${n}-pagination-size-changer)`]:{[`&:hover ${r}-selector`]:{borderColor:t.hoverBorderHover},[`${r}-focused& ${r}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,h.unit)(o)} ${t.activeOutlineColor}`,outline:0},[`${r}-prefix`]:{color:t.color}}}},g=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},f(e,t))}),b=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},f(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),g(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),g(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),v=(e,t)=>{const{componentCls:r,antCls:n}=e;return{[`&:not(${r}-customize-input) ${r}-selector`]:{background:t.bg,border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${r}-disabled):not(${r}-customize-input):not(${n}-pagination-size-changer)`]:{[`&:hover ${r}-selector`]:{background:t.hoverBg},[`${r}-focused& ${r}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},y=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},v(e,t))}),w=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},v(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),y(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),y(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),x=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),S=(e,t)=>{const{componentCls:r,antCls:n}=e;return{[`&:not(${r}-customize-input) ${r}-selector`]:{borderWidth:`0 0 ${(0,h.unit)(e.lineWidth)} 0`,borderStyle:`none none ${e.lineType} none`,borderColor:t.borderColor,background:e.selectorBg,borderRadius:0},[`&:not(${r}-disabled):not(${r}-customize-input):not(${n}-pagination-size-changer)`]:{[`&:hover ${r}-selector`]:{borderColor:t.hoverBorderHover},[`${r}-focused& ${r}-selector`]:{borderColor:t.activeBorderColor,outline:0},[`${r}-prefix`]:{color:t.color}}}},k=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},S(e,t))}),C=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},S(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),k(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),k(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})});var $=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},b(e)),w(e)),x(e)),C(e))});const j=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},O=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},_=e=>{const{antCls:t,componentCls:r,inputPaddingHorizontalBase:o,iconCls:i}=e;return{[r]:Object.assign(Object.assign({},(0,n.Wf)(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${r}-customize-input) ${r}-selector`]:Object.assign(Object.assign({},j(e)),O(e)),[`${r}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},n.vS),{[`> ${t}-typography`]:{display:"inline"}}),[`${r}-selection-placeholder`]:Object.assign(Object.assign({},n.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${r}-arrow`]:Object.assign(Object.assign({},(0,n.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${r}-suffix)`]:{pointerEvents:"auto"}},[`${r}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${r}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${r}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${r}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${r}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${r}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${r}-has-feedback`]:{[`${r}-clear`]:{insetInlineEnd:e.calc(o).add(e.fontSize).add(e.paddingXS).equal()}}}}}},N=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},_(e),m(e),(0,d.ZP)(e),u(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,o.c)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]};var A=(0,i.I$)("Select",((e,t)=>{let{rootPrefixCls:r}=t;const n=(0,a.mergeToken)(e,{rootPrefixCls:r,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[N(n),$(n)]}),(e=>{const{fontSize:t,lineHeight:r,lineWidth:n,controlHeight:o,controlHeightSM:i,controlHeightLG:a,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:h,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:f,colorBgContainerDisabled:g,colorTextDisabled:b,colorPrimaryHover:v,colorPrimary:y,controlOutline:w}=e,x=2*s,S=2*n,k=Math.min(o-x,o-S),C=Math.min(i-x,i-S),$=Math.min(a-x,a-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:h,optionActiveBg:p,optionPadding:`${(o-t*r)/2}px ${l}px`,optionFontSize:t,optionLineHeight:r,optionHeight:o,selectorBg:m,clearBg:m,singleItemHeightLG:a,multipleItemBg:f,multipleItemBorderColor:"transparent",multipleItemHeight:k,multipleItemHeightSM:C,multipleItemHeightLG:$,multipleSelectorBgDisabled:g,multipleItemColorDisabled:b,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:v,activeBorderColor:y,activeOutlineColor:w,selectAffixPadding:s}}),{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(e,t,r){"use strict";r.d(t,{_z:function(){return s},gp:function(){return a}});var n=r(36237),o=r(63356),i=r(51636);const a=e=>{const{multipleSelectItemHeight:t,paddingXXS:r,lineWidth:o,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(r).sub(o).equal(),0);return{basePadding:a,containerPadding:e.max(e.calc(a).sub(i).equal(),0),itemHeight:(0,n.unit)(t),itemLineHeight:(0,n.unit)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},s=e=>{const{componentCls:t,iconCls:r,borderRadiusSM:n,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:s,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:n,cursor:"default",transition:`font-size ${i}, line-height ${i}, height ${i}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:s,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,o.Ro)()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},l=(e,t)=>{const{componentCls:r,INTERNAL_FIXED_ITEM_MARGIN:o}=e,i=`${r}-selection-overflow`,l=e.multipleSelectItemHeight,c=(e=>{const{multipleSelectItemHeight:t,selectHeight:r,lineWidth:n}=e;return e.calc(r).sub(t).div(2).sub(n).equal()})(e),u=t?`${r}-${t}`:"",d=a(e);return{[`${r}-multiple${u}`]:Object.assign(Object.assign({},s(e)),{[`${r}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:d.basePadding,paddingBlock:d.containerPadding,borderRadius:e.borderRadius,[`${r}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,n.unit)(o)} 0`,lineHeight:(0,n.unit)(l),visibility:"hidden",content:'"\\a0"'}},[`${r}-selection-item`]:{height:d.itemHeight,lineHeight:(0,n.unit)(d.itemLineHeight)},[`${r}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,n.unit)(l),marginBlock:o}},[`${r}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(d.basePadding).equal()},[`${i}-item + ${i}-item,\n ${r}-prefix + ${r}-selection-wrap\n `]:{[`${r}-selection-search`]:{marginInlineStart:0},[`${r}-selection-placeholder`]:{insetInlineStart:0}},[`${i}-item-suffix`]:{minHeight:d.itemHeight,marginBlock:o},[`${r}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c).equal(),"\n &-input,\n &-mirror\n ":{height:l,fontFamily:e.fontFamily,lineHeight:(0,n.unit)(l),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${r}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(d.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function c(e,t){const{componentCls:r}=e,n={[`${r}-multiple${t?`${r}-${t}`:""}`]:{fontSize:e.fontSize,[`${r}-selector`]:{[`${r}-show-search&`]:{cursor:"text"}},[`\n &${r}-show-arrow ${r}-selector,\n &${r}-allow-clear ${r}-selector\n `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[l(e,t),n]}t.ZP=e=>{const{componentCls:t}=e,r=(0,i.mergeToken)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),n=(0,i.mergeToken)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[c(e),c(r,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},c(n,"lg")]}},68525:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(59301),o=r(40001),i=r(19248),a=r(99267),s=r(84105),l=r(58617),c=r(47472);function u(e){let{suffixIcon:t,clearIcon:r,menuItemSelectedIcon:u,removeIcon:d,loading:h,multiple:p,hasFeedback:m,prefixCls:f,showSuffixIcon:g,feedbackIcon:b,showArrow:v,componentName:y}=e;const w=null!=r?r:n.createElement(i.Z,null),x=e=>null!==t||m||v?n.createElement(n.Fragment,null,!1!==g&&e,m&&b):null;let S=null;if(void 0!==t)S=x(t);else if(h)S=x(n.createElement(l.Z,{spin:!0}));else{const e=`${f}-suffix`;S=t=>{let{open:r,showSearch:o}=t;return x(r&&o?n.createElement(c.Z,{className:e}):n.createElement(s.Z,{className:e}))}}let k=null;k=void 0!==u?u:p?n.createElement(o.Z,null):null;let C=null;return C=void 0!==d?d:n.createElement(a.Z,null),{clearIcon:w,suffixIcon:S,itemIcon:k,removeIcon:C}}},90005:function(e,t,r){"use strict";function n(e,t){return void 0!==t?t:null!==e}r.d(t,{Z:function(){return n}})},77736:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var n=r(59301),o=r(92310),i=r.n(o),a=r(11592);function s(e){return["small","middle","large"].includes(e)}function l(e){return!!e&&("number"==typeof e&&!Number.isNaN(e))}var c=r(48755),u=r(70045);const d=n.createContext({latestIndex:0}),h=d.Provider;var p=e=>{let{className:t,index:r,children:o,split:i,style:a}=e;const{latestIndex:s}=n.useContext(d);return null==o?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:a},o),r<s&&i&&n.createElement("span",{className:`${t}-split`},i))},m=r(31547),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const g=n.forwardRef(((e,t)=>{var r;const{getPrefixCls:o,direction:u,size:d,className:g,style:b,classNames:v,styles:y}=(0,c.dj)("space"),{size:w=(null!=d?d:"small"),align:x,className:S,rootClassName:k,children:C,direction:$="horizontal",prefixCls:j,split:O,style:_,wrap:N=!1,classNames:A,styles:I}=e,E=f(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[z,M]=Array.isArray(w)?w:[w,w],P=s(M),L=s(z),B=l(M),T=l(z),R=(0,a.Z)(C,{keepEmpty:!0}),F=void 0===x&&"horizontal"===$?"center":x,D=o("space",j),[q,H,W]=(0,m.Z)(D),Z=i()(D,g,H,`${D}-${$}`,{[`${D}-rtl`]:"rtl"===u,[`${D}-align-${F}`]:F,[`${D}-gap-row-${M}`]:P,[`${D}-gap-col-${z}`]:L},S,k,W),U=i()(`${D}-item`,null!==(r=null==A?void 0:A.item)&&void 0!==r?r:v.item);let V=0;const G=R.map(((e,t)=>{var r;null!=e&&(V=t);const o=(null==e?void 0:e.key)||`${U}-${t}`;return n.createElement(p,{className:U,key:o,index:t,split:O,style:null!==(r=null==I?void 0:I.item)&&void 0!==r?r:y.item},e)})),X=n.useMemo((()=>({latestIndex:V})),[V]);if(0===R.length)return null;const Y={};return N&&(Y.flexWrap="wrap"),!L&&T&&(Y.columnGap=z),!P&&B&&(Y.rowGap=M),q(n.createElement("div",Object.assign({ref:t,className:Z,style:Object.assign(Object.assign(Object.assign({},Y),b),_)},E),n.createElement(h,{value:X},G)))}));g.Compact=u.ZP;var b=g},11938:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var n=r(59301),o=r(40192),i=r(22703),a=r(92310),s=r.n(a),l=r(26112),c=r(48755),u=r(458);var d=e=>{const{value:t,formatter:r,precision:o,decimalSeparator:i,groupSeparator:a="",prefixCls:s}=e;let l;if("function"==typeof r)l=r(t);else{const e=String(t),r=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(r&&"-"!==e){const e=r[1];let t=r[2]||"0",c=r[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,a),"number"==typeof o&&(c=c.padEnd(o,"0").slice(0,o>0?o:0)),c&&(c=`${i}${c}`),l=[n.createElement("span",{key:"int",className:`${s}-content-value-int`},e,t),c&&n.createElement("span",{key:"decimal",className:`${s}-content-value-decimal`},c)]}else l=e}return n.createElement("span",{className:`${s}-content-value`},l)},h=r(63356),p=r(16931),m=r(51636);const f=e=>{const{componentCls:t,marginXXS:r,padding:n,colorTextDescription:o,titleFontSize:i,colorTextHeading:a,contentFontSize:s,fontFamily:l}=e;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{[`${t}-title`]:{marginBottom:r,color:o,fontSize:i},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:a,fontSize:s,fontFamily:l,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:r},[`${t}-content-suffix`]:{marginInlineStart:r}}})}};var g=(0,p.I$)("Statistic",(e=>{const t=(0,m.mergeToken)(e,{});return[f(t)]}),(e=>{const{fontSizeHeading3:t,fontSize:r}=e;return{titleFontSize:r,contentFontSize:t}})),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var v=e=>{const{prefixCls:t,className:r,rootClassName:o,style:i,valueStyle:a,value:h=0,title:p,valueRender:m,prefix:f,suffix:v,loading:y=!1,formatter:w,precision:x,decimalSeparator:S=".",groupSeparator:k=",",onMouseEnter:C,onMouseLeave:$}=e,j=b(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:O,direction:_,className:N,style:A}=(0,c.dj)("statistic"),I=O("statistic",t),[E,z,M]=g(I),P=n.createElement(d,{decimalSeparator:S,groupSeparator:k,prefixCls:I,formatter:w,precision:x,value:h}),L=s()(I,{[`${I}-rtl`]:"rtl"===_},N,r,o,z,M),B=(0,l.Z)(j,{aria:!0,data:!0});return E(n.createElement("div",Object.assign({},B,{className:L,style:Object.assign(Object.assign({},A),i),onMouseEnter:C,onMouseLeave:$}),p&&n.createElement("div",{className:`${I}-title`},p),n.createElement(u.Z,{paragraph:!1,loading:y,className:`${I}-skeleton`},n.createElement("div",{style:a,className:`${I}-content`},f&&n.createElement("span",{className:`${I}-content-prefix`},f),m?m(P):P,v&&n.createElement("span",{className:`${I}-content-suffix`},v)))))};const y=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function w(e,t){const{format:r=""}=t,n=new Date(e).getTime(),o=Date.now();return function(e,t){let r=e;const n=/\[[^\]]*]/g,o=(t.match(n)||[]).map((e=>e.slice(1,-1))),i=t.replace(n,"[]"),a=y.reduce(((e,t)=>{let[n,o]=t;if(e.includes(n)){const t=Math.floor(r/o);return r-=t*o,e.replace(new RegExp(`${n}+`,"g"),(e=>{const r=e.length;return t.toString().padStart(r,"0")}))}return e}),i);let s=0;return a.replace(n,(()=>{const e=o[s];return s+=1,e}))}(Math.max(n-o,0),r)}var x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const S=e=>{const{value:t,format:r="HH:mm:ss",onChange:a,onFinish:s}=e,l=x(e,["value","format","onChange","onFinish"]),c=(0,o.Z)(),u=n.useRef(null),d=()=>{const e=function(e){return new Date(e).getTime()}(t);e>=Date.now()&&(u.current=setInterval((()=>{c(),null==a||a(e-Date.now()),e<Date.now()&&(null==s||s(),u.current&&(clearInterval(u.current),u.current=null))}),33.333333333333336))};n.useEffect((()=>(d(),()=>{u.current&&(clearInterval(u.current),u.current=null)})),[t]);return n.createElement(v,Object.assign({},l,{value:t,valueRender:e=>(0,i.Tm)(e,{title:void 0}),formatter:(e,t)=>w(e,Object.assign(Object.assign({},t),{format:r}))}))};var k=n.memo(S);v.Countdown=k;var C=v},34961:function(e,t){"use strict";t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},93873:function(e,t,r){"use strict";r.d(t,{Fm:function(){return h}});var n=r(36237),o=r(48746);const i=new n.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new n.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new n.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new n.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:s,outKeyframes:l},"move-right":{inKeyframes:c,outKeyframes:u}},h=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=d[t];return[(0,o.R)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},46e3:function(e,t,r){"use strict";r.d(t,{Qt:function(){return s},Uw:function(){return a},fJ:function(){return i},ly:function(){return l},oN:function(){return m}});var n=r(36237),o=r(48746);const i=new n.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new n.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new n.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new n.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new n.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),d=new n.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),h=new n.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:d,outKeyframes:h}},m=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},37645:function(e,t,r){"use strict";r.d(t,{ZP:function(){return l},qN:function(){return i},wZ:function(){return a}});var n=r(36237),o=r(36305);const i=8;function a(e){const{contentRadius:t,limitVerticalRadius:r}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:r?i:n}}function s(e,t){return e?t:{}}function l(e,t,r){const{componentCls:i,boxShadowPopoverArrow:a,arrowOffsetVertical:l,arrowOffsetHorizontal:c}=e,{arrowDistance:u=0,arrowPlacement:d={left:!0,right:!0,top:!0,bottom:!0}}=r||{};return{[i]:Object.assign(Object.assign(Object.assign(Object.assign({[`${i}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,o.W)(e,t,a)),{"&:before":{background:t}})]},s(!!d.top,{[[`&-placement-top > ${i}-arrow`,`&-placement-topLeft > ${i}-arrow`,`&-placement-topRight > ${i}-arrow`].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":c,[`> ${i}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,n.unit)(c)})`,[`> ${i}-arrow`]:{right:{_skip_check_:!0,value:c}}}})),s(!!d.bottom,{[[`&-placement-bottom > ${i}-arrow`,`&-placement-bottomLeft > ${i}-arrow`,`&-placement-bottomRight > ${i}-arrow`].join(",")]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom > ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":c,[`> ${i}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,n.unit)(c)})`,[`> ${i}-arrow`]:{right:{_skip_check_:!0,value:c}}}})),s(!!d.left,{[[`&-placement-left > ${i}-arrow`,`&-placement-leftTop > ${i}-arrow`,`&-placement-leftBottom > ${i}-arrow`].join(",")]:{right:{_skip_check_:!0,value:u},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${i}-arrow`]:{top:l},[`&-placement-leftBottom > ${i}-arrow`]:{bottom:l}})),s(!!d.right,{[[`&-placement-right > ${i}-arrow`,`&-placement-rightTop > ${i}-arrow`,`&-placement-rightBottom > ${i}-arrow`].join(",")]:{left:{_skip_check_:!0,value:u},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${i}-arrow`]:{top:l},[`&-placement-rightBottom > ${i}-arrow`]:{bottom:l}}))}}},36305:function(e,t,r){"use strict";r.d(t,{W:function(){return i},w:function(){return o}});var n=r(36237);function o(e){const{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:n}=e,o=t/2,i=o,a=1*n/Math.sqrt(2),s=o-n*(1-1/Math.sqrt(2)),l=o-r*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),u=2*o-l,d=c,h=2*o-a,p=s,m=2*o-0,f=i,g=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),b=n*(Math.sqrt(2)-1);return{arrowShadowWidth:g,arrowPath:`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${s} L ${l} ${c} A ${r} ${r} 0 0 1 ${u} ${d} L ${h} ${p} A ${n} ${n} 0 0 0 ${m} ${f} Z')`,arrowPolygon:`polygon(${b}px 100%, 50% ${b}px, ${2*o-b}px 100%, ${b}px 100%)`}}const i=(e,t,r)=>{const{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,n.unit)(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}}},71411:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(59301),o=r(58617),i=r(92310),a=r.n(i),s=r(63158),l=r(18929),c=r(12919),u=r(48755),d=r(2171),h=r(31756),p=r(36237),m=r(17835),f=r(63356),g=r(16931),b=r(51636);const v=e=>{const{componentCls:t,trackHeightSM:r,trackPadding:n,trackMinWidthSM:o,innerMinMarginSM:i,innerMaxMarginSM:a,handleSizeSM:s,calc:l}=e,c=`${t}-inner`,u=(0,p.unit)(l(s).add(l(n).mul(2)).equal()),d=(0,p.unit)(l(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:r,lineHeight:(0,p.unit)(r),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked, ${c}-unchecked`]:{minHeight:r},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:l(r).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${(0,p.unit)(l(s).add(n).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},y=e=>{const{componentCls:t,handleSize:r,calc:n}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:n(n(r).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},w=e=>{const{componentCls:t,trackPadding:r,handleBg:n,handleShadow:o,handleSize:i,calc:a}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:r,insetInlineStart:r,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:n,borderRadius:a(i).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${(0,p.unit)(a(i).add(r).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},x=e=>{const{componentCls:t,trackHeight:r,trackPadding:n,innerMinMargin:o,innerMaxMargin:i,handleSize:a,calc:s}=e,l=`${t}-inner`,c=(0,p.unit)(s(a).add(s(n).mul(2)).equal()),u=(0,p.unit)(s(i).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:r},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${u})`,marginInlineEnd:`calc(100% - ${c} + ${u})`},[`${l}-unchecked`]:{marginTop:s(r).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${u})`,marginInlineEnd:`calc(-100% + ${c} - ${u})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(n).mul(2).equal(),marginInlineEnd:s(n).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(n).mul(-1).mul(2).equal(),marginInlineEnd:s(n).mul(2).equal()}}}}}},S=e=>{const{componentCls:t,trackHeight:r,trackMinWidth:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:n,height:r,lineHeight:(0,p.unit)(r),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),(0,f.Qy)(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}};var k=(0,g.I$)("Switch",(e=>{const t=(0,b.mergeToken)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[S(t),x(t),w(t),y(t),v(t)]}),(e=>{const{fontSize:t,lineHeight:r,controlHeight:n,colorWhite:o}=e,i=t*r,a=n/2,s=i-4,l=a-4;return{trackHeight:i,trackHeightSM:a,trackMinWidth:2*s+8,trackMinWidthSM:2*l+4,trackPadding:2,handleBg:o,handleSize:s,handleSizeSM:l,handleShadow:`0 2px 4px 0 ${new m.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+2+4,innerMinMarginSM:l/2,innerMaxMarginSM:l+2+4}})),C=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const $=n.forwardRef(((e,t)=>{const{prefixCls:r,size:i,disabled:p,loading:m,className:f,rootClassName:g,style:b,checked:v,value:y,defaultChecked:w,defaultValue:x,onChange:S}=e,$=C(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[j,O]=(0,l.Z)(!1,{value:null!=v?v:y,defaultValue:null!=w?w:x}),{getPrefixCls:_,direction:N,switch:A}=n.useContext(u.E_),I=n.useContext(d.Z),E=(null!=p?p:I)||m,z=_("switch",r),M=n.createElement("div",{className:`${z}-handle`},m&&n.createElement(o.Z,{className:`${z}-loading-icon`})),[P,L,B]=k(z),T=(0,h.Z)(i),R=a()(null==A?void 0:A.className,{[`${z}-small`]:"small"===T,[`${z}-loading`]:m,[`${z}-rtl`]:"rtl"===N},f,g,L,B),F=Object.assign(Object.assign({},null==A?void 0:A.style),b);return P(n.createElement(c.Z,{component:"Switch"},n.createElement(s.Z,Object.assign({},$,{checked:j,onChange:function(){O(arguments.length<=0?void 0:arguments[0]),null==S||S.apply(void 0,arguments)},prefixCls:z,className:R,style:F,disabled:E,ref:t,loadingIcon:M}))))})),j=$;j.__ANT_SWITCH=!0;var O=j},54172:function(e,t,r){"use strict";r.d(t,{Z:function(){return pt}});var n=r(59301),o=r(4030);var i=e=>null;var a=e=>null,s=r(94480),l=r(84105),c=r(92310),u=r.n(c),d=r(82661),h=r(34643),p=r(34061),m=r(18929);var f=r(32383),g=r(62673),b=r(75727),v=r(47889);const y={},w="SELECT_ALL",x="SELECT_INVERT",S="SELECT_NONE",k=[],C=(e,t)=>{let r=[];return(t||[]).forEach((t=>{r.push(t),t&&"object"==typeof t&&e in t&&(r=[].concat((0,s.Z)(r),(0,s.Z)(C(e,t[e]))))})),r};var $=(e,t)=>{const{preserveSelectedRowKeys:r,selectedRowKeys:i,defaultSelectedRowKeys:a,getCheckboxProps:c,onChange:$,onSelect:j,onSelectAll:O,onSelectInvert:_,onSelectNone:N,onSelectMultiple:A,columnWidth:I,type:E,selections:z,fixed:M,renderCell:P,hideSelectAll:L,checkStrictly:B=!0}=t||{},{prefixCls:T,data:R,pageData:F,getRecordByKey:D,getRowKey:q,expandType:H,childrenColumnName:W,locale:Z,getPopupContainer:U}=e,V=(0,f.ln)("Table"),[G,X]=function(e){const[t,r]=(0,n.useState)(null);return[(0,n.useCallback)(((n,o,i)=>{const a=null!=t?t:n,s=Math.min(a||0,n),l=Math.max(a||0,n),c=o.slice(s,l+1).map((t=>e(t))),u=c.some((e=>!i.has(e))),d=[];return c.forEach((e=>{u?(i.has(e)||d.push(e),i.add(e)):(i.delete(e),d.push(e))})),r(u?l:null),d}),[t]),e=>{r(e)}]}((e=>e)),[Y,K]=(0,m.Z)(i||a||k,{value:i}),J=n.useRef(new Map),Q=(0,n.useCallback)((e=>{if(r){const t=new Map;e.forEach((e=>{let r=D(e);!r&&J.current.has(e)&&(r=J.current.get(e)),t.set(e,r)})),J.current=t}}),[D,r]);n.useEffect((()=>{Q(Y)}),[Y]);const ee=(0,n.useMemo)((()=>C(W,F)),[W,F]),{keyEntities:te}=(0,n.useMemo)((()=>{if(B)return{keyEntities:null};let e=R;if(r){const t=new Set(ee.map(((e,t)=>q(e,t)))),r=Array.from(J.current).reduce(((e,r)=>{let[n,o]=r;return t.has(n)?e:e.concat(o)}),[]);e=[].concat((0,s.Z)(e),(0,s.Z)(r))}return(0,p.I8)(e,{externalGetKey:q,childrenPropName:W})}),[R,q,B,W,r,ee]),re=(0,n.useMemo)((()=>{const e=new Map;return ee.forEach(((t,r)=>{const n=q(t,r),o=(c?c(t):null)||{};e.set(n,o)})),e}),[ee,q,c]),ne=(0,n.useCallback)((e=>{const t=q(e);let r;return r=re.has(t)?re.get(q(e)):c?c(e):void 0,!!(null==r?void 0:r.disabled)}),[re,q]),[oe,ie]=(0,n.useMemo)((()=>{if(B)return[Y||[],[]];const{checkedKeys:e,halfCheckedKeys:t}=(0,h.S)(Y,!0,te,ne);return[e||[],t]}),[Y,B,te,ne]),ae=(0,n.useMemo)((()=>{const e="radio"===E?oe.slice(0,1):oe;return new Set(e)}),[oe,E]),se=(0,n.useMemo)((()=>"radio"===E?new Set:new Set(ie)),[ie,E]);n.useEffect((()=>{t||K(k)}),[!!t]);const le=(0,n.useCallback)(((e,t)=>{let n,o;Q(e),r?(n=e,o=e.map((e=>J.current.get(e)))):(n=[],o=[],e.forEach((e=>{const t=D(e);void 0!==t&&(n.push(e),o.push(t))}))),K(n),null==$||$(n,o,{type:t})}),[K,D,$,r]),ce=(0,n.useCallback)(((e,t,r,n)=>{if(j){const o=r.map((e=>D(e)));j(D(e),t,o,n)}le(r,"single")}),[j,D,le]),ue=(0,n.useMemo)((()=>{if(!z||L)return null;return(!0===z?[w,x,S]:z).map((e=>e===w?{key:"all",text:Z.selectionAll,onSelect(){le(R.map(((e,t)=>q(e,t))).filter((e=>{const t=re.get(e);return!(null==t?void 0:t.disabled)||ae.has(e)})),"all")}}:e===x?{key:"invert",text:Z.selectInvert,onSelect(){const e=new Set(ae);F.forEach(((t,r)=>{const n=q(t,r),o=re.get(n);(null==o?void 0:o.disabled)||(e.has(n)?e.delete(n):e.add(n))}));const t=Array.from(e);_&&(V.deprecated(!1,"onSelectInvert","onChange"),_(t)),le(t,"invert")}}:e===S?{key:"none",text:Z.selectNone,onSelect(){null==N||N(),le(Array.from(ae).filter((e=>{const t=re.get(e);return null==t?void 0:t.disabled})),"none")}}:e)).map((e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,r,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];null===(r=e.onSelect)||void 0===r||(t=r).call.apply(t,[e].concat(o)),X(null)}})))}),[z,ae,F,q,_,le]),de=(0,n.useCallback)((e=>{var r;if(!t)return e.filter((e=>e!==y));let i=(0,s.Z)(e);const a=new Set(ae),c=ee.map(q).filter((e=>!re.get(e).disabled)),p=c.every((e=>a.has(e))),m=c.some((e=>a.has(e))),f=()=>{const e=[];p?c.forEach((t=>{a.delete(t),e.push(t)})):c.forEach((t=>{a.has(t)||(a.add(t),e.push(t))}));const t=Array.from(a);null==O||O(!p,t.map((e=>D(e))),e.map((e=>D(e)))),le(t,"all"),X(null)};let w,x,S;if("radio"!==E){let e;if(ue){const t={getPopupContainer:U,items:ue.map(((e,t)=>{const{key:r,text:n,onSelect:o}=e;return{key:null!=r?r:t,onClick:()=>{null==o||o(c)},label:n}}))};e=n.createElement("div",{className:`${T}-selection-extra`},n.createElement(b.Z,{menu:t,getPopupContainer:U},n.createElement("span",null,n.createElement(l.Z,null))))}const t=ee.map(((e,t)=>{const r=q(e,t),n=re.get(r)||{};return Object.assign({checked:a.has(r)},n)})).filter((e=>{let{disabled:t}=e;return t})),r=!!t.length&&t.length===ee.length,o=r&&t.every((e=>{let{checked:t}=e;return t})),i=r&&t.some((e=>{let{checked:t}=e;return t}));x=n.createElement(g.Z,{checked:r?o:!!ee.length&&p,indeterminate:r?!o&&i:!p&&m,onChange:f,disabled:0===ee.length||r,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),w=!L&&n.createElement("div",{className:`${T}-selection`},x,e)}S="radio"===E?(e,t,r)=>{const o=q(t,r),i=a.has(o),s=re.get(o);return{node:n.createElement(v.ZP,Object.assign({},s,{checked:i,onClick:e=>{var t;e.stopPropagation(),null===(t=null==s?void 0:s.onClick)||void 0===t||t.call(s,e)},onChange:e=>{var t;a.has(o)||ce(o,!0,[o],e.nativeEvent),null===(t=null==s?void 0:s.onChange)||void 0===t||t.call(s,e)}})),checked:i}}:(e,t,r)=>{var o;const i=q(t,r),l=a.has(i),u=se.has(i),p=re.get(i);let m;return m="nest"===H?u:null!==(o=null==p?void 0:p.indeterminate)&&void 0!==o?o:u,{node:n.createElement(g.Z,Object.assign({},p,{indeterminate:m,checked:l,skipGroup:!0,onClick:e=>{var t;e.stopPropagation(),null===(t=null==p?void 0:p.onClick)||void 0===t||t.call(p,e)},onChange:e=>{var t;const{nativeEvent:r}=e,{shiftKey:n}=r,o=c.findIndex((e=>e===i)),u=oe.some((e=>c.includes(e)));if(n&&B&&u){const e=G(o,c,a),t=Array.from(a);null==A||A(!l,t.map((e=>D(e))),e.map((e=>D(e)))),le(t,"multiple")}else{const e=oe;if(B){const t=l?(0,d._5)(e,i):(0,d.L0)(e,i);ce(i,!l,t,r)}else{const t=(0,h.S)([].concat((0,s.Z)(e),[i]),!0,te,ne),{checkedKeys:n,halfCheckedKeys:o}=t;let a=n;if(l){const e=new Set(n);e.delete(i),a=(0,h.S)(Array.from(e),{checked:!1,halfCheckedKeys:o},te,ne).checkedKeys}ce(i,!l,a,r)}}X(l?null:o),null===(t=null==p?void 0:p.onChange)||void 0===t||t.call(p,e)}})),checked:l}};if(!i.includes(y))if(0===i.findIndex((e=>{var t;return"EXPAND_COLUMN"===(null===(t=e[o.vP])||void 0===t?void 0:t.columnType)}))){const[e,...t]=i;i=[e,y].concat((0,s.Z)(t))}else i=[y].concat((0,s.Z)(i));const k=i.indexOf(y);i=i.filter(((e,t)=>e!==y||t===k));const C=i[k-1],$=i[k+1];let j=M;void 0===j&&(void 0!==(null==$?void 0:$.fixed)?j=$.fixed:void 0!==(null==C?void 0:C.fixed)&&(j=C.fixed)),j&&C&&"EXPAND_COLUMN"===(null===(r=C[o.vP])||void 0===r?void 0:r.columnType)&&void 0===C.fixed&&(C.fixed=j);const _=u()(`${T}-selection-col`,{[`${T}-selection-col-with-dropdown`]:z&&"checkbox"===E}),N={fixed:j,width:I,className:`${T}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(x):t.columnTitle:w,render:(e,t,r)=>{const{node:n,checked:o}=S(e,t,r);return P?P(o,t,r,n):n},onCell:t.onCell,[o.vP]:{className:_}};return i.map((e=>e===y?N:e))}),[q,ee,t,oe,ae,se,I,ue,H,re,A,ce,ne]);return[de,ae]},j=r(97347),O=r(2738);function _(e,t){return(0,n.useImperativeHandle)(e,(()=>{const e=t(),{nativeElement:r}=e;return"undefined"!=typeof Proxy?new Proxy(r,{get(t,r){return e[r]?e[r]:Reflect.get(t,r)}}):(o=e,(n=r)._antProxy=n._antProxy||{},Object.keys(o).forEach((e=>{if(!(e in n._antProxy)){const t=n[e];n._antProxy[e]=t,n[e]=o[e]}})),n);var n,o}))}var N=r(83010),A=r(48755),I=r(38406),E=r(83397),z=r(31756),M=r(13783),P=r(85981),L=r(13747),B=r(29787),T=r(57700);var R=function(e){return t=>{const{prefixCls:r,onExpand:o,record:i,expanded:a,expandable:s}=t,l=`${r}-row-expand-icon`;return n.createElement("button",{type:"button",onClick:e=>{o(i,e),e.stopPropagation()},className:u()(l,{[`${l}-spaced`]:!s,[`${l}-expanded`]:s&&a,[`${l}-collapsed`]:s&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}};const F=(e,t)=>"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function D(e,t){return t?`${t}-${e}`:`${e}`}const q=(e,t)=>"function"==typeof e?e(t):e;var H=r(54476),W={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"},Z=r(7657),U=function(e,t){return n.createElement(Z.Z,(0,H.Z)({},e,{ref:t,icon:W}))};var V=n.forwardRef(U),G=r(13697),X=r(9981),Y=r(40192);var K=r(99571),J=r(584),Q=r(93041),ee=r(78857),te=r(18287),re=r(47472),ne=r(49397);var oe=e=>{const{value:t,filterSearch:r,tablePrefixCls:o,locale:i,onChange:a}=e;return r?n.createElement("div",{className:`${o}-filter-dropdown-search`},n.createElement(ne.Z,{prefix:n.createElement(re.Z,null),placeholder:i.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${o}-filter-dropdown-search-input`})):null},ie=r(10228);const ae=e=>{const{keyCode:t}=e;t===ie.Z.ENTER&&e.stopPropagation()};var se=n.forwardRef(((e,t)=>n.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:ae,ref:t},e.children)));function le(e){let t=[];return(e||[]).forEach((e=>{let{value:r,children:n}=e;t.push(r),n&&(t=[].concat((0,s.Z)(t),(0,s.Z)(le(n))))})),t}function ce(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function ue(e){let{filters:t,prefixCls:r,filteredKeys:o,filterMultiple:i,searchValue:a,filterSearch:s}=e;return t.map(((e,t)=>{const l=String(e.value);if(e.children)return{key:l||t,label:e.text,popupClassName:`${r}-dropdown-submenu`,children:ue({filters:e.children,prefixCls:r,filteredKeys:o,filterMultiple:i,searchValue:a,filterSearch:s})};const c=i?g.Z:v.ZP,u={key:void 0!==e.value?l:t,label:n.createElement(n.Fragment,null,n.createElement(c,{checked:o.includes(l)}),n.createElement("span",null,e.text))};return a.trim()?"function"==typeof s?s(a,e)?u:null:ce(a,e.text)?u:null:u}))}function de(e){return e||[]}var he=e=>{var t,r,o,i;const{tablePrefixCls:a,prefixCls:s,column:l,dropdownPrefixCls:c,columnKey:d,filterOnClose:h,filterMultiple:p,filterMode:m="menu",filterSearch:f=!1,filterState:v,triggerFilter:y,locale:w,children:x,getPopupContainer:S,rootClassName:k}=e,{filterResetToDefaultFilteredValue:C,defaultFilteredValue:$,filterDropdownProps:j={},filterDropdownOpen:O,filterDropdownVisible:_,onFilterDropdownVisibleChange:N,onFilterDropdownOpenChange:I}=l,[E,z]=n.useState(!1),M=!(!v||!(null===(t=v.filteredKeys)||void 0===t?void 0:t.length)&&!v.forceFiltered),P=e=>{var t;z(e),null===(t=j.onOpenChange)||void 0===t||t.call(j,e),null==I||I(e),null==N||N(e)};const L=null!==(i=null!==(o=null!==(r=j.open)&&void 0!==r?r:O)&&void 0!==o?o:_)&&void 0!==i?i:E,B=null==v?void 0:v.filteredKeys,[T,R]=function(e){const t=n.useRef(e),r=(0,Y.Z)();return[()=>t.current,e=>{t.current=e,r()}]}(de(B)),F=e=>{let{selectedKeys:t}=e;R(t)},D=(e,t)=>{let{node:r,checked:n}=t;F(p?{selectedKeys:e}:{selectedKeys:n&&r.key?[r.key]:[]})};n.useEffect((()=>{E&&F({selectedKeys:de(B)})}),[B]);const[q,H]=n.useState([]),W=e=>{H(e)},[Z,U]=n.useState(""),re=e=>{const{value:t}=e.target;U(t)};n.useEffect((()=>{E||U("")}),[E]);const ne=e=>{const t=(null==e?void 0:e.length)?e:null;return null!==t||v&&v.filteredKeys?(0,G.Z)(t,null==v?void 0:v.filteredKeys,!0)?null:void y({column:l,key:d,filteredKeys:t}):null},ie=()=>{P(!1),ne(T())},ae=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&ne([]),t&&P(!1),U(""),R(C?($||[]).map((e=>String(e))):[])},he=function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&P(!1),ne(T())},pe=u()({[`${c}-menu-without-submenu`]:(me=l.filters||[],!me.some((e=>{let{children:t}=e;return t})))});var me;const fe=e=>{if(e.target.checked){const e=le(null==l?void 0:l.filters).map((e=>String(e)));R(e)}else R([])},ge=e=>{let{filters:t}=e;return(t||[]).map(((e,t)=>{const r=String(e.value),n={title:e.text,key:void 0!==e.value?r:String(t)};return e.children&&(n.children=ge({filters:e.children})),n}))},be=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map((e=>be(e))))||[]})};let ve;const{direction:ye,renderEmpty:we}=n.useContext(A.E_);if("function"==typeof l.filterDropdown)ve=l.filterDropdown({prefixCls:`${c}-custom`,setSelectedKeys:e=>F({selectedKeys:e}),selectedKeys:T(),confirm:he,clearFilters:ae,filters:l.filters,visible:L,close:()=>{P(!1)}});else if(l.filterDropdown)ve=l.filterDropdown;else{const e=T()||[],t=()=>{var t,r;const o=null!==(t=null==we?void 0:we("Table.filter"))&&void 0!==t?t:n.createElement(J.Z,{image:J.Z.PRESENTED_IMAGE_SIMPLE,description:w.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if(0===(l.filters||[]).length)return o;if("tree"===m)return n.createElement(n.Fragment,null,n.createElement(oe,{filterSearch:f,value:Z,onChange:re,tablePrefixCls:a,locale:w}),n.createElement("div",{className:`${a}-filter-dropdown-tree`},p?n.createElement(g.Z,{checked:e.length===le(l.filters).length,indeterminate:e.length>0&&e.length<le(l.filters).length,className:`${a}-filter-dropdown-checkall`,onChange:fe},null!==(r=null==w?void 0:w.filterCheckall)&&void 0!==r?r:null==w?void 0:w.filterCheckAll):null,n.createElement(te.Z,{checkable:!0,selectable:!1,blockNode:!0,multiple:p,checkStrictly:!p,className:`${c}-menu`,onCheck:D,checkedKeys:e,selectedKeys:e,showIcon:!1,treeData:ge({filters:l.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Z.trim()?e=>"function"==typeof f?f(Z,be(e)):ce(Z,e.title):void 0})));const i=ue({filters:l.filters||[],filterSearch:f,prefixCls:s,filteredKeys:T(),filterMultiple:p,searchValue:Z}),u=i.every((e=>null===e));return n.createElement(n.Fragment,null,n.createElement(oe,{filterSearch:f,value:Z,onChange:re,tablePrefixCls:a,locale:w}),u?o:n.createElement(Q.Z,{selectable:!0,multiple:p,prefixCls:`${c}-menu`,className:pe,onSelect:F,onDeselect:F,selectedKeys:e,getPopupContainer:S,openKeys:q,onOpenChange:W,items:i}))},r=()=>C?(0,G.Z)(($||[]).map((e=>String(e))),e,!0):0===e.length;ve=n.createElement(n.Fragment,null,t(),n.createElement("div",{className:`${s}-dropdown-btns`},n.createElement(K.ZP,{type:"link",size:"small",disabled:r(),onClick:()=>ae()},w.filterReset),n.createElement(K.ZP,{type:"primary",size:"small",onClick:ie},w.filterConfirm)))}l.filterDropdown&&(ve=n.createElement(ee.J,{selectable:void 0},ve)),ve=n.createElement(se,{className:`${s}-dropdown`},ve);const xe=(0,X.Z)({trigger:["click"],placement:"rtl"===ye?"bottomLeft":"bottomRight",children:(()=>{let e;return e="function"==typeof l.filterIcon?l.filterIcon(M):l.filterIcon?l.filterIcon:n.createElement(V,null),n.createElement("span",{role:"button",tabIndex:-1,className:u()(`${s}-trigger`,{active:M}),onClick:e=>{e.stopPropagation()}},e)})(),getPopupContainer:S},Object.assign(Object.assign({},j),{rootClassName:u()(k,j.rootClassName),open:L,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==B&&R(de(B)),P(e),e||l.filterDropdown||!h||ie())},dropdownRender:()=>"function"==typeof(null==j?void 0:j.dropdownRender)?j.dropdownRender(ve):ve}));return n.createElement("div",{className:`${s}-column`},n.createElement("span",{className:`${a}-column-title`},x),n.createElement(b.Z,Object.assign({},xe)))};const pe=(e,t,r)=>{let n=[];return(e||[]).forEach(((e,o)=>{var i;const a=D(o,r);if(e.filters||"filterDropdown"in e||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!==(i=null==t?void 0:t.map(String))&&void 0!==i?i:t),n.push({column:e,key:F(e,a),filteredKeys:t,forceFiltered:e.filtered})}else n.push({column:e,key:F(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(n=[].concat((0,s.Z)(n),(0,s.Z)(pe(e.children,t,a))))})),n};function me(e,t,r,o,i,a,s,l,c){return r.map(((r,u)=>{const d=D(u,l),{filterOnClose:h=!0,filterMultiple:p=!0,filterMode:m,filterSearch:f}=r;let g=r;if(g.filters||g.filterDropdown){const l=F(g,d),u=o.find((e=>{let{key:t}=e;return l===t}));g=Object.assign(Object.assign({},g),{title:o=>n.createElement(he,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:g,columnKey:l,filterState:u,filterOnClose:h,filterMultiple:p,filterMode:m,filterSearch:f,triggerFilter:a,locale:i,getPopupContainer:s,rootClassName:c},q(r.title,o))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:me(e,t,g.children,o,i,a,s,d,c)})),g}))}const fe=e=>{const t={};return e.forEach((e=>{let{key:r,filteredKeys:n,column:o}=e;const i=r,{filters:a,filterDropdown:s}=o;if(s)t[i]=n||null;else if(Array.isArray(n)){const e=le(a);t[i]=e.filter((e=>n.includes(String(e))))}else t[i]=null})),t},ge=(e,t,r)=>t.reduce(((e,n)=>{const{column:{onFilter:o,filters:i},filteredKeys:a}=n;return o&&a&&a.length?e.map((e=>Object.assign({},e))).filter((e=>a.some((n=>{const a=le(i),s=a.findIndex((e=>String(e)===String(n))),l=-1!==s?a[s]:n;return e[r]&&(e[r]=ge(e[r],t,r)),o(l,e)})))):e}),e),be=e=>e.flatMap((e=>"children"in e?[e].concat((0,s.Z)(be(e.children||[]))):[e]));var ve=e=>{const{prefixCls:t,dropdownPrefixCls:r,mergedColumns:o,onFilterChange:i,getPopupContainer:a,locale:s,rootClassName:l}=e,c=((0,f.ln)("Table"),n.useMemo((()=>be(o||[])),[o])),[u,d]=n.useState((()=>pe(c,!0))),h=n.useMemo((()=>{const e=pe(c,!1);if(0===e.length)return e;let t=!0,r=!0;if(e.forEach((e=>{let{filteredKeys:n}=e;void 0!==n?t=!1:r=!1})),t){const e=(c||[]).map(((e,t)=>F(e,D(t))));return u.filter((t=>{let{key:r}=t;return e.includes(r)})).map((t=>{const r=c[e.findIndex((e=>e===t.key))];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),r),forceFiltered:r.filtered})}))}return e}),[c,u]),p=n.useMemo((()=>fe(h)),[h]),m=e=>{const t=h.filter((t=>{let{key:r}=t;return r!==e.key}));t.push(e),d(t),i(fe(t),t)};return[e=>me(t,r,e,h,s,m,a,void 0,l),h,p]};var ye=(e,t,r)=>{const o=n.useRef({});return[function(n){var i;if(!o.current||o.current.data!==e||o.current.childrenColumnName!==t||o.current.getRowKey!==r){const a=new Map;function s(e){e.forEach(((e,n)=>{const o=r(e,n);a.set(o,e),e&&"object"==typeof e&&t in e&&s(e[t]||[])}))}s(e),o.current={data:e,childrenColumnName:t,kvMap:a,getRowKey:r}}return null===(i=o.current.kvMap)||void 0===i?void 0:i.get(n)}]},we=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const xe=10;var Se=function(e,t,r){const o=r&&"object"==typeof r?r:{},{total:i=0}=o,a=we(o,["total"]),[s,l]=(0,n.useState)((()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:xe}))),c=(0,X.Z)(s,a,{total:i>0?i:e}),u=Math.ceil((i||e)/c.pageSize);c.current>u&&(c.current=u||1);const d=(e,t)=>{l({current:null!=e?e:1,pageSize:t||c.pageSize})};return!1===r?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:(e,n)=>{var o;r&&(null===(o=r.onChange)||void 0===o||o.call(r,e,n)),d(e,n),t(e,n||(null==c?void 0:c.pageSize))}}),d]},ke=r(89489),Ce=r(59477),$e=r(25399);const je="ascend",Oe="descend",_e=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,Ne=e=>"function"==typeof e?e:!(!e||"object"!=typeof e||!e.compare)&&e.compare,Ae=(e,t,r)=>{let n=[];const o=(e,t)=>{n.push({column:e,key:F(e,t),multiplePriority:_e(e),sortOrder:e.sortOrder})};return(e||[]).forEach(((e,i)=>{const a=D(i,r);e.children?("sortOrder"in e&&o(e,a),n=[].concat((0,s.Z)(n),(0,s.Z)(Ae(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&n.push({column:e,key:F(e,a),multiplePriority:_e(e),sortOrder:e.defaultSortOrder}))})),n},Ie=(e,t,r,o,i,a,s,l)=>{const c=(t||[]).map(((t,c)=>{const d=D(c,l);let h=t;if(h.sorter){const l=h.sortDirections||i,c=void 0===h.showSorterTooltip?s:h.showSorterTooltip,p=F(h,d),m=r.find((e=>{let{key:t}=e;return t===p})),f=m?m.sortOrder:null,g=((e,t)=>t?e[e.indexOf(t)+1]:e[0])(l,f);let b;if(t.sortIcon)b=t.sortIcon({sortOrder:f});else{const t=l.includes(je)&&n.createElement(Ce.Z,{className:u()(`${e}-column-sorter-up`,{active:f===je})}),r=l.includes(Oe)&&n.createElement(ke.Z,{className:u()(`${e}-column-sorter-down`,{active:f===Oe})});b=n.createElement("span",{className:u()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!(!t||!r)})},n.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,r))}const{cancelSort:v,triggerAsc:y,triggerDesc:w}=a||{};let x=v;g===Oe?x=w:g===je&&(x=y);const S="object"==typeof c?Object.assign({title:x},c):{title:x};h=Object.assign(Object.assign({},h),{className:u()(h.className,{[`${e}-column-sort`]:f}),title:r=>{const o=`${e}-column-sorters`,i=n.createElement("span",{className:`${e}-column-title`},q(t.title,r)),a=n.createElement("div",{className:o},i,b);return c?"boolean"!=typeof c&&"sorter-icon"===(null==c?void 0:c.target)?n.createElement("div",{className:`${o} ${e}-column-sorters-tooltip-target-sorter`},i,n.createElement($e.Z,Object.assign({},S),b)):n.createElement($e.Z,Object.assign({},S),a):a},onHeaderCell:r=>{var n;const i=(null===(n=t.onHeaderCell)||void 0===n?void 0:n.call(t,r))||{},a=i.onClick,s=i.onKeyDown;i.onClick=e=>{o({column:t,key:p,sortOrder:g,multiplePriority:_e(t)}),null==a||a(e)},i.onKeyDown=e=>{e.keyCode===ie.Z.ENTER&&(o({column:t,key:p,sortOrder:g,multiplePriority:_e(t)}),null==s||s(e))};const l=((e,t)=>{const r=q(e,t);return"[object Object]"===Object.prototype.toString.call(r)?"":r})(t.title,{}),c=null==l?void 0:l.toString();return f&&(i["aria-sort"]="ascend"===f?"ascending":"descending"),i["aria-label"]=c||"",i.className=u()(i.className,`${e}-column-has-sorters`),i.tabIndex=0,t.ellipsis&&(i.title=(null!=l?l:"").toString()),i}})}return"children"in h&&(h=Object.assign(Object.assign({},h),{children:Ie(e,h.children,r,o,i,a,s,d)})),h}));return c},Ee=e=>{const{column:t,sortOrder:r}=e;return{column:t,order:r,field:t.dataIndex,columnKey:t.key}},ze=e=>{const t=e.filter((e=>{let{sortOrder:t}=e;return t})).map(Ee);if(0===t.length&&e.length){const t=e.length-1;return Object.assign(Object.assign({},Ee(e[t])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},Me=(e,t,r)=>{const n=t.slice().sort(((e,t)=>t.multiplePriority-e.multiplePriority)),o=e.slice(),i=n.filter((e=>{let{column:{sorter:t},sortOrder:r}=e;return Ne(t)&&r}));return i.length?o.sort(((e,t)=>{for(let r=0;r<i.length;r+=1){const n=i[r],{column:{sorter:o},sortOrder:a}=n,s=Ne(o);if(s&&a){const r=s(e,t,a);if(0!==r)return a===je?r:-r}}return 0})).map((e=>{const n=e[r];return n?Object.assign(Object.assign({},e),{[r]:Me(n,t,r)}):e})):o};var Pe=e=>{const{prefixCls:t,mergedColumns:r,sortDirections:o,tableLocale:i,showSorterTooltip:a,onSorterChange:l}=e,[c,u]=n.useState(Ae(r,!0)),d=(e,t)=>{const r=[];return e.forEach(((e,n)=>{const o=D(n,t);if(r.push(F(e,o)),Array.isArray(e.children)){const t=d(e.children,o);r.push.apply(r,(0,s.Z)(t))}})),r},h=n.useMemo((()=>{let e=!0;const t=Ae(r,!1);if(!t.length){const e=d(r);return c.filter((t=>{let{key:r}=t;return e.includes(r)}))}const n=[];function o(t){e?n.push(t):n.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let i=null;return t.forEach((t=>{null===i?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:i=!0)):(i&&!1!==t.multiplePriority||(e=!1),o(t))})),n}),[r,c]),p=n.useMemo((()=>{var e,t;const r=h.map((e=>{let{column:t,sortOrder:r}=e;return{column:t,order:r}}));return{sortColumns:r,sortColumn:null===(e=r[0])||void 0===e?void 0:e.column,sortOrder:null===(t=r[0])||void 0===t?void 0:t.order}}),[h]),m=e=>{let t;t=!1!==e.multiplePriority&&h.length&&!1!==h[0].multiplePriority?[].concat((0,s.Z)(h.filter((t=>{let{key:r}=t;return r!==e.key}))),[e]):[e],u(t),l(ze(t),t)};return[e=>Ie(t,e,h,m,o,i,a),h,p,()=>ze(h)]};const Le=(e,t)=>e.map((e=>{const r=Object.assign({},e);return r.title=q(e.title,t),"children"in r&&(r.children=Le(r.children,t)),r}));var Be=e=>[n.useCallback((t=>Le(t,e)),[e])];var Te=(0,o.Q$)(((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n}));var Re=(0,o.TN)(((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:n}=t;return r!==n})),Fe=r(36237),De=r(17835),qe=r(63356),He=r(16931),We=r(51636);var Ze=e=>{const{componentCls:t,lineWidth:r,lineType:n,tableBorderColor:o,tableHeaderBg:i,tablePaddingVertical:a,tablePaddingHorizontal:s,calc:l}=e,c=`${(0,Fe.unit)(r)} ${n} ${o}`,u=(e,n,o)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,Fe.unit)(l(n).mul(-1).equal())}\n ${(0,Fe.unit)(l(l(o).add(r)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:c,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:c,borderTop:c,[`\n > ${t}-content,\n > ${t}-header,\n > ${t}-body,\n > ${t}-summary\n `]:{"> 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:c},"> thead":{"> tr:not(:last-child) > th":{borderBottom:c},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:c}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,Fe.unit)(l(a).mul(-1).equal())} ${(0,Fe.unit)(l(l(s).add(r)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:r,bottom:0,borderInlineEnd:c,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`\n > tr${t}-expanded-row,\n > tr${t}-placeholder\n `]:{"> th, > td":{borderInlineEnd:0}}}}}},u("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),u("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:c,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Fe.unit)(r)} 0 ${(0,Fe.unit)(r)} ${i}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:c}}}};var Ue=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},qe.vS),{wordBreak:"keep-all",[`\n &${t}-cell-fix-left-last,\n &${t}-cell-fix-right-first\n `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}};var Ve=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}};var Ge=e=>{const{componentCls:t,antCls:r,motionDurationSlow:n,lineWidth:o,paddingXS:i,lineType:a,tableBorderColor:s,tableExpandIconBg:l,tableExpandColumnWidth:c,borderRadius:u,tablePaddingVertical:d,tablePaddingHorizontal:h,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:f,expandIconSize:g,expandIconHalfInner:b,expandIconScale:v,calc:y}=e,w=`${(0,Fe.unit)(o)} ${a} ${s}`,x=y(m).sub(o).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:c},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,qe.Nd)(e)),{position:"relative",float:"left",width:g,height:g,color:"inherit",lineHeight:(0,Fe.unit)(g),background:l,border:w,borderRadius:u,transform:`scale(${v})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${n} ease-out`,content:'""'},"&::before":{top:b,insetInlineEnd:x,insetInlineStart:x,height:o},"&::after":{top:x,bottom:x,insetInlineStart:b,width:o,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"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:f,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${r}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Fe.unit)(y(d).mul(-1).equal())} ${(0,Fe.unit)(y(h).mul(-1).equal())}`,padding:`${(0,Fe.unit)(d)} ${(0,Fe.unit)(h)}`}}}};var Xe=e=>{const{componentCls:t,antCls:r,iconCls:n,tableFilterDropdownWidth:o,tableFilterDropdownSearchWidth:i,paddingXXS:a,paddingXS:s,colorText:l,lineWidth:c,lineType:u,tableBorderColor:d,headerIconColor:h,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:f,motionDurationSlow:g,colorTextDescription:b,colorPrimary:v,tableHeaderFilterActiveBg:y,colorTextDisabled:w,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:k,controlItemBgActive:C,boxShadowSecondary:$,filterDropdownMenuBg:j,calc:O}=e,_=`${r}-dropdown`,N=`${t}-filter-dropdown`,A=`${r}-tree`,I=`${(0,Fe.unit)(c)} ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(a).mul(-1).equal(),marginInline:`${(0,Fe.unit)(a)} ${(0,Fe.unit)(O(m).div(2).mul(-1).equal())}`,padding:`0 ${(0,Fe.unit)(a)}`,color:h,fontSize:p,borderRadius:f,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:b,background:y},"&.active":{color:v}}}},{[`${r}-dropdown`]:{[N]:Object.assign(Object.assign({},(0,qe.Wf)(e)),{minWidth:o,backgroundColor:x,borderRadius:f,boxShadow:$,overflow:"hidden",[`${_}-menu`]:{maxHeight:S,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:j,"&:empty::after":{display:"block",padding:`${(0,Fe.unit)(s)} 0`,color:w,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${N}-tree`]:{paddingBlock:`${(0,Fe.unit)(s)} 0`,paddingInline:s,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:k},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:C}}},[`${N}-search`]:{padding:s,borderBottom:I,"&-input":{input:{minWidth:i},[n]:{color:w}}},[`${N}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${N}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Fe.unit)(O(s).sub(c).equal())} ${(0,Fe.unit)(s)}`,overflow:"hidden",borderTop:I}})}},{[`${r}-dropdown ${N}, ${N}-submenu`]:{[`${r}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:l},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]};var Ye=e=>{const{componentCls:t,lineWidth:r,colorSplit:n,motionDurationSlow:o,zIndexTableFixed:i,tableBg:a,zIndexTableSticky:s,calc:l}=e,c=n;return{[`${t}-wrapper`]:{[`\n ${t}-cell-fix-left,\n ${t}-cell-fix-right\n `]:{position:"sticky !important",zIndex:i,background:a},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:l(r).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{position:"absolute",top:0,bottom:l(r).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:l(s).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${c}`},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{boxShadow:`inset 10px 0 8px -8px ${c}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${c}`},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:`inset -10px 0 8px -8px ${c}`}},[`${t}-fixed-column-gapped`]:{[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after,\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:"none"}}}}};var Ke=e=>{const{componentCls:t,antCls:r,margin:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${r}-pagination`]:{margin:`${(0,Fe.unit)(n)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}};var Je=e=>{const{componentCls:t,tableRadius:r}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,Fe.unit)(r)} ${(0,Fe.unit)(r)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-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:r,borderStartEndRadius:r,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:r},"> *:last-child":{borderStartEndRadius:r}}},"&-footer":{borderRadius:`0 0 ${(0,Fe.unit)(r)} ${(0,Fe.unit)(r)}`}}}}};var Qe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}};var et=e=>{const{componentCls:t,antCls:r,iconCls:n,fontSizeIcon:o,padding:i,paddingXS:a,headerIconColor:s,headerIconHoverColor:l,tableSelectionColumnWidth:c,tableSelectedRowBg:u,tableSelectedRowHoverBg:d,tableRowHoverBg:h,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:c,[`&${t}-selection-col-with-dropdown`]:{width:m(c).add(o).add(m(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(c).add(m(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(c).add(o).add(m(i).div(4)).add(m(a).mul(2)).equal()}},[`\n table tr th${t}-selection-column,\n table tr td${t}-selection-column,\n ${t}-selection-column\n `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${r}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Fe.unit)(m(p).div(4).equal()),[n]:{color:s,fontSize:o,verticalAlign:"baseline","&:hover":{color:l}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:u,"&-row-hover":{background:d}}},[`> ${t}-cell-row-hover`]:{background:h}}}}}};var tt=e=>{const{componentCls:t,tableExpandColumnWidth:r,calc:n}=e,o=(e,o,i,a)=>({[`${t}${t}-${e}`]:{fontSize:a,[`\n ${t}-title,\n ${t}-footer,\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{padding:`${(0,Fe.unit)(o)} ${(0,Fe.unit)(i)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,Fe.unit)(n(i).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,Fe.unit)(n(o).mul(-1).equal())} ${(0,Fe.unit)(n(i).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,Fe.unit)(n(o).mul(-1).equal()),marginInline:`${(0,Fe.unit)(n(r).sub(i).equal())} ${(0,Fe.unit)(n(i).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,Fe.unit)(n(i).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}};var rt=e=>{const{componentCls:t,marginXXS:r,fontSizeIcon:n,headerIconColor:o,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`\n &${t}-cell-fix-left:hover,\n &${t}-cell-fix-right:hover\n `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:r,color:o,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:n,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}};var nt=e=>{const{componentCls:t,opacityLoading:r,tableScrollThumbBg:n,tableScrollThumbBgHover:o,tableScrollThumbSize:i,tableScrollBg:a,zIndexTableSticky:s,stickyScrollBarBorderRadius:l,lineWidth:c,lineType:u,tableBorderColor:d}=e,h=`${(0,Fe.unit)(c)} ${u} ${d}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Fe.unit)(i)} !important`,zIndex:s,display:"flex",alignItems:"center",background:a,borderTop:h,opacity:r,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:n,borderRadius:l,transition:`all ${e.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:o}}}}}}};var ot=e=>{const{componentCls:t,lineWidth:r,tableBorderColor:n,calc:o}=e,i=`${(0,Fe.unit)(r)} ${e.lineType} ${n}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,Fe.unit)(o(r).mul(-1).equal())} 0 ${n}`}}}};var it=e=>{const{componentCls:t,motionDurationMid:r,lineWidth:n,lineType:o,tableBorderColor:i,calc:a}=e,s=`${(0,Fe.unit)(n)} ${o} ${i}`,l=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[`\n & > ${t}-row, \n & > div:not(${t}-row) > ${t}-row\n `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:s,transition:`background ${r}`},[`${t}-expanded-row`]:{[`${l}${l}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Fe.unit)(n)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(n).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}};const at=e=>{const{componentCls:t,fontWeightStrong:r,tablePaddingVertical:n,tablePaddingHorizontal:o,tableExpandColumnWidth:i,lineWidth:a,lineType:s,tableBorderColor:l,tableFontSize:c,tableBg:u,tableRadius:d,tableHeaderTextColor:h,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:f,tableFooterTextColor:g,tableFooterBg:b,calc:v}=e,y=`${(0,Fe.unit)(a)} ${s} ${l}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,qe.dF)()),{[t]:Object.assign(Object.assign({},(0,qe.Wf)(e)),{fontSize:c,background:u,borderRadius:`${(0,Fe.unit)(d)} ${(0,Fe.unit)(d)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Fe.unit)(d)} ${(0,Fe.unit)(d)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{position:"relative",padding:`${(0,Fe.unit)(n)} ${(0,Fe.unit)(o)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,Fe.unit)(n)} ${(0,Fe.unit)(o)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:h,fontWeight:r,textAlign:"start",background:m,borderBottom:y,transition:`background ${p} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:f,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${p}, border-color ${p}`,borderBottom:y,[`\n > ${t}-wrapper:only-child,\n > ${t}-expanded-row-fixed > ${t}-wrapper:only-child\n `]:{[t]:{marginBlock:(0,Fe.unit)(v(n).mul(-1).equal()),marginInline:`${(0,Fe.unit)(v(i).sub(o).equal())}\n ${(0,Fe.unit)(v(o).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:h,fontWeight:r,textAlign:"start",background:m,borderBottom:y,transition:`background ${p} ease`}}},[`${t}-footer`]:{padding:`${(0,Fe.unit)(n)} ${(0,Fe.unit)(o)}`,color:g,background:b}})}};var st=(0,He.I$)("Table",(e=>{const{colorTextHeading:t,colorSplit:r,colorBgContainer:n,controlInteractiveSize:o,headerBg:i,headerColor:a,headerSortActiveBg:s,headerSortHoverBg:l,bodySortBg:c,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:h,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:f,cellPaddingBlockMD:g,cellPaddingInlineMD:b,cellPaddingBlockSM:v,cellPaddingInlineSM:y,borderColor:w,footerBg:x,footerColor:S,headerBorderRadius:k,cellFontSize:C,cellFontSizeMD:$,cellFontSizeSM:j,headerSplitColor:O,fixedHeaderSortActiveBg:_,headerFilterHoverBg:N,filterDropdownBg:A,expandIconBg:I,selectionColumnWidth:E,stickyScrollBarBg:z,calc:M}=e,P=(0,We.mergeToken)(e,{tableFontSize:C,tableBg:n,tableRadius:k,tablePaddingVertical:m,tablePaddingHorizontal:f,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:b,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:y,tableBorderColor:w,tableHeaderTextColor:a,tableHeaderBg:i,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:O,tableHeaderSortBg:s,tableHeaderSortHoverBg:l,tableBodySortBg:c,tableFixedHeaderSortActiveBg:_,tableHeaderFilterActiveBg:N,tableFilterDropdownBg:A,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:h,zIndexTableFixed:2,zIndexTableSticky:M(2).add(1).equal({unit:!1}),tableFontSizeMiddle:$,tableFontSizeSmall:j,tableSelectionColumnWidth:E,tableExpandIconBg:I,tableExpandColumnWidth:M(o).add(M(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:z,tableScrollThumbBgHover:t,tableScrollBg:r});return[at(P),Ke(P),ot(P),rt(P),Xe(P),Ze(P),Je(P),Ge(P),ot(P),Ve(P),et(P),Ye(P),nt(P),Ue(P),tt(P),Qe(P),it(P)]}),(e=>{const{colorFillAlter:t,colorBgContainer:r,colorTextHeading:n,colorFillSecondary:o,colorFillContent:i,controlItemBgActive:a,controlItemBgActiveHover:s,padding:l,paddingSM:c,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:h,controlHeight:p,colorTextPlaceholder:m,fontSize:f,fontSizeSM:g,lineHeight:b,lineWidth:v,colorIcon:y,colorIconHover:w,opacityLoading:x,controlInteractiveSize:S}=e,k=new De.FastColor(o).onBackground(r).toHexString(),C=new De.FastColor(i).onBackground(r).toHexString(),$=new De.FastColor(t).onBackground(r).toHexString(),j=new De.FastColor(y),O=new De.FastColor(w),_=S/2-v,N=2*_+3*v;return{headerBg:$,headerColor:n,headerSortActiveBg:k,headerSortHoverBg:C,bodySortBg:$,rowHoverBg:$,rowSelectedBg:a,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:l,cellPaddingInline:l,cellPaddingBlockMD:c,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:h,footerBg:$,footerColor:n,cellFontSize:f,cellFontSizeMD:f,cellFontSizeSM:f,headerSplitColor:d,fixedHeaderSortActiveBg:k,headerFilterHoverBg:i,filterDropdownMenuBg:r,filterDropdownBg:r,expandIconBg:r,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(f*b-3*v)/2-Math.ceil((1.4*g-3*v)/2),headerIconColor:j.clone().setA(j.a*x).toRgbString(),headerIconHoverColor:O.clone().setA(O.a*x).toRgbString(),expandIconHalfInner:_,expandIconSize:N,expandIconScale:S/N}}),{unitless:{expandIconScale:!0}});const lt=[],ct=(e,t)=>{var r,i;const{prefixCls:a,className:s,rootClassName:l,style:c,size:d,bordered:h,dropdownPrefixCls:p,dataSource:m,pagination:g,rowSelection:b,rowKey:v="key",rowClassName:y,columns:w,children:x,childrenColumnName:S,onChange:k,getPopupContainer:C,loading:F,expandIcon:D,expandable:q,expandedRowRender:H,expandIconColumnIndex:W,indentSize:Z,scroll:U,sortDirections:V,locale:G,showSorterTooltip:X={target:"full-header"},virtual:Y}=e;(0,f.ln)("Table");const K=n.useMemo((()=>w||(0,j.L)(x)),[w,x]),J=n.useMemo((()=>K.some((e=>e.responsive))),[K]),Q=(0,M.Z)(J),ee=n.useMemo((()=>{const e=new Set(Object.keys(Q).filter((e=>Q[e])));return K.filter((t=>!t.responsive||t.responsive.some((t=>e.has(t)))))}),[K,Q]),te=(0,O.Z)(e,["className","style","columns"]),{locale:re=P.Z,direction:ne,table:oe,renderEmpty:ie,getPrefixCls:ae,getPopupContainer:se}=n.useContext(A.E_),le=(0,z.Z)(d),ce=Object.assign(Object.assign({},re.Table),G),ue=m||lt,de=ae("table",a),he=ae("dropdown",p),[,pe]=(0,T.ZP)(),me=(0,E.Z)(de),[fe,be,we]=st(de,me),ke=Object.assign(Object.assign({childrenColumnName:S,expandIconColumnIndex:W},q),{expandIcon:null!==(r=null==q?void 0:q.expandIcon)&&void 0!==r?r:null===(i=null==oe?void 0:oe.expandable)||void 0===i?void 0:i.expandIcon}),{childrenColumnName:Ce="children"}=ke,$e=n.useMemo((()=>ue.some((e=>null==e?void 0:e[Ce]))?"nest":H||(null==q?void 0:q.expandedRowRender)?"row":null),[ue]),je={body:n.useRef(null)},Oe=function(e){return(t,r)=>{const n=t.querySelector(`.${e}-container`);let o=r;if(n){const e=getComputedStyle(n);o=r-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}return o}}(de),_e=n.useRef(null),Ne=n.useRef(null);_(t,(()=>Object.assign(Object.assign({},Ne.current),{nativeElement:_e.current})));const Ae=n.useMemo((()=>"function"==typeof v?v:e=>null==e?void 0:e[v]),[v]),[Ie]=ye(ue,Ce,Ae),Ee={},ze=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var n,o,i,a;const s=Object.assign(Object.assign({},Ee),e);r&&(null===(n=Ee.resetPagination)||void 0===n||n.call(Ee),(null===(o=s.pagination)||void 0===o?void 0:o.current)&&(s.pagination.current=1),g&&(null===(i=g.onChange)||void 0===i||i.call(g,1,null===(a=s.pagination)||void 0===a?void 0:a.pageSize))),U&&!1!==U.scrollToFirstRowOnChange&&je.body.current&&(0,N.Z)(0,{getContainer:()=>je.body.current}),null==k||k(s.pagination,s.filters,s.sorter,{currentDataSource:ge(Me(ue,s.sorterStates,Ce),s.filterStates,Ce),action:t})},[Le,Fe,De,qe]=Pe({prefixCls:de,mergedColumns:ee,onSorterChange:(e,t)=>{ze({sorter:e,sorterStates:t},"sort",!1)},sortDirections:V||["ascend","descend"],tableLocale:ce,showSorterTooltip:X}),He=n.useMemo((()=>Me(ue,Fe,Ce)),[ue,Fe]);Ee.sorter=qe(),Ee.sorterStates=Fe;const[We,Ze,Ue]=ve({prefixCls:de,locale:ce,dropdownPrefixCls:he,mergedColumns:ee,onFilterChange:(e,t)=>{ze({filters:e,filterStates:t},"filter",!0)},getPopupContainer:C||se,rootClassName:u()(l,me)}),Ve=ge(He,Ze,Ce);Ee.filters=Ue,Ee.filterStates=Ze;const Ge=n.useMemo((()=>{const e={};return Object.keys(Ue).forEach((t=>{null!==Ue[t]&&(e[t]=Ue[t])})),Object.assign(Object.assign({},De),{filters:e})}),[De,Ue]),[Xe]=Be(Ge),[Ye,Ke]=Se(Ve.length,((e,t)=>{ze({pagination:Object.assign(Object.assign({},Ee.pagination),{current:e,pageSize:t})},"paginate")}),g);Ee.pagination=!1===g?{}:function(e,t){const r={current:e.current,pageSize:e.pageSize},n=t&&"object"==typeof t?t:{};return Object.keys(n).forEach((t=>{const n=e[t];"function"!=typeof n&&(r[t]=n)})),r}(Ye,g),Ee.resetPagination=Ke;const Je=n.useMemo((()=>{if(!1===g||!Ye.pageSize)return Ve;const{current:e=1,total:t,pageSize:r=xe}=Ye;return Ve.length<t?Ve.length>r?Ve.slice((e-1)*r,e*r):Ve:Ve.slice((e-1)*r,e*r)}),[!!g,Ve,null==Ye?void 0:Ye.current,null==Ye?void 0:Ye.pageSize,null==Ye?void 0:Ye.total]),[Qe,et]=$({prefixCls:de,data:Ve,pageData:Je,getRowKey:Ae,getRecordByKey:Ie,expandType:$e,childrenColumnName:Ce,locale:ce,getPopupContainer:C||se},b);ke.__PARENT_RENDER_ICON__=ke.expandIcon,ke.expandIcon=ke.expandIcon||D||R(ce),"nest"===$e&&void 0===ke.expandIconColumnIndex?ke.expandIconColumnIndex=b?1:0:ke.expandIconColumnIndex>0&&b&&(ke.expandIconColumnIndex-=1),"number"!=typeof ke.indentSize&&(ke.indentSize="number"==typeof Z?Z:15);const tt=n.useCallback((e=>Xe(Qe(We(Le(e))))),[Le,We,Qe]);let rt,nt,ot;if(!1!==g&&(null==Ye?void 0:Ye.total)){let e;e=Ye.size?Ye.size:"small"===le||"middle"===le?"small":void 0;const t=t=>n.createElement(L.Z,Object.assign({},Ye,{className:u()(`${de}-pagination ${de}-pagination-${t}`,Ye.className),size:e})),r="rtl"===ne?"left":"right",{position:o}=Ye;if(null!==o&&Array.isArray(o)){const e=o.find((e=>e.includes("top"))),n=o.find((e=>e.includes("bottom"))),i=o.every((e=>"none"==`${e}`));e||n||i||(nt=t(r)),e&&(rt=t(e.toLowerCase().replace("top",""))),n&&(nt=t(n.toLowerCase().replace("bottom","")))}else nt=t(r)}"boolean"==typeof F?ot={spinning:F}:"object"==typeof F&&(ot=Object.assign({spinning:!0},F));const it=u()(we,me,`${de}-wrapper`,null==oe?void 0:oe.className,{[`${de}-wrapper-rtl`]:"rtl"===ne},s,l,be),at=Object.assign(Object.assign({},null==oe?void 0:oe.style),c),ct=void 0!==(null==G?void 0:G.emptyText)?G.emptyText:(null==ie?void 0:ie("Table"))||n.createElement(I.Z,{componentName:"Table"}),ut=Y?Re:Te,dt={},ht=n.useMemo((()=>{const{fontSize:e,lineHeight:t,lineWidth:r,padding:n,paddingXS:o,paddingSM:i}=pe,a=Math.floor(e*t);switch(le){case"middle":return 2*i+a+r;case"small":return 2*o+a+r;default:return 2*n+a+r}}),[pe,le]);return Y&&(dt.listItemHeight=ht),fe(n.createElement("div",{ref:_e,className:it,style:at},n.createElement(B.Z,Object.assign({spinning:!1},ot),rt,n.createElement(ut,Object.assign({},dt,te,{ref:Ne,columns:ee,direction:ne,expandable:ke,prefixCls:de,className:u()({[`${de}-middle`]:"middle"===le,[`${de}-small`]:"small"===le,[`${de}-bordered`]:h,[`${de}-empty`]:0===ue.length},we,me,be),data:Je,rowKey:Ae,rowClassName:(e,t,r)=>{let n;return n="function"==typeof y?u()(y(e,t,r)):u()(y),u()({[`${de}-row-selected`]:et.has(Ae(e,t))},n)},emptyText:ct,internalHooks:o.RQ,internalRefs:je,transformColumns:tt,getContainerWidth:Oe})),nt)))};var ut=n.forwardRef(ct);const dt=(e,t)=>{const r=n.useRef(0);return r.current+=1,n.createElement(ut,Object.assign({},e,{ref:t,_renderTimes:r.current}))},ht=n.forwardRef(dt);ht.SELECTION_COLUMN=y,ht.EXPAND_COLUMN=o.w2,ht.SELECTION_ALL=w,ht.SELECTION_INVERT=x,ht.SELECTION_NONE=S,ht.Column=i,ht.ColumnGroup=a,ht.Summary=o.ER;var pt=ht},20554:function(e,t,r){"use strict";r.d(t,{Z:function(){return z}});var n=r(59301),o=r(99267),i=r(18785),a=r(62772),s=r(92310),l=r.n(s),c=r(29443),u=r(48755),d=r(83397),h=r(31756),p=r(86641);const m={motionAppear:!1,motionEnter:!0,motionLeave:!0};var f=r(11592),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var b=r(36237),v=r(63356),y=r(16931),w=r(51636),x=r(46e3);var S=e=>{const{componentCls:t,motionDurationSlow:r}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${r}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${r}`}}}}},[(0,x.oN)(e,"slide-up"),(0,x.oN)(e,"slide-down")]]};const k=e=>{const{componentCls:t,tabsCardPadding:r,cardBg:n,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:r,background:n,border:`${(0,b.unit)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-tab-focus`]:Object.assign({},(0,v.oN)(e,-3)),[`${t}-ink-bar`]:{visibility:"hidden"},[`& ${t}-tab${t}-tab-focus ${t}-tab-btn`]:{outline:"none"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,b.unit)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,b.unit)(e.borderRadiusLG)} ${(0,b.unit)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,b.unit)(e.borderRadiusLG)} ${(0,b.unit)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,b.unit)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,b.unit)(e.borderRadiusLG)} 0 0 ${(0,b.unit)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,b.unit)(e.borderRadiusLG)} ${(0,b.unit)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},C=e=>{const{componentCls:t,itemHoverColor:r,dropdownEdgeChildVerticalPadding:n}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,v.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,b.unit)(n)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},v.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,b.unit)(e.paddingXXS)} ${(0,b.unit)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:r}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},$=e=>{const{componentCls:t,margin:r,colorBorderSecondary:n,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,b.unit)(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:r,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,b.unit)(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,b.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,b.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},j=e=>{const{componentCls:t,cardPaddingSM:r,cardPaddingLG:n,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,b.unit)(e.borderRadius)} ${(0,b.unit)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,b.unit)(e.borderRadius)} ${(0,b.unit)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,b.unit)(e.borderRadius)} ${(0,b.unit)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,b.unit)(e.borderRadius)} 0 0 ${(0,b.unit)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}}}}}},O=e=>{const{componentCls:t,itemActiveColor:r,itemHoverColor:n,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:r}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},(0,v.Qy)(e)),"&:hover":{color:n},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-focus ${c}-btn`]:Object.assign({},(0,v.oN)(e)),[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},_=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:r,iconCls:n,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:r},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,b.unit)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,b.unit)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,b.unit)(i(e.marginXXS).mul(-1).equal())},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},N=e=>{const{componentCls:t,tabsCardPadding:r,cardHeight:n,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,v.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-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 ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:r,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:n,marginLeft:{_skip_check_:!0,value:o},padding:(0,b.unit)(e.paddingXS),background:"transparent",border:`${(0,b.unit)(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${(0,b.unit)(e.borderRadiusLG)} ${(0,b.unit)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},(0,v.Qy)(e,-3))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),O(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:Object.assign(Object.assign({},(0,v.Qy)(e)),{"&-hidden":{display:"none"}})}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}};var A=(0,y.I$)("Tabs",(e=>{const t=(0,w.mergeToken)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,b.unit)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,b.unit)(e.horizontalItemGutter)}`});return[j(t),_(t),$(t),C(t),k(t),N(t),S(t)]}),(e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}));var I=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const E=e=>{var t,r,s,b,v,y,w,x,S,k,C;const{type:$,className:j,rootClassName:O,size:_,onEdit:N,hideAdd:E,centered:z,addIcon:M,removeIcon:P,moreIcon:L,more:B,popupClassName:T,children:R,items:F,animated:D,style:q,indicatorSize:H,indicator:W}=e,Z=I(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:U}=Z,{direction:V,tabs:G,getPrefixCls:X,getPopupContainer:Y}=n.useContext(u.E_),K=X("tabs",U),J=(0,d.Z)(K),[Q,ee,te]=A(K,J);let re;"editable-card"===$&&(re={onEdit:(e,t)=>{let{key:r,event:n}=t;null==N||N("add"===e?n:r,e)},removeIcon:null!==(t=null!=P?P:null==G?void 0:G.removeIcon)&&void 0!==t?t:n.createElement(o.Z,null),addIcon:(null!=M?M:null==G?void 0:G.addIcon)||n.createElement(a.Z,null),showAdd:!0!==E});const ne=X();const oe=(0,h.Z)(_),ie=function(e,t){return e||function(e){return e.filter((e=>e))}((0,f.Z)(t).map((e=>{if(n.isValidElement(e)){const{key:t,props:r}=e,n=r||{},{tab:o}=n,i=g(n,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(F,R),ae=function(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===r?{inkBar:!1,tabPane:!1}:!0===r?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof r?r:{}),t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},m),{motionName:(0,p.m)(e,"switch")})),t}(K,D),se=Object.assign(Object.assign({},null==G?void 0:G.style),q),le={align:null!==(r=null==W?void 0:W.align)&&void 0!==r?r:null===(s=null==G?void 0:G.indicator)||void 0===s?void 0:s.align,size:null!==(w=null!==(v=null!==(b=null==W?void 0:W.size)&&void 0!==b?b:H)&&void 0!==v?v:null===(y=null==G?void 0:G.indicator)||void 0===y?void 0:y.size)&&void 0!==w?w:null==G?void 0:G.indicatorSize};return Q(n.createElement(c.Z,Object.assign({direction:V,getPopupContainer:Y},Z,{items:ie,className:l()({[`${K}-${oe}`]:oe,[`${K}-card`]:["card","editable-card"].includes($),[`${K}-editable-card`]:"editable-card"===$,[`${K}-centered`]:z},null==G?void 0:G.className,j,O,ee,te,J),popupClassName:l()(T,ee,te,J),style:se,editable:re,more:Object.assign({icon:null!==(C=null!==(k=null!==(S=null===(x=null==G?void 0:G.more)||void 0===x?void 0:x.icon)&&void 0!==S?S:null==G?void 0:G.moreIcon)&&void 0!==k?k:L)&&void 0!==C?C:n.createElement(i.Z,null),transitionName:`${ne}-slide-up`},B),prefixCls:K,animated:ae,indicator:le})))};E.TabPane=()=>null;var z=E},96599:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(59301),o=r(92310),i=r.n(o),a=r(2738),s=r(29509),l=r(78776),c=r(22703),u=r(12919),d=r(48755),h=r(36237),p=r(17835),m=r(63356),f=r(51636),g=r(16931);const b=e=>{const{lineWidth:t,fontSizeIcon:r,calc:n}=e,o=e.fontSizeSM;return(0,f.mergeToken)(e,{tagFontSize:o,tagLineHeight:(0,h.unit)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(r).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},v=e=>({defaultBg:new p.FastColor(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,g.I$)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:i}=e,a=i(n).sub(r).equal(),s=i(t).sub(r).equal();return{[o]:Object.assign(Object.assign({},(0,m.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,h.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(b(e))),v),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const x=n.forwardRef(((e,t)=>{const{prefixCls:r,style:o,className:a,checked:s,onChange:l,onClick:c}=e,u=w(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:h,tag:p}=n.useContext(d.E_),m=h("tag",r),[f,g,b]=y(m),v=i()(m,`${m}-checkable`,{[`${m}-checkable-checked`]:s},null==p?void 0:p.className,a,g,b);return f(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:v,onClick:e=>{null==l||l(!s),null==c||c(e)}})))}));var S=x,k=r(93427);var C=(0,g.bk)(["Tag","preset"],(e=>(e=>(0,k.Z)(e,((t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:i,darkColor:a}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(b(e))),v);const $=(e,t,r)=>{const n="string"!=typeof(o=r)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var j=(0,g.bk)(["Tag","status"],(e=>{const t=b(e);return[$(t,"success","Success"),$(t,"processing","Info"),$(t,"error","Error"),$(t,"warning","Warning")]}),v),O=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const _=n.forwardRef(((e,t)=>{const{prefixCls:r,className:o,rootClassName:h,style:p,children:m,icon:f,color:g,onClose:b,bordered:v=!0,visible:w}=e,x=O(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:k,tag:$}=n.useContext(d.E_),[_,N]=n.useState(!0),A=(0,a.Z)(x,["closeIcon","closable"]);n.useEffect((()=>{void 0!==w&&N(w)}),[w]);const I=(0,s.o2)(g),E=(0,s.yT)(g),z=I||E,M=Object.assign(Object.assign({backgroundColor:g&&!z?g:void 0},null==$?void 0:$.style),p),P=S("tag",r),[L,B,T]=y(P),R=i()(P,null==$?void 0:$.className,{[`${P}-${g}`]:z,[`${P}-has-color`]:g&&!z,[`${P}-hidden`]:!_,[`${P}-rtl`]:"rtl"===k,[`${P}-borderless`]:!v},o,h,B,T),F=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||N(!1)},[,D]=(0,l.Z)((0,l.w)(e),(0,l.w)($),{closable:!1,closeIconRender:e=>{const t=n.createElement("span",{className:`${P}-close-icon`,onClick:F},e);return(0,c.wm)(e,t,(e=>({onClick:t=>{var r;null===(r=null==e?void 0:e.onClick)||void 0===r||r.call(e,t),F(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)})))}}),q="function"==typeof x.onClick||m&&"a"===m.type,H=f||null,W=H?n.createElement(n.Fragment,null,H,m&&n.createElement("span",null,m)):m,Z=n.createElement("span",Object.assign({},A,{ref:t,className:R,style:M}),W,D,I&&n.createElement(C,{key:"preset",prefixCls:P}),E&&n.createElement(j,{key:"status",prefixCls:P}));return L(q?n.createElement(u.Z,{component:"Tag"},Z):Z)})),N=_;N.CheckableTag=S;var A=N},93427:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(34998);function o(e,t){return n.i.reduce(((r,n)=>{const o=e[`${n}1`],i=e[`${n}3`],a=e[`${n}6`],s=e[`${n}7`];return Object.assign(Object.assign({},r),t(n,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}},25399:function(e,t,r){"use strict";r.d(t,{Z:function(){return z}});var n=r(59301),o=r(92310),i=r.n(o),a=r(29125),s=r(18929),l=r(62487),c=r(75030),u=r(86641),d=r(52838),h=r(22703),p=r(32383),m=r(55743),f=r(57700),g=r(48755),b=r(36237),v=r(63356),y=r(34925),w=r(37645),x=r(36305),S=r(93427),k=r(51636),C=r(16931);const $=e=>{const{calc:t,componentCls:r,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:h,sizePopupArrow:p}=e,m=t(a).add(p).add(h).equal(),f=t(a).mul(2).add(p).equal();return[{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,v.Wf)(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${r}-inner`]:{minWidth:f,minHeight:l,padding:`${(0,b.unit)(e.calc(u).div(2).equal())} ${(0,b.unit)(d)}`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:c,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:m},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${r}-inner`]:{borderRadius:e.min(a,w.qN)}},[`${r}-content`]:{position:"relative"}}),(0,S.Z)(e,((e,t)=>{let{darkColor:n}=t;return{[`&${r}-${e}`]:{[`${r}-inner`]:{backgroundColor:n},[`${r}-arrow`]:{"--antd-arrow-background-color":n}}}}))),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)(e,"var(--antd-arrow-background-color)"),{[`${r}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},j=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,w.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,x.w)((0,k.mergeToken)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));var O=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=(0,C.I$)("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:r,colorBgSpotlight:n}=e,o=(0,k.mergeToken)(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:t,tooltipBg:n});return[$(o),(0,y._y)(e,"zoom-big-fast")]}),j,{resetStyle:!1,injectStyle:t});return r(e)},_=r(29509);function N(e,t){const r=(0,_.o2)(t),n=i()({[`${e}-${t}`]:t&&r}),o={},a={};return t&&!r&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:n,overlayStyle:o,arrowStyle:a}}var A=e=>{const{prefixCls:t,className:r,placement:o="top",title:s,color:l,overlayInnerStyle:c}=e,{getPrefixCls:u}=n.useContext(g.E_),d=u("tooltip",t),[h,p,m]=O(d),f=N(d,l),b=f.arrowStyle,v=Object.assign(Object.assign({},c),f.overlayStyle),y=i()(p,m,d,`${d}-pure`,`${d}-placement-${o}`,r,f.className);return h(n.createElement("div",{className:y,style:b},n.createElement("div",{className:`${d}-arrow`}),n.createElement(a.G,Object.assign({},e,{className:p,prefixCls:d,overlayInnerStyle:v}),s)))},I=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const E=n.forwardRef(((e,t)=>{var r,o;const{prefixCls:b,openClassName:v,getTooltipContainer:y,color:w,overlayInnerStyle:x,children:S,afterOpenChange:k,afterVisibleChange:C,destroyTooltipOnHide:$,arrow:j=!0,title:_,overlay:A,builtinPlacements:E,arrowPointAtCenter:z=!1,autoAdjustOverflow:M=!0,motion:P,getPopupContainer:L,placement:B="top",mouseEnterDelay:T=.1,mouseLeaveDelay:R=.1,overlayStyle:F,rootClassName:D,overlayClassName:q,styles:H,classNames:W}=e,Z=I(e,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),U=!!j,[,V]=(0,f.ZP)(),{getPopupContainer:G,getPrefixCls:X,direction:Y,className:K,style:J,classNames:Q,styles:ee}=(0,g.dj)("tooltip"),te=(0,p.ln)("Tooltip"),re=n.useRef(null),ne=()=>{var e;null===(e=re.current)||void 0===e||e.forceAlign()};n.useImperativeHandle(t,(()=>{var e,t;return{forceAlign:ne,forcePopupAlign:()=>{te.deprecated(!1,"forcePopupAlign","forceAlign"),ne()},nativeElement:null===(e=re.current)||void 0===e?void 0:e.nativeElement,popupElement:null===(t=re.current)||void 0===t?void 0:t.popupElement}}));const[oe,ie]=(0,s.Z)(!1,{value:null!==(r=e.open)&&void 0!==r?r:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),ae=!_&&!A&&0!==_,se=n.useMemo((()=>{var e,t;let r=z;return"object"==typeof j&&(r=null!==(t=null!==(e=j.pointAtCenter)&&void 0!==e?e:j.arrowPointAtCenter)&&void 0!==t?t:z),E||(0,d.Z)({arrowPointAtCenter:r,autoAdjustOverflow:M,arrowWidth:U?V.sizePopupArrow:0,borderRadius:V.borderRadius,offset:V.marginXXS,visibleFirst:!0})}),[z,j,E,V]),le=n.useMemo((()=>0===_?_:A||_||""),[A,_]),ce=n.createElement(l.Z,{space:!0},"function"==typeof le?le():le),ue=X("tooltip",b),de=X(),he=e["data-popover-inject"];let pe=oe;"open"in e||"visible"in e||!ae||(pe=!1);const me=n.isValidElement(S)&&!(0,h.M2)(S)?S:n.createElement("span",null,S),fe=me.props,ge=fe.className&&"string"!=typeof fe.className?fe.className:i()(fe.className,v||`${ue}-open`),[be,ve,ye]=O(ue,!he),we=N(ue,w),xe=we.arrowStyle,Se=i()(q,{[`${ue}-rtl`]:"rtl"===Y},we.className,D,ve,ye,K,Q.root,null==W?void 0:W.root),ke=i()(Q.body,null==W?void 0:W.body),[Ce,$e]=(0,c.Cn)("Tooltip",Z.zIndex),je=n.createElement(a.Z,Object.assign({},Z,{zIndex:Ce,showArrow:U,placement:B,mouseEnterDelay:T,mouseLeaveDelay:R,prefixCls:ue,classNames:{root:Se,body:ke},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},xe),ee.root),J),F),null==H?void 0:H.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},ee.body),x),null==H?void 0:H.body),we.overlayStyle)},getTooltipContainer:L||y||G,ref:re,builtinPlacements:se,overlay:ce,visible:pe,onVisibleChange:t=>{var r,n;ie(!ae&&t),ae||(null===(r=e.onOpenChange)||void 0===r||r.call(e,t),null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},afterVisibleChange:null!=k?k:C,arrowContent:n.createElement("span",{className:`${ue}-arrow-content`}),motion:{motionName:(0,u.m)(de,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!$}),pe?(0,h.Tm)(me,{className:ge}):me);return be(n.createElement(m.Z.Provider,{value:$e},je))}));E._InternalPanelDoNotUseOrYouWillBeFired=A;var z=E},86743:function(e,t,r){"use strict";r.d(t,{Z:function(){return L}});var n=r(59301),o=r(38470),i=r(92310),a=r.n(i),s=r(75030),l=r(52838),c=r(55743),u=r(48755),d=r(57700),h=r(94480),p=r(99267),m=r(99571),f=r(9017),g=r(85981);function b(e){return null!=e}var v=e=>{var t,r;const{stepProps:o,current:i,type:s,indicatorsRender:l}=e,{prefixCls:c,total:u=1,title:d,onClose:v,onPrev:y,onNext:w,onFinish:x,cover:S,description:k,nextButtonProps:C,prevButtonProps:$,type:j,closable:O}=o,_=null!=j?j:s,N=n.createElement("button",{type:"button",onClick:v,className:`${c}-close`},(null==O?void 0:O.closeIcon)||n.createElement(p.Z,{className:`${c}-close-icon`})),A=i===u-1,I=b(d)?n.createElement("div",{className:`${c}-header`},n.createElement("div",{className:`${c}-title`},d)):null,E=b(k)?n.createElement("div",{className:`${c}-description`},k):null,z=b(S)?n.createElement("div",{className:`${c}-cover`},S):null;let M;M=l?l(i,u):(0,h.Z)(Array.from({length:u}).keys()).map(((e,t)=>n.createElement("span",{key:e,className:a()(t===i&&`${c}-indicator-active`,`${c}-indicator`)})));const P="primary"===_?"default":"primary",L={type:"default",ghost:"primary"===_},[B]=(0,f.Z)("Tour",g.Z.Tour);return n.createElement("div",{className:`${c}-content`},n.createElement("div",{className:`${c}-inner`},O&&N,z,I,E,n.createElement("div",{className:`${c}-footer`},u>1&&n.createElement("div",{className:`${c}-indicators`},M),n.createElement("div",{className:`${c}-buttons`},0!==i?n.createElement(m.ZP,Object.assign({},L,$,{onClick:()=>{var e;null==y||y(),null===(e=null==$?void 0:$.onClick)||void 0===e||e.call($)},size:"small",className:a()(`${c}-prev-btn`,null==$?void 0:$.className)}),null!==(t=null==$?void 0:$.children)&&void 0!==t?t:null==B?void 0:B.Previous):null,n.createElement(m.ZP,Object.assign({type:P},C,{onClick:()=>{var e;A?null==x||x():null==w||w(),null===(e=null==C?void 0:C.onClick)||void 0===e||e.call(C)},size:"small",className:a()(`${c}-next-btn`,null==C?void 0:C.className)}),null!==(r=null==C?void 0:C.children)&&void 0!==r?r:A?null==B?void 0:B.Finish:null==B?void 0:B.Next)))))},y=r(78776),w=r(45915),x=r(22703),S=r(69106),k=r(36237),C=r(17835),$=r(63356),j=r(37645),O=r(36305),_=r(16931),N=r(51636);const A=e=>{const{componentCls:t,padding:r,paddingXS:n,borderRadius:o,borderRadiusXS:i,colorPrimary:a,colorFill:s,indicatorHeight:l,indicatorWidth:c,boxShadowTertiary:u,zIndexPopup:d,colorBgElevated:h,fontWeightStrong:p,marginXS:m,colorTextLightSolid:f,tourBorderRadius:g,colorWhite:b,primaryNextBtnHoverBg:v,closeBtnSize:y,motionDurationSlow:w,antCls:x,primaryPrevBtnBg:S}=e;return[{[t]:Object.assign(Object.assign({},(0,$.Wf)(e)),{position:"absolute",zIndex:d,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":h,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:g,boxShadow:u,position:"relative",backgroundColor:h,border:"none",backgroundClip:"padding-box",[`${t}-close`]:Object.assign({position:"absolute",top:r,insetInlineEnd:r,color:e.colorIcon,background:"none",border:"none",width:y,height:y,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,$.Qy)(e)),[`${t}-cover`]:{textAlign:"center",padding:`${(0,k.unit)(e.calc(r).add(y).add(n).equal())} ${(0,k.unit)(r)} 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${(0,k.unit)(r)} ${(0,k.unit)(r)} ${(0,k.unit)(n)}`,width:`calc(100% - ${(0,k.unit)(y)})`,wordBreak:"break-word",[`${t}-title`]:{fontWeight:p}},[`${t}-description`]:{padding:`0 ${(0,k.unit)(r)}`,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${(0,k.unit)(n)} ${(0,k.unit)(r)} ${(0,k.unit)(r)}`,textAlign:"end",borderRadius:`0 0 ${(0,k.unit)(i)} ${(0,k.unit)(i)}`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:c,height:l,display:"inline-block",borderRadius:"50%",background:s,"&:not(:last-child)":{marginInlineEnd:l},"&-active":{background:a}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${x}-btn`]:{marginInlineStart:m}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":a,[`${t}-inner`]:{color:f,textAlign:"start",textDecoration:"none",backgroundColor:a,borderRadius:o,boxShadow:u,[`${t}-close`]:{color:f},[`${t}-indicators`]:{[`${t}-indicator`]:{background:S,"&-active":{background:f}}},[`${t}-prev-btn`]:{color:f,borderColor:S,backgroundColor:a,"&:hover":{backgroundColor:S,borderColor:"transparent"}},[`${t}-next-btn`]:{color:a,borderColor:"transparent",background:b,"&:hover":{background:v}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${w}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(g,j.qN)}}},(0,j.ZP)(e,"var(--antd-arrow-background-color)")]};var I=(0,_.I$)("Tour",(e=>{const{borderRadiusLG:t}=e,r=(0,N.mergeToken)(e,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t});return[A(r)]}),(e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70,closeBtnSize:e.fontSize*e.lineHeight,primaryPrevBtnBg:new C.FastColor(e.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new C.FastColor(e.colorBgTextHover).onBackground(e.colorWhite).toRgbString()},(0,j.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,O.w)(e)))),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var z=(0,w.i)((e=>{const{prefixCls:t,current:r=0,total:o=6,className:i,style:s,type:l,closable:c,closeIcon:d}=e,h=E(e,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:p}=n.useContext(u.E_),m=p("tour",t),[f,g,b]=I(m),[w,k]=(0,y.Z)({closable:c,closeIcon:d},null,{closable:!0,closeIconRender:e=>n.isValidElement(e)?(0,x.Tm)(e,{className:a()(e.props.className,`${m}-close-icon`)}):e});return f(n.createElement(S.t5,{prefixCls:m,hashId:g,className:a()(i,`${m}-pure`,l&&`${m}-${l}`,b),style:s},n.createElement(v,{stepProps:Object.assign(Object.assign({},h),{prefixCls:m,total:o,closable:w?{closeIcon:k}:void 0}),current:r,type:l})))})),M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const P=e=>{const{prefixCls:t,type:r,rootClassName:i,indicatorsRender:h,steps:p,closeIcon:m}=e,f=M(e,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:g,direction:b,tour:y}=(0,n.useContext)(u.E_),w=g("tour",t),[x,S,k]=I(w),[,C]=(0,d.ZP)(),$=n.useMemo((()=>null==p?void 0:p.map((e=>{var t;return Object.assign(Object.assign({},e),{className:a()(e.className,{[`${w}-primary`]:"primary"===(null!==(t=e.type)&&void 0!==t?t:r)})})}))),[p,r]),j=a()({[`${w}-rtl`]:"rtl"===b},S,k,i),[O,_]=(0,s.Cn)("Tour",f.zIndex);return x(n.createElement(c.Z.Provider,{value:_},n.createElement(o.Z,Object.assign({},f,{closeIcon:null!=m?m:null==y?void 0:y.closeIcon,zIndex:O,rootClassName:j,prefixCls:w,animated:!0,renderPanel:(e,t)=>n.createElement(v,{type:r,stepProps:e,current:t,indicatorsRender:h}),builtinPlacements:e=>{var t;return(0,l.Z)({arrowPointAtCenter:null===(t=null==e?void 0:e.arrowPointAtCenter)||void 0===t||t,autoAdjustOverflow:!0,offset:C.marginXXS,arrowWidth:C.sizePopupArrow,borderRadius:C.borderRadius})},steps:$}))))};P._InternalPanelDoNotUseOrYouWillBeFired=z;var L=P},69219:function(e,t,r){"use strict";r.d(t,{Z:function(){return L}});var n=r(59301),o=r(92310),i=r.n(o),a=r(9940),s=r(2738),l=r(75030),c=r(86641),u=r(45915),d=r(82855),h=r(48755),p=r(38406),m=r(2171),f=r(83397),g=r(31756),b=r(56553),v=r(24971),y=r(1722),w=r(90376),x=r(68525),S=r(90005),k=r(70045),C=r(57700),$=r(85278),j=r(36237),O=r(36170),_=r(51636),N=r(16931),A=r(12425);const I=e=>{const{componentCls:t,treePrefixCls:r,colorBgElevated:n}=e,o=`.${r}`;return[{[`${t}-dropdown`]:[{padding:`${(0,j.unit)(e.paddingXS)} ${(0,j.unit)(e.calc(e.paddingXS).div(2).equal())}`},(0,A.Yk)(r,(0,_.mergeToken)(e,{colorBgContainer:n}),!1),{[o]:{borderRadius:0,[`${o}-list-holder-inner`]:{alignItems:"stretch",[`${o}-treenode`]:{[`${o}-node-content-wrapper`]:{flex:"auto"}}}}},(0,O.C2)(`${r}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${o}-switcher${o}-switcher_close`]:{[`${o}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};var E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const z=(e,t)=>{var r;const{prefixCls:o,size:u,disabled:j,bordered:O=!0,className:z,rootClassName:M,treeCheckable:P,multiple:L,listHeight:B=256,listItemHeight:T,placement:R,notFoundContent:F,switcherIcon:D,treeLine:q,getPopupContainer:H,popupClassName:W,dropdownClassName:Z,treeIcon:U=!1,transitionName:V,choiceTransitionName:G="",status:X,treeExpandAction:Y,builtinPlacements:K,dropdownMatchSelectWidth:J,popupMatchSelectWidth:Q,allowClear:ee,variant:te,dropdownStyle:re,tagRender:ne,maxCount:oe,showCheckedStrategy:ie,treeCheckStrictly:ae}=e,se=E(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:le,getPrefixCls:ce,renderEmpty:ue,direction:de,virtual:he,popupMatchSelectWidth:pe,popupOverflow:me}=n.useContext(h.E_),[,fe]=(0,C.ZP)(),ge=null!=T?T:(null==fe?void 0:fe.controlHeightSM)+(null==fe?void 0:fe.paddingXXS);const be=ce(),ve=ce("select",o),ye=ce("select-tree",o),we=ce("tree-select",o),{compactSize:xe,compactItemClassnames:Se}=(0,k.ri)(ve,de),ke=(0,f.Z)(ve),Ce=(0,f.Z)(we),[$e,je,Oe]=(0,w.Z)(ve,ke),[_e]=function(e,t,r){return(0,N.I$)("TreeSelect",(e=>{const r=(0,_.mergeToken)(e,{treePrefixCls:t});return[I(r)]}),A.TM)(e,r)}(we,ye,Ce),[Ne,Ae]=(0,v.Z)("treeSelect",te,O),Ie=i()(W||Z,`${we}-dropdown`,{[`${we}-dropdown-rtl`]:"rtl"===de},M,Oe,ke,Ce,je),Ee=!(!P&&!L),ze=n.useMemo((()=>{if(!oe||("SHOW_ALL"!==ie||ae)&&"SHOW_PARENT"!==ie)return oe}),[oe,ie,ae]),Me=(0,S.Z)(e.suffixIcon,e.showArrow),Pe=null!==(r=null!=Q?Q:J)&&void 0!==r?r:pe,{status:Le,hasFeedback:Be,isFormItemInput:Te,feedbackIcon:Re}=n.useContext(b.aM),Fe=(0,d.F)(Le,X),{suffixIcon:De,removeIcon:qe,clearIcon:He}=(0,x.Z)(Object.assign(Object.assign({},se),{multiple:Ee,showSuffixIcon:Me,hasFeedback:Be,feedbackIcon:Re,prefixCls:ve,componentName:"TreeSelect"})),We=!0===ee?{clearIcon:He}:ee;let Ze;Ze=void 0!==F?F:(null==ue?void 0:ue("Select"))||n.createElement(p.Z,{componentName:"Select"});const Ue=(0,s.Z)(se,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Ve=n.useMemo((()=>void 0!==R?R:"rtl"===de?"bottomRight":"bottomLeft"),[R,de]),Ge=(0,g.Z)((e=>{var t;return null!==(t=null!=u?u:xe)&&void 0!==t?t:e})),Xe=n.useContext(m.Z),Ye=null!=j?j:Xe,Ke=i()(!o&&we,{[`${ve}-lg`]:"large"===Ge,[`${ve}-sm`]:"small"===Ge,[`${ve}-rtl`]:"rtl"===de,[`${ve}-${Ne}`]:Ae,[`${ve}-in-form-item`]:Te},(0,d.Z)(ve,Fe,Be),Se,z,M,Oe,ke,Ce,je),[Je]=(0,l.Cn)("SelectLike",null==re?void 0:re.zIndex);return $e(_e(n.createElement(a.ZP,Object.assign({virtual:he,disabled:Ye},Ue,{dropdownMatchSelectWidth:Pe,builtinPlacements:(0,y.Z)(K,me),ref:t,prefixCls:ve,className:Ke,listHeight:B,listItemHeight:ge,treeCheckable:P?n.createElement("span",{className:`${ve}-tree-checkbox-inner`}):P,treeLine:!!q,suffixIcon:De,multiple:Ee,placement:Ve,removeIcon:qe,allowClear:We,switcherIcon:e=>n.createElement($.Z,{prefixCls:ye,switcherIcon:D,treeNodeProps:e,showLine:q}),showTreeIcon:U,notFoundContent:Ze,getPopupContainer:H||le,treeMotion:null,dropdownClassName:Ie,dropdownStyle:Object.assign(Object.assign({},re),{zIndex:Je}),choiceTransitionName:(0,c.m)(be,"",G),transitionName:(0,c.m)(be,"slide-up",V),treeExpandAction:Y,tagRender:Ee?ne:void 0,maxCount:ze,showCheckedStrategy:ie,treeCheckStrictly:ae}))))},M=n.forwardRef(z),P=(0,u.Z)(M,"dropdownAlign",(e=>(0,s.Z)(e,["visible"])));M.TreeNode=a.OF,M.SHOW_ALL=a.Qw,M.SHOW_PARENT=a.hT,M.SHOW_CHILD=a.FJ,M._InternalPanelDoNotUseOrYouWillBeFired=P;var L=M},18287:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(3741),o=r(94480),i=r(59301),a=r(52671),s=r(8657),l=r(54476),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},u=r(7657),d=function(e,t){return i.createElement(u.Z,(0,l.Z)({},e,{ref:t,icon:c}))};var h=i.forwardRef(d),p=r(92310),m=r.n(p),f=r(82661),g=r(34061),b=r(48755),v=r(56082),y=r(86641),w=r(57700),x=r(12425);var S=function(e){const{dropPosition:t,dropLevelOffset:r,prefixCls:n,indent:o,direction:a="ltr"}=e,s="ltr"===a?"left":"right",l={[s]:-r*o+4,["ltr"===a?"right":"left"]:0};switch(t){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[s]=o+4}return i.createElement("div",{style:l,className:`${n}-drop-indicator`})},k=r(85278);const C=i.forwardRef(((e,t)=>{var r;const{getPrefixCls:o,direction:a,virtual:s,tree:l}=i.useContext(b.E_),{prefixCls:c,className:u,showIcon:d=!1,showLine:h,switcherIcon:p,switcherLoadingIcon:f,blockNode:g=!1,children:C,checkable:$=!1,selectable:j=!0,draggable:O,motion:_,style:N}=e,A=o("tree",c),I=o(),E=null!=_?_:Object.assign(Object.assign({},(0,y.Z)(I)),{motionAppear:!1}),z=Object.assign(Object.assign({},e),{checkable:$,selectable:j,showIcon:d,motion:E,blockNode:g,showLine:Boolean(h),dropIndicatorRender:S}),[M,P,L]=(0,x.ZP)(A),[,B]=(0,w.ZP)(),T=B.paddingXS/2+((null===(r=B.Tree)||void 0===r?void 0:r.titleHeight)||B.controlHeightSM),R=i.useMemo((()=>{if(!O)return!1;let e={};switch(typeof O){case"function":e.nodeDraggable=O;break;case"object":e=Object.assign({},O)}return!1!==e.icon&&(e.icon=e.icon||i.createElement(v.Z,null)),e}),[O]);return M(i.createElement(n.ZP,Object.assign({itemHeight:T,ref:t,virtual:s},z,{style:Object.assign(Object.assign({},null==l?void 0:l.style),N),prefixCls:A,className:m()({[`${A}-icon-hide`]:!d,[`${A}-block-node`]:g,[`${A}-unselectable`]:!j,[`${A}-rtl`]:"rtl"===a},null==l?void 0:l.className,u,P,L),direction:a,checkable:$?i.createElement("span",{className:`${A}-checkbox-inner`}):$,selectable:j,switcherIcon:e=>i.createElement(k.Z,{prefixCls:A,switcherIcon:p,switcherLoadingIcon:f,treeNodeProps:e,showLine:h}),draggable:R}),C))}));var $=C;function j(e,t,r){const{key:n,children:o}=r;e.forEach((function(e){const i=e[n],a=e[o];!1!==t(i,e)&&j(a||[],t,r)}))}function O(e){let{treeData:t,expandedKeys:r,startKey:n,endKey:o,fieldNames:i}=e;const a=[];let s=0;if(n&&n===o)return[n];if(!n||!o)return[];return j(t,(e=>{if(2===s)return!1;if(function(e){return e===n||e===o}(e)){if(a.push(e),0===s)s=1;else if(1===s)return s=2,!1}else 1===s&&a.push(e);return r.includes(e)}),(0,g.w$)(i)),a}function _(e,t,r){const n=(0,o.Z)(t),i=[];return j(e,((e,t)=>{const r=n.indexOf(e);return-1!==r&&(i.push(t),n.splice(r,1)),!!n.length}),(0,g.w$)(r)),i}var N=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function A(e){const{isLeaf:t,expanded:r}=e;return t?i.createElement(a.Z,null):r?i.createElement(s.Z,null):i.createElement(h,null)}function I(e){let{treeData:t,children:r}=e;return t||(0,g.zn)(r)}const E=(e,t)=>{var{defaultExpandAll:r,defaultExpandParent:n,defaultExpandedKeys:a}=e,s=N(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const l=i.useRef(null),c=i.useRef(null),[u,d]=i.useState(s.selectedKeys||s.defaultSelectedKeys||[]),[h,p]=i.useState((()=>(()=>{const{keyEntities:e}=(0,g.I8)(I(s));let t;return t=r?Object.keys(e):n?(0,f.r7)(s.expandedKeys||a||[],e):s.expandedKeys||a||[],t})()));i.useEffect((()=>{"selectedKeys"in s&&d(s.selectedKeys)}),[s.selectedKeys]),i.useEffect((()=>{"expandedKeys"in s&&p(s.expandedKeys)}),[s.expandedKeys]);const{getPrefixCls:v,direction:y}=i.useContext(b.E_),{prefixCls:w,className:x,showIcon:S=!0,expandAction:k="click"}=s,C=N(s,["prefixCls","className","showIcon","expandAction"]),j=v("tree",w),E=m()(`${j}-directory`,{[`${j}-directory-rtl`]:"rtl"===y},x);return i.createElement($,Object.assign({icon:A,ref:t,blockNode:!0},C,{showIcon:S,expandAction:k,prefixCls:j,className:E,expandedKeys:h,selectedKeys:u,onSelect:(e,t)=>{var r;const{multiple:n,fieldNames:i}=s,{node:a,nativeEvent:u}=t,{key:p=""}=a,m=I(s),f=Object.assign(Object.assign({},t),{selected:!0}),g=(null==u?void 0:u.ctrlKey)||(null==u?void 0:u.metaKey),b=null==u?void 0:u.shiftKey;let v;n&&g?(v=e,l.current=p,c.current=v,f.selectedNodes=_(m,v,i)):n&&b?(v=Array.from(new Set([].concat((0,o.Z)(c.current||[]),(0,o.Z)(O({treeData:m,expandedKeys:h,startKey:p,endKey:l.current,fieldNames:i}))))),f.selectedNodes=_(m,v,i)):(v=[p],l.current=p,c.current=v,f.selectedNodes=_(m,v,i)),null===(r=s.onSelect)||void 0===r||r.call(s,v,f),"selectedKeys"in s||d(v)},onExpand:(e,t)=>{var r;return"expandedKeys"in s||p(e),null===(r=s.onExpand)||void 0===r?void 0:r.call(s,e,t)}}))};var z=i.forwardRef(E);const M=$;M.DirectoryTree=z,M.TreeNode=n.OF;var P=M},12425:function(e,t,r){"use strict";r.d(t,{ZP:function(){return g},Yk:function(){return m},TM:function(){return f}});var n=r(36237),o=r(36170),i=r(63356),a=r(34961),s=r(51636),l=r(16931);const c=e=>{let{treeCls:t,treeNodeCls:r,directoryNodeSelectedBg:n,directoryNodeSelectedColor:o,motionDurationMid:i,borderRadius:a,controlItemBgHover:s}=e;return{[`${t}${t}-directory ${r}`]:{[`${t}-node-content-wrapper`]:{position:"static",[`> *:not(${t}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${i}`,content:'""',borderRadius:a},"&:hover:before":{background:s}},[`${t}-switcher, ${t}-checkbox, ${t}-draggable-icon`]:{zIndex:1},"&-selected":{[`${t}-switcher, ${t}-draggable-icon`]:{color:o},[`${t}-node-content-wrapper`]:{color:o,background:"transparent","&:before, &:hover:before":{background:n}}}}}},u=new n.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),d=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),h=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,n.unit)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),p=(e,t)=>{const{treeCls:r,treeNodeCls:o,treeNodePadding:a,titleHeight:s,indentSize:l,nodeSelectedBg:c,nodeHoverBg:p,colorTextQuaternary:m,controlItemBgActiveDisabled:f}=t;return{[r]:Object.assign(Object.assign({},(0,i.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${r}-rtl ${r}-switcher_close ${r}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${r}-active-focused)`]:Object.assign({},(0,i.oN)(t)),[`${r}-list-holder-inner`]:{alignItems:"flex-start"},[`&${r}-block-node`]:{[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:u,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[o]:{display:"flex",alignItems:"flex-start",marginBottom:a,lineHeight:(0,n.unit)(s),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:a},[`&-disabled ${r}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${r}-checkbox-disabled + ${r}-node-selected,&${o}-disabled${o}-selected ${r}-node-content-wrapper`]:{backgroundColor:f},[`${r}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${o}-disabled)`]:{[`${r}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${r}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${o}-disabled).filter-node ${r}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${r}-draggable-icon`]:{flexShrink:0,width:s,textAlign:"center",visibility:"visible",color:m},[`&${o}-disabled ${r}-draggable-icon`]:{visibility:"hidden"}}},[`${r}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:l}},[`${r}-draggable-icon`]:{visibility:"hidden"},[`${r}-switcher, ${r}-checkbox`]:{marginInlineEnd:t.calc(t.calc(s).sub(t.controlInteractiveSize)).div(2).equal()},[`${r}-switcher`]:Object.assign(Object.assign({},d(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:s,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:s,height:s,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${r}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${r}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(s).div(2).equal()).mul(.8).equal(),height:t.calc(s).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${r}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:s,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},h(e,t)),{"&:hover":{backgroundColor:p},[`&${r}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:c},[`${r}-iconEle`]:{display:"inline-block",width:s,height:s,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${r}-unselectable ${r}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${o}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${r}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${r}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last ${r}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,n.unit)(t.calc(s).div(2).equal())} !important`}})}},m=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=`.${e}`,o=`${n}-treenode`,i=t.calc(t.paddingXS).div(2).equal(),a=(0,s.mergeToken)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:i});return[p(e,a),r&&c(a)].filter(Boolean)},f=e=>{const{controlHeightSM:t,controlItemBgHover:r,controlItemBgActive:n}=e;return{titleHeight:t,indentSize:t,nodeHoverBg:r,nodeHoverColor:e.colorText,nodeSelectedBg:n,nodeSelectedColor:e.colorText}};var g=(0,l.I$)("Tree",((e,t)=>{let{prefixCls:r}=t;return[{[e.componentCls]:(0,o.C2)(`${r}-checkbox`,e)},m(r,e),(0,a.Z)(e)]}),(e=>{const{colorTextLightSolid:t,colorPrimary:r}=e;return Object.assign(Object.assign({},f(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:r})}))},85278:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(59301),o=r(54476),i={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"},a=r(7657),s=function(e,t){return n.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))};var l=n.forwardRef(s),c=r(52671),u=r(58617),d=r(15075),h=r(43531),p=r(92310),m=r.n(p),f=r(22703);var g=e=>{const{prefixCls:t,switcherIcon:r,treeNodeProps:o,showLine:i,switcherLoadingIcon:a}=e,{isLeaf:s,expanded:p,loading:g}=o;if(g)return n.isValidElement(a)?a:n.createElement(u.Z,{className:`${t}-switcher-loading-icon`});let b;if(i&&"object"==typeof i&&(b=i.showLeafIcon),s){if(!i)return null;if("boolean"!=typeof b&&b){const e="function"==typeof b?b(o):b,r=`${t}-switcher-line-custom-icon`;return n.isValidElement(e)?(0,f.Tm)(e,{className:m()(e.props.className||"",r)}):e}return b?n.createElement(c.Z,{className:`${t}-switcher-line-icon`}):n.createElement("span",{className:`${t}-switcher-leaf-line`})}const v=`${t}-switcher-icon`,y="function"==typeof r?r(o):r;return n.isValidElement(y)?(0,f.Tm)(y,{className:m()(y.props.className||"",v)}):void 0!==y?y:i?p?n.createElement(d.Z,{className:`${t}-switcher-line-icon`}):n.createElement(h.Z,{className:`${t}-switcher-line-icon`}):n.createElement(l,{className:v})}},530:function(e,t,r){"use strict";r.d(t,{Z:function(){return $e}});var n=r(59301),o=r(54476),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},a=r(7657),s=function(e,t){return n.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))};var l=n.forwardRef(s),c=r(92310),u=r.n(c),d=r(29301),h=r(11592),p=r(34280),m=r(18929),f=r(2738),g=r(8654),b=r(24514),v=r(48755),y=r(9017),w=r(25399),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},S=function(e,t){return n.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:x}))};var k=n.forwardRef(S),C=r(10228),$=r(22703),j=r(79809),O=r(63356),_=r(16931),N=r(68361),A=r(36237);const I=e=>{const t={};return[1,2,3,4,5].forEach((r=>{t[`\n h${r}&,\n div&-h${r},\n div&-h${r} > textarea,\n h${r}\n `]=((e,t,r,n)=>{const{titleMarginBottom:o,fontWeightStrong:i}=n;return{marginBottom:o,color:r,fontWeight:i,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)})),t},E=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,O.Nd)(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},z=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:N.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),M=e=>{const{componentCls:t,paddingSM:r}=e,n=r;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${(0,A.unit)(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},P=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),L=e=>{const{componentCls:t,titleMarginTop:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger`]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},I(e)),{[`\n & + h1${t},\n & + h2${t},\n & + h3${t},\n & + h4${t},\n & + h5${t}\n `]:{marginTop:r},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:r}}}),z(e)),E(e)),{[`\n ${t}-expand,\n ${t}-collapse,\n ${t}-edit,\n ${t}-copy\n `]:Object.assign(Object.assign({},(0,O.Nd)(e)),{marginInlineStart:e.marginXXS})}),M(e)),P(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}};var B=(0,_.I$)("Typography",(e=>[L(e)]),(()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})));var T=e=>{const{prefixCls:t,"aria-label":r,className:o,style:i,direction:a,maxLength:s,autoSize:l=!0,value:c,onSave:d,onCancel:h,onEnd:p,component:m,enterIcon:f=n.createElement(k,null)}=e,g=n.useRef(null),b=n.useRef(!1),v=n.useRef(null),[y,w]=n.useState(c);n.useEffect((()=>{w(c)}),[c]),n.useEffect((()=>{var e;if(null===(e=g.current)||void 0===e?void 0:e.resizableTextArea){const{textArea:e}=g.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}}),[]);const x=()=>{d(y.trim())},[S,O,_]=B(t),N=u()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a,[`${t}-${m}`]:!!m},o,O,_);return S(n.createElement("div",{className:N,style:i},n.createElement(j.Z,{ref:g,maxLength:s,value:y,onChange:e=>{let{target:t}=e;w(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;b.current||(v.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:r,altKey:n,metaKey:o,shiftKey:i}=e;v.current!==t||b.current||r||n||o||i||(t===C.Z.ENTER?(x(),null==p||p()):t===C.Z.ESC&&h())},onCompositionStart:()=>{b.current=!0},onCompositionEnd:()=>{b.current=!1},onBlur:()=>{x()},"aria-label":r,rows:1,autoSize:l}),null!==f?(0,$.Tm)(f,{className:`${t}-edit-content-confirm`}):null))},R=r(25769),F=r.n(R),D=r(6089);var q=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&null==e?[]:Array.isArray(e)?e:[e]},H=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};var W=e=>{let{copyConfig:t,children:r}=e;const[o,i]=n.useState(!1),[a,s]=n.useState(!1),l=n.useRef(null),c=()=>{l.current&&clearTimeout(l.current)},u={};t.format&&(u.format=t.format),n.useEffect((()=>c),[]);return{copied:o,copyLoading:a,onClick:(0,D.Z)((e=>H(void 0,void 0,void 0,(function*(){var n;null==e||e.preventDefault(),null==e||e.stopPropagation(),s(!0);try{const o="function"==typeof t.text?yield t.text():t.text;F()(o||q(r,!0).join("")||"",u),s(!1),i(!0),c(),l.current=setTimeout((()=>{i(!1)}),3e3),null===(n=t.onCopy)||void 0===n||n.call(t,e)}catch(e){throw s(!1),e}}))))}};function Z(e,t){return n.useMemo((()=>{const r=!!e;return[r,Object.assign(Object.assign({},t),r&&"object"==typeof e?e:null)]}),[e])}var U=e=>{const t=(0,n.useRef)(void 0);return(0,n.useEffect)((()=>{t.current=e})),t.current};var V=(e,t,r)=>(0,n.useMemo)((()=>!0===e?{title:null!=t?t:r}:(0,n.isValidElement)(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=t?t:r},e):{title:e}),[e,t,r]),G=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const X=n.forwardRef(((e,t)=>{const{prefixCls:r,component:o="article",className:i,rootClassName:a,setContentRef:s,children:l,direction:c,style:d}=e,h=G(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:m,className:f,style:b}=(0,v.dj)("typography"),y=null!=c?c:m,w=s?(0,g.sQ)(t,s):t,x=p("typography",r);const[S,k,C]=B(x),$=u()(x,f,{[`${x}-rtl`]:"rtl"===y},i,a,k,C),j=Object.assign(Object.assign({},b),d);return S(n.createElement(o,Object.assign({className:$,style:j,ref:w},h),l))}));var Y=X,K=r(40001),J=r(81953),Q=r(58617);function ee(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function te(e,t,r){return!0===e||void 0===e?t:e||r&&t}const re=e=>["string","number"].includes(typeof e);var ne=e=>{let{prefixCls:t,copied:r,locale:o,iconOnly:i,tooltips:a,icon:s,tabIndex:l,onCopy:c,loading:d}=e;const h=ee(a),p=ee(s),{copied:m,copy:f}=null!=o?o:{},g=r?m:f,b=te(h[r?1:0],g),v="string"==typeof b?b:g;return n.createElement(w.Z,{title:b},n.createElement("button",{type:"button",className:u()(`${t}-copy`,{[`${t}-copy-success`]:r,[`${t}-copy-icon-only`]:i}),onClick:c,"aria-label":v,tabIndex:l},r?te(p[1],n.createElement(K.Z,null),!0):te(p[0],d?n.createElement(Q.Z,null):n.createElement(J.Z,null),!0)))},oe=r(94480);const ie=n.forwardRef(((e,t)=>{let{style:r,children:o}=e;const i=n.useRef(null);return n.useImperativeHandle(t,(()=>({isExceed:()=>{const e=i.current;return e.scrollHeight>e.clientHeight},getHeight:()=>i.current.clientHeight}))),n.createElement("span",{"aria-hidden":!0,ref:i,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},r)},o)}));function ae(e,t){let r=0;const n=[];for(let o=0;o<e.length;o+=1){if(r===t)return n;const i=e[o],a=r+(re(i)?String(i).length:1);if(a>t){const e=t-r;return n.push(String(i).slice(0,e)),n}n.push(i),r=a}return e}const se=0,le=4,ce={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function ue(e){const{enableMeasure:t,width:r,text:o,children:i,rows:a,expanded:s,miscDeps:l,onEllipsis:c}=e,u=n.useMemo((()=>(0,h.Z)(o)),[o]),d=n.useMemo((()=>(e=>e.reduce(((e,t)=>e+(re(t)?String(t).length:1)),0))(u)),[o]),m=n.useMemo((()=>i(u,!1)),[o]),[f,g]=n.useState(null),b=n.useRef(null),v=n.useRef(null),y=n.useRef(null),w=n.useRef(null),x=n.useRef(null),[S,k]=n.useState(!1),[C,$]=n.useState(se),[j,O]=n.useState(0),[_,N]=n.useState(null);(0,p.Z)((()=>{$(t&&r&&d?1:se)}),[r,o,a,t,u]),(0,p.Z)((()=>{var e,t,r,n;if(1===C){$(2);const e=v.current&&getComputedStyle(v.current).whiteSpace;N(e)}else if(2===C){const o=!!(null===(e=y.current)||void 0===e?void 0:e.isExceed());$(o?3:le),g(o?[0,d]:null),k(o);const i=(null===(t=y.current)||void 0===t?void 0:t.getHeight())||0,s=1===a?0:(null===(r=w.current)||void 0===r?void 0:r.getHeight())||0,l=(null===(n=x.current)||void 0===n?void 0:n.getHeight())||0,u=Math.max(i,s+l);O(u+1),c(o)}}),[C]);const A=f?Math.ceil((f[0]+f[1])/2):0;(0,p.Z)((()=>{var e;const[t,r]=f||[0,0];if(t!==r){const n=((null===(e=b.current)||void 0===e?void 0:e.getHeight())||0)>j;let o=A;r-t==1&&(o=n?t:r),g(n?[t,o]:[o,r])}}),[f,A]);const I=n.useMemo((()=>{if(!t)return i(u,!1);if(3!==C||!f||f[0]!==f[1]){const e=i(u,!1);return[le,se].includes(C)?e:n.createElement("span",{style:Object.assign(Object.assign({},ce),{WebkitLineClamp:a})},e)}return i(s?u:ae(u,f[0]),S)}),[s,C,f,u].concat((0,oe.Z)(l))),E={width:r,margin:0,padding:0,whiteSpace:"nowrap"===_?"normal":"inherit"};return n.createElement(n.Fragment,null,I,2===C&&n.createElement(n.Fragment,null,n.createElement(ie,{style:Object.assign(Object.assign(Object.assign({},E),ce),{WebkitLineClamp:a}),ref:y},m),n.createElement(ie,{style:Object.assign(Object.assign(Object.assign({},E),ce),{WebkitLineClamp:a-1}),ref:w},m),n.createElement(ie,{style:Object.assign(Object.assign(Object.assign({},E),ce),{WebkitLineClamp:1}),ref:x},i([],!0))),3===C&&f&&f[0]!==f[1]&&n.createElement(ie,{style:Object.assign(Object.assign({},E),{top:400}),ref:b},i(ae(u,A),!0)),1===C&&n.createElement("span",{style:{whiteSpace:"inherit"},ref:v}))}var de=e=>{let{enableEllipsis:t,isEllipsis:r,children:o,tooltipProps:i}=e;return(null==i?void 0:i.title)&&t?n.createElement(w.Z,Object.assign({open:!!r&&void 0},i),o):o},he=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const pe=n.forwardRef(((e,t)=>{var r;const{prefixCls:o,className:i,style:a,type:s,disabled:c,children:x,ellipsis:S,editable:k,copyable:C,component:$,title:j}=e,O=he(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:_,direction:N}=n.useContext(v.E_),[A]=(0,y.Z)("Text"),I=n.useRef(null),E=n.useRef(null),z=_("typography",o),M=(0,f.Z)(O,["mark","code","delete","underline","strong","keyboard","italic"]),[P,L]=Z(k),[B,R]=(0,m.Z)(!1,{value:L.editing}),{triggerType:F=["icon"]}=L,D=e=>{var t;e&&(null===(t=L.onStart)||void 0===t||t.call(L)),R(e)},q=U(B);(0,p.Z)((()=>{var e;!B&&q&&(null===(e=E.current)||void 0===e||e.focus())}),[B]);const H=e=>{null==e||e.preventDefault(),D(!0)},G=e=>{var t;null===(t=L.onChange)||void 0===t||t.call(L,e),D(!1)},X=()=>{var e;null===(e=L.onCancel)||void 0===e||e.call(L),D(!1)},[K,J]=Z(C),{copied:Q,copyLoading:ee,onClick:te}=W({copyConfig:J,children:x}),[oe,ie]=n.useState(!1),[ae,se]=n.useState(!1),[le,ce]=n.useState(!1),[pe,me]=n.useState(!1),[fe,ge]=n.useState(!0),[be,ve]=Z(S,{expandable:!1,symbol:e=>e?null==A?void 0:A.collapse:null==A?void 0:A.expand}),[ye,we]=(0,m.Z)(ve.defaultExpanded||!1,{value:ve.expanded}),xe=be&&(!ye||"collapsible"===ve.expandable),{rows:Se=1}=ve,ke=n.useMemo((()=>xe&&(void 0!==ve.suffix||ve.onEllipsis||ve.expandable||P||K)),[xe,ve,P,K]);(0,p.Z)((()=>{be&&!ke&&(ie((0,b.G)("webkitLineClamp")),se((0,b.G)("textOverflow")))}),[ke,be]);const[Ce,$e]=n.useState(xe),je=n.useMemo((()=>!ke&&(1===Se?ae:oe)),[ke,ae,oe]);(0,p.Z)((()=>{$e(je&&xe)}),[je,xe]);const Oe=xe&&(Ce?pe:le),_e=xe&&1===Se&&Ce,Ne=xe&&Se>1&&Ce,[Ae,Ie]=n.useState(0),Ee=e=>{var t;ce(e),le!==e&&(null===(t=ve.onEllipsis)||void 0===t||t.call(ve,e))};n.useEffect((()=>{const e=I.current;if(be&&Ce&&e){const t=function(e){const t=document.createElement("em");e.appendChild(t);const r=e.getBoundingClientRect(),n=t.getBoundingClientRect();return e.removeChild(t),r.left>n.left||n.right>r.right||r.top>n.top||n.bottom>r.bottom}(e);pe!==t&&me(t)}}),[be,Ce,x,Ne,fe,Ae]),n.useEffect((()=>{const e=I.current;if("undefined"==typeof IntersectionObserver||!e||!Ce||!xe)return;const t=new IntersectionObserver((()=>{ge(!!e.offsetParent)}));return t.observe(e),()=>{t.disconnect()}}),[Ce,xe]);const ze=V(ve.tooltip,L.text,x),Me=n.useMemo((()=>{if(be&&!Ce)return[L.text,x,j,ze.title].find(re)}),[be,Ce,j,ze.title,Oe]);if(B)return n.createElement(T,{value:null!==(r=L.text)&&void 0!==r?r:"string"==typeof x?x:"",onSave:G,onCancel:X,onEnd:L.onEnd,prefixCls:z,className:i,style:a,direction:N,component:$,maxLength:L.maxLength,autoSize:L.autoSize,enterIcon:L.enterIcon});const Pe=()=>{const{expandable:e,symbol:t}=ve;return e?n.createElement("button",{type:"button",key:"expand",className:`${z}-${ye?"collapse":"expand"}`,onClick:e=>((e,t)=>{var r;we(t.expanded),null===(r=ve.onExpand)||void 0===r||r.call(ve,e,t)})(e,{expanded:!ye}),"aria-label":ye?A.collapse:null==A?void 0:A.expand},"function"==typeof t?t(ye):t):null},Le=()=>{if(!P)return;const{icon:e,tooltip:t,tabIndex:r}=L,o=(0,h.Z)(t)[0]||(null==A?void 0:A.edit),i="string"==typeof o?o:"";return F.includes("icon")?n.createElement(w.Z,{key:"edit",title:!1===t?"":o},n.createElement("button",{type:"button",ref:E,className:`${z}-edit`,onClick:H,"aria-label":i,tabIndex:r},e||n.createElement(l,{role:"button"}))):null},Be=e=>[e&&Pe(),Le(),K?n.createElement(ne,Object.assign({key:"copy"},J,{prefixCls:z,copied:Q,locale:A,onCopy:te,loading:ee,iconOnly:null==x})):null];return n.createElement(d.Z,{onResize:e=>{let{offsetWidth:t}=e;Ie(t)},disabled:!xe},(r=>n.createElement(de,{tooltipProps:ze,enableEllipsis:xe,isEllipsis:Oe},n.createElement(Y,Object.assign({className:u()({[`${z}-${s}`]:s,[`${z}-disabled`]:c,[`${z}-ellipsis`]:be,[`${z}-ellipsis-single-line`]:_e,[`${z}-ellipsis-multiple-line`]:Ne},i),prefixCls:o,style:Object.assign(Object.assign({},a),{WebkitLineClamp:Ne?Se:void 0}),component:$,ref:(0,g.sQ)(r,I,t),direction:N,onClick:F.includes("text")?H:void 0,"aria-label":null==Me?void 0:Me.toString(),title:j},M),n.createElement(ue,{enableMeasure:xe&&!Ce,text:x,rows:Se,width:Ae,onEllipsis:Ee,expanded:ye,miscDeps:[Q,ye,ee,P,K,A]},((t,r)=>function(e,t){let{mark:r,code:o,underline:i,delete:a,strong:s,keyboard:l,italic:c}=e,u=t;function d(e,t){t&&(u=n.createElement(e,{},u))}return d("strong",s),d("u",i),d("del",a),d("code",o),d("mark",r),d("kbd",l),d("i",c),u}(e,n.createElement(n.Fragment,null,t.length>0&&r&&!ye&&Me?n.createElement("span",{key:"show-content","aria-hidden":!0},t):t,(e=>[e&&!ye&&n.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ve.suffix,Be(e)])(r)))))))))}));var me=pe,fe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var ge=n.forwardRef(((e,t)=>{var{ellipsis:r,rel:o}=e,i=fe(e,["ellipsis","rel"]);const a=Object.assign(Object.assign({},i),{rel:void 0===o&&"_blank"===i.target?"noopener noreferrer":o});return delete a.navigate,n.createElement(me,Object.assign({},a,{ref:t,ellipsis:!!r,component:"a"}))}));var be=n.forwardRef(((e,t)=>n.createElement(me,Object.assign({ref:t},e,{component:"div"})))),ve=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const ye=(e,t)=>{var{ellipsis:r}=e,o=ve(e,["ellipsis"]);const i=n.useMemo((()=>r&&"object"==typeof r?(0,f.Z)(r,["expandable","rows"]):r),[r]);return n.createElement(me,Object.assign({ref:t},o,{ellipsis:i,component:"span"}))};var we=n.forwardRef(ye),xe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const Se=[1,2,3,4,5];var ke=n.forwardRef(((e,t)=>{const{level:r=1}=e,o=xe(e,["level"]);const i=Se.includes(r)?`h${r}`:"h1";return n.createElement(me,Object.assign({ref:t},o,{component:i}))}));const Ce=Y;Ce.Text=we,Ce.Link=ge,Ce.Title=ke,Ce.Paragraph=be;var $e=Ce},14566:function(e,t,r){"use strict";r.d(t,{Z:function(){return be}});var n=r(59301),o=r(94480),i=r(4676),a=r(92310),s=r.n(a),l=r(90472),c=r(18929),u=r(48755),d=r(2171),h=r(9017),p=r(85981),m=r(63356),f=r(34961),g=r(16931),b=r(51636),v=r(36237);var y=e=>{const{componentCls:t,iconCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,v.unit)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${(0,v.unit)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`\n &:not(${t}-disabled):hover,\n &-hover:not(${t}-disabled)\n `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[r]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,v.unit)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${r},\n p${t}-text,\n p${t}-hint\n `]:{color:e.colorTextDisabled}}}}}};var w=e=>{const{componentCls:t,iconCls:r,fontSize:n,lineHeight:o,calc:i}=e,a=`${t}-list-item`,s=`${a}-actions`,l=`${a}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,m.dF)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:i(e.lineHeight).mul(n).equal(),marginTop:e.marginXS,fontSize:n,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},m.vS),{padding:`0 ${(0,v.unit)(e.paddingXS)}`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{whiteSpace:"nowrap",[l]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`\n ${l}:focus-visible,\n &.picture ${l}\n `]:{opacity:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:n},[`${a}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:i(n).add(e.paddingXS).equal(),fontSize:n,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${l}`]:{opacity:1},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${r}`]:{color:e.colorError},[s]:{[`${r}, ${r}:hover`]:{color:e.colorError},[l]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},x=r(99495);var S=e=>{const{componentCls:t}=e,r=new v.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),n=new v.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),o=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${o}-appear, ${o}-enter, ${o}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${o}-appear, ${o}-enter`]:{animationName:r},[`${o}-leave`]:{animationName:n}}},{[`${t}-wrapper`]:(0,x.J$)(e)},r,n]},k=r(68361);const C=e=>{const{componentCls:t,iconCls:r,uploadThumbnailSize:n,uploadProgressOffset:o,calc:i}=e,a=`${t}-list`,s=`${a}-item`;return{[`${t}-wrapper`]:{[`\n ${a}${a}-picture,\n ${a}${a}-picture-card,\n ${a}${a}-picture-circle\n `]:{[s]:{position:"relative",height:i(n).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,v.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${s}-thumbnail`]:Object.assign(Object.assign({},m.vS),{width:n,height:n,lineHeight:(0,v.unit)(i(n).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[r]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${s}-progress`]:{bottom:o,width:`calc(100% - ${(0,v.unit)(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(n).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${r}`]:{[`svg path[fill='${k.blue[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${k.blue.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:"dashed",[`${s}-name`]:{marginBottom:o}}},[`${a}${a}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:"50%"}}}}},$=e=>{const{componentCls:t,iconCls:r,fontSizeLG:n,colorTextLightSolid:o,calc:i}=e,a=`${t}-list`,s=`${a}-item`,l=e.uploadPicCardSize;return{[`\n ${t}-wrapper${t}-picture-card-wrapper,\n ${t}-wrapper${t}-picture-circle-wrapper\n `]:Object.assign(Object.assign({},(0,m.dF)()),{display:"block",[`${t}${t}-select`]:{width:l,height:l,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,v.unit)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${a}-item-container`]:{display:"inline-block",width:l,height:l,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,v.unit)(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,v.unit)(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`\n ${r}-eye,\n ${r}-download,\n ${r}-delete\n `]:{zIndex:10,width:n,margin:`0 ${(0,v.unit)(e.marginXXS)}`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:o,"&:hover":{color:o},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,v.unit)(i(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${r}-eye, ${r}-download, ${r}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,v.unit)(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var j=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};const O=e=>{const{componentCls:t,colorTextDisabled:r}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,m.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-hidden`]:{display:"none"},[`${t}-disabled`]:{color:r,cursor:"not-allowed"}})}};var _=(0,g.I$)("Upload",(e=>{const{fontSizeHeading3:t,fontHeight:r,lineWidth:n,controlHeightLG:o,calc:i}=e,a=(0,b.mergeToken)(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(r).div(2)).add(n).equal(),uploadPicCardSize:i(o).mul(2.55).equal()});return[O(a),y(a),C(a),$(a),w(a),S(a),j(a),(0,f.Z)(a)]}),(e=>({actionsColor:e.colorTextDescription}))),N=r(54476),A={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"},I=r(7657),E=function(e,t){return n.createElement(I.Z,(0,N.Z)({},e,{ref:t,icon:A}))};var z=n.forwardRef(E),M=r(58617),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},L=function(e,t){return n.createElement(I.Z,(0,N.Z)({},e,{ref:t,icon:P}))};var B=n.forwardRef(L),T={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"},R=function(e,t){return n.createElement(I.Z,(0,N.Z)({},e,{ref:t,icon:T}))};var F=n.forwardRef(R),D=r(77900),q=r(2738),H=r(40192),W=r(86641),Z=r(22703),U=r(99571);function V(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function G(e,t){const r=(0,o.Z)(t),n=r.findIndex((t=>{let{uid:r}=t;return r===e.uid}));return-1===n?r.push(e):r[n]=e,r}function X(e,t){const r=void 0!==e.uid?"uid":"name";return t.filter((t=>t[r]===e[r]))[0]}const Y=e=>0===e.indexOf("image/"),K=e=>{if(e.type&&!e.thumbUrl)return Y(e.type);const t=e.thumbUrl||e.url||"",r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=e.split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r},J=200;function Q(e){return new Promise((t=>{if(!e.type||!Y(e.type))return void t("");const r=document.createElement("canvas");r.width=J,r.height=J,r.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(r);const n=r.getContext("2d"),o=new Image;if(o.onload=()=>{const{width:e,height:i}=o;let a=J,s=J,l=0,c=0;e>i?(s=i*(J/e),c=-(s-a)/2):(a=e*(J/i),l=-(a-s)/2),n.drawImage(o,l,c,a,s);const u=r.toDataURL();document.body.removeChild(r),window.URL.revokeObjectURL(o.src),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const r=new FileReader;r.onload=()=>{r.result&&t(r.result)},r.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)}))}var ee=r(26227),te=r(41464),re=r(15277),ne=r(60242),oe=r(25399);const ie=n.forwardRef(((e,t)=>{let{prefixCls:r,className:o,style:i,locale:a,listType:l,file:c,items:d,progress:h,iconRender:p,actionIconRender:m,itemRender:f,isImgUrl:g,showPreviewIcon:b,showRemoveIcon:v,showDownloadIcon:y,previewIcon:w,removeIcon:x,downloadIcon:S,extra:k,onPreview:C,onDownload:$,onClose:j}=e;var O,_;const{status:N}=c,[A,I]=n.useState(N);n.useEffect((()=>{"removed"!==N&&I(N)}),[N]);const[E,z]=n.useState(!1);n.useEffect((()=>{const e=setTimeout((()=>{z(!0)}),300);return()=>{clearTimeout(e)}}),[]);const M=p(c);let P=n.createElement("div",{className:`${r}-icon`},M);if("picture"===l||"picture-card"===l||"picture-circle"===l)if("uploading"===A||!c.thumbUrl&&!c.url){const e=s()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:"uploading"!==A});P=n.createElement("div",{className:e},M)}else{const e=(null==g?void 0:g(c))?n.createElement("img",{src:c.thumbUrl||c.url,alt:c.name,className:`${r}-list-item-image`,crossOrigin:c.crossOrigin}):M,t=s()(`${r}-list-item-thumbnail`,{[`${r}-list-item-file`]:g&&!g(c)});P=n.createElement("a",{className:t,onClick:e=>C(c,e),href:c.url||c.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}const L=s()(`${r}-list-item`,`${r}-list-item-${A}`),B="string"==typeof c.linkProps?JSON.parse(c.linkProps):c.linkProps,T=("function"==typeof v?v(c):v)?m(("function"==typeof x?x(c):x)||n.createElement(ee.Z,null),(()=>j(c)),r,a.removeFile,!0):null,R=("function"==typeof y?y(c):y)&&"done"===A?m(("function"==typeof S?S(c):S)||n.createElement(te.Z,null),(()=>$(c)),r,a.downloadFile):null,F="picture-card"!==l&&"picture-circle"!==l&&n.createElement("span",{key:"download-delete",className:s()(`${r}-list-item-actions`,{picture:"picture"===l})},R,T),q="function"==typeof k?k(c):k,H=q&&n.createElement("span",{className:`${r}-list-item-extra`},q),W=s()(`${r}-list-item-name`),Z=c.url?n.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:W,title:c.name},B,{href:c.url,onClick:e=>C(c,e)}),c.name,H):n.createElement("span",{key:"view",className:W,onClick:e=>C(c,e),title:c.name},c.name,H),U=("function"==typeof b?b(c):b)&&(c.url||c.thumbUrl)?n.createElement("a",{href:c.url||c.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>C(c,e),title:a.previewFile},"function"==typeof w?w(c):w||n.createElement(re.Z,null)):null,V=("picture-card"===l||"picture-circle"===l)&&"uploading"!==A&&n.createElement("span",{className:`${r}-list-item-actions`},U,"done"===A&&R,T),{getPrefixCls:G}=n.useContext(u.E_),X=G(),Y=n.createElement("div",{className:L},P,Z,F,V,E&&n.createElement(D.default,{motionName:`${X}-fade`,visible:"uploading"===A,motionDeadline:2e3},(e=>{let{className:t}=e;const o="percent"in c?n.createElement(ne.Z,Object.assign({},h,{type:"line",percent:c.percent,"aria-label":c["aria-label"],"aria-labelledby":c["aria-labelledby"]})):null;return n.createElement("div",{className:s()(`${r}-list-item-progress`,t)},o)}))),K=c.response&&"string"==typeof c.response?c.response:(null===(O=c.error)||void 0===O?void 0:O.statusText)||(null===(_=c.error)||void 0===_?void 0:_.message)||a.uploadError,J="error"===A?n.createElement(oe.Z,{title:K,getPopupContainer:e=>e.parentNode},Y):Y;return n.createElement("div",{className:s()(`${r}-list-item-container`,o),style:i,ref:t},f?f(J,c,d,{download:$.bind(null,c),preview:C.bind(null,c),remove:j.bind(null,c)}):J)}));var ae=ie;const se=(e,t)=>{const{listType:r="text",previewFile:i=Q,onPreview:a,onDownload:l,onRemove:c,locale:d,iconRender:h,isImageUrl:p=K,prefixCls:m,items:f=[],showPreviewIcon:g=!0,showRemoveIcon:b=!0,showDownloadIcon:v=!1,removeIcon:y,previewIcon:w,downloadIcon:x,extra:S,progress:k={size:[-1,2],showInfo:!1},appendAction:C,appendActionVisible:$=!0,itemRender:j,disabled:O}=e,_=(0,H.Z)(),[N,A]=n.useState(!1),I=["picture-card","picture-circle"].includes(r);n.useEffect((()=>{r.startsWith("picture")&&(f||[]).forEach((e=>{(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",null==i||i(e.originFileObj).then((t=>{e.thumbUrl=t||"",_()})))}))}),[r,f,i]),n.useEffect((()=>{A(!0)}),[]);const E=(e,t)=>{if(a)return null==t||t.preventDefault(),a(e)},P=e=>{"function"==typeof l?l(e):e.url&&window.open(e.url)},L=e=>{null==c||c(e)},T=e=>{if(h)return h(e,r);const t="uploading"===e.status;if(r.startsWith("picture")){const o="picture"===r?n.createElement(M.Z,null):d.uploading,i=(null==p?void 0:p(e))?n.createElement(F,null):n.createElement(z,null);return t?o:i}return t?n.createElement(M.Z,null):n.createElement(B,null)},R=(e,t,r,o,i)=>{const a={type:"text",size:"small",title:o,onClick:r=>{var o,i;t(),n.isValidElement(e)&&(null===(i=(o=e.props).onClick)||void 0===i||i.call(o,r))},className:`${r}-list-item-action`};return i&&(a.disabled=O),n.isValidElement(e)?n.createElement(U.ZP,Object.assign({},a,{icon:(0,Z.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}))})):n.createElement(U.ZP,Object.assign({},a),n.createElement("span",null,e))};n.useImperativeHandle(t,(()=>({handlePreview:E,handleDownload:P})));const{getPrefixCls:V}=n.useContext(u.E_),G=V("upload",m),X=V(),Y=s()(`${G}-list`,`${G}-list-${r}`),J=n.useMemo((()=>(0,q.Z)((0,W.Z)(X),["onAppearEnd","onEnterEnd","onLeaveEnd"])),[X]),ee=Object.assign(Object.assign({},I?{}:J),{motionDeadline:2e3,motionName:`${G}-${I?"animate-inline":"animate"}`,keys:(0,o.Z)(f.map((e=>({key:e.uid,file:e})))),motionAppear:N});return n.createElement("div",{className:Y},n.createElement(D.CSSMotionList,Object.assign({},ee,{component:!1}),(e=>{let{key:t,file:o,className:i,style:a}=e;return n.createElement(ae,{key:t,locale:d,prefixCls:G,className:i,style:a,file:o,items:f,progress:k,listType:r,isImgUrl:p,showPreviewIcon:g,showRemoveIcon:b,showDownloadIcon:v,removeIcon:y,previewIcon:w,downloadIcon:x,extra:S,iconRender:T,actionIconRender:R,itemRender:j,onPreview:E,onDownload:P,onClose:L})})),C&&n.createElement(D.default,Object.assign({},ee,{visible:$,forceRender:!0}),(e=>{let{className:t,style:r}=e;return(0,Z.Tm)(C,(e=>({className:s()(e.className,t),style:Object.assign(Object.assign(Object.assign({},r),{pointerEvents:t?"none":void 0}),e.style)})))})))};var le=n.forwardRef(se),ce=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))};const ue=`__LIST_IGNORE_${Date.now()}__`,de=(e,t)=>{const{fileList:r,defaultFileList:a,onRemove:m,showUploadList:f=!0,listType:g="text",onPreview:b,onDownload:v,onChange:y,onDrop:w,previewFile:x,disabled:S,locale:k,iconRender:C,isImageUrl:$,progress:j,prefixCls:O,className:N,type:A="select",children:I,style:E,itemRender:z,maxCount:M,data:P={},multiple:L=!1,hasControlInside:B=!0,action:T="",accept:R="",supportServerRender:F=!0,rootClassName:D}=e,q=n.useContext(d.Z),H=null!=S?S:q,[W,Z]=(0,c.Z)(a||[],{value:r,postState:e=>null!=e?e:[]}),[U,Y]=n.useState("drop"),K=n.useRef(null),J=n.useRef(null);n.useMemo((()=>{const e=Date.now();(r||[]).forEach(((t,r)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${r}__`)}))}),[r]);const Q=(e,t,r)=>{let n=(0,o.Z)(t),a=!1;1===M?n=n.slice(-1):M&&(a=n.length>M,n=n.slice(0,M)),(0,i.flushSync)((()=>{Z(n)}));const s={file:e,fileList:n};r&&(s.event=r),a&&"removed"!==e.status&&!n.some((t=>t.uid===e.uid))||(0,i.flushSync)((()=>{null==y||y(s)}))},ee=e=>{const t=e.filter((e=>!e.file[ue]));if(!t.length)return;const r=t.map((e=>V(e.file)));let n=(0,o.Z)(W);r.forEach((e=>{n=G(e,n)})),r.forEach(((e,r)=>{let o=e;if(t[r].parsedFile)e.status="uploading";else{const{originFileObj:t}=e;let r;try{r=new File([t],t.name,{type:t.type})}catch(e){r=new Blob([t],{type:t.type}),r.name=t.name,r.lastModifiedDate=new Date,r.lastModified=(new Date).getTime()}r.uid=e.uid,o=r}Q(o,n)}))},te=(e,t,r)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!X(t,W))return;const n=V(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;const o=G(n,W);Q(n,o)},re=(e,t)=>{if(!X(t,W))return;const r=V(t);r.status="uploading",r.percent=e.percent;const n=G(r,W);Q(r,n,e)},ne=(e,t,r)=>{if(!X(r,W))return;const n=V(r);n.error=e,n.response=t,n.status="error";const o=G(n,W);Q(n,o)},oe=e=>{let t;Promise.resolve("function"==typeof m?m(e):m).then((r=>{var n;if(!1===r)return;const o=function(e,t){const r=void 0!==e.uid?"uid":"name",n=t.filter((t=>t[r]!==e[r]));return n.length===t.length?null:n}(e,W);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==W||W.forEach((e=>{const r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")})),null===(n=K.current)||void 0===n||n.abort(t),Q(t,o))}))},ie=e=>{Y(e.type),"drop"===e.type&&(null==w||w(e))};n.useImperativeHandle(t,(()=>({onBatchStart:ee,onSuccess:te,onProgress:re,onError:ne,fileList:W,upload:K.current,nativeElement:J.current})));const{getPrefixCls:ae,direction:se,upload:de}=n.useContext(u.E_),he=ae("upload",O),pe=Object.assign(Object.assign({onBatchStart:ee,onError:ne,onProgress:re,onSuccess:te},e),{data:P,multiple:L,action:T,accept:R,supportServerRender:F,prefixCls:he,disabled:H,beforeUpload:(t,r)=>ce(void 0,void 0,void 0,(function*(){const{beforeUpload:n,transformFile:o}=e;let i=t;if(n){const e=yield n(t,r);if(!1===e)return!1;if(delete t[ue],e===ue)return Object.defineProperty(t,ue,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i})),onChange:void 0,hasControlInside:B});delete pe.className,delete pe.style,I&&!H||delete pe.id;const me=`${he}-wrapper`,[fe,ge,be]=_(he,me),[ve]=(0,h.Z)("Upload",p.Z.Upload),{showRemoveIcon:ye,showPreviewIcon:we,showDownloadIcon:xe,removeIcon:Se,previewIcon:ke,downloadIcon:Ce,extra:$e}="boolean"==typeof f?{}:f,je=void 0===ye?!H:ye,Oe=(e,t)=>f?n.createElement(le,{prefixCls:he,listType:g,items:W,previewFile:x,onPreview:b,onDownload:v,onRemove:oe,showRemoveIcon:je,showPreviewIcon:we,showDownloadIcon:xe,removeIcon:Se,previewIcon:ke,downloadIcon:Ce,iconRender:C,extra:$e,locale:Object.assign(Object.assign({},ve),k),isImageUrl:$,progress:j,appendAction:e,appendActionVisible:t,itemRender:z,disabled:H}):e,_e=s()(me,N,D,ge,be,null==de?void 0:de.className,{[`${he}-rtl`]:"rtl"===se,[`${he}-picture-card-wrapper`]:"picture-card"===g,[`${he}-picture-circle-wrapper`]:"picture-circle"===g}),Ne=Object.assign(Object.assign({},null==de?void 0:de.style),E);if("drag"===A){const e=s()(ge,he,`${he}-drag`,{[`${he}-drag-uploading`]:W.some((e=>"uploading"===e.status)),[`${he}-drag-hover`]:"dragover"===U,[`${he}-disabled`]:H,[`${he}-rtl`]:"rtl"===se});return fe(n.createElement("span",{className:_e,ref:J},n.createElement("div",{className:e,style:Ne,onDrop:ie,onDragOver:ie,onDragLeave:ie},n.createElement(l.Z,Object.assign({},pe,{ref:K,className:`${he}-btn`}),n.createElement("div",{className:`${he}-drag-container`},I))),Oe()))}const Ae=s()(he,`${he}-select`,{[`${he}-disabled`]:H,[`${he}-hidden`]:!I}),Ie=n.createElement("div",{className:Ae},n.createElement(l.Z,Object.assign({},pe,{ref:K})));return fe("picture-card"===g||"picture-circle"===g?n.createElement("span",{className:_e,ref:J},Oe(Ie,!!I)):n.createElement("span",{className:_e,ref:J},Ie,Oe()))};var he=n.forwardRef(de),pe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const me=n.forwardRef(((e,t)=>{var{style:r,height:o,hasControlInside:i=!1}=e,a=pe(e,["style","height","hasControlInside"]);return n.createElement(he,Object.assign({ref:t,hasControlInside:i},a,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))}));var fe=me;const ge=he;ge.Dragger=fe,ge.LIST_IGNORE=ue;var be=ge},44164:function(e,t,r){var n,o=r(97671);self,n=function(e,t){return function(){var n={"./src/plugin/hyperlinks.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/web.dom-collections.for-each.js"),r("./node_modules/core-js/modules/es.string.link.js");var n=r("./src/worker.js"),o=r("./src/utils.js"),i=[],a={toContainer:n.default.prototype.toContainer,toPdf:n.default.prototype.toPdf};n.default.prototype.toContainer=function(){return a.toContainer.call(this).then((function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),r=(0,o.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);i=[],Array.prototype.forEach.call(t,(function(e){for(var t=e.getClientRects(),n=0;n<t.length;n++){var a=(0,o.unitConvert)(t[n],this.prop.pageSize.k);a.left-=r.left,a.top-=r.top;var s=Math.floor(a.top/this.prop.pageSize.inner.height)+1,l=this.opt.margin[0]+a.top%this.prop.pageSize.inner.height,c=this.opt.margin[1]+a.left;i.push({page:s,top:l,left:c,clientRect:a,link:e})}}),this)}}))},n.default.prototype.toPdf=function(){return a.toPdf.call(this).then((function(){if(this.opt.enableLinks){i.forEach((function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})}),this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}}))}},"./src/plugin/jspdf-plugin.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/es.symbol.js"),r("./node_modules/core-js/modules/es.symbol.description.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.symbol.iterator.js"),r("./node_modules/core-js/modules/es.array.iterator.js"),r("./node_modules/core-js/modules/es.string.iterator.js"),r("./node_modules/core-js/modules/web.dom-collections.iterator.js");var n=r("jspdf");function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.jsPDF.getPageSize=function(e,t,r){if("object"===o(e)){var n=e;e=n.orientation,t=n.unit||t,r=n.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var i=(""+r).toLowerCase(),a={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(t){case"pt":var s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+t}if(a.hasOwnProperty(i))var l=a[i][1]/s,c=a[i][0]/s;else try{l=r[1],c=r[0]}catch(e){throw new Error("Invalid format: "+r)}if("p"===e||"portrait"===e){if(e="p",c>l){var u=c;c=l,l=u}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>c&&(u=c,c=l,l=u)}return{width:c,height:l,unit:t,k:s}},t.default=n.jsPDF},"./src/plugin/pagebreaks.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/es.array.concat.js"),r("./node_modules/core-js/modules/es.array.slice.js"),r("./node_modules/core-js/modules/es.array.join.js"),r("./node_modules/core-js/modules/web.dom-collections.for-each.js"),r("./node_modules/core-js/modules/es.object.keys.js");var n=r("./src/worker.js"),o=r("./src/utils.js"),i={toContainer:n.default.prototype.toContainer};n.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},n.default.prototype.toContainer=function(){return i.toContainer.call(this).then((function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,r=[].concat(this.opt.pagebreak.mode),n={avoidAll:-1!==r.indexOf("avoid-all"),css:-1!==r.indexOf("css"),legacy:-1!==r.indexOf("legacy")},i={},a=this;["before","after","avoid"].forEach((function(t){var r=n.avoidAll&&"avoid"===t;i[t]=r?[]:[].concat(a.opt.pagebreak[t]||[]),i[t].length>0&&(i[t]=Array.prototype.slice.call(e.querySelectorAll(i[t].join(", "))))}));var s=e.querySelectorAll(".html2pdf__page-break");s=Array.prototype.slice.call(s);var l=e.querySelectorAll("*");Array.prototype.forEach.call(l,(function(e){var r={before:!1,after:n.legacy&&-1!==s.indexOf(e),avoid:n.avoidAll};if(n.css){var a=window.getComputedStyle(e),l=["always","page","left","right"];r={before:r.before||-1!==l.indexOf(a.breakBefore||a.pageBreakBefore),after:r.after||-1!==l.indexOf(a.breakAfter||a.pageBreakAfter),avoid:r.avoid||-1!==["avoid","avoid-page"].indexOf(a.breakInside||a.pageBreakInside)}}Object.keys(r).forEach((function(t){r[t]=r[t]||-1!==i[t].indexOf(e)}));var c=e.getBoundingClientRect();if(r.avoid&&!r.before){var u=Math.floor(c.top/t),d=Math.floor(c.bottom/t),h=Math.abs(c.bottom-c.top)/t;d!==u&&h<=1&&(r.before=!0)}if(r.before){var p=(0,o.createElement)("div",{style:{display:"block",height:t-c.top%t+"px"}});e.parentNode.insertBefore(p,e)}r.after&&(p=(0,o.createElement)("div",{style:{display:"block",height:t-c.bottom%t+"px"}}),e.parentNode.insertBefore(p,e.nextSibling))}))}))}},"./src/utils.js":function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.r(t),r.d(t,{objType:function(){return o},createElement:function(){return i},cloneNode:function(){return a},unitConvert:function(){return s},toPx:function(){return l}}),r("./node_modules/core-js/modules/es.number.constructor.js"),r("./node_modules/core-js/modules/es.symbol.js"),r("./node_modules/core-js/modules/es.symbol.description.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.symbol.iterator.js"),r("./node_modules/core-js/modules/es.array.iterator.js"),r("./node_modules/core-js/modules/es.string.iterator.js"),r("./node_modules/core-js/modules/web.dom-collections.iterator.js");var o=function(e){var t=n(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var r=document.createElement(e);if(t.className&&(r.className=t.className),t.innerHTML){r.innerHTML=t.innerHTML;for(var n=r.getElementsByTagName("script"),o=n.length;o-- >0;null)n[o].parentNode.removeChild(n[o])}for(var i in t.style)r.style[i]=t.style[i];return r},a=function e(t,r){for(var n=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;o=o.nextSibling)!0!==r&&1===o.nodeType&&"SCRIPT"===o.nodeName||n.appendChild(e(o,r));return 1===t.nodeType&&("CANVAS"===t.nodeName?(n.width=t.width,n.height=t.height,n.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(n.value=t.value),n.addEventListener("load",(function(){n.scrollTop=t.scrollTop,n.scrollLeft=t.scrollLeft}),!0)),n},s=function(e,t){if("number"===o(e))return 72*e/96/t;var r={};for(var n in e)r[n]=72*e[n]/96/t;return r},l=function(e,t){return Math.floor(e*t/72*96)}},"./src/worker.js":function(e,t,r){"use strict";r.r(t),r("./node_modules/core-js/modules/es.object.assign.js"),r("./node_modules/core-js/modules/es.array.map.js"),r("./node_modules/core-js/modules/es.object.keys.js"),r("./node_modules/core-js/modules/es.array.concat.js"),r("./node_modules/core-js/modules/es.object.to-string.js"),r("./node_modules/core-js/modules/es.regexp.to-string.js"),r("./node_modules/core-js/modules/es.function.name.js"),r("./node_modules/core-js/modules/web.dom-collections.for-each.js");var n=r("jspdf"),o=r("html2canvas"),i=r("./src/utils.js"),a=r("./node_modules/es6-promise/dist/es6-promise.js"),s=r.n(a)().Promise,l=function e(t){var r=Object.assign(e.convert(s.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(s.resolve(),r);return n=(n=n.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(s.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.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:{}}},l.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch((0,i.objType)(e)){case"string":return"string";case"element":return e.nodeName.toLowerCase&&"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e),t){case"string":return this.set({src:(0,i.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},l.prototype.to=function(e){switch(e){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.")}},l.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 e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var r=(0,i.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,i.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,i.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(r),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)}))},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then((function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,o(this.prop.container,e)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},l.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e=this.prop.canvas,t=this.opt,r=e.height,o=Math.floor(e.width*this.prop.pageSize.inner.ratio),i=Math.ceil(r/o),a=this.prop.pageSize.inner.height,s=document.createElement("canvas"),l=s.getContext("2d");s.width=e.width,s.height=o,this.prop.pdf=this.prop.pdf||new n.jsPDF(t.jsPDF);for(var c=0;c<i;c++){c===i-1&&r%o!=0&&(s.height=r%o,a=s.height*this.prop.pageSize.inner.width/s.width);var u=s.width,d=s.height;l.fillStyle="white",l.fillRect(0,0,u,d),l.drawImage(e,0,c*o,u,d,0,0,u,d),c&&this.prop.pdf.addPage();var h=s.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(h,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,a)}}))},l.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},l.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){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 "'+e+'" is not supported.'}}))},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},l.prototype.set=function(e){if("object"!==(0,i.objType)(e))return this;var t=Object.keys(e||{}).map((function(t){switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return t in l.template.prop?function(){this.prop[t]=e[t]}:function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},l.prototype.get=function(e,t){return this.then((function(){var r=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(r):r}))},l.prototype.setMargin=function(e){return this.then((function(){switch((0,i.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},l.prototype.setPageSize=function(e){return this.then((function(){(e=e||n.jsPDF.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,i.toPx)(e.inner.width,e.k),height:(0,i.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},l.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},l.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,(function(e,t){return r.updateProgress(null,null,1,[e]),s.prototype.then.call(this,(function(t){return r.updateProgress(null,e),t})).then(e,t).then((function(e){return r.updateProgress(1),e}))}))},l.prototype.thenCore=function(e,t,r){r=r||s.prototype.then;var n=this;e&&(e=e.bind(n)),t&&(t=t.bind(n));var o=-1!==s.toString().indexOf("[native code]")&&"Promise"===s.name?n:l.convert(Object.assign({},n),s.prototype),i=r.call(o,e,t);return l.convert(i,n.__proto__)},l.prototype.thenExternal=function(e,t){return s.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=s.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return s.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,t.default=l},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,t,r){var n=r("./node_modules/core-js/internals/well-known-symbol.js"),o=r("./node_modules/core-js/internals/object-create.js"),i=r("./node_modules/core-js/internals/object-define-property.js"),a=n("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},"./node_modules/core-js/internals/an-object.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},"./node_modules/core-js/internals/array-for-each.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/array-iteration.js").forEach,o=r("./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-indexed-object.js"),o=r("./node_modules/core-js/internals/to-length.js"),i=r("./node_modules/core-js/internals/to-absolute-index.js"),a=function(e){return function(t,r,a){var s,l=n(t),c=o(l.length),u=i(a,c);if(e&&r!=r){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,t,r){var n=r("./node_modules/core-js/internals/function-bind-context.js"),o=r("./node_modules/core-js/internals/indexed-object.js"),i=r("./node_modules/core-js/internals/to-object.js"),a=r("./node_modules/core-js/internals/to-length.js"),s=r("./node_modules/core-js/internals/array-species-create.js"),l=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,u=4==e,d=6==e,h=7==e,p=5==e||d;return function(m,f,g,b){for(var v,y,w=i(m),x=o(w),S=n(f,g,3),k=a(x.length),C=0,$=b||s,j=t?$(m,k):r||h?$(m,0):void 0;k>C;C++)if((p||C in x)&&(y=S(v=x[C],C,w),e))if(t)j[C]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return C;case 2:l.call(j,v)}else switch(e){case 4:return!1;case 7:l.call(j,v)}return d?-1:c||u?u:j}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,t,r){var n=r("./node_modules/core-js/internals/fails.js"),o=r("./node_modules/core-js/internals/well-known-symbol.js"),i=r("./node_modules/core-js/internals/engine-v8-version.js"),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},"./node_modules/core-js/internals/array-species-constructor.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-object.js"),o=r("./node_modules/core-js/internals/is-array.js"),i=r("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)?n(t)&&null===(t=t[i])&&(t=void 0):t=void 0),void 0===t?Array:t}},"./node_modules/core-js/internals/array-species-create.js":function(e,t,r){var n=r("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-string-tag-support.js"),o=r("./node_modules/core-js/internals/classof-raw.js"),i=r("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,r){var n=r("./node_modules/core-js/internals/has.js"),o=r("./node_modules/core-js/internals/own-keys.js"),i=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=r("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var r=o(t),s=a.f,l=i.f,c=0;c<r.length;c++){var u=r[c];n(e,u)||s(e,u,l(t,u))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,r){var n=r("./node_modules/core-js/internals/fails.js");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"./node_modules/core-js/internals/create-html.js":function(e,t,r){var n=r("./node_modules/core-js/internals/require-object-coercible.js"),o=r("./node_modules/core-js/internals/to-string.js"),i=/"/g;e.exports=function(e,t,r,a){var s=o(n(e)),l="<"+t;return""!==r&&(l+=" "+r+'="'+o(a).replace(i,"&quot;")+'"'),l+">"+s+"</"+t+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,o=r("./node_modules/core-js/internals/object-create.js"),i=r("./node_modules/core-js/internals/create-property-descriptor.js"),a=r("./node_modules/core-js/internals/set-to-string-tag.js"),s=r("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,c,!1,!0),s[c]=l,e}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,r){var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/object-define-property.js"),i=r("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/internals/create-property.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-property-key.js"),o=r("./node_modules/core-js/internals/object-define-property.js"),i=r("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},"./node_modules/core-js/internals/define-iterator.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/create-iterator-constructor.js"),i=r("./node_modules/core-js/internals/object-get-prototype-of.js"),a=r("./node_modules/core-js/internals/object-set-prototype-of.js"),s=r("./node_modules/core-js/internals/set-to-string-tag.js"),l=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=r("./node_modules/core-js/internals/redefine.js"),u=r("./node_modules/core-js/internals/well-known-symbol.js"),d=r("./node_modules/core-js/internals/is-pure.js"),h=r("./node_modules/core-js/internals/iterators.js"),p=r("./node_modules/core-js/internals/iterators-core.js"),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),b="keys",v="values",y="entries",w=function(){return this};e.exports=function(e,t,r,u,p,x,S){o(r,t,u);var k,C,$,j=function(e){if(e===p&&I)return I;if(!f&&e in N)return N[e];switch(e){case b:case v:case y:return function(){return new r(this,e)}}return function(){return new r(this)}},O=t+" Iterator",_=!1,N=e.prototype,A=N[g]||N["@@iterator"]||p&&N[p],I=!f&&A||j(p),E="Array"==t&&N.entries||A;if(E&&(k=i(E.call(new e)),m!==Object.prototype&&k.next&&(d||i(k)===m||(a?a(k,m):"function"!=typeof k[g]&&l(k,g,w)),s(k,O,!0,!0),d&&(h[O]=w))),p==v&&A&&A.name!==v&&(_=!0,I=function(){return A.call(this)}),d&&!S||N[g]===I||l(N,g,I),h[t]=I,p)if(C={values:j(v),keys:x?I:j(b),entries:j(y)},S)for($ in C)(f||_||!($ in N))&&c(N,$,C[$]);else n({target:t,proto:!0,forced:f||_},C);return C}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,t,r){var n=r("./node_modules/core-js/internals/path.js"),o=r("./node_modules/core-js/internals/has.js"),i=r("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=r("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},"./node_modules/core-js/internals/descriptors.js":function(e,t,r){var n=r("./node_modules/core-js/internals/fails.js");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/is-object.js"),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(e){e.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(e,t,r){var n=r("./node_modules/core-js/internals/get-built-in.js");e.exports=n("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(e,t,r){var n,o,i=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/engine-user-agent.js"),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?o=(n=u.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,i=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=r("./node_modules/core-js/internals/redefine.js"),s=r("./node_modules/core-js/internals/set-global.js"),l=r("./node_modules/core-js/internals/copy-constructor-properties.js"),c=r("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var r,u,d,h,p,m=e.target,f=e.global,g=e.stat;if(r=f?n:g?n[m]||s(m,{}):(n[m]||{}).prototype)for(u in t){if(h=t[u],d=e.noTargetGet?(p=o(r,u))&&p.value:r[u],!c(f?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&i(h,"sham",!0),a(r,u,h,e)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(e,t,r){var n=r("./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},"./node_modules/core-js/internals/global.js":function(e){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-object.js"),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(n(e),t)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,t,r){var n=r("./node_modules/core-js/internals/get-built-in.js");e.exports=n("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,t,r){var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/document-create-element.js");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":function(e,t,r){var n=r("./node_modules/core-js/internals/fails.js"),o=r("./node_modules/core-js/internals/classof-raw.js"),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-object.js"),o=r("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,r){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(e,a),e}},"./node_modules/core-js/internals/inspect-source.js":function(e,t,r){var n=r("./node_modules/core-js/internals/shared-store.js"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,t,r){var n,o,i,a=r("./node_modules/core-js/internals/native-weak-map.js"),s=r("./node_modules/core-js/internals/global.js"),l=r("./node_modules/core-js/internals/is-object.js"),c=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=r("./node_modules/core-js/internals/has.js"),d=r("./node_modules/core-js/internals/shared-store.js"),h=r("./node_modules/core-js/internals/shared-key.js"),p=r("./node_modules/core-js/internals/hidden-keys.js"),m="Object already initialized",f=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new f),b=g.get,v=g.has,y=g.set;n=function(e,t){if(v.call(g,e))throw new TypeError(m);return t.facade=e,y.call(g,e,t),t},o=function(e){return b.call(g,e)||{}},i=function(e){return v.call(g,e)}}else{var w=h("state");p[w]=!0,n=function(e,t){if(u(e,w))throw new TypeError(m);return t.facade=e,c(e,w,t),t},o=function(e){return u(e,w)?e[w]:{}},i=function(e){return u(e,w)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},"./node_modules/core-js/internals/is-array.js":function(e,t,r){var n=r("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"./node_modules/core-js/internals/is-forced.js":function(e,t,r){var n=r("./node_modules/core-js/internals/fails.js"),o=/#|\.prototype\./,i=function(e,t){var r=s[a(e)];return r==c||r!=l&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(e,t,r){var n=r("./node_modules/core-js/internals/get-built-in.js"),o=r("./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return"function"==typeof t&&Object(e)instanceof t}},"./node_modules/core-js/internals/iterators-core.js":function(e,t,r){"use strict";var n,o,i,a=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/object-get-prototype-of.js"),l=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=r("./node_modules/core-js/internals/has.js"),u=r("./node_modules/core-js/internals/well-known-symbol.js"),d=r("./node_modules/core-js/internals/is-pure.js"),h=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(n=o):p=!0);var m=null==n||a((function(){var e={};return n[h].call(e)!==e}));m&&(n={}),d&&!m||c(n,h)||l(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(e,t,r){var n=r("./node_modules/core-js/internals/engine-v8-version.js"),o=r("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"./node_modules/core-js/internals/native-weak-map.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/inspect-source.js"),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},"./node_modules/core-js/internals/object-assign.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/object-keys.js"),a=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=r("./node_modules/core-js/internals/to-object.js"),c=r("./node_modules/core-js/internals/indexed-object.js"),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(n&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||i(u({},t)).join("")!=o}))?function(e,t){for(var r=l(e),o=arguments.length,u=1,d=a.f,h=s.f;o>u;)for(var p,m=c(arguments[u++]),f=d?i(m).concat(d(m)):i(m),g=f.length,b=0;g>b;)p=f[b++],n&&!h.call(m,p)||(r[p]=m[p]);return r}:u},"./node_modules/core-js/internals/object-create.js":function(e,t,r){var n,o=r("./node_modules/core-js/internals/an-object.js"),i=r("./node_modules/core-js/internals/object-define-properties.js"),a=r("./node_modules/core-js/internals/enum-bug-keys.js"),s=r("./node_modules/core-js/internals/hidden-keys.js"),l=r("./node_modules/core-js/internals/html.js"),c=r("./node_modules/core-js/internals/document-create-element.js"),u=r("./node_modules/core-js/internals/shared-key.js"),d="prototype",h="script",p=u("IE_PROTO"),m=function(){},f=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}b=document.domain&&n?g(n):function(){var e,t=c("iframe"),r="java"+h+":";if(t.style)return t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F}()||g(n);for(var e=a.length;e--;)delete b[d][a[e]];return b()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=o(e),r=new m,m[d]=null,r[p]=e):r=b(),void 0===t?r:i(r,t)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,t,r){var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/object-define-property.js"),i=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/object-keys.js");e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),s=n.length,l=0;s>l;)o.f(e,r=n[l++],t[r]);return e}},"./node_modules/core-js/internals/object-define-property.js":function(e,t,r){var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/ie8-dom-define.js"),i=r("./node_modules/core-js/internals/an-object.js"),a=r("./node_modules/core-js/internals/to-property-key.js"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=a(t),i(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,r){var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),i=r("./node_modules/core-js/internals/create-property-descriptor.js"),a=r("./node_modules/core-js/internals/to-indexed-object.js"),s=r("./node_modules/core-js/internals/to-property-key.js"),l=r("./node_modules/core-js/internals/has.js"),c=r("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=s(t),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-indexed-object.js"),o=r("./node_modules/core-js/internals/object-get-own-property-names.js").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(n(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,r){var n=r("./node_modules/core-js/internals/object-keys-internal.js"),o=r("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,r){var n=r("./node_modules/core-js/internals/has.js"),o=r("./node_modules/core-js/internals/to-object.js"),i=r("./node_modules/core-js/internals/shared-key.js"),a=r("./node_modules/core-js/internals/correct-prototype-getter.js"),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,r){var n=r("./node_modules/core-js/internals/has.js"),o=r("./node_modules/core-js/internals/to-indexed-object.js"),i=r("./node_modules/core-js/internals/array-includes.js").indexOf,a=r("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(e,t){var r,s=o(e),l=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~i(c,r)||c.push(r));return c}},"./node_modules/core-js/internals/object-keys.js":function(e,t,r){var n=r("./node_modules/core-js/internals/object-keys-internal.js"),o=r("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return n(e,o)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,r){var n=r("./node_modules/core-js/internals/an-object.js"),o=r("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-string-tag-support.js"),o=r("./node_modules/core-js/internals/classof.js");e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){var r,o;if("string"===t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if("string"!==t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,t,r){var n=r("./node_modules/core-js/internals/get-built-in.js"),o=r("./node_modules/core-js/internals/object-get-own-property-names.js"),i=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=r("./node_modules/core-js/internals/an-object.js");e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},"./node_modules/core-js/internals/path.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js");e.exports=n},"./node_modules/core-js/internals/redefine.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=r("./node_modules/core-js/internals/has.js"),a=r("./node_modules/core-js/internals/set-global.js"),s=r("./node_modules/core-js/internals/inspect-source.js"),l=r("./node_modules/core-js/internals/internal-state.js"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,r,s){var l,c=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),(l=u(r)).source||(l.source=d.join("string"==typeof t?t:""))),e!==n?(c?!p&&e[t]&&(h=!0):delete e[t],h?e[t]=r:o(e,t,r)):h?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},"./node_modules/core-js/internals/regexp-flags.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js");e.exports=function(e,t){try{Object.defineProperty(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,r){var n=r("./node_modules/core-js/internals/object-define-property.js").f,o=r("./node_modules/core-js/internals/has.js"),i=r("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js":function(e,t,r){var n=r("./node_modules/core-js/internals/shared.js"),o=r("./node_modules/core-js/internals/uid.js"),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},"./node_modules/core-js/internals/shared-store.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/set-global.js"),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},"./node_modules/core-js/internals/shared.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-pure.js"),o=r("./node_modules/core-js/internals/shared-store.js");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.16.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(e,t,r){var n=r("./node_modules/core-js/internals/fails.js");e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-integer.js"),o=r("./node_modules/core-js/internals/to-string.js"),i=r("./node_modules/core-js/internals/require-object-coercible.js"),a=function(e){return function(t,r){var a,s,l=o(i(t)),c=n(r),u=l.length;return c<0||c>=u?e?"":void 0:(a=l.charCodeAt(c))<55296||a>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?e?l.charAt(c):a:e?l.slice(c,c+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(e,t,r){var n=r("./node_modules/core-js/internals/require-object-coercible.js"),o=r("./node_modules/core-js/internals/to-string.js"),i="["+r("./node_modules/core-js/internals/whitespaces.js")+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),l=function(e){return function(t){var r=o(n(t));return 1&e&&(r=r.replace(a,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-integer.js"),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,r){var n=r("./node_modules/core-js/internals/indexed-object.js"),o=r("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return n(o(e))}},"./node_modules/core-js/internals/to-integer.js":function(e){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},"./node_modules/core-js/internals/to-length.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-integer.js"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,t,r){var n=r("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(n(e))}},"./node_modules/core-js/internals/to-primitive.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-object.js"),o=r("./node_modules/core-js/internals/is-symbol.js"),i=r("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=r("./node_modules/core-js/internals/well-known-symbol.js")("toPrimitive");e.exports=function(e,t){if(!n(e)||o(e))return e;var r,s=e[a];if(void 0!==s){if(void 0===t&&(t="default"),r=s.call(e,t),!n(r)||o(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}},"./node_modules/core-js/internals/to-property-key.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-primitive.js"),o=r("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=n(e,"string");return o(t)?t:String(t)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,t,r){var n={};n[r("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(n)},"./node_modules/core-js/internals/to-string.js":function(e,t,r){var n=r("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){if(n(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},"./node_modules/core-js/internals/uid.js":function(e){var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,r){var n=r("./node_modules/core-js/internals/native-symbol.js");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,t,r){var n=r("./node_modules/core-js/internals/well-known-symbol.js");t.f=n},"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/shared.js"),i=r("./node_modules/core-js/internals/has.js"),a=r("./node_modules/core-js/internals/uid.js"),s=r("./node_modules/core-js/internals/native-symbol.js"),l=r("./node_modules/core-js/internals/use-symbol-as-uid.js"),c=o("wks"),u=n.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)&&(s||"string"==typeof c[e])||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},"./node_modules/core-js/internals/whitespaces.js":function(e){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/fails.js"),i=r("./node_modules/core-js/internals/is-array.js"),a=r("./node_modules/core-js/internals/is-object.js"),s=r("./node_modules/core-js/internals/to-object.js"),l=r("./node_modules/core-js/internals/to-length.js"),c=r("./node_modules/core-js/internals/create-property.js"),u=r("./node_modules/core-js/internals/array-species-create.js"),d=r("./node_modules/core-js/internals/array-method-has-species-support.js"),h=r("./node_modules/core-js/internals/well-known-symbol.js"),p=r("./node_modules/core-js/internals/engine-v8-version.js"),m=h("isConcatSpreadable"),f=9007199254740991,g="Maximum allowed index exceeded",b=p>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),v=d("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!b||!v},{concat:function(e){var t,r,n,o,i,a=s(this),d=u(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(y(i=-1===t?a:arguments[t])){if(h+(o=l(i.length))>f)throw TypeError(g);for(r=0;r<o;r++,h++)r in i&&c(d,h,i[r])}else{if(h>=f)throw TypeError(g);c(d,h++,i)}return d.length=h,d}})},"./node_modules/core-js/modules/es.array.iterator.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/to-indexed-object.js"),o=r("./node_modules/core-js/internals/add-to-unscopables.js"),i=r("./node_modules/core-js/internals/iterators.js"),a=r("./node_modules/core-js/internals/internal-state.js"),s=r("./node_modules/core-js/internals/define-iterator.js"),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},"./node_modules/core-js/modules/es.array.join.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/indexed-object.js"),i=r("./node_modules/core-js/internals/to-indexed-object.js"),a=r("./node_modules/core-js/internals/array-method-is-strict.js"),s=[].join,l=o!=Object,c=a("join",",");n({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es.array.map.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/array-iteration.js").map;n({target:"Array",proto:!0,forced:!r("./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/is-object.js"),i=r("./node_modules/core-js/internals/is-array.js"),a=r("./node_modules/core-js/internals/to-absolute-index.js"),s=r("./node_modules/core-js/internals/to-length.js"),l=r("./node_modules/core-js/internals/to-indexed-object.js"),c=r("./node_modules/core-js/internals/create-property.js"),u=r("./node_modules/core-js/internals/well-known-symbol.js"),d=r("./node_modules/core-js/internals/array-method-has-species-support.js")("slice"),h=u("species"),p=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,u,d=l(this),f=s(d.length),g=a(e,f),b=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[h])&&(r=void 0):r=void 0,r===Array||void 0===r))return p.call(d,g,b);for(n=new(void 0===r?Array:r)(m(b-g,0)),u=0;g<b;g++,u++)g in d&&c(n,u,d[g]);return n.length=u,n}})},"./node_modules/core-js/modules/es.function.name.js":function(e,t,r){var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/object-define-property.js").f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,l="name";n&&!(l in i)&&o(i,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/descriptors.js"),o=r("./node_modules/core-js/internals/global.js"),i=r("./node_modules/core-js/internals/is-forced.js"),a=r("./node_modules/core-js/internals/redefine.js"),s=r("./node_modules/core-js/internals/has.js"),l=r("./node_modules/core-js/internals/classof-raw.js"),c=r("./node_modules/core-js/internals/inherit-if-required.js"),u=r("./node_modules/core-js/internals/is-symbol.js"),d=r("./node_modules/core-js/internals/to-primitive.js"),h=r("./node_modules/core-js/internals/fails.js"),p=r("./node_modules/core-js/internals/object-create.js"),m=r("./node_modules/core-js/internals/object-get-own-property-names.js").f,f=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,g=r("./node_modules/core-js/internals/object-define-property.js").f,b=r("./node_modules/core-js/internals/string-trim.js").trim,v="Number",y=o[v],w=y.prototype,x=l(p(w))==v,S=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,r,n,o,i,a,s,l,c=d(e,"number");if("string"==typeof c&&c.length>2)if(43===(t=(c=b(c)).charCodeAt(0))||45===t){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,n)}return+c};if(i(v,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var k,C=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof C&&(x?h((function(){w.valueOf.call(r)})):l(r)!=v)?c(new y(S(t)),r,C):S(t)},$=n?m(y):"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(","),j=0;$.length>j;j++)s(y,k=$[j])&&!s(C,k)&&g(C,k,f(y,k));C.prototype=w,w.constructor=C,a(o,v,C)}},"./node_modules/core-js/modules/es.object.assign.js":function(e,t,r){var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/object-assign.js");n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"./node_modules/core-js/modules/es.object.keys.js":function(e,t,r){var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/to-object.js"),i=r("./node_modules/core-js/internals/object-keys.js");n({target:"Object",stat:!0,forced:r("./node_modules/core-js/internals/fails.js")((function(){i(1)}))},{keys:function(e){return i(o(e))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(e,t,r){var n=r("./node_modules/core-js/internals/to-string-tag-support.js"),o=r("./node_modules/core-js/internals/redefine.js"),i=r("./node_modules/core-js/internals/object-to-string.js");n||o(Object.prototype,"toString",i,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/redefine.js"),o=r("./node_modules/core-js/internals/an-object.js"),i=r("./node_modules/core-js/internals/to-string.js"),a=r("./node_modules/core-js/internals/fails.js"),s=r("./node_modules/core-js/internals/regexp-flags.js"),l="toString",c=RegExp.prototype,u=c[l],d=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),h=u.name!=l;(d||h)&&n(RegExp.prototype,l,(function(){var e=o(this),t=i(e.source),r=e.flags;return"/"+t+"/"+i(void 0===r&&e instanceof RegExp&&!("flags"in c)?s.call(e):r)}),{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/string-multibyte.js").charAt,o=r("./node_modules/core-js/internals/to-string.js"),i=r("./node_modules/core-js/internals/internal-state.js"),a=r("./node_modules/core-js/internals/define-iterator.js"),s="String Iterator",l=i.set,c=i.getterFor(s);a(String,"String",(function(e){l(this,{type:s,string:o(e),index:0})}),(function(){var e,t=c(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/core-js/modules/es.string.link.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/create-html.js");n({target:"String",proto:!0,forced:r("./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return o(this,"a","href",e)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/descriptors.js"),i=r("./node_modules/core-js/internals/global.js"),a=r("./node_modules/core-js/internals/has.js"),s=r("./node_modules/core-js/internals/is-object.js"),l=r("./node_modules/core-js/internals/object-define-property.js").f,c=r("./node_modules/core-js/internals/copy-constructor-properties.js"),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(h,u);var p=h.prototype=u.prototype;p.constructor=h;var m=p.toString,f="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=m.call(e);if(a(d,e))return"";var r=f?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,t,r){r("./node_modules/core-js/internals/define-well-known-symbol.js")("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(e,t,r){"use strict";var n=r("./node_modules/core-js/internals/export.js"),o=r("./node_modules/core-js/internals/global.js"),i=r("./node_modules/core-js/internals/get-built-in.js"),a=r("./node_modules/core-js/internals/is-pure.js"),s=r("./node_modules/core-js/internals/descriptors.js"),l=r("./node_modules/core-js/internals/native-symbol.js"),c=r("./node_modules/core-js/internals/fails.js"),u=r("./node_modules/core-js/internals/has.js"),d=r("./node_modules/core-js/internals/is-array.js"),h=r("./node_modules/core-js/internals/is-object.js"),p=r("./node_modules/core-js/internals/is-symbol.js"),m=r("./node_modules/core-js/internals/an-object.js"),f=r("./node_modules/core-js/internals/to-object.js"),g=r("./node_modules/core-js/internals/to-indexed-object.js"),b=r("./node_modules/core-js/internals/to-property-key.js"),v=r("./node_modules/core-js/internals/to-string.js"),y=r("./node_modules/core-js/internals/create-property-descriptor.js"),w=r("./node_modules/core-js/internals/object-create.js"),x=r("./node_modules/core-js/internals/object-keys.js"),S=r("./node_modules/core-js/internals/object-get-own-property-names.js"),k=r("./node_modules/core-js/internals/object-get-own-property-names-external.js"),C=r("./node_modules/core-js/internals/object-get-own-property-symbols.js"),$=r("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),j=r("./node_modules/core-js/internals/object-define-property.js"),O=r("./node_modules/core-js/internals/object-property-is-enumerable.js"),_=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),N=r("./node_modules/core-js/internals/redefine.js"),A=r("./node_modules/core-js/internals/shared.js"),I=r("./node_modules/core-js/internals/shared-key.js"),E=r("./node_modules/core-js/internals/hidden-keys.js"),z=r("./node_modules/core-js/internals/uid.js"),M=r("./node_modules/core-js/internals/well-known-symbol.js"),P=r("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),L=r("./node_modules/core-js/internals/define-well-known-symbol.js"),B=r("./node_modules/core-js/internals/set-to-string-tag.js"),T=r("./node_modules/core-js/internals/internal-state.js"),R=r("./node_modules/core-js/internals/array-iteration.js").forEach,F=I("hidden"),D="Symbol",q="prototype",H=M("toPrimitive"),W=T.set,Z=T.getterFor(D),U=Object[q],V=o.Symbol,G=i("JSON","stringify"),X=$.f,Y=j.f,K=k.f,J=O.f,Q=A("symbols"),ee=A("op-symbols"),te=A("string-to-symbol-registry"),re=A("symbol-to-string-registry"),ne=A("wks"),oe=o.QObject,ie=!oe||!oe[q]||!oe[q].findChild,ae=s&&c((function(){return 7!=w(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=X(U,t);n&&delete U[t],Y(e,t,r),n&&e!==U&&Y(U,t,n)}:Y,se=function(e,t){var r=Q[e]=w(V[q]);return W(r,{type:D,tag:e,description:t}),s||(r.description=t),r},le=function(e,t,r){e===U&&le(ee,t,r),m(e);var n=b(t);return m(r),u(Q,n)?(r.enumerable?(u(e,F)&&e[F][n]&&(e[F][n]=!1),r=w(r,{enumerable:y(0,!1)})):(u(e,F)||Y(e,F,y(1,{})),e[F][n]=!0),ae(e,n,r)):Y(e,n,r)},ce=function(e,t){m(e);var r=g(t),n=x(r).concat(pe(r));return R(n,(function(t){s&&!ue.call(r,t)||le(e,t,r[t])})),e},ue=function(e){var t=b(e),r=J.call(this,t);return!(this===U&&u(Q,t)&&!u(ee,t))&&(!(r||!u(this,t)||!u(Q,t)||u(this,F)&&this[F][t])||r)},de=function(e,t){var r=g(e),n=b(t);if(r!==U||!u(Q,n)||u(ee,n)){var o=X(r,n);return!o||!u(Q,n)||u(r,F)&&r[F][n]||(o.enumerable=!0),o}},he=function(e){var t=K(g(e)),r=[];return R(t,(function(e){u(Q,e)||u(E,e)||r.push(e)})),r},pe=function(e){var t=e===U,r=K(t?ee:g(e)),n=[];return R(r,(function(e){!u(Q,e)||t&&!u(U,e)||n.push(Q[e])})),n};l||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=z(e),r=function(e){this===U&&r.call(ee,e),u(this,F)&&u(this[F],t)&&(this[F][t]=!1),ae(this,t,y(1,e))};return s&&ie&&ae(U,t,{configurable:!0,set:r}),se(t,e)},N(V[q],"toString",(function(){return Z(this).tag})),N(V,"withoutSetter",(function(e){return se(z(e),e)})),O.f=ue,j.f=le,$.f=de,S.f=k.f=he,C.f=pe,P.f=function(e){return se(M(e),e)},s&&(Y(V[q],"description",{configurable:!0,get:function(){return Z(this).description}}),a||N(U,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),R(x(ne),(function(e){L(e)})),n({target:D,stat:!0,forced:!l},{for:function(e){var t=v(e);if(u(te,t))return te[t];var r=V(t);return te[t]=r,re[r]=t,r},keyFor:function(e){if(!p(e))throw TypeError(e+" is not a symbol");if(u(re,e))return re[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?w(e):ce(w(e),t)},defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:he,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:c((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(f(e))}}),G&&n({target:"JSON",stat:!0,forced:!l||c((function(){var e=V();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(h(t)||void 0!==e)&&!p(e))return d(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!p(t))return t}),o[1]=t,G.apply(null,o)}}),V[q][H]||_(V[q],H,V[q].valueOf),B(V,D),E[F]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/dom-iterables.js"),i=r("./node_modules/core-js/internals/array-for-each.js"),a=r("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var s in o){var l=n[s],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,t,r){var n=r("./node_modules/core-js/internals/global.js"),o=r("./node_modules/core-js/internals/dom-iterables.js"),i=r("./node_modules/core-js/modules/es.array.iterator.js"),a=r("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=r("./node_modules/core-js/internals/well-known-symbol.js"),l=s("iterator"),c=s("toStringTag"),u=i.values;for(var d in o){var h=n[d],p=h&&h.prototype;if(p){if(p[l]!==u)try{a(p,l,u)}catch(e){p[l]=u}if(p[c]||a(p,c,d),o[d])for(var m in i)if(p[m]!==i[m])try{a(p,m,i[m])}catch(e){p[m]=i[m]}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(e){e.exports=function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function t(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,a=void 0,s=void 0,l=function(e,t){x[i]=e,x[i+1]=t,2===(i+=2)&&(s?s(S):C())};function c(e){s=e}function u(e){l=e}var d="undefined"!=typeof window?window:void 0,h=d||{},p=h.MutationObserver||h.WebKitMutationObserver,m="undefined"==typeof self&&void 0!==o&&"[object process]"==={}.toString.call(o),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function g(){return function(){return o.nextTick(S)}}function b(){return void 0!==a?function(){a(S)}:w()}function v(){var e=0,t=new p(S),r=document.createTextNode("");return t.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}function y(){var e=new MessageChannel;return e.port1.onmessage=S,function(){return e.port2.postMessage(0)}}function w(){var e=setTimeout;return function(){return e(S,1)}}var x=new Array(1e3);function S(){for(var e=0;e<i;e+=2)(0,x[e])(x[e+1]),x[e]=void 0,x[e+1]=void 0;i=0}function k(){try{var e=Function("return this")().require("vertx");return a=e.runOnLoop||e.runOnContext,b()}catch(e){return w()}}var C=void 0;function $(e,t){var r=this,n=new this.constructor(_);void 0===n[O]&&G(n);var o=r._state;if(o){var i=arguments[o-1];l((function(){return W(o,n,i,r._result)}))}else q(r,n,e,t);return n}function j(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var r=new t(_);return T(r,e),r}C=m?g():p?v():f?y():void 0===d?k():w();var O=Math.random().toString(36).substring(2);function _(){}var N=void 0,A=1,I=2;function E(){return new TypeError("You cannot resolve a promise with itself")}function z(){return new TypeError("A promises callback cannot return that same promise.")}function M(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}function P(e,t,r){l((function(e){var n=!1,o=M(r,t,(function(r){n||(n=!0,t!==r?T(e,r):F(e,r))}),(function(t){n||(n=!0,D(e,t))}),"Settle: "+(e._label||" unknown promise"));!n&&o&&(n=!0,D(e,o))}),e)}function L(e,t){t._state===A?F(e,t._result):t._state===I?D(e,t._result):q(t,void 0,(function(t){return T(e,t)}),(function(t){return D(e,t)}))}function B(e,r,n){r.constructor===e.constructor&&n===$&&r.constructor.resolve===j?L(e,r):void 0===n?F(e,r):t(n)?P(e,r,n):F(e,r)}function T(t,r){if(t===r)D(t,E());else if(e(r)){var n=void 0;try{n=r.then}catch(e){return void D(t,e)}B(t,r,n)}else F(t,r)}function R(e){e._onerror&&e._onerror(e._result),H(e)}function F(e,t){e._state===N&&(e._result=t,e._state=A,0!==e._subscribers.length&&l(H,e))}function D(e,t){e._state===N&&(e._state=I,e._result=t,l(R,e))}function q(e,t,r,n){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+A]=r,o[i+I]=n,0===i&&e._state&&l(H,e)}function H(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)n=t[a],o=t[a+r],n?W(r,n,o,i):o(i);e._subscribers.length=0}}function W(e,r,n,o){var i=t(n),a=void 0,s=void 0,l=!0;if(i){try{a=n(o)}catch(e){l=!1,s=e}if(r===a)return void D(r,z())}else a=o;r._state!==N||(i&&l?T(r,a):!1===l?D(r,s):e===A?F(r,a):e===I&&D(r,a))}function Z(e,t){try{t((function(t){T(e,t)}),(function(t){D(e,t)}))}catch(t){D(e,t)}}var U=0;function V(){return U++}function G(e){e[O]=U++,e._state=void 0,e._result=void 0,e._subscribers=[]}function X(){return new Error("Array Methods must be provided an Array")}var Y=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(_),this.promise[O]||G(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?F(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&F(this.promise,this._result))):D(this.promise,X())}return e.prototype._enumerate=function(e){for(var t=0;this._state===N&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===j){var o=void 0,i=void 0,a=!1;try{o=e.then}catch(e){a=!0,i=e}if(o===$&&e._state!==N)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(r===re){var s=new r(_);a?D(s,i):B(s,e,o),this._willSettleAt(s,t)}else this._willSettleAt(new r((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===N&&(this._remaining--,e===I?D(n,r):this._result[t]=r),0===this._remaining&&F(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;q(e,void 0,(function(e){return r._settledAt(A,t,e)}),(function(e){return r._settledAt(I,t,e)}))},e}();function K(e){return new Y(this,e).promise}function J(e){var t=this;return n(e)?new t((function(r,n){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(r,n)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))}function Q(e){var t=new this(_);return D(t,e),t}function ee(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function te(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var re=function(){function e(t){this[O]=V(),this._result=this._state=void 0,this._subscribers=[],_!==t&&("function"!=typeof t&&ee(),this instanceof e?Z(this,t):te())}return e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(e){var r=this,n=r.constructor;return t(e)?r.then((function(t){return n.resolve(e()).then((function(){return t}))}),(function(t){return n.resolve(e()).then((function(){throw t}))})):r.then(e,e)},e}();function ne(){var e=void 0;if(void 0!==r.g)e=r.g;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=re}return re.prototype.then=$,re.all=K,re.race=J,re.resolve=j,re.reject=Q,re._setScheduler=c,re._setAsap=u,re._asap=l,re.polyfill=ne,re.Promise=re,re}()},html2canvas:function(e){"use strict";e.exports=t},jspdf:function(t){"use strict";t.exports=e}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return function(){"use strict";a.r(s);var e=a("./src/worker.js"),t=(a("./src/plugin/jspdf-plugin.js"),a("./src/plugin/pagebreaks.js"),a("./src/plugin/hyperlinks.js"),function e(t,r){var n=new e.Worker(r);return t?n.from(t).save():n});t.Worker=e.default,s.default=t}(),s=s.default}()},e.exports=n(r(28685),r(64270))},28685:function(e,t,r){"use strict";r.r(t),r.d(t,{AcroForm:function(){return Ne},AcroFormAppearance:function(){return $e},AcroFormButton:function(){return ve},AcroFormCheckBox:function(){return Se},AcroFormChoiceField:function(){return me},AcroFormComboBox:function(){return ge},AcroFormEditBox:function(){return be},AcroFormListBox:function(){return fe},AcroFormPasswordField:function(){return Ce},AcroFormPushButton:function(){return ye},AcroFormRadioButton:function(){return we},AcroFormTextField:function(){return ke},GState:function(){return L},ShadingPattern:function(){return T},TilingPattern:function(){return R},default:function(){return F},jsPDF:function(){return F}});var n=r(76190),o=r(6330),i=r(42978),a=r(6341),s=function(){return"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:this}();function l(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}var c={log:l,warn:function(e){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):l.call(null,arguments))},error:function(e){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):l(e))}};function u(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){p(n.response,t,r)},n.onerror=function(){c.error("could not download file")},n.send()}function d(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function h(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var p=s.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,n.Z)(window))||window!==s?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,r){var n=s.URL||s.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin!==location.origin?d(o.href)?u(e,t,r):h(o,o.target="_blank"):h(o)):(o.href=n.createObjectURL(e),setTimeout((function(){n.revokeObjectURL(o.href)}),4e4),setTimeout((function(){h(o)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(d(e))u(e,t,r);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout((function(){h(o)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==(0,n.Z)(t)&&(c.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),t)}:function(e,t,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return u(e,t,r);var i="application/octet-stream"===e.type,a=/constructor/i.test(s.HTMLElement)||s.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||i&&a)&&"object"===("undefined"==typeof FileReader?"undefined":(0,n.Z)(FileReader))){var c=new FileReader;c.onloadend=function(){var e=c.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},c.readAsDataURL(e)}else{var d=s.URL||s.webkitURL,h=d.createObjectURL(e);o?o.location=h:location.href=h,o=null,setTimeout((function(){d.revokeObjectURL(h)}),4e4)}});function m(e){var t;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 r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],n=0;n<r.length;n++){var o=r[n].re,i=r[n].process,a=o.exec(e);a&&(t=i(a),this.r=t[0],this.g=t[1],this.b=t[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 e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r}}var f=s.atob.bind(s),g=s.btoa.bind(s);function b(e,t){var r=e[0],n=e[1],o=e[2],i=e[3];r=y(r,n,o,i,t[0],7,-680876936),i=y(i,r,n,o,t[1],12,-389564586),o=y(o,i,r,n,t[2],17,606105819),n=y(n,o,i,r,t[3],22,-1044525330),r=y(r,n,o,i,t[4],7,-176418897),i=y(i,r,n,o,t[5],12,1200080426),o=y(o,i,r,n,t[6],17,-1473231341),n=y(n,o,i,r,t[7],22,-45705983),r=y(r,n,o,i,t[8],7,1770035416),i=y(i,r,n,o,t[9],12,-1958414417),o=y(o,i,r,n,t[10],17,-42063),n=y(n,o,i,r,t[11],22,-1990404162),r=y(r,n,o,i,t[12],7,1804603682),i=y(i,r,n,o,t[13],12,-40341101),o=y(o,i,r,n,t[14],17,-1502002290),r=w(r,n=y(n,o,i,r,t[15],22,1236535329),o,i,t[1],5,-165796510),i=w(i,r,n,o,t[6],9,-1069501632),o=w(o,i,r,n,t[11],14,643717713),n=w(n,o,i,r,t[0],20,-373897302),r=w(r,n,o,i,t[5],5,-701558691),i=w(i,r,n,o,t[10],9,38016083),o=w(o,i,r,n,t[15],14,-660478335),n=w(n,o,i,r,t[4],20,-405537848),r=w(r,n,o,i,t[9],5,568446438),i=w(i,r,n,o,t[14],9,-1019803690),o=w(o,i,r,n,t[3],14,-187363961),n=w(n,o,i,r,t[8],20,1163531501),r=w(r,n,o,i,t[13],5,-1444681467),i=w(i,r,n,o,t[2],9,-51403784),o=w(o,i,r,n,t[7],14,1735328473),r=x(r,n=w(n,o,i,r,t[12],20,-1926607734),o,i,t[5],4,-378558),i=x(i,r,n,o,t[8],11,-2022574463),o=x(o,i,r,n,t[11],16,1839030562),n=x(n,o,i,r,t[14],23,-35309556),r=x(r,n,o,i,t[1],4,-1530992060),i=x(i,r,n,o,t[4],11,1272893353),o=x(o,i,r,n,t[7],16,-155497632),n=x(n,o,i,r,t[10],23,-1094730640),r=x(r,n,o,i,t[13],4,681279174),i=x(i,r,n,o,t[0],11,-358537222),o=x(o,i,r,n,t[3],16,-722521979),n=x(n,o,i,r,t[6],23,76029189),r=x(r,n,o,i,t[9],4,-640364487),i=x(i,r,n,o,t[12],11,-421815835),o=x(o,i,r,n,t[15],16,530742520),r=S(r,n=x(n,o,i,r,t[2],23,-995338651),o,i,t[0],6,-198630844),i=S(i,r,n,o,t[7],10,1126891415),o=S(o,i,r,n,t[14],15,-1416354905),n=S(n,o,i,r,t[5],21,-57434055),r=S(r,n,o,i,t[12],6,1700485571),i=S(i,r,n,o,t[3],10,-1894986606),o=S(o,i,r,n,t[10],15,-1051523),n=S(n,o,i,r,t[1],21,-2054922799),r=S(r,n,o,i,t[8],6,1873313359),i=S(i,r,n,o,t[15],10,-30611744),o=S(o,i,r,n,t[6],15,-1560198380),n=S(n,o,i,r,t[13],21,1309151649),r=S(r,n,o,i,t[4],6,-145523070),i=S(i,r,n,o,t[11],10,-1120210379),o=S(o,i,r,n,t[2],15,718787259),n=S(n,o,i,r,t[9],21,-343485551),e[0]=A(r,e[0]),e[1]=A(n,e[1]),e[2]=A(o,e[2]),e[3]=A(i,e[3])}function v(e,t,r,n,o,i){return t=A(A(t,e),A(n,i)),A(t<<o|t>>>32-o,r)}function y(e,t,r,n,o,i,a){return v(t&r|~t&n,e,t,o,i,a)}function w(e,t,r,n,o,i,a){return v(t&n|r&~n,e,t,o,i,a)}function x(e,t,r,n,o,i,a){return v(t^r^n,e,t,o,i,a)}function S(e,t,r,n,o,i,a){return v(r^(t|~n),e,t,o,i,a)}function k(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)b(n,C(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(b(n,o),t=0;t<16;t++)o[t]=0;return o[14]=8*r,b(n,o),n}function C(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}var $="0123456789abcdef".split("");function j(e){for(var t="",r=0;r<4;r++)t+=$[e>>8*r+4&15]+$[e>>8*r&15];return t}function O(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function _(e){return k(e).map(O).join("")}var N="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=j(e[t]);return e.join("")}(k("hello"));function A(e,t){if(N){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}return e+t&4294967295}function I(e,t){var r,n,o,i;if(e!==r){for(var a=(o=e,i=1+(256/e.length|0),new Array(i+1).join(o)),s=[],l=0;l<256;l++)s[l]=l;var c=0;for(l=0;l<256;l++){var u=s[l];c=(c+u+a.charCodeAt(l))%256,s[l]=s[c],s[c]=u}r=e,n=s}else s=n;var d=t.length,h=0,p=0,m="";for(l=0;l<d;l++)p=(p+(u=s[h=(h+1)%256]))%256,s[h]=s[p],s[p]=u,a=s[(s[h]+s[p])%256],m+=String.fromCharCode(t.charCodeAt(l)^a);return m}var E={print:4,modify:8,copy:16,"annot-forms":32};function z(e,t,r,n){this.v=1,this.r=2;var o=192;e.forEach((function(e){if(void 0!==E.perm)throw new Error("Invalid permission: "+e);o+=E[e]})),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var i=(t+this.padding).substr(0,32),a=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,a),this.P=-(1+(255^o)),this.encryptionKey=_(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=I(this.encryptionKey,this.padding)}function M(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",r=e.length,n=0;n<r;n++){var o=e.charCodeAt(n);t+=o<33||35===o||37===o||40===o||41===o||47===o||60===o||62===o||91===o||93===o||123===o||125===o||o>126?"#"+("0"+o.toString(16)).slice(-2):e[n]}return t}function P(e){if("object"!==(0,n.Z)(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,r,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof r||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var o=Math.random().toString(35);return t[e][o]=[r,!!n],o},this.unsubscribe=function(e){for(var r in t)if(t[r][e])return delete t[r][e],0===Object.keys(t[r]).length&&delete t[r],!0;return!1},this.publish=function(r){if(t.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),o=[];for(var i in t[r]){var a=t[r][i];try{a[0].apply(e,n)}catch(e){s.console&&c.error("jsPDF PubSub Error",e.message,e)}a[1]&&o.push(i)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function L(e){if(!(this instanceof L))return new L(e);var t="opacity,stroke-opacity".split(",");for(var r in e)e.hasOwnProperty(r)&&t.indexOf(r)>=0&&(this[r]=e[r]);this.id="",this.objectNumber=-1}function B(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function T(e,t,r,n,o){if(!(this instanceof T))return new T(e,t,r,n,o);this.type="axial"===e?2:3,this.coords=t,this.colors=r,B.call(this,n,o)}function R(e,t,r,n,o){if(!(this instanceof R))return new R(e,t,r,n,o);this.boundingBox=e,this.xStep=t,this.yStep=r,this.stream="",this.cloneIndex=0,B.call(this,n,o)}function F(e){var t,r="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],i=arguments[2],a=arguments[3],l=[],u=1,d=16,h="S",f=null;"object"===(0,n.Z)(e=e||{})&&(r=e.orientation,o=e.unit||o,i=e.format||i,a=e.compress||e.compressPdf||a,null!==(f=e.encryption||null)&&(f.userPassword=f.userPassword||"",f.ownerPassword=f.ownerPassword||"",f.userPermissions=f.userPermissions||[]),u="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),h=e.defaultPathOperation||"S"),l=e.filters||(!0===a?["FlateEncode"]:l),o=o||"mm",r=(""+(r||"P")).toLowerCase();var b=e.putOnlyUsedFonts||!1,v={},y={internal:{},__private__:{}};y.__private__.PubSub=P;var w="1.3",x=y.__private__.getPdfVersion=function(){return w};y.__private__.setPdfVersion=function(e){w=e};var S={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]};y.__private__.getPageFormats=function(){return S};var k=y.__private__.getPageFormat=function(e){return S[e]};i=i||"a4";var C="compat",$="advanced",j=C;function O(){this.saveGraphicsState(),ue(new We($e,0,0,-$e,0,$r()*$e).toString()+" cm"),this.setFontSize(this.getFontSize()/$e),h="n",j=$}function _(){this.restoreGraphicsState(),h="S",j=C}var N=y.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};y.advancedAPI=function(e){var t=j===C;return t&&O.call(this),"function"!=typeof e||(e(this),t&&_.call(this)),this},y.compatAPI=function(e){var t=j===$;return t&&_.call(this),"function"!=typeof e||(e(this),t&&O.call(this)),this},y.isAdvancedAPI=function(){return j===$};var A,I=function(e){if(j!==$)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},E=y.roundToPrecision=y.__private__.roundToPrecision=function(e,r){var n=t||r;if(isNaN(e)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(n).replace(/0+$/,"")};A=y.hpf=y.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return E(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return E(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return E(e,16)};var B=y.f2=y.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return E(e,2)},D=y.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return E(e,3)},q=y.scale=y.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return j===C?e*$e:j===$?e:void 0},H=function(e){return q(function(e){return j===C?$r()-e:j===$?e:void 0}(e))};y.__private__.setPrecision=y.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var W,Z="00000000000000000000000000000000",U=y.__private__.getFileId=function(){return Z},V=y.__private__.setFileId=function(e){return Z=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():Z.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==f&&(It=new z(f.userPermissions,f.userPassword,f.ownerPassword,Z)),Z};y.setFileId=function(e){return V(e),this},y.getFileId=function(){return U()};var G=y.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),r=t<0?"+":"-",n=Math.floor(Math.abs(t/60)),o=Math.abs(t%60),i=[r,Q(n),"'",Q(o),"'"].join("");return["D:",e.getFullYear(),Q(e.getMonth()+1),Q(e.getDate()),Q(e.getHours()),Q(e.getMinutes()),Q(e.getSeconds()),i].join("")},X=y.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),r=parseInt(e.substr(6,2),10)-1,n=parseInt(e.substr(8,2),10),o=parseInt(e.substr(10,2),10),i=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,r,n,o,i,a,0)},Y=y.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=G(e);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(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return W=t},K=y.__private__.getCreationDate=function(e){var t=W;return"jsDate"===e&&(t=X(W)),t};y.setCreationDate=function(e){return Y(e),this},y.getCreationDate=function(e){return K(e)};var J,Q=y.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},ee=y.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},te=0,re=[],ne=[],oe=0,ie=[],ae=[],se=!1,le=ne;y.__private__.setCustomOutputDestination=function(e){se=!0,le=e};var ce=function(e){se||(le=e)};y.__private__.resetCustomOutputDestination=function(){se=!1,le=ne};var ue=y.__private__.out=function(e){return e=e.toString(),oe+=e.length+1,le.push(e),le},de=y.__private__.write=function(e){return ue(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},he=y.__private__.getArrayBuffer=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r);t--;)n[t]=e.charCodeAt(t);return r},pe=[["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]];y.__private__.getStandardFonts=function(){return pe};var me=e.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(e){return me=j===$?e/$e:e,this};var fe,ge=y.__private__.getFontSize=y.getFontSize=function(){return j===C?me:me*$e},be=e.R2L||!1;y.__private__.setR2L=y.setR2L=function(e){return be=e,this},y.__private__.getR2L=y.getR2L=function(){return be};var ve,ye=y.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))fe=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');fe=e}else fe=parseInt(e,10)};y.__private__.getZoomMode=function(){return fe};var we,xe=y.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ve=e};y.__private__.getPageMode=function(){return ve};var Se=y.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');we=e};y.__private__.getLayoutMode=function(){return we},y.__private__.setDisplayMode=y.setDisplayMode=function(e,t,r){return ye(e),Se(t),xe(r),this};var ke={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ke).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ke[e]},y.__private__.getDocumentProperties=function(){return ke},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(e){for(var t in ke)ke.hasOwnProperty(t)&&e[t]&&(ke[t]=e[t]);return this},y.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ke).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ke[e]=t};var Ce,$e,je,Oe,_e,Ne={},Ae={},Ie=[],Ee={},ze={},Me={},Pe={},Le=null,Be=0,Te=[],Re=new P(y),Fe=e.hotfixes||[],De={},qe={},He=[],We=function e(t,r,n,o,i,a){if(!(this instanceof e))return new e(t,r,n,o,i,a);isNaN(t)&&(t=1),isNaN(r)&&(r=0),isNaN(n)&&(n=0),isNaN(o)&&(o=1),isNaN(i)&&(i=0),isNaN(a)&&(a=0),this._matrix=[t,r,n,o,i,a]};Object.defineProperty(We.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(We.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(We.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(We.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(We.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(We.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(We.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(We.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(We.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(We.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(We.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(We.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(We.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(We.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(We.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(We.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),We.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(A).join(e)},We.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,r=e.sx*this.shy+e.shy*this.sy,n=e.shx*this.sx+e.sy*this.shx,o=e.shx*this.shy+e.sy*this.sy,i=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new We(t,r,n,o,i,a)},We.prototype.decompose=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,o=this.tx,i=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*r+(t/=a)*n;r-=e*s,n-=t*s;var l=Math.sqrt(r*r+n*n);return s/=l,e*(n/=l)<t*(r/=l)&&(e=-e,t=-t,s=-s,a=-a),{scale:new We(a,0,0,l,0,0),translate:new We(1,0,0,1,o,i),rotate:new We(e,t,-t,e,0,0),skew:new We(1,0,s,1,0,0)}},We.prototype.toString=function(e){return this.join(" ")},We.prototype.inversed=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,o=this.tx,i=this.ty,a=1/(e*n-t*r),s=n*a,l=-t*a,c=-r*a,u=e*a;return new We(s,l,c,u,-s*o-c*i,-l*o-u*i)},We.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,r=e.x*this.shy+e.y*this.sy+this.ty;return new mr(t,r)},We.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),r=this.applyToPoint(new mr(e.x+e.w,e.y+e.h));return new fr(t.x,t.y,r.x-t.x,r.y-t.y)},We.prototype.clone=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,o=this.tx,i=this.ty;return new We(e,t,r,n,o,i)},y.Matrix=We;var Ze=y.matrixMult=function(e,t){return t.multiply(e)},Ue=new We(1,0,0,1,0,0);y.unitMatrix=y.identityMatrix=Ue;var Ve=function(e,t){if(!ze[e]){var r=(t instanceof T?"Sh":"P")+(Object.keys(Ee).length+1).toString(10);t.id=r,ze[e]=r,Ee[r]=t,Re.publish("addPattern",t)}};y.ShadingPattern=T,y.TilingPattern=R,y.addShadingPattern=function(e,t){return I("addShadingPattern()"),Ve(e,t),this},y.beginTilingPattern=function(e){I("beginTilingPattern()"),br(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},y.endTilingPattern=function(e,t){I("endTilingPattern()"),t.stream=ae[J].join("\n"),Ve(e,t),Re.publish("endTilingPattern",t),He.pop().restore()};var Ge,Xe=y.__private__.newObject=function(){var e=Ye();return Ke(e,!0),e},Ye=y.__private__.newObjectDeferred=function(){return te++,re[te]=function(){return oe},te},Ke=function(e,t){return t="boolean"==typeof t&&t,re[e]=oe,t&&ue(e+" 0 obj"),e},Je=y.__private__.newAdditionalObject=function(){var e={objId:Ye(),content:""};return ie.push(e),e},Qe=Ye(),et=Ye(),tt=y.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var r=parseFloat(t[0]);t=[r,r,r,"r"]}for(var n="#",o=0;o<3;o++)n+=("0"+Math.floor(255*parseFloat(t[o])).toString(16)).slice(-2);return n},rt=y.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var r=e.ch1,o=e.ch2,i=e.ch3,a=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var l=new m(r);if(l.ok)r=l.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var c=parseInt(r.substr(1),16);r=c>>16&255,o=c>>8&255,i=255&c}if(void 0===o||void 0===a&&r===o&&o===i)t="string"==typeof r?r+" "+s[0]:2===e.precision?B(r/255)+" "+s[0]:D(r/255)+" "+s[0];else if(void 0===a||"object"===(0,n.Z)(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");t="string"==typeof r?[r,o,i,s[1]].join(" "):2===e.precision?[B(r/255),B(o/255),B(i/255),s[1]].join(" "):[D(r/255),D(o/255),D(i/255),s[1]].join(" ")}else t="string"==typeof r?[r,o,i,a,s[2]].join(" "):2===e.precision?[B(r),B(o),B(i),B(a),s[2]].join(" "):[D(r),D(o),D(i),D(a),s[2]].join(" ");return t},nt=y.__private__.getFilters=function(){return l},ot=y.__private__.putStream=function(e){var t=(e=e||{}).data||"",r=e.filters||nt(),n=e.alreadyAppliedFilters||[],o=e.addLength1||!1,i=t.length,a=e.objectId,s=function(e){return e};if(null!==f&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==f&&(s=It.encryptor(a,0));var l={};!0===r&&(r=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(l=void 0!==F.API.processDataByFilters?F.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===o&&c.push({key:"Length1",value:i})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var d=0;d<c.length;d+=1)if("DecodeParms"===c[d].key){for(var h=[],p=0;p<l.reverseChain.split("/").length-1;p+=1)h.push("null");h.push(c[d].value),c[d].value="["+h.join(" ")+"]"}}ue("<<");for(var m=0;m<c.length;m++)ue("/"+c[m].key+" "+c[m].value);ue(">>"),0!==l.data.length&&(ue("stream"),ue(s(l.data)),ue("endstream"))},it=y.__private__.putPage=function(e){var t=e.number,r=e.data,n=e.objId,o=e.contentsObjId;Ke(n,!0),ue("<</Type /Page"),ue("/Parent "+e.rootDictionaryObjId+" 0 R"),ue("/Resources "+e.resourceDictionaryObjId+" 0 R"),ue("/MediaBox ["+parseFloat(A(e.mediaBox.bottomLeftX))+" "+parseFloat(A(e.mediaBox.bottomLeftY))+" "+A(e.mediaBox.topRightX)+" "+A(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&ue("/CropBox ["+A(e.cropBox.bottomLeftX)+" "+A(e.cropBox.bottomLeftY)+" "+A(e.cropBox.topRightX)+" "+A(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&ue("/BleedBox ["+A(e.bleedBox.bottomLeftX)+" "+A(e.bleedBox.bottomLeftY)+" "+A(e.bleedBox.topRightX)+" "+A(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&ue("/TrimBox ["+A(e.trimBox.bottomLeftX)+" "+A(e.trimBox.bottomLeftY)+" "+A(e.trimBox.topRightX)+" "+A(e.trimBox.topRightY)+"]"),null!==e.artBox&&ue("/ArtBox ["+A(e.artBox.bottomLeftX)+" "+A(e.artBox.bottomLeftY)+" "+A(e.artBox.topRightX)+" "+A(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&ue("/UserUnit "+e.userUnit),Re.publish("putPage",{objId:n,pageContext:Te[t],pageNumber:t,page:r}),ue("/Contents "+o+" 0 R"),ue(">>"),ue("endobj");var i=r.join("\n");return j===$&&(i+="\nQ"),Ke(o,!0),ot({data:i,filters:nt(),objectId:o}),ue("endobj"),n},at=y.__private__.putPages=function(){var e,t,r=[];for(e=1;e<=Be;e++)Te[e].objId=Ye(),Te[e].contentsObjId=Ye();for(e=1;e<=Be;e++)r.push(it({number:e,data:ae[e],objId:Te[e].objId,contentsObjId:Te[e].contentsObjId,mediaBox:Te[e].mediaBox,cropBox:Te[e].cropBox,bleedBox:Te[e].bleedBox,trimBox:Te[e].trimBox,artBox:Te[e].artBox,userUnit:Te[e].userUnit,rootDictionaryObjId:Qe,resourceDictionaryObjId:et}));Ke(Qe,!0),ue("<</Type /Pages");var n="/Kids [";for(t=0;t<Be;t++)n+=r[t]+" 0 R ";ue(n+"]"),ue("/Count "+Be),ue(">>"),ue("endobj"),Re.publish("postPutPages")},st=function(e){Re.publish("putFont",{font:e,out:ue,newObject:Xe,putStream:ot}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xe(),ue("<<"),ue("/Type /Font"),ue("/BaseFont /"+M(e.postScriptName)),ue("/Subtype /Type1"),"string"==typeof e.encoding&&ue("/Encoding /"+e.encoding),ue("/FirstChar 32"),ue("/LastChar 255"),ue(">>"),ue("endobj"))},lt=function(e){e.objectNumber=Xe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[A(e.x),A(e.y),A(e.x+e.width),A(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var r=e.pages[1].join("\n");ot({data:r,additionalKeyValues:t,objectId:e.objectNumber}),ue("endobj")},ct=function(e,t){t||(t=21);var r=Xe(),n=function(e,t){var r,n=[],o=1/(t-1);for(r=0;r<1;r+=o)n.push(r);if(n.push(1),0!=e[0].offset){var i={offset:0,color:e[0].color};e.unshift(i)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}for(var s="",l=0,c=0;c<n.length;c++){for(r=n[c];r>e[l+1].offset;)l++;var u=e[l].offset,d=(r-u)/(e[l+1].offset-u),h=e[l].color,p=e[l+1].color;s+=ee(Math.round((1-d)*h[0]+d*p[0]).toString(16))+ee(Math.round((1-d)*h[1]+d*p[1]).toString(16))+ee(Math.round((1-d)*h[2]+d*p[2]).toString(16))}return s.trim()}(e.colors,t),o=[];o.push({key:"FunctionType",value:"0"}),o.push({key:"Domain",value:"[0.0 1.0]"}),o.push({key:"Size",value:"["+t+"]"}),o.push({key:"BitsPerSample",value:"8"}),o.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),o.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ot({data:n,additionalKeyValues:o,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),ue("endobj"),e.objectNumber=Xe(),ue("<< /ShadingType "+e.type),ue("/ColorSpace /DeviceRGB");var i="/Coords ["+A(parseFloat(e.coords[0]))+" "+A(parseFloat(e.coords[1]))+" ";2===e.type?i+=A(parseFloat(e.coords[2]))+" "+A(parseFloat(e.coords[3])):i+=A(parseFloat(e.coords[2]))+" "+A(parseFloat(e.coords[3]))+" "+A(parseFloat(e.coords[4]))+" "+A(parseFloat(e.coords[5])),ue(i+="]"),e.matrix&&ue("/Matrix ["+e.matrix.toString()+"]"),ue("/Function "+r+" 0 R"),ue("/Extend [true true]"),ue(">>"),ue("endobj")},ut=function(e,t){var r=Ye(),n=Xe();t.push({resourcesOid:r,objectOid:n}),e.objectNumber=n;var o=[];o.push({key:"Type",value:"/Pattern"}),o.push({key:"PatternType",value:"1"}),o.push({key:"PaintType",value:"1"}),o.push({key:"TilingType",value:"1"}),o.push({key:"BBox",value:"["+e.boundingBox.map(A).join(" ")+"]"}),o.push({key:"XStep",value:A(e.xStep)}),o.push({key:"YStep",value:A(e.yStep)}),o.push({key:"Resources",value:r+" 0 R"}),e.matrix&&o.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),ot({data:e.stream,additionalKeyValues:o,objectId:e.objectNumber}),ue("endobj")},dt=function(e){for(var t in e.objectNumber=Xe(),ue("<<"),e)switch(t){case"opacity":ue("/ca "+B(e[t]));break;case"stroke-opacity":ue("/CA "+B(e[t]))}ue(">>"),ue("endobj")},ht=function(e){Ke(e.resourcesOid,!0),ue("<<"),ue("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in ue("/Font <<"),Ne)Ne.hasOwnProperty(e)&&(!1===b||!0===b&&v.hasOwnProperty(e))&&ue("/"+e+" "+Ne[e].objectNumber+" 0 R");ue(">>")}(),function(){if(Object.keys(Ee).length>0){for(var e in ue("/Shading <<"),Ee)Ee.hasOwnProperty(e)&&Ee[e]instanceof T&&Ee[e].objectNumber>=0&&ue("/"+e+" "+Ee[e].objectNumber+" 0 R");Re.publish("putShadingPatternDict"),ue(">>")}}(),function(e){if(Object.keys(Ee).length>0){for(var t in ue("/Pattern <<"),Ee)Ee.hasOwnProperty(t)&&Ee[t]instanceof y.TilingPattern&&Ee[t].objectNumber>=0&&Ee[t].objectNumber<e&&ue("/"+t+" "+Ee[t].objectNumber+" 0 R");Re.publish("putTilingPatternDict"),ue(">>")}}(e.objectOid),function(){if(Object.keys(Me).length>0){var e;for(e in ue("/ExtGState <<"),Me)Me.hasOwnProperty(e)&&Me[e].objectNumber>=0&&ue("/"+e+" "+Me[e].objectNumber+" 0 R");Re.publish("putGStateDict"),ue(">>")}}(),function(){for(var e in ue("/XObject <<"),De)De.hasOwnProperty(e)&&De[e].objectNumber>=0&&ue("/"+e+" "+De[e].objectNumber+" 0 R");Re.publish("putXobjectDict"),ue(">>")}(),ue(">>"),ue("endobj")},pt=function(e){Ae[e.fontName]=Ae[e.fontName]||{},Ae[e.fontName][e.fontStyle]=e.id},mt=function(e,t,r,n,o){var i={id:"F"+(Object.keys(Ne).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:r,encoding:n,isStandardFont:o||!1,metadata:{}};return Re.publish("addFont",{font:i,instance:this}),Ne[i.id]=i,pt(i),i.id},ft=y.__private__.pdfEscape=y.pdfEscape=function(e,t){return function(e,t){var r,n,o,i,a,s,l,c,u;if(o=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&Ne[Ce].metadata&&Ne[Ce].metadata[o]&&Ne[Ce].metadata[o].encoding&&(i=Ne[Ce].metadata[o].encoding,!a&&Ne[Ce].encoding&&(a=Ne[Ce].encoding),!a&&i.codePages&&(a=i.codePages[0]),"string"==typeof a&&(a=i[a]),a)){for(l=!1,s=[],r=0,n=e.length;r<n;r++)(c=a[e.charCodeAt(r)])?s.push(String.fromCharCode(c)):s.push(e[r]),s[r].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(r=e.length;void 0===l&&0!==r;)e.charCodeAt(r-1)>>8&&(l=!0),r--;if(!l)return e;for(s=t.noBOM?[]:[254,255],r=0,n=e.length;r<n;r++){if((u=(c=e.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},gt=y.__private__.beginPage=function(e){ae[++Be]=[],Te[Be]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},yt(Be),ce(ae[J])},bt=function(e,t){var n,o,a;switch(r=t||r,"string"==typeof e&&(n=k(e.toLowerCase()),Array.isArray(n)&&(o=n[0],a=n[1])),Array.isArray(e)&&(o=e[0]*$e,a=e[1]*$e),isNaN(o)&&(o=i[0],a=i[1]),(o>14400||a>14400)&&(c.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),a=Math.min(14400,a)),i=[o,a],r.substr(0,1)){case"l":a>o&&(i=[a,o]);break;case"p":o>a&&(i=[a,o])}gt(i),Kt(Xt),ue(ir),0!==dr&&ue(dr+" J"),0!==hr&&ue(hr+" j"),Re.publish("addPage",{pageNumber:Be})},vt=function(e){e>0&&e<=Be&&(ae.splice(e,1),Te.splice(e,1),Be--,J>Be&&(J=Be),this.setPage(J))},yt=function(e){e>0&&e<=Be&&(J=e)},wt=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return ae.length-1},xt=function(e,t,r){var n,o=void 0;return r=r||{},e=void 0!==e?e:Ne[Ce].fontName,t=void 0!==t?t:Ne[Ce].fontStyle,n=e.toLowerCase(),void 0!==Ae[n]&&void 0!==Ae[n][t]?o=Ae[n][t]:void 0!==Ae[e]&&void 0!==Ae[e][t]?o=Ae[e][t]:!1===r.disableWarning&&c.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),o||r.noFallback||null==(o=Ae.times[t])&&(o=Ae.times.normal),o},St=y.__private__.putInfo=function(){var e=Xe(),t=function(e){return e};for(var r in null!==f&&(t=It.encryptor(e,0)),ue("<<"),ue("/Producer ("+ft(t("jsPDF "+F.version))+")"),ke)ke.hasOwnProperty(r)&&ke[r]&&ue("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+ft(t(ke[r]))+")");ue("/CreationDate ("+ft(t(W))+")"),ue(">>"),ue("endobj")},kt=y.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Qe;switch(Xe(),ue("<<"),ue("/Type /Catalog"),ue("/Pages "+t+" 0 R"),fe||(fe="fullwidth"),fe){case"fullwidth":ue("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ue("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ue("/OpenAction [3 0 R /Fit]");break;case"original":ue("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+fe;"%"===r.substr(r.length-1)&&(fe=parseInt(fe)/100),"number"==typeof fe&&ue("/OpenAction [3 0 R /XYZ null null "+B(fe)+"]")}switch(we||(we="continuous"),we){case"continuous":ue("/PageLayout /OneColumn");break;case"single":ue("/PageLayout /SinglePage");break;case"two":case"twoleft":ue("/PageLayout /TwoColumnLeft");break;case"tworight":ue("/PageLayout /TwoColumnRight")}ve&&ue("/PageMode /"+ve),Re.publish("putCatalog"),ue(">>"),ue("endobj")},Ct=y.__private__.putTrailer=function(){ue("trailer"),ue("<<"),ue("/Size "+(te+1)),ue("/Root "+te+" 0 R"),ue("/Info "+(te-1)+" 0 R"),null!==f&&ue("/Encrypt "+It.oid+" 0 R"),ue("/ID [ <"+Z+"> <"+Z+"> ]"),ue(">>")},$t=y.__private__.putHeader=function(){ue("%PDF-"+w),ue("%ºß¬à")},jt=y.__private__.putXRef=function(){var e="0000000000";ue("xref"),ue("0 "+(te+1)),ue("0000000000 65535 f ");for(var t=1;t<=te;t++)"function"==typeof re[t]?ue((e+re[t]()).slice(-10)+" 00000 n "):void 0!==re[t]?ue((e+re[t]).slice(-10)+" 00000 n "):ue("0000000000 00000 n ")},Ot=y.__private__.buildDocument=function(){var e;te=0,oe=0,ne=[],re=[],ie=[],Qe=Ye(),et=Ye(),ce(ne),Re.publish("buildDocument"),$t(),at(),function(){Re.publish("putAdditionalObjects");for(var e=0;e<ie.length;e++){var t=ie[e];Ke(t.objId,!0),ue(t.content),ue("endobj")}Re.publish("postPutAdditionalObjects")}(),e=[],function(){for(var e in Ne)Ne.hasOwnProperty(e)&&(!1===b||!0===b&&v.hasOwnProperty(e))&&st(Ne[e])}(),function(){var e;for(e in Me)Me.hasOwnProperty(e)&&dt(Me[e])}(),function(){for(var e in De)De.hasOwnProperty(e)&&lt(De[e])}(),function(e){var t;for(t in Ee)Ee.hasOwnProperty(t)&&(Ee[t]instanceof T?ct(Ee[t]):Ee[t]instanceof R&&ut(Ee[t],e))}(e),Re.publish("putResources"),e.forEach(ht),ht({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),Re.publish("postPutResources"),null!==f&&(It.oid=Xe(),ue("<<"),ue("/Filter /Standard"),ue("/V "+It.v),ue("/R "+It.r),ue("/U <"+It.toHexString(It.U)+">"),ue("/O <"+It.toHexString(It.O)+">"),ue("/P "+It.P),ue(">>"),ue("endobj")),St(),kt();var t=oe;return jt(),Ct(),ue("startxref"),ue(""+t),ue("%%EOF"),ce(ae[J]),ne.join("\n")},_t=y.__private__.getBlob=function(e){return new Blob([he(e)],{type:"application/pdf"})},Nt=y.output=y.__private__.output=(Ge=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Ot();case"save":y.save(t.filename);break;case"arraybuffer":return he(Ot());case"blob":return _t(Ot());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(_t(Ot()))||void 0;c.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=Ot();try{r=g(n)}catch(e){r=g(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+t.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var o="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(o=t.pdfObjectUrl,i="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+o+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",l=s.open();return null!==l&&l.document.write(a),l}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',d=s.open();if(null!==d){d.document.write(u);var h=this;d.document.documentElement.querySelector("#pdfViewer").onload=function(){d.document.title=t.filename,d.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.output("bloburl"))}}return d}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(s))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var p='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',m=s.open();if(null!==m&&(m.document.write(p),m.document.title=t.filename),m||"undefined"==typeof safari)return m;break;case"datauri":case"dataurl":return s.document.location.href=this.output("datauristring",t);default:return null}},Ge.foo=function(){try{return Ge.apply(this,arguments)}catch(r){var e=r.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+r.message;if(!s.console)throw new Error(t);s.console.error(t,r),s.alert&&alert(t)}},Ge.foo.bar=Ge,Ge.foo),At=function(e){return!0===Array.isArray(Fe)&&Fe.indexOf(e)>-1};switch(o){case"pt":$e=1;break;case"mm":$e=72/25.4;break;case"cm":$e=72/2.54;break;case"in":$e=72;break;case"px":$e=1==At("px_scaling")?.75:96/72;break;case"pc":case"em":$e=12;break;case"ex":$e=6;break;default:if("number"!=typeof o)throw new Error("Invalid unit: "+o);$e=o}var It=null;Y(),V();var Et=y.__private__.getPageInfo=y.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Te[e].objId,pageNumber:e,pageContext:Te[e]}},zt=y.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Te)if(Te[t].objId===e)break;return Et(t)},Mt=y.__private__.getCurrentPageInfo=y.getCurrentPageInfo=function(){return{objId:Te[J].objId,pageNumber:J,pageContext:Te[J]}};y.addPage=function(){return bt.apply(this,arguments),this},y.setPage=function(){return yt.apply(this,arguments),ce.call(this,ae[J]),this},y.insertPage=function(e){return this.addPage(),this.movePage(J,e),this},y.movePage=function(e,t){var r,n;if(e>t){r=ae[e],n=Te[e];for(var o=e;o>t;o--)ae[o]=ae[o-1],Te[o]=Te[o-1];ae[t]=r,Te[t]=n,this.setPage(t)}else if(e<t){r=ae[e],n=Te[e];for(var i=e;i<t;i++)ae[i]=ae[i+1],Te[i]=Te[i+1];ae[t]=r,Te[t]=n,this.setPage(t)}return this},y.deletePage=function(){return vt.apply(this,arguments),this},y.__private__.text=y.text=function(e,t,r,o,i){var a,s,l,c,u,d,h,p,m,f=(o=o||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var g=r;r=t,t=e,e=g}if(arguments[3]instanceof We==0?(l=arguments[4],c=arguments[5],"object"===(0,n.Z)(h=arguments[3])&&null!==h||("string"==typeof l&&(c=l,l=null),"string"==typeof h&&(c=h,h=null),"number"==typeof h&&(l=h,h=null),o={flags:h,angle:l,align:c})):(I("The transform parameter of text() with a Matrix value"),m=i),isNaN(t)||isNaN(r)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return f;var b,y="",w="number"==typeof o.lineHeightFactor?o.lineHeightFactor:Gt,x=f.internal.scaleFactor;function S(e){return e=e.split("\t").join(Array(o.TabLen||9).join(" ")),ft(e,h)}function k(e){for(var t,r=e.concat(),n=[],o=r.length;o--;)"string"==typeof(t=r.shift())?n.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?n.push(t[0]):n.push([t[0],t[1],t[2]]);return n}function C(e,t){var r;if("string"==typeof e)r=t(e)[0];else if(Array.isArray(e)){for(var n,o,i=e.concat(),a=[],s=i.length;s--;)"string"==typeof(n=i.shift())?a.push(t(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(o=t(n[0],n[1],n[2]),a.push([o[0],o[1],o[2]]));r=a}return r}var O=!1,_=!0;if("string"==typeof e)O=!0;else if(Array.isArray(e)){var N=e.concat();s=[];for(var E,z=N.length;z--;)("string"!=typeof(E=N.shift())||Array.isArray(E)&&"string"!=typeof E[0])&&(_=!1);O=_}if(!1===O)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var M=me/f.internal.scaleFactor,P=M*(w-1);switch(o.baseline){case"bottom":r-=P;break;case"top":r+=M-P;break;case"hanging":r+=M-2*P;break;case"middle":r+=M/2-P}if((d=o.maxWidth||0)>0&&("string"==typeof e?e=f.splitTextToSize(e,d):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(f.splitTextToSize(t,d))}),[]))),a={text:e,x:t,y:r,options:o,mutex:{pdfEscape:ft,activeFontKey:Ce,fonts:Ne,activeFontSize:me}},Re.publish("preProcessText",a),e=a.text,l=(o=a.options).angle,m instanceof We==0&&l&&"number"==typeof l){l*=Math.PI/180,0===o.rotationDirection&&(l=-l),j===$&&(l=-l);var L=Math.cos(l),B=Math.sin(l);m=new We(L,B,-B,L,0,0)}else l&&l instanceof We&&(m=l);j!==$||m||(m=Ue),void 0!==(u=o.charSpace||cr)&&(y+=A(q(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(p=o.horizontalScale)&&(y+=A(100*p)+" Tz\n"),o.lang;var T=-1,R=void 0!==o.renderingMode?o.renderingMode:o.stroke,F=f.internal.getCurrentPageInfo().pageContext;switch(R){case 0:case!1:case"fill":T=0;break;case 1:case!0:case"stroke":T=1;break;case 2:case"fillThenStroke":T=2;break;case 3:case"invisible":T=3;break;case 4:case"fillAndAddForClipping":T=4;break;case 5:case"strokeAndAddPathForClipping":T=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":T=6;break;case 7:case"addToPathForClipping":T=7}var D=void 0!==F.usedRenderingMode?F.usedRenderingMode:-1;-1!==T?y+=T+" Tr\n":-1!==D&&(y+="0 Tr\n"),-1!==T&&(F.usedRenderingMode=T),c=o.align||"left";var H,W=me*w,Z=f.internal.pageSize.getWidth(),U=Ne[Ce];u=o.charSpace||cr,d=o.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},o.flags);var V=[],G=function(e){return f.getStringUnitWidth(e,{font:U,charSpace:u,fontSize:me,doKerning:!1})*me/x};if("[object Array]"===Object.prototype.toString.call(e)){var X;s=k(e),"left"!==c&&(H=s.map(G));var Y,K=0;if("right"===c){t-=H[0],e=[],z=s.length;for(var J=0;J<z;J++)0===J?(Y=tr(t),X=rr(r)):(Y=q(K-H[J]),X=-W),e.push([s[J],Y,X]),K=H[J]}else if("center"===c){t-=H[0]/2,e=[],z=s.length;for(var Q=0;Q<z;Q++)0===Q?(Y=tr(t),X=rr(r)):(Y=q((K-H[Q])/2),X=-W),e.push([s[Q],Y,X]),K=H[Q]}else if("left"===c){e=[],z=s.length;for(var ee=0;ee<z;ee++)e.push(s[ee])}else if("justify"===c&&"Identity-H"===U.encoding){e=[],z=s.length,d=0!==d?d:Z;for(var te=0,re=0;re<z;re++)if(X=0===re?rr(r):-W,Y=0===re?tr(t):te,re<z-1){var ne=q((d-H[re])/(s[re].split(" ").length-1)),oe=s[re].split(" ");e.push([oe[0]+" ",Y,X]),te=0;for(var ie=1;ie<oe.length;ie++){var ae=(G(oe[ie-1]+" "+oe[ie])-G(oe[ie]))*x+ne;ie==oe.length-1?e.push([oe[ie],ae,0]):e.push([oe[ie]+" ",ae,0]),te-=ae}}else e.push([s[re],Y,X]);e.push(["",te,0])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],z=s.length,d=0!==d?d:Z,re=0;re<z;re++){X=0===re?rr(r):-W,Y=0===re?tr(t):0;var se=s[re].split(" ").length-1,le=se>0?(d-H[re])/se:0;re<z-1?V.push(A(q(le))):V.push(0),e.push([s[re],Y,X])}}}!0===("boolean"==typeof o.R2L?o.R2L:be)&&(e=C(e,(function(e,t,r){return[e.split("").reverse().join(""),t,r]}))),a={text:e,x:t,y:r,options:o,mutex:{pdfEscape:ft,activeFontKey:Ce,fonts:Ne,activeFontSize:me}},Re.publish("postProcessText",a),e=a.text,b=a.mutex.isHex||!1;var ce=Ne[Ce].encoding;"WinAnsiEncoding"!==ce&&"StandardEncoding"!==ce||(e=C(e,(function(e,t,r){return[S(e),t,r]}))),s=k(e),e=[];for(var de,he,pe,fe=Array.isArray(s[0])?1:0,ge="",ve=function(e,t,r){var n="";return r instanceof We?(r="number"==typeof o.angle?Ze(r,new We(1,0,0,1,e,t)):Ze(new We(1,0,0,1,e,t),r),j===$&&(r=Ze(new We(1,0,0,-1,0,0),r)),n=r.join(" ")+" Tm\n"):n=A(e)+" "+A(t)+" Td\n",n},ye=0;ye<s.length;ye++){switch(ge="",fe){case 1:pe=(b?"<":"(")+s[ye][0]+(b?">":")"),de=parseFloat(s[ye][1]),he=parseFloat(s[ye][2]);break;case 0:pe=(b?"<":"(")+s[ye]+(b?">":")"),de=tr(t),he=rr(r)}void 0!==V&&void 0!==V[ye]&&(ge=V[ye]+" Tw\n"),0===ye?e.push(ge+ve(de,he,m)+pe):0===fe?e.push(ge+pe):1===fe&&e.push(ge+ve(de,he,m)+pe)}e=0===fe?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var we="BT\n/";return we+=Ce+" "+me+" Tf\n",we+=A(me*w)+" TL\n",we+=sr+"\n",we+=y,we+=e,ue(we+="ET"),v[Ce]=!0,f};var Pt=y.__private__.clip=y.clip=function(e){return ue("evenodd"===e?"W*":"W"),this};y.clipEvenOdd=function(){return Pt("evenodd")},y.__private__.discardPath=y.discardPath=function(){return ue("n"),this};var Lt=y.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};y.__private__.setDefaultPathOperation=y.setDefaultPathOperation=function(e){return Lt(e)&&(h=e),this};var Bt=y.__private__.getStyle=y.getStyle=function(e){var t=h;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Tt=y.close=function(){return ue("h"),this};y.stroke=function(){return ue("S"),this},y.fill=function(e){return Rt("f",e),this},y.fillEvenOdd=function(e){return Rt("f*",e),this},y.fillStroke=function(e){return Rt("B",e),this},y.fillStrokeEvenOdd=function(e){return Rt("B*",e),this};var Rt=function(e,t){"object"===(0,n.Z)(t)?qt(t,e):ue(e)},Ft=function(e){null===e||j===$&&void 0===e||(e=Bt(e),ue(e))};function Dt(e,t,r,n,o){var i=new R(t||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,o||this.matrix);i.stream=this.stream;var a=e+"$$"+this.cloneIndex+++"$$";return Ve(a,i),i}var qt=function(e,t){var r=ze[e.key],n=Ee[r];if(n instanceof T)ue("q"),ue(Ht(t)),n.gState&&y.setGState(n.gState),ue(e.matrix.toString()+" cm"),ue("/"+r+" sh"),ue("Q");else if(n instanceof R){var o=new We(1,0,0,-1,0,$r());e.matrix&&(o=o.multiply(e.matrix||Ue),r=Dt.call(n,e.key,e.boundingBox,e.xStep,e.yStep,o).id),ue("q"),ue("/Pattern cs"),ue("/"+r+" scn"),n.gState&&y.setGState(n.gState),ue(t),ue("Q")}},Ht=function(e){switch(e){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"}},Wt=y.moveTo=function(e,t){return ue(A(q(e))+" "+A(H(t))+" m"),this},Zt=y.lineTo=function(e,t){return ue(A(q(e))+" "+A(H(t))+" l"),this},Ut=y.curveTo=function(e,t,r,n,o,i){return ue([A(q(e)),A(H(t)),A(q(r)),A(H(n)),A(q(o)),A(H(i)),"c"].join(" ")),this};y.__private__.line=y.line=function(e,t,r,n,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(o))throw new Error("Invalid arguments passed to jsPDF.line");return j===C?this.lines([[r-e,n-t]],e,t,[1,1],o||"S"):this.lines([[r-e,n-t]],e,t,[1,1]).stroke()},y.__private__.lines=y.lines=function(e,t,r,n,o,i){var a,s,l,c,u,d,h,p,m,f,g,b;if("number"==typeof e&&(b=r,r=t,t=e,e=b),n=n||[1,1],i=i||!1,isNaN(t)||isNaN(r)||!Array.isArray(e)||!Array.isArray(n)||!Lt(o)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(Wt(t,r),a=n[0],s=n[1],c=e.length,f=t,g=r,l=0;l<c;l++)2===(u=e[l]).length?(f=u[0]*a+f,g=u[1]*s+g,Zt(f,g)):(d=u[0]*a+f,h=u[1]*s+g,p=u[2]*a+f,m=u[3]*s+g,f=u[4]*a+f,g=u[5]*s+g,Ut(d,h,p,m,f,g));return i&&Tt(),Ft(o),this},y.path=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.c;switch(r.op){case"m":Wt(n[0],n[1]);break;case"l":Zt(n[0],n[1]);break;case"c":Ut.apply(this,n);break;case"h":Tt()}}return this},y.__private__.rect=y.rect=function(e,t,r,n,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(o))throw new Error("Invalid arguments passed to jsPDF.rect");return j===C&&(n=-n),ue([A(q(e)),A(H(t)),A(q(r)),A(q(n)),"re"].join(" ")),Ft(o),this},y.__private__.triangle=y.triangle=function(e,t,r,n,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(o)||isNaN(i)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-e,n-t],[o-r,i-n],[e-o,t-i]],e,t,[1,1],a,!0),this},y.__private__.roundedRect=y.roundedRect=function(e,t,r,n,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(o)||isNaN(i)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return o=Math.min(o,.5*r),i=Math.min(i,.5*n),this.lines([[r-2*o,0],[o*s,0,o,i-i*s,o,i],[0,n-2*i],[0,i*s,-o*s,i,-o,i],[2*o-r,0],[-o*s,0,-o,-i*s,-o,-i],[0,2*i-n],[0,-i*s,o*s,-i,o,-i]],e+o,t,[1,1],a,!0),this},y.__private__.ellipse=y.ellipse=function(e,t,r,n,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(o))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*r,a=4/3*(Math.SQRT2-1)*n;return Wt(e+r,t),Ut(e+r,t-a,e+i,t-n,e,t-n),Ut(e-i,t-n,e-r,t-a,e-r,t),Ut(e-r,t+a,e-i,t+n,e,t+n),Ut(e+i,t+n,e+r,t+a,e+r,t),Ft(o),this},y.__private__.circle=y.circle=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||!Lt(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,r,r,n)},y.setFont=function(e,t,r){return r&&(t=N(t,r)),Ce=xt(e,t,{disableWarning:!1}),this};var Vt=y.__private__.getFont=y.getFont=function(){return Ne[xt.apply(y,arguments)]};y.__private__.getFontList=y.getFontList=function(){var e,t,r={};for(e in Ae)if(Ae.hasOwnProperty(e))for(t in r[e]=[],Ae[e])Ae[e].hasOwnProperty(t)&&r[e].push(t);return r},y.addFont=function(e,t,r,n,o){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?o=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(r=N(r,n)),mt.call(this,e,t,r,o=o||"Identity-H")};var Gt,Xt=e.lineWidth||.200025,Yt=y.__private__.getLineWidth=y.getLineWidth=function(){return Xt},Kt=y.__private__.setLineWidth=y.setLineWidth=function(e){return Xt=e,ue(A(q(e))+" w"),this};y.__private__.setLineDash=F.API.setLineDash=F.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return A(q(e))})).join(" "),t=A(q(t)),ue("["+e+"] "+t+" d"),this};var Jt=y.__private__.getLineHeight=y.getLineHeight=function(){return me*Gt};y.__private__.getLineHeight=y.getLineHeight=function(){return me*Gt};var Qt=y.__private__.setLineHeightFactor=y.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Gt=e),this},er=y.__private__.getLineHeightFactor=y.getLineHeightFactor=function(){return Gt};Qt(e.lineHeight);var tr=y.__private__.getHorizontalCoordinate=function(e){return q(e)},rr=y.__private__.getVerticalCoordinate=function(e){return j===$?e:Te[J].mediaBox.topRightY-Te[J].mediaBox.bottomLeftY-q(e)},nr=y.__private__.getHorizontalCoordinateString=y.getHorizontalCoordinateString=function(e){return A(tr(e))},or=y.__private__.getVerticalCoordinateString=y.getVerticalCoordinateString=function(e){return A(rr(e))},ir=e.strokeColor||"0 G";y.__private__.getStrokeColor=y.getDrawColor=function(){return tt(ir)},y.__private__.setStrokeColor=y.setDrawColor=function(e,t,r,n){return ir=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),ue(ir),this};var ar=e.fillColor||"0 g";y.__private__.getFillColor=y.getFillColor=function(){return tt(ar)},y.__private__.setFillColor=y.setFillColor=function(e,t,r,n){return ar=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),ue(ar),this};var sr=e.textColor||"0 g",lr=y.__private__.getTextColor=y.getTextColor=function(){return tt(sr)};y.__private__.setTextColor=y.setTextColor=function(e,t,r,n){return sr=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var cr=e.charSpace,ur=y.__private__.getCharSpace=y.getCharSpace=function(){return parseFloat(cr||0)};y.__private__.setCharSpace=y.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return cr=e,this};var dr=0;y.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},y.__private__.setLineCap=y.setLineCap=function(e){var t=y.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return dr=t,ue(t+" J"),this};var hr=0;y.__private__.setLineJoin=y.setLineJoin=function(e){var t=y.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hr=t,ue(t+" j"),this},y.__private__.setLineMiterLimit=y.__private__.setMiterLimit=y.setLineMiterLimit=y.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ue(A(q(e))+" M"),this},y.GState=L,y.setGState=function(e){(e="string"==typeof e?Me[Pe[e]]:pr(null,e)).equals(Le)||(ue("/"+e.id+" gs"),Le=e)};var pr=function(e,t){if(!e||!Pe[e]){var r=!1;for(var n in Me)if(Me.hasOwnProperty(n)&&Me[n].equals(t)){r=!0;break}if(r)t=Me[n];else{var o="GS"+(Object.keys(Me).length+1).toString(10);Me[o]=t,t.id=o}return e&&(Pe[e]=t.id),Re.publish("addGState",t),t}};y.addGState=function(e,t){return pr(e,t),this},y.saveGraphicsState=function(){return ue("q"),Ie.push({key:Ce,size:me,color:sr}),this},y.restoreGraphicsState=function(){ue("Q");var e=Ie.pop();return Ce=e.key,me=e.size,sr=e.color,Le=null,this},y.setCurrentTransformationMatrix=function(e){return ue(e.toString()+" cm"),this},y.comment=function(e){return ue("#"+e),this};var mr=function(e,t){var r=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var n=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var o="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return o},set:function(e){o=e.toString()}}),this},fr=function(e,t,r,n){mr.call(this,e,t),this.type="rect";var o=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}});var i=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}}),this},gr=function(){this.page=Be,this.currentPage=J,this.pages=ae.slice(0),this.pagesContext=Te.slice(0),this.x=je,this.y=Oe,this.matrix=_e,this.width=yr(J),this.height=xr(J),this.outputDestination=le,this.id="",this.objectNumber=-1};gr.prototype.restore=function(){Be=this.page,J=this.currentPage,Te=this.pagesContext,ae=this.pages,je=this.x,Oe=this.y,_e=this.matrix,wr(J,this.width),Sr(J,this.height),le=this.outputDestination};var br=function(e,t,r,n,o){He.push(new gr),Be=J=0,ae=[],je=e,Oe=t,_e=o,gt([r,n])};for(var vr in y.beginFormObject=function(e,t,r,n,o){return br(e,t,r,n,o),this},y.endFormObject=function(e){return function(e){if(qe[e])He.pop().restore();else{var t=new gr,r="Xo"+(Object.keys(De).length+1).toString(10);t.id=r,qe[e]=r,De[r]=t,Re.publish("addFormObject",t),He.pop().restore()}}(e),this},y.doFormObject=function(e,t){var r=De[qe[e]];return ue("q"),ue(t.toString()+" cm"),ue("/"+r.id+" Do"),ue("Q"),this},y.getFormObject=function(e){var t=De[qe[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},y.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(p(_t(Ot()),e),"function"==typeof p.unload&&s.setTimeout&&setTimeout(p.unload,911),this):new Promise((function(t,r){try{var n=p(_t(Ot()),e);"function"==typeof p.unload&&s.setTimeout&&setTimeout(p.unload,911),t(n)}catch(e){r(e.message)}}))},F.API)F.API.hasOwnProperty(vr)&&("events"===vr&&F.API.events.length?function(e,t){var r,n,o;for(o=t.length-1;-1!==o;o--)r=t[o][0],n=t[o][1],e.subscribe.apply(e,[r].concat("function"==typeof n?[n]:n))}(Re,F.API.events):y[vr]=F.API[vr]);function yr(e){return Te[e].mediaBox.topRightX-Te[e].mediaBox.bottomLeftX}function wr(e,t){Te[e].mediaBox.topRightX=t+Te[e].mediaBox.bottomLeftX}function xr(e){return Te[e].mediaBox.topRightY-Te[e].mediaBox.bottomLeftY}function Sr(e,t){Te[e].mediaBox.topRightY=t+Te[e].mediaBox.bottomLeftY}var kr=y.getPageWidth=function(e){return yr(e=e||J)/$e},Cr=y.setPageWidth=function(e,t){wr(e,t*$e)},$r=y.getPageHeight=function(e){return xr(e=e||J)/$e},jr=y.setPageHeight=function(e,t){Sr(e,t*$e)};return y.internal={pdfEscape:ft,getStyle:Bt,getFont:Vt,getFontSize:ge,getCharSpace:ur,getTextColor:lr,getLineHeight:Jt,getLineHeightFactor:er,getLineWidth:Yt,write:de,getHorizontalCoordinate:tr,getVerticalCoordinate:rr,getCoordinateString:nr,getVerticalCoordinateString:or,collections:{},newObject:Xe,newAdditionalObject:Je,newObjectDeferred:Ye,newObjectDeferredBegin:Ke,getFilters:nt,putStream:ot,events:Re,scaleFactor:$e,pageSize:{getWidth:function(){return kr(J)},setWidth:function(e){Cr(J,e)},getHeight:function(){return $r(J)},setHeight:function(e){jr(J,e)}},encryptionOptions:f,encryption:It,getEncryptor:function(e){return null!==f?It.encryptor(e,0):function(e){return e}},output:Nt,getNumberOfPages:wt,pages:ae,out:ue,f2:B,f3:D,getPageInfo:Et,getPageInfoByObjId:zt,getCurrentPageInfo:Mt,getPDFVersion:x,Point:mr,Rectangle:fr,Matrix:We,hasHotfix:At},Object.defineProperty(y.internal.pageSize,"width",{get:function(){return kr(J)},set:function(e){Cr(J,e)},enumerable:!0,configurable:!0}),Object.defineProperty(y.internal.pageSize,"height",{get:function(){return $r(J)},set:function(e){jr(J,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,r=pe.length;t<r;t++){var n=mt.call(this,e[t][0],e[t][1],e[t][2],pe[t][3],!0);!1===b&&(v[n]=!0);var o=e[t][0].split("-");pt({id:n,fontName:o[0],fontStyle:o[1]||""})}Re.publish("addFonts",{fonts:Ne,dictionary:Ae})}.call(y,pe),Ce="F1",bt(i,r),Re.publish("initialized"),y}z.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},z.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},z.prototype.hexToBytes=function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(String.fromCharCode(parseInt(e.substr(r,2),16)));return t.join("")},z.prototype.processOwnerPassword=function(e,t){return I(_(t).substr(0,5),e)},z.prototype.encryptor=function(e,t){var r=_(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return I(r,e)}},L.prototype.equals=function(e){var t,r="id,objectNumber,equals";if(!e||(0,n.Z)(e)!==(0,n.Z)(this))return!1;var o=0;for(t in this)if(!(r.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;o++}for(t in e)e.hasOwnProperty(t)&&r.indexOf(t)<0&&o--;return 0===o},F.API={events:[]},F.version="3.0.3";var D=F.API,q=1,H=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},W=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Z=function(e){return e.toFixed(2)},U=function(e){return e.toFixed(5)};D.__acroform__={};var V=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},G=function(e){return e*q},X=function(e){var t=new de,r=$e.internal.getHeight(e)||0,n=$e.internal.getWidth(e)||0;return t.BBox=[0,0,Number(Z(n)),Number(Z(r))],t},Y=D.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},K=D.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},J=D.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},Q=D.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return J(e,t-1)},ee=D.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Y(e,t-1)},te=D.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return K(e,t-1)},re=D.__acroform__.calculateCoordinates=function(e,t){var r=t.internal.getHorizontalCoordinate,n=t.internal.getVerticalCoordinate,o=e[0],i=e[1],a=e[2],s=e[3],l={};return l.lowerLeft_X=r(o)||0,l.lowerLeft_Y=n(i+s)||0,l.upperRight_X=r(o+a)||0,l.upperRight_Y=n(i)||0,[Number(Z(l.lowerLeft_X)),Number(Z(l.lowerLeft_Y)),Number(Z(l.upperRight_X)),Number(Z(l.upperRight_Y))]},ne=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],r=e._V||e.DV,n=oe(e,r),o=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+o+" "+Z(n.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(n.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=X(e);return i.scope=e.scope,i.stream=t.join("\n"),i}},oe=function(e,t){var r=0===e.fontSize?e.maxFontSize:e.fontSize,n={text:"",fontSize:""},o=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");o=e.multiline?o.map((function(e){return e.split("\n")})):o.map((function(e){return[e]}));var i=r,a=$e.internal.getHeight(e)||0;a=a<0?-a:a;var s=$e.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,r,n){if(t+1<o.length){var i=r+" "+o[t+1][0];return ie(i,e,n).width<=s-4}return!1};i++;e:for(;i>0;){t="",i--;var c,u,d=ie("3",e,i).height,h=e.multiline?a-i:(a-d)/2,p=h+=2,m=0,f=0,g=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+ie(t,e,i=12).width+", FieldWidth:"+s+"\n";break}for(var b="",v=0,y=0;y<o.length;y++)if(o.hasOwnProperty(y)){var w=!1;if(1!==o[y].length&&g!==o[y].length-1){if((d+2)*(v+2)+2>a)continue e;b+=o[y][g],w=!0,f=y,y--}else{b=" "==(b+=o[y][g]+" ").substr(b.length-1)?b.substr(0,b.length-1):b;var x=parseInt(y),S=l(x,b,i),k=y>=o.length-1;if(S&&!k){b+=" ",g=0;continue}if(S||k){if(k)f=x;else if(e.multiline&&(d+2)*(v+2)+2>a)continue e}else{if(!e.multiline)continue e;if((d+2)*(v+2)+2>a)continue e;f=x}}for(var C="",$=m;$<=f;$++){var j=o[$];if(e.multiline){if($===f){C+=j[g]+" ",g=(g+1)%j.length;continue}if($===m){C+=j[j.length-1]+" ";continue}}C+=j[0]+" "}switch(C=" "==C.substr(C.length-1)?C.substr(0,C.length-1):C,u=ie(C,e,i).width,e.textAlign){case"right":c=s-u-2;break;case"center":c=(s-u)/2;break;default:c=2}t+=Z(c)+" "+Z(p)+" Td\n",t+="("+H(C)+") Tj\n",t+=-Z(c)+" 0 Td\n",p=-(i+2),u=0,m=w?f:f+1,v++,b=""}break}return n.text=t,n.fontSize=i,n},ie=function(e,t,r){var n=t.scope.internal.getFont(t.fontName,t.fontStyle),o=t.scope.getStringUnitWidth(e,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:t.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:o}},ae={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},se=function(e,t){var r={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===r.type&&e.object===r.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(r)},le=D.__acroform__.arrayToPdfArray=function(e,t,r){var o=function(e){return e};if(Array.isArray(e)){for(var i="[",a=0;a<e.length;a++)switch(0!==a&&(i+=" "),(0,n.Z)(e[a])){case"boolean":case"number":case"object":i+=e[a].toString();break;case"string":"/"!==e[a].substr(0,1)?(void 0!==t&&r&&(o=r.internal.getEncryptor(t)),i+="("+H(o(e[a].toString()))+")"):i+=e[a].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ce=function(e,t,r){var n=function(e){return e};return void 0!==t&&r&&(n=r.internal.getEncryptor(t)),(e=e||"").toString(),"("+H(n(e))+")"},ue=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)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})};ue.prototype.toString=function(){return this.objId+" 0 R"},ue.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},ue.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var r in t)if(!1===Object.getOwnPropertyDescriptor(this,t[r]).configurable){var n=t[r],o=this[n];o&&(Array.isArray(o)?e.push({key:n,value:le(o,this.objId,this.scope)}):o instanceof ue?(o.scope=this.scope,e.push({key:n,value:o.objId+" 0 R"})):"function"!=typeof o&&e.push({key:n,value:o}))}return e};var de=function(){ue.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,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};V(de,ue);var he=function(){ue.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+H(t(e))+")"}},set:function(t){e=t}})};V(he,ue);var pe=function e(){ue.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(t,3))},set:function(e){!0===Boolean(e)?this.F=ee(t,3):this.F=te(t,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');r=e}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==n.length)return n},set:function(e){n=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(e){n[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(e){n[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(e){n[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(e){n[3]=e}});var o="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return o},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":o=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof xe)return;i="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+H(t(i))+")"},set:function(e){i=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(e){i=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/q:c},set:function(e){c=e}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(e){u=e}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof xe||this instanceof ke))return ce(d,this.objId,this.scope)},set:function(e){e=e.toString(),d=e}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ve==0?ce(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ve==0?"("===e.substr(0,1)?W(e.substr(1,e.length-2)):W(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ve==1?W(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ve==1?"/"+e:e}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof ve==0?ce(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof ve==0?"("===e.substr(0,1)?W(e.substr(1,e.length-2)):W(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ve==1?W(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof ve==1?"/"+e:e}}),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 m,f=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return f},set:function(e){e=Boolean(e),f=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(m)return m},set:function(e){m=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,1):this.Ff=te(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,2):this.Ff=te(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,3):this.Ff=te(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};V(pe,ue);var me=function(){pe.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(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return le(t,this.objId,this.scope)},set:function(e){var r,n;n=[],"string"==typeof(r=e)&&(n=function(e,t,r){r||(r=1);for(var n,o=[];n=t.exec(e);)o.push(n[r]);return o}(r,/\((.*?)\)/g)),t=n}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,18):this.Ff=te(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=ee(this.Ff,19):this.Ff=te(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=ee(this.Ff,20),t.sort()):this.Ff=te(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,22):this.Ff=te(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,23):this.Ff=te(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,27):this.Ff=te(this.Ff,27)}}),this.hasAppearanceStream=!1};V(me,pe);var fe=function(){me.call(this),this.fontName="helvetica",this.combo=!1};V(fe,me);var ge=function(){fe.call(this),this.combo=!0};V(ge,fe);var be=function(){ge.call(this),this.edit=!0};V(be,ge);var ve=function(){pe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,15):this.Ff=te(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,16):this.Ff=te(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,17):this.Ff=te(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,26):this.Ff=te(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,n=[];for(r in n.push("<<"),t)n.push("/"+r+" ("+H(e(t[r]))+")");return n.push(">>"),n.join("\n")}},set:function(e){"object"===(0,n.Z)(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};V(ve,pe);var ye=function(){ve.call(this),this.pushButton=!0};V(ye,ve);var we=function(){ve.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};V(we,ve);var xe=function(){var e,t;pe.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var r,o={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,r=[];for(t in r.push("<<"),o)r.push("/"+t+" ("+H(e(o[t]))+")");return r.push(">>"),r.join("\n")},set:function(e){"object"===(0,n.Z)(e)&&(o=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return o.CA||""},set:function(e){"string"==typeof e&&(o.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=$e.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};V(xe,pe),we.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 t in this.Kids)if(this.Kids.hasOwnProperty(t)){var r=this.Kids[t];r.appearanceStreamContent=e.createAppearanceStream(r.optionName),r.caption=e.getCA()}},we.prototype.createOption=function(e){var t=new xe;return t.Parent=this,t.optionName=e,this.Kids.push(t),je.call(this.scope,t),t};var Se=function(){ve.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=$e.CheckBox.createAppearanceStream()};V(Se,ve);var ke=function(){pe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,13):this.Ff=te(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,21):this.Ff=te(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,23):this.Ff=te(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,24):this.Ff=te(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,25):this.Ff=te(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,26):this.Ff=te(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};V(ke,pe);var Ce=function(){ke.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=ee(this.Ff,14):this.Ff=te(this.Ff,14)}}),this.password=!0};V(Ce,ke);var $e={CheckBox:{createAppearanceStream:function(){return{N:{On:$e.CheckBox.YesNormal},D:{On:$e.CheckBox.YesPushDown,Off:$e.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var r=[],n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,o=e.scope.__private__.encodeColorString(e.color),i=oe(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+Z($e.internal.getWidth(e))+" "+Z($e.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+Z(i.fontSize)+" Tf "+o),r.push("BT"),r.push(i.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=X(e);t.scope=e.scope;var r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),o=[],i=$e.internal.getHeight(e),a=$e.internal.getWidth(e),s=oe(e,e.caption);return o.push("1 g"),o.push("0 0 "+Z(a)+" "+Z(i)+" re"),o.push("f"),o.push("q"),o.push("0 0 1 rg"),o.push("0 0 "+Z(a-1)+" "+Z(i-1)+" re"),o.push("W"),o.push("n"),o.push("0 g"),o.push("BT"),o.push("/"+r+" "+Z(s.fontSize)+" Tf "+n),o.push(s.text),o.push("ET"),o.push("Q"),t.stream=o.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Z($e.internal.getWidth(e))+" "+Z($e.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:$e.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=$e.RadioButton.Circle.YesNormal,t.D[e]=$e.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=X(e);t.scope=e.scope;var r=[],n=$e.internal.getWidth(e)<=$e.internal.getHeight(e)?$e.internal.getWidth(e)/4:$e.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var o=$e.internal.Bezier_C,i=Number((n*o).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+U($e.internal.getWidth(e)/2)+" "+U($e.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),r.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),r.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),r.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var r=[],n=$e.internal.getWidth(e)<=$e.internal.getHeight(e)?$e.internal.getWidth(e)/4:$e.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var o=Number((2*n).toFixed(5)),i=Number((o*$e.internal.Bezier_C).toFixed(5)),a=Number((n*$e.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+U($e.internal.getWidth(e)/2)+" "+U($e.internal.getHeight(e)/2)+" cm"),r.push(o+" 0 m"),r.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),r.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),r.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),r.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+U($e.internal.getWidth(e)/2)+" "+U($e.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var r=[],n=$e.internal.getWidth(e)<=$e.internal.getHeight(e)?$e.internal.getWidth(e)/4:$e.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var o=Number((2*n).toFixed(5)),i=Number((o*$e.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+U($e.internal.getWidth(e)/2)+" "+U($e.internal.getHeight(e)/2)+" cm"),r.push(o+" 0 m"),r.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),r.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),r.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),r.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:$e.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=$e.RadioButton.Cross.YesNormal,t.D[e]=$e.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=X(e);t.scope=e.scope;var r=[],n=$e.internal.calculateCross(e);return r.push("q"),r.push("1 1 "+Z($e.internal.getWidth(e)-2)+" "+Z($e.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Z(n.x1.x)+" "+Z(n.x1.y)+" m"),r.push(Z(n.x2.x)+" "+Z(n.x2.y)+" l"),r.push(Z(n.x4.x)+" "+Z(n.x4.y)+" m"),r.push(Z(n.x3.x)+" "+Z(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=X(e);t.scope=e.scope;var r=$e.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+Z($e.internal.getWidth(e))+" "+Z($e.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+Z($e.internal.getWidth(e)-2)+" "+Z($e.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Z(r.x1.x)+" "+Z(r.x1.y)+" m"),n.push(Z(r.x2.x)+" "+Z(r.x2.y)+" l"),n.push(Z(r.x4.x)+" "+Z(r.x4.y)+" m"),n.push(Z(r.x3.x)+" "+Z(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=X(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Z($e.internal.getWidth(e))+" "+Z($e.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};$e.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=$e.internal.getWidth(e),r=$e.internal.getHeight(e),n=Math.min(t,r);return{x1:{x:(t-n)/2,y:(r-n)/2+n},x2:{x:(t-n)/2+n,y:(r-n)/2},x3:{x:(t-n)/2,y:(r-n)/2},x4:{x:(t-n)/2+n,y:(r-n)/2+n}}}},$e.internal.getWidth=function(e){var t=0;return"object"===(0,n.Z)(e)&&(t=G(e.Rect[2])),t},$e.internal.getHeight=function(e){var t=0;return"object"===(0,n.Z)(e)&&(t=G(e.Rect[3])),t};var je=D.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(pe.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(ae)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");q=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new he,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){var t;(t=e).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];n.objId=void 0,n.hasAnnotation&&se(n,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var r=!e;for(var o in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(o)){var i=e[o],a=[],s=i.Rect;if(i.Rect&&(i.Rect=re(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=$e.createDefaultAppearanceStream(i),"object"===(0,n.Z)(i)&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var l=ne(i);a.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(i.appearanceStreamContent){var c="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var d=i.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var o in d)if(d.hasOwnProperty(o)){var h=d[o];"function"==typeof h&&(h=h.call(t,i)),c+="/"+o+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=d)&&(h=h.call(t,i)),c+="/"+o+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);c+=">>"}a.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:a,objectId:i.objId}),t.internal.out("endobj")}r&&function(e,t){for(var r in e)if(e.hasOwnProperty(r)){var o=r,i=e[r];t.internal.newObjectDeferredBegin(i.objId,!0),"object"===(0,n.Z)(i)&&"function"==typeof i.putStream&&i.putStream(),delete e[o]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof pe))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};D.AcroFormChoiceField=me,D.AcroFormListBox=fe,D.AcroFormComboBox=ge,D.AcroFormEditBox=be,D.AcroFormButton=ve,D.AcroFormPushButton=ye,D.AcroFormRadioButton=we,D.AcroFormCheckBox=Se,D.AcroFormTextField=ke,D.AcroFormPasswordField=Ce,D.AcroFormAppearance=$e,D.AcroForm={ChoiceField:me,ListBox:fe,ComboBox:ge,EditBox:be,Button:ve,PushButton:ye,RadioButton:we,CheckBox:Se,TextField:ke,PasswordField:Ce,Appearance:$e},F.AcroForm={ChoiceField:me,ListBox:fe,ComboBox:ge,EditBox:be,Button:ve,PushButton:ye,RadioButton:we,CheckBox:Se,TextField:ke,PasswordField:Ce,Appearance:$e};var Oe,_e,Ne=F.AcroForm;function Ae(e){return e.reduce((function(e,t,r){return e[t]=r,e}),{})}!function(e){var t="addImage_";e.__addimage__={};var r="UNKNOWN",o={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]]},i=e.__addimage__.getImageFileTypeByImageData=function(e,t){var n,i,a,s,l,c=r;if("RGBA"===(t=t||r)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(C(e))for(l in o)for(a=o[l],n=0;n<a.length;n+=1){for(s=!0,i=0;i<a[n].length;i+=1)if(void 0!==a[n][i]&&a[n][i]!==e[i]){s=!1;break}if(!0===s){c=l;break}}else for(l in o)for(a=o[l],n=0;n<a.length;n+=1){for(s=!0,i=0;i<a[n].length;i+=1)if(void 0!==a[n][i]&&a[n][i]!==e.charCodeAt(i)){s=!1;break}if(!0===s){c=l;break}}return c===r&&t!==r&&(c=t),c},a=function e(t){for(var r=this.internal.write,n=this.internal.putStream,o=(0,this.internal.getFilters)();-1!==o.indexOf("FlateEncode");)o.splice(o.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===y.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===y.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var a="",s=0,l=t.transparency.length;s<l;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";i.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(n({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:c,objectId:t.objectId}),r("endobj"),"sMask"in t&&void 0!==t.sMask){var u,d=null!==(u=t.sMaskBitsPerComponent)&&void 0!==u?u:t.bitsPerComponent,h={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:d,data:t.sMask};"filter"in t&&(h.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(d," /Columns ").concat(t.width),h.filter=t.filter),e.call(this,h)}if(t.colorSpace===y.INDEXED){var p=this.internal.newObject();n({data:j(new Uint8Array(t.palette)),objectId:p}),r("endobj")}},s=function(){var e=this.internal.collections[t+"images"];for(var r in e)a.call(this,e[r])},l=function(){var e,r=this.internal.collections[t+"images"],n=this.internal.write;for(var o in r)n("/I"+(e=r[o]).index,e.objectId,"0","R")},c=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",l))},u=function(){var e=this.internal.collections[t+"images"];return c.call(this),e},d=function(){return Object.keys(this.internal.collections[t+"images"]).length},h=function(t){return"function"==typeof e["process"+t.toUpperCase()]},p=function(e){return"object"===(0,n.Z)(e)&&1===e.nodeType},m=function(t,r){if("IMG"===t.nodeName&&t.hasAttribute("src")){var n=""+t.getAttribute("src");if(0===n.indexOf("data:image/"))return f(unescape(n).split("base64,").pop());var o=e.loadFile(n,!0);if(void 0!==o)return o}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var i;switch(r){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;default:i="image/jpeg"}return f(t.toDataURL(i,1).split("base64,").pop())}},g=function(e){var r=this.internal.collections[t+"images"];if(r)for(var n in r)if(e===r[n].alias)return r[n]},b=function(e,t,r){return e||t||(e=-96,t=-96),e<0&&(e=-1*r.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*r.height*72/t/this.internal.scaleFactor),0===e&&(e=t*r.width/r.height),0===t&&(t=e*r.height/r.width),[e,t]},v=function(e,t,r,n,o,i){var a=b.call(this,r,n,o),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=u.call(this);if(r=a[0],n=a[1],c[o.index]=o,i){i*=Math.PI/180;var d=Math.cos(i),h=Math.sin(i),p=function(e){return e.toFixed(4)},m=[p(d),p(h),p(-1*h),p(d),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,s(e),l(t+n),"cm"].join(" ")),this.internal.write(m.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(e),l(t+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+o.index+" Do"),this.internal.write("Q")},y=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 w=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},x=e.__addimage__.sHashCode=function(e){var t,r,n=0;if("string"==typeof e)for(r=e.length,t=0;t<r;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;else if(C(e))for(r=e.byteLength/2,t=0;t<r;t++)n=(n<<5)-n+e[t],n|=0;return n},S=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},k=e.__addimage__.extractImageFromDataUrl=function(e){if(null==e)return null;if(!(e=e.trim()).startsWith("data:"))return null;var t=e.indexOf(",");return t<0?null:e.substring(0,t).trim().endsWith("base64")?e.substring(t+1):null};e.__addimage__.isArrayBuffer=function(e){return e instanceof ArrayBuffer};var C=e.__addimage__.isArrayBufferView=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},$=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},j=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",r=C(e)?e:new Uint8Array(e),n=0;n<r.length;n+=8192)t+=String.fromCharCode.apply(null,r.subarray(n,n+8192));return t};e.addImage=function(){var e,t,o,i,a,s,l,u,d;if("number"==typeof arguments[1]?(t=r,o=arguments[1],i=arguments[2],a=arguments[3],s=arguments[4],l=arguments[5],u=arguments[6],d=arguments[7]):(t=arguments[1],o=arguments[2],i=arguments[3],a=arguments[4],s=arguments[5],l=arguments[6],u=arguments[7],d=arguments[8]),"object"===(0,n.Z)(e=arguments[0])&&!p(e)&&"imageData"in e){var h=e;e=h.imageData,t=h.format||t||r,o=h.x||o||0,i=h.y||i||0,a=h.w||h.width||a,s=h.h||h.height||s,l=h.alias||l,u=h.compression||u,d=h.rotation||h.angle||d}var m=this.internal.getFilters();if(void 0===u&&-1!==m.indexOf("FlateEncode")&&(u="SLOW"),isNaN(o)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var f=O.call(this,e,t,l,u);return v.call(this,o,i,a,s,f,d),this};var O=function(t,n,o,a){var s,l,c;if("string"==typeof t&&i(t)===r){t=unescape(t);var u=_(t,!1);(""!==u||void 0!==(u=e.loadFile(t,!0)))&&(t=u)}if(p(t)&&(t=m(t,n)),n=i(t,n),!h(n))throw new Error("addImage does not support files of type '"+n+"', please ensure that a plugin for '"+n+"' support is added.");if((null==(c=o)||0===c.length)&&(o=function(e){return"string"==typeof e||C(e)?x(e):C(e.data)?x(e.data):null}(t)),(s=g.call(this,o))||(t instanceof Uint8Array||"RGBA"===n||(l=t,t=$(t)),s=this["process"+n.toUpperCase()](t,d.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:w.NONE}(a),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},_=e.__addimage__.convertBase64ToBinaryString=function(e,t){t="boolean"!=typeof t||t;var r,n="";if("string"==typeof e){var o;r=null!==(o=k(e))&&void 0!==o?o:e;try{n=f(r)}catch(e){if(t)throw S(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return n};e.getImageProperties=function(t){var n,o,a="";if(p(t)&&(t=m(t)),"string"==typeof t&&i(t)===r&&(""===(a=_(t,!1))&&(a=e.loadFile(t)||""),t=a),o=i(t),!h(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(t instanceof Uint8Array||(t=$(t)),!(n=this["process"+o.toUpperCase()](t)))throw new Error("An unknown error occurred whilst processing the image");return n.fileType=o,n}}(F.API),Oe=F.API,_e=function(e){if(void 0!==e&&""!=e)return!0},F.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),Oe.events.push(["putPage",function(e){for(var t,r,n,o=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getPageInfoByObjId(e.objId),s=e.pageContext.annotations,l=!1,c=0;c<s.length&&!l;c++)switch((t=s[c]).type){case"link":(_e(t.options.url)||_e(t.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var u=0;u<s.length;u++){t=s[u];var d=this.internal.pdfEscape,h=this.internal.getEncryptor(e.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),f=this.internal.getEncryptor(p.objId),g=t.title||"Note";n="<</Type /Annot /Subtype /Text "+(r="/Rect ["+o(t.bounds.x)+" "+i(t.bounds.y+t.bounds.h)+" "+o(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y)+"] ")+"/Contents ("+d(f(t.contents))+")",n+=" /Popup "+m.objId+" 0 R",n+=" /P "+a.objId+" 0 R",n+=" /T ("+d(f(g))+") >>",p.content=n;var b=p.objId+" 0 R";n="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+o(t.bounds.x+30)+" "+i(t.bounds.y+t.bounds.h)+" "+o(t.bounds.x+t.bounds.w+30)+" "+i(t.bounds.y)+"] ")+" /Parent "+b,t.open&&(n+=" /Open true"),n+=" >>",m.content=n,this.internal.write(p.objId,"0 R",m.objId,"0 R");break;case"freetext":r="/Rect ["+o(t.bounds.x)+" "+i(t.bounds.y)+" "+o(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y+t.bounds.h)+"] ";var v=t.color||"#000000";n="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+d(h(t.contents))+")",n+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+v+")",n+=" /Border [0 0 0]",n+=" >>",this.internal.write(n);break;case"link":if(t.options.name){var y=this.annotations._nameMap[t.options.name];t.options.pageNumber=y.page,t.options.top=y.y}else t.options.top||(t.options.top=0);if(r="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",n="",t.options.url)n="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+d(h(t.options.url))+") >>";else if(t.options.pageNumber)switch(n="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":n+=" /Fit]";break;case"FitH":n+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,n+=" /FitV "+t.options.left+"]";break;default:var w=i(t.options.top);t.options.left=t.options.left||0,void 0===t.options.zoom&&(t.options.zoom=0),n+=" /XYZ "+t.options.left+" "+w+" "+t.options.zoom+"]"}""!=n&&(n+=" >>",this.internal.write(n))}}this.internal.write("]")}}]),Oe.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},Oe.link=function(e,t,r,n,o){var i=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:a(e),y:s(t),w:a(e+r),h:s(t+n)},options:o,type:"link"})},Oe.textWithLink=function(e,t,r,n){var o,i,a=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==n.maxWidth){i=n.maxWidth;var l=this.splitTextToSize(e,i).length;o=Math.ceil(s*l)}else i=a,o=s;return this.text(e,t,r,n),r+=.2*s,"center"===n.align&&(t-=a/2),"right"===n.align&&(t-=a),this.link(t,r-s,i,o,n),a},Oe.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={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]},r={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}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&o.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=1};var c=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&i(e)&&4==t[e.charCodeAt(0)].length},d=e.__arabicParser__.resolveLigatures=function(e){var t=0,n=r,o="",i=0;for(t=0;t<e.length;t+=1)void 0!==n[e.charCodeAt(t)]?(i++,"number"==typeof(n=n[e.charCodeAt(t)])&&(o+=String.fromCharCode(n),n=r,i=0),t===e.length-1&&(n=r,o+=e.charAt(t-(i-1)),t-=i-1,i=0)):(n=r,o+=e.charAt(t-i),t-=i,i=0);return o};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==n[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,r){return a(e)?!1===i(e)?-1:!c(e)||!a(t)&&!a(r)||!a(r)&&s(t)||s(e)&&!a(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&a(t)&&!s(t)&&a(r)&&c(r)?3:s(e)||!a(r)?1:2:-1},p=function(e){var r=0,n=0,o=0,i="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(r=0;r<c.length;r+=1){for(u.push(""),n=0;n<c[r].length;n+=1)i=c[r][n],s=c[r][n-1],l=c[r][n+1],a(i)?(o=h(i,s,l),u[r]+=-1!==o?String.fromCharCode(t[i.charCodeAt(0)][o]):i):u[r]+=i;u[r]=d(u[r])}return u.join(" ")},m=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(t)){var n=0;for(r=[],n=0;n<t.length;n+=1)Array.isArray(t[n])?r.push([p(t[n][0]),t[n][1],t[n][2]]):r.push([p(t[n])]);e=r}else e=p(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",m])}(F.API),F.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform","javascript"===e.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",(function(){t=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 "+t+" 0 R")}))),this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(e){r=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(e){n=e}});var o={};Object.defineProperty(this,"style",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var r;if("2d"!==(e=e||"2d"))return null;for(r in t)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=t[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(F.API),function(e){var t={left:0,top:0,bottom:0,right:0},r=!1,o=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var o=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(e){a=e}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return o.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){o.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),n=t.font||this.getFont(),i=t.scaleFactor||this.internal.scaleFactor,a=0,s=0,l=0,c=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(c.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var d=0;d<e.length;d++)a<(l=this.getStringUnitWidth(e[d],{font:n})*r)&&(a=l);return 0!==a&&(s=e.length),{w:a/=i,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/i,0)}},e.cellAddPage=function(){o.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),o.call(this);var n=this.internal.__cell__.lastCell,i=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==n.lineNumber&&(n.lineNumber===e.lineNumber?(e.x=(n.x||0)+(n.width||0),e.y=n.y||0):n.y+n.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,c&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=n.y+n.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===r?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-i,e.y+i,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+i,{align:"center",baseline:"top",maxWidth:e.width-i-i}):this.text(e.text,e.x+i,e.y+i,{align:"left",baseline:"top",maxWidth:e.width-i-i})),this.internal.__cell__.lastCell=e,this};e.table=function(e,r,c,u,d){if(o.call(this),!c)throw new Error("No data for PDF table.");var h,p,m,f,g=[],b=[],v=[],y={},w={},x=[],S=[],k=(d=d||{}).autoSize||!1,C=!1!==d.printHeaders,$=d.css&&void 0!==d.css["font-size"]?16*d.css["font-size"]:d.fontSize||12,j=d.margins||Object.assign({width:this.getPageWidth()},t),O="number"==typeof d.padding?d.padding:3,_=d.headerBackgroundColor||"#c8c8c8",N=d.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=C,this.internal.__cell__.margins=j,this.internal.__cell__.table_font_size=$,this.internal.__cell__.padding=O,this.internal.__cell__.headerBackgroundColor=_,this.internal.__cell__.headerTextColor=N,this.setFontSize($),null==u)b=g=Object.keys(c[0]),v=g.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===(0,n.Z)(u[0]))for(g=u.map((function(e){return e.name})),b=u.map((function(e){return e.prompt||e.name||""})),v=u.map((function(e){return e.align||"left"})),h=0;h<u.length;h+=1)w[u[h].name]=.7499990551181103*u[h].width;else Array.isArray(u)&&"string"==typeof u[0]&&(b=g=u,v=g.map((function(){return"left"})));if(k||Array.isArray(u)&&"string"==typeof u[0])for(h=0;h<g.length;h+=1){for(y[f=g[h]]=c.map((function(e){return e[f]})),this.setFont(void 0,"bold"),x.push(this.getTextDimensions(b[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),p=y[f],this.setFont(void 0,"normal"),m=0;m<p.length;m+=1)x.push(this.getTextDimensions(p[m],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[f]=Math.max.apply(null,x)+O+O,x=[]}if(C){var A={};for(h=0;h<g.length;h+=1)A[g[h]]={},A[g[h]].text=b[h],A[g[h]].align=v[h];var I=l.call(this,A,w);S=g.map((function(t){return new a(e,r,w[t],I,A[t].text,void 0,A[t].align)})),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var E=u.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(h=0;h<c.length;h+=1){"rowStart"in d&&d.rowStart instanceof Function&&d.rowStart({row:h,data:c[h]},this);var z=l.call(this,c[h],w);for(m=0;m<g.length;m+=1){var M=c[h][g[m]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:h,col:m,data:M},this),s.call(this,new a(e,r,w[g[m]],z,M,h+2,E[g[m]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=r,this};var l=function(e,t){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,o=this.internal.scaleFactor;return Object.keys(e).map((function(n){var o=e[n];return this.splitTextToSize(o.hasOwnProperty("text")?o.text:o,t[n]-r-r)}),this).map((function(e){return this.getLineHeightFactor()*e.length*n/o+r+r}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){o.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(o.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var n;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var i=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(i[0],i[1],i[2],i[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){n=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(n.y=this.internal.__cell__.margins.top||0,l.push(n)),n.lineNumber=e;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,n),this.setTextColor(u)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),r=!1}}(F.API);var Ie={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ee=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ze=Ae(Ee),Me=[100,200,300,400,500,600,700,800,900],Pe=Ae(Me);function Le(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),r=function(e){return Ie[e=e||"normal"]?e:"normal"}(e.style),n=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),o=function(e){return"number"==typeof ze[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:r,weight:n,stretch:o,src:e.src||[],ref:e.ref||{name:t,style:[o,r,n].join(" ")}}}function Be(e,t,r,n){var o;for(o=r;o>=0&&o<t.length;o+=n)if(e[t[o]])return e[t[o]];for(o=r;o>=0&&o<t.length;o-=n)if(e[t[o]])return e[t[o]]}var Te={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Re={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Fe(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function De(e){return e.trimLeft()}function qe(e,t){for(var r=0;r<e.length;){if(e.charAt(r)===t)return[e.substring(0,r),e.substring(r+1)];r+=1}return null}function He(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var We,Ze,Ue,Ve,Ge,Xe,Ye,Ke,Je=["times"];function Qe(e,t,r,n,i){var a=4,s=rt;switch(i){case F.API.image_compression.FAST:a=1,s=tt;break;case F.API.image_compression.MEDIUM:a=6,s=nt;break;case F.API.image_compression.SLOW:a=9,s=ot}e=function(e,t,r,n){for(var o,i=e.length/t,a=new Uint8Array(e.length+i),s=[et,tt,rt,nt,ot],l=0;l<i;l+=1){var c=l*t,u=e.subarray(c,c+t);if(n)a.set(n(u,r,o),c+l);else{for(var d=s.length,h=[],p=0;p<d;p+=1)h[p]=s[p](u,r,o);var m=at(h.concat());a.set(h[m],c+l)}o=u}return a}(e,t,Math.ceil(r*n/8),s);var l=(0,o.iZ)(e,{level:a});return F.API.__addimage__.arrayBufferToBinaryString(l)}function et(e){var t=Array.apply([],e);return t.unshift(0),t}function tt(e,t){var r=e.length,n=[];n[0]=1;for(var o=0;o<r;o+=1){var i=e[o-t]||0;n[o+1]=e[o]-i+256&255}return n}function rt(e,t,r){var n=e.length,o=[];o[0]=2;for(var i=0;i<n;i+=1){var a=r&&r[i]||0;o[i+1]=e[i]-a+256&255}return o}function nt(e,t,r){var n=e.length,o=[];o[0]=3;for(var i=0;i<n;i+=1){var a=e[i-t]||0,s=r&&r[i]||0;o[i+1]=e[i]+256-(a+s>>>1)&255}return o}function ot(e,t,r){var n=e.length,o=[];o[0]=4;for(var i=0;i<n;i+=1){var a=it(e[i-t]||0,r&&r[i]||0,r&&r[i-t]||0);o[i+1]=e[i]-a+256&255}return o}function it(e,t,r){if(e===t&&t===r)return e;var n=Math.abs(t-r),o=Math.abs(e-r),i=Math.abs(e+t-r-r);return n<=o&&n<=i?e:o<=i?t:r}function at(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))}function st(e,t,r){var n=t*r,o=Math.floor(n/8),i=16-(n-8*o+r),a=(1<<r)-1;return ct(e,o)>>i&a}function lt(e,t,r,n){var o=r*n,i=Math.floor(o/8),a=16-(o-8*i+n),s=(1<<n)-1,l=(t&s)<<a;!function(e,t,r){if(t+1<e.byteLength)e.setUint16(t,r,!1);else{var n=r>>8&255;e.setUint8(t,n)}}(e,i,ct(e,i)&~(s<<a)&65535|l)}function ct(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function ut(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var r=e[t++]|e[t++]<<8,n=e[t++]|e[t++]<<8,o=e[t++],i=o>>7,a=1<<1+(7&o);e[t++],e[t++];var s=null,l=null;i&&(s=t,l=a,t+=3*a);var c=!0,u=[],d=0,h=null,p=0,m=null;for(this.width=r,this.height=n;c&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,m=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((O=e[t++])>=0))throw Error("Invalid block size");if(0===O)break;t+=O}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var f=e[t++];d=e[t++]|e[t++]<<8,h=e[t++],1&f||(h=null),p=f>>2&7,t++;break;case 254:for(;;){if(!((O=e[t++])>=0))throw Error("Invalid block size");if(0===O)break;t+=O}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var g=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++],x=w>>6&1,S=1<<1+(7&w),k=s,C=l,$=!1;w>>7&&($=!0,k=t,C=S,t+=3*S);var j=t;for(t++;;){var O;if(!((O=e[t++])>=0))throw Error("Invalid block size");if(0===O)break;t+=O}u.push({x:g,y:b,width:v,height:y,has_local_palette:$,palette_offset:k,palette_size:C,data_offset:j,data_length:t-j,transparent_index:h,interlaced:!!x,delay:d,disposal:p});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return m},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,n){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);dt(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,u=r-c,d=c,h=4*(o.y*r+o.x),p=4*((o.y+o.height)*r+o.x),m=h,f=4*u;!0===o.interlaced&&(f+=4*r*7);for(var g=8,b=0,v=a.length;b<v;++b){var y=a[b];if(0===d&&(d=c,(m+=f)>=p&&(f=4*u+4*r*(g-1),m=h+(c+u)*(g<<1),g>>=1)),y===l)m+=4;else{var w=e[s+3*y],x=e[s+3*y+1],S=e[s+3*y+2];n[m++]=S,n[m++]=x,n[m++]=w,n[m++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,n){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);dt(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,u=r-c,d=c,h=4*(o.y*r+o.x),p=4*((o.y+o.height)*r+o.x),m=h,f=4*u;!0===o.interlaced&&(f+=4*r*7);for(var g=8,b=0,v=a.length;b<v;++b){var y=a[b];if(0===d&&(d=c,(m+=f)>=p&&(f=4*u+4*r*(g-1),m=h+(c+u)*(g<<1),g>>=1)),y===l)m+=4;else{var w=e[s+3*y],x=e[s+3*y+1],S=e[s+3*y+2];n[m++]=w,n[m++]=x,n[m++]=S,n[m++]=255}--d}}}function dt(e,t,r,n){for(var o=e[t++],i=1<<o,a=i+1,s=a+1,l=o+1,u=(1<<l)-1,d=0,h=0,p=0,m=e[t++],f=new Int32Array(4096),g=null;;){for(;d<16&&0!==m;)h|=e[t++]<<d,d+=8,1===m?m=e[t++]:--m;if(d<l)break;var b=h&u;if(h>>=l,d-=l,b!==i){if(b===a)break;for(var v=b<s?b:g,y=0,w=v;w>i;)w=f[w]>>8,++y;var x=w;if(p+y+(v!==b?1:0)>n)return void c.log("Warning, gif stream longer than expected.");r[p++]=x;var S=p+=y;for(v!==b&&(r[p++]=x),w=v;y--;)w=f[w],r[--S]=255&w,w>>=8;null!==g&&s<4096&&(f[s++]=g<<8|x,s>=u+1&&l<12&&(++l,u=u<<1|1)),g=b}else s=a+1,u=(1<<(l=o+1))-1,g=null}return p!==n&&c.log("Warning, gif stream shorter than expected."),r}function ht(e){var t,r,n,o,i,a=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),d=new Array(65535),h=new Array(65535),p=new Array(64),m=new Array(64),f=[],g=0,b=7,v=new Array(64),y=new Array(64),w=new Array(64),x=new Array(256),S=new Array(2048),k=[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],C=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],$=[0,1,2,3,4,5,6,7,8,9,10,11],j=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],O=[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],_=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],N=[0,1,2,3,4,5,6,7,8,9,10,11],A=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],I=[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 E(e,t){for(var r=0,n=0,o=new Array,i=1;i<=16;i++){for(var a=1;a<=e[i];a++)o[t[n]]=[],o[t[n]][0]=r,o[t[n]][1]=i,n++,r++;r*=2}return o}function z(e){for(var t=e[0],r=e[1]-1;r>=0;)t&1<<r&&(g|=1<<b),r--,--b<0&&(255==g?(M(255),M(0)):M(g),b=7,g=0)}function M(e){f.push(e)}function P(e){M(e>>8&255),M(255&e)}function L(e,t,r,n,o){for(var i,a=o[0],s=o[240],l=function(e,t){var r,n,o,i,a,s,l,c,u,d,h=0;for(u=0;u<8;++u){r=e[h],n=e[h+1],o=e[h+2],i=e[h+3],a=e[h+4],s=e[h+5],l=e[h+6];var m=r+(c=e[h+7]),f=r-c,g=n+l,b=n-l,v=o+s,y=o-s,w=i+a,x=i-a,S=m+w,k=m-w,C=g+v,$=g-v;e[h]=S+C,e[h+4]=S-C;var j=.707106781*($+k);e[h+2]=k+j,e[h+6]=k-j;var O=.382683433*((S=x+y)-($=b+f)),_=.5411961*S+O,N=1.306562965*$+O,A=.707106781*(C=y+b),I=f+A,E=f-A;e[h+5]=E+_,e[h+3]=E-_,e[h+1]=I+N,e[h+7]=I-N,h+=8}for(h=0,u=0;u<8;++u){r=e[h],n=e[h+8],o=e[h+16],i=e[h+24],a=e[h+32],s=e[h+40],l=e[h+48];var z=r+(c=e[h+56]),M=r-c,P=n+l,L=n-l,B=o+s,T=o-s,R=i+a,F=i-a,D=z+R,q=z-R,H=P+B,W=P-B;e[h]=D+H,e[h+32]=D-H;var Z=.707106781*(W+q);e[h+16]=q+Z,e[h+48]=q-Z;var U=.382683433*((D=F+T)-(W=L+M)),V=.5411961*D+U,G=1.306562965*W+U,X=.707106781*(H=T+L),Y=M+X,K=M-X;e[h+40]=K+V,e[h+24]=K-V,e[h+8]=Y+G,e[h+56]=Y-G,h++}for(u=0;u<64;++u)d=e[u]*t[u],p[u]=d>0?d+.5|0:d-.5|0;return p}(e,t),c=0;c<64;++c)m[k[c]]=l[c];var u=m[0]-r;r=m[0],0==u?z(n[0]):(z(n[h[i=32767+u]]),z(d[i]));for(var f=63;f>0&&0==m[f];)f--;if(0==f)return z(a),r;for(var g,b=1;b<=f;){for(var v=b;0==m[b]&&b<=f;)++b;var y=b-v;if(y>=16){g=y>>4;for(var w=1;w<=g;++w)z(s);y&=15}i=32767+m[b],z(o[(y<<4)+h[i]]),z(d[i]),b++}return 63!=f&&z(a),r}function B(e){e=Math.min(Math.max(e,1),100),i!=e&&(function(e){for(var t=[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],r=0;r<64;r++){var n=a((t[r]*e+50)/100);n=Math.min(Math.max(n,1),255),s[k[r]]=n}for(var o=[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],i=0;i<64;i++){var d=a((o[i]*e+50)/100);d=Math.min(Math.max(d,1),255),l[k[i]]=d}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],p=0,m=0;m<8;m++)for(var f=0;f<8;f++)c[p]=1/(s[k[p]]*h[m]*h[f]*8),u[p]=1/(l[k[p]]*h[m]*h[f]*8),p++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),i=e)}this.encode=function(e,i){i&&B(i),f=new Array,g=0,b=7,P(65496),P(65504),P(16),M(74),M(70),M(73),M(70),M(0),M(1),M(1),M(0),P(1),P(1),M(0),M(0),function(){P(65499),P(132),M(0);for(var e=0;e<64;e++)M(s[e]);M(1);for(var t=0;t<64;t++)M(l[t])}(),function(e,t){P(65472),P(17),M(8),P(t),P(e),M(3),M(1),M(17),M(0),M(2),M(17),M(1),M(3),M(17),M(1)}(e.width,e.height),function(){P(65476),P(418),M(0);for(var e=0;e<16;e++)M(C[e+1]);for(var t=0;t<=11;t++)M($[t]);M(16);for(var r=0;r<16;r++)M(j[r+1]);for(var n=0;n<=161;n++)M(O[n]);M(1);for(var o=0;o<16;o++)M(_[o+1]);for(var i=0;i<=11;i++)M(N[i]);M(17);for(var a=0;a<16;a++)M(A[a+1]);for(var s=0;s<=161;s++)M(I[s])}(),P(65498),P(12),M(3),M(1),M(0),M(2),M(17),M(3),M(17),M(0),M(63),M(0);var a=0,d=0,h=0;g=0,b=7,this.encode.displayName="_encode_";for(var p,m,x,k,E,T,R,F,D,q=e.data,H=e.width,W=e.height,Z=4*H,U=0;U<W;){for(p=0;p<Z;){for(E=Z*U+p,R=-1,F=0,D=0;D<64;D++)T=E+(F=D>>3)*Z+(R=4*(7&D)),U+F>=W&&(T-=Z*(U+1+F-W)),p+R>=Z&&(T-=p+R-Z+4),m=q[T++],x=q[T++],k=q[T++],v[D]=(S[m]+S[x+256|0]+S[k+512|0]>>16)-128,y[D]=(S[m+768|0]+S[x+1024|0]+S[k+1280|0]>>16)-128,w[D]=(S[m+1280|0]+S[x+1536|0]+S[k+1792|0]>>16)-128;a=L(v,c,a,t,n),d=L(y,u,d,r,o),h=L(w,u,h,r,o),p+=32}U+=8}if(b>=0){var V=[];V[1]=b+1,V[0]=(1<<b+1)-1,z(V)}return P(65497),new Uint8Array(f)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)x[t]=e(t)}(),t=E(C,$),r=E(_,N),n=E(j,O),o=E(A,I),function(){for(var e=1,t=2,r=1;r<=15;r++){for(var n=e;n<t;n++)h[32767+n]=r,d[32767+n]=[],d[32767+n][1]=r,d[32767+n][0]=n;for(var o=-(t-1);o<=-e;o++)h[32767+o]=r,d[32767+o]=[],d[32767+o][1]=r,d[32767+o][0]=t-1+o;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)S[e]=19595*e,S[e+256|0]=38470*e,S[e+512|0]=7471*e+32768,S[e+768|0]=-11059*e,S[e+1024|0]=-21709*e,S[e+1280|0]=32768*e+8421375,S[e+1536|0]=-27439*e,S[e+1792|0]=-5329*e}(),B(e)}function pt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function mt(e){function t(e){if(!e)throw Error("assert :P")}function r(e,t,r){for(var n=0;4>n;n++)if(e[t+n]!=r.charCodeAt(n))return!0;return!1}function n(e,t,r,n,o){for(var i=0;i<o;i++)e[t+i]=r[n+i]}function o(e,t,r,n){for(var o=0;o<n;o++)e[t+o]=r}function i(e){return new Int32Array(e)}function a(e,t){for(var r=[],n=0;n<e;n++)r.push(new t);return r}function s(e,t){var r=[];return function e(r,n,o){for(var i=o[n],a=0;a<i&&(r.push(o.length>n+1?[]:new t),!(o.length<n+1));a++)e(r[a],n+1,o)}(r,0,e),r}var l=function(){var e=this;function l(e,t){for(var r=1<<t-1>>>0;e&r;)r>>>=1;return r?(e&r-1)+r:e}function c(e,r,n,o,i){t(!(o%n));do{e[r+(o-=n)]=i}while(0<o)}function u(e,r,n,o,a){if(t(2328>=a),512>=a)var s=i(512);else if(null==(s=i(a)))return 0;return function(e,r,n,o,a,s){var u,h,p=r,m=1<<n,f=i(16),g=i(16);for(t(0!=a),t(null!=o),t(null!=e),t(0<n),h=0;h<a;++h){if(15<o[h])return 0;++f[o[h]]}if(f[0]==a)return 0;for(g[1]=0,u=1;15>u;++u){if(f[u]>1<<u)return 0;g[u+1]=g[u]+f[u]}for(h=0;h<a;++h)u=o[h],0<o[h]&&(s[g[u]++]=h);if(1==g[15])return(o=new d).g=0,o.value=s[0],c(e,p,1,m,o),m;var b,v=-1,y=m-1,w=0,x=1,S=1,k=1<<n;for(h=0,u=1,a=2;u<=n;++u,a<<=1){if(x+=S<<=1,0>(S-=f[u]))return 0;for(;0<f[u];--f[u])(o=new d).g=u,o.value=s[h++],c(e,p+w,a,k,o),w=l(w,u)}for(u=n+1,a=2;15>=u;++u,a<<=1){if(x+=S<<=1,0>(S-=f[u]))return 0;for(;0<f[u];--f[u]){if(o=new d,(w&y)!=v){for(p+=k,b=1<<(v=u)-n;15>v&&!(0>=(b-=f[v]));)++v,b<<=1;m+=k=1<<(b=v-n),e[r+(v=w&y)].g=b+n,e[r+v].value=p-r-v}o.g=u-n,o.value=s[h++],c(e,p+(w>>n),a,k,o),w=l(w,u)}}return x!=2*g[15]-1?0:m}(e,r,n,o,a,s)}function d(){this.value=this.g=0}function h(){this.value=this.g=0}function p(){this.G=a(5,d),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Br,h)}function m(e,r,n,o){t(null!=e),t(null!=r),t(2147483648>o),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=r,e.pa=n,e.Jd=r,e.Yc=n+o,e.Zc=4<=o?n+o-4+1:n,j(e)}function f(e,t){for(var r=0;0<t--;)r|=_(e,128)<<t;return r}function g(e,t){var r=f(e,t);return O(e)?-r:r}function b(e,r,n,o){var i,a=0;for(t(null!=e),t(null!=r),t(4294967288>o),e.Sb=o,e.Ra=0,e.u=0,e.h=0,4<o&&(o=4),i=0;i<o;++i)a+=r[n+i]<<8*i;e.Ra=a,e.bb=o,e.oa=r,e.pa=n}function v(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Fr-8>>>0,++e.bb,e.u-=8;k(e)&&(e.h=1,e.u=0)}function y(e,r){if(t(0<=r),!e.h&&r<=Rr){var n=S(e)&Tr[r];return e.u+=r,v(e),n}return e.h=1,e.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function x(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function S(e){return e.Ra>>>(e.u&Fr-1)>>>0}function k(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Fr}function C(e,t){e.u=t,e.h=k(e)}function $(e){e.u>=Dr&&(t(e.u>=Dr),v(e))}function j(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function O(e){return f(e,1)}function _(e,t){var r=e.Ca;0>e.b&&j(e);var n=e.b,o=r*t>>>8,i=(e.I>>>n>o)+0;for(i?(r-=o,e.I-=o+1<<n>>>0):r=o+1,n=r,o=0;256<=n;)o+=8,n>>=8;return n=7^o+qr[n],e.b-=n,e.Ca=(r<<n)-1,i}function N(e,t,r){e[t+0]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function A(e,t){return e[t+0]|e[t+1]<<8}function I(e,t){return A(e,t)|e[t+2]<<16}function E(e,t){return A(e,t)|A(e,t+2)<<16}function z(e,r){var n=1<<r;return t(null!=e),t(0<r),e.X=i(n),null==e.X?0:(e.Mb=32-r,e.Xa=r,1)}function M(e,r){t(null!=e),t(null!=r),t(e.Xa==r.Xa),n(r.X,0,e.X,0,1<<r.Xa)}function P(){this.X=[],this.Xa=this.Mb=0}function L(e,r,n,o){t(null!=n),t(null!=o);var i=n[0],a=o[0];return 0==i&&(i=(e*a+r/2)/r),0==a&&(a=(r*i+e/2)/e),0>=i||0>=a?0:(n[0]=i,o[0]=a,1)}function B(e,t){return e+(1<<t)-1>>>t}function T(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function R(t,r){e[r]=function(r,n,o,i,a,s,l){var c;for(c=0;c<a;++c){var u=e[t](s[l+c-1],o,i+c);s[l+c]=T(r[n+c],u)}}}function F(){this.ud=this.hd=this.jd=0}function D(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function q(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function H(e,t){return q(e+(e-t+.5>>1))}function W(e,t,r){return Math.abs(t-r)-Math.abs(e-r)}function Z(e,t,r,n,o,i,a){for(n=i[a-1],r=0;r<o;++r)i[a+r]=n=T(e[t+r],n)}function U(e,t,r,n,o){var i;for(i=0;i<r;++i){var a=e[t+i],s=a>>8&255,l=16711935&(l=(l=16711935&a)+((s<<16)+s));n[o+i]=(4278255360&a)+l>>>0}}function V(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function G(e,t,r,n,o,i){var a;for(a=0;a<n;++a){var s=t[r+a],l=s>>>8,c=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));c=255&(c=(c+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),o[i+a]=(4278255360&s)+(u<<16)+c}}function X(t,r,n,o,i){e[r]=function(e,t,r,n,a,s,l,c,u){for(n=l;n<c;++n)for(l=0;l<u;++l)a[s++]=i(r[o(e[t++])])},e[t]=function(t,r,a,s,l,c,u){var d=8>>t.b,h=t.Ea,p=t.K[0],m=t.w;if(8>d)for(t=(1<<t.b)-1,m=(1<<d)-1;r<a;++r){var f,g=0;for(f=0;f<h;++f)f&t||(g=o(s[l++])),c[u++]=i(p[g&m]),g>>=d}else e["VP8LMapColor"+n](s,l,p,m,c,u,r,a,h)}}function Y(e,t,r,n,o){for(r=t+r;t<r;){var i=e[t++];n[o++]=i>>16&255,n[o++]=i>>8&255,n[o++]=255&i}}function K(e,t,r,n,o){for(r=t+r;t<r;){var i=e[t++];n[o++]=i>>16&255,n[o++]=i>>8&255,n[o++]=255&i,n[o++]=i>>24&255}}function J(e,t,r,n,o){for(r=t+r;t<r;){var i=(a=e[t++])>>16&240|a>>12&15,a=240&a|a>>28&15;n[o++]=i,n[o++]=a}}function Q(e,t,r,n,o){for(r=t+r;t<r;){var i=(a=e[t++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;n[o++]=i,n[o++]=a}}function ee(e,t,r,n,o){for(r=t+r;t<r;){var i=e[t++];n[o++]=255&i,n[o++]=i>>8&255,n[o++]=i>>16&255}}function te(e,t,r,o,i,a){if(0==a)for(r=t+r;t<r;)N(o,((a=e[t++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),i+=32;else n(o,i,e,t,r)}function re(t,r){e[r][0]=e[t+"0"],e[r][1]=e[t+"1"],e[r][2]=e[t+"2"],e[r][3]=e[t+"3"],e[r][4]=e[t+"4"],e[r][5]=e[t+"5"],e[r][6]=e[t+"6"],e[r][7]=e[t+"7"],e[r][8]=e[t+"8"],e[r][9]=e[t+"9"],e[r][10]=e[t+"10"],e[r][11]=e[t+"11"],e[r][12]=e[t+"12"],e[r][13]=e[t+"13"],e[r][14]=e[t+"0"],e[r][15]=e[t+"0"]}function ne(e){return e==qn||e==Hn||e==Wn||e==Zn}function oe(){this.eb=[],this.size=this.A=this.fb=0}function ie(){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 ae(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new oe,this.f.kb=new ie,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){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 ce(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var r=e.T,o=t.ba.f.RGBA,i=o.eb,a=o.fb+e.ka*o.A,s=bo[t.ba.S],l=e.y,c=e.O,u=e.f,d=e.N,h=e.ea,p=e.W,m=t.cc,f=t.dc,g=t.Mc,b=t.Nc,v=e.ka,y=e.ka+e.T,w=e.U,x=w+1>>1;for(0==v?s(l,c,null,null,u,d,h,p,u,d,h,p,i,a,null,null,w):(s(t.ec,t.fc,l,c,m,f,g,b,u,d,h,p,i,a-o.A,i,a,w),++r);v+2<y;v+=2)m=u,f=d,g=h,b=p,d+=e.Rc,p+=e.Rc,a+=2*o.A,s(l,(c+=2*e.fa)-e.fa,l,c,m,f,g,b,u,d,h,p,i,a-o.A,i,a,w);return c+=e.fa,e.j+y<e.o?(n(t.ec,t.fc,l,c,w),n(t.cc,t.dc,u,d,x),n(t.Mc,t.Nc,h,p,x),r--):1&y||s(l,c,null,null,u,d,h,p,u,d,h,p,i,a+o.A,null,null,w),r}function de(e,r,n){var o=e.F,i=[e.J];if(null!=o){var a=e.U,s=r.ba.S,l=s==Rn||s==Wn;r=r.ba.f.RGBA;var c=[0],u=e.ka;c[0]=e.T,e.Kb&&(0==u?--c[0]:(--u,i[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-u));var d=r.eb;u=r.fb+u*r.A,e=Cn(o,i[0],e.width,a,c,d,u+(l?0:3),r.A),t(n==c),e&&ne(s)&&Sn(d,u,l,a,c,r.A)}return 0}function he(e){var t=e.ma,r=t.ba.S,n=11>r,o=r==Ln||r==Tn||r==Rn||r==Fn||12==r||ne(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Mr(t.Oa,e,o?11:12))return 0;if(o&&ne(r)&&br(),e.da)alert("todo:use_scaling");else{if(n){if(t.Ib=ce,e.Kb){if(r=e.U+1>>1,t.memory=i(e.U+2*r),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+r,t.Ib=ue,br()}}else alert("todo:EmitYUV");o&&(t.Jb=de,n&&fr())}if(n&&!Io){for(e=0;256>e;++e)Eo[e]=89858*(e-128)+jo>>$o,Po[e]=-22014*(e-128)+jo,Mo[e]=-45773*(e-128),zo[e]=113618*(e-128)+jo>>$o;for(e=Oo;e<_o;++e)t=76283*(e-16)+jo>>$o,Lo[e-Oo]=Ze(t,255),Bo[e-Oo]=Ze(t+8>>4,15);Io=1}return 1}function pe(e){var r=e.ma,n=e.U,o=e.T;return t(!(1&e.ka)),0>=n||0>=o?0:(n=r.Ib(e,r),null!=r.Jb&&r.Jb(e,r,n),r.Dc+=n,1)}function me(e){e.ma.memory=null}function fe(e,t,r,n){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,r[0]=y(e,14)+1,n[0]=y(e,1),0!=y(e,3)?0:!e.h)}function ge(e,t){if(4>e)return e+1;var r=e-2>>1;return(2+(1&e)<<r)+y(t,r)+1}function be(e,t){return 120<t?t-120:1<=(r=((r=Kn[t-1])>>4)*e+(8-(15&r)))?r:1;var r}function ve(e,t,r){var n=S(r),o=e[t+=255&n].g-8;return 0<o&&(C(r,r.u+8),n=S(r),t+=e[t].value,t+=n&(1<<o)-1),C(r,r.u+e[t].g),e[t].value}function ye(e,r,n){return n.g+=e.g,n.value+=e.value<<r>>>0,t(8>=n.g),e.g}function we(e,r,n){var o=e.xc;return t((r=0==o?0:e.vc[e.md*(n>>o)+(r>>o)])<e.Wb),e.Ya[r]}function xe(e,r,o,i){var a=e.ab,s=e.c*r,l=e.C;r=l+r;var c=o,u=i;for(i=e.Ta,o=e.Ua;0<a--;){var d=e.gc[a],h=l,p=r,m=c,f=u,g=(u=i,c=o,d.Ea);switch(t(h<p),t(p<=d.nc),d.hc){case 2:Zr(m,f,(p-h)*g,u,c);break;case 0:var b=h,v=p,y=u,w=c,x=(j=d).Ea;0==b&&(Hr(m,f,null,null,1,y,w),Z(m,f+1,0,0,x-1,y,w+1),f+=x,w+=x,++b);for(var S=1<<j.b,k=S-1,C=B(x,j.b),$=j.K,j=j.w+(b>>j.b)*C;b<v;){var O=$,_=j,N=1;for(Wr(m,f,y,w-x,1,y,w);N<x;){var A=(N&~k)+S;A>x&&(A=x),(0,Yr[O[_++]>>8&15])(m,f+ +N,y,w+N-x,A-N,y,w+N),N=A}f+=x,w+=x,++b&k||(j+=C)}p!=d.nc&&n(u,c-g,u,c+(p-h-1)*g,g);break;case 1:for(g=m,v=f,x=(m=d.Ea)-(w=m&~(y=(f=1<<d.b)-1)),b=B(m,d.b),S=d.K,d=d.w+(h>>d.b)*b;h<p;){for(k=S,C=d,$=new F,j=v+w,O=v+m;v<j;)V(k[C++],$),Kr($,g,v,f,u,c),v+=f,c+=f;v<O&&(V(k[C++],$),Kr($,g,v,x,u,c),v+=x,c+=x),++h&y||(d+=b)}break;case 3:if(m==u&&f==c&&0<d.b){for(v=u,m=g=c+(p-h)*g-(w=(p-h)*B(d.Ea,d.b)),f=u,y=c,b=[],w=(x=w)-1;0<=w;--w)b[w]=f[y+w];for(w=x-1;0<=w;--w)v[m+w]=b[w];Ur(d,h,p,u,g,u,c)}else Ur(d,h,p,m,f,u,c)}c=i,u=o}u!=o&&n(i,o,c,u,s)}function Se(e,r){var n=e.V,o=e.Ba+e.c*e.C,i=r-e.C;if(t(r<=e.l.o),t(16>=i),0<i){var a=e.l,s=e.Ta,l=e.Ua,c=a.width;if(xe(e,i,n,o),i=l=[l],t((n=e.C)<(o=r)),t(a.v<a.va),o>a.o&&(o=a.o),n<a.j){var u=a.j-n;n=a.j,i[0]+=u*c}if(n>=o?n=0:(i[0]+=4*a.v,a.ka=n-a.j,a.U=a.va-a.v,a.T=o-n,n=1),n){if(l=l[0],11>(n=e.ca).S){var d=n.f.RGBA,h=(o=n.S,i=a.U,a=a.T,u=d.eb,d.A),p=a;for(d=d.fb+e.Ma*d.A;0<p--;){var m=s,f=l,g=i,b=u,v=d;switch(o){case Pn:Jr(m,f,g,b,v);break;case Ln:Qr(m,f,g,b,v);break;case qn:Qr(m,f,g,b,v),Sn(b,v,0,g,1,0);break;case Bn:rn(m,f,g,b,v);break;case Tn:te(m,f,g,b,v,1);break;case Hn:te(m,f,g,b,v,1),Sn(b,v,0,g,1,0);break;case Rn:te(m,f,g,b,v,0);break;case Wn:te(m,f,g,b,v,0),Sn(b,v,1,g,1,0);break;case Fn:en(m,f,g,b,v);break;case Zn:en(m,f,g,b,v),kn(b,v,g,1,0);break;case Dn:tn(m,f,g,b,v);break;default:t(0)}l+=c,d+=h}e.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=n.height)}}e.C=r,t(e.C<=e.i)}function ke(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var r=e.Ya[t].G,n=e.Ya[t].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function Ce(e,r,n,o,i,a){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=go[e.Z]);r<n;++r)go[e.Z](s,l,o,i,o,i,a),s=o,l=i,i+=a;e.qd=s,e.rd=l}}function $e(e,r){var n=e.l.ma,o=0==n.Z||1==n.Z?e.l.j:e.C;if(o=e.C<o?o:e.C,t(r<=e.l.o),r>o){var i=e.l.width,a=n.ca,s=n.tb+i*o,l=e.V,c=e.Ba+e.c*o,u=e.gc;t(1==e.ab),t(3==u[0].hc),Gr(u[0],o,r,l,c,a,s),Ce(n,o,r,a,s,i)}e.C=e.Ma=r}function je(e,r,n,o,i,a,s){var l=e.$/o,c=e.$%o,u=e.m,d=e.s,h=n+e.$,p=h;i=n+o*i;var m=n+o*a,f=280+d.ua,g=e.Pb?l:16777216,b=0<d.ua?d.Wa:null,v=d.wc,y=h<m?we(d,c,l):null;t(e.C<a),t(m<=i);var w=!1;e:for(;;){for(;w||h<m;){var x=0;if(l>=g){var j=h-n;t((g=e).Pb),g.wd=g.m,g.xd=j,0<g.s.ua&&M(g.s.Wa,g.s.vb),g=l+Qn}if(c&v||(y=we(d,c,l)),t(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if($(u),y.jc){x=u,j=r;var O=h,_=y.pd[S(x)&Br-1];t(y.jc),256>_.g?(C(x,x.u+_.g),j[O]=_.value,x=0):(C(x,x.u+_.g-256),t(256<=_.value),x=_.value),0==x&&(w=!0)}else x=ve(y.G[0],y.H[0],u);if(u.h)break;if(w||256>x){if(!w)if(y.nd)r[h]=(y.qb|x<<8)>>>0;else{if($(u),w=ve(y.G[1],y.H[1],u),$(u),j=ve(y.G[2],y.H[2],u),O=ve(y.G[3],y.H[3],u),u.h)break;r[h]=(O<<24|w<<16|x<<8|j)>>>0}if(w=!1,++h,++c>=o&&(c=0,++l,null!=s&&l<=a&&!(l%16)&&s(e,l),null!=b))for(;p<h;)x=r[p++],b.X[(506832829*x&4294967295)>>>b.Mb]=x}else if(280>x){if(x=ge(x-256,u),j=ve(y.G[4],y.H[4],u),$(u),j=be(o,j=ge(j,u)),u.h)break;if(h-n<j||i-h<x)break e;for(O=0;O<x;++O)r[h+O]=r[h+O-j];for(h+=x,c+=x;c>=o;)c-=o,++l,null!=s&&l<=a&&!(l%16)&&s(e,l);if(t(h<=i),c&v&&(y=we(d,c,l)),null!=b)for(;p<h;)x=r[p++],b.X[(506832829*x&4294967295)>>>b.Mb]=x}else{if(!(x<f))break e;for(w=x-280,t(null!=b);p<h;)x=r[p++],b.X[(506832829*x&4294967295)>>>b.Mb]=x;x=h,t(!(w>>>(j=b).Xa)),r[x]=j.X[w],w=!0}w||t(u.h==k(u))}if(e.Pb&&u.h&&h<i)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&M(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,l>a?a:l),e.a=0,e.$=h-n}return 1}return e.a=3,0}function Oe(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var r=e.Wa;null!=r&&(r.X=null),e.vb=null,t(null!=e)}function _e(){var t=new ir;return null==t?null:(t.a=0,t.xb=fo,re("Predictor","VP8LPredictors"),re("Predictor","VP8LPredictors_C"),re("PredictorAdd","VP8LPredictorsAdd"),re("PredictorAdd","VP8LPredictorsAdd_C"),Zr=U,Kr=G,Jr=Y,Qr=K,en=J,tn=Q,rn=ee,e.VP8LMapColor32b=Vr,e.VP8LMapColor8b=Xr,t)}function Ne(e,r,n,s,l){var c=1,h=[e],m=[r],f=s.m,g=s.s,b=null,v=0;e:for(;;){if(n)for(;c&&y(f,1);){var w=h,x=m,k=s,j=1,O=k.m,_=k.gc[k.ab],N=y(O,2);if(k.Oc&1<<N)c=0;else{switch(k.Oc|=1<<N,_.hc=N,_.Ea=w[0],_.nc=x[0],_.K=[null],++k.ab,t(4>=k.ab),N){case 0:case 1:_.b=y(O,3)+2,j=Ne(B(_.Ea,_.b),B(_.nc,_.b),0,k,_.K),_.K=_.K[0];break;case 3:var A,I=y(O,8)+1,E=16<I?0:4<I?1:2<I?2:3;if(w[0]=B(_.Ea,E),_.b=E,A=j=Ne(I,1,0,k,_.K)){var M,P=I,L=_,R=1<<(8>>L.b),F=i(R);if(null==F)A=0;else{var D=L.K[0],q=L.w;for(F[0]=L.K[0][0],M=1;M<1*P;++M)F[M]=T(D[q+M],F[M-1]);for(;M<4*R;++M)F[M]=0;L.K[0]=null,L.K[0]=F,A=1}}j=A;break;case 2:break;default:t(0)}c=j}}if(h=h[0],m=m[0],c&&y(f,1)&&!(c=1<=(v=y(f,4))&&11>=v)){s.a=3;break e}var H;if(H=c)t:{var W,Z,U,V=s,G=h,X=m,Y=v,K=n,J=V.m,Q=V.s,ee=[null],te=1,re=0,ne=Jn[Y];r:for(;;){if(K&&y(J,1)){var oe=y(J,3)+2,ie=B(G,oe),ae=B(X,oe),se=ie*ae;if(!Ne(ie,ae,0,V,ee))break r;for(ee=ee[0],Q.xc=oe,W=0;W<se;++W){var le=ee[W]>>8&65535;ee[W]=le,le>=te&&(te=le+1)}}if(J.h)break r;for(Z=0;5>Z;++Z){var ce=Gn[Z];!Z&&0<Y&&(ce+=1<<Y),re<ce&&(re=ce)}var ue=a(te*ne,d),de=te,he=a(de,p);if(null==he)var pe=null;else t(65536>=de),pe=he;var me=i(re);if(null==pe||null==me||null==ue){V.a=1;break r}var fe=ue;for(W=U=0;W<te;++W){var ge=pe[W],be=ge.G,ve=ge.H,we=0,xe=1,Se=0;for(Z=0;5>Z;++Z){ce=Gn[Z],be[Z]=fe,ve[Z]=U,!Z&&0<Y&&(ce+=1<<Y);n:{var ke,Ce=ce,$e=V,_e=me,Ae=fe,Ie=U,Ee=0,ze=$e.m,Me=y(ze,1);if(o(_e,0,0,Ce),Me){var Pe=y(ze,1)+1,Le=y(ze,1),Be=y(ze,0==Le?1:8);_e[Be]=1,2==Pe&&(_e[Be=y(ze,8)]=1);var Te=1}else{var Re=i(19),Fe=y(ze,4)+4;if(19<Fe){$e.a=3;var De=0;break n}for(ke=0;ke<Fe;++ke)Re[Yn[ke]]=y(ze,3);var qe=void 0,He=void 0,We=$e,Ze=Re,Ue=Ce,Ve=_e,Ge=0,Xe=We.m,Ye=8,Ke=a(128,d);o:for(;u(Ke,0,7,Ze,19);){if(y(Xe,1)){var Je=2+2*y(Xe,3);if((qe=2+y(Xe,Je))>Ue)break o}else qe=Ue;for(He=0;He<Ue&&qe--;){$(Xe);var Qe=Ke[0+(127&S(Xe))];C(Xe,Xe.u+Qe.g);var et=Qe.value;if(16>et)Ve[He++]=et,0!=et&&(Ye=et);else{var tt=16==et,rt=et-16,nt=Vn[rt],ot=y(Xe,Un[rt])+nt;if(He+ot>Ue)break o;for(var it=tt?Ye:0;0<ot--;)Ve[He++]=it}}Ge=1;break o}Ge||(We.a=3),Te=Ge}(Te=Te&&!ze.h)&&(Ee=u(Ae,Ie,8,_e,Ce)),Te&&0!=Ee?De=Ee:($e.a=3,De=0)}if(0==De)break r;if(xe&&1==Xn[Z]&&(xe=0==fe[U].g),we+=fe[U].g,U+=De,3>=Z){var at,st=me[0];for(at=1;at<ce;++at)me[at]>st&&(st=me[at]);Se+=st}}if(ge.nd=xe,ge.Qb=0,xe&&(ge.qb=(be[3][ve[3]+0].value<<24|be[1][ve[1]+0].value<<16|be[2][ve[2]+0].value)>>>0,0==we&&256>be[0][ve[0]+0].value&&(ge.Qb=1,ge.qb+=be[0][ve[0]+0].value<<8)),ge.jc=!ge.Qb&&6>Se,ge.jc){var lt,ct=ge;for(lt=0;lt<Br;++lt){var ut=lt,dt=ct.pd[ut],ht=ct.G[0][ct.H[0]+ut];256<=ht.value?(dt.g=ht.g+256,dt.value=ht.value):(dt.g=0,dt.value=0,ut>>=ye(ht,8,dt),ut>>=ye(ct.G[1][ct.H[1]+ut],16,dt),ut>>=ye(ct.G[2][ct.H[2]+ut],0,dt),ye(ct.G[3][ct.H[3]+ut],24,dt))}}}Q.vc=ee,Q.Wb=te,Q.Ya=pe,Q.yc=ue,H=1;break t}H=0}if(!(c=H)){s.a=3;break e}if(0<v){if(g.ua=1<<v,!z(g.Wa,v)){s.a=1,c=0;break e}}else g.ua=0;var pt=s,mt=h,ft=m,gt=pt.s,bt=gt.xc;if(pt.c=mt,pt.i=ft,gt.md=B(mt,bt),gt.wc=0==bt?-1:(1<<bt)-1,n){s.xb=mo;break e}if(null==(b=i(h*m))){s.a=1,c=0;break e}c=(c=je(s,b,0,h,m,m,null))&&!f.h;break e}return c?(null!=l?l[0]=b:(t(null==b),t(n)),s.$=0,n||Oe(g)):Oe(g),c}function Ae(e,r){var n=e.c*e.i,o=n+r+16*r;return t(e.c<=r),e.V=i(o),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+n+r,1)}function Ie(e,r){var n=e.C,o=r-n,i=e.V,a=e.Ba+e.c*n;for(t(r<=e.l.o);0<o;){var s=16<o?16:o,l=e.l.ma,c=e.l.width,u=c*s,d=l.ca,h=l.tb+c*n,p=e.Ta,m=e.Ua;xe(e,s,i,a),$n(p,m,d,h,u),Ce(l,n,n+s,d,h,c),o-=s,i+=s*e.c,n+=s}t(n==r),e.C=e.Ma=r}function Ee(){this.ub=this.yd=this.td=this.Rb=0}function ze(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Me(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function Pe(){this.Yb=function(){var e=[];return function e(t,r,n){for(var o=n[r],i=0;i<o&&(t.push(n.length>r+1?[]:0),!(n.length<r+1));i++)e(t[i],r+1,n)}(e,0,[3,11]),e}()}function Le(){this.jb=i(3),this.Wc=s([4,8],Pe),this.Xc=s([4,17],Pe)}function Be(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function Te(){this.ld=this.La=this.dd=this.tc=0}function Re(){this.Na=this.la=0}function Fe(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function De(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function qe(){this.uc=this.M=this.Nb=0,this.wa=Array(new Te),this.Y=0,this.ya=Array(new De),this.aa=0,this.l=new Ue}function He(){this.y=i(16),this.f=i(8),this.ea=i(8)}function We(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Ee,this.Kc=new ze,this.ed=new Be,this.Qa=new Me,this.Ic=this.$c=this.Aa=0,this.D=new qe,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,w),this.ia=0,this.pb=a(4,Fe),this.Pa=new Le,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new He),this.Hd=0,this.rb=Array(new Re),this.sb=0,this.wa=Array(new Te),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 De),this.L=this.aa=0,this.gd=s([4,2],Te),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 Ze(e,t){return 0>e?0:e>t?t:e}function Ue(){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 Ve(){var e=new We;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ro||(ro=Ke)),e}function Ge(e,t,r){return 0==e.a&&(e.a=t,e.sc=r,e.cb=0),0}function Xe(e,t,r){return 3<=r&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ye(e,r){if(null==e)return 0;if(e.a=0,e.sc="OK",null==r)return Ge(e,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,i=r.w,a=r.ha;if(4>a)return Ge(e,7,"Truncated header.");var s=n[i+0]|n[i+1]<<8|n[i+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return Ge(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Ge(e,4,"Frame not displayable.");i+=3,a-=3;var c=e.Kc;if(l.Rb){if(7>a)return Ge(e,7,"cannot parse picture header");if(!Xe(n,i,a))return Ge(e,3,"Bad code word");c.c=16383&(n[i+4]<<8|n[i+3]),c.Td=n[i+4]>>6,c.i=16383&(n[i+6]<<8|n[i+5]),c.Ud=n[i+6]>>6,i+=7,a-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,r.width=c.c,r.height=c.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,o((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,o(s.Zb,0,0,s.Zb.length),o(s.Lb,0,0,s.Lb)}if(l.ub>a)return Ge(e,7,"bad partition length");m(s=e.m,n,i,l.ub),i+=l.ub,a-=l.ub,l.Rb&&(c.Ld=O(s),c.Kd=O(s)),c=e.Qa;var u,d=e.Pa;if(t(null!=s),t(null!=c),c.Cb=O(s),c.Cb){if(c.Bb=O(s),O(s)){for(c.Fb=O(s),u=0;4>u;++u)c.Zb[u]=O(s)?g(s,7):0;for(u=0;4>u;++u)c.Lb[u]=O(s)?g(s,6):0}if(c.Bb)for(u=0;3>u;++u)d.jb[u]=O(s)?f(s,8):255}else c.Bb=0;if(s.Ka)return Ge(e,3,"cannot parse segment header");if((c=e.ed).zd=O(s),c.Tb=f(s,6),c.wb=f(s,3),c.Pc=O(s),c.Pc&&O(s)){for(d=0;4>d;++d)O(s)&&(c.vd[d]=g(s,6));for(d=0;4>d;++d)O(s)&&(c.od[d]=g(s,6))}if(e.L=0==c.Tb?0:c.zd?1:2,s.Ka)return Ge(e,3,"cannot parse filter header");var h=a;if(a=u=i,i=u+h,c=h,e.Xb=(1<<f(e.m,2))-1,h<3*(d=e.Xb))n=7;else{for(u+=3*d,c-=3*d,h=0;h<d;++h){var p=n[a+0]|n[a+1]<<8|n[a+2]<<16;p>c&&(p=c),m(e.Jc[+h],n,u,p),u+=p,c-=p,a+=3}m(e.Jc[+d],n,u,c),n=u<i?0:5}if(0!=n)return Ge(e,n,"cannot parse partitions");for(n=f(u=e.m,7),a=O(u)?g(u,4):0,i=O(u)?g(u,4):0,c=O(u)?g(u,4):0,d=O(u)?g(u,4):0,u=O(u)?g(u,4):0,h=e.Qa,p=0;4>p;++p){if(h.Cb){var b=h.Zb[p];h.Fb||(b+=n)}else{if(0<p){e.pb[p]=e.pb[0];continue}b=n}var v=e.pb[p];v.Sc[0]=eo[Ze(b+a,127)],v.Sc[1]=to[Ze(b+0,127)],v.Eb[0]=2*eo[Ze(b+i,127)],v.Eb[1]=101581*to[Ze(b+c,127)]>>16,8>v.Eb[1]&&(v.Eb[1]=8),v.Qc[0]=eo[Ze(b+d,117)],v.Qc[1]=to[Ze(b+u,127)],v.lc=b+u}if(!l.Rb)return Ge(e,4,"Not a key frame.");for(O(s),l=e.Pa,n=0;4>n;++n){for(a=0;8>a;++a)for(i=0;3>i;++i)for(c=0;11>c;++c)d=_(s,lo[n][a][i][c])?f(s,8):ao[n][a][i][c],l.Wc[n][a].Yb[i][c]=d;for(a=0;17>a;++a)l.Xc[n][a]=l.Wc[n][co[a]]}return e.kc=O(s),e.kc&&(e.Bd=f(s,8)),e.cb=1}function Ke(e,t,r,n,o,i,a){var s=t[o].Yb[r];for(r=0;16>o;++o){if(!_(e,s[r+0]))return o;for(;!_(e,s[r+1]);)if(s=t[++o].Yb[0],r=0,16==o)return 16;var l=t[o+1].Yb;if(_(e,s[r+2])){var c=e,u=0;if(_(c,(h=s)[(d=r)+3]))if(_(c,h[d+6])){for(s=0,d=2*(u=_(c,h[d+8]))+(h=_(c,h[d+9+u])),u=0,h=no[d];h[s];++s)u+=u+_(c,h[s]);u+=3+(8<<d)}else _(c,h[d+7])?(u=7+2*_(c,165),u+=_(c,145)):u=5+_(c,159);else u=_(c,h[d+4])?3+_(c,h[d+5]):2;s=l[2]}else u=1,s=l[1];l=a+oo[o],0>(c=e).b&&j(c);var d,h=c.b,p=(d=c.Ca>>1)-(c.I>>h)>>31;--c.b,c.Ca+=p,c.Ca|=1,c.I-=(d+1&p)<<h,i[l]=((u^p)-p)*n[(0<o)+0]}return 16}function Je(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,o(e.zc,0,0,e.zc.length),e.ja=0}function Qe(e,t,r,n,o){o=e[t+r+32*n]+(o>>3),e[t+r+32*n]=-256&o?0>o?0:255:o}function et(e,t,r,n,o,i){Qe(e,t,0,r,n+o),Qe(e,t,1,r,n+i),Qe(e,t,2,r,n-i),Qe(e,t,3,r,n-o)}function tt(e){return(20091*e>>16)+e}function rt(e,t,r,n){var o,a=0,s=i(16);for(o=0;4>o;++o){var l=e[t+0]+e[t+8],c=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-tt(e[t+12]),d=tt(e[t+4])+(35468*e[t+12]>>16);s[a+0]=l+d,s[a+1]=c+u,s[a+2]=c-u,s[a+3]=l-d,a+=4,t++}for(o=a=0;4>o;++o)l=(e=s[a+0]+4)+s[a+8],c=e-s[a+8],u=(35468*s[a+4]>>16)-tt(s[a+12]),Qe(r,n,0,0,l+(d=tt(s[a+4])+(35468*s[a+12]>>16))),Qe(r,n,1,0,c+u),Qe(r,n,2,0,c-u),Qe(r,n,3,0,l-d),a++,n+=32}function nt(e,t,r,n){var o=e[t+0]+4,i=35468*e[t+4]>>16,a=tt(e[t+4]),s=35468*e[t+1]>>16;et(r,n,0,o+a,e=tt(e[t+1]),s),et(r,n,1,o+i,e,s),et(r,n,2,o-i,e,s),et(r,n,3,o-a,e,s)}function ot(e,t,r,n,o){rt(e,t,r,n),o&&rt(e,t+16,r,n+4)}function it(e,t,r,n){on(e,t+0,r,n,1),on(e,t+32,r,n+128,1)}function at(e,t,r,n){var o;for(e=e[t+0]+4,o=0;4>o;++o)for(t=0;4>t;++t)Qe(r,n,t,o,e)}function st(e,t,r,n){e[t+0]&&ln(e,t+0,r,n),e[t+16]&&ln(e,t+16,r,n+4),e[t+32]&&ln(e,t+32,r,n+128),e[t+48]&&ln(e,t+48,r,n+128+4)}function lt(e,t,r,n){var o,a=i(16);for(o=0;4>o;++o){var s=e[t+0+o]+e[t+12+o],l=e[t+4+o]+e[t+8+o],c=e[t+4+o]-e[t+8+o],u=e[t+0+o]-e[t+12+o];a[0+o]=s+l,a[8+o]=s-l,a[4+o]=u+c,a[12+o]=u-c}for(o=0;4>o;++o)s=(e=a[0+4*o]+3)+a[3+4*o],l=a[1+4*o]+a[2+4*o],c=a[1+4*o]-a[2+4*o],u=e-a[3+4*o],r[n+0]=s+l>>3,r[n+16]=u+c>>3,r[n+32]=s-l>>3,r[n+48]=u-c>>3,n+=64}function ct(e,t,r){var n,o=t-32,i=zn,a=255-e[o-1];for(n=0;n<r;++n){var s,l=i,c=a+e[t-1];for(s=0;s<r;++s)e[t+s]=l[c+e[o+s]];t+=32}}function ut(e,t){ct(e,t,4)}function dt(e,t){ct(e,t,8)}function ht(e,t){ct(e,t,16)}function pt(e,t){var r;for(r=0;16>r;++r)n(e,t+32*r,e,t-32,16)}function mt(e,t){var r;for(r=16;0<r;--r)o(e,t,e[t-1],16),t+=32}function ft(e,t,r){var n;for(n=0;16>n;++n)o(t,r+32*n,e,16)}function gt(e,t){var r,n=16;for(r=0;16>r;++r)n+=e[t-1+32*r]+e[t+r-32];ft(n>>5,e,t)}function bt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t-1+32*r];ft(n>>4,e,t)}function vt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t+r-32];ft(n>>4,e,t)}function yt(e,t){ft(128,e,t)}function wt(e,t,r){return e+2*t+r+2>>2}function xt(e,t){var r,o=t-32;for(o=new Uint8Array([wt(e[o-1],e[o+0],e[o+1]),wt(e[o+0],e[o+1],e[o+2]),wt(e[o+1],e[o+2],e[o+3]),wt(e[o+2],e[o+3],e[o+4])]),r=0;4>r;++r)n(e,t+32*r,o,0,o.length)}function St(e,t){var r=e[t-1],n=e[t-1+32],o=e[t-1+64],i=e[t-1+96];N(e,t+0,16843009*wt(e[t-1-32],r,n)),N(e,t+32,16843009*wt(r,n,o)),N(e,t+64,16843009*wt(n,o,i)),N(e,t+96,16843009*wt(o,i,i))}function kt(e,t){var r,n=4;for(r=0;4>r;++r)n+=e[t+r-32]+e[t-1+32*r];for(n>>=3,r=0;4>r;++r)o(e,t+32*r,n,4)}function Ct(e,t){var r=e[t-1+0],n=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+96]=wt(n,o,e[t-1+96]),e[t+1+96]=e[t+0+64]=wt(r,n,o),e[t+2+96]=e[t+1+64]=e[t+0+32]=wt(i,r,n),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=wt(a,i,r),e[t+3+64]=e[t+2+32]=e[t+1+0]=wt(s,a,i),e[t+3+32]=e[t+2+0]=wt(l,s,a),e[t+3+0]=wt(c,l,s)}function $t(e,t){var r=e[t+1-32],n=e[t+2-32],o=e[t+3-32],i=e[t+4-32],a=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=wt(e[t+0-32],r,n),e[t+1+0]=e[t+0+32]=wt(r,n,o),e[t+2+0]=e[t+1+32]=e[t+0+64]=wt(n,o,i),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=wt(o,i,a),e[t+3+32]=e[t+2+64]=e[t+1+96]=wt(i,a,s),e[t+3+64]=e[t+2+96]=wt(a,s,l),e[t+3+96]=wt(s,l,l)}function jt(e,t){var r=e[t-1+0],n=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+0]=e[t+1+64]=i+a+1>>1,e[t+1+0]=e[t+2+64]=a+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+c+1>>1,e[t+0+96]=wt(o,n,r),e[t+0+64]=wt(n,r,i),e[t+0+32]=e[t+1+96]=wt(r,i,a),e[t+1+32]=e[t+2+96]=wt(i,a,s),e[t+2+32]=e[t+3+96]=wt(a,s,l),e[t+3+32]=wt(s,l,c)}function Ot(e,t){var r=e[t+0-32],n=e[t+1-32],o=e[t+2-32],i=e[t+3-32],a=e[t+4-32],s=e[t+5-32],l=e[t+6-32],c=e[t+7-32];e[t+0+0]=r+n+1>>1,e[t+1+0]=e[t+0+64]=n+o+1>>1,e[t+2+0]=e[t+1+64]=o+i+1>>1,e[t+3+0]=e[t+2+64]=i+a+1>>1,e[t+0+32]=wt(r,n,o),e[t+1+32]=e[t+0+96]=wt(n,o,i),e[t+2+32]=e[t+1+96]=wt(o,i,a),e[t+3+32]=e[t+2+96]=wt(i,a,s),e[t+3+64]=wt(a,s,l),e[t+3+96]=wt(s,l,c)}function _t(e,t){var r=e[t-1+0],n=e[t-1+32],o=e[t-1+64],i=e[t-1+96];e[t+0+0]=r+n+1>>1,e[t+2+0]=e[t+0+32]=n+o+1>>1,e[t+2+32]=e[t+0+64]=o+i+1>>1,e[t+1+0]=wt(r,n,o),e[t+3+0]=e[t+1+32]=wt(n,o,i),e[t+3+32]=e[t+1+64]=wt(o,i,i),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=i}function Nt(e,t){var r=e[t-1+0],n=e[t-1+32],o=e[t-1+64],i=e[t-1+96],a=e[t-1-32],s=e[t+0-32],l=e[t+1-32],c=e[t+2-32];e[t+0+0]=e[t+2+32]=r+a+1>>1,e[t+0+32]=e[t+2+64]=n+r+1>>1,e[t+0+64]=e[t+2+96]=o+n+1>>1,e[t+0+96]=i+o+1>>1,e[t+3+0]=wt(s,l,c),e[t+2+0]=wt(a,s,l),e[t+1+0]=e[t+3+32]=wt(r,a,s),e[t+1+32]=e[t+3+64]=wt(n,r,a),e[t+1+64]=e[t+3+96]=wt(o,n,r),e[t+1+96]=wt(i,o,n)}function At(e,t){var r;for(r=0;8>r;++r)n(e,t+32*r,e,t-32,8)}function It(e,t){var r;for(r=0;8>r;++r)o(e,t,e[t-1],8),t+=32}function Et(e,t,r){var n;for(n=0;8>n;++n)o(t,r+32*n,e,8)}function zt(e,t){var r,n=8;for(r=0;8>r;++r)n+=e[t+r-32]+e[t-1+32*r];Et(n>>4,e,t)}function Mt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t+r-32];Et(n>>3,e,t)}function Pt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t-1+32*r];Et(n>>3,e,t)}function Lt(e,t){Et(128,e,t)}function Bt(e,t,r){var n=e[t-r],o=e[t+0],i=3*(o-n)+In[1020+e[t-2*r]-e[t+r]],a=En[112+(i+4>>3)];e[t-r]=zn[255+n+En[112+(i+3>>3)]],e[t+0]=zn[255+o-a]}function Tt(e,t,r,n){var o=e[t+0],i=e[t+r];return Mn[255+e[t-2*r]-e[t-r]]>n||Mn[255+i-o]>n}function Rt(e,t,r,n){return 4*Mn[255+e[t-r]-e[t+0]]+Mn[255+e[t-2*r]-e[t+r]]<=n}function Ft(e,t,r,n,o){var i=e[t-3*r],a=e[t-2*r],s=e[t-r],l=e[t+0],c=e[t+r],u=e[t+2*r],d=e[t+3*r];return 4*Mn[255+s-l]+Mn[255+a-c]>n?0:Mn[255+e[t-4*r]-i]<=o&&Mn[255+i-a]<=o&&Mn[255+a-s]<=o&&Mn[255+d-u]<=o&&Mn[255+u-c]<=o&&Mn[255+c-l]<=o}function Dt(e,t,r,n){var o=2*n+1;for(n=0;16>n;++n)Rt(e,t+n,r,o)&&Bt(e,t+n,r)}function qt(e,t,r,n){var o=2*n+1;for(n=0;16>n;++n)Rt(e,t+n*r,1,o)&&Bt(e,t+n*r,1)}function Ht(e,t,r,n){var o;for(o=3;0<o;--o)Dt(e,t+=4*r,r,n)}function Wt(e,t,r,n){var o;for(o=3;0<o;--o)qt(e,t+=4,r,n)}function Zt(e,t,r,n,o,i,a,s){for(i=2*i+1;0<o--;){if(Ft(e,t,r,i,a))if(Tt(e,t,r,s))Bt(e,t,r);else{var l=e,c=t,u=r,d=l[c-2*u],h=l[c-u],p=l[c+0],m=l[c+u],f=l[c+2*u],g=27*(v=In[1020+3*(p-h)+In[1020+d-m]])+63>>7,b=18*v+63>>7,v=9*v+63>>7;l[c-3*u]=zn[255+l[c-3*u]+v],l[c-2*u]=zn[255+d+b],l[c-u]=zn[255+h+g],l[c+0]=zn[255+p-g],l[c+u]=zn[255+m-b],l[c+2*u]=zn[255+f-v]}t+=n}}function Ut(e,t,r,n,o,i,a,s){for(i=2*i+1;0<o--;){if(Ft(e,t,r,i,a))if(Tt(e,t,r,s))Bt(e,t,r);else{var l=e,c=t,u=r,d=l[c-u],h=l[c+0],p=l[c+u],m=En[112+(4+(f=3*(h-d))>>3)],f=En[112+(f+3>>3)],g=m+1>>1;l[c-2*u]=zn[255+l[c-2*u]+g],l[c-u]=zn[255+d+f],l[c+0]=zn[255+h-m],l[c+u]=zn[255+p-g]}t+=n}}function Vt(e,t,r,n,o,i){Zt(e,t,r,1,16,n,o,i)}function Gt(e,t,r,n,o,i){Zt(e,t,1,r,16,n,o,i)}function Xt(e,t,r,n,o,i){var a;for(a=3;0<a;--a)Ut(e,t+=4*r,r,1,16,n,o,i)}function Yt(e,t,r,n,o,i){var a;for(a=3;0<a;--a)Ut(e,t+=4,1,r,16,n,o,i)}function Kt(e,t,r,n,o,i,a,s){Zt(e,t,o,1,8,i,a,s),Zt(r,n,o,1,8,i,a,s)}function Jt(e,t,r,n,o,i,a,s){Zt(e,t,1,o,8,i,a,s),Zt(r,n,1,o,8,i,a,s)}function Qt(e,t,r,n,o,i,a,s){Ut(e,t+4*o,o,1,8,i,a,s),Ut(r,n+4*o,o,1,8,i,a,s)}function er(e,t,r,n,o,i,a,s){Ut(e,t+4,1,o,8,i,a,s),Ut(r,n+4,1,o,8,i,a,s)}function tr(){this.ba=new ae,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rr(){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 nr(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function or(){this.ua=0,this.Wa=new P,this.vb=new P,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new p,this.yc=new d}function ir(){this.xb=this.a=0,this.l=new Ue,this.ca=new ae,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new x,this.Pb=0,this.wd=new x,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new or,this.ab=0,this.gc=a(4,nr),this.Oc=0}function ar(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Ue,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function sr(e,t,r,n,o,i,a){for(e=null==e?0:e[t+0],t=0;t<a;++t)o[i+t]=e+r[n+t]&255,e=o[i+t]}function lr(e,t,r,n,o,i,a){var s;if(null==e)sr(null,null,r,n,o,i,a);else for(s=0;s<a;++s)o[i+s]=e[t+s]+r[n+s]&255}function cr(e,t,r,n,o,i,a){if(null==e)sr(null,null,r,n,o,i,a);else{var s,l=e[t+0],c=l,u=l;for(s=0;s<a;++s)c=u+(l=e[t+s])-c,u=r[n+s]+(-256&c?0>c?0:255:c)&255,c=l,o[i+s]=u}}function ur(e,r,o,a){var s=r.width,l=r.o;if(t(null!=e&&null!=r),0>o||0>=a||o+a>l)return null;if(!e.Cc){if(null==e.ga){var c;if(e.ga=new ar,(c=null==e.ga)||(c=r.width*r.o,t(0==e.Gb.length),e.Gb=i(c),e.Uc=0,null==e.Gb?c=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,c=1),c=!c),!c){c=e.ga;var u=e.Fa,d=e.P,h=e.qc,p=e.mb,m=e.nb,f=d+1,g=h-1,v=c.l;if(t(null!=u&&null!=p&&null!=r),go[0]=null,go[1]=sr,go[2]=lr,go[3]=cr,c.ca=p,c.tb=m,c.c=r.width,c.i=r.height,t(0<c.c&&0<c.i),1>=h)r=0;else if(c.$a=3&u[d+0],c.Z=u[d+0]>>2&3,c.Lc=u[d+0]>>4&3,d=u[d+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||d)r=0;else if(v.put=pe,v.ac=he,v.bc=me,v.ma=c,v.width=r.width,v.height=r.height,v.Da=r.Da,v.v=r.v,v.va=r.va,v.j=r.j,v.o=r.o,c.$a)e:{t(1==c.$a),r=_e();t:for(;;){if(null==r){r=0;break e}if(t(null!=c),c.mc=r,r.c=c.c,r.i=c.i,r.l=c.l,r.l.ma=c,r.l.width=c.c,r.l.height=c.i,r.a=0,b(r.m,u,f,g),!Ne(c.c,c.i,1,r,null))break t;if(1==r.ab&&3==r.gc[0].hc&&ke(r.s)?(c.ic=1,u=r.c*r.i,r.Ta=null,r.Ua=0,r.V=i(u),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(c.ic=0,r=Ae(r,c.c)),!r)break t;r=1;break e}c.mc=null,r=0}else r=g>=c.c*c.i;c=!r}if(c)return null;1!=e.ga.Lc?e.Ga=0:a=l-o}t(null!=e.ga),t(o+a<=l);e:{if(r=(u=e.ga).c,l=u.l.o,0==u.$a){if(f=e.rc,g=e.Vc,v=e.Fa,d=e.P+1+o*r,h=e.mb,p=e.nb+o*r,t(d<=e.P+e.qc),0!=u.Z)for(t(null!=go[u.Z]),c=0;c<a;++c)go[u.Z](f,g,v,d,h,p,r),f=h,g=p,p+=r,d+=r;else for(c=0;c<a;++c)n(h,p,v,d,r),f=h,g=p,p+=r,d+=r;e.rc=f,e.Vc=g}else{if(t(null!=u.mc),r=o+a,t(null!=(c=u.mc)),t(r<=c.i),c.C>=r)r=1;else if(u.ic||fr(),u.ic){u=c.V,f=c.Ba,g=c.c;var y=c.i,w=(v=1,d=c.$/g,h=c.$%g,p=c.m,m=c.s,c.$),x=g*y,S=g*r,C=m.wc,j=w<S?we(m,h,d):null;t(w<=x),t(r<=y),t(ke(m));t:for(;;){for(;!p.h&&w<S;){if(h&C||(j=we(m,h,d)),t(null!=j),$(p),256>(y=ve(j.G[0],j.H[0],p)))u[f+w]=y,++w,++h>=g&&(h=0,++d<=r&&!(d%16)&&$e(c,d));else{if(!(280>y)){v=0;break t}y=ge(y-256,p);var O,_=ve(j.G[4],j.H[4],p);if($(p),!(w>=(_=be(g,_=ge(_,p)))&&x-w>=y)){v=0;break t}for(O=0;O<y;++O)u[f+w+O]=u[f+w+O-_];for(w+=y,h+=y;h>=g;)h-=g,++d<=r&&!(d%16)&&$e(c,d);w<S&&h&C&&(j=we(m,h,d))}t(p.h==k(p))}$e(c,d>r?r:d);break t}!v||p.h&&w<x?(v=0,c.a=p.h?5:3):c.$=w,r=v}else r=je(c,c.V,c.Ba,c.c,c.i,r,Ie);if(!r){a=0;break e}}o+a>=l&&(e.Cc=1),a=1}if(!a)return null;if(e.Cc&&(null!=(a=e.ga)&&(a.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+o*s}function dr(e,t,r,n,o,i){for(;0<o--;){var a,s=e,l=t+(r?1:0),c=e,u=t+(r?0:3);for(a=0;a<n;++a){var d=c[u+4*a];255!=d&&(d*=32897,s[l+4*a+0]=s[l+4*a+0]*d>>23,s[l+4*a+1]=s[l+4*a+1]*d>>23,s[l+4*a+2]=s[l+4*a+2]*d>>23)}t+=i}}function hr(e,t,r,n,o){for(;0<n--;){var i;for(i=0;i<r;++i){var a=e[t+2*i+0],s=15&(c=e[t+2*i+1]),l=4369*s,c=(240&c|c>>4)*l>>16;e[t+2*i+0]=(240&a|a>>4)*l>>16&240|(15&a|a<<4)*l>>16>>4&15,e[t+2*i+1]=240&c|s}t+=o}}function pr(e,t,r,n,o,i,a,s){var l,c,u=255;for(c=0;c<o;++c){for(l=0;l<n;++l){var d=e[t+l];i[a+4*l]=d,u&=d}t+=r,a+=s}return 255!=u}function mr(e,t,r,n,o){var i;for(i=0;i<o;++i)r[n+i]=e[t+i]>>8}function fr(){Sn=dr,kn=hr,Cn=pr,$n=mr}function gr(r,n,o){e[r]=function(e,r,i,a,s,l,c,u,d,h,p,m,f,g,b,v,y){var w,x=y-1>>1,S=s[l+0]|c[u+0]<<16,k=d[h+0]|p[m+0]<<16;t(null!=e);var C=3*S+k+131074>>2;for(n(e[r+0],255&C,C>>16,f,g),null!=i&&(C=3*k+S+131074>>2,n(i[a+0],255&C,C>>16,b,v)),w=1;w<=x;++w){var $=s[l+w]|c[u+w]<<16,j=d[h+w]|p[m+w]<<16,O=S+$+k+j+524296,_=O+2*($+k)>>3;C=_+S>>1,S=(O=O+2*(S+j)>>3)+$>>1,n(e[r+2*w-1],255&C,C>>16,f,g+(2*w-1)*o),n(e[r+2*w-0],255&S,S>>16,f,g+(2*w-0)*o),null!=i&&(C=O+k>>1,S=_+j>>1,n(i[a+2*w-1],255&C,C>>16,b,v+(2*w-1)*o),n(i[a+2*w+0],255&S,S>>16,b,v+(2*w+0)*o)),S=$,k=j}1&y||(C=3*S+k+131074>>2,n(e[r+y-1],255&C,C>>16,f,g+(y-1)*o),null!=i&&(C=3*k+S+131074>>2,n(i[a+y-1],255&C,C>>16,b,v+(y-1)*o)))}}function br(){bo[Pn]=vo,bo[Ln]=wo,bo[Bn]=yo,bo[Tn]=xo,bo[Rn]=So,bo[Fn]=ko,bo[Dn]=Co,bo[qn]=wo,bo[Hn]=xo,bo[Wn]=So,bo[Zn]=ko}function vr(e){return e&~Ao?0>e?0:255:e>>No}function yr(e,t){return vr((19077*e>>8)+(26149*t>>8)-14234)}function wr(e,t,r){return vr((19077*e>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function xr(e,t){return vr((19077*e>>8)+(33050*t>>8)-17685)}function Sr(e,t,r,n,o){n[o+0]=yr(e,r),n[o+1]=wr(e,t,r),n[o+2]=xr(e,t)}function kr(e,t,r,n,o){n[o+0]=xr(e,t),n[o+1]=wr(e,t,r),n[o+2]=yr(e,r)}function Cr(e,t,r,n,o){var i=wr(e,t,r);t=i<<3&224|xr(e,t)>>3,n[o+0]=248&yr(e,r)|i>>5,n[o+1]=t}function $r(e,t,r,n,o){var i=240&xr(e,t)|15;n[o+0]=240&yr(e,r)|wr(e,t,r)>>4,n[o+1]=i}function jr(e,t,r,n,o){n[o+0]=255,Sr(e,t,r,n,o+1)}function Or(e,t,r,n,o){kr(e,t,r,n,o),n[o+3]=255}function _r(e,t,r,n,o){Sr(e,t,r,n,o),n[o+3]=255}function Ze(e,t){return 0>e?0:e>t?t:e}function Nr(t,r,n){e[t]=function(e,t,o,i,a,s,l,c,u){for(var d=c+(-2&u)*n;c!=d;)r(e[t+0],o[i+0],a[s+0],l,c),r(e[t+1],o[i+0],a[s+0],l,c+n),t+=2,++i,++s,c+=2*n;1&u&&r(e[t+0],o[i+0],a[s+0],l,c)}}function Ar(e,t,r){return 0==r?0==e?0==t?6:5:0==t?4:0:r}function Ir(e,t,r,n,o){switch(e>>>30){case 3:on(t,r,n,o,0);break;case 2:an(t,r,n,o);break;case 1:ln(t,r,n,o)}}function Er(e,t){var r,i,a=t.M,s=t.Nb,l=e.oc,c=e.pc+40,u=e.oc,d=e.pc+584,h=e.oc,p=e.pc+600;for(r=0;16>r;++r)l[c+32*r-1]=129;for(r=0;8>r;++r)u[d+32*r-1]=129,h[p+32*r-1]=129;for(0<a?l[c-1-32]=u[d-1-32]=h[p-1-32]=129:(o(l,c-32-1,127,21),o(u,d-32-1,127,9),o(h,p-32-1,127,9)),i=0;i<e.za;++i){var m=t.ya[t.aa+i];if(0<i){for(r=-1;16>r;++r)n(l,c+32*r-4,l,c+32*r+12,4);for(r=-1;8>r;++r)n(u,d+32*r-4,u,d+32*r+4,4),n(h,p+32*r-4,h,p+32*r+4,4)}var f=e.Gd,g=e.Hd+i,b=m.ad,v=m.Hc;if(0<a&&(n(l,c-32,f[g].y,0,16),n(u,d-32,f[g].f,0,8),n(h,p-32,f[g].ea,0,8)),m.Za){var y=l,w=c-32+16;for(0<a&&(i>=e.za-1?o(y,w,f[g].y[15],4):n(y,w,f[g+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,v<<=2)y=l,w=c+To[r],ho[m.Ob[r]](y,w),Ir(v,b,16*+r,y,w)}else if(y=Ar(i,a,m.Ob[0]),uo[y](l,c),0!=v)for(r=0;16>r;++r,v<<=2)Ir(v,b,16*+r,l,c+To[r]);for(r=m.Gc,y=Ar(i,a,m.Dd),po[y](u,d),po[y](h,p),v=b,y=u,w=d,255&(m=0|r)&&(170&m?sn(v,256,y,w):cn(v,256,y,w)),m=h,v=p,255&(r>>=8)&&(170&r?sn(b,320,m,v):cn(b,320,m,v)),a<e.Ub-1&&(n(f[g].y,0,l,c+480,16),n(f[g].f,0,u,d+224,8),n(f[g].ea,0,h,p+224,8)),r=8*s*e.B,f=e.sa,g=e.ta+16*i+16*s*e.R,b=e.qa,m=e.ra+8*i+r,v=e.Ha,y=e.Ia+8*i+r,r=0;16>r;++r)n(f,g+r*e.R,l,c+32*r,16);for(r=0;8>r;++r)n(b,m+r*e.B,u,d+32*r,8),n(v,y+r*e.B,h,p+32*r,8)}}function zr(e,n,o,i,a,s,l,c,u){var d=[0],h=[0],p=0,m=null!=u?u.kd:0,f=null!=u?u:new rr;if(null==e||12>o)return 7;f.data=e,f.w=n,f.ha=o,n=[n],o=[o],f.gb=[f.gb];e:{var g=n,v=o,y=f.gb;if(t(null!=e),t(null!=v),t(null!=y),y[0]=0,12<=v[0]&&!r(e,g[0],"RIFF")){if(r(e,g[0]+8,"WEBP")){y=3;break e}var w=E(e,g[0]+4);if(12>w||4294967286<w){y=3;break e}if(m&&w>v[0]-8){y=7;break e}y[0]=w,g[0]+=12,v[0]-=12}y=0}if(0!=y)return y;for(w=0<f.gb[0],o=o[0];;){e:{var S=e;v=n,y=o;var k=d,C=h,$=g=[0];if((_=p=[p])[0]=0,8>y[0])y=7;else{if(!r(S,v[0],"VP8X")){if(10!=E(S,v[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var j=E(S,v[0]+8),O=1+I(S,v[0]+12);if(2147483648<=O*(S=1+I(S,v[0]+15))){y=3;break e}null!=$&&($[0]=j),null!=k&&(k[0]=O),null!=C&&(C[0]=S),v[0]+=18,y[0]-=18,_[0]=1}y=0}}if(p=p[0],g=g[0],0!=y)return y;if(v=!!(2&g),!w&&p)return 3;if(null!=s&&(s[0]=!!(16&g)),null!=l&&(l[0]=v),null!=c&&(c[0]=0),l=d[0],g=h[0],p&&v&&null==u){y=0;break}if(4>o){y=7;break}if(w&&p||!w&&!p&&!r(e,n[0],"ALPH")){o=[o],f.na=[f.na],f.P=[f.P],f.Sa=[f.Sa];e:{j=e,y=n,w=o;var _=f.gb;k=f.na,C=f.P,$=f.Sa,O=22,t(null!=j),t(null!=w),S=y[0];var N=w[0];for(t(null!=k),t(null!=$),k[0]=null,C[0]=null,$[0]=0;;){if(y[0]=S,w[0]=N,8>N){y=7;break e}var A=E(j,S+4);if(4294967286<A){y=3;break e}var z=8+A+1&-2;if(O+=z,0<_&&O>_){y=3;break e}if(!r(j,S,"VP8 ")||!r(j,S,"VP8L")){y=0;break e}if(N[0]<z){y=7;break e}r(j,S,"ALPH")||(k[0]=j,C[0]=S+8,$[0]=A),S+=z,N-=z}}if(o=o[0],f.na=f.na[0],f.P=f.P[0],f.Sa=f.Sa[0],0!=y)break}o=[o],f.Ja=[f.Ja],f.xa=[f.xa];e:if(_=e,y=n,w=o,k=f.gb[0],C=f.Ja,$=f.xa,j=y[0],S=!r(_,j,"VP8 "),O=!r(_,j,"VP8L"),t(null!=_),t(null!=w),t(null!=C),t(null!=$),8>w[0])y=7;else{if(S||O){if(_=E(_,j+4),12<=k&&_>k-12){y=3;break e}if(m&&_>w[0]-8){y=7;break e}C[0]=_,y[0]+=8,w[0]-=8,$[0]=O}else $[0]=5<=w[0]&&47==_[j+0]&&!(_[j+4]>>5),C[0]=w[0];y=0}if(o=o[0],f.Ja=f.Ja[0],f.xa=f.xa[0],n=n[0],0!=y)break;if(4294967286<f.Ja)return 3;if(null==c||v||(c[0]=f.xa?2:1),l=[l],g=[g],f.xa){if(5>o){y=7;break}c=l,m=g,v=s,null==e||5>o?e=0:5<=o&&47==e[n+0]&&!(e[n+4]>>5)?(w=[0],_=[0],k=[0],b(C=new x,e,n,o),fe(C,w,_,k)?(null!=c&&(c[0]=w[0]),null!=m&&(m[0]=_[0]),null!=v&&(v[0]=k[0]),e=1):e=0):e=0}else{if(10>o){y=7;break}c=g,null==e||10>o||!Xe(e,n+3,o-3)?e=0:(m=e[n+0]|e[n+1]<<8|e[n+2]<<16,v=16383&(e[n+7]<<8|e[n+6]),e=16383&(e[n+9]<<8|e[n+8]),1&m||3<(m>>1&7)||!(m>>4&1)||m>>5>=f.Ja||!v||!e?e=0:(l&&(l[0]=v),c&&(c[0]=e),e=1))}if(!e)return 3;if(l=l[0],g=g[0],p&&(d[0]!=l||h[0]!=g))return 3;null!=u&&(u[0]=f,u.offset=n-u.w,t(4294967286>n-u.w),t(u.offset==u.ha-o));break}return 0==y||7==y&&p&&null==u?(null!=s&&(s[0]|=null!=f.na&&0<f.na.length),null!=i&&(i[0]=l),null!=a&&(a[0]=g),0):y}function Mr(e,t,r){var n=t.width,o=t.height,i=0,a=0,s=n,l=o;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,i=e.v,a=e.j,11>r||(i&=-2,a&=-2),0>i||0>a||0>=s||0>=l||i+s>n||a+l>o))return 0;if(t.v=i,t.j=a,t.va=i+s,t.o=a+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!L(s,l,r=[e.ib],i=[e.hb]))return 0;t.ib=r[0],t.hb=i[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*n/4&&t.hb<3*o/4,t.Kb=0),1}function Pr(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Lr(e,t,r,n){if(null==n||0>=e||0>=t)return 2;if(null!=r){if(r.Da){var o=r.cd,a=r.bd,s=-2&r.v,l=-2&r.j;if(0>s||0>l||0>=o||0>=a||s+o>e||l+a>t)return 2;e=o,t=a}if(r.da){if(!L(e,t,o=[r.ib],a=[r.hb]))return 2;e=o[0],t=a[0]}}n.width=e,n.height=t;e:{var c=n.width,u=n.height;if(e=n.S,0>=c||0>=u||!(e>=Pn&&13>e))e=2;else{if(0>=n.Rd&&null==n.sd){s=a=o=t=0;var d=(l=c*Do[e])*u;if(11>e||(a=(u+1)/2*(t=(c+1)/2),12==e&&(s=(o=c)*u)),null==(u=i(d+2*a+s))){e=1;break e}n.sd=u,11>e?((c=n.f.RGBA).eb=u,c.fb=0,c.A=l,c.size=d):((c=n.f.kb).y=u,c.O=0,c.fa=l,c.Fd=d,c.f=u,c.N=0+d,c.Ab=t,c.Cd=a,c.ea=u,c.W=0+d+a,c.Db=t,c.Ed=a,12==e&&(c.F=u,c.J=0+d+2*a),c.Tc=s,c.lb=o)}if(t=1,o=n.S,a=n.width,s=n.height,o>=Pn&&13>o)if(11>o)e=n.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+a<=e.size,t&=l>=a*Do[o],t&=null!=e.eb;else{e=n.f.kb,l=(a+1)/2,d=(s+1)/2,c=Math.abs(e.fa),u=Math.abs(e.Ab);var h=Math.abs(e.Db),p=Math.abs(e.lb),m=p*(s-1)+a;t&=c*(s-1)+a<=e.Fd,t&=u*(d-1)+l<=e.Cd,t=(t&=h*(d-1)+l<=e.Ed)&c>=a&u>=l&h>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==o&&(t&=p>=a,t&=m<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=r&&r.fd&&(e=Pr(n)),e}var Br=64,Tr=[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],Rr=24,Fr=32,Dr=8,qr=[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];R("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,r){return t[r+0]},e.Predictor3=function(e,t,r){return t[r+1]},e.Predictor4=function(e,t,r){return t[r-1]},e.Predictor5=function(e,t,r){return D(D(e,t[r+1]),t[r+0])},e.Predictor6=function(e,t,r){return D(e,t[r-1])},e.Predictor7=function(e,t,r){return D(e,t[r+0])},e.Predictor8=function(e,t,r){return D(t[r-1],t[r+0])},e.Predictor9=function(e,t,r){return D(t[r+0],t[r+1])},e.Predictor10=function(e,t,r){return D(D(e,t[r-1]),D(t[r+0],t[r+1]))},e.Predictor11=function(e,t,r){var n=t[r+0];return 0>=W(n>>24&255,e>>24&255,(t=t[r-1])>>24&255)+W(n>>16&255,e>>16&255,t>>16&255)+W(n>>8&255,e>>8&255,t>>8&255)+W(255&n,255&e,255&t)?n:e},e.Predictor12=function(e,t,r){var n=t[r+0];return(q((e>>24&255)+(n>>24&255)-((t=t[r-1])>>24&255))<<24|q((e>>16&255)+(n>>16&255)-(t>>16&255))<<16|q((e>>8&255)+(n>>8&255)-(t>>8&255))<<8|q((255&e)+(255&n)-(255&t)))>>>0},e.Predictor13=function(e,t,r){var n=t[r-1];return(H((e=D(e,t[r+0]))>>24&255,n>>24&255)<<24|H(e>>16&255,n>>16&255)<<16|H(e>>8&255,n>>8&255)<<8|H(255&e,255&n))>>>0};var Hr=e.PredictorAdd0;e.PredictorAdd1=Z,R("Predictor2","PredictorAdd2"),R("Predictor3","PredictorAdd3"),R("Predictor4","PredictorAdd4"),R("Predictor5","PredictorAdd5"),R("Predictor6","PredictorAdd6"),R("Predictor7","PredictorAdd7"),R("Predictor8","PredictorAdd8"),R("Predictor9","PredictorAdd9"),R("Predictor10","PredictorAdd10"),R("Predictor11","PredictorAdd11"),R("Predictor12","PredictorAdd12"),R("Predictor13","PredictorAdd13");var Wr=e.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Zr,Ur=e.ColorIndexInverseTransform,Vr=e.MapARGB,Gr=e.VP8LColorIndexInverseTransformAlpha,Xr=e.MapAlpha,Yr=e.VP8LPredictorsAdd=[];Yr.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Kr,Jr,Qr,en,tn,rn,nn,on,an,sn,ln,cn,un,dn,hn,pn,mn,fn,gn,bn,vn,yn,wn,xn,Sn,kn,Cn,$n,jn=i(511),On=i(2041),_n=i(225),Nn=i(767),An=0,In=On,En=_n,zn=Nn,Mn=jn,Pn=0,Ln=1,Bn=2,Tn=3,Rn=4,Fn=5,Dn=6,qn=7,Hn=8,Wn=9,Zn=10,Un=[2,3,7],Vn=[3,3,11],Gn=[280,256,256,256,40],Xn=[0,1,1,1,0],Yn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Kn=[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],Jn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Qn=8,eo=[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],to=[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],ro=null,no=[[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]],oo=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],io=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ao=[[[[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]]]],so=[[[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]]],lo=[[[[255,255,255,255,255,255,255,255,255,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]]]],co=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],uo=[],ho=[],po=[],mo=1,fo=2,go=[],bo=[];gr("UpsampleRgbLinePair",Sr,3),gr("UpsampleBgrLinePair",kr,3),gr("UpsampleRgbaLinePair",_r,4),gr("UpsampleBgraLinePair",Or,4),gr("UpsampleArgbLinePair",jr,4),gr("UpsampleRgba4444LinePair",$r,2),gr("UpsampleRgb565LinePair",Cr,2);var vo=e.UpsampleRgbLinePair,yo=e.UpsampleBgrLinePair,wo=e.UpsampleRgbaLinePair,xo=e.UpsampleBgraLinePair,So=e.UpsampleArgbLinePair,ko=e.UpsampleRgba4444LinePair,Co=e.UpsampleRgb565LinePair,$o=16,jo=1<<$o-1,Oo=-227,_o=482,No=6,Ao=(256<<No)-1,Io=0,Eo=i(256),zo=i(256),Mo=i(256),Po=i(256),Lo=i(_o-Oo),Bo=i(_o-Oo);Nr("YuvToRgbRow",Sr,3),Nr("YuvToBgrRow",kr,3),Nr("YuvToRgbaRow",_r,4),Nr("YuvToBgraRow",Or,4),Nr("YuvToArgbRow",jr,4),Nr("YuvToRgba4444Row",$r,2),Nr("YuvToRgb565Row",Cr,2);var To=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ro=[0,2,8],Fo=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(e,r,s,l,c){var u=Ln,d=new tr,h=new ae;d.ba=h,h.S=u,h.width=[h.width],h.height=[h.height];var p=h.width,m=h.height,f=new se;if(null==f||null==e)var g=2;else t(null!=f),g=zr(e,r,s,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=g?p=0:(null!=p&&(p[0]=f.width[0]),null!=m&&(m[0]=f.height[0]),p=1),p){h.width=h.width[0],h.height=h.height[0],null!=l&&(l[0]=h.width),null!=c&&(c[0]=h.height);e:{if(l=new Ue,(c=new rr).data=e,c.w=r,c.ha=s,c.kd=1,r=[0],t(null!=c),(0==(e=zr(c.data,c.w,c.ha,null,null,null,r,null,c))||7==e)&&r[0]&&(e=4),0==(r=e)){if(t(null!=d),l.data=c.data,l.w=c.w+c.offset,l.ha=c.ha-c.offset,l.put=pe,l.ac=he,l.bc=me,l.ma=d,c.xa){if(null==(e=_e())){d=1;break e}if(function(e,r){var n=[0],o=[0],i=[0];t:for(;;){if(null==e)return 0;if(null==r)return e.a=2,0;if(e.l=r,e.a=0,b(e.m,r.data,r.w,r.ha),!fe(e.m,n,o,i)){e.a=3;break t}if(e.xb=fo,r.width=n[0],r.height=o[0],!Ne(n[0],o[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,l)){if(l=0==(r=Lr(l.width,l.height,d.Oa,d.ba))){t:{l=e;r:for(;;){if(null==l){l=0;break t}if(t(null!=l.s.yc),t(null!=l.s.Ya),t(0<l.s.Wb),t(null!=(s=l.l)),t(null!=(c=s.ma)),0!=l.xb){if(l.ca=c.ba,l.tb=c.tb,t(null!=l.ca),!Mr(c.Oa,s,Tn)){l.a=2;break r}if(!Ae(l,s.width))break r;if(s.da)break r;if((s.da||ne(l.ca.S))&&fr(),11>l.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=l.ca.f.kb.F&&fr()),l.Pb&&0<l.s.ua&&null==l.s.vb.X&&!z(l.s.vb,l.s.Wa.Xa)){l.a=1;break r}l.xb=0}if(!je(l,l.V,l.Ba,l.c,l.i,s.o,Se))break r;c.Dc=l.Ma,l=1;break t}t(0!=l.a),l=0}l=!l}l&&(r=e.a)}else r=e.a}else{if(null==(e=new Ve)){d=1;break e}if(e.Fa=c.na,e.P=c.P,e.qc=c.Sa,Ye(e,l)){if(0==(r=Lr(l.width,l.height,d.Oa,d.ba))){if(e.Aa=0,s=d.Oa,t(null!=(c=e)),null!=s){if(0<(p=0>(p=s.Md)?0:100<p?255:255*p/100)){for(m=f=0;4>m;++m)12>(g=c.pb[m]).lc&&(g.ia=p*Fo[0>g.lc?0:g.lc]>>3),f|=g.ia;f&&(alert("todo:VP8InitRandom"),c.ia=1)}c.Ga=s.Id,100<c.Ga?c.Ga=100:0>c.Ga&&(c.Ga=0)}(function(e,r){if(null==e)return 0;if(null==r)return Ge(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ye(e,r))return 0;if(t(e.cb),null==r.ac||r.ac(r)){r.ob&&(e.L=0);var s=Ro[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=r.v-s>>4,e.zb=r.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=r.o+15+s>>4,e.Hb=r.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var c;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=l.Tb)}else u=l.Tb;for(c=0;1>=c;++c){var d=e.gd[s][c],h=u;if(l.Pc&&(h+=l.vd[0],c&&(h+=l.od[0])),0<(h=0>h?0:63<h?63:h)){var p=h;0<l.wb&&(p=4<l.wb?p>>2:p>>1)>9-l.wb&&(p=9-l.wb),1>p&&(p=1),d.dd=p,d.tc=2*h+p,d.ld=40<=h?2:15<=h?1:0}else d.tc=0;d.La=c}}}s=0}else Ge(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=1);t:{s=e.Ic,l=4*(p=e.za);var m=32*p,f=p+1,g=0<e.L?p*(0<e.Aa?2:1):0,b=(2==e.Aa?2:1)*p;if((d=l+832+(c=3*(16*s+Ro[e.L])/2*m)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=d)s=0;else{if(d>e.Vb){if(e.Vb=0,e.Ec=i(d),e.Fc=0,null==e.Ec){s=Ge(e,1,"no memory during frame initialization.");break t}e.Vb=d}d=e.Ec,h=e.Fc,e.Ac=d,e.Bc=h,h+=l,e.Gd=a(m,He),e.Hd=0,e.rb=a(f+1,Re),e.sb=1,e.wa=g?a(g,Te):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=p),t(!0),e.oc=d,e.pc=h,h+=832,e.ya=a(b,De),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=p),e.R=16*p,e.B=8*p,p=(m=Ro[e.L])*e.R,m=m/2*e.B,e.sa=d,e.ta=h+p,e.qa=e.sa,e.ra=e.ta+16*s*e.R+m,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+m,e.$c=0,h+=c,e.mb=u?d:null,e.nb=u?h:null,t(h+u<=e.Fc+e.Vb),Je(e),o(e.Ac,e.Bc,0,l),s=1}}if(s){if(r.ka=0,r.y=e.sa,r.O=e.ta,r.f=e.qa,r.N=e.ra,r.ea=e.Ha,r.Vd=e.Ia,r.fa=e.R,r.Rc=e.B,r.F=null,r.J=0,!An){for(s=-255;255>=s;++s)jn[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)On[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)_n[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Nn[255+s]=0>s?0:255<s?255:s;An=1}nn=lt,on=ot,sn=it,ln=at,cn=st,an=nt,un=Vt,dn=Gt,hn=Kt,pn=Jt,mn=Xt,fn=Yt,gn=Qt,bn=er,vn=Dt,yn=qt,wn=Ht,xn=Wt,ho[0]=kt,ho[1]=ut,ho[2]=xt,ho[3]=St,ho[4]=Ct,ho[5]=jt,ho[6]=$t,ho[7]=Ot,ho[8]=Nt,ho[9]=_t,uo[0]=gt,uo[1]=ht,uo[2]=pt,uo[3]=mt,uo[4]=bt,uo[5]=vt,uo[6]=yt,po[0]=zt,po[1]=dt,po[2]=At,po[3]=It,po[4]=Pt,po[5]=Mt,po[6]=Lt,s=1}else s=0}s&&(s=function(e,r){for(e.M=0;e.M<e.Va;++e.M){var a,s=e.Jc[e.M&e.Xb],l=e.m,c=e;for(a=0;a<c.za;++a){var u=l,d=c,h=d.Ac,p=d.Bc+4*a,m=d.zc,f=d.ya[d.aa+a];if(d.Qa.Bb?f.$b=_(u,d.Pa.jb[0])?2+_(u,d.Pa.jb[2]):_(u,d.Pa.jb[1]):f.$b=0,d.kc&&(f.Ad=_(u,d.Bd)),f.Za=!_(u,145)+0,f.Za){var g=f.Ob,b=0;for(d=0;4>d;++d){var v,y=m[0+d];for(v=0;4>v;++v){y=so[h[p+v]][y];for(var w=io[_(u,y[0])];0<w;)w=io[2*w+_(u,y[w])];y=-w,h[p+v]=y}n(g,b,h,p,4),b+=4,m[0+d]=y}}else y=_(u,156)?_(u,128)?1:3:_(u,163)?2:0,f.Ob[0]=y,o(h,p,y,4),o(m,0,y,4);f.Dd=_(u,142)?_(u,114)?_(u,183)?1:3:2:0}if(c.m.Ka)return Ge(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(c=s,u=(l=e).rb[l.sb-1],h=l.rb[l.sb+l.ja],a=l.ya[l.aa+l.ja],p=l.kc?a.Ad:0)u.la=h.la=0,a.Za||(u.Na=h.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var x,S;if(u=h,h=c,p=l.Pa.Xc,m=l.ya[l.aa+l.ja],f=l.pb[m.$b],d=m.ad,g=0,b=l.rb[l.sb-1],y=v=0,o(d,g,0,384),m.Za)var k=0,C=p[3];else{w=i(16);var $=u.Na+b.Na;if($=ro(h,p[1],$,f.Eb,0,w,0),u.Na=b.Na=(0<$)+0,1<$)nn(w,0,d,g);else{var j=w[0]+3>>3;for(w=0;256>w;w+=16)d[g+w]=j}k=1,C=p[0]}var O=15&u.la,N=15&b.la;for(w=0;4>w;++w){var A=1&N;for(j=S=0;4>j;++j)O=O>>1|(A=($=ro(h,C,$=A+(1&O),f.Sc,k,d,g))>k)<<7,S=S<<2|(3<$?3:1<$?2:0!=d[g+0]),g+=16;O>>=4,N=N>>1|A<<7,v=(v<<8|S)>>>0}for(C=O,k=N>>4,x=0;4>x;x+=2){for(S=0,O=u.la>>4+x,N=b.la>>4+x,w=0;2>w;++w){for(A=1&N,j=0;2>j;++j)$=A+(1&O),O=O>>1|(A=0<($=ro(h,p[2],$,f.Qc,0,d,g)))<<3,S=S<<2|(3<$?3:1<$?2:0!=d[g+0]),g+=16;O>>=2,N=N>>1|A<<5}y|=S<<4*x,C|=O<<4<<x,k|=(240&N)<<x}u.la=C,b.la=k,m.Hc=v,m.Gc=y,m.ia=43690&y?0:f.ia,p=!(v|y)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[a.$b][a.Za],l.wa[l.Y+l.ja].La|=!p),c.Ka)return Ge(e,7,"Premature end-of-file encountered.")}if(Je(e),l=r,c=1,a=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(a.M=s.M,a.uc=u,Er(s,a),c=1,a=(S=s.D).Nb,u=(y=Ro[s.L])*s.R,h=y/2*s.B,w=16*a*s.R,j=8*a*s.B,p=s.sa,m=s.ta-u+w,f=s.qa,d=s.ra-h+j,g=s.Ha,b=s.Ia-h+j,N=0==(O=S.M),v=O>=s.Va-1,2==s.Aa&&Er(s,S),S.uc)for(A=($=s).D.M,t($.D.uc),S=$.yb;S<$.Hb;++S){k=S,C=A;var I=(E=(D=$).D).Nb;x=D.R;var E=E.wa[E.Y+k],z=D.sa,M=D.ta+16*I*x+16*k,P=E.dd,L=E.tc;if(0!=L)if(t(3<=L),1==D.L)0<k&&yn(z,M,x,L+4),E.La&&xn(z,M,x,L),0<C&&vn(z,M,x,L+4),E.La&&wn(z,M,x,L);else{var B=D.B,T=D.qa,R=D.ra+8*I*B+8*k,F=D.Ha,D=D.Ia+8*I*B+8*k;I=E.ld,0<k&&(dn(z,M,x,L+4,P,I),pn(T,R,F,D,B,L+4,P,I)),E.La&&(fn(z,M,x,L,P,I),bn(T,R,F,D,B,L,P,I)),0<C&&(un(z,M,x,L+4,P,I),hn(T,R,F,D,B,L+4,P,I)),E.La&&(mn(z,M,x,L,P,I),gn(T,R,F,D,B,L,P,I))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(S=16*O,O=16*(O+1),N?(l.y=s.sa,l.O=s.ta+w,l.f=s.qa,l.N=s.ra+j,l.ea=s.Ha,l.W=s.Ia+j):(S-=y,l.y=p,l.O=m,l.f=f,l.N=d,l.ea=g,l.W=b),v||(O-=y),O>l.o&&(O=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&S<O&&(l.J=ur(s,l,S,O-S),l.F=s.mb,null==l.F&&0==l.F.length)){c=Ge(s,3,"Could not decode alpha data.");break t}S<l.j&&(y=l.j-S,S=l.j,t(!(1&y)),l.O+=s.R*y,l.N+=s.B*(y>>1),l.W+=s.B*(y>>1),null!=l.F&&(l.J+=l.width*y)),S<O&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=S-l.j,l.U=l.va-l.v,l.T=O-S,c=l.put(l))}a+1!=s.Ic||v||(n(s.sa,s.ta-u,p,m+16*s.R,u),n(s.qa,s.ra-h,f,d+8*s.B,h),n(s.Ha,s.Ia-h,g,b+8*s.B,h))}if(!c)return Ge(e,6,"Output aborted.")}return 1}(e,r)),null!=r.bc&&r.bc(r),s&=1}return s?(e.cb=0,s):0})(e,l)||(r=e.a)}}else r=e.a}0==r&&null!=d.Oa&&d.Oa.fd&&(r=Pr(d.ba))}d=r}u=0!=d?null:11>u?h.f.RGBA.eb:h.f.kb.y}else u=null;return u};var Do=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(e,t){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(e[t++]);return r}function u(e,t){return e[t+0]|e[t+1]<<8}function d(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function h(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var p=[0],m=[0],f=[],g=new l,b=e,v=function(e,t){var r={},n=0,o=!1,i=0,a=0;if(r.frames=[],!function(e,t){for(var r=0;r<4;r++)if(e[t+r]!="RIFF".charCodeAt(r))return!0;return!1}(e,t)){for(h(e,t+=4),t+=8;t<e.length;){var s=c(e,t),l=h(e,t+=4);t+=4;var p=l+(1&l);switch(s){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(g=r.frames[n]).src_off=o?a:t-8,g.src_size=i+l+8,n++,o&&(o=!1,i=0,a=0);break;case"VP8X":(g=r.header={}).feature_flags=e[t];var m=t+4;g.canvas_width=1+d(e,m),m+=3,g.canvas_height=1+d(e,m),m+=3;break;case"ALPH":o=!0,i=p+8,a=t-8;break;case"ANIM":(g=r.header).bgcolor=h(e,t),m=t+4,g.loop_count=u(e,m),m+=2;break;case"ANMF":var f,g;(g=r.frames[n]={}).offset_x=2*d(e,t),t+=3,g.offset_y=2*d(e,t),t+=3,g.width=1+d(e,t),t+=3,g.height=1+d(e,t),t+=3,g.duration=d(e,t),t+=3,f=e[t++],g.dispose=1&f,g.blend=f>>1&1}"ANMF"!=s&&(t+=p)}return r}}(b,0);v.response=b,v.rgbaoutput=!0,v.dataurl=!1;var y=v.header?v.header:null,w=v.frames?v.frames:null;if(y){y.loop_counter=y.loop_count,p=[y.canvas_height],m=[y.canvas_width];for(var x=0;x<w.length&&0!=w[x].blend;x++);}var S=w[0],k=g.WebPDecodeRGBA(b,S.src_off,S.src_size,m,p);S.rgba=k,S.imgwidth=m[0],S.imgheight=p[0];for(var C=0;C<m[0]*p[0]*4;C++)f[C]=k[C];return this.width=m,this.height=p,this.data=f,this}!function(e){var t,r,o,i,a,s,l,u,d,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new u,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new p(this),t=this.internal.f2,r=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,l=this.internal.Rectangle,u=this.internal.Matrix,d=new h}]);var p=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var o=0;Object.defineProperty(this,"posX",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),d.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(e){e instanceof h&&(d=e)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(e){d.path=e}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=f(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=f(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var u=null,p=null;Object.defineProperty(this,"fontFaces",{get:function(){return p},set:function(e){u=null,p=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\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-z]+?)\s*$/i.exec(e))){var r=t[1];t[2];var n=t[3],o=t[4];t[5];var i=t[6],a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(o)[2];o="px"===a?Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(o)*this.pdf.getFontSize()):Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(o);var s=function(e){var t,r,n=[],o=e.trim();if(""===o)return Je;if(o in Re)return[Re[o]];for(;""!==o;){switch(r=null,t=(o=De(o)).charAt(0)){case'"':case"'":r=qe(o.substring(1),t);break;default:r=He(o)}if(null===r)return Je;if(n.push(r[0]),""!==(o=De(r[1]))&&","!==o.charAt(0))return Je;o=o.replace(/^,/,"")}return n}(i);if(this.fontFaces){var l=function(e,t){if(null===u){var r=function(e){var t=[];return Object.keys(e).forEach((function(r){e[r].forEach((function(e){var n=null;switch(e){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:e},t.push(n))}))})),t}(e.getFontList());u=function(e){for(var t={},r=0;r<e.length;++r){var n=Le(e[r]),o=n.family,i=n.stretch,a=n.style,s=n.weight;t[o]=t[o]||{},t[o][i]=t[o][i]||{},t[o][i][a]=t[o][i][a]||{},t[o][i][a][s]=n}return t}(r.concat(t))}return u}(this.pdf,this.fontFaces),c=s.map((function(e){return{family:e,stretch:"normal",weight:n,style:r}})),d=function(e,t,r){for(var n=(r=r||{}).defaultFontFamily||"times",o=Object.assign({},Te,r.genericFontFamilies||{}),i=null,a=null,s=0;s<t.length;++s)if(o[(i=Le(t[s])).family]&&(i.family=o[i.family]),e.hasOwnProperty(i.family)){a=e[i.family];break}if(!(a=a||e[n]))throw new Error("Could not find a font-family for the rule '"+Fe(i)+"' and default family '"+n+"'.");if(a=function(e,t){if(t[e])return t[e];var r=ze[e],n=r<=ze.normal?-1:1,o=Be(t,Ee,r,n);if(!o)throw new Error("Could not find a matching font-stretch value for "+e);return o}(i.stretch,a),a=function(e,t){if(t[e])return t[e];for(var r=Ie[e],n=0;n<r.length;++n)if(t[r[n]])return t[r[n]];throw new Error("Could not find a matching font-style for "+e)}(i.style,a),!(a=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var r=Pe[e],n=Be(t,Me,r,e<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+e);return n}(i.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Fe(i)+"'.");return a}(l,c);this.pdf.setFont(d.ref.name,d.ref.style)}else{var h="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(h="bold"),"italic"===r&&(h+="italic"),0===h.length&&(h="normal");for(var p="",m={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"},f=0;f<s.length;f++){if(void 0!==this.pdf.internal.getFont(s[f],h,{noFallback:!0,disableWarning:!0})){p=s[f];break}if("bolditalic"===h&&void 0!==this.pdf.internal.getFont(s[f],"bold",{noFallback:!0,disableWarning:!0}))p=s[f],h="bold";else if(void 0!==this.pdf.internal.getFont(s[f],"normal",{noFallback:!0,disableWarning:!0})){p=s[f],h="normal";break}}if(""===p)for(var g=0;g<s.length;g++)if(m[s[g]]){p=m[s[g]];break}p=""===p?"Times":p,this.pdf.setFont(p,h)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,F.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,F.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};p.prototype.setLineDash=function(e){this.lineDash=e},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){k.call(this,"fill",!1)},p.prototype.stroke=function(){k.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw c.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(e,t)},p.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,n.Z)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},p.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw c.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),k.call(this,null,!0)},p.prototype.quadraticCurveTo=function(e,t,r,n){if(isNaN(r)||isNaN(n)||isNaN(e)||isNaN(t))throw c.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new s(r,n)),i=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},p.prototype.bezierCurveTo=function(e,t,r,n,o,i){if(isNaN(o)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(o,i)),l=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(r,n));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},p.prototype.arc=function(e,t,r,n,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(o))throw c.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(e,t));e=a.x,t=a.y;var l=this.ctx.transform.applyToPoint(new s(0,r)),u=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(o-n)>=2*Math.PI&&(n=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:r,startAngle:n,endAngle:o,counterclockwise:i})},p.prototype.arcTo=function(e,t,r,n,o){throw new Error("arcTo not implemented.")},p.prototype.rect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+n),this.lineTo(e,t+n),this.lineTo(e,t),this.lineTo(e+r,t),this.lineTo(e,t)},p.prototype.fillRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,r,n),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},p.prototype.strokeRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");b.call(this)||(this.beginPath(),this.rect(e,t,r,n),this.stroke())},p.prototype.clearRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,r,n))},p.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},p.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(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)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var f=function(e){var t,r,n,o;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,r=0,n=0,o=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==i)t=parseInt(i[1]),r=parseInt(i[2]),n=parseInt(i[3]),o=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(i[1]),r=parseInt(i[2]),n=parseInt(i[3]),o=parseFloat(i[4]);else{if(o=1,"string"==typeof e&&"#"!==e.charAt(0)){var a=new m(e);e=a.ok?a.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,r=e.substring(2,3),r+=r,n=e.substring(3,4),n+=n):(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7)),t=parseInt(t,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:t,g:r,b:n,a:o,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},b=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};p.prototype.fillText=function(e,t,r,n){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw c.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(n=isNaN(n)?void 0:n,!g.call(this)){var o=B(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;I.call(this,{text:e,x:t,y:r,scale:i,angle:o,align:this.textAlign,maxWidth:n})}},p.prototype.strokeText=function(e,t,r,n){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw c.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!b.call(this)){n=isNaN(n)?void 0:n;var o=B(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;I.call(this,{text:e,x:t,y:r,scale:i,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:n})}},p.prototype.measureText=function(e){if("string"!=typeof e)throw c.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,r=this.pdf.internal.scaleFactor,n=t.internal.getFontSize(),o=t.getStringUnitWidth(e)*n/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:o*=Math.round(96*r/72*1e4)/1e4})},p.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw c.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new u(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},p.prototype.rotate=function(e){if(isNaN(e))throw c.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new u(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},p.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw c.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new u(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(r)},p.prototype.transform=function(e,t,r,n,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(o)||isNaN(i))throw c.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new u(e,t,r,n,o,i);this.ctx.transform=this.ctx.transform.multiply(a)},p.prototype.setTransform=function(e,t,r,n,o,i){e=isNaN(e)?1:e,t=isNaN(t)?0:t,r=isNaN(r)?0:r,n=isNaN(n)?1:n,o=isNaN(o)?0:o,i=isNaN(i)?0:i,this.ctx.transform=new u(e,t,r,n,o,i)};var v=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(e,t,r,n,o,i,a,s,c){var d=this.pdf.getImageProperties(e),h=1,p=1,m=1,f=1;void 0!==n&&void 0!==s&&(m=s/n,f=c/o,h=d.width/n*s/n,p=d.height/o*c/o),void 0===i&&(i=t,a=r,t=0,r=0),void 0!==n&&void 0===s&&(s=n,c=o),void 0===n&&void 0===s&&(s=d.width,c=d.height);for(var g,b=this.ctx.transform.decompose(),w=B(b.rotate.shx),k=new u,$=(k=(k=(k=k.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new l(i-t*m,a-r*f,n*h,o*p)),j=y.call(this,$),O=[],_=0;_<j.length;_+=1)-1===O.indexOf(j[_])&&O.push(j[_]);if(S(O),this.autoPaging)for(var N=O[0],A=O[O.length-1],I=N;I<A+1;I++){this.pdf.setPage(I);var E=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],z=1===I?this.posY+this.margin[0]:this.margin[0],M=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],P=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],L=1===I?0:M+(I-2)*P;if(0!==this.ctx.clip_path.length){var T=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(g,this.posX+this.margin[3],-L+z+this.ctx.prevPageLastElemOffset),C.call(this,"fill",!0),this.path=T}var R=JSON.parse(JSON.stringify($));R=x([R],this.posX+this.margin[3],-L+z+this.ctx.prevPageLastElemOffset)[0];var F=(I>N||I<A)&&v.call(this);F&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],E,P,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",R.x,R.y,R.w,R.h,null,null,w),F&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",$.x,$.y,$.w,$.h,null,null,w)};var y=function(e,t,r){var n=[];t=t||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var o=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":n.push(Math.floor((e.y+o)/r)+1);break;case"arc":n.push(Math.floor((e.y+o-e.radius)/r)+1),n.push(Math.floor((e.y+o+e.radius)/r)+1);break;case"qct":var i=T(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);n.push(Math.floor((i.y+o)/r)+1),n.push(Math.floor((i.y+i.h+o)/r)+1);break;case"bct":var a=R(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);n.push(Math.floor((a.y+o)/r)+1),n.push(Math.floor((a.y+a.h+o)/r)+1);break;case"rect":n.push(Math.floor((e.y+o)/r)+1),n.push(Math.floor((e.y+e.h+o)/r)+1)}for(var s=0;s<n.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<n[s];)w.call(this);return n},w=function(){var e=this.fillStyle,t=this.strokeStyle,r=this.font,n=this.lineCap,o=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=r,this.lineCap=n,this.lineWidth=o,this.lineJoin=i},x=function(e,t,r){for(var n=0;n<e.length;n++)switch(e[n].type){case"bct":e[n].x2+=t,e[n].y2+=r;case"qct":e[n].x1+=t,e[n].y1+=r;default:e[n].x+=t,e[n].y+=r}return e},S=function(e){return e.sort((function(e,t){return e-t}))},k=function(e,t){for(var r,n,o=this.fillStyle,i=this.strokeStyle,a=this.lineCap,s=this.lineWidth,l=Math.abs(s*this.ctx.transform.scaleX),c=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),d=JSON.parse(JSON.stringify(this.path)),h=[],p=0;p<d.length;p++)if(void 0!==d[p].x)for(var m=y.call(this,d[p]),f=0;f<m.length;f+=1)-1===h.indexOf(m[f])&&h.push(m[f]);for(var g=0;g<h.length;g++)for(;this.pdf.internal.getNumberOfPages()<h[g];)w.call(this);if(S(h),this.autoPaging)for(var b=h[0],k=h[h.length-1],$=b;$<k+1;$++){this.pdf.setPage($),this.fillStyle=o,this.strokeStyle=i,this.lineCap=a,this.lineWidth=l,this.lineJoin=c;var j=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],O=1===$?this.posY+this.margin[0]:this.margin[0],_=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],N=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],A=1===$?0:_+($-2)*N;if(0!==this.ctx.clip_path.length){var I=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(r,this.posX+this.margin[3],-A+O+this.ctx.prevPageLastElemOffset),C.call(this,e,!0),this.path=I}if(n=JSON.parse(JSON.stringify(u)),this.path=x(n,this.posX+this.margin[3],-A+O+this.ctx.prevPageLastElemOffset),!1===t||0===$){var E=($>b||$<k)&&v.call(this);E&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],j,N,null).clip().discardPath()),C.call(this,e,t),E&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=l,C.call(this,e,t),this.lineWidth=s;this.path=u},C=function(e,t){if(("stroke"!==e||t||!b.call(this))&&("stroke"===e||t||!g.call(this))){for(var r,n,o=[],i=this.path,a=0;a<i.length;a++){var s=i[a];switch(s.type){case"begin":o.push({begin:!0});break;case"close":o.push({close:!0});break;case"mt":o.push({start:s,deltas:[],abs:[]});break;case"lt":var l=o.length;if(i[a-1]&&!isNaN(i[a-1].x)&&(r=[s.x-i[a-1].x,s.y-i[a-1].y],l>0))for(;l>=0;l--)if(!0!==o[l-1].close&&!0!==o[l-1].begin){o[l-1].deltas.push(r),o[l-1].abs.push(s);break}break;case"bct":r=[s.x1-i[a-1].x,s.y1-i[a-1].y,s.x2-i[a-1].x,s.y2-i[a-1].y,s.x-i[a-1].x,s.y-i[a-1].y],o[o.length-1].deltas.push(r);break;case"qct":var c=i[a-1].x+2/3*(s.x1-i[a-1].x),u=i[a-1].y+2/3*(s.y1-i[a-1].y),d=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),p=s.x,m=s.y;r=[c-i[a-1].x,u-i[a-1].y,d-i[a-1].x,h-i[a-1].y,p-i[a-1].x,m-i[a-1].y],o[o.length-1].deltas.push(r);break;case"arc":o.push({deltas:[],abs:[],arc:!0}),Array.isArray(o[o.length-1].abs)&&o[o.length-1].abs.push(s)}}n=t?null:"stroke"===e?"stroke":"fill";for(var f=!1,v=0;v<o.length;v++)if(o[v].arc)for(var y=o[v].abs,w=0;w<y.length;w++){var x=y[w];"arc"===x.type?O.call(this,x.x,x.y,x.radius,x.startAngle,x.endAngle,x.counterclockwise,void 0,t,!f):E.call(this,x.x,x.y),f=!0}else if(!0===o[v].close)this.pdf.internal.out("h"),f=!1;else if(!0!==o[v].begin){var S=o[v].start.x,k=o[v].start.y;z.call(this,o[v].deltas,S,k),f=!0}n&&_.call(this,n),t&&N.call(this)}},$=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-r;case"top":return e+t-r;case"hanging":return e+t-2*r;case"middle":return e+t/2-r;default:return e}},j=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var O=function(e,t,r,n,o,i,a,s,l){for(var c=P.call(this,r,n,o,i),u=0;u<c.length;u++){var d=c[u];0===u&&(l?A.call(this,d.x1+e,d.y1+t):E.call(this,d.x1+e,d.y1+t)),M.call(this,e,t,d.x2,d.y2,d.x3,d.y3,d.x4,d.y4)}s?N.call(this):_.call(this,a)},_=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},N=function(){this.pdf.clip(),this.pdf.discardPath()},A=function(e,t){this.pdf.internal.out(r(e)+" "+o(t)+" m")},I=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var r=this.pdf.getTextDimensions(e.text),n=$.call(this,e.y),o=j.call(this,n)-r.h,i=this.ctx.transform.applyToPoint(new s(e.x,n)),a=this.ctx.transform.decompose(),c=new u;c=(c=(c=c.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var d,h,p,m=this.ctx.transform.applyToRectangle(new l(e.x,n,r.w,r.h)),f=c.applyToRectangle(new l(e.x,o,r.w,r.h)),g=y.call(this,f),b=[],w=0;w<g.length;w+=1)-1===b.indexOf(g[w])&&b.push(g[w]);if(S(b),this.autoPaging)for(var k=b[0],O=b[b.length-1],_=k;_<O+1;_++){this.pdf.setPage(_);var N=1===_?this.posY+this.margin[0]:this.margin[0],A=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],I=this.pdf.internal.pageSize.height-this.margin[2],E=I-this.margin[0],z=this.pdf.internal.pageSize.width-this.margin[1],M=z-this.margin[3],P=1===_?0:A+(_-2)*E;if(0!==this.ctx.clip_path.length){var L=this.path;d=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(d,this.posX+this.margin[3],-1*P+N),C.call(this,"fill",!0),this.path=L}var B=x([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-P+N+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),p=this.lineWidth,this.lineWidth=p*e.scale);var T="text"!==this.autoPaging;if(T||B.y+B.h<=I){if(T||B.y>=N&&B.x<=z){var R=T?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||z-B.x)[0],F=x([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-P+N+this.ctx.prevPageLastElemOffset)[0],D=T&&(_>k||_<O)&&v.call(this);D&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],M,E,null).clip().discardPath()),this.pdf.text(R,F.x,F.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),D&&this.pdf.restoreGraphicsState()}}else B.y<I&&(this.ctx.prevPageLastElemOffset+=I-B.y);e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=p)}else e.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),p=this.lineWidth,this.lineWidth=p*e.scale),this.pdf.text(e.text,i.x+this.posX,i.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=p)},E=function(e,t,n,i){n=n||0,i=i||0,this.pdf.internal.out(r(e+n)+" "+o(t+i)+" l")},z=function(e,t,r){return this.pdf.lines(e,t,r,null,null)},M=function(e,r,n,o,s,l,c,u){this.pdf.internal.out([t(i(n+e)),t(a(o+r)),t(i(s+e)),t(a(l+r)),t(i(c+e)),t(a(u+r)),"c"].join(" "))},P=function(e,t,r,n){for(var o=2*Math.PI,i=Math.PI/2;t>r;)t-=o;var a=Math.abs(r-t);a<o&&n&&(a=o-a);for(var s=[],l=n?-1:1,c=t;a>1e-5;){var u=c+l*Math.min(a,i);s.push(L.call(this,e,c,u)),a-=Math.abs(u-c),c=u}return s},L=function(e,t,r){var n=(r-t)/2,o=e*Math.cos(n),i=e*Math.sin(n),a=o,s=-i,l=a*a+s*s,c=l+a*o+s*i,u=4/3*(Math.sqrt(2*l*c)-c)/(a*i-s*o),d=a-u*s,h=s+u*a,p=d,m=-h,f=n+t,g=Math.cos(f),b=Math.sin(f);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:d*g-h*b,y2:d*b+h*g,x3:p*g-m*b,y3:p*b+m*g,x4:e*Math.cos(r),y4:e*Math.sin(r)}},B=function(e){return 180*e/Math.PI},T=function(e,t,r,n,o,i){var a=e+.5*(r-e),s=t+.5*(n-t),c=o+.5*(r-o),u=i+.5*(n-i),d=Math.min(e,o,a,c),h=Math.max(e,o,a,c),p=Math.min(t,i,s,u),m=Math.max(t,i,s,u);return new l(d,p,h-d,m-p)},R=function(e,t,r,n,o,i,a,s){var c,u,d,h,p,m,f,g,b,v,y,w,x,S,k=r-e,C=n-t,$=o-r,j=i-n,O=a-o,_=s-i;for(u=0;u<41;u++)b=(f=(d=e+(c=u/40)*k)+c*((p=r+c*$)-d))+c*(p+c*(o+c*O-p)-f),v=(g=(h=t+c*C)+c*((m=n+c*j)-h))+c*(m+c*(i+c*_-m)-g),0==u?(y=b,w=v,x=b,S=v):(y=Math.min(y,b),w=Math.min(w,v),x=Math.max(x,b),S=Math.max(S,v));return new l(Math.round(y),Math.round(w),Math.round(x-y),Math.round(S-w))},F=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,r=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==r&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=r)}}}(F.API),function(e){var t=function(e){var t,r,n,o,i,a,s,l,c,u;for(/[^\x00-\xFF]/.test(e),r=[],n=0,o=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;o>n;n+=4)0!==(i=(e.charCodeAt(n)<<24)+(e.charCodeAt(n+1)<<16)+(e.charCodeAt(n+2)<<8)+e.charCodeAt(n+3))?(a=(i=((i=((i=((i=(i-(u=i%85))/85)-(c=i%85))/85)-(l=i%85))/85)-(s=i%85))/85)%85,r.push(a+33,s+33,l+33,c+33,u+33)):r.push(122);return function(e,t){for(var r=t;r>0;r--)e.pop()}(r,t.length),String.fromCharCode.apply(String,r)+"~>"},r=function(e){var t,r,n,o,i,a=String,s="length",l=255,c="charCodeAt",u="slice",d="replace";for(e[u](-2),e=e[u](0,-2)[d](/\s/g,"")[d]("z","!!!!!"),n=[],o=0,i=(e+=t="uuuuu"[u](e[s]%5||5))[s];i>o;o+=5)r=52200625*(e[c](o)-33)+614125*(e[c](o+1)-33)+7225*(e[c](o+2)-33)+85*(e[c](o+3)-33)+(e[c](o+4)-33),n.push(l&r>>24,l&r>>16,l&r>>8,l&r);return function(e,t){for(var r=t;r>0;r--)e.pop()}(n,t[s]),a.fromCharCode.apply(a,n)},n=function(e){return e.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">"},i=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var r="",n=0;n<e.length;n+=2)r+=String.fromCharCode("0x"+(e[n]+e[n+1]));return r},a=function(e){for(var t=new Uint8Array(e.length),r=e.length;r--;)t[r]=e.charCodeAt(r);return(t=(0,o.iZ)(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,o){var s=0,l=e||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),s=0;s<o.length;s+=1)switch(o[s]){case"ASCII85Decode":case"/ASCII85Decode":l=r(l),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=t(l),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=i(l),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=n(l),c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=a(l),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[s]+'" is not implemented')}return{data:l,reverseChain:c.reverse().join(" ")}}}(F.API),function(e){e.loadFile=function(e,t,r){return function(e,t,r){t=!1!==t,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(e,t,r){var n=new XMLHttpRequest,o=0,i=function(e){var t=e.length,r=[],n=String.fromCharCode;for(o=0;o<t;o+=1)r.push(n(255&e.charCodeAt(o)));return r.join("")};if(n.open("GET",e,!t),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(n.onload=function(){200===n.status?r(i(this.responseText)):r(void 0)}),n.send(null),t&&200===n.status)return i(n.responseText)}(e,t,r)}catch(e){}return n}(e,t,r)},e.loadImageFile=e.loadFile}(F.API),function(e){function t(){return(s.html2canvas?Promise.resolve(s.html2canvas):Promise.resolve().then(r.t.bind(r,64270,23))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function o(){return(s.DOMPurify?Promise.resolve(s.DOMPurify):r.e(4038).then(r.bind(r,94038))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var i=function(e){var t=(0,n.Z)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var r=document.createElement(e);for(var n in t.className&&(r.className=t.className),t.innerHTML&&t.dompurify&&(r.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)r.style[n]=t.style[n];return r},l=function e(t,r){for(var n=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;o=o.nextSibling)!0!==r&&1===o.nodeType&&"SCRIPT"===o.nodeName||n.appendChild(e(o,r));return 1===t.nodeType&&("CANVAS"===t.nodeName?(n.width=t.width,n.height=t.height,n.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(n.value=t.value),n.addEventListener("load",(function(){n.scrollTop=t.scrollTop,n.scrollLeft=t.scrollLeft}),!0)),n},c=function e(t){var r=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(Promise.resolve(),r);return(n=n.setProgress(1,e,1,[e])).set(t)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(e,t){return e.__proto__=t||c.prototype,e},c.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"}},c.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e),t){case"string":return this.then(o).then((function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},c.prototype.to=function(e){switch(e){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.")}},c.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 e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||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},t=l(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("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"}))},c.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},c.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,r=this.opt.fontFaces,n="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,o=Object.assign({async:!0,allowTaint:!0,scale:n,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 o.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=r,r)for(var i=0;i<r.length;++i){var a=r[i],s=a.src.find((function(e){return"truetype"===e.format}));s&&t.addFont(s.url,a.ref.name,a.ref.style)}return o.windowHeight=o.windowHeight||0,o.windowHeight=0==o.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):o.windowHeight,t.context2d.save(!0),e(this.prop.container,o)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},c.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},c.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},c.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){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 "'+e+'" is not supported.'}}))},c.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},c.prototype.set=function(e){if("object"!==i(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in c.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},c.prototype.get=function(e,t){return this.then((function(){var r=e in c.template.prop?this.prop[e]:this.opt[e];return t?t(r):r}))},c.prototype.setMargin=function(e){return this.then((function(){switch(i(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},c.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||F.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},c.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},c.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,(function(e,t){return r.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return r.updateProgress(null,e),t})).then(e,t).then((function(e){return r.updateProgress(1),e}))}))},c.prototype.thenCore=function(e,t,r){r=r||Promise.prototype.then;var n=this;e&&(e=e.bind(n)),t&&(t=t.bind(n));var o=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?n:c.convert(Object.assign({},n),Promise.prototype),i=r.call(o,e,t);return c.convert(i,n.__proto__)},c.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},c.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},c.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return c.convert(t,this)},c.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},c.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,F.getPageSize=function(e,t,r){if("object"===(0,n.Z)(e)){var o=e;e=o.orientation,t=o.unit||t,r=o.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var i,a=(""+r).toLowerCase(),s={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(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var l,c=0,u=0;if(s.hasOwnProperty(a))c=s[a][1]/i,u=s[a][0]/i;else try{c=r[1],u=r[0]}catch(e){throw new Error("Invalid format: "+r)}if("p"===e||"portrait"===e)e="p",u>c&&(l=u,u=c,c=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>u&&(l=u,u=c,c=l)}return{width:u,height:c,unit:t,k:i,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Le):null;var r=new c(t);return t.worker?r:r.from(e).doCallback()}}(F.API),F.API.addJS=function(e){return Ue=e,this.internal.events.subscribe("postPutResources",(function(){We=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(We+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ze=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ue+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==We&&void 0!==Ze&&this.internal.out("/Names <</JavaScript "+We+" 0 R>>")})),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),o=0;o<n.length;o++){var i=n[o],a=r.exec(i);if(null!=a){var s=a[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(i)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,c=[];for(o=0;o<l;o++){var u=e.internal.newObject();c.push(u);var d=e.internal.getPageInfo(o+1);e.internal.write("<< /D["+d.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),o=0;o<c.length;o++)e.internal.write("(page_"+(o+1)+")"+c[o]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,r){var n={title:t,options:r,children:[]};return null==e&&(e=this.root),e.children.push(n),n},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var r=0;r<t.children.length;r++)this.genIds_r(t.children[r])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<t.children.length;n++){var o=t.children[n];this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(t)),n>0&&this.line("/Prev "+this.makeRef(t.children[n-1])),n<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[n+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var i=this.count=this.count_r({count:0},o);if(i>0&&this.line("/Count "+i),o.options&&o.options.pageNumber){var a=e.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var r=0;r<t.children.length;r++)e.count++,this.count_r(e,t.children[r]);return e.count}}])}(F.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,r,n,o,i,a){var s,l=this.decode.DCT_DECODE,c=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=i||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,s=function(e){for(var r,n=256*e.charCodeAt(4)+e.charCodeAt(5),o=e.length,i={width:0,height:0,numcomponents:1},a=4;a<o;a+=2){if(a+=n,-1!==t.indexOf(e.charCodeAt(a+1))){r=256*e.charCodeAt(a+5)+e.charCodeAt(a+6),i={width:256*e.charCodeAt(a+7)+e.charCodeAt(a+8),height:r,numcomponents:e.charCodeAt(a+9)};break}n=256*e.charCodeAt(a+2)+e.charCodeAt(a+3)}return i}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),s.numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}c={data:e,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:l,index:r,alias:n}}return c}}(F.API),F.API.processPNG=function(e,t,r,n){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var s,l=(0,a.Jx)(e,{checkCrc:!0}),c=l.width,u=l.height,d=l.channels,h=l.palette,p=l.depth;s=h&&1===d?function(e){for(var t=e.width,r=e.height,n=e.data,o=e.palette,a=e.depth,s=!1,l=[],c=[],u=void 0,d=!1,h=0,p=0;p<o.length;p++){var m=(0,i.Z)(o[p],4),f=m[0],g=m[1],b=m[2],v=m[3];l.push(f,g,b),null!=v&&(0===v?(h++,c.length<1&&c.push(p)):v<255&&(d=!0))}if(d||h>1){s=!0,c=void 0;var y=t*r;u=new Uint8Array(y);for(var w=new DataView(n.buffer),x=0;x<y;x++){var S=st(w,x,a),k=(0,i.Z)(o[S],4)[3];u[x]=k}}else 0===h&&(c=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:s?8:void 0,colorBytes:n,alphaBytes:u,needSMask:s,palette:l,mask:c}}(l):2===d||4===d?function(e){for(var t=e.data,r=e.width,n=e.height,o=e.channels,i=e.depth,a=2===o?"DeviceGray":"DeviceRGB",s=o-1,l=r*n,c=s,u=l*c,d=1*l,h=Math.ceil(u*i/8),p=Math.ceil(d*i/8),m=new Uint8Array(h),f=new Uint8Array(p),g=new DataView(t.buffer),b=new DataView(m.buffer),v=new DataView(f.buffer),y=!1,w=0;w<l;w++){for(var x=w*o,S=0;S<c;S++)lt(b,st(g,x+S,i),w*c+S,i);var k=st(g,x+c,i);k<(1<<i)-1&&(y=!0),lt(v,k,1*w,i)}return{colorSpace:a,colorsPerPixel:s,sMaskBitsPerComponent:y?i:void 0,colorBytes:m,alphaBytes:f,needSMask:y}}(l):function(e){var t=e.data,r=1===e.channels?"DeviceGray":"DeviceRGB";return{colorSpace:r,colorsPerPixel:"DeviceGray"===r?1:3,colorBytes:t instanceof Uint16Array?function(e){for(var t=e.length,r=new Uint8Array(2*t),n=new DataView(r.buffer,r.byteOffset,r.byteLength),o=0;o<t;o++)n.setUint16(2*o,e[o],!1);return r}(t):t,needSMask:!1}}(l);var m,f,g,b=s,v=b.colorSpace,y=b.colorsPerPixel,w=b.sMaskBitsPerComponent,x=b.colorBytes,S=b.alphaBytes,k=b.needSMask,C=b.palette,$=b.mask,j=null;return n!==F.API.image_compression.NONE&&"function"==typeof o.iZ?(j=function(e){var t;switch(e){case F.API.image_compression.FAST:t=11;break;case F.API.image_compression.MEDIUM:t=13;break;case F.API.image_compression.SLOW:t=14;break;default:t=12}return t}(n),m=this.decode.FLATE_DECODE,f="/Predictor ".concat(j," /Colors ").concat(y," /BitsPerComponent ").concat(p," /Columns ").concat(c),e=Qe(x,Math.ceil(c*y*p/8),y,p,n),k&&(g=Qe(S,Math.ceil(c*w/8),1,w,n))):(m=void 0,f=void 0,e=x,k&&(g=S)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(g&&this.__addimage__.isArrayBuffer(g)||this.__addimage__.isArrayBufferView(g))&&(g=this.__addimage__.arrayBufferToBinaryString(g)),{alias:r,data:e,index:t,filter:m,decodeParameters:f,transparency:$,palette:C,sMask:g,predictor:j,width:c,height:u,bitsPerComponent:p,sMaskBitsPerComponent:w,colorSpace:v}}},function(e){e.processGIF89A=function(t,r,n,o){var i=new ut(t),a=i.width,s=i.height,l=[];i.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:a,height:s},u=new ht(100).encode(c,100);return e.processJPEG.call(this,u,r,n,o)},e.processGIF87A=e.processGIF89A}(F.API),pt.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,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:o,green:n,blue:r,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},pt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){c.log("bit decode error:"+e)}},pt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),r=t%4;for(e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,o=0;o<t;o++)for(var i=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+8*o*4,s=0;s<8&&8*o+s<this.width;s++){var l=this.palette[i>>7-s&1];this.data[a+4*s]=l.blue,this.data[a+4*s+1]=l.green,this.data[a+4*s+2]=l.red,this.data[a+4*s+3]=255}0!==r&&(this.pos+=4-r)}},pt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,o=0;o<e;o++){var i=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+2*o*4,s=i>>4,l=15&i,c=this.palette[s];if(this.data[a]=c.blue,this.data[a+1]=c.green,this.data[a+2]=c.red,this.data[a+3]=255,2*o+1>=this.width)break;c=this.palette[l],this.data[a+4]=c.blue,this.data[a+4+1]=c.green,this.data[a+4+2]=c.red,this.data[a+4+3]=255}0!==t&&(this.pos+=4-t)}},pt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var o=this.datav.getUint8(this.pos++,!0),i=r*this.width*4+4*n;if(o<this.palette.length){var a=this.palette[o];this.data[i]=a.red,this.data[i+1]=a.green,this.data[i+2]=a.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==e&&(this.pos+=4-e)}},pt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(i&t)/t*255|0,s=(i>>5&t)/t*255|0,l=(i>>10&t)/t*255|0,c=i>>15?255:0,u=n*this.width*4+4*o;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=a,this.data[u+3]=c}this.pos+=e}},pt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var o=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&t)/t*255|0,l=(a>>5&r)/r*255|0,c=(a>>11)/t*255|0,u=o*this.width*4+4*i;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},pt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*r;this.data[a]=i,this.data[a+1]=o,this.data[a+2]=n,this.data[a+3]=255}this.pos+=this.width%4}},pt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*r;this.data[s]=i,this.data[s+1]=o,this.data[s+2]=n,this.data[s+3]=a}},pt.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,r,n,o){var i=new pt(t,!1),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},c=new ht(100).encode(l,100);return e.processJPEG.call(this,c,r,n,o)}}(F.API),mt.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,r,n,o){var i=new mt(t),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},c=new ht(100).encode(l,100);return e.processJPEG.call(this,c,r,n,o)}}(F.API),F.API.processRGBA=function(e,t,r){for(var n=e.data,o=n.length,i=new Uint8Array(o/4*3),a=new Uint8Array(o/4),s=0,l=0,c=0;c<o;c+=4){var u=n[c],d=n[c+1],h=n[c+2],p=n[c+3];i[s++]=u,i[s++]=d,i[s++]=h,a[l++]=p}var m=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:m,index:t,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},F.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={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]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},Ve=F.API,Ge=Ve.getCharWidthsArray=function(e,t){var r,o,i=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:i.metadata.Unicode.widths,c=l.fof?l.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,d=u.fof?u.fof:1,h=!1!==t.doKerning,p=0,m=e.length,f=0,g=l[0]||c,b=[];for(r=0;r<m;r++)o=e.charCodeAt(r),"function"==typeof i.metadata.widthOfString?b.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(o))+s*(1e3/a)||0)/1e3):(p=h&&"object"===(0,n.Z)(u[o])&&!isNaN(parseInt(u[o][f],10))?u[o][f]/d:0,b.push((l[o]||g)/c+p)),f=o;return b},Xe=Ve.getStringUnitWidth=function(e,t){var r=(t=t||{}).fontSize||this.internal.getFontSize(),n=t.font||this.internal.getFont(),o=t.charSpace||this.internal.getCharSpace();return Ve.processArabic&&(e=Ve.processArabic(e)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(e,r,o)/r:Ge.apply(this,arguments).reduce((function(e,t){return e+t}),0)},Ye=function(e,t,r,n){for(var o=[],i=0,a=e.length,s=0;i!==a&&s+t[i]<r;)s+=t[i],i++;o.push(e.slice(0,i));var l=i;for(s=0;i!==a;)s+t[i]>n&&(o.push(e.slice(l,i)),s=0,l=i),s+=t[i],i++;return l!==i&&o.push(e.slice(l,i)),o},Ke=function(e,t,r){r||(r={});var n,o,i,a,s,l,c,u=[],d=[u],h=r.textIndent||0,p=0,m=0,f=e.split(" "),g=Ge.apply(this,[" ",r])[0];if(l=-1===r.lineIndent?f[0].length+2:r.lineIndent||0){var b=Array(l).join(" "),v=[];f.map((function(e){(e=e.split(/\s*\n/)).length>1?v=v.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):v.push(e[0])})),f=v,l=Xe.apply(this,[b,r])}for(i=0,a=f.length;i<a;i++){var y=0;if(n=f[i],l&&"\n"==n[0]&&(n=n.substr(1),y=1),h+p+(m=(o=Ge.apply(this,[n,r])).reduce((function(e,t){return e+t}),0))>t||y){if(m>t){for(s=Ye.apply(this,[n,o,t-(h+p),t]),u.push(s.shift()),u=[s.pop()];s.length;)d.push([s.shift()]);m=o.slice(n.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[n];d.push(u),h=m+l,p=g}else u.push(n),h+=p+m,p=g}return c=l?function(e,t){return(t?b:"")+e.join(" ")}:function(e){return e.join(" ")},d.map(c)},Ve.splitTextToSize=function(e,t,r){var n,o=(r=r||{}).fontSize||this.internal.getFontSize(),i=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),r="Unicode";return t.metadata[r]?{widths:t.metadata[r].widths||{0:1},kerning:t.metadata[r].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(e)?e:String(e).split(/\r?\n/);var a=1*this.internal.scaleFactor*t/o;i.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/o:0,i.lineIndent=r.lineIndent;var s,l,c=[];for(s=0,l=n.length;s<l;s++)c=c.concat(Ke.apply(this,[n[s],a,i]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",r="klmnopqrstuvwxyz",o={},i={},a=0;a<16;a++)o[r[a]]=t[a],i[t[a]]=r[a];var s=function(e){return"0x"+parseInt(e,10).toString(16)},l=e.__fontmetrics__.compress=function(e){var t,r,o,a,c=["{"];for(var u in e){if(t=e[u],isNaN(parseInt(u,10))?r="'"+u+"'":(u=parseInt(u,10),r=(r=s(u).slice(2)).slice(0,-1)+i[r.slice(-1)]),"number"==typeof t)t<0?(o=s(t).slice(3),a="-"):(o=s(t).slice(2),a=""),o=a+o.slice(0,-1)+i[o.slice(-1)];else{if("object"!==(0,n.Z)(t))throw new Error("Don't know what to do with value type "+(0,n.Z)(t)+".");o=l(t)}c.push(r+o)}return c.push("}"),c.join("")},c=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,r,n,i,a={},s=1,l=a,c=[],u="",d="",h=e.length-1,p=1;p<h;p+=1)"'"==(i=e[p])?t?(n=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(c.push([l,n]),l={},n=void 0):"}"==i?((r=c.pop())[0][r[1]]=l,n=void 0,l=r[0]):"-"==i?s=-1:void 0===n?o.hasOwnProperty(i)?(u+=o[i],n=parseInt(u,16)*s,s=1,u=""):u+=i:o.hasOwnProperty(i)?(d+=o[i],l[n]=parseInt(d,16)*s,s=1,n=void 0,d=""):d+=i;return a},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},d={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},h={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'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":c("{'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:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'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":c("{'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":c("{'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(e){var t=e.font,r=h.Unicode[t.postScriptName];r&&(t.metadata.Unicode={},t.metadata.Unicode.widths=r.widths,t.metadata.Unicode.kerning=r.kerning);var n=d.Unicode[t.postScriptName];n&&(t.metadata.Unicode.encoding=n,t.encoding=n.codePages[0])}])}(F.API),function(e){var t=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r};e.API.events.push(["addFont",function(r){var n=void 0,o=r.font,i=r.instance;if(!o.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");if("string"!=typeof(n=!1===i.existsFileInVFS(o.postScriptName)?i.loadFile(o.postScriptName):i.getFileFromVFS(o.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?t(n):t(f(n)),r.metadata=e.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(o,n)}}])}(F),F.API.addSvgAsImage=function(e,t,n,o,i,a,l,u){if(isNaN(t)||isNaN(n))throw c.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(i))throw c.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var d=document.createElement("canvas");d.width=o,d.height=i;var h=d.getContext("2d");h.fillStyle="#fff",h.fillRect(0,0,d.width,d.height);var p={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},m=this;return(s.canvg?Promise.resolve(s.canvg):r.e(3754).then(r.bind(r,63754))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e})).then((function(t){return t.fromString(h,e,p)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(p)})).then((function(){m.addImage(d.toDataURL("image/jpeg",1),t,n,o,i,l,u)}))},F.API.putTotalPages=function(e){var t,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),r=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var o=0;o<this.internal.pages[n].length;o++)this.internal.pages[n][o]=this.internal.pages[n][o].replace(t,r);return this},F.API.viewerPreferences=function(e,t){var r;e=e||{},t=t||!1;var o,i,a,s={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}},l=Object.keys(s),c=[],u=0,d=0,h=0;function p(e,t){var r,n=!1;for(r=0;r<e.length;r+=1)e[r]===t&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var m=l.length;for(h=0;h<m;h+=1)r[l[h]].value=r[l[h]].defaultValue,r[l[h]].explicitSet=!1}if("object"===(0,n.Z)(e))for(i in e)if(a=e[i],p(l,i)&&void 0!==a){if("boolean"===r[i].type&&"boolean"==typeof a)r[i].value=a;else if("name"===r[i].type&&p(r[i].valueSet,a))r[i].value=a;else if("integer"===r[i].type&&Number.isInteger(a))r[i].value=a;else if("array"===r[i].type){for(u=0;u<a.length;u+=1)if(o=!0,1===a[u].length&&"number"==typeof a[u][0])c.push(String(a[u]-1));else if(a[u].length>1){for(d=0;d<a[u].length;d+=1)"number"!=typeof a[u][d]&&(o=!1);!0===o&&c.push([a[u][0]-1,a[u][1]-1].join(" "))}r[i].value="["+c.join(" ")+"]"}else r[i].value=r[i].defaultValue;r[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in r)!0===r[e].explicitSet&&("name"===r[e].type?t.push("/"+e+" /"+r[e].value):t.push("/"+e+" "+r[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},function(e){var t=function(){var e='<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>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(e)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),o=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),a=r.length+n.length+o.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(t+r+n+o+i),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",t)),this}}(F.API),function(e){var t=e.API,r=t.pdfEscape16=function(e,t){for(var r,n=t.metadata.Unicode.widths,o=["","0","00","000","0000"],i=[""],a=0,s=e.length;a<s;++a){if(r=t.metadata.characterToGlyph(e.charCodeAt(a)),t.metadata.glyIdsUsed.push(r),t.metadata.toUnicode[r]=e.charCodeAt(a),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(t.metadata.widthOfGlyph(r),10)])),"0"==r)return i.join("");r=r.toString(16),i.push(o[4-r.length],r)}return i.join("")},n=function(e){var t,r,n,o,i,a,s;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],a=0,s=(r=Object.keys(e).sort((function(e,t){return e-t}))).length;a<s;a++)t=r[a],n.length>=100&&(i+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(o=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),n.push("<"+t+"><"+o+">"));return n.length&&(i+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var r=t.font,o=t.out,i=t.newObject,a=t.putStream;if(r.metadata instanceof e.API.TTFFont&&"Identity-H"===r.encoding){for(var s=r.metadata.Unicode.widths,l=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),c="",u=0;u<l.length;u++)c+=String.fromCharCode(l[u]);var d=i();a({data:c,addLength1:!0,objectId:d}),o("endobj");var h=i();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),o("endobj");var p=i();o("<<"),o("/Type /FontDescriptor"),o("/FontName /"+M(r.fontName)),o("/FontFile2 "+d+" 0 R"),o("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),o("/Flags "+r.metadata.flags),o("/StemV "+r.metadata.stemV),o("/ItalicAngle "+r.metadata.italicAngle),o("/Ascent "+r.metadata.ascender),o("/Descent "+r.metadata.decender),o("/CapHeight "+r.metadata.capHeight),o(">>"),o("endobj");var m=i();o("<<"),o("/Type /Font"),o("/BaseFont /"+M(r.fontName)),o("/FontDescriptor "+p+" 0 R"),o("/W "+e.API.PDFObject.convert(s)),o("/CIDToGIDMap /Identity"),o("/DW 1000"),o("/Subtype /CIDFontType2"),o("/CIDSystemInfo"),o("<<"),o("/Supplement 0"),o("/Registry (Adobe)"),o("/Ordering ("+r.encoding+")"),o(">>"),o(">>"),o("endobj"),r.objectNumber=i(),o("<<"),o("/Type /Font"),o("/Subtype /Type0"),o("/ToUnicode "+h+" 0 R"),o("/BaseFont /"+M(r.fontName)),o("/Encoding /"+r.encoding),o("/DescendantFonts ["+m+" 0 R]"),o(">>"),o("endobj"),r.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var r=t.font,o=t.out,i=t.newObject,a=t.putStream;if(r.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var s=r.metadata.rawData,l="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var u=i();a({data:l,addLength1:!0,objectId:u}),o("endobj");var d=i();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:d}),o("endobj");var h=i();o("<<"),o("/Descent "+r.metadata.decender),o("/CapHeight "+r.metadata.capHeight),o("/StemV "+r.metadata.stemV),o("/Type /FontDescriptor"),o("/FontFile2 "+u+" 0 R"),o("/Flags 96"),o("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),o("/FontName /"+M(r.fontName)),o("/ItalicAngle "+r.metadata.italicAngle),o("/Ascent "+r.metadata.ascender),o(">>"),o("endobj"),r.objectNumber=i();for(var p=0;p<r.metadata.hmtx.widths.length;p++)r.metadata.hmtx.widths[p]=parseInt(r.metadata.hmtx.widths[p]*(1e3/r.metadata.head.unitsPerEm));o("<</Subtype/TrueType/Type/Font/ToUnicode "+d+" 0 R/BaseFont/"+M(r.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),o("endobj"),r.isAlreadyPutted=!0}}(t)}]);var o=function(e){var t,n=e.text||"",o=e.x,i=e.y,a=e.options||{},s=e.mutex||{},l=s.pdfEscape,c=s.activeFontKey,u=s.fonts,d=c,h="",p=0,m="",f=u[d].encoding;if("Identity-H"!==u[d].encoding)return{text:n,x:o,y:i,options:a,mutex:s};for(m=n,d=c,Array.isArray(n)&&(m=n[0]),p=0;p<m.length;p+=1)u[d].metadata.hasOwnProperty("cmap")&&(t=u[d].metadata.cmap.unicode.codeMap[m[p].charCodeAt(0)]),t||m[p].charCodeAt(0)<256&&u[d].metadata.hasOwnProperty("Unicode")?h+=m[p]:h+="";var g="";return parseInt(d.slice(1))<14||"WinAnsiEncoding"===f?g=l(h,d).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===f&&(g=r(h,u[d])),s.isHex=!0,{text:g,x:o,y:i,options:a,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",r=[],n={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var i=0;for(i=0;i<t.length;i+=1)Array.isArray(t[i])&&3===t[i].length?r.push([o(Object.assign({},n,{text:t[i][0]})).text,t[i][1],t[i][2]]):r.push(o(Object.assign({},n,{text:t[i]})).text);e.text=r}else e.text=o(Object.assign({},n,{text:t})).text}])}(F),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,r){return t.call(this),this.internal.vFS[e]=r,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(F.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var r,n,o,i,a,s,l,c=t,u=[[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]],d=[[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]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},p={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},m=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","","","","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],f=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)$/),g=!1,b=0;this.__bidiEngine__={};var v=function(e){var t=e.charCodeAt(),r=t>>8,n=p[r];return void 0!==n?c[256*n+(255&t)]:252===r||253===r?"AL":f.test(r)?"L":8===r?"R":"N"},y=function(e){for(var t,r=0;r<e.length;r++){if("L"===(t=v(e.charAt(r))))return!1;if("R"===t)return!0}return!1},w=function(e,t,a,s){var l,c,u,d,h=t[s];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"N":case"AN":break;case"EN":g&&(h="AN");break;case"AL":g=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=a[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?h="N":g&&(c="AN"),h=c===l?c:"N";break;case"ES":h="EN"===(l=s>0?a[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){h="EN";break}if(g){h="N";break}for(u=s+1,d=t.length;u<d&&"ET"===t[u];)u++;h=u<d&&"EN"===t[u]?"EN":"N";break;case"NSM":if(o&&!i){for(d=t.length,u=s+1;u<d&&"NSM"===t[u];)u++;if(u<d){var p=e[s],m=p>=1425&&p<=2303||64286===p;if(l=t[u],m&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":a[s-1];break;case"B":g=!1,r=!0,h=b;break;case"S":n=!0,h="N"}return h},x=function(e,t,r){var n=e.split("");return r&&S(n,r,{hiLevel:b}),n.reverse(),t&&t.reverse(),n.join("")},S=function(e,t,o){var i,a,s,l,c,p=-1,m=e.length,f=0,y=[],x=b?d:u,S=[];for(g=!1,r=!1,n=!1,a=0;a<m;a++)S[a]=v(e[a]);for(s=0;s<m;s++){if(c=f,y[s]=w(e,S,y,s),i=240&(f=x[c][h[y[s]]]),f&=15,t[s]=l=x[f][5],i>0)if(16===i){for(a=p;a<s;a++)t[a]=1;p=-1}else p=-1;if(x[f][6])-1===p&&(p=s);else if(p>-1){for(a=p;a<s;a++)t[a]=l;p=-1}"B"===S[s]&&(t[s]=0),o.hiLevel|=l}n&&function(e,t,r){for(var n=0;n<r;n++)if("S"===e[n]){t[n]=b;for(var o=n-1;o>=0&&"WS"===e[o];o--)t[o]=b}}(S,t,m)},k=function(e,t,n,o,i){if(!(i.hiLevel<e)){if(1===e&&1===b&&!r)return t.reverse(),void(n&&n.reverse());for(var a,s,l,c,u=t.length,d=0;d<u;){if(o[d]>=e){for(l=d+1;l<u&&o[l]>=e;)l++;for(c=d,s=l-1;c<s;c++,s--)a=t[c],t[c]=t[s],t[s]=a,n&&(a=n[c],n[c]=n[s],n[s]=a);d=l}d++}}},C=function(e,t,r){var n=e.split(""),o={hiLevel:b};return r||(r=[]),S(n,r,o),function(e,t,r){if(0!==r.hiLevel&&l)for(var n,o=0;o<e.length;o++)1===t[o]&&(n=m.indexOf(e[o]))>=0&&(e[o]=m[n+1])}(n,r,o),k(2,n,t,r,o),k(1,n,t,r,o),n.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,r){if(function(e,t){if(t)for(var r=0;r<e.length;r++)t[r]=r;void 0===i&&(i=y(e)),void 0===s&&(s=y(e))}(e,t),o||!a||s)if(o&&a&&i^s)b=i?1:0,e=x(e,t,r);else if(!o&&a&&s)b=i?1:0,e=C(e,t,r),e=x(e,t);else if(!o||i||a||s){if(o&&!a&&i^s)e=x(e,t),i?(b=0,e=C(e,t,r)):(b=1,e=C(e,t,r),e=x(e,t));else if(o&&i&&!a&&s)b=1,e=C(e,t,r),e=x(e,t);else if(!o&&!a&&i^s){var n=l;i?(b=1,e=C(e,t,r),b=0,l=!1,e=C(e,t,r),l=n):(b=0,e=C(e,t,r),e=x(e,t),b=1,l=!1,e=C(e,t,r),l=n,e=x(e,t))}}else b=0,e=C(e,t,r);else b=i?1:0,e=C(e,t,r);return e},this.__bidiEngine__.setOptions=function(e){e&&(o=e.isInputVisual,a=e.isOutputVisual,i=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["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"],r=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text;e.x,e.y;var n=e.options||{};e.mutex,n.lang;var o=[];if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(t)){var i=0;for(o=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?o.push([r.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):o.push([r.doBidiReorder(t[i])]);e.text=o}else e.text=r.doBidiReorder(t);r.setOptions({isInputVisual:!0})}])}(F),F.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new gt(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Pt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new bt(this.contents),this.head=new wt(this),this.name=new Ot(this),this.cmap=new St(this),this.toUnicode={},this.hhea=new kt(this),this.maxp=new _t(this),this.hmtx=new Nt(this),this.post=new $t(this),this.os2=new Ct(this),this.loca=new Mt(this),this.glyf=new It(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 e,t,r,n,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,r,n,o;for(o=[],t=0,r=(n=this.bbox).length;t<r;t++)e=n[t],o.push(Math.round(e*this.scaleFactor));return o}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),32768&(t=n>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):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=1===(o=this.familyClass)||2===o||3===o||4===o||5===o||7===o,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,r){var n,o,i,a;for(i=0,o=0,a=(e=""+e).length;0<=a?o<a:o>a;o=0<=a?++o:--o)n=e.charCodeAt(o),i+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/t)||0;return i*(t/1e3)},e.prototype.lineHeight=function(e,t){var r;return null==t&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},e}();var ft,gt=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(e){var t,r,n;for(n=[],t=0,r=e.length;0<=r?t<r:t>r;t=0<=r?++t:--t)n.push(this.writeByte(e.charCodeAt(t)));return n},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,r,n,o,i,a,s;return e=this.readByte(),t=this.readByte(),r=this.readByte(),n=this.readByte(),o=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^o)+65536*(255^i)+256*(255^a)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*r+4294967296*n+16777216*o+65536*i+256*a+s},e.prototype.writeLongLong=function(e){var t,r;return t=Math.floor(e/4294967296),r=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,r;for(t=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t.push(this.readByte());return t},e.prototype.write=function(e){var t,r,n,o;for(o=[],r=0,n=e.length;r<n;r++)t=e[r],o.push(this.writeByte(t));return o},e}(),bt=function(){var e;function t(e){var t,r,n;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var r,n,o,i,a,s,l,c,u,d,h,p,m;for(m in h=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),i=Math.floor(u/s),c=16*h-u,(n=new gt).writeInt(this.scalarType),n.writeShort(h),n.writeShort(u),n.writeShort(i),n.writeShort(c),o=16*h,l=n.pos+o,a=null,p=[],t)for(d=t[m],n.writeString(m),n.writeInt(e(d)),n.writeInt(l),n.writeInt(d.length),p=p.concat(d),"head"===m&&(a=l),l+=d.length;l%4;)p.push(0),l++;return n.write(p),r=2981146554-e(n.data),n.pos=a+8,n.writeUInt32(r),n.data},e=function(e){var t,r,n,o;for(e=At.call(e);e.length%4;)e.push(0);for(n=new gt(e),r=0,t=0,o=e.length;t<o;t=t+=4)r+=n.readUInt32();return 4294967295&r},t}(),vt={}.hasOwnProperty,yt=function(e,t){for(var r in t)vt.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};ft=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.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 wt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new gt).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),xt=function(){function e(e,t){var r,n,o,i,a,s,l,c,u,d,h,p,m,f,g,b,v;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),d=h/2,e.pos+=6,o=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),e.pos+=2,m=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),l=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),c=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),n=(this.length-e.pos+this.offset)/2,a=function(){var t,r;for(r=[],s=t=0;0<=n?t<n:t>n;s=0<=n?++t:--t)r.push(e.readUInt16());return r}(),s=g=0,v=o.length;g<v;s=++g)for(f=o[s],r=b=p=m[s];p<=f?b<=f:b>=f;r=p<=f?++b:--b)0===c[s]?i=r+l[s]:0!==(i=a[c[s]/2+(r-p)-(d-s)]||0)&&(i+=l[s]),this.codeMap[r]=65535&i}e.pos=u}return e.encode=function(e,t){var r,n,o,i,a,s,l,c,u,d,h,p,m,f,g,b,v,y,w,x,S,k,C,$,j,O,_,N,A,I,E,z,M,P,L,B,T,R,F,D,q,H,W,Z,U,V;switch(N=new gt,i=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(m=0,f=function(){var e=[];for(p=0;p<256;++p)e.push(0);return e}(),b={0:0},o={},A=0,M=i.length;A<M;A++)null==b[W=e[n=i[A]]]&&(b[W]=++m),o[n]={old:e[n],new:b[e[n]]},f[n]=b[e[n]];return N.writeUInt16(1),N.writeUInt16(0),N.writeUInt32(12),N.writeUInt16(0),N.writeUInt16(262),N.writeUInt16(0),N.write(f),{charMap:o,subtable:N.data,maxGlyphID:m+1};case"unicode":for(O=[],u=[],v=0,b={},r={},g=l=null,I=0,P=i.length;I<P;I++)null==b[w=e[n=i[I]]]&&(b[w]=++v),r[n]={old:w,new:b[w]},a=b[w]-n,null!=g&&a===l||(g&&u.push(g),O.push(n),l=a),g=n;for(g&&u.push(g),u.push(65535),O.push(65535),$=2*(C=O.length),k=2*Math.pow(Math.log(C)/Math.LN2,2),d=Math.log(k/2)/Math.LN2,S=2*C-k,s=[],x=[],h=[],p=E=0,L=O.length;E<L;p=++E){if(j=O[p],c=u[p],65535===j){s.push(0),x.push(0);break}if(j-(_=r[j].new)>=32768)for(s.push(0),x.push(2*(h.length+C-p)),n=z=j;j<=c?z<=c:z>=c;n=j<=c?++z:--z)h.push(r[n].new);else s.push(_-j),x.push(0)}for(N.writeUInt16(3),N.writeUInt16(1),N.writeUInt32(12),N.writeUInt16(4),N.writeUInt16(16+8*C+2*h.length),N.writeUInt16(0),N.writeUInt16($),N.writeUInt16(k),N.writeUInt16(d),N.writeUInt16(S),q=0,B=u.length;q<B;q++)n=u[q],N.writeUInt16(n);for(N.writeUInt16(0),H=0,T=O.length;H<T;H++)n=O[H],N.writeUInt16(n);for(Z=0,R=s.length;Z<R;Z++)a=s[Z],N.writeUInt16(a);for(U=0,F=x.length;U<F;U++)y=x[U],N.writeUInt16(y);for(V=0,D=h.length;V<D;V++)m=h[V],N.writeUInt16(m);return{charMap:r,subtable:N.data,maxGlyphID:v+1}}},e}(),St=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,r,n;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)t=new xt(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var r,n;return null==t&&(t="macroman"),r=xt.encode(e,t),(n=new gt).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(),kt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),Ct=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(e.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(e.readInt());return r}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(e.readInt());return r}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),$t=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="post",e.prototype.parse=function(e){var t,r,n;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var o;for(r=e.readUInt16(),this.glyphNameIndex=[],o=0;0<=r?o<r:o>r;o=0<=r?++o:--o)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],n=[];e.pos<this.offset+this.length;)t=e.readByte(),n.push(this.names.push(e.readString(t)));return n;case 151552:return r=e.readUInt16(),this.offsets=e.read(r);case 262144:return this.map=function(){var t,r,n;for(n=[],o=t=0,r=this.file.maxp.numGlyphs;0<=r?t<r:t>r;o=0<=r?++t:--t)n.push(e.readUInt32());return n}.call(this)}},e}(),jt=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},Ot=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="name",e.prototype.parse=function(e){var t,r,n,o,i,a,s,l,c,u,d;for(e.pos=this.offset,e.readShort(),t=e.readShort(),a=e.readShort(),r=[],o=0;0<=t?o<t:o>t;o=0<=t?++o:--o)r.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+a+e.readShort()});for(s={},o=c=0,u=r.length;c<u;o=++c)n=r[o],e.pos=n.offset,l=e.readString(n.length),i=new jt(l,n),null==s[d=n.nameID]&&(s[d]=[]),s[n.nameID].push(i);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(),_t=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),Nt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,r,n,o,i,a,s;for(e.pos=this.offset,this.metrics=[],t=0,a=this.file.hhea.numberOfMetrics;0<=a?t<a:t>a;t=0<=a?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,o;for(o=[],t=r=0;0<=n?r<n:r>n;t=0<=n?++r:--r)o.push(e.readInt16());return o}(),this.widths=function(){var e,t,r,n;for(n=[],e=0,t=(r=this.metrics).length;e<t;e++)o=r[e],n.push(o.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],t=i=0;0<=n?i<n:i>n;t=0<=n?++i:--i)s.push(this.widths.push(r));return s},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),At=[].slice,It=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,r,n,o,i,a,s,l,c,u;return e in this.cache?this.cache[e]:(o=this.file.loca,t=this.file.contents,r=o.indexOf(e),0===(n=o.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+r,i=(a=new gt(t.read(n))).readShort(),l=a.readShort(),u=a.readShort(),s=a.readShort(),c=a.readShort(),this.cache[e]=-1===i?new zt(a,l,u,s,c):new Et(a,i,l,u,s,c),this.cache[e]))},e.prototype.encode=function(e,t,r){var n,o,i,a,s;for(i=[],o=[],a=0,s=t.length;a<s;a++)n=e[t[a]],o.push(i.length),n&&(i=i.concat(n.encode(r)));return o.push(i.length),{table:i,offsets:o}},e}(),Et=function(){function e(e,t,r,n,o,i){this.raw=e,this.numberOfContours=t,this.xMin=r,this.yMin=n,this.xMax=o,this.yMax=i,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),zt=function(){function e(e,t,r,n,o){var i,a;for(this.raw=e,this.xMin=t,this.yMin=r,this.xMax=n,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;a=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&a;)i.pos+=1&a?4:2,128&a?i.pos+=8:64&a?i.pos+=4:8&a&&(i.pos+=2)}return e.prototype.encode=function(){var e,t,r;for(t=new gt(At.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Mt=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return yt(e,ft),e.prototype.tag="loca",e.prototype.parse=function(e){var t,r;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=2)n.push(2*e.readUInt16());return n}.call(this):function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=4)n.push(e.readUInt32());return n}.call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var r=new Uint32Array(this.offsets.length),n=0,o=0,i=0;i<r.length;++i)if(r[i]=n,o<t.length&&t[o]==i){++o,r[i]=n;var a=this.offsets[i],s=this.offsets[i+1]-a;s>0&&(n+=s)}for(var l=new Array(4*r.length),c=0;c<r.length;++c)l[4*c+3]=255&r[c],l[4*c+2]=(65280&r[c])>>8,l[4*c+1]=(16711680&r[c])>>16,l[4*c]=(4278190080&r[c])>>24;return l},e}(),Pt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,r,n,o;for(t in n=this.font.cmap.tables[0].codeMap,e={},o=this.subset)r=o[t],e[t]=n[r];return e},e.prototype.glyphsFor=function(e){var t,r,n,o,i,a,s;for(n={},i=0,a=e.length;i<a;i++)n[o=e[i]]=this.font.glyf.glyphFor(o);for(o in t=[],n)(null!=(r=n[o])?r.compound:void 0)&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(o in s=this.glyphsFor(t))r=s[o],n[o]=r;return n},e.prototype.encode=function(e,t){var r,n,o,i,a,s,l,c,u,d,h,p,m,f,g;for(n in r=St.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(e),h={0:0},g=r.charMap)h[(s=g[n]).old]=s.new;for(p in d=r.maxGlyphID,i)p in h||(h[p]=d++);return c=function(e){var t,r;for(t in r={},e)r[e[t]]=t;return r}(h),u=Object.keys(c).sort((function(e,t){return e-t})),m=function(){var e,t,r;for(r=[],e=0,t=u.length;e<t;e++)a=u[e],r.push(c[a]);return r}(),o=this.font.glyf.encode(i,m,h),l=this.font.loca.encode(o.offsets,m),f={cmap:this.font.cmap.raw(),glyf:o.table,loca:l,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(t)},this.font.os2.exists&&(f["OS/2"]=this.font.os2.raw()),this.font.directory.encode(f)},e}();F.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(r){var n,o,i,a;if(Array.isArray(r))return"["+function(){var e,o,i;for(i=[],e=0,o=r.length;e<o;e++)n=r[e],i.push(t.convert(n));return i}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+e(r.getUTCFullYear(),4)+e(r.getUTCMonth(),2)+e(r.getUTCDate(),2)+e(r.getUTCHours(),2)+e(r.getUTCMinutes(),2)+e(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(o in i=["<<"],r)a=r[o],i.push("/"+o+" "+t.convert(a));return i.push(">>"),i.join("\n")}return""+r},t}()},86129:function(e,t,r){var n=r(19208).lW,o=r(97671);e.exports=function e(t,r,n){function o(a,s){if(!r[a]){if(!t[a]){if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[a]={exports:{}};t[a][0].call(c.exports,(function(e){return o(t[a][1][e]||e)}),c,c.exports,e,t,r,n)}return r[a].exports}for(var i=void 0,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(e,t,r){"use strict";var n=e("./utils"),o=e("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,o,a,s,l,c,u=[],d=0,h=e.length,p=h,m="string"!==n.getTypeOf(e);d<e.length;)p=h-d,o=m?(t=e[d++],r=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),r=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),a=t>>2,s=(3&t)<<4|r>>4,l=1<p?(15&r)<<2|o>>6:64,c=2<p?63&o:64,u.push(i.charAt(a)+i.charAt(s)+i.charAt(l)+i.charAt(c));return u.join("")},r.decode=function(e){var t,r,n,a,s,l,c=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===i.charAt(64)&&p--,e.charAt(e.length-2)===i.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=o.uint8array?new Uint8Array(0|p):new Array(0|p);c<e.length;)t=i.indexOf(e.charAt(c++))<<2|(a=i.indexOf(e.charAt(c++)))>>4,r=(15&a)<<4|(s=i.indexOf(e.charAt(c++)))>>2,n=(3&s)<<6|(l=i.indexOf(e.charAt(c++))),h[u++]=t,64!==s&&(h[u++]=r),64!==l&&(h[u++]=n);return h}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var n=e("./external"),o=e("./stream/DataWorker"),i=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,r,n,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=o}s.prototype={getContentWorker:function(){var e=new o(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new o(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new i).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var n=e("./utils"),o=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var i=o,a=n+r;e^=-1;for(var s=n;s<a;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=o,a=n+r;e^=-1;for(var s=n;s<a;s++)e=e>>>8^i[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=e("pako"),i=e("./utils"),a=e("./stream/GenericWorker"),s=n?"uint8array":"array";function l(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",i.inherits(l,a),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(i.transformTo(s,e.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function o(e,t,r,o,a,u){var d,h,p=e.file,m=e.compression,f=u!==s.utf8encode,g=i.transformTo("string",u(p.name)),b=i.transformTo("string",s.utf8encode(p.name)),v=p.comment,y=i.transformTo("string",u(v)),w=i.transformTo("string",s.utf8encode(v)),x=b.length!==p.name.length,S=w.length!==v.length,k="",C="",$="",j=p.dir,O=p.date,_={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(_.crc32=e.crc32,_.compressedSize=e.compressedSize,_.uncompressedSize=e.uncompressedSize);var N=0;t&&(N|=8),f||!x&&!S||(N|=2048);var A=0,I=0;j&&(A|=16),"UNIX"===a?(I=798,A|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(p.unixPermissions,j)):(I=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=O.getUTCHours(),d<<=6,d|=O.getUTCMinutes(),d<<=5,d|=O.getUTCSeconds()/2,h=O.getUTCFullYear()-1980,h<<=4,h|=O.getUTCMonth()+1,h<<=5,h|=O.getUTCDate(),x&&(C=n(1,1)+n(l(g),4)+b,k+="up"+n(C.length,2)+C),S&&($=n(1,1)+n(l(y),4)+w,k+="uc"+n($.length,2)+$);var E="";return E+="\n\0",E+=n(N,2),E+=m.magic,E+=n(d,2),E+=n(h,2),E+=n(_.crc32,4),E+=n(_.compressedSize,4),E+=n(_.uncompressedSize,4),E+=n(g.length,2),E+=n(k.length,2),{fileRecord:c.LOCAL_FILE_HEADER+E+g+k,dirRecord:c.CENTRAL_FILE_HEADER+n(I,2)+E+n(y.length,2)+"\0\0\0\0"+n(A,4)+n(o,4)+g+k+y}}var i=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(u,a),u.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=o(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=o(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,o=function(e,t,r,o,a){var s=i.transformTo("string",a(o));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(e,2)+n(e,2)+n(t,4)+n(r,4)+n(s.length,2)+s}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:o,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},u.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var n=e("../compressions"),o=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var i=new o(t.streamFiles,r,t.platform,t.encodeFileName),a=0;try{e.forEach((function(e,r){a++;var o=function(e,t){var r=e||t,o=n[r];if(!o)throw new Error(r+" is not a valid compression method !");return o}(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},l=r.dir,c=r.date;r._compressWorker(o,s).withStreamInfo("file",{name:e,dir:l,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(i)})),i.entriesCount=a}catch(e){i.error(e)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;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 e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var n=e("./utils"),o=e("./external"),i=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new o.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),l.isNode&&l.isStream(e)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new a(t);return r.load(e),r})).then((function(e){var r=[o.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(c(n[i]));return o.Promise.all(r)})).then((function(e){for(var o=e.shift(),i=o.files,a=0;a<i.length;a++){var s=i[a],l=s.fileNameStr,c=n.resolve(s.fileNameStr);r.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(c).unsafeOriginalName=l)}return o.zipComment.length&&(r.comment=o.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var n=e("../utils"),o=e("../stream/GenericWorker");function i(e,t){o.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(i,o),i.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},i.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var n=e("readable-stream").Readable;function o(e,t,r){n.call(this,t),this._helper=e;var o=this;e.on("data",(function(e,t){o.push(e)||o._helper.pause(),r&&r(t)})).on("error",(function(e){o.emit("error",e)})).on("end",(function(){o.push(null)}))}e("../utils").inherits(o,n),o.prototype._read=function(){this._helper.resume()},t.exports=o},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){"use strict";t.exports={isNode:void 0!==n,newBufferFrom:function(e,t){if(n.from&&n.from!==Uint8Array.from)return n.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new n(e,t)},allocBuffer:function(e){if(n.alloc)return n.alloc(e);var t=new n(e);return t.fill(0),t},isBuffer:function(e){return n.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";function n(e,t,r){var n,o=i.getTypeOf(t),s=i.extend(r||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=f(e)),s.createFolders&&(n=m(e))&&g.call(this,n,!0);var d="string"===o&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!d),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",o="string");var b=null;b=t instanceof c||t instanceof a?t:h.isNode&&h.isStream(t)?new p(e,t):i.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new u(e,b,s);this.files[e]=v}var o=e("./utf8"),i=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),u=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),p=e("./nodejs/NodejsStreamInputAdapter"),m=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},f=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=f(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function b(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(b(e)){var o=e;return this.filter((function(e,t){return!t.dir&&o.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null},folder:function(e){if(!e)return this;if(b(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");i.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=d.generateWorker(this,r,n)}catch(e){(t=new a("error")).error(e)}return new s(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=v},{"./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(e,t,r){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var n=e("./DataReader");function o(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(o,n),o.prototype.byteAt=function(e){return this.data[this.zero+e]},o.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),o=e.charCodeAt(3),i=this.length-4;0<=i;--i)if(this.data[i]===t&&this.data[i+1]===r&&this.data[i+2]===n&&this.data[i+3]===o)return i-this.zero;return-1},o.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&r===i[1]&&n===i[2]&&o===i[3]},o.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var n=e("../utils");function o(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=o},{"../utils":32}],19:[function(e,t,r){"use strict";var n=e("./Uint8ArrayReader");function o(e){n.call(this,e)}e("../utils").inherits(o,n),o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var n=e("./DataReader");function o(e){n.call(this,e)}e("../utils").inherits(o,n),o.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},o.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},o.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var n=e("./ArrayReader");function o(e){n.call(this,e)}e("../utils").inherits(o,n),o.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var n=e("../utils"),o=e("../support"),i=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||o.uint8array?"nodebuffer"===t?new s(e):o.uint8array?new l(n.transformTo("uint8array",e)):new i(n.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){"use strict";var n=e("./GenericWorker"),o=e("../utils");function i(e){n.call(this,"ConvertWorker to "+e),this.destType=e}o.inherits(i,n),i.prototype.processChunk=function(e){this.push({data:o.transformTo(this.destType,e.data),meta:e.meta})},t.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var n=e("./GenericWorker"),o=e("../crc32");function i(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(i,n),i.prototype.processChunk=function(e){this.streamInfo.crc32=o(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var n=e("../utils"),o=e("./GenericWorker");function i(e){o.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(i,o),i.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}o.prototype.processChunk.call(this,e)},t.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var n=e("../utils"),o=e("./GenericWorker");function i(e){o.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(i,o),i.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function n(e){this.name=e||"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}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),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 e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},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 e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./ConvertWorker"),a=e("./GenericWorker"),s=e("../base64"),l=e("../support"),c=e("../external"),u=null;if(l.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t){return new c.Promise((function(r,i){var a=[],l=e._internalType,c=e._outputType,u=e._mimeType;e.on("data",(function(e,r){a.push(e),t&&t(r)})).on("error",(function(e){a=[],i(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return o.newBlob(o.transformTo("arraybuffer",t),r);case"base64":return s.encode(t);default:return o.transformTo(e,t)}}(c,function(e,t){var r,o=0,i=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),r=0;r<t.length;r++)i.set(t[r],o),o+=t[r].length;return i;case"nodebuffer":return n.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,a),u);r(e)}catch(e){i(e)}a=[]})).resume()}))}function h(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,o.checkSupport(n),this._worker=e.pipe(new i(n)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){o.delay(t,arguments,r)})),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(o.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer=void 0!==n,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var o=new ArrayBuffer(0);try{r.blob=0===new Blob([o],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(o),r.blob=0===i.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){"use strict";for(var n=e("./utils"),o=e("./support"),i=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function u(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(e){return o.nodebuffer?i.newBufferFrom(e,"utf-8"):function(e){var t,r,n,i,a,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=o.uint8array?new Uint8Array(l):new Array(l),i=a=0;a<l;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t}(e)},r.utf8decode=function(e){return o.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,o,i,a=e.length,l=new Array(2*a);for(t=r=0;t<a;)if((o=e[t++])<128)l[r++]=o;else if(4<(i=s[o]))l[r++]=65533,t+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&t<a;)o=o<<6|63&e[t++],i--;1<i?l[r++]=65533:o<65536?l[r++]=o:(o-=65536,l[r++]=55296|o>>10&1023,l[r++]=56320|1023&o)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),n.applyFromCharCode(l)}(e=n.transformTo(o.uint8array?"uint8array":"array",e))},n.inherits(c,a),c.prototype.processChunk=function(e){var t=n.transformTo(o.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var i=t;(t=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),t.set(i,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}(t),l=t;a!==t.length&&(o.uint8array?(l=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(l=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:r.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,n.inherits(u,a),u.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){"use strict";var n=e("./support"),o=e("./base64"),i=e("./nodejsUtils"),a=e("./external");function s(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,r){var n=[],o=0,i=e.length;if(i<=r)return String.fromCharCode.apply(null,e);for(;o<i;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(o,Math.min(o+r,i)))):n.push(String.fromCharCode.apply(null,e.subarray(o,Math.min(o+r,i)))),o+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,i.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,n=r.getTypeOf(e),o=!0;if("uint8array"===n?o=c.applyCanBeUsed.uint8array:"nodebuffer"===n&&(o=c.applyCanBeUsed.nodebuffer),o)for(;1<t;)try{return c.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function d(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=u;var h={};h.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,i.allocBuffer(e.length))}},h.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(e)}},h.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return i.newBufferFrom(e)}},h.nodebuffer={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var n=r.getTypeOf(t);return h[n][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var o=t[n];"."===o||""===o&&0!==n&&n!==t.length-1||(".."===o?r.pop():r.push(o))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&i.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate((function(){e.apply(r||null,t||[])}))},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,i,s,c){return a.Promise.resolve(t).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var u=r.getTypeOf(t);return u?("arraybuffer"===u?t=r.transformTo("uint8array",t):"string"===u&&(c?t=o.decode(t):i&&!0!==s&&(t=function(e){return l(e,n.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),o=e("./utils"),i=e("./signature"),a=e("./zipEntry"),s=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(t)+", expected "+o.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},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 e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=o.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},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 e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},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 e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,i.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(e);var t=e;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.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(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,i.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),o=e("./utils"),i=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),l=e("./compressions"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<o;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(o)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=o.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=o.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){"use strict";function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var o=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new a.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new o(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new i(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)n.prototype[c[d]]=u;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){"use strict";var r,n,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var i=0,a=new o(u),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),r=function(){s.data=i=++i%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,r=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;n=!0;for(var r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}n=!1}t.exports=function(e){1!==c.push(e)||n||r()}}).call(this,void 0!==r.g?r.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){"use strict";var n=e("immediate");function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==o&&p(this,e)}function u(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function d(e,t,r){n((function(){var n;try{n=t(r)}catch(n){return i.reject(e,n)}n===e?i.reject(e,new TypeError("Cannot resolve promise with itself")):i.resolve(e,n)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var r=!1;function n(t){r||(r=!0,i.reject(e,t))}function o(t){r||(r=!0,i.resolve(e,t))}var a=m((function(){t(o,n)}));"error"===a.status&&n(a.value)}function m(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var r=new this.constructor(o);return this.state!==l?d(r,this.state===s?e:t,this.outcome):this.queue.push(new u(r,e,t)),r},u.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){i.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},i.resolve=function(e,t){var r=m(h,t);if("error"===r.status)return i.reject(e,r.value);var n=r.value;if(n)p(e,n);else{e.state=s,e.outcome=t;for(var o=-1,a=e.queue.length;++o<a;)e.queue[o].callFulfilled(t)}return e},i.reject=function(e,t){e.state=a,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:i.resolve(new this(o),e)},c.reject=function(e){var t=new this(o);return i.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var a=new Array(r),s=0,l=-1,c=new this(o);++l<r;)u(e[l],l);return c;function u(e,o){t.resolve(e).then((function(e){a[o]=e,++s!==r||n||(n=!0,i.resolve(c,a))}),(function(e){n||(n=!0,i.reject(c,e))}))}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var a,s=-1,l=new this(o);++s<r;)a=e[s],t.resolve(a).then((function(e){n||(n=!0,i.resolve(l,e))}),(function(e){n||(n=!0,i.reject(l,e))}));return l}},{immediate:36}],38:[function(e,t,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){"use strict";var n=e("./zlib/deflate"),o=e("./utils/common"),i=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString,c=0,u=-1,d=0,h=8;function p(e){if(!(this instanceof p))return new p(e);this.options=o.assign({level:u,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==c)throw new Error(a[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var m;if(m="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=n.deflateSetDictionary(this.strm,m))!==c)throw new Error(a[r]);this._dict_set=!0}}function m(e,t){var r=new p(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}p.prototype.push=function(e,t){var r,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=i.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new o.Buf8(u),s.next_out=0,s.avail_out=u),1!==(r=n.deflate(s,a))&&r!==c)return this.onEnd(r),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(s.output,s.next_out))):this.onData(o.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==a||(this.onEnd(c),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=p,r.deflate=m,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,m(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,m(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){"use strict";var n=e("./zlib/inflate"),o=e("./utils/common"),i=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);this.header=new c,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(e,t){var r,s,l,c,d,h,p=this.strm,m=this.options.chunkSize,f=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?p.input=i.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new o.Buf8(m),p.next_out=0,p.avail_out=m),(r=n.inflate(p,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&f&&(h="string"==typeof f?i.string2buf(f):"[object ArrayBuffer]"===u.call(f)?new Uint8Array(f):f,r=n.inflateSetDictionary(this.strm,h)),r===a.Z_BUF_ERROR&&!0===g&&(r=a.Z_OK,g=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&r!==a.Z_STREAM_END&&(0!==p.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=i.utf8border(p.output,p.next_out),c=p.next_out-l,d=i.buf2string(p.output,l),p.next_out=c,p.avail_out=m-c,c&&o.arraySet(p.output,p.output,l,c,0),this.onData(d)):this.onData(o.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((0<p.avail_in||0===p.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=d,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,r,n,o){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),o);else for(var i=0;i<n;i++)e[o+i]=t[r+i]},flattenChunks:function(e){var t,r,n,o,i,a;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),t=o=0,r=e.length;t<r;t++)i=e[t],a.set(i,o),o+=i.length;return a}},i={arraySet:function(e,t,r,n,o){for(var i=0;i<n;i++)e[o+i]=t[r+i]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,o)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},{}],42:[function(e,t,r){"use strict";var n=e("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&i||!e.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",a=0;a<t;a++)r+=String.fromCharCode(e[a]);return r}a[254]=a[254]=1,r.string2buf=function(e){var t,r,o,i,a,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(l),i=a=0;a<l;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,o=t.length;r<o;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,o,i,s=t||e.length,c=new Array(2*s);for(r=n=0;r<s;)if((o=e[r++])<128)c[n++]=o;else if(4<(i=a[o]))c[n++]=65533,r+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&r<s;)o=o<<6|63&e[r++],i--;1<i?c[n++]=65533:o<65536?c[n++]=o:(o-=65536,c[n++]=55296|o>>10&1023,c[n++]=56320|1023&o)}return l(c,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;i=i+(o=o+t[n++]|0)|0,--a;);o%=65521,i%=65521}return o|i<<16|0}},{}],44:[function(e,t,r){"use strict";t.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(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,o){var i=n,a=o+r;e^=-1;for(var s=o;s<a;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,r){"use strict";var n,o=e("../utils/common"),i=e("./trees"),a=e("./adler32"),s=e("./crc32"),l=e("./messages"),c=0,u=4,d=0,h=-2,p=-1,m=4,f=2,g=8,b=9,v=286,y=30,w=19,x=2*v+1,S=15,k=3,C=258,$=C+k+1,j=42,O=113,_=1,N=2,A=3,I=4;function E(e,t){return e.msg=l[t],t}function z(e){return(e<<1)-(4<e?9:0)}function M(e){for(var t=e.length;0<=--t;)e[t]=0}function P(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(o.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function L(e,t){i._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,P(e.strm)}function B(e,t){e.pending_buf[e.pending++]=t}function T(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function R(e,t){var r,n,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-$?e.strstart-(e.w_size-$):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+C,p=c[i+a-1],m=c[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(r=t)+a]===m&&c[r+a-1]===p&&c[r]===c[i]&&c[++r]===c[i+1]){i+=2,r++;do{}while(c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&i<h);if(n=C-(h-i),i=h-C,a<n){if(e.match_start=t,s<=(a=n))break;p=c[i+a-1],m=c[i+a]}}}while((t=d[t&u])>l&&0!=--o);return a<=e.lookahead?a:e.lookahead}function F(e){var t,r,n,i,l,c,u,d,h,p,m=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-$)){for(o.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=r=e.hash_size;n=e.head[--t],e.head[t]=m<=n?n-m:0,--r;);for(t=r=m;n=e.prev[--t],e.prev[t]=m<=n?n-m:0,--r;);i+=m}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,d=e.strstart+e.lookahead,p=void 0,(h=i)<(p=c.avail_in)&&(p=h),r=0===p?0:(c.avail_in-=p,o.arraySet(u,c.input,c.next_in,p,d),1===c.state.wrap?c.adler=a(c.adler,u,p,d):2===c.state.wrap&&(c.adler=s(c.adler,u,p,d)),c.next_in+=p,c.total_in+=p,p),e.lookahead+=r,e.lookahead+e.insert>=k)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+k-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<k)););}while(e.lookahead<$&&0!==e.strm.avail_in)}function D(e,t){for(var r,n;;){if(e.lookahead<$){if(F(e),e.lookahead<$&&t===c)return _;if(0===e.lookahead)break}if(r=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-$&&(e.match_length=R(e,r)),e.match_length>=k)if(n=i._tr_tally(e,e.strstart-e.match_start,e.match_length-k),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=k){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=e.strstart<k-1?e.strstart:k-1,t===u?(L(e,!0),0===e.strm.avail_out?A:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:N}function q(e,t){for(var r,n,o;;){if(e.lookahead<$){if(F(e),e.lookahead<$&&t===c)return _;if(0===e.lookahead)break}if(r=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,r=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=k-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-$&&(e.match_length=R(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===k&&4096<e.strstart-e.match_start)&&(e.match_length=k-1)),e.prev_length>=k&&e.match_length<=e.prev_length){for(o=e.strstart+e.lookahead-k,n=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-k),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=k-1,e.strstart++,n&&(L(e,!1),0===e.strm.avail_out))return _}else if(e.match_available){if((n=i._tr_tally(e,0,e.window[e.strstart-1]))&&L(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return _}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=i._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<k-1?e.strstart:k-1,t===u?(L(e,!0),0===e.strm.avail_out?A:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:N}function H(e,t,r,n,o){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=o}function W(){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=g,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 o.Buf16(2*x),this.dyn_dtree=new o.Buf16(2*(2*y+1)),this.bl_tree=new o.Buf16(2*(2*w+1)),M(this.dyn_ltree),M(this.dyn_dtree),M(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(S+1),this.heap=new o.Buf16(2*v+1),M(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*v+1),M(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 Z(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=f,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?j:O,e.adler=2===t.wrap?0:1,t.last_flush=c,i._tr_init(t),d):E(e,h)}function U(e){var t=Z(e);return t===d&&function(e){e.window_size=2*e.w_size,M(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=k-1,e.match_available=0,e.ins_h=0}(e.state),t}function V(e,t,r,n,i,a){if(!e)return h;var s=1;if(t===p&&(t=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),i<1||b<i||r!==g||n<8||15<n||t<0||9<t||a<0||m<a)return E(e,h);8===n&&(n=9);var l=new W;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+k-1)/k),l.window=new o.Buf8(2*l.w_size),l.head=new o.Buf16(l.hash_size),l.prev=new o.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new o.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=r,U(e)}n=[new H(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(F(e),0===e.lookahead&&t===c)return _;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,L(e,!1),0===e.strm.avail_out))return _;if(e.strstart-e.block_start>=e.w_size-$&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=0,t===u?(L(e,!0),0===e.strm.avail_out?A:I):(e.strstart>e.block_start&&(L(e,!1),e.strm.avail_out),_)})),new H(4,4,8,4,D),new H(4,5,16,8,D),new H(4,6,32,32,D),new H(4,4,16,16,q),new H(8,16,32,32,q),new H(8,16,128,128,q),new H(8,32,128,256,q),new H(32,128,258,1024,q),new H(32,258,258,4096,q)],r.deflateInit=function(e,t){return V(e,t,g,15,8,0)},r.deflateInit2=V,r.deflateReset=U,r.deflateResetKeep=Z,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,d):h},r.deflate=function(e,t){var r,o,a,l;if(!e||!e.state||5<t||t<0)return e?E(e,h):h;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||666===o.status&&t!==u)return E(e,0===e.avail_out?-5:h);if(o.strm=e,r=o.last_flush,o.last_flush=t,o.status===j)if(2===o.wrap)e.adler=0,B(o,31),B(o,139),B(o,8),o.gzhead?(B(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),B(o,255&o.gzhead.time),B(o,o.gzhead.time>>8&255),B(o,o.gzhead.time>>16&255),B(o,o.gzhead.time>>24&255),B(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),B(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(B(o,255&o.gzhead.extra.length),B(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=s(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(B(o,0),B(o,0),B(o,0),B(o,0),B(o,0),B(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),B(o,3),o.status=O);else{var p=g+(o.w_bits-8<<4)<<8;p|=(2<=o.strategy||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(p|=32),p+=31-p%31,o.status=O,T(o,p),0!==o.strstart&&(T(o,e.adler>>>16),T(o,65535&e.adler)),e.adler=1}if(69===o.status)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),P(e),a=o.pending,o.pending!==o.pending_buf_size));)B(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),P(e),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,B(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),P(e),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,B(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(e.adler=s(e.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&P(e),o.pending+2<=o.pending_buf_size&&(B(o,255&e.adler),B(o,e.adler>>8&255),e.adler=0,o.status=O)):o.status=O),0!==o.pending){if(P(e),0===e.avail_out)return o.last_flush=-1,d}else if(0===e.avail_in&&z(t)<=z(r)&&t!==u)return E(e,-5);if(666===o.status&&0!==e.avail_in)return E(e,-5);if(0!==e.avail_in||0!==o.lookahead||t!==c&&666!==o.status){var m=2===o.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(F(e),0===e.lookahead)){if(t===c)return _;break}if(e.match_length=0,r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=0,t===u?(L(e,!0),0===e.strm.avail_out?A:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:N}(o,t):3===o.strategy?function(e,t){for(var r,n,o,a,s=e.window;;){if(e.lookahead<=C){if(F(e),e.lookahead<=C&&t===c)return _;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=k&&0<e.strstart&&(n=s[o=e.strstart-1])===s[++o]&&n===s[++o]&&n===s[++o]){a=e.strstart+C;do{}while(n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&o<a);e.match_length=C-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=k?(r=i._tr_tally(e,1,e.match_length-k),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=0,t===u?(L(e,!0),0===e.strm.avail_out?A:I):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:N}(o,t):n[o.level].func(o,t);if(m!==A&&m!==I||(o.status=666),m===_||m===A)return 0===e.avail_out&&(o.last_flush=-1),d;if(m===N&&(1===t?i._tr_align(o):5!==t&&(i._tr_stored_block(o,0,0,!1),3===t&&(M(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),P(e),0===e.avail_out))return o.last_flush=-1,d}return t!==u?d:o.wrap<=0?1:(2===o.wrap?(B(o,255&e.adler),B(o,e.adler>>8&255),B(o,e.adler>>16&255),B(o,e.adler>>24&255),B(o,255&e.total_in),B(o,e.total_in>>8&255),B(o,e.total_in>>16&255),B(o,e.total_in>>24&255)):(T(o,e.adler>>>16),T(o,65535&e.adler)),P(e),0<o.wrap&&(o.wrap=-o.wrap),0!==o.pending?d:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==j&&69!==t&&73!==t&&91!==t&&103!==t&&t!==O&&666!==t?E(e,h):(e.state=null,t===O?E(e,-3):d):h},r.deflateSetDictionary=function(e,t){var r,n,i,s,l,c,u,p,m=t.length;if(!e||!e.state)return h;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==j||r.lookahead)return h;for(1===s&&(e.adler=a(e.adler,t,m,0)),r.wrap=0,m>=r.w_size&&(0===s&&(M(r.head),r.strstart=0,r.block_start=0,r.insert=0),p=new o.Buf8(r.w_size),o.arraySet(p,t,m-r.w_size,r.w_size,0),t=p,m=r.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,F(r);r.lookahead>=k;){for(n=r.strstart,i=r.lookahead-(k-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+k-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--i;);r.strstart=n,r.lookahead=k-1,F(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=k-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,r.wrap=s,d},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){"use strict";t.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(e,t,r){"use strict";t.exports=function(e,t){var r,n,o,i,a,s,l,c,u,d,h,p,m,f,g,b,v,y,w,x,S,k,C,$,j;r=e.state,n=e.next_in,$=e.input,o=n+(e.avail_in-5),i=e.next_out,j=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),l=r.dmax,c=r.wsize,u=r.whave,d=r.wnext,h=r.window,p=r.hold,m=r.bits,f=r.lencode,g=r.distcode,b=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;e:do{m<15&&(p+=$[n++]<<m,m+=8,p+=$[n++]<<m,m+=8),y=f[p&b];t:for(;;){if(p>>>=w=y>>>24,m-=w,0==(w=y>>>16&255))j[i++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=f[(65535&y)+(p&(1<<w)-1)];continue t}if(32&w){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}x=65535&y,(w&=15)&&(m<w&&(p+=$[n++]<<m,m+=8),x+=p&(1<<w)-1,p>>>=w,m-=w),m<15&&(p+=$[n++]<<m,m+=8,p+=$[n++]<<m,m+=8),y=g[p&v];r:for(;;){if(p>>>=w=y>>>24,m-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=g[(65535&y)+(p&(1<<w)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(S=65535&y,m<(w&=15)&&(p+=$[n++]<<m,(m+=8)<w&&(p+=$[n++]<<m,m+=8)),l<(S+=p&(1<<w)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(p>>>=w,m-=w,(w=i-a)<S){if(u<(w=S-w)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(C=h,(k=0)===d){if(k+=c-w,w<x){for(x-=w;j[i++]=h[k++],--w;);k=i-S,C=j}}else if(d<w){if(k+=c+d-w,(w-=d)<x){for(x-=w;j[i++]=h[k++],--w;);if(k=0,d<x){for(x-=w=d;j[i++]=h[k++],--w;);k=i-S,C=j}}}else if(k+=d-w,w<x){for(x-=w;j[i++]=h[k++],--w;);k=i-S,C=j}for(;2<x;)j[i++]=C[k++],j[i++]=C[k++],j[i++]=C[k++],x-=3;x&&(j[i++]=C[k++],1<x&&(j[i++]=C[k++]))}else{for(k=i-S;j[i++]=j[k++],j[i++]=j[k++],j[i++]=j[k++],2<(x-=3););x&&(j[i++]=j[k++],1<x&&(j[i++]=j[k++]))}break}}break}}while(n<o&&i<s);n-=x=m>>3,p&=(1<<(m-=x<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n<o?o-n+5:5-(n-o),e.avail_out=i<s?s-i+257:257-(i-s),r.hold=p,r.bits=m}},{}],49:[function(e,t,r){"use strict";var n=e("../utils/common"),o=e("./adler32"),i=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=1,c=2,u=0,d=-2,h=1,p=852,m=592;function f(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(p),t.distcode=t.distdyn=new n.Buf32(m),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):d}function y(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,v(e))):d}function w(e,t){var r,n;return e?(n=new g,(e.state=n).window=null,(r=y(e,t))!==u&&(e.state=null),r):d}var x,S,k=!0;function C(e){if(k){var t;for(x=new n.Buf32(512),S=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(l,e.lens,0,288,x,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(c,e.lens,0,32,S,0,e.work,{bits:5}),k=!1}e.lencode=x,e.lenbits=9,e.distcode=S,e.distbits=5}function $(e,t,r,o){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),o>=a.wsize?(n.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(o<(i=a.wsize-a.wnext)&&(i=o),n.arraySet(a.window,t,r-o,i,a.wnext),(o-=i)?(n.arraySet(a.window,t,r-o,o,0),a.wnext=o,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}r.inflateReset=v,r.inflateReset2=y,r.inflateResetKeep=b,r.inflateInit=function(e){return w(e,15)},r.inflateInit2=w,r.inflate=function(e,t){var r,p,m,g,b,v,y,w,x,S,k,j,O,_,N,A,I,E,z,M,P,L,B,T,R=0,F=new n.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;12===(r=e.state).mode&&(r.mode=13),b=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,w=r.hold,x=r.bits,S=v,k=y,L=u;e:for(;;)switch(r.mode){case h:if(0===r.wrap){r.mode=13;break}for(;x<16;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(2&r.wrap&&35615===w){F[r.check=0]=255&w,F[1]=w>>>8&255,r.check=i(r.check,F,2,0),x=w=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",r.mode=30;break}if(x-=4,P=8+(15&(w>>>=4)),0===r.wbits)r.wbits=P;else if(P>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<P,e.adler=r.check=1,r.mode=512&w?10:12,x=w=0;break;case 2:for(;x<16;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(r.flags=w,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=w>>8&1),512&r.flags&&(F[0]=255&w,F[1]=w>>>8&255,r.check=i(r.check,F,2,0)),x=w=0,r.mode=3;case 3:for(;x<32;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}r.head&&(r.head.time=w),512&r.flags&&(F[0]=255&w,F[1]=w>>>8&255,F[2]=w>>>16&255,F[3]=w>>>24&255,r.check=i(r.check,F,4,0)),x=w=0,r.mode=4;case 4:for(;x<16;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}r.head&&(r.head.xflags=255&w,r.head.os=w>>8),512&r.flags&&(F[0]=255&w,F[1]=w>>>8&255,r.check=i(r.check,F,2,0)),x=w=0,r.mode=5;case 5:if(1024&r.flags){for(;x<16;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}r.length=w,r.head&&(r.head.extra_len=w),512&r.flags&&(F[0]=255&w,F[1]=w>>>8&255,r.check=i(r.check,F,2,0)),x=w=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(v<(j=r.length)&&(j=v),j&&(r.head&&(P=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,p,g,j,P)),512&r.flags&&(r.check=i(r.check,p,j,g)),v-=j,g+=j,r.length-=j),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===v)break e;for(j=0;P=p[g+j++],r.head&&P&&r.length<65536&&(r.head.name+=String.fromCharCode(P)),P&&j<v;);if(512&r.flags&&(r.check=i(r.check,p,j,g)),v-=j,g+=j,P)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===v)break e;for(j=0;P=p[g+j++],r.head&&P&&r.length<65536&&(r.head.comment+=String.fromCharCode(P)),P&&j<v;);if(512&r.flags&&(r.check=i(r.check,p,j,g)),v-=j,g+=j,P)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;x<16;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(w!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}x=w=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;x<32;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}e.adler=r.check=f(w),x=w=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=b,e.avail_out=y,e.next_in=g,e.avail_in=v,r.hold=w,r.bits=x,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){w>>>=7&x,x-=7&x,r.mode=27;break}for(;x<3;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}switch(r.last=1&w,x-=1,3&(w>>>=1)){case 0:r.mode=14;break;case 1:if(C(r),r.mode=20,6!==t)break;w>>>=2,x-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}w>>>=2,x-=2;break;case 14:for(w>>>=7&x,x-=7&x;x<32;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if((65535&w)!=(w>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&w,x=w=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(j=r.length){if(v<j&&(j=v),y<j&&(j=y),0===j)break e;n.arraySet(m,p,g,j,b),v-=j,g+=j,y-=j,b+=j,r.length-=j;break}r.mode=12;break;case 17:for(;x<14;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(r.nlen=257+(31&w),w>>>=5,x-=5,r.ndist=1+(31&w),w>>>=5,x-=5,r.ncode=4+(15&w),w>>>=4,x-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;x<3;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}r.lens[D[r.have++]]=7&w,w>>>=3,x-=3}for(;r.have<19;)r.lens[D[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,B={bits:r.lenbits},L=s(0,r.lens,0,19,r.lencode,0,r.work,B),r.lenbits=B.bits,L){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;A=(R=r.lencode[w&(1<<r.lenbits)-1])>>>16&255,I=65535&R,!((N=R>>>24)<=x);){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(I<16)w>>>=N,x-=N,r.lens[r.have++]=I;else{if(16===I){for(T=N+2;x<T;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(w>>>=N,x-=N,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}P=r.lens[r.have-1],j=3+(3&w),w>>>=2,x-=2}else if(17===I){for(T=N+3;x<T;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}x-=N,P=0,j=3+(7&(w>>>=N)),w>>>=3,x-=3}else{for(T=N+7;x<T;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}x-=N,P=0,j=11+(127&(w>>>=N)),w>>>=7,x-=7}if(r.have+j>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;j--;)r.lens[r.have++]=P}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,B={bits:r.lenbits},L=s(l,r.lens,0,r.nlen,r.lencode,0,r.work,B),r.lenbits=B.bits,L){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,B={bits:r.distbits},L=s(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,B),r.distbits=B.bits,L){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=v&&258<=y){e.next_out=b,e.avail_out=y,e.next_in=g,e.avail_in=v,r.hold=w,r.bits=x,a(e,k),b=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,w=r.hold,x=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;A=(R=r.lencode[w&(1<<r.lenbits)-1])>>>16&255,I=65535&R,!((N=R>>>24)<=x);){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(A&&0==(240&A)){for(E=N,z=A,M=I;A=(R=r.lencode[M+((w&(1<<E+z)-1)>>E)])>>>16&255,I=65535&R,!(E+(N=R>>>24)<=x);){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}w>>>=E,x-=E,r.back+=E}if(w>>>=N,x-=N,r.back+=N,r.length=I,0===A){r.mode=26;break}if(32&A){r.back=-1,r.mode=12;break}if(64&A){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&A,r.mode=22;case 22:if(r.extra){for(T=r.extra;x<T;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}r.length+=w&(1<<r.extra)-1,w>>>=r.extra,x-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;A=(R=r.distcode[w&(1<<r.distbits)-1])>>>16&255,I=65535&R,!((N=R>>>24)<=x);){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(0==(240&A)){for(E=N,z=A,M=I;A=(R=r.distcode[M+((w&(1<<E+z)-1)>>E)])>>>16&255,I=65535&R,!(E+(N=R>>>24)<=x);){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}w>>>=E,x-=E,r.back+=E}if(w>>>=N,x-=N,r.back+=N,64&A){e.msg="invalid distance code",r.mode=30;break}r.offset=I,r.extra=15&A,r.mode=24;case 24:if(r.extra){for(T=r.extra;x<T;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}r.offset+=w&(1<<r.extra)-1,w>>>=r.extra,x-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===y)break e;if(j=k-y,r.offset>j){if((j=r.offset-j)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}O=j>r.wnext?(j-=r.wnext,r.wsize-j):r.wnext-j,j>r.length&&(j=r.length),_=r.window}else _=m,O=b-r.offset,j=r.length;for(y<j&&(j=y),y-=j,r.length-=j;m[b++]=_[O++],--j;);0===r.length&&(r.mode=21);break;case 26:if(0===y)break e;m[b++]=r.length,y--,r.mode=21;break;case 27:if(r.wrap){for(;x<32;){if(0===v)break e;v--,w|=p[g++]<<x,x+=8}if(k-=y,e.total_out+=k,r.total+=k,k&&(e.adler=r.check=r.flags?i(r.check,m,k,b-k):o(r.check,m,k,b-k)),k=y,(r.flags?w:f(w))!==r.check){e.msg="incorrect data check",r.mode=30;break}x=w=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;x<32;){if(0===v)break e;v--,w+=p[g++]<<x,x+=8}if(w!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}x=w=0}r.mode=29;case 29:L=1;break e;case 30:L=-3;break e;case 31:return-4;default:return d}return e.next_out=b,e.avail_out=y,e.next_in=g,e.avail_in=v,r.hold=w,r.bits=x,(r.wsize||k!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&$(e,e.output,e.next_out,k-e.avail_out)?(r.mode=31,-4):(S-=e.avail_in,k-=e.avail_out,e.total_in+=S,e.total_out+=k,r.total+=k,r.wrap&&k&&(e.adler=r.check=r.flags?i(r.check,m,k,e.next_out-k):o(r.check,m,k,e.next_out-k)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==S&&0===k||4===t)&&L===u&&(L=-5),L)},r.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,u},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?d:((r.head=t).done=!1,u):d},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?d:11===r.mode&&o(1,t,n,0)!==r.check?-3:$(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,u):d},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){"use strict";var n=e("../utils/common"),o=[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],i=[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],a=[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],s=[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];t.exports=function(e,t,r,l,c,u,d,h){var p,m,f,g,b,v,y,w,x,S=h.bits,k=0,C=0,$=0,j=0,O=0,_=0,N=0,A=0,I=0,E=0,z=null,M=0,P=new n.Buf16(16),L=new n.Buf16(16),B=null,T=0;for(k=0;k<=15;k++)P[k]=0;for(C=0;C<l;C++)P[t[r+C]]++;for(O=S,j=15;1<=j&&0===P[j];j--);if(j<O&&(O=j),0===j)return c[u++]=20971520,c[u++]=20971520,h.bits=1,0;for($=1;$<j&&0===P[$];$++);for(O<$&&(O=$),k=A=1;k<=15;k++)if(A<<=1,(A-=P[k])<0)return-1;if(0<A&&(0===e||1!==j))return-1;for(L[1]=0,k=1;k<15;k++)L[k+1]=L[k]+P[k];for(C=0;C<l;C++)0!==t[r+C]&&(d[L[t[r+C]]++]=C);if(v=0===e?(z=B=d,19):1===e?(z=o,M-=257,B=i,T-=257,256):(z=a,B=s,-1),k=$,b=u,N=C=E=0,f=-1,g=(I=1<<(_=O))-1,1===e&&852<I||2===e&&592<I)return 1;for(;;){for(y=k-N,x=d[C]<v?(w=0,d[C]):d[C]>v?(w=B[T+d[C]],z[M+d[C]]):(w=96,0),p=1<<k-N,$=m=1<<_;c[b+(E>>N)+(m-=p)]=y<<24|w<<16|x|0,0!==m;);for(p=1<<k-1;E&p;)p>>=1;if(0!==p?(E&=p-1,E+=p):E=0,C++,0==--P[k]){if(k===j)break;k=t[r+d[C]]}if(O<k&&(E&g)!==f){for(0===N&&(N=O),b+=$,A=1<<(_=k-N);_+N<j&&!((A-=P[_+N])<=0);)_++,A<<=1;if(I+=1<<_,1===e&&852<I||2===e&&592<I)return 1;c[f=E&g]=O<<24|_<<16|b-u|0}}return 0!==E&&(c[b+E]=k-N<<24|64<<16|0),h.bits=O,0}},{"../utils/common":41}],51:[function(e,t,r){"use strict";t.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(e,t,r){"use strict";var n=e("../utils/common"),o=0,i=1;function a(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,l=29,c=256,u=c+1+l,d=30,h=19,p=2*u+1,m=15,f=16,g=7,b=256,v=16,y=17,w=18,x=[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],S=[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],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],$=new Array(2*(u+2));a($);var j=new Array(2*d);a(j);var O=new Array(512);a(O);var _=new Array(256);a(_);var N=new Array(l);a(N);var A,I,E,z=new Array(d);function M(e,t,r,n,o){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=e&&e.length}function P(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function L(e){return e<256?O[e]:O[256+(e>>>7)]}function B(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function T(e,t,r){e.bi_valid>f-r?(e.bi_buf|=t<<e.bi_valid&65535,B(e,e.bi_buf),e.bi_buf=t>>f-e.bi_valid,e.bi_valid+=r-f):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function R(e,t,r){T(e,r[2*t],r[2*t+1])}function F(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function D(e,t,r){var n,o,i=new Array(m+1),a=0;for(n=1;n<=m;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=F(i[s]++,s))}}function q(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function H(e){8<e.bi_valid?B(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function W(e,t,r,n){var o=2*t,i=2*r;return e[o]<e[i]||e[o]===e[i]&&n[t]<=n[r]}function Z(e,t,r){for(var n=e.heap[r],o=r<<1;o<=e.heap_len&&(o<e.heap_len&&W(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!W(t,n,e.heap[o],e.depth));)e.heap[r]=e.heap[o],r=o,o<<=1;e.heap[r]=n}function U(e,t,r){var n,o,i,a,s=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,0===n?R(e,o,t):(R(e,(i=_[o])+c+1,t),0!==(a=x[i])&&T(e,o-=N[i],a),R(e,i=L(--n),r),0!==(a=S[i])&&T(e,n-=z[i],a)),s<e.last_lit;);R(e,b,t)}function V(e,t){var r,n,o,i=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=p,r=0;r<l;r++)0!==i[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):i[2*r+1]=0;for(;e.heap_len<2;)i[2*(o=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=c,r=e.heap_len>>1;1<=r;r--)Z(e,i,r);for(o=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Z(e,i,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,i[2*o]=i[2*r]+i[2*n],e.depth[o]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,i[2*r+1]=i[2*n+1]=o,e.heap[1]=o++,Z(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,o,i,a,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,g=t.stat_desc.max_length,b=0;for(i=0;i<=m;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<p;r++)g<(i=l[2*l[2*(n=e.heap[r])+1]+1]+1)&&(i=g,b++),l[2*n+1]=i,c<n||(e.bl_count[i]++,a=0,f<=n&&(a=h[n-f]),s=l[2*n],e.opt_len+=s*(i+a),d&&(e.static_len+=s*(u[2*n+1]+a)));if(0!==b){do{for(i=g-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[g]--,b-=2}while(0<b);for(i=g;0!==i;i--)for(n=e.bl_count[i];0!==n;)c<(o=e.heap[--r])||(l[2*o+1]!==i&&(e.opt_len+=(i-l[2*o+1])*l[2*o],l[2*o+1]=i),n--)}}(e,t),D(i,c,e.bl_count)}function G(e,t,r){var n,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)o=a,a=t[2*(n+1)+1],++s<l&&o===a||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[2*v]++):s<=10?e.bl_tree[2*y]++:e.bl_tree[2*w]++,i=o,c=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4))}function X(e,t,r){var n,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),n=0;n<=r;n++)if(o=a,a=t[2*(n+1)+1],!(++s<l&&o===a)){if(s<c)for(;R(e,o,e.bl_tree),0!=--s;);else 0!==o?(o!==i&&(R(e,o,e.bl_tree),s--),R(e,v,e.bl_tree),T(e,s-3,2)):s<=10?(R(e,y,e.bl_tree),T(e,s-3,3)):(R(e,w,e.bl_tree),T(e,s-11,7));i=o,c=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4)}}a(z);var Y=!1;function K(e,t,r,o){T(e,(s<<1)+(o?1:0),3),function(e,t,r,o){H(e),o&&(B(e,r),B(e,~r)),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r._tr_init=function(e){Y||(function(){var e,t,r,n,o,i=new Array(m+1);for(n=r=0;n<l-1;n++)for(N[n]=r,e=0;e<1<<x[n];e++)_[r++]=n;for(_[r-1]=n,n=o=0;n<16;n++)for(z[n]=o,e=0;e<1<<S[n];e++)O[o++]=n;for(o>>=7;n<d;n++)for(z[n]=o<<7,e=0;e<1<<S[n]-7;e++)O[256+o++]=n;for(t=0;t<=m;t++)i[t]=0;for(e=0;e<=143;)$[2*e+1]=8,e++,i[8]++;for(;e<=255;)$[2*e+1]=9,e++,i[9]++;for(;e<=279;)$[2*e+1]=7,e++,i[7]++;for(;e<=287;)$[2*e+1]=8,e++,i[8]++;for(D($,u+1,i),e=0;e<d;e++)j[2*e+1]=5,j[2*e]=F(e,5);A=new M($,x,c+1,u,m),I=new M(j,S,0,d,m),E=new M(new Array(0),k,0,h,g)}(),Y=!0),e.l_desc=new P(e.dyn_ltree,A),e.d_desc=new P(e.dyn_dtree,I),e.bl_desc=new P(e.bl_tree,E),e.bi_buf=0,e.bi_valid=0,q(e)},r._tr_stored_block=K,r._tr_flush_block=function(e,t,r,n){var a,s,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return i;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return i;return o}(e)),V(e,e.l_desc),V(e,e.d_desc),l=function(e){var t;for(G(e,e.dyn_ltree,e.l_desc.max_code),G(e,e.dyn_dtree,e.d_desc.max_code),V(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=a&&(a=s)):a=s=r+5,r+4<=a&&-1!==t?K(e,t,r,n):4===e.strategy||s===a?(T(e,2+(n?1:0),3),U(e,$,j)):(T(e,4+(n?1:0),3),function(e,t,r,n){var o;for(T(e,t-257,5),T(e,r-1,5),T(e,n-4,4),o=0;o<n;o++)T(e,e.bl_tree[2*C[o]+1],3);X(e,e.dyn_ltree,t-1),X(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),U(e,e.dyn_ltree,e.dyn_dtree)),q(e),n&&H(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(_[r]+c+1)]++,e.dyn_dtree[2*L(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){T(e,2,3),R(e,b,$),function(e){16===e.bi_valid?(B(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.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(e,t,n){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var r,n,i,a,s=1,l={},c=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,r="[object process]"==={}.toString.call(e.process)?function(e){o.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",m,!1):e.attachEvent("onmessage",m),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){i.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):function(e){setTimeout(p,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return l[s]=o,r(s),s++},d.clearImmediate=h}function h(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var r=l[e];if(r){c=!0;try{!function(e){var r=e.callback,n=e.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(t,n)}}(r)}finally{h(e),c=!1}}}}function m(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==r.g?r.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},15342:function(e){var t;"undefined"!=typeof self&&self,t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,r){},function(e,t,r){"use strict";r.r(t),r(0);var n=function(){function e(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}return e.range=function(t,r){return r?t&&t.loc&&r.loc&&t.loc.lexer===r.loc.lexer?new e(t.loc.lexer,t.loc.start,r.loc.end):null:t&&t.loc},e}(),o=function(){function e(e,t){this.text=void 0,this.loc=void 0,this.text=e,this.loc=t}return e.prototype.range=function(t,r){return new e(r,n.range(this,t))},e}(),i=function e(t,r){this.position=void 0;var n,o="KaTeX parse error: "+t,i=r&&r.loc;if(i&&i.start<=i.end){var a=i.lexer.input;n=i.start;var s=i.end;n===a.length?o+=" at end of input: ":o+=" at position "+(n+1)+": ";var l=a.slice(n,s).replace(/[^]/g,"$&̲");o+=(n>15?"…"+a.slice(n-15,n):a.slice(0,n))+l+(s+15<a.length?a.slice(s,s+15)+"…":a.slice(s))}var c=new Error(o);return c.name="ParseError",c.__proto__=e.prototype,c.position=n,c};i.prototype.__proto__=Error.prototype;var a=i,s=/([A-Z])/g,l={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},c=/[&><"']/g,u=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},d={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(c,(function(e){return l[e]}))},hyphenate:function(e){return e.replace(s,"-$1").toLowerCase()},getBaseElem:u,isCharacterBox:function(e){var t=u(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},h=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=d.deflt(e.displayMode,!1),this.output=d.deflt(e.output,"htmlAndMathml"),this.leqno=d.deflt(e.leqno,!1),this.fleqn=d.deflt(e.fleqn,!1),this.throwOnError=d.deflt(e.throwOnError,!0),this.errorColor=d.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,d.deflt(e.minRuleThickness,0)),this.colorIsTextColor=d.deflt(e.colorIsTextColor,!1),this.strict=d.deflt(e.strict,"warn"),this.trust=d.deflt(e.trust,!1),this.maxSize=Math.max(0,d.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,d.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,r){var n=this.strict;if("function"==typeof n&&(n=n(e,t,r)),n&&"ignore"!==n){if(!0===n||"error"===n)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===n?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}return!(!n||"ignore"===n||!0!==n&&"error"!==n&&("warn"===n?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]"),1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=d.protocolFromUrl(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),p=function(){function e(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}var t=e.prototype;return t.sup=function(){return m[f[this.id]]},t.sub=function(){return m[g[this.id]]},t.fracNum=function(){return m[b[this.id]]},t.fracDen=function(){return m[v[this.id]]},t.cramp=function(){return m[y[this.id]]},t.text=function(){return m[w[this.id]]},t.isTight=function(){return this.size>=2},e}(),m=[new p(0,0,!1),new p(1,0,!0),new p(2,1,!1),new p(3,1,!0),new p(4,2,!1),new p(5,2,!0),new p(6,3,!1),new p(7,3,!0)],f=[4,5,4,5,6,7,6,7],g=[5,5,5,5,7,7,7,7],b=[2,3,4,5,6,7,6,7],v=[3,3,5,5,7,7,7,7],y=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],x={DISPLAY:m[0],TEXT:m[2],SCRIPT:m[4],SCRIPTSCRIPT:m[6]},S=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],k=[];function C(e){for(var t=0;t<k.length;t+=2)if(e>=k[t]&&e<=k[t+1])return!0;return!1}S.forEach((function(e){return e.blocks.forEach((function(e){return k.push.apply(k,e)}))}));var $=80,j={doubleleftarrow:"M262 157\nl10-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\n 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\n 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\nc2 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\n 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\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-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\n 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\n-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\n-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\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-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\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 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\n-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\nc-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\n 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\n 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\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 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\n 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\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 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\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-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\n-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\n-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\n 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\n-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\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 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\n-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\n 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\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-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\n-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\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.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\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-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\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 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\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.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\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 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\n-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\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.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\n60.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\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 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\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.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\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 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\n-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\n 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\n 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\n-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\n-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\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-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\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.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\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-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\n 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\n 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\n-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\n-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\n 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\n-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\n 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\nm0 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\n 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\n-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\n-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\n 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\n 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\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-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\n 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\n-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\n 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\nM399960 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\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-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\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 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\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 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\nc-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\n 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\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-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\n 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\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-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\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 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\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -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\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-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\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-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\n-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\n-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\n-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,\n-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,\n-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,\n-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,\n-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\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-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\ns-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\n121.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\ns2.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\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-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\n13.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\n-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\n-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\n-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\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,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\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM0 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\nc1.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,\n1c0,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,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 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\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},O=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},t.toMarkup=function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e},t.toText=function(){var e=function(e){return e.toText()};return this.children.map(e).join("")},e}(),_=function(e){return e.filter((function(e){return e})).join(" ")},N=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},A=function(e){var t=document.createElement(e);for(var r in t.className=_(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var o=0;o<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},I=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+d.escape(_(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=d.hyphenate(n)+":"+this.style[n]+";");for(var o in r&&(t+=' style="'+d.escape(r)+'"'),this.attributes)this.attributes.hasOwnProperty(o)&&(t+=" "+o+'="'+d.escape(this.attributes[o])+'"');t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"},E=function(){function e(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,N.call(this,e,r,n),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){return A.call(this,"span")},t.toMarkup=function(){return I.call(this,"span")},e}(),z=function(){function e(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,N.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){return A.call(this,"a")},t.toMarkup=function(){return I.call(this,"a")},e}(),M=function(){function e(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}var t=e.prototype;return t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=d.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+d.escape(t)+'"'),e+="'/>"},e}(),P={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"},L=function(){function e(e,t,r,n,o,i,a,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=o||0,this.width=i||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<S.length;t++)for(var r=S[t],n=0;n<r.blocks.length;n++){var o=r.blocks[n];if(e>=o[0]&&e<=o[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=P[this.text])}var t=e.prototype;return t.hasClass=function(e){return d.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((t=t||document.createElement("span")).className=_(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=d.escape(_(this.classes)),t+='"');var r="";for(var n in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=d.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+d.escape(r)+'"');var o=d.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o},e}(),B=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e},t.toMarkup=function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"},e}(),T=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",j[this.pathName]),e},t.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+j[this.pathName]+"'/>"},e}(),R=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e},t.toMarkup=function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>"},e}();function F(e){if(e instanceof L)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var D={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},q={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},H={"Å":"A","Ç":"C","Ð":"D","Þ":"o","å":"a","ç":"c","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function W(e,t,r){if(!D[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),o=D[t][n];if(!o&&e[0]in H&&(n=H[e[0]].charCodeAt(0),o=D[t][n]),o||"text"!==r||C(n)&&(o=D[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var Z={},U={bin:1,close:1,inner:1,open:1,punct:1,rel:1},V={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},G={math:{},text:{}},X=G;function Y(e,t,r,n,o,i){G[e][o]={font:t,group:r,replace:n},i&&n&&(G[e][n]=G[e][o])}var K="math",J="text",Q="main",ee="ams",te="accent-token",re="bin",ne="close",oe="inner",ie="mathord",ae="op-token",se="open",le="punct",ce="rel",ue="spacing",de="textord";Y(K,Q,ce,"≡","\\equiv",!0),Y(K,Q,ce,"≺","\\prec",!0),Y(K,Q,ce,"≻","\\succ",!0),Y(K,Q,ce,"","\\sim",!0),Y(K,Q,ce,"⊥","\\perp"),Y(K,Q,ce,"⪯","\\preceq",!0),Y(K,Q,ce,"⪰","\\succeq",!0),Y(K,Q,ce,"≃","\\simeq",!0),Y(K,Q,ce,"","\\mid",!0),Y(K,Q,ce,"≪","\\ll",!0),Y(K,Q,ce,"≫","\\gg",!0),Y(K,Q,ce,"≍","\\asymp",!0),Y(K,Q,ce,"∥","\\parallel"),Y(K,Q,ce,"⋈","\\bowtie",!0),Y(K,Q,ce,"⌣","\\smile",!0),Y(K,Q,ce,"⊑","\\sqsubseteq",!0),Y(K,Q,ce,"⊒","\\sqsupseteq",!0),Y(K,Q,ce,"≐","\\doteq",!0),Y(K,Q,ce,"⌢","\\frown",!0),Y(K,Q,ce,"∋","\\ni",!0),Y(K,Q,ce,"∝","\\propto",!0),Y(K,Q,ce,"⊢","\\vdash",!0),Y(K,Q,ce,"⊣","\\dashv",!0),Y(K,Q,ce,"∋","\\owns"),Y(K,Q,le,".","\\ldotp"),Y(K,Q,le,"⋅","\\cdotp"),Y(K,Q,de,"#","\\#"),Y(J,Q,de,"#","\\#"),Y(K,Q,de,"&","\\&"),Y(J,Q,de,"&","\\&"),Y(K,Q,de,"ℵ","\\aleph",!0),Y(K,Q,de,"∀","\\forall",!0),Y(K,Q,de,"ℏ","\\hbar",!0),Y(K,Q,de,"∃","\\exists",!0),Y(K,Q,de,"∇","\\nabla",!0),Y(K,Q,de,"♭","\\flat",!0),Y(K,Q,de,"","\\ell",!0),Y(K,Q,de,"♮","\\natural",!0),Y(K,Q,de,"♣","\\clubsuit",!0),Y(K,Q,de,"℘","\\wp",!0),Y(K,Q,de,"♯","\\sharp",!0),Y(K,Q,de,"♢","\\diamondsuit",!0),Y(K,Q,de,"","\\Re",!0),Y(K,Q,de,"♡","\\heartsuit",!0),Y(K,Q,de,"","\\Im",!0),Y(K,Q,de,"♠","\\spadesuit",!0),Y(J,Q,de,"§","\\S",!0),Y(J,Q,de,"¶","\\P",!0),Y(K,Q,de,"†","\\dag"),Y(J,Q,de,"†","\\dag"),Y(J,Q,de,"†","\\textdagger"),Y(K,Q,de,"‡","\\ddag"),Y(J,Q,de,"‡","\\ddag"),Y(J,Q,de,"‡","\\textdaggerdbl"),Y(K,Q,ne,"⎱","\\rmoustache",!0),Y(K,Q,se,"⎰","\\lmoustache",!0),Y(K,Q,ne,"⟯","\\rgroup",!0),Y(K,Q,se,"⟮","\\lgroup",!0),Y(K,Q,re,"∓","\\mp",!0),Y(K,Q,re,"⊖","\\ominus",!0),Y(K,Q,re,"⊎","\\uplus",!0),Y(K,Q,re,"⊓","\\sqcap",!0),Y(K,Q,re,"","\\ast"),Y(K,Q,re,"⊔","\\sqcup",!0),Y(K,Q,re,"◯","\\bigcirc"),Y(K,Q,re,"∙","\\bullet"),Y(K,Q,re,"‡","\\ddagger"),Y(K,Q,re,"≀","\\wr",!0),Y(K,Q,re,"⨿","\\amalg"),Y(K,Q,re,"&","\\And"),Y(K,Q,ce,"⟵","\\longleftarrow",!0),Y(K,Q,ce,"⇐","\\Leftarrow",!0),Y(K,Q,ce,"⟸","\\Longleftarrow",!0),Y(K,Q,ce,"⟶","\\longrightarrow",!0),Y(K,Q,ce,"⇒","\\Rightarrow",!0),Y(K,Q,ce,"⟹","\\Longrightarrow",!0),Y(K,Q,ce,"↔","\\leftrightarrow",!0),Y(K,Q,ce,"⟷","\\longleftrightarrow",!0),Y(K,Q,ce,"⇔","\\Leftrightarrow",!0),Y(K,Q,ce,"⟺","\\Longleftrightarrow",!0),Y(K,Q,ce,"↦","\\mapsto",!0),Y(K,Q,ce,"⟼","\\longmapsto",!0),Y(K,Q,ce,"↗","\\nearrow",!0),Y(K,Q,ce,"↩","\\hookleftarrow",!0),Y(K,Q,ce,"↪","\\hookrightarrow",!0),Y(K,Q,ce,"↘","\\searrow",!0),Y(K,Q,ce,"↼","\\leftharpoonup",!0),Y(K,Q,ce,"⇀","\\rightharpoonup",!0),Y(K,Q,ce,"↙","\\swarrow",!0),Y(K,Q,ce,"↽","\\leftharpoondown",!0),Y(K,Q,ce,"⇁","\\rightharpoondown",!0),Y(K,Q,ce,"↖","\\nwarrow",!0),Y(K,Q,ce,"⇌","\\rightleftharpoons",!0),Y(K,ee,ce,"≮","\\nless",!0),Y(K,ee,ce,"","\\@nleqslant"),Y(K,ee,ce,"","\\@nleqq"),Y(K,ee,ce,"⪇","\\lneq",!0),Y(K,ee,ce,"≨","\\lneqq",!0),Y(K,ee,ce,"","\\@lvertneqq"),Y(K,ee,ce,"⋦","\\lnsim",!0),Y(K,ee,ce,"⪉","\\lnapprox",!0),Y(K,ee,ce,"⊀","\\nprec",!0),Y(K,ee,ce,"⋠","\\npreceq",!0),Y(K,ee,ce,"⋨","\\precnsim",!0),Y(K,ee,ce,"⪹","\\precnapprox",!0),Y(K,ee,ce,"≁","\\nsim",!0),Y(K,ee,ce,"","\\@nshortmid"),Y(K,ee,ce,"∤","\\nmid",!0),Y(K,ee,ce,"⊬","\\nvdash",!0),Y(K,ee,ce,"⊭","\\nvDash",!0),Y(K,ee,ce,"⋪","\\ntriangleleft"),Y(K,ee,ce,"⋬","\\ntrianglelefteq",!0),Y(K,ee,ce,"⊊","\\subsetneq",!0),Y(K,ee,ce,"","\\@varsubsetneq"),Y(K,ee,ce,"⫋","\\subsetneqq",!0),Y(K,ee,ce,"","\\@varsubsetneqq"),Y(K,ee,ce,"≯","\\ngtr",!0),Y(K,ee,ce,"","\\@ngeqslant"),Y(K,ee,ce,"","\\@ngeqq"),Y(K,ee,ce,"⪈","\\gneq",!0),Y(K,ee,ce,"≩","\\gneqq",!0),Y(K,ee,ce,"","\\@gvertneqq"),Y(K,ee,ce,"⋧","\\gnsim",!0),Y(K,ee,ce,"⪊","\\gnapprox",!0),Y(K,ee,ce,"⊁","\\nsucc",!0),Y(K,ee,ce,"⋡","\\nsucceq",!0),Y(K,ee,ce,"⋩","\\succnsim",!0),Y(K,ee,ce,"⪺","\\succnapprox",!0),Y(K,ee,ce,"≆","\\ncong",!0),Y(K,ee,ce,"","\\@nshortparallel"),Y(K,ee,ce,"∦","\\nparallel",!0),Y(K,ee,ce,"⊯","\\nVDash",!0),Y(K,ee,ce,"⋫","\\ntriangleright"),Y(K,ee,ce,"⋭","\\ntrianglerighteq",!0),Y(K,ee,ce,"","\\@nsupseteqq"),Y(K,ee,ce,"⊋","\\supsetneq",!0),Y(K,ee,ce,"","\\@varsupsetneq"),Y(K,ee,ce,"⫌","\\supsetneqq",!0),Y(K,ee,ce,"","\\@varsupsetneqq"),Y(K,ee,ce,"⊮","\\nVdash",!0),Y(K,ee,ce,"⪵","\\precneqq",!0),Y(K,ee,ce,"⪶","\\succneqq",!0),Y(K,ee,ce,"","\\@nsubseteqq"),Y(K,ee,re,"⊴","\\unlhd"),Y(K,ee,re,"⊵","\\unrhd"),Y(K,ee,ce,"↚","\\nleftarrow",!0),Y(K,ee,ce,"↛","\\nrightarrow",!0),Y(K,ee,ce,"⇍","\\nLeftarrow",!0),Y(K,ee,ce,"⇏","\\nRightarrow",!0),Y(K,ee,ce,"↮","\\nleftrightarrow",!0),Y(K,ee,ce,"⇎","\\nLeftrightarrow",!0),Y(K,ee,ce,"△","\\vartriangle"),Y(K,ee,de,"ℏ","\\hslash"),Y(K,ee,de,"▽","\\triangledown"),Y(K,ee,de,"◊","\\lozenge"),Y(K,ee,de,"Ⓢ","\\circledS"),Y(K,ee,de,"®","\\circledR"),Y(J,ee,de,"®","\\circledR"),Y(K,ee,de,"∡","\\measuredangle",!0),Y(K,ee,de,"∄","\\nexists"),Y(K,ee,de,"℧","\\mho"),Y(K,ee,de,"Ⅎ","\\Finv",!0),Y(K,ee,de,"⅁","\\Game",!0),Y(K,ee,de,"","\\backprime"),Y(K,ee,de,"▲","\\blacktriangle"),Y(K,ee,de,"▼","\\blacktriangledown"),Y(K,ee,de,"■","\\blacksquare"),Y(K,ee,de,"⧫","\\blacklozenge"),Y(K,ee,de,"★","\\bigstar"),Y(K,ee,de,"∢","\\sphericalangle",!0),Y(K,ee,de,"∁","\\complement",!0),Y(K,ee,de,"ð","\\eth",!0),Y(K,ee,de,"","\\diagup"),Y(K,ee,de,"╲","\\diagdown"),Y(K,ee,de,"□","\\square"),Y(K,ee,de,"□","\\Box"),Y(K,ee,de,"◊","\\Diamond"),Y(K,ee,de,"¥","\\yen",!0),Y(J,ee,de,"¥","\\yen",!0),Y(K,ee,de,"✓","\\checkmark",!0),Y(J,ee,de,"✓","\\checkmark"),Y(K,ee,de,"ℶ","\\beth",!0),Y(K,ee,de,"ℸ","\\daleth",!0),Y(K,ee,de,"ℷ","\\gimel",!0),Y(K,ee,de,"ϝ","\\digamma",!0),Y(K,ee,de,"ϰ","\\varkappa"),Y(K,ee,se,"┌","\\ulcorner",!0),Y(K,ee,ne,"┐","\\urcorner",!0),Y(K,ee,se,"└","\\llcorner",!0),Y(K,ee,ne,"┘","\\lrcorner",!0),Y(K,ee,ce,"≦","\\leqq",!0),Y(K,ee,ce,"⩽","\\leqslant",!0),Y(K,ee,ce,"⪕","\\eqslantless",!0),Y(K,ee,ce,"≲","\\lesssim",!0),Y(K,ee,ce,"⪅","\\lessapprox",!0),Y(K,ee,ce,"≊","\\approxeq",!0),Y(K,ee,re,"⋖","\\lessdot"),Y(K,ee,ce,"⋘","\\lll",!0),Y(K,ee,ce,"≶","\\lessgtr",!0),Y(K,ee,ce,"⋚","\\lesseqgtr",!0),Y(K,ee,ce,"⪋","\\lesseqqgtr",!0),Y(K,ee,ce,"≑","\\doteqdot"),Y(K,ee,ce,"≓","\\risingdotseq",!0),Y(K,ee,ce,"≒","\\fallingdotseq",!0),Y(K,ee,ce,"∽","\\backsim",!0),Y(K,ee,ce,"⋍","\\backsimeq",!0),Y(K,ee,ce,"⫅","\\subseteqq",!0),Y(K,ee,ce,"⋐","\\Subset",!0),Y(K,ee,ce,"⊏","\\sqsubset",!0),Y(K,ee,ce,"≼","\\preccurlyeq",!0),Y(K,ee,ce,"⋞","\\curlyeqprec",!0),Y(K,ee,ce,"≾","\\precsim",!0),Y(K,ee,ce,"⪷","\\precapprox",!0),Y(K,ee,ce,"⊲","\\vartriangleleft"),Y(K,ee,ce,"⊴","\\trianglelefteq"),Y(K,ee,ce,"⊨","\\vDash",!0),Y(K,ee,ce,"⊪","\\Vvdash",!0),Y(K,ee,ce,"⌣","\\smallsmile"),Y(K,ee,ce,"⌢","\\smallfrown"),Y(K,ee,ce,"≏","\\bumpeq",!0),Y(K,ee,ce,"≎","\\Bumpeq",!0),Y(K,ee,ce,"≧","\\geqq",!0),Y(K,ee,ce,"⩾","\\geqslant",!0),Y(K,ee,ce,"⪖","\\eqslantgtr",!0),Y(K,ee,ce,"≳","\\gtrsim",!0),Y(K,ee,ce,"⪆","\\gtrapprox",!0),Y(K,ee,re,"⋗","\\gtrdot"),Y(K,ee,ce,"⋙","\\ggg",!0),Y(K,ee,ce,"≷","\\gtrless",!0),Y(K,ee,ce,"⋛","\\gtreqless",!0),Y(K,ee,ce,"⪌","\\gtreqqless",!0),Y(K,ee,ce,"≖","\\eqcirc",!0),Y(K,ee,ce,"≗","\\circeq",!0),Y(K,ee,ce,"≜","\\triangleq",!0),Y(K,ee,ce,"","\\thicksim"),Y(K,ee,ce,"≈","\\thickapprox"),Y(K,ee,ce,"⫆","\\supseteqq",!0),Y(K,ee,ce,"⋑","\\Supset",!0),Y(K,ee,ce,"⊐","\\sqsupset",!0),Y(K,ee,ce,"≽","\\succcurlyeq",!0),Y(K,ee,ce,"⋟","\\curlyeqsucc",!0),Y(K,ee,ce,"≿","\\succsim",!0),Y(K,ee,ce,"⪸","\\succapprox",!0),Y(K,ee,ce,"⊳","\\vartriangleright"),Y(K,ee,ce,"⊵","\\trianglerighteq"),Y(K,ee,ce,"⊩","\\Vdash",!0),Y(K,ee,ce,"","\\shortmid"),Y(K,ee,ce,"∥","\\shortparallel"),Y(K,ee,ce,"≬","\\between",!0),Y(K,ee,ce,"⋔","\\pitchfork",!0),Y(K,ee,ce,"∝","\\varpropto"),Y(K,ee,ce,"◀","\\blacktriangleleft"),Y(K,ee,ce,"∴","\\therefore",!0),Y(K,ee,ce,"∍","\\backepsilon"),Y(K,ee,ce,"▶","\\blacktriangleright"),Y(K,ee,ce,"∵","\\because",!0),Y(K,ee,ce,"⋘","\\llless"),Y(K,ee,ce,"⋙","\\gggtr"),Y(K,ee,re,"⊲","\\lhd"),Y(K,ee,re,"⊳","\\rhd"),Y(K,ee,ce,"≂","\\eqsim",!0),Y(K,Q,ce,"⋈","\\Join"),Y(K,ee,ce,"≑","\\Doteq",!0),Y(K,ee,re,"∔","\\dotplus",!0),Y(K,ee,re,"","\\smallsetminus"),Y(K,ee,re,"⋒","\\Cap",!0),Y(K,ee,re,"⋓","\\Cup",!0),Y(K,ee,re,"⩞","\\doublebarwedge",!0),Y(K,ee,re,"⊟","\\boxminus",!0),Y(K,ee,re,"⊞","\\boxplus",!0),Y(K,ee,re,"⋇","\\divideontimes",!0),Y(K,ee,re,"⋉","\\ltimes",!0),Y(K,ee,re,"⋊","\\rtimes",!0),Y(K,ee,re,"⋋","\\leftthreetimes",!0),Y(K,ee,re,"⋌","\\rightthreetimes",!0),Y(K,ee,re,"⋏","\\curlywedge",!0),Y(K,ee,re,"⋎","\\curlyvee",!0),Y(K,ee,re,"⊝","\\circleddash",!0),Y(K,ee,re,"⊛","\\circledast",!0),Y(K,ee,re,"⋅","\\centerdot"),Y(K,ee,re,"⊺","\\intercal",!0),Y(K,ee,re,"⋒","\\doublecap"),Y(K,ee,re,"⋓","\\doublecup"),Y(K,ee,re,"⊠","\\boxtimes",!0),Y(K,ee,ce,"⇢","\\dashrightarrow",!0),Y(K,ee,ce,"⇠","\\dashleftarrow",!0),Y(K,ee,ce,"⇇","\\leftleftarrows",!0),Y(K,ee,ce,"⇆","\\leftrightarrows",!0),Y(K,ee,ce,"⇚","\\Lleftarrow",!0),Y(K,ee,ce,"↞","\\twoheadleftarrow",!0),Y(K,ee,ce,"↢","\\leftarrowtail",!0),Y(K,ee,ce,"↫","\\looparrowleft",!0),Y(K,ee,ce,"⇋","\\leftrightharpoons",!0),Y(K,ee,ce,"↶","\\curvearrowleft",!0),Y(K,ee,ce,"↺","\\circlearrowleft",!0),Y(K,ee,ce,"↰","\\Lsh",!0),Y(K,ee,ce,"⇈","\\upuparrows",!0),Y(K,ee,ce,"↿","\\upharpoonleft",!0),Y(K,ee,ce,"⇃","\\downharpoonleft",!0),Y(K,ee,ce,"⊸","\\multimap",!0),Y(K,ee,ce,"↭","\\leftrightsquigarrow",!0),Y(K,ee,ce,"⇉","\\rightrightarrows",!0),Y(K,ee,ce,"⇄","\\rightleftarrows",!0),Y(K,ee,ce,"↠","\\twoheadrightarrow",!0),Y(K,ee,ce,"↣","\\rightarrowtail",!0),Y(K,ee,ce,"↬","\\looparrowright",!0),Y(K,ee,ce,"↷","\\curvearrowright",!0),Y(K,ee,ce,"↻","\\circlearrowright",!0),Y(K,ee,ce,"↱","\\Rsh",!0),Y(K,ee,ce,"⇊","\\downdownarrows",!0),Y(K,ee,ce,"↾","\\upharpoonright",!0),Y(K,ee,ce,"⇂","\\downharpoonright",!0),Y(K,ee,ce,"⇝","\\rightsquigarrow",!0),Y(K,ee,ce,"⇝","\\leadsto"),Y(K,ee,ce,"⇛","\\Rrightarrow",!0),Y(K,ee,ce,"↾","\\restriction"),Y(K,Q,de,"","`"),Y(K,Q,de,"$","\\$"),Y(J,Q,de,"$","\\$"),Y(J,Q,de,"$","\\textdollar"),Y(K,Q,de,"%","\\%"),Y(J,Q,de,"%","\\%"),Y(K,Q,de,"_","\\_"),Y(J,Q,de,"_","\\_"),Y(J,Q,de,"_","\\textunderscore"),Y(K,Q,de,"∠","\\angle",!0),Y(K,Q,de,"∞","\\infty",!0),Y(K,Q,de,"","\\prime"),Y(K,Q,de,"△","\\triangle"),Y(K,Q,de,"Γ","\\Gamma",!0),Y(K,Q,de,"Δ","\\Delta",!0),Y(K,Q,de,"Θ","\\Theta",!0),Y(K,Q,de,"Λ","\\Lambda",!0),Y(K,Q,de,"Ξ","\\Xi",!0),Y(K,Q,de,"Π","\\Pi",!0),Y(K,Q,de,"Σ","\\Sigma",!0),Y(K,Q,de,"Υ","\\Upsilon",!0),Y(K,Q,de,"Φ","\\Phi",!0),Y(K,Q,de,"Ψ","\\Psi",!0),Y(K,Q,de,"Ω","\\Omega",!0),Y(K,Q,de,"A","Α"),Y(K,Q,de,"B","Β"),Y(K,Q,de,"E","Ε"),Y(K,Q,de,"Z","Ζ"),Y(K,Q,de,"H","Η"),Y(K,Q,de,"I","Ι"),Y(K,Q,de,"K","Κ"),Y(K,Q,de,"M","Μ"),Y(K,Q,de,"N","Ν"),Y(K,Q,de,"O","Ο"),Y(K,Q,de,"P","Ρ"),Y(K,Q,de,"T","Τ"),Y(K,Q,de,"X","Χ"),Y(K,Q,de,"¬","\\neg",!0),Y(K,Q,de,"¬","\\lnot"),Y(K,Q,de,"","\\top"),Y(K,Q,de,"⊥","\\bot"),Y(K,Q,de,"∅","\\emptyset"),Y(K,ee,de,"∅","\\varnothing"),Y(K,Q,ie,"α","\\alpha",!0),Y(K,Q,ie,"β","\\beta",!0),Y(K,Q,ie,"γ","\\gamma",!0),Y(K,Q,ie,"δ","\\delta",!0),Y(K,Q,ie,"ϵ","\\epsilon",!0),Y(K,Q,ie,"ζ","\\zeta",!0),Y(K,Q,ie,"η","\\eta",!0),Y(K,Q,ie,"θ","\\theta",!0),Y(K,Q,ie,"ι","\\iota",!0),Y(K,Q,ie,"κ","\\kappa",!0),Y(K,Q,ie,"λ","\\lambda",!0),Y(K,Q,ie,"μ","\\mu",!0),Y(K,Q,ie,"ν","\\nu",!0),Y(K,Q,ie,"ξ","\\xi",!0),Y(K,Q,ie,"ο","\\omicron",!0),Y(K,Q,ie,"π","\\pi",!0),Y(K,Q,ie,"ρ","\\rho",!0),Y(K,Q,ie,"σ","\\sigma",!0),Y(K,Q,ie,"τ","\\tau",!0),Y(K,Q,ie,"υ","\\upsilon",!0),Y(K,Q,ie,"ϕ","\\phi",!0),Y(K,Q,ie,"χ","\\chi",!0),Y(K,Q,ie,"ψ","\\psi",!0),Y(K,Q,ie,"ω","\\omega",!0),Y(K,Q,ie,"ε","\\varepsilon",!0),Y(K,Q,ie,"ϑ","\\vartheta",!0),Y(K,Q,ie,"ϖ","\\varpi",!0),Y(K,Q,ie,"ϱ","\\varrho",!0),Y(K,Q,ie,"ς","\\varsigma",!0),Y(K,Q,ie,"φ","\\varphi",!0),Y(K,Q,re,"","*"),Y(K,Q,re,"+","+"),Y(K,Q,re,"","-"),Y(K,Q,re,"⋅","\\cdot",!0),Y(K,Q,re,"∘","\\circ"),Y(K,Q,re,"÷","\\div",!0),Y(K,Q,re,"±","\\pm",!0),Y(K,Q,re,"×","\\times",!0),Y(K,Q,re,"∩","\\cap",!0),Y(K,Q,re,"","\\cup",!0),Y(K,Q,re,"","\\setminus"),Y(K,Q,re,"∧","\\land"),Y(K,Q,re,"","\\lor"),Y(K,Q,re,"∧","\\wedge",!0),Y(K,Q,re,"","\\vee",!0),Y(K,Q,de,"√","\\surd"),Y(K,Q,se,"(","("),Y(K,Q,se,"[","["),Y(K,Q,se,"⟨","\\langle",!0),Y(K,Q,se,"","\\lvert"),Y(K,Q,se,"∥","\\lVert"),Y(K,Q,ne,")",")"),Y(K,Q,ne,"]","]"),Y(K,Q,ne,"?","?"),Y(K,Q,ne,"!","!"),Y(K,Q,ne,"⟩","\\rangle",!0),Y(K,Q,ne,"","\\rvert"),Y(K,Q,ne,"∥","\\rVert"),Y(K,Q,ce,"=","="),Y(K,Q,ce,"<","<"),Y(K,Q,ce,">",">"),Y(K,Q,ce,":",":"),Y(K,Q,ce,"≈","\\approx",!0),Y(K,Q,ce,"≅","\\cong",!0),Y(K,Q,ce,"≥","\\ge"),Y(K,Q,ce,"≥","\\geq",!0),Y(K,Q,ce,"←","\\gets"),Y(K,Q,ce,">","\\gt"),Y(K,Q,ce,"∈","\\in",!0),Y(K,Q,ce,"","\\@not"),Y(K,Q,ce,"⊂","\\subset",!0),Y(K,Q,ce,"⊃","\\supset",!0),Y(K,Q,ce,"⊆","\\subseteq",!0),Y(K,Q,ce,"⊇","\\supseteq",!0),Y(K,ee,ce,"⊈","\\nsubseteq",!0),Y(K,ee,ce,"⊉","\\nsupseteq",!0),Y(K,Q,ce,"⊨","\\models"),Y(K,Q,ce,"←","\\leftarrow",!0),Y(K,Q,ce,"≤","\\le"),Y(K,Q,ce,"≤","\\leq",!0),Y(K,Q,ce,"<","\\lt"),Y(K,Q,ce,"→","\\rightarrow",!0),Y(K,Q,ce,"→","\\to"),Y(K,ee,ce,"≱","\\ngeq",!0),Y(K,ee,ce,"≰","\\nleq",!0),Y(K,Q,ue," ","\\ "),Y(K,Q,ue," ","~"),Y(K,Q,ue," ","\\space"),Y(K,Q,ue," ","\\nobreakspace"),Y(J,Q,ue," ","\\ "),Y(J,Q,ue," ","~"),Y(J,Q,ue," ","\\space"),Y(J,Q,ue," ","\\nobreakspace"),Y(K,Q,ue,null,"\\nobreak"),Y(K,Q,ue,null,"\\allowbreak"),Y(K,Q,le,",",","),Y(K,Q,le,";",";"),Y(K,ee,re,"⊼","\\barwedge",!0),Y(K,ee,re,"⊻","\\veebar",!0),Y(K,Q,re,"⊙","\\odot",!0),Y(K,Q,re,"⊕","\\oplus",!0),Y(K,Q,re,"⊗","\\otimes",!0),Y(K,Q,de,"∂","\\partial",!0),Y(K,Q,re,"⊘","\\oslash",!0),Y(K,ee,re,"⊚","\\circledcirc",!0),Y(K,ee,re,"⊡","\\boxdot",!0),Y(K,Q,re,"△","\\bigtriangleup"),Y(K,Q,re,"▽","\\bigtriangledown"),Y(K,Q,re,"†","\\dagger"),Y(K,Q,re,"⋄","\\diamond"),Y(K,Q,re,"⋆","\\star"),Y(K,Q,re,"◃","\\triangleleft"),Y(K,Q,re,"▹","\\triangleright"),Y(K,Q,se,"{","\\{"),Y(J,Q,de,"{","\\{"),Y(J,Q,de,"{","\\textbraceleft"),Y(K,Q,ne,"}","\\}"),Y(J,Q,de,"}","\\}"),Y(J,Q,de,"}","\\textbraceright"),Y(K,Q,se,"{","\\lbrace"),Y(K,Q,ne,"}","\\rbrace"),Y(K,Q,se,"[","\\lbrack"),Y(J,Q,de,"[","\\lbrack"),Y(K,Q,ne,"]","\\rbrack"),Y(J,Q,de,"]","\\rbrack"),Y(K,Q,se,"(","\\lparen"),Y(K,Q,ne,")","\\rparen"),Y(J,Q,de,"<","\\textless"),Y(J,Q,de,">","\\textgreater"),Y(K,Q,se,"⌊","\\lfloor",!0),Y(K,Q,ne,"⌋","\\rfloor",!0),Y(K,Q,se,"⌈","\\lceil",!0),Y(K,Q,ne,"⌉","\\rceil",!0),Y(K,Q,de,"\\","\\backslash"),Y(K,Q,de,"","|"),Y(K,Q,de,"","\\vert"),Y(J,Q,de,"|","\\textbar"),Y(K,Q,de,"∥","\\|"),Y(K,Q,de,"∥","\\Vert"),Y(J,Q,de,"∥","\\textbardbl"),Y(J,Q,de,"~","\\textasciitilde"),Y(J,Q,de,"\\","\\textbackslash"),Y(J,Q,de,"^","\\textasciicircum"),Y(K,Q,ce,"↑","\\uparrow",!0),Y(K,Q,ce,"⇑","\\Uparrow",!0),Y(K,Q,ce,"↓","\\downarrow",!0),Y(K,Q,ce,"⇓","\\Downarrow",!0),Y(K,Q,ce,"↕","\\updownarrow",!0),Y(K,Q,ce,"⇕","\\Updownarrow",!0),Y(K,Q,ae,"∐","\\coprod"),Y(K,Q,ae,"","\\bigvee"),Y(K,Q,ae,"⋀","\\bigwedge"),Y(K,Q,ae,"⨄","\\biguplus"),Y(K,Q,ae,"⋂","\\bigcap"),Y(K,Q,ae,"","\\bigcup"),Y(K,Q,ae,"∫","\\int"),Y(K,Q,ae,"∫","\\intop"),Y(K,Q,ae,"∬","\\iint"),Y(K,Q,ae,"∭","\\iiint"),Y(K,Q,ae,"∏","\\prod"),Y(K,Q,ae,"∑","\\sum"),Y(K,Q,ae,"⨂","\\bigotimes"),Y(K,Q,ae,"⨁","\\bigoplus"),Y(K,Q,ae,"⨀","\\bigodot"),Y(K,Q,ae,"∮","\\oint"),Y(K,Q,ae,"∯","\\oiint"),Y(K,Q,ae,"∰","\\oiiint"),Y(K,Q,ae,"⨆","\\bigsqcup"),Y(K,Q,ae,"∫","\\smallint"),Y(J,Q,oe,"…","\\textellipsis"),Y(K,Q,oe,"…","\\mathellipsis"),Y(J,Q,oe,"…","\\ldots",!0),Y(K,Q,oe,"…","\\ldots",!0),Y(K,Q,oe,"⋯","\\@cdots",!0),Y(K,Q,oe,"⋱","\\ddots",!0),Y(K,Q,de,"⋮","\\varvdots"),Y(K,Q,te,"ˊ","\\acute"),Y(K,Q,te,"ˋ","\\grave"),Y(K,Q,te,"¨","\\ddot"),Y(K,Q,te,"~","\\tilde"),Y(K,Q,te,"ˉ","\\bar"),Y(K,Q,te,"˘","\\breve"),Y(K,Q,te,"ˇ","\\check"),Y(K,Q,te,"^","\\hat"),Y(K,Q,te,"⃗","\\vec"),Y(K,Q,te,"˙","\\dot"),Y(K,Q,te,"˚","\\mathring"),Y(K,Q,ie,"ı","\\imath",!0),Y(K,Q,ie,"ȷ","\\jmath",!0),Y(J,Q,de,"ı","\\i",!0),Y(J,Q,de,"ȷ","\\j",!0),Y(J,Q,de,"ß","\\ss",!0),Y(J,Q,de,"æ","\\ae",!0),Y(J,Q,de,"æ","\\ae",!0),Y(J,Q,de,"œ","\\oe",!0),Y(J,Q,de,"ø","\\o",!0),Y(J,Q,de,"Æ","\\AE",!0),Y(J,Q,de,"Œ","\\OE",!0),Y(J,Q,de,"Ø","\\O",!0),Y(J,Q,te,"ˊ","\\'"),Y(J,Q,te,"ˋ","\\`"),Y(J,Q,te,"ˆ","\\^"),Y(J,Q,te,"˜","\\~"),Y(J,Q,te,"ˉ","\\="),Y(J,Q,te,"˘","\\u"),Y(J,Q,te,"˙","\\."),Y(J,Q,te,"˚","\\r"),Y(J,Q,te,"ˇ","\\v"),Y(J,Q,te,"¨",'\\"'),Y(J,Q,te,"˝","\\H"),Y(J,Q,te,"◯","\\textcircled");var he={"--":!0,"---":!0,"``":!0,"''":!0};Y(J,Q,de,"","--"),Y(J,Q,de,"","\\textendash"),Y(J,Q,de,"—","---"),Y(J,Q,de,"—","\\textemdash"),Y(J,Q,de,"","`"),Y(J,Q,de,"","\\textquoteleft"),Y(J,Q,de,"","'"),Y(J,Q,de,"","\\textquoteright"),Y(J,Q,de,"“","``"),Y(J,Q,de,"“","\\textquotedblleft"),Y(J,Q,de,"”","''"),Y(J,Q,de,"”","\\textquotedblright"),Y(K,Q,de,"°","\\degree",!0),Y(J,Q,de,"°","\\degree"),Y(J,Q,de,"°","\\textdegree",!0),Y(K,Q,ie,"£","\\pounds"),Y(K,Q,ie,"£","\\mathsterling",!0),Y(J,Q,ie,"£","\\pounds"),Y(J,Q,ie,"£","\\textsterling",!0),Y(K,ee,de,"✠","\\maltese"),Y(J,ee,de,"✠","\\maltese"),Y(J,Q,ue," ","\\ "),Y(J,Q,ue," "," "),Y(J,Q,ue," ","~");for(var pe='0123456789/@."',me=0;me<pe.length;me++){var fe=pe.charAt(me);Y(K,Q,de,fe,fe)}for(var ge='0123456789!@*()-=+[]<>|";:?/.,',be=0;be<ge.length;be++){var ve=ge.charAt(be);Y(J,Q,de,ve,ve)}for(var ye="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",we=0;we<ye.length;we++){var xe=ye.charAt(we);Y(K,Q,ie,xe,xe),Y(J,Q,de,xe,xe)}Y(K,ee,de,"C",""),Y(J,ee,de,"C",""),Y(K,ee,de,"H",""),Y(J,ee,de,"H",""),Y(K,ee,de,"N",""),Y(J,ee,de,"N",""),Y(K,ee,de,"P",""),Y(J,ee,de,"P",""),Y(K,ee,de,"Q",""),Y(J,ee,de,"Q",""),Y(K,ee,de,"R",""),Y(J,ee,de,"R",""),Y(K,ee,de,"Z",""),Y(J,ee,de,"Z",""),Y(K,Q,ie,"h",""),Y(J,Q,ie,"h","");for(var Se="",ke=0;ke<ye.length;ke++){var Ce=ye.charAt(ke);Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56320+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56372+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56424+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56580+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56736+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56788+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56840+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56944+ke)),Y(J,Q,de,Ce,Se),ke<26&&(Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56632+ke)),Y(J,Q,de,Ce,Se),Y(K,Q,ie,Ce,Se=String.fromCharCode(55349,56476+ke)),Y(J,Q,de,Ce,Se))}Y(K,Q,ie,"k",Se=String.fromCharCode(55349,56668)),Y(J,Q,de,"k",Se);for(var $e=0;$e<10;$e++){var je=$e.toString();Y(K,Q,ie,je,Se=String.fromCharCode(55349,57294+$e)),Y(J,Q,de,je,Se),Y(K,Q,ie,je,Se=String.fromCharCode(55349,57314+$e)),Y(J,Q,de,je,Se),Y(K,Q,ie,je,Se=String.fromCharCode(55349,57324+$e)),Y(J,Q,de,je,Se),Y(K,Q,ie,je,Se=String.fromCharCode(55349,57334+$e)),Y(J,Q,de,je,Se)}for(var Oe="ÇÐÞçþ",_e=0;_e<Oe.length;_e++){var Ne=Oe.charAt(_e);Y(K,Q,ie,Ne,Ne),Y(J,Q,de,Ne,Ne)}Y(J,Q,de,"ð","ð"),Y(J,Q,de,"",""),Y(J,Q,de,"—","—"),Y(J,Q,de,"",""),Y(J,Q,de,"",""),Y(J,Q,de,"“","“"),Y(J,Q,de,"”","”");var Ae=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ie=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ee=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ze=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Me=function(e,t){return t.size<2?e:Ee[e-1][t.size-1]},Pe=function(){function e(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=ze[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new e(r)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:Me(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ze[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var r=Me(e.BASESIZE,t);return this.size===r&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!Z[t=e>=5?0:e>=3?1:2]){var r=Z[t]={cssEmPerMu:q.quad[t]/18};for(var n in q)q.hasOwnProperty(n)&&(r[n]=q[n][t])}return Z[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();Pe.BASESIZE=6;var Le=Pe,Be={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Te={ex:!0,em:!0,mu:!0},Re=function(e){return"string"!=typeof e&&(e=e.unit),e in Be||e in Te||"ex"===e},Fe=function(e,t){var r;if(e.unit in Be)r=Be[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var n;if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},De=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],qe=function(e,t,r){return X[r][e]&&X[r][e].replace&&(e=X[r][e].replace),{value:e,metrics:W(e,t,r)}},He=function(e,t,r,n,o){var i,a=qe(e,t,r),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new L(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new L(e,0,0,0,0,0,o);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var c=n.getColor();c&&(i.style.color=c)}return i},We=function(e,t){if(_(e.classes)!==_(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},Ze=function(e){for(var t=0,r=0,n=0,o=0;o<e.children.length;o++){var i=e.children[o];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},Ue=function(e,t,r,n){var o=new E(e,t,r,n);return Ze(o),o},Ve=function(e,t,r,n){return new E(e,t,r,n)},Ge=function(e){var t=new O(e);return Ze(t),t},Xe=function(e,t,r){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Ye={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ke={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Je={fontMap:Ye,makeSymbol:He,mathsym:function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&qe(e,"Main-Bold",t).metrics?He(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===X[t][e].font?He(e,"Main-Regular",t,r,n):He(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:Ue,makeSvgSpan:Ve,makeLineSpan:function(e,t,r){var n=Ue([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=n.height+"em",n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var o=new z(e,t,r,n);return Ze(o),o},makeFragment:Ge,wrapFragment:function(e,t){return e instanceof O?Ue([],[e],t):e},makeVList:function(e,t){for(var r=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],n=-t[0].shift-t[0].elem.depth,o=n,i=1;i<t.length;i++){var a=-t[i].shift-o-t[i].elem.depth,s=a-(t[i-1].elem.height+t[i-1].elem.depth);o+=a,r.push({type:"kern",size:s}),r.push(t[i])}return{children:r,depth:n}}var l;if("top"===e.positionType){for(var c=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];c-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=c}else if("bottom"===e.positionType)l=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-h.elem.depth}}return{children:e.children,depth:l}}(e),n=r.children,o=r.depth,i=0,a=0;a<n.length;a++){var s=n[a];if("elem"===s.type){var l=s.elem;i=Math.max(i,l.maxFontSize,l.height)}}i+=2;var c=Ue(["pstrut"],[]);c.style.height=i+"em";for(var u=[],d=o,h=o,p=o,m=0;m<n.length;m++){var f=n[m];if("kern"===f.type)p+=f.size;else{var g=f.elem,b=f.wrapperClasses||[],v=f.wrapperStyle||{},y=Ue(b,[c,g],void 0,v);y.style.top=-i-p-g.depth+"em",f.marginLeft&&(y.style.marginLeft=f.marginLeft),f.marginRight&&(y.style.marginRight=f.marginRight),u.push(y),p+=g.height+g.depth}d=Math.min(d,p),h=Math.max(h,p)}var w,x=Ue(["vlist"],u);if(x.style.height=h+"em",d<0){var S=Ue([],[]),k=Ue(["vlist"],[S]);k.style.height=-d+"em";var C=Ue(["vlist-s"],[new L("")]);w=[Ue(["vlist-r"],[x,C]),Ue(["vlist-r"],[k])]}else w=[Ue(["vlist-r"],[x])];var $=Ue(["vlist-t"],w);return 2===w.length&&$.classes.push("vlist-t2"),$.height=h,$.depth=-d,$},makeOrd:function(e,t,r){var n,o=e.mode,i=e.text,s=["mord"],l="math"===o||"text"===o&&t.font,c=l?t.font:t.fontFamily;if(55349===i.charCodeAt(0)){var u=function(e,t){var r=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,n="math"===t?0:1;if(119808<=r&&r<120484){var o=Math.floor((r-119808)/26);return[Ae[o][2],Ae[o][n]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[Ie[i][2],Ie[i][n]]}if(120485===r||120486===r)return[Ae[0][2],Ae[0][n]];if(120486<r&&r<120782)return["",""];throw new a("Unsupported character: "+e)}(i,o),h=u[0],p=u[1];return He(i,h,o,t,s.concat(p))}if(c){var m,f;if("boldsymbol"===c||"mathnormal"===c){var g="boldsymbol"===c?function(e,t,r,n){return qe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(i,o):(n=i,d.contains(De,n)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(n.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"});m=g.fontName,f=[g.fontClass]}else d.contains(De,i)?(m="Main-Italic",f=["mathit"]):l?(m=Ye[c].fontName,f=[c]):(m=Xe(c,t.fontWeight,t.fontShape),f=[c,t.fontWeight,t.fontShape]);if(qe(i,m,o).metrics)return He(i,m,o,t,s.concat(f));if(he.hasOwnProperty(i)&&"Typewriter"===m.substr(0,10)){for(var b=[],v=0;v<i.length;v++)b.push(He(i[v],m,o,t,s.concat(f)));return Ge(b)}}if("mathord"===r){var y=function(e,t,r,n){return/[0-9]/.test(e.charAt(0))||d.contains(De,e)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}}(i);return He(i,y.fontName,o,t,s.concat([y.fontClass]))}if("textord"===r){var w=X[o][i]&&X[o][i].font;if("ams"===w){var x=Xe("amsrm",t.fontWeight,t.fontShape);return He(i,x,o,t,s.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==w&&w){var S=Xe(w,t.fontWeight,t.fontShape);return He(i,S,o,t,s.concat(S,t.fontWeight,t.fontShape))}var k=Xe("textrm",t.fontWeight,t.fontShape);return He(i,k,o,t,s.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},makeGlue:function(e,t){var r=Ue(["mspace"],[],t),n=Fe(e,t);return r.style.marginRight=n+"em",r},staticSvg:function(e,t){var r=Ke[e],n=r[0],o=r[1],i=r[2],a=new T(n),s=new B([a],{width:o+"em",height:i+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),l=Ve(["overlay"],[s],t);return l.height=i,l.style.height=i+"em",l.style.width=o+"em",l},svgData:Ke,tryCombineChars:function(e){for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof L&&n instanceof L&&We(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e}};function Qe(e,t){var r=et(e,t);if(!r)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return r}function et(e,t){return e&&e.type===t?e:null}function tt(e,t){var r=function(e,t){return e&&"atom"===e.type&&e.family===t?e:null}(e,t);if(!r)throw new Error('Expected node of type "atom" and family "'+t+'", but got '+(e?"atom"===e.type?"atom of family "+e.family:"node of type "+e.type:String(e)));return r}function rt(e){var t=nt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function nt(e){return e&&("atom"===e.type||V.hasOwnProperty(e.type))?e:null}var ot={number:3,unit:"mu"},it={number:4,unit:"mu"},at={number:5,unit:"mu"},st={mord:{mop:ot,mbin:it,mrel:at,minner:ot},mop:{mord:ot,mop:ot,mrel:at,minner:ot},mbin:{mord:it,mop:it,mopen:it,minner:it},mrel:{mord:at,mop:at,mopen:at,minner:at},mopen:{},mclose:{mop:ot,mbin:it,mrel:at,minner:ot},mpunct:{mord:ot,mop:ot,mrel:at,mopen:ot,mclose:ot,mpunct:ot,minner:ot},minner:{mord:ot,mop:ot,mbin:it,mrel:at,mopen:ot,mpunct:ot,minner:ot}},lt={mord:{mop:ot},mop:{mord:ot,mop:ot},mbin:{},mrel:{},mopen:{},mclose:{mop:ot},mpunct:{},minner:{mop:ot}},ct={},ut={},dt={};function ht(e){for(var t=e.type,r=e.names,n=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,greediness:void 0===n.greediness?1:n.greediness,allowedInText:!!n.allowedInText,allowedInMath:void 0===n.allowedInMath||n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,handler:o},l=0;l<r.length;++l)ct[r[l]]=s;t&&(i&&(ut[t]=i),a&&(dt[t]=a))}function pt(e){ht({type:e.type,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:e.htmlBuilder,mathmlBuilder:e.mathmlBuilder})}var mt=function(e){var t=et(e,"ordgroup");return t?t.body:[e]},ft=Je.makeSpan,gt=["leftmost","mbin","mopen","mrel","mop","mpunct"],bt=["rightmost","mrel","mclose","mpunct"],vt={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT},yt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},wt=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=jt(e[i],t);if(a instanceof O){var s=a.children;o.push.apply(o,s)}else o.push(a)}if(!r)return o;var l=t;if(1===e.length){var c=et(e[0],"sizing")||et(e[0],"styling");c&&("sizing"===c.type?l=t.havingSize(c.size):"styling"===c.type&&(l=t.havingStyle(vt[c.style])))}var u=ft([n[0]||"leftmost"],[],t),h=ft([n[1]||"rightmost"],[],t);return xt(o,(function(e,t){var r=t.classes[0],n=e.classes[0];"mbin"===r&&d.contains(bt,n)?t.classes[0]="mord":"mbin"===n&&d.contains(gt,r)&&(e.classes[0]="mord")}),{node:u},h),xt(o,(function(e,t){var r=Ct(t),n=Ct(e),o=r&&n?e.hasClass("mtight")?lt[r][n]:st[r][n]:null;if(o)return Je.makeGlue(o,l)}),{node:u},h),o},xt=function e(t,r,n,o){o&&t.push(o);for(var i=0;i<t.length;i++){var a=t[i],s=St(a);if(s)e(s.children,r,n);else if("mspace"!==a.classes[0]){var l=r(a,n.node);l&&(n.insertAfter?n.insertAfter(l):(t.unshift(l),i++)),n.node=a,n.insertAfter=function(e){return function(r){t.splice(e+1,0,r),i++}}(i)}}o&&t.pop()},St=function(e){return e instanceof O||e instanceof z?e:null},kt=function e(t,r){var n=St(t);if(n){var o=n.children;if(o.length){if("right"===r)return e(o[o.length-1],"right");if("left"===r)return e(o[0],"left")}}return t},Ct=function(e,t){return e?(t&&(e=kt(e,t)),yt[e.classes[0]]||null):null},$t=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return ft(t.concat(r))},jt=function(e,t,r){if(!e)return ft();if(ut[e.type]){var n=ut[e.type](e,t);if(r&&t.size!==r.size){n=ft(t.sizingClasses(r),[n],t);var o=t.sizeMultiplier/r.sizeMultiplier;n.height*=o,n.depth*=o}return n}throw new a("Got group of unknown type: '"+e.type+"'")};function Ot(e,t){var r=ft(["base"],e,t),n=ft(["strut"]);return n.style.height=r.height+r.depth+"em",n.style.verticalAlign=-r.depth+"em",r.children.unshift(n),r}function _t(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);for(var n,o=wt(e,t,!0),i=[],a=[],s=0;s<o.length;s++)if(a.push(o[s]),o[s].hasClass("mbin")||o[s].hasClass("mrel")||o[s].hasClass("allowbreak")){for(var l=!1;s<o.length-1&&o[s+1].hasClass("mspace")&&!o[s+1].hasClass("newline");)s++,a.push(o[s]),o[s].hasClass("nobreak")&&(l=!0);l||(i.push(Ot(a,t)),a=[])}else o[s].hasClass("newline")&&(a.pop(),a.length>0&&(i.push(Ot(a,t)),a=[]),i.push(o[s]));a.length>0&&i.push(Ot(a,t)),r&&((n=Ot(wt(r,t,!0))).classes=["tag"],i.push(n));var c=ft(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),n){var u=n.children[0];u.style.height=c.height+c.depth+"em",u.style.verticalAlign=-c.depth+"em"}return c}function Nt(e){return new O(e)}var At=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e},t.toMarkup=function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=d.escape(this.attributes[t]),e+='"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">"},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),It=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return d.escape(this.toText())},t.toText=function(){return this.text},e}(),Et={MathNode:At,TextNode:It,SpaceNode:function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"":e>=.1666&&e<=.1667?"":e>=.2222&&e<=.2223?"":e>=.2777&&e<=.2778?"":e>=-.05556&&e<=-.05555?"":e>=-.1667&&e<=-.1666?"":e>=-.2223&&e<=-.2222?"":e>=-.2778&&e<=-.2777?"":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:Nt},zt=function(e,t,r){return!X[t][e]||!X[t][e].replace||55349===e.charCodeAt(0)||he.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.substr(4,2)||r.font&&"tt"===r.font.substr(4,2))||(e=X[t][e].replace),new Et.TextNode(e)},Mt=function(e){return 1===e.length?e[0]:new Et.MathNode("mrow",e)},Pt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var o=e.text;return d.contains(["\\imath","\\jmath"],o)?null:(X[n][o]&&X[n][o].replace&&(o=X[n][o].replace),W(o,Je.fontMap[r].fontName,n)?Je.fontMap[r].variant:null)},Lt=function(e,t,r){if(1===e.length){var n=Tt(e[0],t);return r&&n instanceof At&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o,i=[],a=0;a<e.length;a++){var s=Tt(e[a],t);if(s instanceof At&&o instanceof At){if("mtext"===s.type&&"mtext"===o.type&&s.getAttribute("mathvariant")===o.getAttribute("mathvariant")){var l;(l=o.children).push.apply(l,s.children);continue}if("mn"===s.type&&"mn"===o.type){var c;(c=o.children).push.apply(c,s.children);continue}if("mi"===s.type&&1===s.children.length&&"mn"===o.type){var u=s.children[0];if(u instanceof It&&"."===u.text){var d;(d=o.children).push.apply(d,s.children);continue}}else if("mi"===o.type&&1===o.children.length){var h=o.children[0];if(h instanceof It&&"̸"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var p=s.children[0];p instanceof It&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(s),o=s}return i},Bt=function(e,t,r){return Mt(Lt(e,t,r))},Tt=function(e,t){if(!e)return new Et.MathNode("mrow");if(dt[e.type])return dt[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function Rt(e,t,r,n){var o,i=Lt(e,r);o=1===i.length&&i[0]instanceof At&&d.contains(["mrow","mtable"],i[0].type)?i[0]:new Et.MathNode("mrow",i);var a=new Et.MathNode("annotation",[new Et.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var s=new Et.MathNode("semantics",[o,a]),l=new Et.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var c=n?"katex":"katex-mathml";return Je.makeSpan([c],[l])}var Ft=function(e){return new Le({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Dt=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Je.makeSpan(r,[e])}return e},qt=function(e,t,r){var n,o=Ft(r);if("mathml"===r.output)return Rt(e,t,o,!0);if("html"===r.output){var i=_t(e,o);n=Je.makeSpan(["katex"],[i])}else{var a=Rt(e,t,o,!1),s=_t(e,o);n=Je.makeSpan(["katex"],[a,s])}return Dt(n,r)},Ht={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},Wt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Zt=function(e,t,r,n){var o,i=e.height+e.depth+2*r;if(/fbox|color/.test(t)){if(o=Je.makeSpan(["stretchy",t],[],n),"fbox"===t){var a=n.color&&n.getColor();a&&(o.style.borderColor=a)}}else{var s=[];/^[bx]cancel$/.test(t)&&s.push(new R({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&s.push(new R({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new B(s,{width:"100%",height:i+"em"});o=Je.makeSvgSpan([],[l],n)}return o.height=i,o.style.height=i+"em",o},Ut=function(e){var t=new Et.MathNode("mo",[new Et.TextNode(Ht[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},Vt=function(e,t){var r=function(){var r=4e5,n=e.label.substr(1);if(d.contains(["widehat","widecheck","widetilde","utilde"],n)){var o,i,a,s="ordgroup"===(m=e.base).type?m.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(o=420,r=2364,a=.42,i=n+"4"):(o=312,r=2340,a=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],i=n+l):(r=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var c=new T(i),u=new B([c],{width:"100%",height:a+"em",viewBox:"0 0 "+r+" "+o,preserveAspectRatio:"none"});return{span:Je.makeSvgSpan([],[u],t),minWidth:0,height:a}}var h,p,m,f=[],g=Wt[n],b=g[0],v=g[1],y=g[2],w=y/1e3,x=b.length;if(1===x)h=["hide-tail"],p=[g[3]];else if(2===x)h=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");h=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var S=0;S<x;S++){var k=new T(b[S]),C=new B([k],{width:"400em",height:w+"em",viewBox:"0 0 "+r+" "+y,preserveAspectRatio:p[S]+" slice"}),$=Je.makeSvgSpan([h[S]],[C],t);if(1===x)return{span:$,minWidth:v,height:w};$.style.height=w+"em",f.push($)}return{span:Je.makeSpan(["stretchy"],f,t),minWidth:v,height:w}}(),n=r.span,o=r.minWidth,i=r.height;return n.height=i,n.style.height=i+"em",o>0&&(n.style.minWidth=o+"em"),n},Gt=function(e,t){var r,n,o,i=et(e,"supsub");i?(r=(n=Qe(i.base,"accent")).base,i.base=r,o=function(e){if(e instanceof E)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(jt(i,t)),i.base=n):r=(n=Qe(e,"accent")).base;var a=jt(r,t.havingCrampedStyle()),s=0;if(n.isShifty&&d.isCharacterBox(r)){var l=d.getBaseElem(r);s=F(jt(l,t.havingCrampedStyle())).skew}var c,u=Math.min(a.height,t.fontMetrics().xHeight);if(n.isStretchy)c=Vt(n,t),c=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+2*s+"em)",marginLeft:2*s+"em"}:void 0}]},t);else{var h,p;"\\vec"===n.label?(h=Je.staticSvg("vec",t),p=Je.svgData.vec[1]):((h=F(h=Je.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,p=h.width),c=Je.makeSpan(["accent-body"],[h]);var m="\\textcircled"===n.label;m&&(c.classes.push("accent-full"),u=a.height);var f=s;m||(f-=p/2),c.style.left=f+"em","\\textcircled"===n.label&&(c.style.top=".2em"),c=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:c}]},t)}var g=Je.makeSpan(["mord","accent"],[c],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},Xt=function(e,t){var r=e.isStretchy?Ut(e.label):new Et.MathNode("mo",[zt(e.label,e.mode)]),n=new Et.MathNode("mover",[Tt(e.base,t),r]);return n.setAttribute("accent","true"),n},Yt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));ht({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var r=t[0],n=!Yt.test(e.funcName),o=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:o,base:r}},htmlBuilder:Gt,mathmlBuilder:Xt}),ht({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var r=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Gt,mathmlBuilder:Xt}),ht({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,o=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:o}},htmlBuilder:function(e,t){var r=jt(e.base,t),n=Vt(e,t),o="\\utilde"===e.label?.12:0,i=Je.makeVList({positionType:"bottom",positionData:n.height+o,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]},t);return Je.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var r=Ut(e.label),n=new Et.MathNode("munder",[Tt(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Kt=function(e){var t=new Et.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ht({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,r){var n=e.parser,o=e.funcName;return{type:"xArrow",mode:n.mode,label:o,body:t[0],below:r[0]}},htmlBuilder:function(e,t){var r,n=t.style,o=t.havingStyle(n.sup()),i=Je.wrapFragment(jt(e.body,o,t),t);i.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(n.sub()),(r=Je.wrapFragment(jt(e.below,o,t),t)).classes.push("x-arrow-pad"));var a,s=Vt(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,c=-t.fontMetrics().axisHeight-.5*s.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var u=-t.fontMetrics().axisHeight+r.height+.5*s.height+.111;a=Je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:r,shift:u}]},t)}else a=Je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Je.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var r,n=Ut(e.label);if(e.body){var o=Kt(Tt(e.body,t));if(e.below){var i=Kt(Tt(e.below,t));r=new Et.MathNode("munderover",[n,i,o])}else r=new Et.MathNode("mover",[n,o])}else if(e.below){var a=Kt(Tt(e.below,t));r=new Et.MathNode("munder",[n,a])}else r=Kt(),r=new Et.MathNode("mover",[n,r]);return r}}),ht({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var r=e.parser,n=Qe(t[0],"ordgroup").body,o="",i=0;i<n.length;i++)o+=Qe(n[i],"textord").text;var s=parseInt(o);if(isNaN(s))throw new a("\\@char has non-numeric argument "+o);return{type:"textord",mode:r.mode,text:String.fromCharCode(s)}}});var Jt=function(e,t){var r=wt(e.body,t.withColor(e.color),!1);return Je.makeFragment(r)},Qt=function(e,t){var r=Lt(e.body,t.withColor(e.color)),n=new Et.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ht({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var r=e.parser,n=Qe(t[0],"color-token").color,o=t[1];return{type:"color",mode:r.mode,color:n,body:mt(o)}},htmlBuilder:Jt,mathmlBuilder:Qt}),ht({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var r=e.parser,n=e.breakOnTokenText,o=Qe(t[0],"color-token").color;r.gullet.macros.set("\\current@color",o);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:o,body:i}},htmlBuilder:Jt,mathmlBuilder:Qt}),ht({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t,r){var n=e.parser,o=e.funcName,i=r[0],a="\\cr"===o,s=!1;return a||(s=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:n.mode,newLine:s,newRow:a,size:i&&Qe(i,"size").value}},htmlBuilder:function(e,t){if(e.newRow)throw new a("\\cr valid only within a tabular/array environment");var r=Je.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Fe(e.size,t)+"em")),r},mathmlBuilder:function(e,t){var r=new Et.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Fe(e.size,t)+"em")),r}});var er=function(e,t,r){var n=W(X.math[e]&&X.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},tr=function(e,t,r,n){var o=r.havingBaseStyle(t),i=Je.makeSpan(n.concat(o.sizingClasses(r)),[e],r),a=o.sizeMultiplier/r.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},rr=function(e,t,r){var n=t.havingBaseStyle(r),o=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=o+"em",e.height-=o,e.depth+=o},nr=function(e,t,r,n,o,i){var a=function(e,t,r,n){return Je.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,o,n),s=tr(Je.makeSpan(["delimsizing","size"+t],[a],n),x.TEXT,n,i);return r&&rr(s,n,x.TEXT),s},or=function(e,t,r){var n;return n="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Je.makeSpan(["delimsizinginner",n],[Je.makeSpan([],[Je.makeSymbol(e,t,r)])])}},ir={type:"kern",size:-.005},ar=function(e,t,r,n,o,i){var a,s,l,c;a=l=c=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",c="\\Downarrow"):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",c="⎣",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",c="⎦",u="Size4-Regular"):"\\lfloor"===e||"⌊"===e?(l=a="⎢",c="⎣",u="Size4-Regular"):"\\lceil"===e||"⌈"===e?(a="⎡",l=c="⎢",u="Size4-Regular"):"\\rfloor"===e||"⌋"===e?(l=a="⎥",c="⎦",u="Size4-Regular"):"\\rceil"===e||"⌉"===e?(a="⎤",l=c="⎥",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="⎛",l="⎜",c="⎝",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="⎞",l="⎟",c="⎠",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",c="⎩",l="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",c="⎭",l="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",c="⎩",l="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",c="⎭",l="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",c="⎭",l="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",c="⎩",l="⎪",u="Size4-Regular");var d=er(a,u,o),h=d.height+d.depth,p=er(l,u,o),m=p.height+p.depth,f=er(c,u,o),g=f.height+f.depth,b=0,v=1;if(null!==s){var y=er(s,u,o);b=y.height+y.depth,v=2}var w=h+g+b,S=Math.max(0,Math.ceil((t-w)/(v*m))),k=w+S*v*m,C=n.fontMetrics().axisHeight;r&&(C*=n.sizeMultiplier);var $=k/2-C,j=.005*(S+1)-m,O=[];if(O.push(or(c,u,o)),null===s)for(var _=0;_<S;_++)O.push(ir),O.push(or(l,u,o));else{for(var N=0;N<S;N++)O.push(ir),O.push(or(l,u,o));O.push({type:"kern",size:j}),O.push(or(l,u,o)),O.push(ir),O.push(or(s,u,o));for(var A=0;A<S;A++)O.push(ir),O.push(or(l,u,o))}O.push({type:"kern",size:j}),O.push(or(l,u,o)),O.push(ir),O.push(or(a,u,o));var I=n.havingBaseStyle(x.TEXT),E=Je.makeVList({positionType:"bottom",positionData:$,children:O},I);return tr(Je.makeSpan(["delimsizing","mult"],[E],I),x.TEXT,n,i)},sr=.08,lr=function(e,t,r,n,o){var i=function(e,t,r){t*=1e3;var n="";switch(e){case"sqrtMain":n=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,$);break;case"sqrtSize1":n=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,$);break;case"sqrtSize2":n=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,$);break;case"sqrtSize3":n=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,$);break;case"sqrtSize4":n=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,$);break;case"sqrtTall":n=function(e,t,r){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(r-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,$,r)}return n}(e,n,r),a=new T(e,i),s=new B([a],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Je.makeSvgSpan(["hide-tail"],[s],o)},cr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],ur=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],dr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],hr=[0,1.2,1.8,2.4,3],pr=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],mr=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"stack"}],fr=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],gr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},br=function(e,t,r,n){for(var o=Math.min(2,3-n.style.size);o<r.length&&"stack"!==r[o].type;o++){var i=er(e,gr(r[o]),"math"),a=i.height+i.depth;if("small"===r[o].type&&(a*=n.havingBaseStyle(r[o].style).sizeMultiplier),a>t)return r[o]}return r[r.length-1]},vr=function(e,t,r,n,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=d.contains(dr,e)?pr:d.contains(cr,e)?fr:mr;var s=br(e,t,a,n);return"small"===s.type?function(e,t,r,n,o,i){var a=Je.makeSymbol(e,"Main-Regular",o,n),s=tr(a,t,n,i);return r&&rr(s,n,t),s}(e,s.style,r,n,o,i):"large"===s.type?nr(e,s.size,r,n,o,i):ar(e,t,r,n,o,i)},yr=function(e,t){var r,n,o=t.havingBaseSizing(),i=br("\\surd",e*o.sizeMultiplier,fr,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),c=(1+s)/a,(r=lr("sqrtMain",l=(1+s+sr)/a,u=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/a):"large"===i.type?(u=1080*hr[i.size],c=(hr[i.size]+s)/a,l=(hr[i.size]+s+sr)/a,(r=lr("sqrtSize"+i.size,l,u,s,t)).style.minWidth="1.02em",n=1/a):(l=e+s+sr,c=e+s,u=Math.floor(1e3*e+s)+80,(r=lr("sqrtTall",l,u,s,t)).style.minWidth="0.742em",n=1.056),r.height=c,r.style.height=l+"em",{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},wr=function(e,t,r,n,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),d.contains(cr,e)||d.contains(dr,e))return nr(e,t,!1,r,n,o);if(d.contains(ur,e))return ar(e,hr[t],!1,r,n,o);throw new a("Illegal delimiter: '"+e+"'")},xr=vr,Sr=function(e,t,r,n,o,i){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-a,r+a),c=Math.max(l/500*901,2*l-s);return vr(e,c,!0,n,o,i)},kr={"\\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}},Cr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function $r(e,t){var r=nt(e);if(r&&d.contains(Cr,r.text))return r;throw new a("Invalid delimiter: '"+(r?r.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function jr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ht({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var r=$r(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:kr[e.funcName].size,mclass:kr[e.funcName].mclass,delim:r.text}},htmlBuilder:function(e,t){return"."===e.delim?Je.makeSpan([e.mclass]):wr(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(zt(e.delim,e.mode));var r=new Et.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r}}),ht({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:$r(t[0],e).text,color:r}}}),ht({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var r=$r(t[0],e),n=e.parser;++n.leftrightDepth;var o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Qe(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:function(e,t){jr(e);for(var r,n,o=wt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,l=0;l<o.length;l++)o[l].isMiddle?s=!0:(i=Math.max(o[l].height,i),a=Math.max(o[l].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?$t(t,["mopen"]):Sr(e.left,i,a,t,e.mode,["mopen"]),o.unshift(r),s)for(var c=1;c<o.length;c++){var u=o[c].isMiddle;u&&(o[c]=Sr(u.delim,i,a,u.options,e.mode,[]))}if("."===e.right)n=$t(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;n=Sr(e.right,i,a,d,e.mode,["mclose"])}return o.push(n),Je.makeSpan(["minner"],o,t)},mathmlBuilder:function(e,t){jr(e);var r=Lt(e.body,t);if("."!==e.left){var n=new Et.MathNode("mo",[zt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var o=new Et.MathNode("mo",[zt(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),r.push(o)}return Mt(r)}}),ht({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var r=$r(t[0],e);if(!e.parser.leftrightDepth)throw new a("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:function(e,t){var r;if("."===e.delim)r=$t(t,[]);else{r=wr(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:function(e,t){var r="\\vert"===e.delim||"|"===e.delim?zt("|","text"):zt(e.delim,e.mode),n=new Et.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Or=function(e,t){var r,n,o=Je.wrapFragment(jt(e.body,t),t),i=e.label.substr(1),a=t.sizeMultiplier,s=0,l=d.isCharacterBox(e.body);if("sout"===i)(r=Je.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else{/cancel/.test(i)?l||o.classes.push("cancel-pad"):o.classes.push("boxpad");var c=0,u=0;/box/.test(i)?(u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),c=t.fontMetrics().fboxsep+("colorbox"===i?0:u)):c=l?.2:0,r=Zt(o,i,c,t),/fbox|boxed|fcolorbox/.test(i)&&(r.style.borderStyle="solid",r.style.borderWidth=u+"em"),s=o.depth+c,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}return n=e.backgroundColor?Je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:s},{type:"elem",elem:o,shift:0}]},t):Je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:r,shift:s,wrapperClasses:/cancel/.test(i)?["svg-align"]:[]}]},t),/cancel/.test(i)&&(n.height=o.height,n.depth=o.depth),/cancel/.test(i)&&!l?Je.makeSpan(["mord","cancel-lap"],[n],t):Je.makeSpan(["mord"],[n],t)},_r=function(e,t){var r=0,n=new Et.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tt(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ht({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,r){var n=e.parser,o=e.funcName,i=Qe(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:Or,mathmlBuilder:_r}),ht({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,r){var n=e.parser,o=e.funcName,i=Qe(t[0],"color-token").color,a=Qe(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:Or,mathmlBuilder:_r}),ht({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),ht({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,r){var n=e.parser,o=e.funcName,i=t[0];return{type:"enclose",mode:n.mode,label:o,body:i}},htmlBuilder:Or,mathmlBuilder:_r});var Nr={};function Ar(e){for(var t=e.type,r=e.names,n=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:n.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l<r.length;++l)Nr[r[l]]=s;i&&(ut[t]=i),a&&(dt[t]=a)}function Ir(e){var t=[];e.consumeSpaces();for(var r=e.fetch().text;"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}function Er(e,t,r){var n=t.hskipBeforeAndAfter,o=t.addJot,i=t.cols,s=t.arraystretch,l=t.colSeparationType;if(e.gullet.beginGroup(),e.gullet.macros.set("\\\\","\\cr"),!s){var c=e.gullet.expandMacroAsText("\\arraystretch");if(null==c)s=1;else if(!(s=parseFloat(c))||s<0)throw new a("Invalid \\arraystretch: "+c)}e.gullet.beginGroup();var u=[],d=[u],h=[],p=[];for(p.push(Ir(e));;){var m=e.parseExpression(!1,"\\cr");e.gullet.endGroup(),e.gullet.beginGroup(),m={type:"ordgroup",mode:e.mode,body:m},r&&(m={type:"styling",mode:e.mode,style:r,body:[m]}),u.push(m);var f=e.fetch().text;if("&"===f)e.consume();else{if("\\end"===f){1===u.length&&"styling"===m.type&&0===m.body[0].body.length&&d.pop(),p.length<d.length+1&&p.push([]);break}if("\\cr"!==f)throw new a("Expected & or \\\\ or \\cr or \\end",e.nextToken);var g=Qe(e.parseFunction(),"cr");h.push(g.size),p.push(Ir(e)),u=[],d.push(u)}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:s,body:d,cols:i,rowGaps:h,hskipBeforeAndAfter:n,hLinesBeforeRow:p,colSeparationType:l}}function zr(e){return"d"===e.substr(0,1)?"display":"text"}var Mr=function(e,t){var r,n,o=e.body.length,i=e.hLinesBeforeRow,s=0,l=new Array(o),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),h=1/t.fontMetrics().ptPerEm,p=5*h;e.colSeparationType&&"small"===e.colSeparationType&&(p=t.havingStyle(x.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var m=12*h,f=3*h,g=e.arraystretch*m,b=.7*g,v=.3*g,y=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(y+=.25),c.push({pos:y,isDashed:e[t]})}for(w(i[0]),r=0;r<e.body.length;++r){var S=e.body[r],k=b,C=v;s<S.length&&(s=S.length);var $=new Array(S.length);for(n=0;n<S.length;++n){var j=jt(S[n],t);C<j.depth&&(C=j.depth),k<j.height&&(k=j.height),$[n]=j}var O=e.rowGaps[r],_=0;O&&(_=Fe(O,t))>0&&(C<(_+=v)&&(C=_),_=0),e.addJot&&(C+=f),$.height=k,$.depth=C,y+=k,$.pos=y,y+=C+_,l[r]=$,w(i[r+1])}var N,A,I=y/2+t.fontMetrics().axisHeight,E=e.cols||[],z=[];for(n=0,A=0;n<s||A<E.length;++n,++A){for(var M=E[A]||{},P=!0;"separator"===M.type;){if(P||((N=Je.makeSpan(["arraycolsep"],[])).style.width=t.fontMetrics().doubleRuleSep+"em",z.push(N)),"|"!==M.separator&&":"!==M.separator)throw new a("Invalid separator type: "+M.separator);var L="|"===M.separator?"solid":"dashed",B=Je.makeSpan(["vertical-separator"],[],t);B.style.height=y+"em",B.style.borderRightWidth=u+"em",B.style.borderRightStyle=L,B.style.margin="0 -"+u/2+"em",B.style.verticalAlign=-(y-I)+"em",z.push(B),M=E[++A]||{},P=!1}if(!(n>=s)){var T=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(T=d.deflt(M.pregap,p))&&((N=Je.makeSpan(["arraycolsep"],[])).style.width=T+"em",z.push(N));var R=[];for(r=0;r<o;++r){var F=l[r],D=F[n];if(D){var q=F.pos-I;D.depth=F.depth,D.height=F.height,R.push({type:"elem",elem:D,shift:q})}}R=Je.makeVList({positionType:"individualShift",children:R},t),R=Je.makeSpan(["col-align-"+(M.align||"c")],[R]),z.push(R),(n<s-1||e.hskipBeforeAndAfter)&&0!==(T=d.deflt(M.postgap,p))&&((N=Je.makeSpan(["arraycolsep"],[])).style.width=T+"em",z.push(N))}}if(l=Je.makeSpan(["mtable"],z),c.length>0){for(var H=Je.makeLineSpan("hline",t,u),W=Je.makeLineSpan("hdashline",t,u),Z=[{type:"elem",elem:l,shift:0}];c.length>0;){var U=c.pop(),V=U.pos-I;U.isDashed?Z.push({type:"elem",elem:W,shift:V}):Z.push({type:"elem",elem:H,shift:V})}l=Je.makeVList({positionType:"individualShift",children:Z},t)}return Je.makeSpan(["mord"],[l],t)},Pr={c:"center ",l:"left ",r:"right "},Lr=function(e,t){var r=new Et.MathNode("mtable",e.body.map((function(e){return new Et.MathNode("mtr",e.map((function(e){return new Et.MathNode("mtd",[Tt(e,t)])})))}))),n=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);r.setAttribute("rowspacing",n+"em");var o="",i="";if(e.cols){var a=e.cols,s="",l=!1,c=0,u=a.length;"separator"===a[0].type&&(o+="top ",c=1),"separator"===a[a.length-1].type&&(o+="bottom ",u-=1);for(var d=c;d<u;d++)"align"===a[d].type?(i+=Pr[a[d].align],l&&(s+="none "),l=!0):"separator"===a[d].type&&l&&(s+="|"===a[d].separator?"solid ":"dashed ",l=!1);r.setAttribute("columnalign",i.trim()),/[sd]/.test(s)&&r.setAttribute("columnlines",s.trim())}if("align"===e.colSeparationType){for(var h=e.cols||[],p="",m=1;m<h.length;m++)p+=m%2?"0em ":"1em ";r.setAttribute("columnspacing",p.trim())}else"alignat"===e.colSeparationType?r.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?r.setAttribute("columnspacing","0.2778em"):r.setAttribute("columnspacing","1em");var f="",g=e.hLinesBeforeRow;o+=g[0].length>0?"left ":"",o+=g[g.length-1].length>0?"right ":"";for(var b=1;b<g.length-1;b++)f+=0===g[b].length?"none ":g[b][0]?"dashed ":"solid ";return/[sd]/.test(f)&&r.setAttribute("rowlines",f.trim()),""!==o&&(r=new Et.MathNode("menclose",[r])).setAttribute("notation",o.trim()),e.arraystretch&&e.arraystretch<1&&(r=new Et.MathNode("mstyle",[r])).setAttribute("scriptlevel","1"),r},Br=function(e,t){var r,n=[],o=Er(e.parser,{cols:n,addJot:!0},"display"),i=0,s={type:"ordgroup",mode:e.mode,body:[]},l=et(t[0],"ordgroup");if(l){for(var c="",u=0;u<l.body.length;u++)c+=Qe(l.body[u],"textord").text;r=Number(c),i=2*r}var d=!i;o.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var n=Qe(e[t],"styling");Qe(n.body[0],"ordgroup").body.unshift(s)}if(d)i<e.length&&(i=e.length);else{var o=e.length/2;if(r<o)throw new a("Too many math in a row: expected "+r+", but got "+o,e[0])}}));for(var h=0;h<i;++h){var p="r",m=0;h%2==1?p="l":h>0&&d&&(m=1),n[h]={type:"align",align:p,pregap:m,postgap:0}}return o.colSeparationType=d?"align":"alignat",o};Ar({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var r={cols:(nt(t[0])?[t[0]]:Qe(t[0],"ordgroup").body).map((function(e){var t=rt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+t,e)})),hskipBeforeAndAfter:!0};return Er(e.parser,r,zr(e.envName))},htmlBuilder:Mr,mathmlBuilder:Lr}),Ar({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],r=Er(e.parser,{hskipBeforeAndAfter:!1},zr(e.envName));return t?{type:"leftright",mode:e.mode,body:[r],left:t[0],right:t[1],rightColor:void 0}:r},htmlBuilder:Mr,mathmlBuilder:Lr}),Ar({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=Er(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Mr,mathmlBuilder:Lr}),Ar({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var r=(nt(t[0])?[t[0]]:Qe(t[0],"ordgroup").body).map((function(e){var t=rt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new a("Unknown column alignment: "+t,e)}));if(r.length>1)throw new a("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=Er(e.parser,n,"script")).body[0].length>1)throw new a("{subarray} can contain only one column");return n},htmlBuilder:Mr,mathmlBuilder:Lr}),Ar({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t=Er(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},zr(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Mr,mathmlBuilder:Lr}),Ar({type:"array",names:["aligned"],props:{numArgs:0},handler:Br,htmlBuilder:Mr,mathmlBuilder:Lr}),Ar({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){return Er(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:Mr,mathmlBuilder:Lr}),Ar({type:"array",names:["alignedat"],props:{numArgs:1},handler:Br,htmlBuilder:Mr,mathmlBuilder:Lr}),ht({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var Tr=Nr;ht({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var r=e.parser,n=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new a("Invalid environment name",o);for(var i="",s=0;s<o.body.length;++s)i+=Qe(o.body[s],"textord").text;if("\\begin"===n){if(!Tr.hasOwnProperty(i))throw new a("No such environment: "+i,o);var l=Tr[i],c=r.parseArguments("\\begin{"+i+"}",l),u=c.args,d=c.optArgs,h={mode:r.mode,envName:i,parser:r},p=l.handler(h,u,d);r.expect("\\end",!1);var m=r.nextToken,f=Qe(r.parseFunction(),"environment");if(f.name!==i)throw new a("Mismatch: \\begin{"+i+"} matched by \\end{"+f.name+"}",m);return p}return{type:"environment",mode:r.mode,name:i,nameGroup:o}}});var Rr=Je.makeSpan;function Fr(e,t){var r=wt(e.body,t,!0);return Rr([e.mclass],r,t)}function Dr(e,t){var r,n=Lt(e.body,t);return"minner"===e.mclass?Et.newDocumentFragment(n):("mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new Et.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new Et.MathNode("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"!==e.mclass&&"mclose"!==e.mclass||(r.attributes.lspace="0em",r.attributes.rspace="0em")),r)}ht({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,o=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.substr(5),body:mt(o),isCharacterBox:d.isCharacterBox(o)}},htmlBuilder:Fr,mathmlBuilder:Dr});var qr=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};ht({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){return{type:"mclass",mode:e.parser.mode,mclass:qr(t[0]),body:[t[1]],isCharacterBox:d.isCharacterBox(t[1])}}}),ht({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var r,n=e.parser,o=e.funcName,i=t[1],a=t[0];r="\\stackrel"!==o?qr(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:mt(i)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:d.isCharacterBox(l)}},htmlBuilder:Fr,mathmlBuilder:Dr});var Hr=function(e,t){var r=e.font,n=t.withFont(r);return jt(e.body,n)},Wr=function(e,t){var r=e.font,n=t.withFont(r);return Tt(e.body,n)},Zr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ht({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(e,t){var r=e.parser,n=e.funcName,o=t[0],i=n;return i in Zr&&(i=Zr[i]),{type:"font",mode:r.mode,font:i.slice(1),body:o}},htmlBuilder:Hr,mathmlBuilder:Wr}),ht({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var r=e.parser,n=t[0],o=d.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:qr(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:o}}}),ht({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,o=e.breakOnTokenText,i=r.mode,a=r.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:Hr,mathmlBuilder:Wr});var Ur=function(e,t){var r=t;return"display"===e?r=r.id>=x.SCRIPT.id?r.text():x.DISPLAY:"text"===e&&r.size===x.DISPLAY.size?r=x.TEXT:"script"===e?r=x.SCRIPT:"scriptscript"===e&&(r=x.SCRIPTSCRIPT),r},Vr=function(e,t){var r,n=Ur(e.size,t.style),o=n.fracNum(),i=n.fracDen();r=t.havingStyle(o);var a=jt(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}r=t.havingStyle(i);var c,u,d,h,p,m,f,g,b,v,y=jt(e.denom,r,t);if(e.hasBarLine?(e.barSize?(u=Fe(e.barSize,t),c=Je.makeLineSpan("frac-line",t,u)):c=Je.makeLineSpan("frac-line",t),u=c.height,d=c.height):(c=null,u=0,d=t.fontMetrics().defaultRuleThickness),n.size===x.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=u>0?3*d:7*d,m=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=d):(h=t.fontMetrics().num3,p=3*d),m=t.fontMetrics().denom2),c){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*u)<p&&(h+=p-(h-a.depth-(w+.5*u))),w-.5*u-(y.height-m)<p&&(m+=p-(w-.5*u-(y.height-m)));var S=-(w-.5*u);f=Je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:m},{type:"elem",elem:c,shift:S},{type:"elem",elem:a,shift:-h}]},t)}else{var k=h-a.depth-(y.height-m);k<p&&(h+=.5*(p-k),m+=.5*(p-k)),f=Je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:m},{type:"elem",elem:a,shift:-h}]},t)}return r=t.havingStyle(n),f.height*=r.sizeMultiplier/t.sizeMultiplier,f.depth*=r.sizeMultiplier/t.sizeMultiplier,g=n.size===x.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2,b=null==e.leftDelim?$t(t,["mopen"]):xr(e.leftDelim,g,!0,t.havingStyle(n),e.mode,["mopen"]),v=e.continued?Je.makeSpan([]):null==e.rightDelim?$t(t,["mclose"]):xr(e.rightDelim,g,!0,t.havingStyle(n),e.mode,["mclose"]),Je.makeSpan(["mord"].concat(r.sizingClasses(t)),[b,Je.makeSpan(["mfrac"],[f]),v],t)},Gr=function(e,t){var r=new Et.MathNode("mfrac",[Tt(e.numer,t),Tt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=Fe(e.barSize,t);r.setAttribute("linethickness",n+"em")}}else r.setAttribute("linethickness","0px");var o=Ur(e.size,t.style);if(o.size!==t.style.size){r=new Et.MathNode("mstyle",[r]);var i=o.size===x.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new Et.MathNode("mo",[new Et.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),null!=e.rightDelim){var l=new Et.MathNode("mo",[new Et.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return Mt(a)}return r};ht({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var r,n=e.parser,o=e.funcName,i=t[0],a=t[1],s=null,l=null,c="auto";switch(o){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\cfrac":case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:n.mode,continued:"\\cfrac"===o,numer:i,denom:a,hasBarLine:r,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Vr,mathmlBuilder:Gr}),ht({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(e){var t,r=e.parser,n=e.funcName,o=e.token;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:o}}});var Xr=["display","text","script","scriptscript"],Yr=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ht({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var r=e.parser,n=t[4],o=t[5],i=et(t[0],"atom");i&&(i=tt(t[0],"open"));var a=i?Yr(i.text):null,s=et(t[1],"atom");s&&(s=tt(t[1],"close"));var l,c=s?Yr(s.text):null,u=Qe(t[2],"size"),d=null;l=!!u.isBlank||(d=u.value).number>0;var h="auto",p=et(t[3],"ordgroup");if(p){if(p.body.length>0){var m=Qe(p.body[0],"textord");h=Xr[Number(m.text)]}}else p=Qe(t[3],"textord"),h=Xr[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:l,barSize:d,leftDelim:a,rightDelim:c,size:h}},htmlBuilder:Vr,mathmlBuilder:Gr}),ht({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var r=e.parser,n=(e.funcName,e.token);return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Qe(t[0],"size").value,token:n}}}),ht({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var r=e.parser,n=(e.funcName,t[0]),o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Qe(t[1],"infix").size),i=t[2],a=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Vr,mathmlBuilder:Gr});var Kr=function(e,t){var r,n,o=t.style,i=et(e,"supsub");i?(r=i.sup?jt(i.sup,t.havingStyle(o.sup()),t):jt(i.sub,t.havingStyle(o.sub()),t),n=Qe(i.base,"horizBrace")):n=Qe(e,"horizBrace");var a,s=jt(n.base,t.havingBaseStyle(x.DISPLAY)),l=Vt(n,t);if(n.isOver?(a=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:l}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(a=Je.makeVList({positionType:"bottom",positionData:s.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var c=Je.makeSpan(["mord",n.isOver?"mover":"munder"],[a],t);a=n.isOver?Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Je.makeVList({positionType:"bottom",positionData:c.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:c}]},t)}return Je.makeSpan(["mord",n.isOver?"mover":"munder"],[a],t)};ht({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Kr,mathmlBuilder:function(e,t){var r=Ut(e.label);return new Et.MathNode(e.isOver?"mover":"munder",[Tt(e.base,t),r])}}),ht({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[1],o=Qe(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:mt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var r=wt(e.body,t,!1);return Je.makeAnchor(e.href,[],r,t)},mathmlBuilder:function(e,t){var r=Bt(e.body,t);return r instanceof At||(r=new At("mrow",[r])),r.setAttribute("href",e.href),r}}),ht({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=Qe(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var o=[],i=0;i<n.length;i++){var a=n[i];"~"===a&&(a="\\textasciitilde"),o.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:r.mode,font:"\\texttt",body:o};return{type:"href",mode:r.mode,href:n,body:mt(s)}}}),ht({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(e,t){return{type:"htmlmathml",mode:e.parser.mode,html:mt(t[0]),mathml:mt(t[1])}},htmlBuilder:function(e,t){var r=wt(e.html,t,!1);return Je.makeFragment(r)},mathmlBuilder:function(e,t){return Bt(e.mathml,t)}});var Jr=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new a("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!Re(r))throw new a("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ht({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(e,t,r){var n=e.parser,o={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var c=Qe(r[0],"raw").string.split(","),u=0;u<c.length;u++){var d=c[u].split("=");if(2===d.length){var h=d[1].trim();switch(d[0].trim()){case"alt":l=h;break;case"width":o=Jr(h);break;case"height":i=Jr(h);break;case"totalheight":s=Jr(h);break;default:throw new a("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var p=Qe(t[0],"url").url;return""===l&&(l=(l=(l=p).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:l,width:o,height:i,totalheight:s,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(e,t){var r=Fe(e.height,t),n=0;e.totalheight.number>0&&(n=Fe(e.totalheight,t)-r,n=Number(n.toFixed(2)));var o=0;e.width.number>0&&(o=Fe(e.width,t));var i={height:r+n+"em"};o>0&&(i.width=o+"em"),n>0&&(i.verticalAlign=-n+"em");var a=new M(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:function(e,t){var r=new Et.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Fe(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=Fe(e.totalheight,t)-n).toFixed(2),r.setAttribute("valign","-"+o+"em")),r.setAttribute("height",n+o+"em"),e.width.number>0){var i=Fe(e.width,t);r.setAttribute("width",i+"em")}return r.setAttribute("src",e.src),r}}),ht({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,o=Qe(t[0],"size");if(r.settings.strict){var i="m"===n[1],a="mu"===o.value.unit;i?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+o.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:o.value}},htmlBuilder:function(e,t){return Je.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var r=Fe(e.dimension,t);return new Et.SpaceNode(r)}}),ht({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,o=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:o}},htmlBuilder:function(e,t){var r;"clap"===e.alignment?(r=Je.makeSpan([],[jt(e.body,t)]),r=Je.makeSpan(["inner"],[r],t)):r=Je.makeSpan(["inner"],[jt(e.body,t)]);var n=Je.makeSpan(["fix"],[]),o=Je.makeSpan([e.alignment],[r,n],t),i=Je.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Je.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var r=new Et.MathNode("mpadded",[Tt(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),ht({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var r=e.funcName,n=e.parser,o=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",a=n.parseExpression(!1,i);return n.expect(i),n.switchMode(o),{type:"styling",mode:n.mode,style:"text",body:a}}}),ht({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var Qr=function(e,t){switch(t.style.size){case x.DISPLAY.size:return e.display;case x.TEXT.size:return e.text;case x.SCRIPT.size:return e.script;case x.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ht({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:mt(t[0]),text:mt(t[1]),script:mt(t[2]),scriptscript:mt(t[3])}},htmlBuilder:function(e,t){var r=Qr(e,t),n=wt(r,t,!1);return Je.makeFragment(n)},mathmlBuilder:function(e,t){var r=Qr(e,t);return Bt(r,t)}});var en=function(e,t,r,n,o,i,a){var s,l,c;if(e=Je.makeSpan([],[e]),t){var u=jt(t,n.havingStyle(o.sup()),n);l={elem:u,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var d=jt(r,n.havingStyle(o.sub()),n);s={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var h=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=Je.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-i+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:i+"em"},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var p=e.height-a;c=Je.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-i+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var m=e.depth+a;c=Je.makeVList({positionType:"bottom",positionData:m,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:i+"em"},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}return Je.makeSpan(["mop","op-limits"],[c],n)},tn=["\\smallint"],rn=function(e,t){var r,n,o,i=!1,a=et(e,"supsub");a?(r=a.sup,n=a.sub,o=Qe(a.base,"op"),i=!0):o=Qe(e,"op");var s,l=t.style,c=!1;if(l.size===x.DISPLAY.size&&o.symbol&&!d.contains(tn,o.name)&&(c=!0),o.symbol){var u=c?"Size2-Regular":"Size1-Regular",h="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(h=o.name.substr(1),o.name="oiint"===h?"\\iint":"\\iiint"),s=Je.makeSymbol(o.name,u,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),h.length>0){var p=s.italic,m=Je.staticSvg(h+"Size"+(c?"2":"1"),t);s=Je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:m,shift:c?.08:0}]},t),o.name="\\"+h,s.classes.unshift("mop"),s.italic=p}}else if(o.body){var f=wt(o.body,t,!0);1===f.length&&f[0]instanceof L?(s=f[0]).classes[0]="mop":s=Je.makeSpan(["mop"],Je.tryCombineChars(f),t)}else{for(var g=[],b=1;b<o.name.length;b++)g.push(Je.mathsym(o.name[b],o.mode,t));s=Je.makeSpan(["mop"],g,t)}var v=0,y=0;return(s instanceof L||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(v=(s.height-s.depth)/2-t.fontMetrics().axisHeight,y=s.italic),i?en(s,r,n,t,l,y,v):(v&&(s.style.position="relative",s.style.top=v+"em"),s)},nn=function(e,t){var r;if(e.symbol)r=new At("mo",[zt(e.name,e.mode)]),d.contains(tn,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new At("mo",Lt(e.body,t));else{r=new At("mi",[new It(e.name.slice(1))]);var n=new At("mo",[zt("","text")]);r=e.parentIsSupSub?new At("mo",[r,n]):Nt([r,n])}return r},on={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","":"\\bigvee","⋂":"\\bigcap","":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ht({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","","⋂","","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:function(e,t){var r=e.parser,n=e.funcName;return 1===n.length&&(n=on[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:rn,mathmlBuilder:nn}),ht({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mt(n)}},htmlBuilder:rn,mathmlBuilder:nn});var an={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ht({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(e){var t=e.parser,r=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:rn,mathmlBuilder:nn}),ht({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(e){var t=e.parser,r=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:rn,mathmlBuilder:nn}),ht({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler:function(e){var t=e.parser,r=e.funcName;return 1===r.length&&(r=an[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:rn,mathmlBuilder:nn});var sn=function(e,t){var r,n,o,i,a=!1,s=et(e,"supsub");if(s?(r=s.sup,n=s.sub,o=Qe(s.base,"operatorname"),a=!0):o=Qe(e,"operatorname"),o.body.length>0){for(var l=o.body.map((function(e){var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),c=wt(l,t.withFont("mathrm"),!0),u=0;u<c.length;u++){var d=c[u];d instanceof L&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=Je.makeSpan(["mop"],c,t)}else i=Je.makeSpan(["mop"],[],t);return a?en(i,r,n,t,t.style,0,0):i};function ln(e,t,r){for(var n=wt(e,t,!1),o=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var a=n[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[a+1]==="reset-size"+t.size&&(n[i].classes[a+1]="reset-size"+r.size),n[i].height*=o,n[i].depth*=o}return Je.makeFragment(n)}ht({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,o=t[0];return{type:"operatorname",mode:r.mode,body:mt(o),alwaysHandleSupSub:"\\operatorname*"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:sn,mathmlBuilder:function(e,t){for(var r=Lt(e.body,t.withFont("mathrm")),n=!0,o=0;o<r.length;o++){var i=r[o];if(i instanceof Et.SpaceNode);else if(i instanceof Et.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=i.children[0];1===i.children.length&&a instanceof Et.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break;default:n=!1}else n=!1}if(n){var s=r.map((function(e){return e.toText()})).join("");r=[new Et.TextNode(s)]}var l=new Et.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new Et.MathNode("mo",[zt("","text")]);return e.parentIsSupSub?new Et.MathNode("mo",[l,c]):Et.newDocumentFragment([l,c])}}),pt({type:"ordgroup",htmlBuilder:function(e,t){return e.semisimple?Je.makeFragment(wt(e.body,t,!1)):Je.makeSpan(["mord"],wt(e.body,t,!0),t)},mathmlBuilder:function(e,t){return Bt(e.body,t,!0)}}),ht({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder:function(e,t){var r=jt(e.body,t.havingCrampedStyle()),n=Je.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]},t);return Je.makeSpan(["mord","overline"],[i],t)},mathmlBuilder:function(e,t){var r=new Et.MathNode("mo",[new Et.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new Et.MathNode("mover",[Tt(e.body,t),r]);return n.setAttribute("accent","true"),n}}),ht({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[0];return{type:"phantom",mode:r.mode,body:mt(n)}},htmlBuilder:function(e,t){var r=wt(e.body,t.withPhantom(),!1);return Je.makeFragment(r)},mathmlBuilder:function(e,t){var r=Lt(e.body,t);return new Et.MathNode("mphantom",r)}}),ht({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:function(e,t){var r=Je.makeSpan([],[jt(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),Je.makeSpan(["mord"],[r],t)},mathmlBuilder:function(e,t){var r=Lt(mt(e.body),t),n=new Et.MathNode("mphantom",r),o=new Et.MathNode("mpadded",[n]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),ht({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:function(e,t){var r=Je.makeSpan(["inner"],[jt(e.body,t.withPhantom())]),n=Je.makeSpan(["fix"],[]);return Je.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:function(e,t){var r=Lt(mt(e.body),t),n=new Et.MathNode("mphantom",r),o=new Et.MathNode("mpadded",[n]);return o.setAttribute("width","0px"),o}}),ht({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=Qe(t[0],"size").value,o=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder:function(e,t){var r=jt(e.body,t),n=Fe(e.dy,t);return Je.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:function(e,t){var r=new Et.MathNode("mpadded",[Tt(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),ht({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,r){var n=e.parser,o=r[0],i=Qe(t[0],"size"),a=Qe(t[1],"size");return{type:"rule",mode:n.mode,shift:o&&Qe(o,"size").value,width:i.value,height:a.value}},htmlBuilder:function(e,t){var r=Je.makeSpan(["mord","rule"],[],t),n=Fe(e.width,t),o=Fe(e.height,t),i=e.shift?Fe(e.shift,t):0;return r.style.borderRightWidth=n+"em",r.style.borderTopWidth=o+"em",r.style.bottom=i+"em",r.width=n,r.height=o+i,r.depth=-i,r.maxFontSize=1.125*o*t.sizeMultiplier,r},mathmlBuilder:function(e,t){var r=Fe(e.width,t),n=Fe(e.height,t),o=e.shift?Fe(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new Et.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",r+"em"),a.setAttribute("height",n+"em");var s=new Et.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height","+"+o+"em"):(s.setAttribute("height",o+"em"),s.setAttribute("depth","+"+-o+"em")),s.setAttribute("voffset",o+"em"),s}});var cn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ht({type:"sizing",names:cn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,o=e.parser,i=o.parseExpression(!1,r);return{type:"sizing",mode:o.mode,size:cn.indexOf(n)+1,body:i}},htmlBuilder:function(e,t){var r=t.havingSize(e.size);return ln(e.body,r,t)},mathmlBuilder:function(e,t){var r=t.havingSize(e.size),n=Lt(e.body,r),o=new Et.MathNode("mstyle",n);return o.setAttribute("mathsize",r.sizeMultiplier+"em"),o}}),ht({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,r){var n=e.parser,o=!1,i=!1,a=r[0]&&Qe(r[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l)if("t"===(s=a.body[l].text))o=!0;else{if("b"!==s){o=!1,i=!1;break}i=!0}else o=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:o,smashDepth:i}},htmlBuilder:function(e,t){var r=Je.makeSpan([],[jt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var o=0;o<r.children.length;o++)r.children[o].depth=0;var i=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return Je.makeSpan(["mord"],[i],t)},mathmlBuilder:function(e,t){var r=new Et.MathNode("mpadded",[Tt(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ht({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,r){var n=e.parser,o=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:o}},htmlBuilder:function(e,t){var r=jt(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=Je.wrapFragment(r,t);var n=t.fontMetrics().defaultRuleThickness,o=n;t.style.id<x.TEXT.id&&(o=t.fontMetrics().xHeight);var i=n+o/4,a=r.height+r.depth+i+n,s=yr(a,t),l=s.span,c=s.ruleWidth,u=s.advanceWidth,d=l.height-c;d>r.height+r.depth+i&&(i=(i+d-r.height-r.depth)/2);var h=l.height-r.height-i-c;r.style.paddingLeft=u+"em";var p=Je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+h)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){var m=t.havingStyle(x.SCRIPTSCRIPT),f=jt(e.index,m,t),g=.6*(p.height-p.depth),b=Je.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:f}]},t),v=Je.makeSpan(["root"],[b]);return Je.makeSpan(["mord","sqrt"],[v,p],t)}return Je.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var r=e.body,n=e.index;return n?new Et.MathNode("mroot",[Tt(r,t),Tt(n,t)]):new Et.MathNode("msqrt",[Tt(r,t)])}});var un={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT};ht({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,o=e.parser,i=o.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder:function(e,t){var r=un[e.style],n=t.havingStyle(r).withFont("");return ln(e.body,n,t)},mathmlBuilder:function(e,t){var r=un[e.style],n=t.havingStyle(r),o=Lt(e.body,n),i=new Et.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}}),pt({type:"supsub",htmlBuilder:function(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===x.DISPLAY.size||r.alwaysHandleSupSub)?rn:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===x.DISPLAY.size||r.limits)?sn:null:"accent"===r.type?d.isCharacterBox(r.base)?Gt:null:"horizBrace"===r.type&&!e.sub===r.isOver?Kr:null:null}(e,t);if(r)return r(e,t);var n,o,i,a=e.base,s=e.sup,l=e.sub,c=jt(a,t),u=t.fontMetrics(),h=0,p=0,m=a&&d.isCharacterBox(a);if(s){var f=t.havingStyle(t.style.sup());n=jt(s,f,t),m||(h=c.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());o=jt(l,g,t),m||(p=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===x.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var b,v=t.sizeMultiplier,y=.5/u.ptPerEm/v+"em",w=null;if(o){var S=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof L||S)&&(w=-c.italic+"em")}if(n&&o){h=Math.max(h,i,n.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var k=4*u.defaultRuleThickness;if(h-n.depth-(o.height-p)<k){p=k-(h-n.depth)+o.height;var C=.8*u.xHeight-(h-n.depth);C>0&&(h+=C,p-=C)}var $=[{type:"elem",elem:o,shift:p,marginRight:y,marginLeft:w},{type:"elem",elem:n,shift:-h,marginRight:y}];b=Je.makeVList({positionType:"individualShift",children:$},t)}else if(o){p=Math.max(p,u.sub1,o.height-.8*u.xHeight);var j=[{type:"elem",elem:o,marginLeft:w,marginRight:y}];b=Je.makeVList({positionType:"shift",positionData:p,children:j},t)}else{if(!n)throw new Error("supsub must have either sup or sub.");h=Math.max(h,i,n.depth+.25*u.xHeight),b=Je.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:n,marginRight:y}]},t)}var O=Ct(c,"right")||"mord";return Je.makeSpan([O],[c,Je.makeSpan(["msupsub"],[b])],t)},mathmlBuilder:function(e,t){var r,n=!1,o=et(e.base,"horizBrace");o&&!!e.sup===o.isOver&&(n=!0,r=o.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var i,a=[Tt(e.base,t)];if(e.sub&&a.push(Tt(e.sub,t)),e.sup&&a.push(Tt(e.sup,t)),n)i=r?"mover":"munder";else if(e.sub)if(e.sup){var s=e.base;i=s&&"op"===s.type&&s.limits&&t.style===x.DISPLAY||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===x.DISPLAY||s.limits)?"munderover":"msubsup"}else{var l=e.base;i=l&&"op"===l.type&&l.limits&&(t.style===x.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===x.DISPLAY)?"munder":"msub"}else{var c=e.base;i=c&&"op"===c.type&&c.limits&&(t.style===x.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===x.DISPLAY)?"mover":"msup"}return new Et.MathNode(i,a)}}),pt({type:"atom",htmlBuilder:function(e,t){return Je.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var r=new Et.MathNode("mo",[zt(e.text,e.mode)]);if("bin"===e.family){var n=Pt(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var dn={mi:"italic",mn:"normal",mtext:"normal"};pt({type:"mathord",htmlBuilder:function(e,t){return Je.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var r=new Et.MathNode("mi",[zt(e.text,e.mode,t)]),n=Pt(e,t)||"italic";return n!==dn[r.type]&&r.setAttribute("mathvariant",n),r}}),pt({type:"textord",htmlBuilder:function(e,t){return Je.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var r,n=zt(e.text,e.mode,t),o=Pt(e,t)||"normal";return r="text"===e.mode?new Et.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new Et.MathNode("mn",[n]):"\\prime"===e.text?new Et.MathNode("mo",[n]):new Et.MathNode("mi",[n]),o!==dn[r.type]&&r.setAttribute("mathvariant",o),r}});var hn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pt({type:"spacing",htmlBuilder:function(e,t){if(pn.hasOwnProperty(e.text)){var r=pn[e.text].className||"";if("text"===e.mode){var n=Je.makeOrd(e,t,"textord");return n.classes.push(r),n}return Je.makeSpan(["mspace",r],[Je.mathsym(e.text,e.mode,t)],t)}if(hn.hasOwnProperty(e.text))return Je.makeSpan(["mspace",hn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!pn.hasOwnProperty(e.text)){if(hn.hasOwnProperty(e.text))return new Et.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return new Et.MathNode("mtext",[new Et.TextNode(" ")])}});var mn=function(){var e=new Et.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};pt({type:"tag",mathmlBuilder:function(e,t){var r=new Et.MathNode("mtable",[new Et.MathNode("mtr",[mn(),new Et.MathNode("mtd",[Bt(e.body,t)]),mn(),new Et.MathNode("mtd",[Bt(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var fn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},gn={"\\textbf":"textbf","\\textmd":"textmd"},bn={"\\textit":"textit","\\textup":"textup"},vn=function(e,t){var r=e.font;return r?fn[r]?t.withTextFontFamily(fn[r]):gn[r]?t.withTextFontWeight(gn[r]):t.withTextFontShape(bn[r]):t};ht({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,o=t[0];return{type:"text",mode:r.mode,body:mt(o),font:n}},htmlBuilder:function(e,t){var r=vn(e,t),n=wt(e.body,r,!0);return Je.makeSpan(["mord","text"],Je.tryCombineChars(n),r)},mathmlBuilder:function(e,t){var r=vn(e,t);return Bt(e.body,r)}}),ht({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var r=jt(e.body,t),n=Je.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Je.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:o},{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r}]},t);return Je.makeSpan(["mord","underline"],[i],t)},mathmlBuilder:function(e,t){var r=new Et.MathNode("mo",[new Et.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new Et.MathNode("munder",[Tt(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),ht({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,r){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var r=yn(e),n=[],o=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),n.push(Je.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return Je.makeSpan(["mord","text"].concat(o.sizingClasses(t)),Je.tryCombineChars(n),o)},mathmlBuilder:function(e,t){var r=new Et.TextNode(yn(e)),n=new Et.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var yn=function(e){return e.body.replace(/ /g,e.star?"␣":" ")},wn=ct,xn="[ \r\n\t]",Sn="\\\\[a-zA-Z@]+",kn=""+Sn+xn+"*",Cn=new RegExp("^("+Sn+")"+xn+"*$"),$n="[̀-ͯ]",jn=new RegExp($n+"+$"),On="("+xn+"+)|([!-\\[\\]-‧‪-퟿豈-￿]"+$n+"*|[\ud800-\udbff][\udc00-\udfff]"+$n+"*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|"+kn+"|\\\\[^\ud800-\udfff])",_n=function(){function e(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(On,"g"),this.catcodes={"%":14}}var t=e.prototype;return t.setCatcode=function(e,t){this.catcodes[e]=t},t.lex=function(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new o("EOF",new n(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new a("Unexpected character: '"+e[t]+"'",new o(e[t],new n(this,t,t+1)));var i=r[2]||" ";if(14===this.catcodes[i]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}var l=i.match(Cn);return l&&(i=l[1]),new o(i,new n(this,t,this.tokenRegex.lastIndex))},e}(),Nn=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}var t=e.prototype;return t.beginGroup=function(){this.undefStack.push({})},t.endGroup=function(){if(0===this.undefStack.length)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}this.current[e]=t},e}(),An={},In=An;function En(e,t){An[e]=t}En("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),En("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),En("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),En("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),En("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var zn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};En("\\char",(function(e){var t,r=e.popToken(),n="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])n=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new a("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=zn[r.text])||n>=t)throw new a("Invalid base-"+t+" digit "+r.text);for(var o;null!=(o=zn[e.future().text])&&o<t;)n*=t,n+=o,e.popToken()}return"\\@char{"+n+"}"}));var Mn=function(e,t){var r=e.consumeArgs(1)[0];if(1!==r.length)throw new a("\\gdef's first argument must be a macro name");var n=r[0].text,o=0;for(r=e.consumeArgs(1)[0];1===r.length&&"#"===r[0].text;){if(1!==(r=e.consumeArgs(1)[0]).length)throw new a('Invalid argument number length "'+r.length+'"');if(!/^[1-9]$/.test(r[0].text))throw new a('Invalid argument number "'+r[0].text+'"');if(o++,parseInt(r[0].text)!==o)throw new a('Argument number "'+r[0].text+'" out of order');r=e.consumeArgs(1)[0]}return e.macros.set(n,{tokens:r,numArgs:o},t),""};En("\\gdef",(function(e){return Mn(e,!0)})),En("\\def",(function(e){return Mn(e,!1)})),En("\\global",(function(e){var t=e.consumeArgs(1)[0];if(1!==t.length)throw new a("Invalid command after \\global");var r=t[0].text;if("\\def"===r)return Mn(e,!0);throw new a("Invalid command '"+r+"' after \\global")}));var Pn=function(e,t,r){var n=e.consumeArgs(1)[0];if(1!==n.length)throw new a("\\newcommand's first argument must be a macro name");var o=n[0].text,i=e.isDefined(o);if(i&&!t)throw new a("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!i&&!r)throw new a("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var s=0;if(1===(n=e.consumeArgs(1)[0]).length&&"["===n[0].text){for(var l="",c=e.expandNextToken();"]"!==c.text&&"EOF"!==c.text;)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+l);s=parseInt(l),n=e.consumeArgs(1)[0]}return e.macros.set(o,{tokens:n,numArgs:s}),""};En("\\newcommand",(function(e){return Pn(e,!1,!0)})),En("\\renewcommand",(function(e){return Pn(e,!0,!1)})),En("\\providecommand",(function(e){return Pn(e,!0,!0)})),En("\\bgroup","{"),En("\\egroup","}"),En("\\lq","`"),En("\\rq","'"),En("\\aa","\\r a"),En("\\AA","\\r A"),En("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),En("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),En("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),En("","\\mathscr{B}"),En("","\\mathscr{E}"),En("","\\mathscr{F}"),En("","\\mathscr{H}"),En("","\\mathscr{I}"),En("","\\mathscr{L}"),En("","\\mathscr{M}"),En("","\\mathscr{R}"),En("","\\mathfrak{C}"),En("","\\mathfrak{H}"),En("","\\mathfrak{Z}"),En("\\Bbbk","\\Bbb{k}"),En("·","\\cdotp"),En("\\llap","\\mathllap{\\textrm{#1}}"),En("\\rlap","\\mathrlap{\\textrm{#1}}"),En("\\clap","\\mathclap{\\textrm{#1}}"),En("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),En("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),En("\\ne","\\neq"),En("≠","\\neq"),En("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),En("∉","\\notin"),En("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),En("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),En("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),En("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),En("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),En("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),En("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),En("⟂","\\perp"),En("‼","\\mathclose{!\\mkern-0.8mu!}"),En("∌","\\notni"),En("⌜","\\ulcorner"),En("⌝","\\urcorner"),En("⌞","\\llcorner"),En("⌟","\\lrcorner"),En("©","\\copyright"),En("®","\\textregistered"),En("","\\textregistered"),En("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),En("⋮","\\vdots"),En("\\varGamma","\\mathit{\\Gamma}"),En("\\varDelta","\\mathit{\\Delta}"),En("\\varTheta","\\mathit{\\Theta}"),En("\\varLambda","\\mathit{\\Lambda}"),En("\\varXi","\\mathit{\\Xi}"),En("\\varPi","\\mathit{\\Pi}"),En("\\varSigma","\\mathit{\\Sigma}"),En("\\varUpsilon","\\mathit{\\Upsilon}"),En("\\varPhi","\\mathit{\\Phi}"),En("\\varPsi","\\mathit{\\Psi}"),En("\\varOmega","\\mathit{\\Omega}"),En("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),En("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),En("\\boxed","\\fbox{$\\displaystyle{#1}$}"),En("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),En("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),En("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ln={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};En("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Ln?t=Ln[r]:("\\not"===r.substr(0,4)||r in X.math&&d.contains(["bin","rel"],X.math[r].group))&&(t="\\dotsb"),t}));var Bn={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};En("\\dotso",(function(e){return e.future().text in Bn?"\\ldots\\,":"\\ldots"})),En("\\dotsc",(function(e){var t=e.future().text;return t in Bn&&","!==t?"\\ldots\\,":"\\ldots"})),En("\\cdots",(function(e){return e.future().text in Bn?"\\@cdots\\,":"\\@cdots"})),En("\\dotsb","\\cdots"),En("\\dotsm","\\cdots"),En("\\dotsi","\\!\\cdots"),En("\\dotsx","\\ldots\\,"),En("\\DOTSI","\\relax"),En("\\DOTSB","\\relax"),En("\\DOTSX","\\relax"),En("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),En("\\,","\\tmspace+{3mu}{.1667em}"),En("\\thinspace","\\,"),En("\\>","\\mskip{4mu}"),En("\\:","\\tmspace+{4mu}{.2222em}"),En("\\medspace","\\:"),En("\\;","\\tmspace+{5mu}{.2777em}"),En("\\thickspace","\\;"),En("\\!","\\tmspace-{3mu}{.1667em}"),En("\\negthinspace","\\!"),En("\\negmedspace","\\tmspace-{4mu}{.2222em}"),En("\\negthickspace","\\tmspace-{5mu}{.277em}"),En("\\enspace","\\kern.5em "),En("\\enskip","\\hskip.5em\\relax"),En("\\quad","\\hskip1em\\relax"),En("\\qquad","\\hskip2em\\relax"),En("\\tag","\\@ifstar\\tag@literal\\tag@paren"),En("\\tag@paren","\\tag@literal{({#1})}"),En("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),En("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),En("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),En("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),En("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),En("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),En("\\\\","\\newline"),En("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Tn=D["Main-Regular"]["T".charCodeAt(0)][1]-.7*D["Main-Regular"]["A".charCodeAt(0)][1]+"em";En("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Tn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),En("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Tn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),En("\\hspace","\\@ifstar\\@hspacer\\@hspace"),En("\\@hspace","\\hskip #1\\relax"),En("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),En("\\ordinarycolon",":"),En("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),En("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),En("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),En("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),En("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),En("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),En("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),En("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),En("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),En("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),En("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),En("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),En("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),En("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),En("∷","\\dblcolon"),En("∹","\\eqcolon"),En("≔","\\coloneqq"),En("≕","\\eqqcolon"),En("⩴","\\Coloneqq"),En("\\ratio","\\vcentcolon"),En("\\coloncolon","\\dblcolon"),En("\\colonequals","\\coloneqq"),En("\\coloncolonequals","\\Coloneqq"),En("\\equalscolon","\\eqqcolon"),En("\\equalscoloncolon","\\Eqqcolon"),En("\\colonminus","\\coloneq"),En("\\coloncolonminus","\\Coloneq"),En("\\minuscolon","\\eqcolon"),En("\\minuscoloncolon","\\Eqcolon"),En("\\coloncolonapprox","\\Colonapprox"),En("\\coloncolonsim","\\Colonsim"),En("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),En("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),En("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),En("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),En("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),En("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),En("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),En("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),En("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),En("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),En("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),En("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),En("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),En("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),En("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),En("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),En("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),En("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),En("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),En("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),En("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),En("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),En("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),En("⟦","\\llbracket"),En("⟧","\\rrbracket"),En("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),En("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),En("⦃","\\lBrace"),En("⦄","\\rBrace"),En("\\darr","\\downarrow"),En("\\dArr","\\Downarrow"),En("\\Darr","\\Downarrow"),En("\\lang","\\langle"),En("\\rang","\\rangle"),En("\\uarr","\\uparrow"),En("\\uArr","\\Uparrow"),En("\\Uarr","\\Uparrow"),En("\\N","\\mathbb{N}"),En("\\R","\\mathbb{R}"),En("\\Z","\\mathbb{Z}"),En("\\alef","\\aleph"),En("\\alefsym","\\aleph"),En("\\Alpha","\\mathrm{A}"),En("\\Beta","\\mathrm{B}"),En("\\bull","\\bullet"),En("\\Chi","\\mathrm{X}"),En("\\clubs","\\clubsuit"),En("\\cnums","\\mathbb{C}"),En("\\Complex","\\mathbb{C}"),En("\\Dagger","\\ddagger"),En("\\diamonds","\\diamondsuit"),En("\\empty","\\emptyset"),En("\\Epsilon","\\mathrm{E}"),En("\\Eta","\\mathrm{H}"),En("\\exist","\\exists"),En("\\harr","\\leftrightarrow"),En("\\hArr","\\Leftrightarrow"),En("\\Harr","\\Leftrightarrow"),En("\\hearts","\\heartsuit"),En("\\image","\\Im"),En("\\infin","\\infty"),En("\\Iota","\\mathrm{I}"),En("\\isin","\\in"),En("\\Kappa","\\mathrm{K}"),En("\\larr","\\leftarrow"),En("\\lArr","\\Leftarrow"),En("\\Larr","\\Leftarrow"),En("\\lrarr","\\leftrightarrow"),En("\\lrArr","\\Leftrightarrow"),En("\\Lrarr","\\Leftrightarrow"),En("\\Mu","\\mathrm{M}"),En("\\natnums","\\mathbb{N}"),En("\\Nu","\\mathrm{N}"),En("\\Omicron","\\mathrm{O}"),En("\\plusmn","\\pm"),En("\\rarr","\\rightarrow"),En("\\rArr","\\Rightarrow"),En("\\Rarr","\\Rightarrow"),En("\\real","\\Re"),En("\\reals","\\mathbb{R}"),En("\\Reals","\\mathbb{R}"),En("\\Rho","\\mathrm{P}"),En("\\sdot","\\cdot"),En("\\sect","\\S"),En("\\spades","\\spadesuit"),En("\\sub","\\subset"),En("\\sube","\\subseteq"),En("\\supe","\\supseteq"),En("\\Tau","\\mathrm{T}"),En("\\thetasym","\\vartheta"),En("\\weierp","\\wp"),En("\\Zeta","\\mathrm{Z}"),En("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),En("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),En("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),En("\\blue","\\textcolor{##6495ed}{#1}"),En("\\orange","\\textcolor{##ffa500}{#1}"),En("\\pink","\\textcolor{##ff00af}{#1}"),En("\\red","\\textcolor{##df0030}{#1}"),En("\\green","\\textcolor{##28ae7b}{#1}"),En("\\gray","\\textcolor{gray}{#1}"),En("\\purple","\\textcolor{##9d38bd}{#1}"),En("\\blueA","\\textcolor{##ccfaff}{#1}"),En("\\blueB","\\textcolor{##80f6ff}{#1}"),En("\\blueC","\\textcolor{##63d9ea}{#1}"),En("\\blueD","\\textcolor{##11accd}{#1}"),En("\\blueE","\\textcolor{##0c7f99}{#1}"),En("\\tealA","\\textcolor{##94fff5}{#1}"),En("\\tealB","\\textcolor{##26edd5}{#1}"),En("\\tealC","\\textcolor{##01d1c1}{#1}"),En("\\tealD","\\textcolor{##01a995}{#1}"),En("\\tealE","\\textcolor{##208170}{#1}"),En("\\greenA","\\textcolor{##b6ffb0}{#1}"),En("\\greenB","\\textcolor{##8af281}{#1}"),En("\\greenC","\\textcolor{##74cf70}{#1}"),En("\\greenD","\\textcolor{##1fab54}{#1}"),En("\\greenE","\\textcolor{##0d923f}{#1}"),En("\\goldA","\\textcolor{##ffd0a9}{#1}"),En("\\goldB","\\textcolor{##ffbb71}{#1}"),En("\\goldC","\\textcolor{##ff9c39}{#1}"),En("\\goldD","\\textcolor{##e07d10}{#1}"),En("\\goldE","\\textcolor{##a75a05}{#1}"),En("\\redA","\\textcolor{##fca9a9}{#1}"),En("\\redB","\\textcolor{##ff8482}{#1}"),En("\\redC","\\textcolor{##f9685d}{#1}"),En("\\redD","\\textcolor{##e84d39}{#1}"),En("\\redE","\\textcolor{##bc2612}{#1}"),En("\\maroonA","\\textcolor{##ffbde0}{#1}"),En("\\maroonB","\\textcolor{##ff92c6}{#1}"),En("\\maroonC","\\textcolor{##ed5fa6}{#1}"),En("\\maroonD","\\textcolor{##ca337c}{#1}"),En("\\maroonE","\\textcolor{##9e034e}{#1}"),En("\\purpleA","\\textcolor{##ddd7ff}{#1}"),En("\\purpleB","\\textcolor{##c6b9fc}{#1}"),En("\\purpleC","\\textcolor{##aa87ff}{#1}"),En("\\purpleD","\\textcolor{##7854ab}{#1}"),En("\\purpleE","\\textcolor{##543b78}{#1}"),En("\\mintA","\\textcolor{##f5f9e8}{#1}"),En("\\mintB","\\textcolor{##edf2df}{#1}"),En("\\mintC","\\textcolor{##e0e5cc}{#1}"),En("\\grayA","\\textcolor{##f6f7f7}{#1}"),En("\\grayB","\\textcolor{##f0f1f2}{#1}"),En("\\grayC","\\textcolor{##e3e5e6}{#1}"),En("\\grayD","\\textcolor{##d6d8da}{#1}"),En("\\grayE","\\textcolor{##babec2}{#1}"),En("\\grayF","\\textcolor{##888d93}{#1}"),En("\\grayG","\\textcolor{##626569}{#1}"),En("\\grayH","\\textcolor{##3b3e40}{#1}"),En("\\grayI","\\textcolor{##21242c}{#1}"),En("\\kaBlue","\\textcolor{##314453}{#1}"),En("\\kaGreen","\\textcolor{##71B307}{#1}");var Rn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Fn=function(){function e(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Nn(In,t.macros),this.mode=r,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new _n(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},t.consumeArgs=function(e){for(var t=[],r=0;r<e;++r){this.consumeSpaces();var n=this.popToken();if("{"===n.text){for(var o=[],i=1;0!==i;){var s=this.popToken();if(o.push(s),"{"===s.text)++i;else if("}"===s.text)--i;else if("EOF"===s.text)throw new a("End of input in macro argument",n)}o.pop(),o.reverse(),t[r]=o}else{if("EOF"===n.text)throw new a("End of input expecting macro argument");t[r]=[n]}}return t},t.expandOnce=function(){var e=this.popToken(),t=e.text,r=this._getExpansion(t);if(null==r)return this.pushToken(e),e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var n=r.tokens;if(r.numArgs)for(var o=this.consumeArgs(r.numArgs),i=(n=n.slice()).length-1;i>=0;--i){var s=n[i];if("#"===s.text){if(0===i)throw new a("Incomplete placeholder at end of macro body",s);if("#"===(s=n[--i]).text)n.splice(i+1,1);else{if(!/^[1-9]$/.test(s.text))throw new a("Not a valid argument number",s);var l;(l=n).splice.apply(l,[i,2].concat(o[+s.text-1]))}}}return this.pushTokens(n),n},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof o){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],r=this.stack.length;for(this.pushToken(new o(e));this.stack.length>r;)this.expandOnce()instanceof o&&t.push(this.stack.pop());return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var r="function"==typeof t?t(this):t;if("string"==typeof r){var n=0;if(-1!==r.indexOf("#"))for(var o=r.replace(/##/g,"");-1!==o.indexOf("#"+(n+1));)++n;for(var i=new _n(r,this.settings),a=[],s=i.lex();"EOF"!==s.text;)a.push(s),s=i.lex();return a.reverse(),{tokens:a,numArgs:n}}return r},t.isDefined=function(e){return this.macros.has(e)||wn.hasOwnProperty(e)||X.math.hasOwnProperty(e)||X.text.hasOwnProperty(e)||Rn.hasOwnProperty(e)},e}(),Dn={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},qn={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","č":"č","ĉ":"ĉ","ċ":"ċ","ď":"ď","ḋ":"ḋ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ĺ":"ĺ","ľ":"ľ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ď":"Ď","Ḋ":"Ḋ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ĺ":"Ĺ","Ľ":"Ľ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ť":"Ť","Ṫ":"Ṫ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},Hn=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Fn(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,r){for(var n=[];;){"math"===this.mode&&this.consumeSpaces();var o=this.fetch();if(-1!==e.endOfExpression.indexOf(o.text))break;if(r&&o.text===r)break;if(t&&wn[o.text]&&wn[o.text].infix)break;var i=this.parseAtom(r);if(!i)break;n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)},t.handleInfixNodes=function(e){for(var t,r=-1,n=0;n<e.length;n++){var o=et(e[n],"infix");if(o){if(-1!==r)throw new a("only one infix operator per group",o.token);r=n,t=o.replaceWith}}if(-1!==r&&t){var i,s,l=e.slice(0,r),c=e.slice(r+1);return i=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},s=1===c.length&&"ordgroup"===c[0].type?c[0]:{type:"ordgroup",mode:this.mode,body:c},["\\\\abovefrac"===t?this.callFunction(t,[i,e[r],s],[]):this.callFunction(t,[i,s],[])]}return e},t.handleSupSubscript=function(t){var r=this.fetch(),n=r.text;this.consume();var o=this.parseGroup(t,!1,e.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!o)throw new a("Expected group after '"+n+"'",r);return o},t.formatUnsupportedCmd=function(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}},t.parseAtom=function(e){var t,r,n=this.parseGroup("atom",!1,null,e);if("text"===this.mode)return n;for(;;){this.consumeSpaces();var o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){var i=et(n,"op");if(i){var s="\\limits"===o.text;i.limits=s,i.alwaysHandleSupSub=!0}else{if(!(i=et(n,"operatorname"))||!i.alwaysHandleSupSub)throw new a("Limit controls must follow a math operator",o);var l="\\limits"===o.text;i.limits=l}this.consume()}else if("^"===o.text){if(t)throw new a("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(r)throw new a("Double subscript",o);r=this.handleSupSubscript("subscript")}else{if("'"!==o.text)break;if(t)throw new a("Double superscript",o);var c={type:"textord",mode:this.mode,text:"\\prime"},u=[c];for(this.consume();"'"===this.fetch().text;)u.push(c),this.consume();"^"===this.fetch().text&&u.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:u}}}return t||r?{type:"supsub",mode:this.mode,base:n,sup:t,sub:r}:n},t.parseFunction=function(e,t,r){var n=this.fetch(),o=n.text,i=wn[o];if(!i)return null;if(this.consume(),null!=r&&i.greediness<=r)throw new a("Got function '"+o+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!i.allowedInText)throw new a("Can't use function '"+o+"' in text mode",n);if("math"===this.mode&&!1===i.allowedInMath)throw new a("Can't use function '"+o+"' in math mode",n);var s=this.parseArguments(o,i),l=s.args,c=s.optArgs;return this.callFunction(o,l,c,n,e)},t.callFunction=function(e,t,r,n,o){var i={funcName:e,parser:this,token:n,breakOnTokenText:o},s=wn[e];if(s&&s.handler)return s.handler(i,t,r);throw new a("No function handler for "+e)},t.parseArguments=function(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=t.greediness,o=[],i=[],s=0;s<r;s++){var l=t.argTypes&&t.argTypes[s],c=s<t.numOptionalArgs,u=s>0&&!c||0===s&&!c&&"math"===this.mode,d=this.parseGroupOfType("argument to '"+e+"'",l,c,n,u);if(!d){if(c){i.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(c?i:o).push(d)}return{args:o,optArgs:i}},t.parseGroupOfType=function(e,t,r,n,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(r);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r,o);case"math":case"text":return this.parseGroup(e,r,n,void 0,t,o);case"hbox":var i=this.parseGroup(e,r,n,void 0,"text",o);return i?{type:"styling",mode:i.mode,body:[i],style:"text"}:i;case"raw":if(o&&this.consumeSpaces(),r&&"{"===this.fetch().text)return null;var s=this.parseStringGroup("raw",r,!0);if(s)return{type:"raw",mode:"text",string:s.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,r,n,void 0,void 0,o);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},t.parseStringGroup=function(e,t,r){var n=t?"[":"{",o=t?"]":"}",i=this.fetch();if(i.text!==n){if(t)return null;if(r&&"EOF"!==i.text&&/[^{}[\]]/.test(i.text))return this.consume(),i}var s=this.mode;this.mode="text",this.expect(n);for(var l,c="",u=this.fetch(),d=0,h=u;(l=this.fetch()).text!==o||r&&d>0;){switch(l.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(h,c));case n:d++;break;case o:d--}c+=(h=l).text,this.consume()}return this.expect(o),this.mode=s,u.range(h,c)},t.parseRegexGroup=function(e,t){var r=this.mode;this.mode="text";for(var n,o=this.fetch(),i=o,s="";"EOF"!==(n=this.fetch()).text&&e.test(s+n.text);)s+=(i=n).text,this.consume();if(""===s)throw new a("Invalid "+t+": '"+o.text+"'",o);return this.mode=r,o.range(i,s)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var r=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new a("Invalid color: '"+t.text+"'",t);var n=r[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}},t.parseSizeGroup=function(e){var t,r=!1;if(!(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",r=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new a("Invalid size: '"+t.text+"'",t);var o={number:+(n[1]+n[2]),unit:n[3]};if(!Re(o))throw new a("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:r}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var r=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!r)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}},t.parseGroup=function(t,r,o,i,s,l){var c=this.mode;s&&this.switchMode(s),l&&this.consumeSpaces();var u,d=this.fetch(),h=d.text;if(r?"["===h:"{"===h||"\\begingroup"===h){this.consume();var p=e.endOfGroup[h];this.gullet.beginGroup();var m=this.parseExpression(!1,p),f=this.fetch();this.expect(p),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:n.range(d,f),body:m,semisimple:"\\begingroup"===h||void 0}}else if(r)u=null;else if(null==(u=this.parseFunction(i,t,o)||this.parseSymbol())&&"\\"===h[0]&&!Rn.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,d);u=this.formatUnsupportedCmd(h),this.consume()}return s&&this.switchMode(c),u},t.formLigatures=function(e){for(var t=e.length-1,r=0;r<t;++r){var o=e[r],i=o.text;"-"===i&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:n.range(o,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:n.range(o,e[r+1]),text:"--"}),t-=1)),"'"!==i&&"`"!==i||e[r+1].text!==i||(e.splice(r,2,{type:"textord",mode:"text",loc:n.range(o,e[r+1]),text:i+i}),t-=1)}},t.parseSymbol=function(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),o="*"===r.charAt(0);if(o&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:o}}qn.hasOwnProperty(t[0])&&!X[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=qn[t[0]]+t.substr(1));var i,s=jn.exec(t);if(s&&("i"===(t=t.substring(0,s.index))?t="ı":"j"===t&&(t="ȷ")),X[this.mode][t]){this.settings.strict&&"math"===this.mode&&Oe.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,c=X[this.mode][t].group,u=n.range(e);if(U.hasOwnProperty(c)){var d=c;l={type:"atom",mode:this.mode,family:d,loc:u,text:t}}else l={type:c,mode:this.mode,loc:u,text:t};i=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(C(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:n.range(e),text:t}}if(this.consume(),s)for(var h=0;h<s[0].length;h++){var p=s[0][h];if(!Dn[p])throw new a("Unknown accent ' "+p+"'",e);var m=Dn[p][this.mode];if(!m)throw new a("Accent "+p+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:n.range(e),label:m,isStretchy:!1,isShifty:!0,base:i}}return i},e}();Hn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Hn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Hn.SUPSUB_GREEDINESS=1;var Wn=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new Hn(e,t);delete r.gullet.macros.current["\\df@tag"];var n=r.parse();if(r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new a("\\tag works only in display equations");r.gullet.feed("\\df@tag"),n=[{type:"tag",mode:"text",body:n,tag:r.parse()}]}return n},Zn=function(e,t,r){t.textContent="";var n=Vn(e,r).toNode();t.appendChild(n)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Zn=function(){throw new a("KaTeX doesn't work in quirks mode.")});var Un=function(e,t,r){if(r.throwOnError||!(e instanceof a))throw e;var n=Je.makeSpan(["katex-error"],[new L(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},Vn=function(e,t){var r=new h(t);try{var n=Wn(e,r);return qt(n,e,r)}catch(t){return Un(t,e,r)}},Gn={version:"0.11.1",render:Zn,renderToString:function(e,t){return Vn(e,t).toMarkup()},ParseError:a,__parse:function(e,t){var r=new h(t);return Wn(e,r)},__renderToDomTree:Vn,__renderToHTMLTree:function(e,t){var r=new h(t);try{return function(e,t,r){var n=_t(e,Ft(r)),o=Je.makeSpan(["katex"],[n]);return Dt(o,r)}(Wn(e,r),0,r)}catch(t){return Un(t,e,r)}},__setFontMetrics:function(e,t){D[e]=t},__defineSymbol:Y,__defineMacro:En,__domTree:{Span:E,Anchor:z,SymbolNode:L,SvgNode:B,PathNode:T,LineNode:R}};t.default=Gn}]).default},e.exports=t()},95827:function(e,t,r){"use strict";r.d(t,{Z:function(){return ao}});var n=r(40797),o=r(91378);class i{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new i(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class a{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new a(t,i.range(this,e))}}class s{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,n,o="KaTeX parse error: "+e,i=t&&t.loc;if(i&&i.start<=i.end){var a=i.lexer.input;r=i.start,n=i.end,r===a.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var l=a.slice(r,n).replace(/[^]/g,"$&̲");o+=(r>15?"…"+a.slice(r-15,r):a.slice(0,r))+l+(n+15<a.length?a.slice(n,n+15)+"…":a.slice(n))}var c=new Error(o);return c.name="ParseError",c.__proto__=s.prototype,c.position=r,null!=r&&null!=n&&(c.length=n-r),c.rawMessage=e,c}}s.prototype.__proto__=Error.prototype;var l=/([A-Z])/g,c={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},u=/[&><"']/g;var d=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},h={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(u,(e=>c[e]))},hyphenate:function(e){return e.replace(l,"-$1").toLowerCase()},getBaseElem:d,isCharacterBox:function(e){var t=d(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},p={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function m(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class f{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},p)if(p.hasOwnProperty(t)){var r=p[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:m(r)}}reportNonstrict(e,t,r){var n=this.strict;if("function"==typeof n&&(n=n(e,t,r)),n&&"ignore"!==n){if(!0===n||"error"===n)throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===n?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}return!(!n||"ignore"===n)&&(!0===n||"error"===n||("warn"===n?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){var t=h.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}var r="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(r)}}class g{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return b[v[this.id]]}sub(){return b[y[this.id]]}fracNum(){return b[w[this.id]]}fracDen(){return b[x[this.id]]}cramp(){return b[S[this.id]]}text(){return b[k[this.id]]}isTight(){return this.size>=2}}var b=[new g(0,0,!1),new g(1,0,!0),new g(2,1,!1),new g(3,1,!0),new g(4,2,!1),new g(5,2,!0),new g(6,3,!1),new g(7,3,!0)],v=[4,5,4,5,6,7,6,7],y=[5,5,5,5,7,7,7,7],w=[2,3,4,5,6,7,6,7],x=[3,3,5,5,7,7,7,7],S=[1,1,3,3,5,5,7,7],k=[0,1,2,3,2,3,2,3],C={DISPLAY:b[0],TEXT:b[2],SCRIPT:b[4],SCRIPTSCRIPT:b[6]},$=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];var j=[];function O(e){for(var t=0;t<j.length;t+=2)if(e>=j[t]&&e<=j[t+1])return!0;return!1}$.forEach((e=>e.blocks.forEach((e=>j.push(...e)))));var _=80,N={doubleleftarrow:"M262 157\nl10-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\n 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\n 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\nc2 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\n 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\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-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\n 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\n-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\n-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\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-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\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 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\n-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\nc-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\n 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\n 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\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 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\n 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\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 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\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-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\n-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\n-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\n 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\n-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\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 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\n-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\n 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\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-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\n-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\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.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\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-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\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 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\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.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\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 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\n-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\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.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\n60.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\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 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\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.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\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 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\n-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\n 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\n 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\n-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\n-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\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-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\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.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\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-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\n 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\n 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\n-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\n-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\n 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\n-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\n 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\nm0 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\n 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\n-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\n-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\n 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\n 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\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-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\n 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\n-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\n 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\nM399960 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\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-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\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 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\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 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\nc-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\n 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\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-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\n 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\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-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\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 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\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -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\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-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\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-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\n-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\n-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\n-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,\n-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,\n-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,\n-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,\n-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\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-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\ns-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\n121.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\ns2.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\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-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\n13.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\n-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\n-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\n-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\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,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\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM0 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\nc1.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,\n1c0,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,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 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\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-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\nc-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\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class A{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return h.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map((e=>e.toText())).join("")}}var I={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],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:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],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:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},E={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},z={"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function M(e,t,r){if(!I[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),o=I[t][n];if(!o&&e[0]in z&&(n=z[e[0]].charCodeAt(0),o=I[t][n]),o||"text"!==r||O(n)&&(o=I[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var P={};var L=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],B=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],T=function(e,t){return t.size<2?e:L[e-1][t.size-1]};class R{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||R.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=B[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new R(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:T(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:B[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=T(R.BASESIZE,e);return this.size===t&&this.textSize===R.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==R.BASESIZE?["sizing","reset-size"+this.size,"size"+R.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!P[t=e>=5?0:e>=3?1:2]){var r=P[t]={cssEmPerMu:E.quad[t]/18};for(var n in E)E.hasOwnProperty(n)&&(r[n]=E[n][t])}return P[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}R.BASESIZE=6;var F={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},D={ex:!0,em:!0,mu:!0},q=function(e){return"string"!=typeof e&&(e=e.unit),e in F||e in D||"ex"===e},H=function(e,t){var r;if(e.unit in F)r=F[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var n;if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new s("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},W=function(e){return+e.toFixed(4)+"em"},Z=function(e){return e.filter((e=>e)).join(" ")},U=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},V=function(e){var t=document.createElement(e);for(var r in t.className=Z(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var o=0;o<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},G=/[\s"'>/=\x00-\x1f]/,X=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+h.escape(Z(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=h.hyphenate(n)+":"+this.style[n]+";");for(var o in r&&(t+=' style="'+h.escape(r)+'"'),this.attributes)if(this.attributes.hasOwnProperty(o)){if(G.test(o))throw new s("Invalid attribute name '"+o+"'");t+=" "+o+'="'+h.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class Y{constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,U.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return h.contains(this.classes,e)}toNode(){return V.call(this,"span")}toMarkup(){return X.call(this,"span")}}class K{constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,U.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return h.contains(this.classes,e)}toNode(){return V.call(this,"a")}toMarkup(){return X.call(this,"a")}}class J{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return h.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+h.escape(this.src)+'" alt="'+h.escape(this.alt)+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=h.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+h.escape(t)+'"'),e+="'/>"}}var Q={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class ee{constructor(e,t,r,n,o,i,a,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=o||0,this.width=i||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<$.length;t++)for(var r=$[t],n=0;n<r.blocks.length;n++){var o=r.blocks[n];if(e>=o[0]&&e<=o[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Q[this.text])}hasClass(e){return h.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=W(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=Z(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=h.escape(Z(this.classes)),t+='"');var r="";for(var n in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=h.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+h.escape(r)+'"');var o=h.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o}}class te{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+h.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class re{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",N[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+h.escape(this.alternate)+'"/>':'<path d="'+h.escape(N[this.pathName])+'"/>'}}class ne{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+h.escape(this.attributes[t])+'"');return e+="/>"}}function oe(e){if(e instanceof ee)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var ie={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ae={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},se={math:{},text:{}};function le(e,t,r,n,o,i){se[e][o]={font:t,group:r,replace:n},i&&n&&(se[e][n]=se[e][o])}var ce="math",ue="text",de="main",he="ams",pe="accent-token",me="bin",fe="close",ge="inner",be="mathord",ve="op-token",ye="open",we="punct",xe="rel",Se="spacing",ke="textord";le(ce,de,xe,"≡","\\equiv",!0),le(ce,de,xe,"≺","\\prec",!0),le(ce,de,xe,"≻","\\succ",!0),le(ce,de,xe,"","\\sim",!0),le(ce,de,xe,"⊥","\\perp"),le(ce,de,xe,"⪯","\\preceq",!0),le(ce,de,xe,"⪰","\\succeq",!0),le(ce,de,xe,"≃","\\simeq",!0),le(ce,de,xe,"","\\mid",!0),le(ce,de,xe,"≪","\\ll",!0),le(ce,de,xe,"≫","\\gg",!0),le(ce,de,xe,"≍","\\asymp",!0),le(ce,de,xe,"∥","\\parallel"),le(ce,de,xe,"⋈","\\bowtie",!0),le(ce,de,xe,"⌣","\\smile",!0),le(ce,de,xe,"⊑","\\sqsubseteq",!0),le(ce,de,xe,"⊒","\\sqsupseteq",!0),le(ce,de,xe,"≐","\\doteq",!0),le(ce,de,xe,"⌢","\\frown",!0),le(ce,de,xe,"∋","\\ni",!0),le(ce,de,xe,"∝","\\propto",!0),le(ce,de,xe,"⊢","\\vdash",!0),le(ce,de,xe,"⊣","\\dashv",!0),le(ce,de,xe,"∋","\\owns"),le(ce,de,we,".","\\ldotp"),le(ce,de,we,"⋅","\\cdotp"),le(ce,de,ke,"#","\\#"),le(ue,de,ke,"#","\\#"),le(ce,de,ke,"&","\\&"),le(ue,de,ke,"&","\\&"),le(ce,de,ke,"ℵ","\\aleph",!0),le(ce,de,ke,"∀","\\forall",!0),le(ce,de,ke,"ℏ","\\hbar",!0),le(ce,de,ke,"∃","\\exists",!0),le(ce,de,ke,"∇","\\nabla",!0),le(ce,de,ke,"♭","\\flat",!0),le(ce,de,ke,"","\\ell",!0),le(ce,de,ke,"♮","\\natural",!0),le(ce,de,ke,"♣","\\clubsuit",!0),le(ce,de,ke,"℘","\\wp",!0),le(ce,de,ke,"♯","\\sharp",!0),le(ce,de,ke,"♢","\\diamondsuit",!0),le(ce,de,ke,"","\\Re",!0),le(ce,de,ke,"♡","\\heartsuit",!0),le(ce,de,ke,"","\\Im",!0),le(ce,de,ke,"♠","\\spadesuit",!0),le(ce,de,ke,"§","\\S",!0),le(ue,de,ke,"§","\\S"),le(ce,de,ke,"¶","\\P",!0),le(ue,de,ke,"¶","\\P"),le(ce,de,ke,"†","\\dag"),le(ue,de,ke,"†","\\dag"),le(ue,de,ke,"†","\\textdagger"),le(ce,de,ke,"‡","\\ddag"),le(ue,de,ke,"‡","\\ddag"),le(ue,de,ke,"‡","\\textdaggerdbl"),le(ce,de,fe,"⎱","\\rmoustache",!0),le(ce,de,ye,"⎰","\\lmoustache",!0),le(ce,de,fe,"⟯","\\rgroup",!0),le(ce,de,ye,"⟮","\\lgroup",!0),le(ce,de,me,"∓","\\mp",!0),le(ce,de,me,"⊖","\\ominus",!0),le(ce,de,me,"⊎","\\uplus",!0),le(ce,de,me,"⊓","\\sqcap",!0),le(ce,de,me,"","\\ast"),le(ce,de,me,"⊔","\\sqcup",!0),le(ce,de,me,"◯","\\bigcirc",!0),le(ce,de,me,"∙","\\bullet",!0),le(ce,de,me,"‡","\\ddagger"),le(ce,de,me,"≀","\\wr",!0),le(ce,de,me,"⨿","\\amalg"),le(ce,de,me,"&","\\And"),le(ce,de,xe,"⟵","\\longleftarrow",!0),le(ce,de,xe,"⇐","\\Leftarrow",!0),le(ce,de,xe,"⟸","\\Longleftarrow",!0),le(ce,de,xe,"⟶","\\longrightarrow",!0),le(ce,de,xe,"⇒","\\Rightarrow",!0),le(ce,de,xe,"⟹","\\Longrightarrow",!0),le(ce,de,xe,"↔","\\leftrightarrow",!0),le(ce,de,xe,"⟷","\\longleftrightarrow",!0),le(ce,de,xe,"⇔","\\Leftrightarrow",!0),le(ce,de,xe,"⟺","\\Longleftrightarrow",!0),le(ce,de,xe,"↦","\\mapsto",!0),le(ce,de,xe,"⟼","\\longmapsto",!0),le(ce,de,xe,"↗","\\nearrow",!0),le(ce,de,xe,"↩","\\hookleftarrow",!0),le(ce,de,xe,"↪","\\hookrightarrow",!0),le(ce,de,xe,"↘","\\searrow",!0),le(ce,de,xe,"↼","\\leftharpoonup",!0),le(ce,de,xe,"⇀","\\rightharpoonup",!0),le(ce,de,xe,"↙","\\swarrow",!0),le(ce,de,xe,"↽","\\leftharpoondown",!0),le(ce,de,xe,"⇁","\\rightharpoondown",!0),le(ce,de,xe,"↖","\\nwarrow",!0),le(ce,de,xe,"⇌","\\rightleftharpoons",!0),le(ce,he,xe,"≮","\\nless",!0),le(ce,he,xe,"","\\@nleqslant"),le(ce,he,xe,"","\\@nleqq"),le(ce,he,xe,"⪇","\\lneq",!0),le(ce,he,xe,"≨","\\lneqq",!0),le(ce,he,xe,"","\\@lvertneqq"),le(ce,he,xe,"⋦","\\lnsim",!0),le(ce,he,xe,"⪉","\\lnapprox",!0),le(ce,he,xe,"⊀","\\nprec",!0),le(ce,he,xe,"⋠","\\npreceq",!0),le(ce,he,xe,"⋨","\\precnsim",!0),le(ce,he,xe,"⪹","\\precnapprox",!0),le(ce,he,xe,"≁","\\nsim",!0),le(ce,he,xe,"","\\@nshortmid"),le(ce,he,xe,"∤","\\nmid",!0),le(ce,he,xe,"⊬","\\nvdash",!0),le(ce,he,xe,"⊭","\\nvDash",!0),le(ce,he,xe,"⋪","\\ntriangleleft"),le(ce,he,xe,"⋬","\\ntrianglelefteq",!0),le(ce,he,xe,"⊊","\\subsetneq",!0),le(ce,he,xe,"","\\@varsubsetneq"),le(ce,he,xe,"⫋","\\subsetneqq",!0),le(ce,he,xe,"","\\@varsubsetneqq"),le(ce,he,xe,"≯","\\ngtr",!0),le(ce,he,xe,"","\\@ngeqslant"),le(ce,he,xe,"","\\@ngeqq"),le(ce,he,xe,"⪈","\\gneq",!0),le(ce,he,xe,"≩","\\gneqq",!0),le(ce,he,xe,"","\\@gvertneqq"),le(ce,he,xe,"⋧","\\gnsim",!0),le(ce,he,xe,"⪊","\\gnapprox",!0),le(ce,he,xe,"⊁","\\nsucc",!0),le(ce,he,xe,"⋡","\\nsucceq",!0),le(ce,he,xe,"⋩","\\succnsim",!0),le(ce,he,xe,"⪺","\\succnapprox",!0),le(ce,he,xe,"≆","\\ncong",!0),le(ce,he,xe,"","\\@nshortparallel"),le(ce,he,xe,"∦","\\nparallel",!0),le(ce,he,xe,"⊯","\\nVDash",!0),le(ce,he,xe,"⋫","\\ntriangleright"),le(ce,he,xe,"⋭","\\ntrianglerighteq",!0),le(ce,he,xe,"","\\@nsupseteqq"),le(ce,he,xe,"⊋","\\supsetneq",!0),le(ce,he,xe,"","\\@varsupsetneq"),le(ce,he,xe,"⫌","\\supsetneqq",!0),le(ce,he,xe,"","\\@varsupsetneqq"),le(ce,he,xe,"⊮","\\nVdash",!0),le(ce,he,xe,"⪵","\\precneqq",!0),le(ce,he,xe,"⪶","\\succneqq",!0),le(ce,he,xe,"","\\@nsubseteqq"),le(ce,he,me,"⊴","\\unlhd"),le(ce,he,me,"⊵","\\unrhd"),le(ce,he,xe,"↚","\\nleftarrow",!0),le(ce,he,xe,"↛","\\nrightarrow",!0),le(ce,he,xe,"⇍","\\nLeftarrow",!0),le(ce,he,xe,"⇏","\\nRightarrow",!0),le(ce,he,xe,"↮","\\nleftrightarrow",!0),le(ce,he,xe,"⇎","\\nLeftrightarrow",!0),le(ce,he,xe,"△","\\vartriangle"),le(ce,he,ke,"ℏ","\\hslash"),le(ce,he,ke,"▽","\\triangledown"),le(ce,he,ke,"◊","\\lozenge"),le(ce,he,ke,"Ⓢ","\\circledS"),le(ce,he,ke,"®","\\circledR"),le(ue,he,ke,"®","\\circledR"),le(ce,he,ke,"∡","\\measuredangle",!0),le(ce,he,ke,"∄","\\nexists"),le(ce,he,ke,"℧","\\mho"),le(ce,he,ke,"Ⅎ","\\Finv",!0),le(ce,he,ke,"⅁","\\Game",!0),le(ce,he,ke,"","\\backprime"),le(ce,he,ke,"▲","\\blacktriangle"),le(ce,he,ke,"▼","\\blacktriangledown"),le(ce,he,ke,"■","\\blacksquare"),le(ce,he,ke,"⧫","\\blacklozenge"),le(ce,he,ke,"★","\\bigstar"),le(ce,he,ke,"∢","\\sphericalangle",!0),le(ce,he,ke,"∁","\\complement",!0),le(ce,he,ke,"ð","\\eth",!0),le(ue,de,ke,"ð","ð"),le(ce,he,ke,"","\\diagup"),le(ce,he,ke,"╲","\\diagdown"),le(ce,he,ke,"□","\\square"),le(ce,he,ke,"□","\\Box"),le(ce,he,ke,"◊","\\Diamond"),le(ce,he,ke,"¥","\\yen",!0),le(ue,he,ke,"¥","\\yen",!0),le(ce,he,ke,"✓","\\checkmark",!0),le(ue,he,ke,"✓","\\checkmark"),le(ce,he,ke,"ℶ","\\beth",!0),le(ce,he,ke,"ℸ","\\daleth",!0),le(ce,he,ke,"ℷ","\\gimel",!0),le(ce,he,ke,"ϝ","\\digamma",!0),le(ce,he,ke,"ϰ","\\varkappa"),le(ce,he,ye,"┌","\\@ulcorner",!0),le(ce,he,fe,"┐","\\@urcorner",!0),le(ce,he,ye,"└","\\@llcorner",!0),le(ce,he,fe,"┘","\\@lrcorner",!0),le(ce,he,xe,"≦","\\leqq",!0),le(ce,he,xe,"⩽","\\leqslant",!0),le(ce,he,xe,"⪕","\\eqslantless",!0),le(ce,he,xe,"≲","\\lesssim",!0),le(ce,he,xe,"⪅","\\lessapprox",!0),le(ce,he,xe,"≊","\\approxeq",!0),le(ce,he,me,"⋖","\\lessdot"),le(ce,he,xe,"⋘","\\lll",!0),le(ce,he,xe,"≶","\\lessgtr",!0),le(ce,he,xe,"⋚","\\lesseqgtr",!0),le(ce,he,xe,"⪋","\\lesseqqgtr",!0),le(ce,he,xe,"≑","\\doteqdot"),le(ce,he,xe,"≓","\\risingdotseq",!0),le(ce,he,xe,"≒","\\fallingdotseq",!0),le(ce,he,xe,"∽","\\backsim",!0),le(ce,he,xe,"⋍","\\backsimeq",!0),le(ce,he,xe,"⫅","\\subseteqq",!0),le(ce,he,xe,"⋐","\\Subset",!0),le(ce,he,xe,"⊏","\\sqsubset",!0),le(ce,he,xe,"≼","\\preccurlyeq",!0),le(ce,he,xe,"⋞","\\curlyeqprec",!0),le(ce,he,xe,"≾","\\precsim",!0),le(ce,he,xe,"⪷","\\precapprox",!0),le(ce,he,xe,"⊲","\\vartriangleleft"),le(ce,he,xe,"⊴","\\trianglelefteq"),le(ce,he,xe,"⊨","\\vDash",!0),le(ce,he,xe,"⊪","\\Vvdash",!0),le(ce,he,xe,"⌣","\\smallsmile"),le(ce,he,xe,"⌢","\\smallfrown"),le(ce,he,xe,"≏","\\bumpeq",!0),le(ce,he,xe,"≎","\\Bumpeq",!0),le(ce,he,xe,"≧","\\geqq",!0),le(ce,he,xe,"⩾","\\geqslant",!0),le(ce,he,xe,"⪖","\\eqslantgtr",!0),le(ce,he,xe,"≳","\\gtrsim",!0),le(ce,he,xe,"⪆","\\gtrapprox",!0),le(ce,he,me,"⋗","\\gtrdot"),le(ce,he,xe,"⋙","\\ggg",!0),le(ce,he,xe,"≷","\\gtrless",!0),le(ce,he,xe,"⋛","\\gtreqless",!0),le(ce,he,xe,"⪌","\\gtreqqless",!0),le(ce,he,xe,"≖","\\eqcirc",!0),le(ce,he,xe,"≗","\\circeq",!0),le(ce,he,xe,"≜","\\triangleq",!0),le(ce,he,xe,"","\\thicksim"),le(ce,he,xe,"≈","\\thickapprox"),le(ce,he,xe,"⫆","\\supseteqq",!0),le(ce,he,xe,"⋑","\\Supset",!0),le(ce,he,xe,"⊐","\\sqsupset",!0),le(ce,he,xe,"≽","\\succcurlyeq",!0),le(ce,he,xe,"⋟","\\curlyeqsucc",!0),le(ce,he,xe,"≿","\\succsim",!0),le(ce,he,xe,"⪸","\\succapprox",!0),le(ce,he,xe,"⊳","\\vartriangleright"),le(ce,he,xe,"⊵","\\trianglerighteq"),le(ce,he,xe,"⊩","\\Vdash",!0),le(ce,he,xe,"","\\shortmid"),le(ce,he,xe,"∥","\\shortparallel"),le(ce,he,xe,"≬","\\between",!0),le(ce,he,xe,"⋔","\\pitchfork",!0),le(ce,he,xe,"∝","\\varpropto"),le(ce,he,xe,"◀","\\blacktriangleleft"),le(ce,he,xe,"∴","\\therefore",!0),le(ce,he,xe,"∍","\\backepsilon"),le(ce,he,xe,"▶","\\blacktriangleright"),le(ce,he,xe,"∵","\\because",!0),le(ce,he,xe,"⋘","\\llless"),le(ce,he,xe,"⋙","\\gggtr"),le(ce,he,me,"⊲","\\lhd"),le(ce,he,me,"⊳","\\rhd"),le(ce,he,xe,"≂","\\eqsim",!0),le(ce,de,xe,"⋈","\\Join"),le(ce,he,xe,"≑","\\Doteq",!0),le(ce,he,me,"∔","\\dotplus",!0),le(ce,he,me,"","\\smallsetminus"),le(ce,he,me,"⋒","\\Cap",!0),le(ce,he,me,"⋓","\\Cup",!0),le(ce,he,me,"⩞","\\doublebarwedge",!0),le(ce,he,me,"⊟","\\boxminus",!0),le(ce,he,me,"⊞","\\boxplus",!0),le(ce,he,me,"⋇","\\divideontimes",!0),le(ce,he,me,"⋉","\\ltimes",!0),le(ce,he,me,"⋊","\\rtimes",!0),le(ce,he,me,"⋋","\\leftthreetimes",!0),le(ce,he,me,"⋌","\\rightthreetimes",!0),le(ce,he,me,"⋏","\\curlywedge",!0),le(ce,he,me,"⋎","\\curlyvee",!0),le(ce,he,me,"⊝","\\circleddash",!0),le(ce,he,me,"⊛","\\circledast",!0),le(ce,he,me,"⋅","\\centerdot"),le(ce,he,me,"⊺","\\intercal",!0),le(ce,he,me,"⋒","\\doublecap"),le(ce,he,me,"⋓","\\doublecup"),le(ce,he,me,"⊠","\\boxtimes",!0),le(ce,he,xe,"⇢","\\dashrightarrow",!0),le(ce,he,xe,"⇠","\\dashleftarrow",!0),le(ce,he,xe,"⇇","\\leftleftarrows",!0),le(ce,he,xe,"⇆","\\leftrightarrows",!0),le(ce,he,xe,"⇚","\\Lleftarrow",!0),le(ce,he,xe,"↞","\\twoheadleftarrow",!0),le(ce,he,xe,"↢","\\leftarrowtail",!0),le(ce,he,xe,"↫","\\looparrowleft",!0),le(ce,he,xe,"⇋","\\leftrightharpoons",!0),le(ce,he,xe,"↶","\\curvearrowleft",!0),le(ce,he,xe,"↺","\\circlearrowleft",!0),le(ce,he,xe,"↰","\\Lsh",!0),le(ce,he,xe,"⇈","\\upuparrows",!0),le(ce,he,xe,"↿","\\upharpoonleft",!0),le(ce,he,xe,"⇃","\\downharpoonleft",!0),le(ce,de,xe,"⊶","\\origof",!0),le(ce,de,xe,"⊷","\\imageof",!0),le(ce,he,xe,"⊸","\\multimap",!0),le(ce,he,xe,"↭","\\leftrightsquigarrow",!0),le(ce,he,xe,"⇉","\\rightrightarrows",!0),le(ce,he,xe,"⇄","\\rightleftarrows",!0),le(ce,he,xe,"↠","\\twoheadrightarrow",!0),le(ce,he,xe,"↣","\\rightarrowtail",!0),le(ce,he,xe,"↬","\\looparrowright",!0),le(ce,he,xe,"↷","\\curvearrowright",!0),le(ce,he,xe,"↻","\\circlearrowright",!0),le(ce,he,xe,"↱","\\Rsh",!0),le(ce,he,xe,"⇊","\\downdownarrows",!0),le(ce,he,xe,"↾","\\upharpoonright",!0),le(ce,he,xe,"⇂","\\downharpoonright",!0),le(ce,he,xe,"⇝","\\rightsquigarrow",!0),le(ce,he,xe,"⇝","\\leadsto"),le(ce,he,xe,"⇛","\\Rrightarrow",!0),le(ce,he,xe,"↾","\\restriction"),le(ce,de,ke,"","`"),le(ce,de,ke,"$","\\$"),le(ue,de,ke,"$","\\$"),le(ue,de,ke,"$","\\textdollar"),le(ce,de,ke,"%","\\%"),le(ue,de,ke,"%","\\%"),le(ce,de,ke,"_","\\_"),le(ue,de,ke,"_","\\_"),le(ue,de,ke,"_","\\textunderscore"),le(ce,de,ke,"∠","\\angle",!0),le(ce,de,ke,"∞","\\infty",!0),le(ce,de,ke,"","\\prime"),le(ce,de,ke,"△","\\triangle"),le(ce,de,ke,"Γ","\\Gamma",!0),le(ce,de,ke,"Δ","\\Delta",!0),le(ce,de,ke,"Θ","\\Theta",!0),le(ce,de,ke,"Λ","\\Lambda",!0),le(ce,de,ke,"Ξ","\\Xi",!0),le(ce,de,ke,"Π","\\Pi",!0),le(ce,de,ke,"Σ","\\Sigma",!0),le(ce,de,ke,"Υ","\\Upsilon",!0),le(ce,de,ke,"Φ","\\Phi",!0),le(ce,de,ke,"Ψ","\\Psi",!0),le(ce,de,ke,"Ω","\\Omega",!0),le(ce,de,ke,"A","Α"),le(ce,de,ke,"B","Β"),le(ce,de,ke,"E","Ε"),le(ce,de,ke,"Z","Ζ"),le(ce,de,ke,"H","Η"),le(ce,de,ke,"I","Ι"),le(ce,de,ke,"K","Κ"),le(ce,de,ke,"M","Μ"),le(ce,de,ke,"N","Ν"),le(ce,de,ke,"O","Ο"),le(ce,de,ke,"P","Ρ"),le(ce,de,ke,"T","Τ"),le(ce,de,ke,"X","Χ"),le(ce,de,ke,"¬","\\neg",!0),le(ce,de,ke,"¬","\\lnot"),le(ce,de,ke,"","\\top"),le(ce,de,ke,"⊥","\\bot"),le(ce,de,ke,"∅","\\emptyset"),le(ce,he,ke,"∅","\\varnothing"),le(ce,de,be,"α","\\alpha",!0),le(ce,de,be,"β","\\beta",!0),le(ce,de,be,"γ","\\gamma",!0),le(ce,de,be,"δ","\\delta",!0),le(ce,de,be,"ϵ","\\epsilon",!0),le(ce,de,be,"ζ","\\zeta",!0),le(ce,de,be,"η","\\eta",!0),le(ce,de,be,"θ","\\theta",!0),le(ce,de,be,"ι","\\iota",!0),le(ce,de,be,"κ","\\kappa",!0),le(ce,de,be,"λ","\\lambda",!0),le(ce,de,be,"μ","\\mu",!0),le(ce,de,be,"ν","\\nu",!0),le(ce,de,be,"ξ","\\xi",!0),le(ce,de,be,"ο","\\omicron",!0),le(ce,de,be,"π","\\pi",!0),le(ce,de,be,"ρ","\\rho",!0),le(ce,de,be,"σ","\\sigma",!0),le(ce,de,be,"τ","\\tau",!0),le(ce,de,be,"υ","\\upsilon",!0),le(ce,de,be,"ϕ","\\phi",!0),le(ce,de,be,"χ","\\chi",!0),le(ce,de,be,"ψ","\\psi",!0),le(ce,de,be,"ω","\\omega",!0),le(ce,de,be,"ε","\\varepsilon",!0),le(ce,de,be,"ϑ","\\vartheta",!0),le(ce,de,be,"ϖ","\\varpi",!0),le(ce,de,be,"ϱ","\\varrho",!0),le(ce,de,be,"ς","\\varsigma",!0),le(ce,de,be,"φ","\\varphi",!0),le(ce,de,me,"","*",!0),le(ce,de,me,"+","+"),le(ce,de,me,"","-",!0),le(ce,de,me,"⋅","\\cdot",!0),le(ce,de,me,"∘","\\circ",!0),le(ce,de,me,"÷","\\div",!0),le(ce,de,me,"±","\\pm",!0),le(ce,de,me,"×","\\times",!0),le(ce,de,me,"∩","\\cap",!0),le(ce,de,me,"","\\cup",!0),le(ce,de,me,"","\\setminus",!0),le(ce,de,me,"∧","\\land"),le(ce,de,me,"","\\lor"),le(ce,de,me,"∧","\\wedge",!0),le(ce,de,me,"","\\vee",!0),le(ce,de,ke,"√","\\surd"),le(ce,de,ye,"⟨","\\langle",!0),le(ce,de,ye,"","\\lvert"),le(ce,de,ye,"∥","\\lVert"),le(ce,de,fe,"?","?"),le(ce,de,fe,"!","!"),le(ce,de,fe,"⟩","\\rangle",!0),le(ce,de,fe,"","\\rvert"),le(ce,de,fe,"∥","\\rVert"),le(ce,de,xe,"=","="),le(ce,de,xe,":",":"),le(ce,de,xe,"≈","\\approx",!0),le(ce,de,xe,"≅","\\cong",!0),le(ce,de,xe,"≥","\\ge"),le(ce,de,xe,"≥","\\geq",!0),le(ce,de,xe,"←","\\gets"),le(ce,de,xe,">","\\gt",!0),le(ce,de,xe,"∈","\\in",!0),le(ce,de,xe,"","\\@not"),le(ce,de,xe,"⊂","\\subset",!0),le(ce,de,xe,"⊃","\\supset",!0),le(ce,de,xe,"⊆","\\subseteq",!0),le(ce,de,xe,"⊇","\\supseteq",!0),le(ce,he,xe,"⊈","\\nsubseteq",!0),le(ce,he,xe,"⊉","\\nsupseteq",!0),le(ce,de,xe,"⊨","\\models"),le(ce,de,xe,"←","\\leftarrow",!0),le(ce,de,xe,"≤","\\le"),le(ce,de,xe,"≤","\\leq",!0),le(ce,de,xe,"<","\\lt",!0),le(ce,de,xe,"→","\\rightarrow",!0),le(ce,de,xe,"→","\\to"),le(ce,he,xe,"≱","\\ngeq",!0),le(ce,he,xe,"≰","\\nleq",!0),le(ce,de,Se," ","\\ "),le(ce,de,Se," ","\\space"),le(ce,de,Se," ","\\nobreakspace"),le(ue,de,Se," ","\\ "),le(ue,de,Se," "," "),le(ue,de,Se," ","\\space"),le(ue,de,Se," ","\\nobreakspace"),le(ce,de,Se,null,"\\nobreak"),le(ce,de,Se,null,"\\allowbreak"),le(ce,de,we,",",","),le(ce,de,we,";",";"),le(ce,he,me,"⊼","\\barwedge",!0),le(ce,he,me,"⊻","\\veebar",!0),le(ce,de,me,"⊙","\\odot",!0),le(ce,de,me,"⊕","\\oplus",!0),le(ce,de,me,"⊗","\\otimes",!0),le(ce,de,ke,"∂","\\partial",!0),le(ce,de,me,"⊘","\\oslash",!0),le(ce,he,me,"⊚","\\circledcirc",!0),le(ce,he,me,"⊡","\\boxdot",!0),le(ce,de,me,"△","\\bigtriangleup"),le(ce,de,me,"▽","\\bigtriangledown"),le(ce,de,me,"†","\\dagger"),le(ce,de,me,"⋄","\\diamond"),le(ce,de,me,"⋆","\\star"),le(ce,de,me,"◃","\\triangleleft"),le(ce,de,me,"▹","\\triangleright"),le(ce,de,ye,"{","\\{"),le(ue,de,ke,"{","\\{"),le(ue,de,ke,"{","\\textbraceleft"),le(ce,de,fe,"}","\\}"),le(ue,de,ke,"}","\\}"),le(ue,de,ke,"}","\\textbraceright"),le(ce,de,ye,"{","\\lbrace"),le(ce,de,fe,"}","\\rbrace"),le(ce,de,ye,"[","\\lbrack",!0),le(ue,de,ke,"[","\\lbrack",!0),le(ce,de,fe,"]","\\rbrack",!0),le(ue,de,ke,"]","\\rbrack",!0),le(ce,de,ye,"(","\\lparen",!0),le(ce,de,fe,")","\\rparen",!0),le(ue,de,ke,"<","\\textless",!0),le(ue,de,ke,">","\\textgreater",!0),le(ce,de,ye,"⌊","\\lfloor",!0),le(ce,de,fe,"⌋","\\rfloor",!0),le(ce,de,ye,"⌈","\\lceil",!0),le(ce,de,fe,"⌉","\\rceil",!0),le(ce,de,ke,"\\","\\backslash"),le(ce,de,ke,"","|"),le(ce,de,ke,"","\\vert"),le(ue,de,ke,"|","\\textbar",!0),le(ce,de,ke,"∥","\\|"),le(ce,de,ke,"∥","\\Vert"),le(ue,de,ke,"∥","\\textbardbl"),le(ue,de,ke,"~","\\textasciitilde"),le(ue,de,ke,"\\","\\textbackslash"),le(ue,de,ke,"^","\\textasciicircum"),le(ce,de,xe,"↑","\\uparrow",!0),le(ce,de,xe,"⇑","\\Uparrow",!0),le(ce,de,xe,"↓","\\downarrow",!0),le(ce,de,xe,"⇓","\\Downarrow",!0),le(ce,de,xe,"↕","\\updownarrow",!0),le(ce,de,xe,"⇕","\\Updownarrow",!0),le(ce,de,ve,"∐","\\coprod"),le(ce,de,ve,"","\\bigvee"),le(ce,de,ve,"⋀","\\bigwedge"),le(ce,de,ve,"⨄","\\biguplus"),le(ce,de,ve,"⋂","\\bigcap"),le(ce,de,ve,"","\\bigcup"),le(ce,de,ve,"∫","\\int"),le(ce,de,ve,"∫","\\intop"),le(ce,de,ve,"∬","\\iint"),le(ce,de,ve,"∭","\\iiint"),le(ce,de,ve,"∏","\\prod"),le(ce,de,ve,"∑","\\sum"),le(ce,de,ve,"⨂","\\bigotimes"),le(ce,de,ve,"⨁","\\bigoplus"),le(ce,de,ve,"⨀","\\bigodot"),le(ce,de,ve,"∮","\\oint"),le(ce,de,ve,"∯","\\oiint"),le(ce,de,ve,"∰","\\oiiint"),le(ce,de,ve,"⨆","\\bigsqcup"),le(ce,de,ve,"∫","\\smallint"),le(ue,de,ge,"…","\\textellipsis"),le(ce,de,ge,"…","\\mathellipsis"),le(ue,de,ge,"…","\\ldots",!0),le(ce,de,ge,"…","\\ldots",!0),le(ce,de,ge,"⋯","\\@cdots",!0),le(ce,de,ge,"⋱","\\ddots",!0),le(ce,de,ke,"⋮","\\varvdots"),le(ue,de,ke,"⋮","\\varvdots"),le(ce,de,pe,"ˊ","\\acute"),le(ce,de,pe,"ˋ","\\grave"),le(ce,de,pe,"¨","\\ddot"),le(ce,de,pe,"~","\\tilde"),le(ce,de,pe,"ˉ","\\bar"),le(ce,de,pe,"˘","\\breve"),le(ce,de,pe,"ˇ","\\check"),le(ce,de,pe,"^","\\hat"),le(ce,de,pe,"⃗","\\vec"),le(ce,de,pe,"˙","\\dot"),le(ce,de,pe,"˚","\\mathring"),le(ce,de,be,"","\\@imath"),le(ce,de,be,"","\\@jmath"),le(ce,de,ke,"ı","ı"),le(ce,de,ke,"ȷ","ȷ"),le(ue,de,ke,"ı","\\i",!0),le(ue,de,ke,"ȷ","\\j",!0),le(ue,de,ke,"ß","\\ss",!0),le(ue,de,ke,"æ","\\ae",!0),le(ue,de,ke,"œ","\\oe",!0),le(ue,de,ke,"ø","\\o",!0),le(ue,de,ke,"Æ","\\AE",!0),le(ue,de,ke,"Œ","\\OE",!0),le(ue,de,ke,"Ø","\\O",!0),le(ue,de,pe,"ˊ","\\'"),le(ue,de,pe,"ˋ","\\`"),le(ue,de,pe,"ˆ","\\^"),le(ue,de,pe,"˜","\\~"),le(ue,de,pe,"ˉ","\\="),le(ue,de,pe,"˘","\\u"),le(ue,de,pe,"˙","\\."),le(ue,de,pe,"¸","\\c"),le(ue,de,pe,"˚","\\r"),le(ue,de,pe,"ˇ","\\v"),le(ue,de,pe,"¨",'\\"'),le(ue,de,pe,"˝","\\H"),le(ue,de,pe,"◯","\\textcircled");var Ce={"--":!0,"---":!0,"``":!0,"''":!0};le(ue,de,ke,"","--",!0),le(ue,de,ke,"","\\textendash"),le(ue,de,ke,"—","---",!0),le(ue,de,ke,"—","\\textemdash"),le(ue,de,ke,"","`",!0),le(ue,de,ke,"","\\textquoteleft"),le(ue,de,ke,"","'",!0),le(ue,de,ke,"","\\textquoteright"),le(ue,de,ke,"“","``",!0),le(ue,de,ke,"“","\\textquotedblleft"),le(ue,de,ke,"”","''",!0),le(ue,de,ke,"”","\\textquotedblright"),le(ce,de,ke,"°","\\degree",!0),le(ue,de,ke,"°","\\degree"),le(ue,de,ke,"°","\\textdegree",!0),le(ce,de,ke,"£","\\pounds"),le(ce,de,ke,"£","\\mathsterling",!0),le(ue,de,ke,"£","\\pounds"),le(ue,de,ke,"£","\\textsterling",!0),le(ce,he,ke,"✠","\\maltese"),le(ue,he,ke,"✠","\\maltese");for(var $e='0123456789/@."',je=0;je<$e.length;je++){var Oe=$e.charAt(je);le(ce,de,ke,Oe,Oe)}for(var _e='0123456789!@*()-=+";:?/.,',Ne=0;Ne<_e.length;Ne++){var Ae=_e.charAt(Ne);le(ue,de,ke,Ae,Ae)}for(var Ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ee=0;Ee<Ie.length;Ee++){var ze=Ie.charAt(Ee);le(ce,de,be,ze,ze),le(ue,de,ke,ze,ze)}le(ce,he,ke,"C",""),le(ue,he,ke,"C",""),le(ce,he,ke,"H",""),le(ue,he,ke,"H",""),le(ce,he,ke,"N",""),le(ue,he,ke,"N",""),le(ce,he,ke,"P",""),le(ue,he,ke,"P",""),le(ce,he,ke,"Q",""),le(ue,he,ke,"Q",""),le(ce,he,ke,"R",""),le(ue,he,ke,"R",""),le(ce,he,ke,"Z",""),le(ue,he,ke,"Z",""),le(ce,de,be,"h",""),le(ue,de,be,"h","");for(var Me="",Pe=0;Pe<Ie.length;Pe++){var Le=Ie.charAt(Pe);le(ce,de,be,Le,Me=String.fromCharCode(55349,56320+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56372+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56424+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56580+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56684+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56736+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56788+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56840+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56944+Pe)),le(ue,de,ke,Le,Me),Pe<26&&(le(ce,de,be,Le,Me=String.fromCharCode(55349,56632+Pe)),le(ue,de,ke,Le,Me),le(ce,de,be,Le,Me=String.fromCharCode(55349,56476+Pe)),le(ue,de,ke,Le,Me))}le(ce,de,be,"k",Me=String.fromCharCode(55349,56668)),le(ue,de,ke,"k",Me);for(var Be=0;Be<10;Be++){var Te=Be.toString();le(ce,de,be,Te,Me=String.fromCharCode(55349,57294+Be)),le(ue,de,ke,Te,Me),le(ce,de,be,Te,Me=String.fromCharCode(55349,57314+Be)),le(ue,de,ke,Te,Me),le(ce,de,be,Te,Me=String.fromCharCode(55349,57324+Be)),le(ue,de,ke,Te,Me),le(ce,de,be,Te,Me=String.fromCharCode(55349,57334+Be)),le(ue,de,ke,Te,Me)}for(var Re="ÐÞþ",Fe=0;Fe<Re.length;Fe++){var De=Re.charAt(Fe);le(ce,de,be,De,De),le(ue,de,ke,De,De)}var qe=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],He=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],We=function(e,t,r){return se[r][e]&&se[r][e].replace&&(e=se[r][e].replace),{value:e,metrics:M(e,t,r)}},Ze=function(e,t,r,n,o){var i,a=We(e,t,r),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new ee(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new ee(e,0,0,0,0,0,o);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var c=n.getColor();c&&(i.style.color=c)}return i},Ue=(e,t)=>{if(Z(e.classes)!==Z(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},Ve=function(e){for(var t=0,r=0,n=0,o=0;o<e.children.length;o++){var i=e.children[o];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},Ge=function(e,t,r,n){var o=new Y(e,t,r,n);return Ve(o),o},Xe=(e,t,r,n)=>new Y(e,t,r,n),Ye=function(e){var t=new A(e);return Ve(t),t},Ke=function(e,t,r){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Je={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Qe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},et={fontMap:Je,makeSymbol:Ze,mathsym:function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&We(e,"Main-Bold",t).metrics?Ze(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===se[t][e].font?Ze(e,"Main-Regular",t,r,n):Ze(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:Ge,makeSvgSpan:Xe,makeLineSpan:function(e,t,r){var n=Ge([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=W(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var o=new K(e,t,r,n);return Ve(o),o},makeFragment:Ye,wrapFragment:function(e,t){return e instanceof A?Ge([],[e],t):e},makeVList:function(e,t){for(var{children:r,depth:n}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],n=-t[0].shift-t[0].elem.depth,o=n,i=1;i<t.length;i++){var a=-t[i].shift-o-t[i].elem.depth,s=a-(t[i-1].elem.height+t[i-1].elem.depth);o+=a,r.push({type:"kern",size:s}),r.push(t[i])}return{children:r,depth:n}}var l;if("top"===e.positionType){for(var c=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];c-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=c}else if("bottom"===e.positionType)l=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-h.elem.depth}}return{children:e.children,depth:l}}(e),o=0,i=0;i<r.length;i++){var a=r[i];if("elem"===a.type){var s=a.elem;o=Math.max(o,s.maxFontSize,s.height)}}o+=2;var l=Ge(["pstrut"],[]);l.style.height=W(o);for(var c=[],u=n,d=n,h=n,p=0;p<r.length;p++){var m=r[p];if("kern"===m.type)h+=m.size;else{var f=m.elem,g=m.wrapperClasses||[],b=m.wrapperStyle||{},v=Ge(g,[l,f],void 0,b);v.style.top=W(-o-h-f.depth),m.marginLeft&&(v.style.marginLeft=m.marginLeft),m.marginRight&&(v.style.marginRight=m.marginRight),c.push(v),h+=f.height+f.depth}u=Math.min(u,h),d=Math.max(d,h)}var y,w=Ge(["vlist"],c);if(w.style.height=W(d),u<0){var x=Ge([],[]),S=Ge(["vlist"],[x]);S.style.height=W(-u);var k=Ge(["vlist-s"],[new ee("")]);y=[Ge(["vlist-r"],[w,k]),Ge(["vlist-r"],[S])]}else y=[Ge(["vlist-r"],[w])];var C=Ge(["vlist-t"],y);return 2===y.length&&C.classes.push("vlist-t2"),C.height=d,C.depth=-u,C},makeOrd:function(e,t,r){var n=e.mode,o=e.text,i=["mord"],a="math"===n||"text"===n&&t.font,l=a?t.font:t.fontFamily,c="",u="";if(55349===o.charCodeAt(0)&&([c,u]=function(e,t){var r=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,n="math"===t?0:1;if(119808<=r&&r<120484){var o=Math.floor((r-119808)/26);return[qe[o][2],qe[o][n]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[He[i][2],He[i][n]]}if(120485===r||120486===r)return[qe[0][2],qe[0][n]];if(120486<r&&r<120782)return["",""];throw new s("Unsupported character: "+e)}(o,n)),c.length>0)return Ze(o,c,n,t,i.concat(u));if(l){var d,h;if("boldsymbol"===l){var p=function(e,t,r,n,o){return"textord"!==o&&We(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,n,0,0,r);d=p.fontName,h=[p.fontClass]}else a?(d=Je[l].fontName,h=[l]):(d=Ke(l,t.fontWeight,t.fontShape),h=[l,t.fontWeight,t.fontShape]);if(We(o,d,n).metrics)return Ze(o,d,n,t,i.concat(h));if(Ce.hasOwnProperty(o)&&"Typewriter"===d.slice(0,10)){for(var m=[],f=0;f<o.length;f++)m.push(Ze(o[f],d,n,t,i.concat(h)));return Ye(m)}}if("mathord"===r)return Ze(o,"Math-Italic",n,t,i.concat(["mathnormal"]));if("textord"===r){var g=se[n][o]&&se[n][o].font;if("ams"===g){var b=Ke("amsrm",t.fontWeight,t.fontShape);return Ze(o,b,n,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==g&&g){var v=Ke(g,t.fontWeight,t.fontShape);return Ze(o,v,n,t,i.concat(v,t.fontWeight,t.fontShape))}var y=Ke("textrm",t.fontWeight,t.fontShape);return Ze(o,y,n,t,i.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=Ge(["mspace"],[],t),n=H(e,t);return r.style.marginRight=W(n),r},staticSvg:function(e,t){var[r,n,o]=Qe[e],i=new re(r),a=new te([i],{width:W(n),height:W(o),style:"width:"+W(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=Xe(["overlay"],[a],t);return s.height=o,s.style.height=W(o),s.style.width=W(n),s},svgData:Qe,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof ee&&n instanceof ee&&Ue(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e}},tt={number:3,unit:"mu"},rt={number:4,unit:"mu"},nt={number:5,unit:"mu"},ot={mord:{mop:tt,mbin:rt,mrel:nt,minner:tt},mop:{mord:tt,mop:tt,mrel:nt,minner:tt},mbin:{mord:rt,mop:rt,mopen:rt,minner:rt},mrel:{mord:nt,mop:nt,mopen:nt,minner:nt},mopen:{},mclose:{mop:tt,mbin:rt,mrel:nt,minner:tt},mpunct:{mord:tt,mop:tt,mrel:nt,mopen:tt,mclose:tt,mpunct:tt,minner:tt},minner:{mord:tt,mop:tt,mbin:rt,mrel:nt,mopen:tt,mpunct:tt,minner:tt}},it={mord:{mop:tt},mop:{mord:tt,mop:tt},mbin:{},mrel:{},mopen:{},mclose:{mop:tt},mpunct:{},minner:{mop:tt}},at={},st={},lt={};function ct(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:void 0===n.allowedInMath||n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:o},l=0;l<r.length;++l)at[r[l]]=s;t&&(i&&(st[t]=i),a&&(lt[t]=a))}function ut(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ct({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var dt=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},ht=function(e){return"ordgroup"===e.type?e.body:[e]},pt=et.makeSpan,mt=["leftmost","mbin","mopen","mrel","mop","mpunct"],ft=["rightmost","mrel","mclose","mpunct"],gt={display:C.DISPLAY,text:C.TEXT,script:C.SCRIPT,scriptscript:C.SCRIPTSCRIPT},bt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},vt=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=Ct(e[i],t);if(a instanceof A){var s=a.children;o.push(...s)}else o.push(a)}if(et.tryCombineChars(o),!r)return o;var l=t;if(1===e.length){var c=e[0];"sizing"===c.type?l=t.havingSize(c.size):"styling"===c.type&&(l=t.havingStyle(gt[c.style]))}var u=pt([n[0]||"leftmost"],[],t),d=pt([n[1]||"rightmost"],[],t),p="root"===r;return yt(o,((e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&h.contains(ft,n)?t.classes[0]="mord":"mbin"===n&&h.contains(mt,r)&&(e.classes[0]="mord")}),{node:u},d,p),yt(o,((e,t)=>{var r=St(t),n=St(e),o=r&&n?e.hasClass("mtight")?it[r][n]:ot[r][n]:null;if(o)return et.makeGlue(o,l)}),{node:u},d,p),o},yt=function e(t,r,n,o,i){o&&t.push(o);for(var a=0;a<t.length;a++){var s=t[a],l=wt(s);if(l)e(l.children,r,n,null,i);else{var c=!s.hasClass("mspace");if(c){var u=r(s,n.node);u&&(n.insertAfter?n.insertAfter(u):(t.unshift(u),a++))}c?n.node=s:i&&s.hasClass("newline")&&(n.node=pt(["leftmost"])),n.insertAfter=(e=>r=>{t.splice(e+1,0,r),a++})(a)}}o&&t.pop()},wt=function(e){return e instanceof A||e instanceof K||e instanceof Y&&e.hasClass("enclosing")?e:null},xt=function e(t,r){var n=wt(t);if(n){var o=n.children;if(o.length){if("right"===r)return e(o[o.length-1],"right");if("left"===r)return e(o[0],"left")}}return t},St=function(e,t){return e?(t&&(e=xt(e,t)),bt[e.classes[0]]||null):null},kt=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return pt(t.concat(r))},Ct=function(e,t,r){if(!e)return pt();if(st[e.type]){var n=st[e.type](e,t);if(r&&t.size!==r.size){n=pt(t.sizingClasses(r),[n],t);var o=t.sizeMultiplier/r.sizeMultiplier;n.height*=o,n.depth*=o}return n}throw new s("Got group of unknown type: '"+e.type+"'")};function $t(e,t){var r=pt(["base"],e,t),n=pt(["strut"]);return n.style.height=W(r.height+r.depth),r.depth&&(n.style.verticalAlign=W(-r.depth)),r.children.unshift(n),r}function jt(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var n,o=vt(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(n=o.pop());for(var i,a=[],s=[],l=0;l<o.length;l++)if(s.push(o[l]),o[l].hasClass("mbin")||o[l].hasClass("mrel")||o[l].hasClass("allowbreak")){for(var c=!1;l<o.length-1&&o[l+1].hasClass("mspace")&&!o[l+1].hasClass("newline");)l++,s.push(o[l]),o[l].hasClass("nobreak")&&(c=!0);c||(a.push($t(s,t)),s=[])}else o[l].hasClass("newline")&&(s.pop(),s.length>0&&(a.push($t(s,t)),s=[]),a.push(o[l]));s.length>0&&a.push($t(s,t)),r?((i=$t(vt(r,t,!0))).classes=["tag"],a.push(i)):n&&a.push(n);var u=pt(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),i){var d=i.children[0];d.style.height=W(u.height+u.depth),u.depth&&(d.style.verticalAlign=W(-u.depth))}return u}function Ot(e){return new A(e)}class _t{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Z(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof Nt&&this.children[r+1]instanceof Nt){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof Nt;)n+=this.children[++r].toText();e.appendChild(new Nt(n).toNode())}else e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=h.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+h.escape(Z(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">"}toText(){return this.children.map((e=>e.toText())).join("")}}class Nt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return h.escape(this.toText())}toText(){return this.text}}var At={MathNode:_t,TextNode:Nt,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"":e>=.1666&&e<=.1667?"":e>=.2222&&e<=.2223?"":e>=.2777&&e<=.2778?"":e>=-.05556&&e<=-.05555?"":e>=-.1667&&e<=-.1666?"":e>=-.2223&&e<=-.2222?"":e>=-.2778&&e<=-.2777?"":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",W(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+W(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:Ot},It=function(e,t,r){return!se[t][e]||!se[t][e].replace||55349===e.charCodeAt(0)||Ce.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=se[t][e].replace),new At.TextNode(e)},Et=function(e){return 1===e.length?e[0]:new At.MathNode("mrow",e)},zt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathsfit"===r)return"sans-serif-italic";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var o=e.text;return h.contains(["\\imath","\\jmath"],o)?null:(se[n][o]&&se[n][o].replace&&(o=se[n][o].replace),M(o,et.fontMap[r].fontName,n)?et.fontMap[r].variant:null)};function Mt(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof Nt&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){var r=e.children[0];return r instanceof Nt&&","===r.text}return!1}var Pt=function(e,t,r){if(1===e.length){var n=Bt(e[0],t);return r&&n instanceof _t&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o,i=[],a=0;a<e.length;a++){var s=Bt(e[a],t);if(s instanceof _t&&o instanceof _t){if("mtext"===s.type&&"mtext"===o.type&&s.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...s.children);continue}if("mn"===s.type&&"mn"===o.type){o.children.push(...s.children);continue}if(Mt(s)&&"mn"===o.type){o.children.push(...s.children);continue}if("mn"===s.type&&Mt(o))s.children=[...o.children,...s.children],i.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===o.type||Mt(o))){var l=s.children[0];l instanceof _t&&"mn"===l.type&&(l.children=[...o.children,...l.children],i.pop())}else if("mi"===o.type&&1===o.children.length){var c=o.children[0];if(c instanceof Nt&&"̸"===c.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var u=s.children[0];u instanceof Nt&&u.text.length>0&&(u.text=u.text.slice(0,1)+"̸"+u.text.slice(1),i.pop())}}}i.push(s),o=s}return i},Lt=function(e,t,r){return Et(Pt(e,t,r))},Bt=function(e,t){if(!e)return new At.MathNode("mrow");if(lt[e.type])return lt[e.type](e,t);throw new s("Got group of unknown type: '"+e.type+"'")};function Tt(e,t,r,n,o){var i,a=Pt(e,r);i=1===a.length&&a[0]instanceof _t&&h.contains(["mrow","mtable"],a[0].type)?a[0]:new At.MathNode("mrow",a);var s=new At.MathNode("annotation",[new At.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new At.MathNode("semantics",[i,s]),c=new At.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block");var u=o?"katex":"katex-mathml";return et.makeSpan([u],[c])}var Rt=function(e){return new R({style:e.displayMode?C.DISPLAY:C.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Ft=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=et.makeSpan(r,[e])}return e},Dt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},qt={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"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,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"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ht=function(e,t,r,n,o){var i,a=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(i=et.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ne({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ne({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new te(l,{width:"100%",height:W(a)});i=et.makeSvgSpan([],[c],o)}return i.height=a,i.style.height=W(a),i},Wt=function(e){var t=new At.MathNode("mo",[new At.TextNode(Dt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Zt=function(e,t){var{span:r,minWidth:n,height:o}=function(){var r=4e5,n=e.label.slice(1);if(h.contains(["widehat","widecheck","widetilde","utilde"],n)){var o,i,a,s="ordgroup"===(m=e.base).type?m.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(o=420,r=2364,a=.42,i=n+"4"):(o=312,r=2340,a=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],i=n+l):(r=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var c=new re(i),u=new te([c],{width:"100%",height:W(a),viewBox:"0 0 "+r+" "+o,preserveAspectRatio:"none"});return{span:et.makeSvgSpan([],[u],t),minWidth:0,height:a}}var d,p,m,f=[],g=qt[n],[b,v,y]=g,w=y/1e3,x=b.length;if(1===x)d=["hide-tail"],p=[g[3]];else if(2===x)d=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");d=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var S=0;S<x;S++){var k=new re(b[S]),C=new te([k],{width:"400em",height:W(w),viewBox:"0 0 "+r+" "+y,preserveAspectRatio:p[S]+" slice"}),$=et.makeSvgSpan([d[S]],[C],t);if(1===x)return{span:$,minWidth:v,height:w};$.style.height=W(w),f.push($)}return{span:et.makeSpan(["stretchy"],f,t),minWidth:v,height:w}}();return r.height=o,r.style.height=W(o),n>0&&(r.style.minWidth=W(n)),r};function Ut(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Vt(e){var t=Gt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Gt(e){return e&&("atom"===e.type||ae.hasOwnProperty(e.type))?e:null}var Xt=(e,t)=>{var r,n,o;e&&"supsub"===e.type?(r=(n=Ut(e.base,"accent")).base,e.base=r,o=function(e){if(e instanceof Y)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(Ct(e,t)),e.base=n):r=(n=Ut(e,"accent")).base;var i=Ct(r,t.havingCrampedStyle()),a=0;if(n.isShifty&&h.isCharacterBox(r)){var s=h.getBaseElem(r);a=oe(Ct(s,t.havingCrampedStyle())).skew}var l,c="\\c"===n.label,u=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(n.isStretchy)l=Zt(n,t),l=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+W(2*a)+")",marginLeft:W(2*a)}:void 0}]},t);else{var d,p;"\\vec"===n.label?(d=et.staticSvg("vec",t),p=et.svgData.vec[1]):((d=oe(d=et.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,p=d.width,c&&(u+=d.depth)),l=et.makeSpan(["accent-body"],[d]);var m="\\textcircled"===n.label;m&&(l.classes.push("accent-full"),u=i.height);var f=a;m||(f-=p/2),l.style.left=W(f),"\\textcircled"===n.label&&(l.style.top=".2em"),l=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-u},{type:"elem",elem:l}]},t)}var g=et.makeSpan(["mord","accent"],[l],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},Yt=(e,t)=>{var r=e.isStretchy?Wt(e.label):new At.MathNode("mo",[It(e.label,e.mode)]),n=new At.MathNode("mover",[Bt(e.base,t),r]);return n.setAttribute("accent","true"),n},Kt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));ct({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=dt(t[0]),n=!Kt.test(e.funcName),o=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:o,base:r}},htmlBuilder:Xt,mathmlBuilder:Yt}),ct({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return"math"===n&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Xt,mathmlBuilder:Yt}),ct({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:o}},htmlBuilder:(e,t)=>{var r=Ct(e.base,t),n=Zt(e,t),o="\\utilde"===e.label?.12:0,i=et.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]},t);return et.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Wt(e.label),n=new At.MathNode("munder",[Bt(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Jt=e=>{var t=new At.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ct({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:o}=e;return{type:"xArrow",mode:n.mode,label:o,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n=t.style,o=t.havingStyle(n.sup()),i=et.wrapFragment(Ct(e.body,o,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(a+"-arrow-pad"),e.below&&(o=t.havingStyle(n.sub()),(r=et.wrapFragment(Ct(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,l=Zt(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),r){var d=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c},{type:"elem",elem:r,shift:d}]},t)}else s=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),et.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,n=Wt(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=Jt(Bt(e.body,t));if(e.below){var i=Jt(Bt(e.below,t));r=new At.MathNode("munderover",[n,i,o])}else r=new At.MathNode("mover",[n,o])}else if(e.below){var a=Jt(Bt(e.below,t));r=new At.MathNode("munder",[n,a])}else r=Jt(),r=new At.MathNode("mover",[n,r]);return r}});var Qt=et.makeSpan;function er(e,t){var r=vt(e.body,t,!0);return Qt([e.mclass],r,t)}function tr(e,t){var r,n=Pt(e.body,t);return"minner"===e.mclass?r=new At.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new At.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new At.MathNode("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ct({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:ht(o),isCharacterBox:h.isCharacterBox(o)}},htmlBuilder:er,mathmlBuilder:tr});var rr=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};ct({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:rr(t[0]),body:ht(t[1]),isCharacterBox:h.isCharacterBox(t[1])}}}),ct({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:n,funcName:o}=e,i=t[1],a=t[0];r="\\stackrel"!==o?rr(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:ht(i)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:h.isCharacterBox(l)}},htmlBuilder:er,mathmlBuilder:tr}),ct({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:rr(t[0]),body:ht(t[0])}},htmlBuilder(e,t){var r=vt(e.body,t,!0),n=et.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Pt(e.body,t),n=new At.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var nr={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},or=e=>"textord"===e.type&&"@"===e.text;function ir(e,t,r){var n=nr[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var o={type:"atom",text:n,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[o],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}ct({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=et.wrapFragment(Ct(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=W(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new At.MathNode("mrow",[Bt(e.label,t)]);return(r=new At.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new At.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ct({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=et.wrapFragment(Ct(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new At.MathNode("mrow",[Bt(e.fragment,t)])}}),ct({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ut(t[0],"ordgroup").body,o="",i=0;i<n.length;i++){o+=Ut(n[i],"textord").text}var a,l=parseInt(o);if(isNaN(l))throw new s("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new s("\\@char with invalid code point "+o);return l<=65535?a=String.fromCharCode(l):(l-=65536,a=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:a}}});var ar=(e,t)=>{var r=vt(e.body,t.withColor(e.color),!1);return et.makeFragment(r)},sr=(e,t)=>{var r=Pt(e.body,t.withColor(e.color)),n=new At.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ct({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ut(t[0],"color-token").color,o=t[1];return{type:"color",mode:r.mode,color:n,body:ht(o)}},htmlBuilder:ar,mathmlBuilder:sr}),ct({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,o=Ut(t[0],"color-token").color;r.gullet.macros.set("\\current@color",o);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:o,body:i}},htmlBuilder:ar,mathmlBuilder:sr}),ct({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,o="["===n.gullet.future().text?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:o&&Ut(o,"size").value}},htmlBuilder(e,t){var r=et.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=W(H(e.size,t)))),r},mathmlBuilder(e,t){var r=new At.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",W(H(e.size,t)))),r}});var lr={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},cr=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new s("Expected a control sequence",e);return t},ur=(e,t,r,n)=>{var o=e.gullet.macros.get(r.text);null==o&&(r.noexpand=!0,o={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,o,n)};ct({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(lr[n.text])return"\\global"!==r&&"\\\\globallong"!==r||(n.text=lr[n.text]),Ut(t.parseFunction(),"internal");throw new s("Invalid token after macro prefix",n)}}),ct({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),o=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new s("Expected a control sequence",n);for(var i,a=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(n=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),l[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new s('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new s('Argument number "'+n.text+'" out of order');a++,l.push([])}else{if("EOF"===n.text)throw new s("Expected a macro definition");l[a].push(n.text)}var{tokens:c}=t.gullet.consumeArg();return i&&c.unshift(i),"\\edef"!==r&&"\\xdef"!==r||(c=t.gullet.expandTokens(c)).reverse(),t.gullet.macros.set(o,{tokens:c,numArgs:a,delimiters:l},r===lr[r]),{type:"internal",mode:t.mode}}}),ct({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=cr(t.gullet.popToken());t.gullet.consumeSpaces();var o=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return ur(t,n,o,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),ct({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=cr(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return ur(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var dr=function(e,t,r){var n=M(se.math[e]&&se.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},hr=function(e,t,r,n){var o=r.havingBaseStyle(t),i=et.makeSpan(n.concat(o.sizingClasses(r)),[e],r),a=o.sizeMultiplier/r.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},pr=function(e,t,r){var n=t.havingBaseStyle(r),o=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=W(o),e.height-=o,e.depth+=o},mr=function(e,t,r,n,o,i){var a=function(e,t,r,n){return et.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,o,n),s=hr(et.makeSpan(["delimsizing","size"+t],[a],n),C.TEXT,n,i);return r&&pr(s,n,C.TEXT),s},fr=function(e,t,r){var n;return n="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:et.makeSpan(["delimsizinginner",n],[et.makeSpan([],[et.makeSymbol(e,t,r)])])}},gr=function(e,t,r){var n=I["Size4-Regular"][e.charCodeAt(0)]?I["Size4-Regular"][e.charCodeAt(0)][4]:I["Size1-Regular"][e.charCodeAt(0)][4],o=new re("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new te([o],{width:W(n),height:W(t),style:"width:"+W(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=et.makeSvgSpan([],[i],r);return a.height=t,a.style.height=W(t),a.style.width=W(n),{type:"elem",elem:a}},br={type:"kern",size:-.008},vr=["|","\\lvert","\\rvert","\\vert"],yr=["\\|","\\lVert","\\rVert","\\Vert"],wr=function(e,t,r,n,o,i){var a,s,l,c,u="",d=0;a=l=c=e,s=null;var p="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",c="\\Downarrow"):h.contains(vr,e)?(l="",u="vert",d=333):h.contains(yr,e)?(l="∥",u="doublevert",d=556):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",c="⎣",p="Size4-Regular",u="lbrack",d=667):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",c="⎦",p="Size4-Regular",u="rbrack",d=667):"\\lfloor"===e||"⌊"===e?(l=a="⎢",c="⎣",p="Size4-Regular",u="lfloor",d=667):"\\lceil"===e||"⌈"===e?(a="⎡",l=c="⎢",p="Size4-Regular",u="lceil",d=667):"\\rfloor"===e||"⌋"===e?(l=a="⎥",c="⎦",p="Size4-Regular",u="rfloor",d=667):"\\rceil"===e||"⌉"===e?(a="⎤",l=c="⎥",p="Size4-Regular",u="rceil",d=667):"("===e||"\\lparen"===e?(a="⎛",l="⎜",c="⎝",p="Size4-Regular",u="lparen",d=875):")"===e||"\\rparen"===e?(a="⎞",l="⎟",c="⎠",p="Size4-Regular",u="rparen",d=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",c="⎩",l="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",c="⎭",l="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",c="⎩",l="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",c="⎭",l="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",c="⎭",l="⎪",p="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",c="⎩",l="⎪",p="Size4-Regular");var m=dr(a,p,o),f=m.height+m.depth,g=dr(l,p,o),b=g.height+g.depth,v=dr(c,p,o),y=v.height+v.depth,w=0,x=1;if(null!==s){var S=dr(s,p,o);w=S.height+S.depth,x=2}var k=f+y+w,$=k+Math.max(0,Math.ceil((t-k)/(x*b)))*x*b,j=n.fontMetrics().axisHeight;r&&(j*=n.sizeMultiplier);var O=$/2-j,_=[];if(u.length>0){var N=$-f-y,A=Math.round(1e3*$),I=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(u,Math.round(1e3*N)),E=new re(u,I),z=(d/1e3).toFixed(3)+"em",M=(A/1e3).toFixed(3)+"em",P=new te([E],{width:z,height:M,viewBox:"0 0 "+d+" "+A}),L=et.makeSvgSpan([],[P],n);L.height=A/1e3,L.style.width=z,L.style.height=M,_.push({type:"elem",elem:L})}else{if(_.push(fr(c,p,o)),_.push(br),null===s){var B=$-f-y+.016;_.push(gr(l,B,n))}else{var T=($-f-y-w)/2+.016;_.push(gr(l,T,n)),_.push(br),_.push(fr(s,p,o)),_.push(br),_.push(gr(l,T,n))}_.push(br),_.push(fr(a,p,o))}var R=n.havingBaseStyle(C.TEXT),F=et.makeVList({positionType:"bottom",positionData:O,children:_},R);return hr(et.makeSpan(["delimsizing","mult"],[F],R),C.TEXT,n,i)},xr=.08,Sr=function(e,t,r,n,o){var i=function(e,t,r){t*=1e3;var n="";switch(e){case"sqrtMain":n=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,_);break;case"sqrtSize1":n=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,_);break;case"sqrtSize2":n=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,_);break;case"sqrtSize3":n=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,_);break;case"sqrtSize4":n=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,_);break;case"sqrtTall":n=function(e,t,r){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(r-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,_,r)}return n}(e,n,r),a=new re(e,i),s=new te([a],{width:"400em",height:W(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return et.makeSvgSpan(["hide-tail"],[s],o)},kr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Cr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],$r=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],jr=[0,1.2,1.8,2.4,3],Or=[{type:"small",style:C.SCRIPTSCRIPT},{type:"small",style:C.SCRIPT},{type:"small",style:C.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],_r=[{type:"small",style:C.SCRIPTSCRIPT},{type:"small",style:C.SCRIPT},{type:"small",style:C.TEXT},{type:"stack"}],Nr=[{type:"small",style:C.SCRIPTSCRIPT},{type:"small",style:C.SCRIPT},{type:"small",style:C.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ar=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Ir=function(e,t,r,n){for(var o=Math.min(2,3-n.style.size);o<r.length&&"stack"!==r[o].type;o++){var i=dr(e,Ar(r[o]),"math"),a=i.height+i.depth;if("small"===r[o].type&&(a*=n.havingBaseStyle(r[o].style).sizeMultiplier),a>t)return r[o]}return r[r.length-1]},Er=function(e,t,r,n,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=h.contains($r,e)?Or:h.contains(kr,e)?Nr:_r;var s=Ir(e,t,a,n);return"small"===s.type?function(e,t,r,n,o,i){var a=et.makeSymbol(e,"Main-Regular",o,n),s=hr(a,t,n,i);return r&&pr(s,n,t),s}(e,s.style,r,n,o,i):"large"===s.type?mr(e,s.size,r,n,o,i):wr(e,t,r,n,o,i)},zr={sqrtImage:function(e,t){var r,n,o=t.havingBaseSizing(),i=Ir("\\surd",e*o.sizeMultiplier,Nr,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),c=(1+s)/a,(r=Sr("sqrtMain",l=(1+s+xr)/a,u=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/a):"large"===i.type?(u=1080*jr[i.size],c=(jr[i.size]+s)/a,l=(jr[i.size]+s+xr)/a,(r=Sr("sqrtSize"+i.size,l,u,s,t)).style.minWidth="1.02em",n=1/a):(l=e+s+xr,c=e+s,u=Math.floor(1e3*e+s)+80,(r=Sr("sqrtTall",l,u,s,t)).style.minWidth="0.742em",n=1.056),r.height=c,r.style.height=W(l),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},sizedDelim:function(e,t,r,n,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),h.contains(kr,e)||h.contains($r,e))return mr(e,t,!1,r,n,o);if(h.contains(Cr,e))return wr(e,jr[t],!1,r,n,o);throw new s("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:jr,customSizedDelim:Er,leftRightDelim:function(e,t,r,n,o,i){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-a,r+a),c=Math.max(l/500*901,2*l-s);return Er(e,c,!0,n,o,i)}},Mr={"\\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}},Pr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Lr(e,t){var r=Gt(e);if(r&&h.contains(Pr,r.text))return r;throw new s(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Br(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ct({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Lr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Mr[e.funcName].size,mclass:Mr[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?et.makeSpan([e.mclass]):zr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(It(e.delim,e.mode));var r=new At.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=W(zr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),ct({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Lr(t[0],e).text,color:r}}}),ct({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Lr(t[0],e),n=e.parser;++n.leftrightDepth;var o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ut(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Br(e);for(var r,n,o=vt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,l=0;l<o.length;l++)o[l].isMiddle?s=!0:(i=Math.max(o[l].height,i),a=Math.max(o[l].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?kt(t,["mopen"]):zr.leftRightDelim(e.left,i,a,t,e.mode,["mopen"]),o.unshift(r),s)for(var c=1;c<o.length;c++){var u=o[c].isMiddle;u&&(o[c]=zr.leftRightDelim(u.delim,i,a,u.options,e.mode,[]))}if("."===e.right)n=kt(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;n=zr.leftRightDelim(e.right,i,a,d,e.mode,["mclose"])}return o.push(n),et.makeSpan(["minner"],o,t)},mathmlBuilder:(e,t)=>{Br(e);var r=Pt(e.body,t);if("."!==e.left){var n=new At.MathNode("mo",[It(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var o=new At.MathNode("mo",[It(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),r.push(o)}return Et(r)}}),ct({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Lr(t[0],e);if(!e.parser.leftrightDepth)throw new s("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=kt(t,[]);else{r=zr.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?It("|","text"):It(e.delim,e.mode),n=new At.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Tr=(e,t)=>{var r,n,o,i=et.wrapFragment(Ct(e.body,t),t),a=e.label.slice(1),s=t.sizeMultiplier,l=0,c=h.isCharacterBox(e.body);if("sout"===a)(r=et.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===a){var u=H({number:.6,unit:"pt"},t),d=H({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=i.height+i.depth+u+d;i.style.paddingLeft=W(p/2+u);var m=Math.floor(1e3*p*s),f="M400000 "+(n=m)+" H0 L"+n/2+" 0 l65 45 L145 "+(n-80)+" H400000z",g=new te([new re("phase",f)],{width:"400em",height:W(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});(r=et.makeSvgSpan(["hide-tail"],[g],t)).style.height=W(p),l=i.depth+u+d}else{/cancel/.test(a)?c||i.classes.push("cancel-pad"):"angl"===a?i.classes.push("anglpad"):i.classes.push("boxpad");var b=0,v=0,y=0;/box/.test(a)?(y=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),v=b=t.fontMetrics().fboxsep+("colorbox"===a?0:y)):"angl"===a?(b=4*(y=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),v=Math.max(0,.25-i.depth)):v=b=c?.2:0,r=Ht(i,a,b,v,t),/fbox|boxed|fcolorbox/.test(a)?(r.style.borderStyle="solid",r.style.borderWidth=W(y)):"angl"===a&&.049!==y&&(r.style.borderTopWidth=W(y),r.style.borderRightWidth=W(y)),l=i.depth+v,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)o=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var w=/cancel|phase/.test(a)?["svg-align"]:[];o=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:l,wrapperClasses:w}]},t)}return/cancel/.test(a)&&(o.height=i.height,o.depth=i.depth),/cancel/.test(a)&&!c?et.makeSpan(["mord","cancel-lap"],[o],t):et.makeSpan(["mord"],[o],t)},Rr=(e,t)=>{var r=0,n=new At.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Bt(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ct({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=Ut(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:Tr,mathmlBuilder:Rr}),ct({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=Ut(t[0],"color-token").color,a=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:Tr,mathmlBuilder:Rr}),ct({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),ct({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"enclose",mode:r.mode,label:n,body:o}},htmlBuilder:Tr,mathmlBuilder:Rr}),ct({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Fr={};function Dr(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l<r.length;++l)Fr[r[l]]=s;i&&(st[t]=i),a&&(lt[t]=a)}var qr={};function Hr(e,t){qr[e]=t}function Wr(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for("\\relax"===r&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}var Zr=e=>{if(!e.parser.settings.displayMode)throw new s("{"+e.envName+"} can be used only in display mode.")};function Ur(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Vr(e,t,r){var{hskipBeforeAndAfter:n,addJot:o,cols:i,arraystretch:l,colSeparationType:c,autoTag:u,singleRow:d,emptySingleRow:h,maxNumCols:p,leqno:m}=t;if(e.gullet.beginGroup(),d||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var f=e.gullet.expandMacroAsText("\\arraystretch");if(null==f)l=1;else if(!(l=parseFloat(f))||l<0)throw new s("Invalid \\arraystretch: "+f)}e.gullet.beginGroup();var g=[],b=[g],v=[],y=[],w=null!=u?[]:void 0;function x(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function S(){w&&(e.gullet.macros.get("\\df@tag")?(w.push(e.subparse([new a("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):w.push(Boolean(u)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(x(),y.push(Wr(e));;){var k=e.parseExpression(!1,d?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),k={type:"ordgroup",mode:e.mode,body:k},r&&(k={type:"styling",mode:e.mode,style:r,body:[k]}),g.push(k);var C=e.fetch().text;if("&"===C){if(p&&g.length===p){if(d||c)throw new s("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===C){S(),1===g.length&&"styling"===k.type&&0===k.body[0].body.length&&(b.length>1||!h)&&b.pop(),y.length<b.length+1&&y.push([]);break}if("\\\\"!==C)throw new s("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var $=void 0;" "!==e.gullet.future().text&&($=e.parseSizeGroup(!0)),v.push($?$.value:null),S(),y.push(Wr(e)),g=[],b.push(g),x()}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:l,body:b,cols:i,rowGaps:v,hskipBeforeAndAfter:n,hLinesBeforeRow:y,colSeparationType:c,tags:w,leqno:m}}function Gr(e){return"d"===e.slice(0,1)?"display":"text"}var Xr=function(e,t){var r,n,o=e.body.length,i=e.hLinesBeforeRow,a=0,l=new Array(o),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),d=1/t.fontMetrics().ptPerEm,p=5*d;e.colSeparationType&&"small"===e.colSeparationType&&(p=t.havingStyle(C.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var m="CD"===e.colSeparationType?H({number:3,unit:"ex"},t):12*d,f=3*d,g=e.arraystretch*m,b=.7*g,v=.3*g,y=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(y+=.25),c.push({pos:y,isDashed:e[t]})}for(w(i[0]),r=0;r<e.body.length;++r){var x=e.body[r],S=b,k=v;a<x.length&&(a=x.length);var $=new Array(x.length);for(n=0;n<x.length;++n){var j=Ct(x[n],t);k<j.depth&&(k=j.depth),S<j.height&&(S=j.height),$[n]=j}var O=e.rowGaps[r],_=0;O&&(_=H(O,t))>0&&(k<(_+=v)&&(k=_),_=0),e.addJot&&(k+=f),$.height=S,$.depth=k,y+=S,$.pos=y,y+=k+_,l[r]=$,w(i[r+1])}var N,A,I=y/2+t.fontMetrics().axisHeight,E=e.cols||[],z=[],M=[];if(e.tags&&e.tags.some((e=>e)))for(r=0;r<o;++r){var P=l[r],L=P.pos-I,B=e.tags[r],T=void 0;(T=!0===B?et.makeSpan(["eqn-num"],[],t):!1===B?et.makeSpan([],[],t):et.makeSpan([],vt(B,t,!0),t)).depth=P.depth,T.height=P.height,M.push({type:"elem",elem:T,shift:L})}for(n=0,A=0;n<a||A<E.length;++n,++A){for(var R=E[A]||{},F=!0;"separator"===R.type;){if(F||((N=et.makeSpan(["arraycolsep"],[])).style.width=W(t.fontMetrics().doubleRuleSep),z.push(N)),"|"!==R.separator&&":"!==R.separator)throw new s("Invalid separator type: "+R.separator);var D="|"===R.separator?"solid":"dashed",q=et.makeSpan(["vertical-separator"],[],t);q.style.height=W(y),q.style.borderRightWidth=W(u),q.style.borderRightStyle=D,q.style.margin="0 "+W(-u/2);var Z=y-I;Z&&(q.style.verticalAlign=W(-Z)),z.push(q),R=E[++A]||{},F=!1}if(!(n>=a)){var U=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(U=h.deflt(R.pregap,p))&&((N=et.makeSpan(["arraycolsep"],[])).style.width=W(U),z.push(N));var V=[];for(r=0;r<o;++r){var G=l[r],X=G[n];if(X){var Y=G.pos-I;X.depth=G.depth,X.height=G.height,V.push({type:"elem",elem:X,shift:Y})}}V=et.makeVList({positionType:"individualShift",children:V},t),V=et.makeSpan(["col-align-"+(R.align||"c")],[V]),z.push(V),(n<a-1||e.hskipBeforeAndAfter)&&0!==(U=h.deflt(R.postgap,p))&&((N=et.makeSpan(["arraycolsep"],[])).style.width=W(U),z.push(N))}}if(l=et.makeSpan(["mtable"],z),c.length>0){for(var K=et.makeLineSpan("hline",t,u),J=et.makeLineSpan("hdashline",t,u),Q=[{type:"elem",elem:l,shift:0}];c.length>0;){var ee=c.pop(),te=ee.pos-I;ee.isDashed?Q.push({type:"elem",elem:J,shift:te}):Q.push({type:"elem",elem:K,shift:te})}l=et.makeVList({positionType:"individualShift",children:Q},t)}if(0===M.length)return et.makeSpan(["mord"],[l],t);var re=et.makeVList({positionType:"individualShift",children:M},t);return re=et.makeSpan(["tag"],[re],t),et.makeFragment([l,re])},Yr={c:"center ",l:"left ",r:"right "},Kr=function(e,t){for(var r=[],n=new At.MathNode("mtd",[],["mtr-glue"]),o=new At.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var a=e.body[i],s=[],l=0;l<a.length;l++)s.push(new At.MathNode("mtd",[Bt(a[l],t)]));e.tags&&e.tags[i]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(o):s.push(o)),r.push(new At.MathNode("mtr",s))}var c=new At.MathNode("mtable",r),u=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);c.setAttribute("rowspacing",W(u));var d="",h="";if(e.cols&&e.cols.length>0){var p=e.cols,m="",f=!1,g=0,b=p.length;"separator"===p[0].type&&(d+="top ",g=1),"separator"===p[p.length-1].type&&(d+="bottom ",b-=1);for(var v=g;v<b;v++)"align"===p[v].type?(h+=Yr[p[v].align],f&&(m+="none "),f=!0):"separator"===p[v].type&&f&&(m+="|"===p[v].separator?"solid ":"dashed ",f=!1);c.setAttribute("columnalign",h.trim()),/[sd]/.test(m)&&c.setAttribute("columnlines",m.trim())}if("align"===e.colSeparationType){for(var y=e.cols||[],w="",x=1;x<y.length;x++)w+=x%2?"0em ":"1em ";c.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?c.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?c.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var S="",k=e.hLinesBeforeRow;d+=k[0].length>0?"left ":"",d+=k[k.length-1].length>0?"right ":"";for(var C=1;C<k.length-1;C++)S+=0===k[C].length?"none ":k[C][0]?"dashed ":"solid ";return/[sd]/.test(S)&&c.setAttribute("rowlines",S.trim()),""!==d&&(c=new At.MathNode("menclose",[c])).setAttribute("notation",d.trim()),e.arraystretch&&e.arraystretch<1&&(c=new At.MathNode("mstyle",[c])).setAttribute("scriptlevel","1"),c},Jr=function(e,t){-1===e.envName.indexOf("ed")&&Zr(e);var r,n=[],o=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,a=Vr(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:Ur(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",d=0;d<t[0].body.length;d++){u+=Ut(t[0].body[d],"textord").text}r=Number(u),l=2*r}var h=!l;a.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var n=Ut(e[t],"styling");Ut(n.body[0],"ordgroup").body.unshift(c)}if(h)l<e.length&&(l=e.length);else{var o=e.length/2;if(r<o)throw new s("Too many math in a row: expected "+r+", but got "+o,e[0])}}));for(var p=0;p<l;++p){var m="r",f=0;p%2==1?m="l":p>0&&h&&(f=1),n[p]={type:"align",align:m,pregap:f,postgap:0}}return a.colSeparationType=h?"align":"alignat",a};Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(Gt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Vt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+t,e)})),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Vr(e.parser,n,Gr(e.envName))},htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),r=o.fetch().text,-1==="lcr".indexOf(r))throw new s("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),n.cols=[{type:"align",align:r}]}}var i=Vr(e.parser,n,Gr(e.envName)),a=Math.max(0,...i.body.map((e=>e.length)));return i.cols=new Array(a).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Vr(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(Gt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Vt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new s("Unknown column alignment: "+t,e)}));if(r.length>1)throw new s("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=Vr(e.parser,n,"script")).body.length>0&&n.body[0].length>1)throw new s("{subarray} can contain only one column");return n},htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Vr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Gr(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Jr,htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){h.contains(["gather","gather*"],e.envName)&&Zr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ur(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Vr(e.parser,t,"display")},htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Jr,htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Zr(e);var t={autoTag:Ur(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Vr(e.parser,t,"display")},htmlBuilder:Xr,mathmlBuilder:Kr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Zr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new s("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var n,o,i=[],a=[i],l=0;l<t.length;l++){for(var c=t[l],u={type:"styling",body:[],mode:"math",style:"display"},d=0;d<c.length;d++)if(or(c[d])){i.push(u);var h=Vt(c[d+=1]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(h)>-1);else{if(!("<>AV".indexOf(h)>-1))throw new s('Expected one of "<>AV=|." after @',c[d]);for(var m=0;m<2;m++){for(var f=!0,g=d+1;g<c.length;g++){if(o=h,("mathord"===(n=c[g]).type||"atom"===n.type)&&n.text===o){f=!1,d=g;break}if(or(c[g]))throw new s("Missing a "+h+" character to complete a CD arrow.",c[g]);p[m].body.push(c[g])}if(f)throw new s("Missing a "+h+" character to complete a CD arrow.",c[d])}}var b={type:"styling",body:[ir(h,p,e)],mode:"math",style:"display"};i.push(b),u={type:"styling",body:[],mode:"math",style:"display"}}else u.body.push(c[d]);l%2==0?i.push(u):i.shift(),i=[],a.push(i)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}(e.parser)},htmlBuilder:Xr,mathmlBuilder:Kr}),Hr("\\nonumber","\\gdef\\@eqnsw{0}"),Hr("\\notag","\\nonumber"),ct({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new s(e.funcName+" valid only within array environment")}});var Qr=Fr;ct({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];if("ordgroup"!==o.type)throw new s("Invalid environment name",o);for(var i="",a=0;a<o.body.length;++a)i+=Ut(o.body[a],"textord").text;if("\\begin"===n){if(!Qr.hasOwnProperty(i))throw new s("No such environment: "+i,o);var l=Qr[i],{args:c,optArgs:u}=r.parseArguments("\\begin{"+i+"}",l),d={mode:r.mode,envName:i,parser:r},h=l.handler(d,c,u);r.expect("\\end",!1);var p=r.nextToken,m=Ut(r.parseFunction(),"environment");if(m.name!==i)throw new s("Mismatch: \\begin{"+i+"} matched by \\end{"+m.name+"}",p);return h}return{type:"environment",mode:r.mode,name:i,nameGroup:o}}});var en=(e,t)=>{var r=e.font,n=t.withFont(r);return Ct(e.body,n)},tn=(e,t)=>{var r=e.font,n=t.withFont(r);return Bt(e.body,n)},rn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ct({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=dt(t[0]),i=n;return i in rn&&(i=rn[i]),{type:"font",mode:r.mode,font:i.slice(1),body:o}},htmlBuilder:en,mathmlBuilder:tn}),ct({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],o=h.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:rr(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:o}}}),ct({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:o}=e,{mode:i}=r,a=r.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:en,mathmlBuilder:tn});var nn=(e,t)=>{var r=t;return"display"===e?r=r.id>=C.SCRIPT.id?r.text():C.DISPLAY:"text"===e&&r.size===C.DISPLAY.size?r=C.TEXT:"script"===e?r=C.SCRIPT:"scriptscript"===e&&(r=C.SCRIPTSCRIPT),r},on=(e,t)=>{var r,n=nn(e.size,t.style),o=n.fracNum(),i=n.fracDen();r=t.havingStyle(o);var a=Ct(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}r=t.havingStyle(i);var c,u,d,h,p,m,f,g,b,v,y=Ct(e.denom,r,t);if(e.hasBarLine?(e.barSize?(u=H(e.barSize,t),c=et.makeLineSpan("frac-line",t,u)):c=et.makeLineSpan("frac-line",t),u=c.height,d=c.height):(c=null,u=0,d=t.fontMetrics().defaultRuleThickness),n.size===C.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=u>0?3*d:7*d,m=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=d):(h=t.fontMetrics().num3,p=3*d),m=t.fontMetrics().denom2),c){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*u)<p&&(h+=p-(h-a.depth-(w+.5*u))),w-.5*u-(y.height-m)<p&&(m+=p-(w-.5*u-(y.height-m)));var x=-(w-.5*u);f=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:m},{type:"elem",elem:c,shift:x},{type:"elem",elem:a,shift:-h}]},t)}else{var S=h-a.depth-(y.height-m);S<p&&(h+=.5*(p-S),m+=.5*(p-S)),f=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:m},{type:"elem",elem:a,shift:-h}]},t)}return r=t.havingStyle(n),f.height*=r.sizeMultiplier/t.sizeMultiplier,f.depth*=r.sizeMultiplier/t.sizeMultiplier,g=n.size===C.DISPLAY.size?t.fontMetrics().delim1:n.size===C.SCRIPTSCRIPT.size?t.havingStyle(C.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,b=null==e.leftDelim?kt(t,["mopen"]):zr.customSizedDelim(e.leftDelim,g,!0,t.havingStyle(n),e.mode,["mopen"]),v=e.continued?et.makeSpan([]):null==e.rightDelim?kt(t,["mclose"]):zr.customSizedDelim(e.rightDelim,g,!0,t.havingStyle(n),e.mode,["mclose"]),et.makeSpan(["mord"].concat(r.sizingClasses(t)),[b,et.makeSpan(["mfrac"],[f]),v],t)},an=(e,t)=>{var r=new At.MathNode("mfrac",[Bt(e.numer,t),Bt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=H(e.barSize,t);r.setAttribute("linethickness",W(n))}}else r.setAttribute("linethickness","0px");var o=nn(e.size,t.style);if(o.size!==t.style.size){r=new At.MathNode("mstyle",[r]);var i=o.size===C.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new At.MathNode("mo",[new At.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),null!=e.rightDelim){var l=new At.MathNode("mo",[new At.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return Et(a)}return r};ct({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:n,funcName:o}=e,i=t[0],a=t[1],s=null,l=null,c="auto";switch(o){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:r,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:on,mathmlBuilder:an}),ct({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:o,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ct({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:n,token:o}=e;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:o}}});var sn=["display","text","script","scriptscript"],ln=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ct({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:n}=e,o=t[4],i=t[5],a=dt(t[0]),s="atom"===a.type&&"open"===a.family?ln(a.text):null,l=dt(t[1]),c="atom"===l.type&&"close"===l.family?ln(l.text):null,u=Ut(t[2],"size"),d=null;r=!!u.isBlank||(d=u.value).number>0;var h="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){var m=Ut(p.body[0],"textord");h=sn[Number(m.text)]}}else p=Ut(p,"textord"),h=sn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:o,denom:i,continued:!1,hasBarLine:r,barSize:d,leftDelim:s,rightDelim:c,size:h}},htmlBuilder:on,mathmlBuilder:an}),ct({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:o}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ut(t[0],"size").value,token:o}}}),ct({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),a=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:o,denom:a,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:on,mathmlBuilder:an});var cn=(e,t)=>{var r,n,o=t.style;"supsub"===e.type?(r=e.sup?Ct(e.sup,t.havingStyle(o.sup()),t):Ct(e.sub,t.havingStyle(o.sub()),t),n=Ut(e.base,"horizBrace")):n=Ut(e,"horizBrace");var i,a=Ct(n.base,t.havingBaseStyle(C.DISPLAY)),s=Zt(n,t);if(n.isOver?(i=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=et.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=et.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t);i=n.isOver?et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):et.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return et.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t)};ct({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:cn,mathmlBuilder:(e,t)=>{var r=Wt(e.label);return new At.MathNode(e.isOver?"mover":"munder",[Bt(e.base,t),r])}}),ct({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],o=Ut(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:ht(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=vt(e.body,t,!1);return et.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Lt(e.body,t);return r instanceof _t||(r=new _t("mrow",[r])),r.setAttribute("href",e.href),r}}),ct({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ut(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var o=[],i=0;i<n.length;i++){var a=n[i];"~"===a&&(a="\\textasciitilde"),o.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:r.mode,font:"\\texttt",body:o};return{type:"href",mode:r.mode,href:n,body:ht(s)}}}),ct({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:ht(t[0])}},htmlBuilder(e,t){var r=vt(e.body,t,!1);return et.makeFragment(r)},mathmlBuilder(e,t){return new At.MathNode("mrow",Pt(e.body,t))}}),ct({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:n,funcName:o,token:i}=e,a=Ut(t[0],"raw").string,l=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var c={};switch(o){case"\\htmlClass":c.class=a,r={command:"\\htmlClass",class:a};break;case"\\htmlId":c.id=a,r={command:"\\htmlId",id:a};break;case"\\htmlStyle":c.style=a,r={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var u=a.split(","),d=0;d<u.length;d++){var h=u[d].split("=");if(2!==h.length)throw new s("Error parsing key-value for \\htmlData");c["data-"+h[0].trim()]=h[1].trim()}r={command:"\\htmlData",attributes:c};break;default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(r)?{type:"html",mode:n.mode,attributes:c,body:ht(l)}:n.formatUnsupportedCmd(o)},htmlBuilder:(e,t)=>{var r=vt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var o=et.makeSpan(n,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&o.setAttribute(i,e.attributes[i]);return o},mathmlBuilder:(e,t)=>Lt(e.body,t)}),ct({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:ht(t[0]),mathml:ht(t[1])}},htmlBuilder:(e,t)=>{var r=vt(e.html,t,!1);return et.makeFragment(r)},mathmlBuilder:(e,t)=>Lt(e.mathml,t)});var un=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new s("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!q(r))throw new s("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ct({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(r[0])for(var c=Ut(r[0],"raw").string.split(","),u=0;u<c.length;u++){var d=c[u].split("=");if(2===d.length){var h=d[1].trim();switch(d[0].trim()){case"alt":l=h;break;case"width":o=un(h);break;case"height":i=un(h);break;case"totalheight":a=un(h);break;default:throw new s("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var p=Ut(t[0],"url").url;return""===l&&(l=(l=(l=p).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:l,width:o,height:i,totalheight:a,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=H(e.height,t),n=0;e.totalheight.number>0&&(n=H(e.totalheight,t)-r);var o=0;e.width.number>0&&(o=H(e.width,t));var i={height:W(r+n)};o>0&&(i.width=W(o)),n>0&&(i.verticalAlign=W(-n));var a=new J(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:(e,t)=>{var r=new At.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=H(e.height,t),o=0;if(e.totalheight.number>0&&(o=H(e.totalheight,t)-n,r.setAttribute("valign",W(-o))),r.setAttribute("height",W(n+o)),e.width.number>0){var i=H(e.width,t);r.setAttribute("width",W(i))}return r.setAttribute("src",e.src),r}}),ct({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,o=Ut(t[0],"size");if(r.settings.strict){var i="m"===n[1],a="mu"===o.value.unit;i?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+o.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:o.value}},htmlBuilder(e,t){return et.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=H(e.dimension,t);return new At.SpaceNode(r)}}),ct({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:o}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=et.makeSpan([],[Ct(e.body,t)]),r=et.makeSpan(["inner"],[r],t)):r=et.makeSpan(["inner"],[Ct(e.body,t)]);var n=et.makeSpan(["fix"],[]),o=et.makeSpan([e.alignment],[r,n],t),i=et.makeSpan(["strut"]);return i.style.height=W(o.height+o.depth),o.depth&&(i.style.verticalAlign=W(-o.depth)),o.children.unshift(i),o=et.makeSpan(["thinbox"],[o],t),et.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var r=new At.MathNode("mpadded",[Bt(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),ct({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,o=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",a=n.parseExpression(!1,i);return n.expect(i),n.switchMode(o),{type:"styling",mode:n.mode,style:"text",body:a}}}),ct({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new s("Mismatched "+e.funcName)}});var dn=(e,t)=>{switch(t.style.size){case C.DISPLAY.size:return e.display;case C.TEXT.size:return e.text;case C.SCRIPT.size:return e.script;case C.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ct({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:ht(t[0]),text:ht(t[1]),script:ht(t[2]),scriptscript:ht(t[3])}},htmlBuilder:(e,t)=>{var r=dn(e,t),n=vt(r,t,!1);return et.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=dn(e,t);return Lt(r,t)}});var hn=(e,t,r,n,o,i,a)=>{e=et.makeSpan([],[e]);var s,l,c,u=r&&h.isCharacterBox(r);if(t){var d=Ct(t,n.havingStyle(o.sup()),n);l={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var p=Ct(r,n.havingStyle(o.sub()),n);s={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var m=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=et.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var f=e.height-a;c=et.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var g=e.depth+a;c=et.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var b=[c];if(s&&0!==i&&!u){var v=et.makeSpan(["mspace"],[],n);v.style.marginRight=W(i),b.unshift(v)}return et.makeSpan(["mop","op-limits"],b,n)},pn=["\\smallint"],mn=(e,t)=>{var r,n,o,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,o=Ut(e.base,"op"),i=!0):o=Ut(e,"op");var a,s=t.style,l=!1;if(s.size===C.DISPLAY.size&&o.symbol&&!h.contains(pn,o.name)&&(l=!0),o.symbol){var c=l?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(u=o.name.slice(1),o.name="oiint"===u?"\\iint":"\\iiint"),a=et.makeSymbol(o.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var d=a.italic,p=et.staticSvg(u+"Size"+(l?"2":"1"),t);a=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:p,shift:l?.08:0}]},t),o.name="\\"+u,a.classes.unshift("mop"),a.italic=d}}else if(o.body){var m=vt(o.body,t,!0);1===m.length&&m[0]instanceof ee?(a=m[0]).classes[0]="mop":a=et.makeSpan(["mop"],m,t)}else{for(var f=[],g=1;g<o.name.length;g++)f.push(et.mathsym(o.name[g],o.mode,t));a=et.makeSpan(["mop"],f,t)}var b=0,v=0;return(a instanceof ee||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(b=(a.height-a.depth)/2-t.fontMetrics().axisHeight,v=a.italic),i?hn(a,r,n,t,s,v,b):(b&&(a.style.position="relative",a.style.top=W(b)),a)},fn=(e,t)=>{var r;if(e.symbol)r=new _t("mo",[It(e.name,e.mode)]),h.contains(pn,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new _t("mo",Pt(e.body,t));else{r=new _t("mi",[new Nt(e.name.slice(1))]);var n=new _t("mo",[It("","text")]);r=e.parentIsSupSub?new _t("mrow",[r,n]):Ot([r,n])}return r},gn={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","":"\\bigvee","⋂":"\\bigcap","":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ct({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","","⋂","","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=n;return 1===o.length&&(o=gn[o]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:mn,mathmlBuilder:fn}),ct({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ht(n)}},htmlBuilder:mn,mathmlBuilder:fn});var bn={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ct({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:mn,mathmlBuilder:fn}),ct({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:mn,mathmlBuilder:fn}),ct({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=bn[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:mn,mathmlBuilder:fn});var vn=(e,t)=>{var r,n,o,i,a=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,o=Ut(e.base,"operatorname"),a=!0):o=Ut(e,"operatorname"),o.body.length>0){for(var s=o.body.map((e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=vt(s,t.withFont("mathrm"),!0),c=0;c<l.length;c++){var u=l[c];u instanceof ee&&(u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=et.makeSpan(["mop"],l,t)}else i=et.makeSpan(["mop"],[],t);return a?hn(i,r,n,t,t.style,0,0):i};function yn(e,t,r){for(var n=vt(e,t,!1),o=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var a=n[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[a+1]==="reset-size"+t.size&&(n[i].classes[a+1]="reset-size"+r.size),n[i].height*=o,n[i].depth*=o}return et.makeFragment(n)}ct({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"operatorname",mode:r.mode,body:ht(o),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:vn,mathmlBuilder:(e,t)=>{for(var r=Pt(e.body,t.withFont("mathrm")),n=!0,o=0;o<r.length;o++){var i=r[o];if(i instanceof At.SpaceNode);else if(i instanceof At.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=i.children[0];1===i.children.length&&a instanceof At.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break;default:n=!1}else n=!1}if(n){var s=r.map((e=>e.toText())).join("");r=[new At.TextNode(s)]}var l=new At.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new At.MathNode("mo",[It("","text")]);return e.parentIsSupSub?new At.MathNode("mrow",[l,c]):At.newDocumentFragment([l,c])}}),Hr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ut({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?et.makeFragment(vt(e.body,t,!1)):et.makeSpan(["mord"],vt(e.body,t,!0),t)},mathmlBuilder(e,t){return Lt(e.body,t,!0)}}),ct({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Ct(e.body,t.havingCrampedStyle()),n=et.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]},t);return et.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new At.MathNode("mo",[new At.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new At.MathNode("mover",[Bt(e.body,t),r]);return n.setAttribute("accent","true"),n}}),ct({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:ht(n)}},htmlBuilder:(e,t)=>{var r=vt(e.body,t.withPhantom(),!1);return et.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Pt(e.body,t);return new At.MathNode("mphantom",r)}}),ct({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=et.makeSpan([],[Ct(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),et.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Pt(ht(e.body),t),n=new At.MathNode("mphantom",r),o=new At.MathNode("mpadded",[n]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),ct({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=et.makeSpan(["inner"],[Ct(e.body,t.withPhantom())]),n=et.makeSpan(["fix"],[]);return et.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Pt(ht(e.body),t),n=new At.MathNode("mphantom",r),o=new At.MathNode("mpadded",[n]);return o.setAttribute("width","0px"),o}}),ct({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ut(t[0],"size").value,o=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder(e,t){var r=Ct(e.body,t),n=H(e.dy,t);return et.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new At.MathNode("mpadded",[Bt(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),ct({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ct({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,o=r[0],i=Ut(t[0],"size"),a=Ut(t[1],"size");return{type:"rule",mode:n.mode,shift:o&&Ut(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var r=et.makeSpan(["mord","rule"],[],t),n=H(e.width,t),o=H(e.height,t),i=e.shift?H(e.shift,t):0;return r.style.borderRightWidth=W(n),r.style.borderTopWidth=W(o),r.style.bottom=W(i),r.width=n,r.height=o+i,r.depth=-i,r.maxFontSize=1.125*o*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=H(e.width,t),n=H(e.height,t),o=e.shift?H(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new At.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",W(r)),a.setAttribute("height",W(n));var s=new At.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",W(o)):(s.setAttribute("height",W(o)),s.setAttribute("depth",W(-o))),s.setAttribute("voffset",W(o)),s}});var wn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ct({type:"sizing",names:wn,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:o}=e,i=o.parseExpression(!1,r);return{type:"sizing",mode:o.mode,size:wn.indexOf(n)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return yn(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Pt(e.body,r),o=new At.MathNode("mstyle",n);return o.setAttribute("mathsize",W(r.sizeMultiplier)),o}}),ct({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,o=!1,i=!1,a=r[0]&&Ut(r[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){if("t"===(s=a.body[l].text))o=!0;else{if("b"!==s){o=!1,i=!1;break}i=!0}}else o=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:o,smashDepth:i}},htmlBuilder:(e,t)=>{var r=et.makeSpan([],[Ct(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var o=0;o<r.children.length;o++)r.children[o].depth=0;var i=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return et.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new At.MathNode("mpadded",[Bt(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ct({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,o=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:o}},htmlBuilder(e,t){var r=Ct(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=et.wrapFragment(r,t);var n=t.fontMetrics().defaultRuleThickness,o=n;t.style.id<C.TEXT.id&&(o=t.fontMetrics().xHeight);var i=n+o/4,a=r.height+r.depth+i+n,{span:s,ruleWidth:l,advanceWidth:c}=zr.sqrtImage(a,t),u=s.height-l;u>r.height+r.depth+i&&(i=(i+u-r.height-r.depth)/2);var d=s.height-r.height-i-l;r.style.paddingLeft=W(c);var h=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var p=t.havingStyle(C.SCRIPTSCRIPT),m=Ct(e.index,p,t),f=.6*(h.height-h.depth),g=et.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:m}]},t),b=et.makeSpan(["root"],[g]);return et.makeSpan(["mord","sqrt"],[b,h],t)}return et.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new At.MathNode("mroot",[Bt(r,t),Bt(n,t)]):new At.MathNode("msqrt",[Bt(r,t)])}});var xn={display:C.DISPLAY,text:C.TEXT,script:C.SCRIPT,scriptscript:C.SCRIPTSCRIPT};ct({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:o}=e,i=o.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){var r=xn[e.style],n=t.havingStyle(r).withFont("");return yn(e.body,n,t)},mathmlBuilder(e,t){var r=xn[e.style],n=t.havingStyle(r),o=Pt(e.body,n),i=new At.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}});ut({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===C.DISPLAY.size||r.alwaysHandleSupSub)?mn:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===C.DISPLAY.size||r.limits)?vn:null:"accent"===r.type?h.isCharacterBox(r.base)?Xt:null:"horizBrace"===r.type&&!e.sub===r.isOver?cn:null:null}(e,t);if(r)return r(e,t);var n,o,i,{base:a,sup:s,sub:l}=e,c=Ct(a,t),u=t.fontMetrics(),d=0,p=0,m=a&&h.isCharacterBox(a);if(s){var f=t.havingStyle(t.style.sup());n=Ct(s,f,t),m||(d=c.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());o=Ct(l,g,t),m||(p=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===C.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var b,v=t.sizeMultiplier,y=W(.5/u.ptPerEm/v),w=null;if(o){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof ee||x)&&(w=W(-c.italic))}if(n&&o){d=Math.max(d,i,n.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var S=4*u.defaultRuleThickness;if(d-n.depth-(o.height-p)<S){p=S-(d-n.depth)+o.height;var k=.8*u.xHeight-(d-n.depth);k>0&&(d+=k,p-=k)}var $=[{type:"elem",elem:o,shift:p,marginRight:y,marginLeft:w},{type:"elem",elem:n,shift:-d,marginRight:y}];b=et.makeVList({positionType:"individualShift",children:$},t)}else if(o){p=Math.max(p,u.sub1,o.height-.8*u.xHeight);var j=[{type:"elem",elem:o,marginLeft:w,marginRight:y}];b=et.makeVList({positionType:"shift",positionData:p,children:j},t)}else{if(!n)throw new Error("supsub must have either sup or sub.");d=Math.max(d,i,n.depth+.25*u.xHeight),b=et.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:n,marginRight:y}]},t)}var O=St(c,"right")||"mord";return et.makeSpan([O],[c,et.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){var r,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var o,i=[Bt(e.base,t)];if(e.sub&&i.push(Bt(e.sub,t)),e.sup&&i.push(Bt(e.sup,t)),n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var a=e.base;o=a&&"op"===a.type&&a.limits&&t.style===C.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===C.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===C.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===C.DISPLAY)?"munder":"msub"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===C.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===C.DISPLAY)?"mover":"msup"}return new At.MathNode(o,i)}}),ut({type:"atom",htmlBuilder(e,t){return et.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new At.MathNode("mo",[It(e.text,e.mode)]);if("bin"===e.family){var n=zt(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var Sn={mi:"italic",mn:"normal",mtext:"normal"};ut({type:"mathord",htmlBuilder(e,t){return et.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new At.MathNode("mi",[It(e.text,e.mode,t)]),n=zt(e,t)||"italic";return n!==Sn[r.type]&&r.setAttribute("mathvariant",n),r}}),ut({type:"textord",htmlBuilder(e,t){return et.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r,n=It(e.text,e.mode,t),o=zt(e,t)||"normal";return r="text"===e.mode?new At.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new At.MathNode("mn",[n]):"\\prime"===e.text?new At.MathNode("mo",[n]):new At.MathNode("mi",[n]),o!==Sn[r.type]&&r.setAttribute("mathvariant",o),r}});var kn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Cn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ut({type:"spacing",htmlBuilder(e,t){if(Cn.hasOwnProperty(e.text)){var r=Cn[e.text].className||"";if("text"===e.mode){var n=et.makeOrd(e,t,"textord");return n.classes.push(r),n}return et.makeSpan(["mspace",r],[et.mathsym(e.text,e.mode,t)],t)}if(kn.hasOwnProperty(e.text))return et.makeSpan(["mspace",kn[e.text]],[],t);throw new s('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!Cn.hasOwnProperty(e.text)){if(kn.hasOwnProperty(e.text))return new At.MathNode("mspace");throw new s('Unknown type of space "'+e.text+'"')}return new At.MathNode("mtext",[new At.TextNode(" ")])}});var $n=()=>{var e=new At.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ut({type:"tag",mathmlBuilder(e,t){var r=new At.MathNode("mtable",[new At.MathNode("mtr",[$n(),new At.MathNode("mtd",[Lt(e.body,t)]),$n(),new At.MathNode("mtd",[Lt(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var jn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},On={"\\textbf":"textbf","\\textmd":"textmd"},_n={"\\textit":"textit","\\textup":"textup"},Nn=(e,t)=>{var r=e.font;return r?jn[r]?t.withTextFontFamily(jn[r]):On[r]?t.withTextFontWeight(On[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(_n[r]):t};ct({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"text",mode:r.mode,body:ht(o),font:n}},htmlBuilder(e,t){var r=Nn(e,t),n=vt(e.body,r,!0);return et.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Nn(e,t);return Lt(e.body,r)}}),ct({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ct(e.body,t),n=et.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=et.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:o},{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r}]},t);return et.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new At.MathNode("mo",[new At.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new At.MathNode("munder",[Bt(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),ct({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Ct(e.body,t),n=t.fontMetrics().axisHeight,o=.5*(r.height-n-(r.depth+n));return et.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new At.MathNode("mpadded",[Bt(e.body,t)],["vcenter"])}}),ct({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=An(e),n=[],o=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),n.push(et.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return et.makeSpan(["mord","text"].concat(o.sizingClasses(t)),et.tryCombineChars(n),o)},mathmlBuilder(e,t){var r=new At.TextNode(An(e)),n=new At.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var An=e=>e.body.replace(/ /g,e.star?"␣":" "),In=at,En="[ \r\n\t]",zn="(\\\\[a-zA-Z@]+)"+En+"*",Mn="[̀-ͯ]",Pn=new RegExp(Mn+"+$"),Ln="("+En+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+Mn+"*|[\ud800-\udbff][\udc00-\udfff]"+Mn+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+zn+"|\\\\[^\ud800-\udfff])";class Bn{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ln,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new a("EOF",new i(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new s("Unexpected character: '"+e[t]+"'",new a(e[t],new i(this,t,t+1)));var n=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[n]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new a(n,new i(this,t,this.tokenRegex.lastIndex))}}class Tn{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Rn=qr;Hr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Hr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Hr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Hr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Hr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Hr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Hr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Fn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Hr("\\char",(function(e){var t,r=e.popToken(),n="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])n=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new s("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=Fn[r.text])||n>=t)throw new s("Invalid base-"+t+" digit "+r.text);for(var o;null!=(o=Fn[e.future().text])&&o<t;)n*=t,n+=o,e.popToken()}return"\\@char{"+n+"}"}));var Dn=(e,t,r,n)=>{var o=e.consumeArg().tokens;if(1!==o.length)throw new s("\\newcommand's first argument must be a macro name");var i=o[0].text,a=e.isDefined(i);if(a&&!t)throw new s("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!a&&!r)throw new s("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var l=0;if(1===(o=e.consumeArg().tokens).length&&"["===o[0].text){for(var c="",u=e.expandNextToken();"]"!==u.text&&"EOF"!==u.text;)c+=u.text,u=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+c);l=parseInt(c),o=e.consumeArg().tokens}return a&&n||e.macros.set(i,{tokens:o,numArgs:l}),""};Hr("\\newcommand",(e=>Dn(e,!1,!0,!1))),Hr("\\renewcommand",(e=>Dn(e,!0,!1,!1))),Hr("\\providecommand",(e=>Dn(e,!0,!0,!0))),Hr("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Hr("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Hr("\\show",(e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),In[r],se.math[r],se.text[r]),""})),Hr("\\bgroup","{"),Hr("\\egroup","}"),Hr("~","\\nobreakspace"),Hr("\\lq","`"),Hr("\\rq","'"),Hr("\\aa","\\r a"),Hr("\\AA","\\r A"),Hr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Hr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Hr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Hr("","\\mathscr{B}"),Hr("","\\mathscr{E}"),Hr("","\\mathscr{F}"),Hr("","\\mathscr{H}"),Hr("","\\mathscr{I}"),Hr("","\\mathscr{L}"),Hr("","\\mathscr{M}"),Hr("","\\mathscr{R}"),Hr("","\\mathfrak{C}"),Hr("","\\mathfrak{H}"),Hr("","\\mathfrak{Z}"),Hr("\\Bbbk","\\Bbb{k}"),Hr("·","\\cdotp"),Hr("\\llap","\\mathllap{\\textrm{#1}}"),Hr("\\rlap","\\mathrlap{\\textrm{#1}}"),Hr("\\clap","\\mathclap{\\textrm{#1}}"),Hr("\\mathstrut","\\vphantom{(}"),Hr("\\underbar","\\underline{\\text{#1}}"),Hr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Hr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Hr("\\ne","\\neq"),Hr("≠","\\neq"),Hr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Hr("∉","\\notin"),Hr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Hr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Hr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Hr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Hr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Hr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Hr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Hr("⟂","\\perp"),Hr("‼","\\mathclose{!\\mkern-0.8mu!}"),Hr("∌","\\notni"),Hr("⌜","\\ulcorner"),Hr("⌝","\\urcorner"),Hr("⌞","\\llcorner"),Hr("⌟","\\lrcorner"),Hr("©","\\copyright"),Hr("®","\\textregistered"),Hr("","\\textregistered"),Hr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Hr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Hr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Hr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Hr("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Hr("⋮","\\vdots"),Hr("\\varGamma","\\mathit{\\Gamma}"),Hr("\\varDelta","\\mathit{\\Delta}"),Hr("\\varTheta","\\mathit{\\Theta}"),Hr("\\varLambda","\\mathit{\\Lambda}"),Hr("\\varXi","\\mathit{\\Xi}"),Hr("\\varPi","\\mathit{\\Pi}"),Hr("\\varSigma","\\mathit{\\Sigma}"),Hr("\\varUpsilon","\\mathit{\\Upsilon}"),Hr("\\varPhi","\\mathit{\\Phi}"),Hr("\\varPsi","\\mathit{\\Psi}"),Hr("\\varOmega","\\mathit{\\Omega}"),Hr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Hr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Hr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Hr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Hr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Hr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Hr("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Hr("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var qn={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Hr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in qn?t=qn[r]:("\\not"===r.slice(0,4)||r in se.math&&h.contains(["bin","rel"],se.math[r].group))&&(t="\\dotsb"),t}));var Hn={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Hr("\\dotso",(function(e){return e.future().text in Hn?"\\ldots\\,":"\\ldots"})),Hr("\\dotsc",(function(e){var t=e.future().text;return t in Hn&&","!==t?"\\ldots\\,":"\\ldots"})),Hr("\\cdots",(function(e){return e.future().text in Hn?"\\@cdots\\,":"\\@cdots"})),Hr("\\dotsb","\\cdots"),Hr("\\dotsm","\\cdots"),Hr("\\dotsi","\\!\\cdots"),Hr("\\dotsx","\\ldots\\,"),Hr("\\DOTSI","\\relax"),Hr("\\DOTSB","\\relax"),Hr("\\DOTSX","\\relax"),Hr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Hr("\\,","\\tmspace+{3mu}{.1667em}"),Hr("\\thinspace","\\,"),Hr("\\>","\\mskip{4mu}"),Hr("\\:","\\tmspace+{4mu}{.2222em}"),Hr("\\medspace","\\:"),Hr("\\;","\\tmspace+{5mu}{.2777em}"),Hr("\\thickspace","\\;"),Hr("\\!","\\tmspace-{3mu}{.1667em}"),Hr("\\negthinspace","\\!"),Hr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Hr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Hr("\\enspace","\\kern.5em "),Hr("\\enskip","\\hskip.5em\\relax"),Hr("\\quad","\\hskip1em\\relax"),Hr("\\qquad","\\hskip2em\\relax"),Hr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Hr("\\tag@paren","\\tag@literal{({#1})}"),Hr("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Hr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Hr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Hr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Hr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Hr("\\newline","\\\\\\relax"),Hr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Wn=W(I["Main-Regular"]["T".charCodeAt(0)][1]-.7*I["Main-Regular"]["A".charCodeAt(0)][1]);Hr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Wn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Hr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Wn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Hr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Hr("\\@hspace","\\hskip #1\\relax"),Hr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Hr("\\ordinarycolon",":"),Hr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Hr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Hr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Hr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Hr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Hr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Hr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Hr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Hr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Hr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Hr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Hr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Hr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Hr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Hr("∷","\\dblcolon"),Hr("∹","\\eqcolon"),Hr("≔","\\coloneqq"),Hr("≕","\\eqqcolon"),Hr("⩴","\\Coloneqq"),Hr("\\ratio","\\vcentcolon"),Hr("\\coloncolon","\\dblcolon"),Hr("\\colonequals","\\coloneqq"),Hr("\\coloncolonequals","\\Coloneqq"),Hr("\\equalscolon","\\eqqcolon"),Hr("\\equalscoloncolon","\\Eqqcolon"),Hr("\\colonminus","\\coloneq"),Hr("\\coloncolonminus","\\Coloneq"),Hr("\\minuscolon","\\eqcolon"),Hr("\\minuscoloncolon","\\Eqcolon"),Hr("\\coloncolonapprox","\\Colonapprox"),Hr("\\coloncolonsim","\\Colonsim"),Hr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Hr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Hr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Hr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Hr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Hr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Hr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Hr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Hr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Hr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Hr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Hr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Hr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Hr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Hr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Hr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Hr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Hr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Hr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Hr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Hr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Hr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Hr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Hr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Hr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Hr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Hr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Hr("\\imath","\\html@mathml{\\@imath}{ı}"),Hr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Hr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Hr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Hr("⟦","\\llbracket"),Hr("⟧","\\rrbracket"),Hr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Hr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Hr("⦃","\\lBrace"),Hr("⦄","\\rBrace"),Hr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Hr("⦵","\\minuso"),Hr("\\darr","\\downarrow"),Hr("\\dArr","\\Downarrow"),Hr("\\Darr","\\Downarrow"),Hr("\\lang","\\langle"),Hr("\\rang","\\rangle"),Hr("\\uarr","\\uparrow"),Hr("\\uArr","\\Uparrow"),Hr("\\Uarr","\\Uparrow"),Hr("\\N","\\mathbb{N}"),Hr("\\R","\\mathbb{R}"),Hr("\\Z","\\mathbb{Z}"),Hr("\\alef","\\aleph"),Hr("\\alefsym","\\aleph"),Hr("\\Alpha","\\mathrm{A}"),Hr("\\Beta","\\mathrm{B}"),Hr("\\bull","\\bullet"),Hr("\\Chi","\\mathrm{X}"),Hr("\\clubs","\\clubsuit"),Hr("\\cnums","\\mathbb{C}"),Hr("\\Complex","\\mathbb{C}"),Hr("\\Dagger","\\ddagger"),Hr("\\diamonds","\\diamondsuit"),Hr("\\empty","\\emptyset"),Hr("\\Epsilon","\\mathrm{E}"),Hr("\\Eta","\\mathrm{H}"),Hr("\\exist","\\exists"),Hr("\\harr","\\leftrightarrow"),Hr("\\hArr","\\Leftrightarrow"),Hr("\\Harr","\\Leftrightarrow"),Hr("\\hearts","\\heartsuit"),Hr("\\image","\\Im"),Hr("\\infin","\\infty"),Hr("\\Iota","\\mathrm{I}"),Hr("\\isin","\\in"),Hr("\\Kappa","\\mathrm{K}"),Hr("\\larr","\\leftarrow"),Hr("\\lArr","\\Leftarrow"),Hr("\\Larr","\\Leftarrow"),Hr("\\lrarr","\\leftrightarrow"),Hr("\\lrArr","\\Leftrightarrow"),Hr("\\Lrarr","\\Leftrightarrow"),Hr("\\Mu","\\mathrm{M}"),Hr("\\natnums","\\mathbb{N}"),Hr("\\Nu","\\mathrm{N}"),Hr("\\Omicron","\\mathrm{O}"),Hr("\\plusmn","\\pm"),Hr("\\rarr","\\rightarrow"),Hr("\\rArr","\\Rightarrow"),Hr("\\Rarr","\\Rightarrow"),Hr("\\real","\\Re"),Hr("\\reals","\\mathbb{R}"),Hr("\\Reals","\\mathbb{R}"),Hr("\\Rho","\\mathrm{P}"),Hr("\\sdot","\\cdot"),Hr("\\sect","\\S"),Hr("\\spades","\\spadesuit"),Hr("\\sub","\\subset"),Hr("\\sube","\\subseteq"),Hr("\\supe","\\supseteq"),Hr("\\Tau","\\mathrm{T}"),Hr("\\thetasym","\\vartheta"),Hr("\\weierp","\\wp"),Hr("\\Zeta","\\mathrm{Z}"),Hr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Hr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Hr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Hr("\\bra","\\mathinner{\\langle{#1}|}"),Hr("\\ket","\\mathinner{|{#1}\\rangle}"),Hr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Hr("\\Bra","\\left\\langle#1\\right|"),Hr("\\Ket","\\left|#1\\right\\rangle");var Zn=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",a),o.length&&r.macros.set("\\|",s));var i=t;!t&&o.length&&("|"===r.future().text&&(r.popToken(),i=!0));return{tokens:i?o:n,numArgs:0}};t.macros.set("|",l(!1)),o.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([...i,...c,...r]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Hr("\\bra@ket",Zn(!1)),Hr("\\bra@set",Zn(!0)),Hr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Hr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Hr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Hr("\\angln","{\\angl n}"),Hr("\\blue","\\textcolor{##6495ed}{#1}"),Hr("\\orange","\\textcolor{##ffa500}{#1}"),Hr("\\pink","\\textcolor{##ff00af}{#1}"),Hr("\\red","\\textcolor{##df0030}{#1}"),Hr("\\green","\\textcolor{##28ae7b}{#1}"),Hr("\\gray","\\textcolor{gray}{#1}"),Hr("\\purple","\\textcolor{##9d38bd}{#1}"),Hr("\\blueA","\\textcolor{##ccfaff}{#1}"),Hr("\\blueB","\\textcolor{##80f6ff}{#1}"),Hr("\\blueC","\\textcolor{##63d9ea}{#1}"),Hr("\\blueD","\\textcolor{##11accd}{#1}"),Hr("\\blueE","\\textcolor{##0c7f99}{#1}"),Hr("\\tealA","\\textcolor{##94fff5}{#1}"),Hr("\\tealB","\\textcolor{##26edd5}{#1}"),Hr("\\tealC","\\textcolor{##01d1c1}{#1}"),Hr("\\tealD","\\textcolor{##01a995}{#1}"),Hr("\\tealE","\\textcolor{##208170}{#1}"),Hr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Hr("\\greenB","\\textcolor{##8af281}{#1}"),Hr("\\greenC","\\textcolor{##74cf70}{#1}"),Hr("\\greenD","\\textcolor{##1fab54}{#1}"),Hr("\\greenE","\\textcolor{##0d923f}{#1}"),Hr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Hr("\\goldB","\\textcolor{##ffbb71}{#1}"),Hr("\\goldC","\\textcolor{##ff9c39}{#1}"),Hr("\\goldD","\\textcolor{##e07d10}{#1}"),Hr("\\goldE","\\textcolor{##a75a05}{#1}"),Hr("\\redA","\\textcolor{##fca9a9}{#1}"),Hr("\\redB","\\textcolor{##ff8482}{#1}"),Hr("\\redC","\\textcolor{##f9685d}{#1}"),Hr("\\redD","\\textcolor{##e84d39}{#1}"),Hr("\\redE","\\textcolor{##bc2612}{#1}"),Hr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Hr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Hr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Hr("\\maroonD","\\textcolor{##ca337c}{#1}"),Hr("\\maroonE","\\textcolor{##9e034e}{#1}"),Hr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Hr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Hr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Hr("\\purpleD","\\textcolor{##7854ab}{#1}"),Hr("\\purpleE","\\textcolor{##543b78}{#1}"),Hr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Hr("\\mintB","\\textcolor{##edf2df}{#1}"),Hr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Hr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Hr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Hr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Hr("\\grayD","\\textcolor{##d6d8da}{#1}"),Hr("\\grayE","\\textcolor{##babec2}{#1}"),Hr("\\grayF","\\textcolor{##888d93}{#1}"),Hr("\\grayG","\\textcolor{##626569}{#1}"),Hr("\\grayH","\\textcolor{##3b3e40}{#1}"),Hr("\\grayI","\\textcolor{##21242c}{#1}"),Hr("\\kaBlue","\\textcolor{##314453}{#1}"),Hr("\\kaGreen","\\textcolor{##71B307}{#1}");var Un={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Vn{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Tn(Rn,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Bn(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:n,end:r}=this.consumeArg(["]"]))}else({tokens:n,start:t,end:r}=this.consumeArg());return this.pushToken(new a("EOF",r.loc)),this.pushTokens(n),t.range(r,"")}consumeSpaces(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var n,o=this.future(),i=0,a=0;do{if(n=this.popToken(),t.push(n),"{"===n.text)++i;else if("}"===n.text){if(-1===--i)throw new s("Extra }",n)}else if("EOF"===n.text)throw new s("Unexpected end of input in a macro argument, expected '"+(e&&r?e[a]:"}")+"'",n);if(e&&r)if((0===i||1===i&&"{"===e[a])&&n.text===e[a]){if(++a===e.length){t.splice(-a,a);break}}else a=0}while(0!==i||r);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:n}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new s("The length of delimiters doesn't match the number of args!");for(var r=t[0],n=0;n<r.length;n++){var o=this.popToken();if(r[n]!==o.text)throw new s("Use of the macro doesn't match its definition",o)}}for(var i=[],a=0;a<e;a++)i.push(this.consumeArg(t&&t[a+1]).tokens);return i}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,n=t.noexpand?null:this._getExpansion(r);if(null==n||e&&n.unexpandable){if(e&&null==n&&"\\"===r[0]&&!this.isDefined(r))throw new s("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var o=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs)for(var a=(o=o.slice()).length-1;a>=0;--a){var l=o[a];if("#"===l.text){if(0===a)throw new s("Incomplete placeholder at end of macro body",l);if("#"===(l=o[--a]).text)o.splice(a+1,1);else{if(!/^[1-9]$/.test(l.text))throw new s("Not a valid argument number",l);o.splice(a,2,...i[+l.text-1])}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new a(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var n="function"==typeof t?t(this):t;if("string"==typeof n){var o=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(o+1));)++o;for(var a=new Bn(n,this.settings),s=[],l=a.lex();"EOF"!==l.text;)s.push(l),l=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return n}isDefined(e){return this.macros.has(e)||In.hasOwnProperty(e)||se.math.hasOwnProperty(e)||se.text.hasOwnProperty(e)||Un.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:In.hasOwnProperty(e)&&!In[e].primitive}}var Gn=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xn=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Yn={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Kn={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class Jn{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Vn(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new s("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new a("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var n=this.fetch();if(-1!==Jn.endOfExpression.indexOf(n.text))break;if(t&&n.text===t)break;if(e&&In[n.text]&&In[n.text].infix)break;var o=this.parseAtom(t);if(!o)break;"internal"!==o.type&&r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,n=0;n<e.length;n++)if("infix"===e[n].type){if(-1!==r)throw new s("only one infix operator per group",e[n].token);r=n,t=e[n].replaceWith}if(-1!==r&&t){var o,i,a=e.slice(0,r),l=e.slice(r+1);return o=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},i=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},["\\\\abovefrac"===t?this.callFunction(t,[o,e[r],i],[]):this.callFunction(t,[o,i],[])]}return e}handleSupSubscript(e){var t,r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();do{var o;t=this.parseGroup(e)}while("internal"===(null==(o=t)?void 0:o.type));if(!t)throw new s("Expected group after '"+n+"'",r);return t}formatUnsupportedCmd(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){var t,r,n=this.parseGroup("atom",e);if("internal"===(null==n?void 0:n.type))return n;if("text"===this.mode)return n;for(;;){this.consumeSpaces();var o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){if(n&&"op"===n.type){var i="\\limits"===o.text;n.limits=i,n.alwaysHandleSupSub=!0}else{if(!n||"operatorname"!==n.type)throw new s("Limit controls must follow a math operator",o);n.alwaysHandleSupSub&&(n.limits="\\limits"===o.text)}this.consume()}else if("^"===o.text){if(t)throw new s("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(r)throw new s("Double subscript",o);r=this.handleSupSubscript("subscript")}else if("'"===o.text){if(t)throw new s("Double superscript",o);var l={type:"textord",mode:this.mode,text:"\\prime"},c=[l];for(this.consume();"'"===this.fetch().text;)c.push(l),this.consume();"^"===this.fetch().text&&c.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:c}}else{if(!Xn[o.text])break;var u=Gn.test(o.text),d=[];for(d.push(new a(Xn[o.text])),this.consume();;){var h=this.fetch().text;if(!Xn[h])break;if(Gn.test(h)!==u)break;d.unshift(new a(Xn[h])),this.consume()}var p=this.subparse(d);u?r={type:"ordgroup",mode:"math",body:p}:t={type:"ordgroup",mode:"math",body:p}}}return t||r?{type:"supsub",mode:this.mode,base:n,sup:t,sub:r}:n}parseFunction(e,t){var r=this.fetch(),n=r.text,o=In[n];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new s("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!o.allowedInText)throw new s("Can't use function '"+n+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new s("Can't use function '"+n+"' in math mode",r);var{args:i,optArgs:a}=this.parseArguments(n,o);return this.callFunction(n,i,a,r,e)}callFunction(e,t,r,n,o){var i={funcName:e,parser:this,token:n,breakOnTokenText:o},a=In[e];if(a&&a.handler)return a.handler(i,t,r);throw new s("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=[],o=[],i=0;i<r;i++){var a=t.argTypes&&t.argTypes[i],l=i<t.numOptionalArgs;(t.primitive&&null==a||"sqrt"===t.type&&1===i&&null==o[0])&&(a="primitive");var c=this.parseGroupOfType("argument to '"+e+"'",a,l);if(l)o.push(c);else{if(null==c)throw new s("Null argument, please report this as a bug");n.push(c)}}return{args:n,optArgs:o}}parseGroupOfType(e,t,r){switch(t){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,t);case"hbox":var n=this.parseArgumentGroup(r,"text");return null!=n?{type:"styling",mode:n.mode,body:[n],style:"text"}:null;case"raw":var o=this.parseStringGroup("raw",r);return null!=o?{type:"raw",mode:"text",string:o.text}:null;case"primitive":if(r)throw new s("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new s("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new s("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){var r=this.gullet.scanArgument(t);if(null==r)return null;for(var n,o="";"EOF"!==(n=this.fetch()).text;)o+=n.text,this.consume();return this.consume(),r.text=o,r}parseRegexGroup(e,t){for(var r,n=this.fetch(),o=n,i="";"EOF"!==(r=this.fetch()).text&&e.test(i+r.text);)i+=(o=r).text,this.consume();if(""===i)throw new s("Invalid "+t+": '"+n.text+"'",n);return n.range(o,i)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(null==t)return null;var r=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new s("Invalid color: '"+t.text+"'",t);var n=r[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var t,r=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",r=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new s("Invalid size: '"+t.text+"'",t);var o={number:+(n[1]+n[2]),unit:n[3]};if(!q(o))throw new s("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;var r=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(e,t){var r=this.gullet.scanArgument(e);if(null==r)return null;var n=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:o};return t&&this.switchMode(n),i}parseGroup(e,t){var r,n=this.fetch(),o=n.text;if("{"===o||"\\begingroup"===o){this.consume();var a="{"===o?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,a),c=this.fetch();this.expect(a),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:i.range(n,c),body:l,semisimple:"\\begingroup"===o||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===o[0]&&!Un.hasOwnProperty(o)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+o,n);r=this.formatUnsupportedCmd(o),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r],o=n.text;"-"===o&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:i.range(n,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:i.range(n,e[r+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[r+1].text!==o||(e.splice(r,2,{type:"textord",mode:"text",loc:i.range(n,e[r+1]),text:o+o}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),n="*"===r.charAt(0);if(n&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new s("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}Kn.hasOwnProperty(t[0])&&!se[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Kn[t[0]]+t.slice(1));var o,a=Pn.exec(t);if(a&&("i"===(t=t.substring(0,a.index))?t="ı":"j"===t&&(t="ȷ")),se[this.mode][t]){this.settings.strict&&"math"===this.mode&&Re.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,c=se[this.mode][t].group,u=i.range(e);if(ie.hasOwnProperty(c)){var d=c;l={type:"atom",mode:this.mode,family:d,loc:u,text:t}}else l={type:c,mode:this.mode,loc:u,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(O(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:i.range(e),text:t}}if(this.consume(),a)for(var h=0;h<a[0].length;h++){var p=a[0][h];if(!Yn[p])throw new s("Unknown accent ' "+p+"'",e);var m=Yn[p][this.mode]||Yn[p].text;if(!m)throw new s("Accent "+p+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:i.range(e),label:m,isStretchy:!1,isShifty:!0,base:o}}return o}}Jn.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Qn=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new Jn(e,t);delete r.gullet.macros.current["\\df@tag"];var n=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new s("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new a("\\df@tag")])}]}return n};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."));var eo=function(e,t,r){if(r.throwOnError||!(e instanceof s))throw e;var n=et.makeSpan(["katex-error"],[new ee(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},to=function(e,t){var r=new f(t);try{return function(e,t,r){var n,o=Rt(r);if("mathml"===r.output)return Tt(e,t,o,r.displayMode,!0);if("html"===r.output){var i=jt(e,o);n=et.makeSpan(["katex"],[i])}else{var a=Tt(e,t,o,r.displayMode,!1),s=jt(e,o);n=et.makeSpan(["katex"],[a,s])}return Ft(n,r)}(Qn(e,r),e,r)}catch(t){return eo(t,e,r)}},ro=function(e,t){return to(e,t).toMarkup()},no=r(2348);const oo={},io=[];function ao(e){const t=e||oo;return function(e,r){(0,no.S4)(e,"element",(function(e,i){const a=Array.isArray(e.properties.className)?e.properties.className:io,s=a.includes("language-math"),l=a.includes("math-display"),c=a.includes("math-inline");let u=l;if(!s&&!l&&!c)return;let d=i[i.length-1],h=e;if("code"===e.tagName&&s&&d&&"element"===d.type&&"pre"===d.tagName&&(h=d,d=i[i.length-2],u=!0),!d)return;const p=(0,o.l)(h,{whitespace:"pre"});let m;try{m=ro(p,{...t,displayMode:u,throwOnError:!0})}catch(n){const o=n,a=o.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...i,e],cause:o,place:e.position,ruleId:a,source:"rehype-katex"});try{m=ro(p,{...t,displayMode:u,strict:"ignore",throwOnError:!1})}catch{m=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(n)},children:[{type:"text",value:p}]}]}}if("string"==typeof m){m=(0,n.N)(m,{fragment:!0}).children}const f=d.children.indexOf(h);return d.children.splice(f,1,...m),no.AM}))}}}}]);